@veeqo/ui 14.11.2 → 14.12.0-beta-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 (308) hide show
  1. package/dist/components/Action/styles/button.module.scss.cjs +2 -2
  2. package/dist/components/Action/styles/button.module.scss.cjs.map +1 -1
  3. package/dist/components/Action/styles/button.module.scss.js +2 -2
  4. package/dist/components/Action/styles/button.module.scss.js.map +1 -1
  5. package/dist/components/Action/styles/link.module.scss.cjs +2 -2
  6. package/dist/components/Action/styles/link.module.scss.cjs.map +1 -1
  7. package/dist/components/Action/styles/link.module.scss.js +2 -2
  8. package/dist/components/Action/styles/link.module.scss.js.map +1 -1
  9. package/dist/components/Action/utils.cjs +18 -13
  10. package/dist/components/Action/utils.cjs.map +1 -1
  11. package/dist/components/Action/utils.js +18 -13
  12. package/dist/components/Action/utils.js.map +1 -1
  13. package/dist/components/ActionMenu/ActionMenu.cjs +4 -8
  14. package/dist/components/ActionMenu/ActionMenu.cjs.map +1 -1
  15. package/dist/components/ActionMenu/ActionMenu.d.ts +3 -3
  16. package/dist/components/ActionMenu/ActionMenu.js +2 -6
  17. package/dist/components/ActionMenu/ActionMenu.js.map +1 -1
  18. package/dist/components/ActionMenu/styled.cjs +17 -0
  19. package/dist/components/ActionMenu/styled.cjs.map +1 -0
  20. package/dist/components/ActionMenu/styled.d.ts +3 -0
  21. package/dist/components/ActionMenu/styled.js +10 -0
  22. package/dist/components/ActionMenu/styled.js.map +1 -0
  23. package/dist/components/Badge/Badge.cjs +8 -8
  24. package/dist/components/Badge/Badge.cjs.map +1 -1
  25. package/dist/components/Badge/Badge.js +8 -8
  26. package/dist/components/Badge/Badge.js.map +1 -1
  27. package/dist/components/Badge/styled.cjs +44 -0
  28. package/dist/components/Badge/styled.cjs.map +1 -0
  29. package/dist/components/Badge/styled.d.ts +8 -0
  30. package/dist/components/Badge/styled.js +36 -0
  31. package/dist/components/Badge/styled.js.map +1 -0
  32. package/dist/components/Breadcrumbs/Breadcrumbs.cjs +2 -2
  33. package/dist/components/Breadcrumbs/Breadcrumbs.cjs.map +1 -1
  34. package/dist/components/Breadcrumbs/Breadcrumbs.js +2 -2
  35. package/dist/components/Breadcrumbs/Breadcrumbs.js.map +1 -1
  36. package/dist/components/Breadcrumbs/components/Breadcrumb.cjs +3 -3
  37. package/dist/components/Breadcrumbs/components/Breadcrumb.cjs.map +1 -1
  38. package/dist/components/Breadcrumbs/components/Breadcrumb.js +3 -3
  39. package/dist/components/Breadcrumbs/components/Breadcrumb.js.map +1 -1
  40. package/dist/components/Breadcrumbs/components/styled.cjs +15 -0
  41. package/dist/components/Breadcrumbs/components/styled.cjs.map +1 -0
  42. package/dist/components/Breadcrumbs/components/styled.d.ts +2 -0
  43. package/dist/components/Breadcrumbs/components/styled.js +8 -0
  44. package/dist/components/Breadcrumbs/components/styled.js.map +1 -0
  45. package/dist/components/Button/Button.cjs +35 -39
  46. package/dist/components/Button/Button.cjs.map +1 -1
  47. package/dist/components/Button/Button.d.ts +7 -15
  48. package/dist/components/Button/Button.js +35 -39
  49. package/dist/components/Button/Button.js.map +1 -1
  50. package/dist/components/Button/types.d.ts +7 -16
  51. package/dist/components/Calendars/components/Calendar/Calendar.cjs +2 -3
  52. package/dist/components/Calendars/components/Calendar/Calendar.cjs.map +1 -1
  53. package/dist/components/Calendars/components/Calendar/Calendar.js +2 -3
  54. package/dist/components/Calendars/components/Calendar/Calendar.js.map +1 -1
  55. package/dist/components/Calendars/components/Calendar/styled.cjs +14 -0
  56. package/dist/components/Calendars/components/Calendar/styled.cjs.map +1 -0
  57. package/dist/components/Calendars/components/Calendar/styled.d.ts +2 -0
  58. package/dist/components/Calendars/components/Calendar/styled.js +8 -0
  59. package/dist/components/Calendars/components/Calendar/styled.js.map +1 -0
  60. package/dist/components/Calendars/components/RangeCalendar/RangeCalendar.cjs +2 -3
  61. package/dist/components/Calendars/components/RangeCalendar/RangeCalendar.cjs.map +1 -1
  62. package/dist/components/Calendars/components/RangeCalendar/RangeCalendar.js +2 -3
  63. package/dist/components/Calendars/components/RangeCalendar/RangeCalendar.js.map +1 -1
  64. package/dist/components/Calendars/components/RangeCalendar/styled.cjs +14 -0
  65. package/dist/components/Calendars/components/RangeCalendar/styled.cjs.map +1 -0
  66. package/dist/components/Calendars/components/RangeCalendar/styled.d.ts +2 -0
  67. package/dist/components/Calendars/components/RangeCalendar/styled.js +8 -0
  68. package/dist/components/Calendars/components/RangeCalendar/styled.js.map +1 -0
  69. package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/DodecadeCalendar.cjs +2 -2
  70. package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/DodecadeCalendar.cjs.map +1 -1
  71. package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/DodecadeCalendar.js +2 -2
  72. package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/DodecadeCalendar.js.map +1 -1
  73. package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/YearCalendar.cjs +2 -2
  74. package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/YearCalendar.cjs.map +1 -1
  75. package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/YearCalendar.js +2 -2
  76. package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/YearCalendar.js.map +1 -1
  77. package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/styled.cjs +14 -0
  78. package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/styled.cjs.map +1 -0
  79. package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/styled.d.ts +1 -0
  80. package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/styled.js +8 -0
  81. package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/styled.js.map +1 -0
  82. package/dist/components/Calendars/components/subcomponents/CalendarStyles/CalendarStyles.cjs +12 -0
  83. package/dist/components/Calendars/components/subcomponents/CalendarStyles/CalendarStyles.cjs.map +1 -0
  84. package/dist/components/Calendars/components/subcomponents/CalendarStyles/CalendarStyles.d.ts +1 -0
  85. package/dist/components/Calendars/components/subcomponents/CalendarStyles/CalendarStyles.js +10 -0
  86. package/dist/components/Calendars/components/subcomponents/CalendarStyles/CalendarStyles.js.map +1 -0
  87. package/dist/components/Calendars/components/subcomponents/CalendarStyles/buttonStyles.cjs +9 -0
  88. package/dist/components/Calendars/components/subcomponents/CalendarStyles/buttonStyles.cjs.map +1 -0
  89. package/dist/components/Calendars/components/subcomponents/CalendarStyles/buttonStyles.d.ts +1 -0
  90. package/dist/components/Calendars/components/subcomponents/CalendarStyles/buttonStyles.js +7 -0
  91. package/dist/components/Calendars/components/subcomponents/CalendarStyles/buttonStyles.js.map +1 -0
  92. package/dist/components/Calendars/components/subcomponents/CalendarStyles/calendarCellStyles.cjs +9 -0
  93. package/dist/components/Calendars/components/subcomponents/CalendarStyles/calendarCellStyles.cjs.map +1 -0
  94. package/dist/components/Calendars/components/subcomponents/CalendarStyles/calendarCellStyles.d.ts +1 -0
  95. package/dist/components/Calendars/components/subcomponents/CalendarStyles/calendarCellStyles.js +7 -0
  96. package/dist/components/Calendars/components/subcomponents/CalendarStyles/calendarCellStyles.js.map +1 -0
  97. package/dist/components/Calendars/components/subcomponents/CalendarStyles/headerStyles.cjs +10 -0
  98. package/dist/components/Calendars/components/subcomponents/CalendarStyles/headerStyles.cjs.map +1 -0
  99. package/dist/components/Calendars/components/subcomponents/CalendarStyles/headerStyles.d.ts +1 -0
  100. package/dist/components/Calendars/components/subcomponents/CalendarStyles/headerStyles.js +8 -0
  101. package/dist/components/Calendars/components/subcomponents/CalendarStyles/headerStyles.js.map +1 -0
  102. package/dist/components/Calendars/components/subcomponents/CalendarStyles/index.d.ts +1 -0
  103. package/dist/components/CardHeader/CardHeader.cjs +1 -1
  104. package/dist/components/CardHeader/CardHeader.cjs.map +1 -1
  105. package/dist/components/CardHeader/CardHeader.js +1 -1
  106. package/dist/components/CardHeader/CardHeader.js.map +1 -1
  107. package/dist/components/CardHeader/CardHeader.module.scss.cjs +2 -2
  108. package/dist/components/CardHeader/CardHeader.module.scss.cjs.map +1 -1
  109. package/dist/components/CardHeader/CardHeader.module.scss.js +2 -2
  110. package/dist/components/CardHeader/CardHeader.module.scss.js.map +1 -1
  111. package/dist/components/CopyToClipboard/CopyToClipboard.cjs +8 -3
  112. package/dist/components/CopyToClipboard/CopyToClipboard.cjs.map +1 -1
  113. package/dist/components/CopyToClipboard/CopyToClipboard.js +7 -3
  114. package/dist/components/CopyToClipboard/CopyToClipboard.js.map +1 -1
  115. package/dist/components/DateInputField/DateInputField.cjs +5 -3
  116. package/dist/components/DateInputField/DateInputField.cjs.map +1 -1
  117. package/dist/components/DateInputField/DateInputField.js +6 -4
  118. package/dist/components/DateInputField/DateInputField.js.map +1 -1
  119. package/dist/components/DateInputField/styled.cjs +15 -0
  120. package/dist/components/DateInputField/styled.cjs.map +1 -0
  121. package/dist/components/DateInputField/styled.d.ts +3 -0
  122. package/dist/components/DateInputField/styled.js +9 -0
  123. package/dist/components/DateInputField/styled.js.map +1 -0
  124. package/dist/components/DateInputField/types.d.ts +3 -3
  125. package/dist/components/DatePicker/DatePicker.cjs +5 -3
  126. package/dist/components/DatePicker/DatePicker.cjs.map +1 -1
  127. package/dist/components/DatePicker/DatePicker.js +5 -3
  128. package/dist/components/DatePicker/DatePicker.js.map +1 -1
  129. package/dist/components/DatePicker/styled.cjs +14 -0
  130. package/dist/components/DatePicker/styled.cjs.map +1 -0
  131. package/dist/components/DatePicker/styled.d.ts +1 -0
  132. package/dist/components/DatePicker/styled.js +8 -0
  133. package/dist/components/DatePicker/styled.js.map +1 -0
  134. package/dist/components/DateRangePicker/DateRangePicker.cjs +3 -3
  135. package/dist/components/DateRangePicker/DateRangePicker.cjs.map +1 -1
  136. package/dist/components/DateRangePicker/DateRangePicker.js +3 -3
  137. package/dist/components/DateRangePicker/DateRangePicker.js.map +1 -1
  138. package/dist/components/DateRangePicker/components/Divider.cjs +4 -4
  139. package/dist/components/DateRangePicker/components/Divider.cjs.map +1 -1
  140. package/dist/components/DateRangePicker/components/Divider.d.ts +1 -2
  141. package/dist/components/DateRangePicker/components/Divider.js +3 -3
  142. package/dist/components/DateRangePicker/components/Divider.js.map +1 -1
  143. package/dist/components/DescriptionList/DescriptionList.cjs +17 -9
  144. package/dist/components/DescriptionList/DescriptionList.cjs.map +1 -1
  145. package/dist/components/DescriptionList/DescriptionList.js +16 -9
  146. package/dist/components/DescriptionList/DescriptionList.js.map +1 -1
  147. package/dist/components/DetailPage/DetailPage.cjs +3 -7
  148. package/dist/components/DetailPage/DetailPage.cjs.map +1 -1
  149. package/dist/components/DetailPage/DetailPage.js +3 -7
  150. package/dist/components/DetailPage/DetailPage.js.map +1 -1
  151. package/dist/components/DetailPage/styled.cjs +16 -0
  152. package/dist/components/DetailPage/styled.cjs.map +1 -0
  153. package/dist/components/DetailPage/styled.d.ts +2 -0
  154. package/dist/components/DetailPage/styled.js +9 -0
  155. package/dist/components/DetailPage/styled.js.map +1 -0
  156. package/dist/components/Dropdown/Dropdown.module.scss.cjs +2 -2
  157. package/dist/components/Dropdown/Dropdown.module.scss.cjs.map +1 -1
  158. package/dist/components/Dropdown/Dropdown.module.scss.js +2 -2
  159. package/dist/components/Dropdown/Dropdown.module.scss.js.map +1 -1
  160. package/dist/components/FilterTag/FilterTag.cjs +9 -16
  161. package/dist/components/FilterTag/FilterTag.cjs.map +1 -1
  162. package/dist/components/FilterTag/FilterTag.js +9 -16
  163. package/dist/components/FilterTag/FilterTag.js.map +1 -1
  164. package/dist/components/FilterTag/styled.cjs +37 -0
  165. package/dist/components/FilterTag/styled.cjs.map +1 -0
  166. package/dist/components/FilterTag/styled.d.ts +20 -0
  167. package/dist/components/FilterTag/styled.js +25 -0
  168. package/dist/components/FilterTag/styled.js.map +1 -0
  169. package/dist/components/Indicator/Indicator.cjs +5 -12
  170. package/dist/components/Indicator/Indicator.cjs.map +1 -1
  171. package/dist/components/Indicator/Indicator.d.ts +1 -1
  172. package/dist/components/Indicator/Indicator.js +5 -12
  173. package/dist/components/Indicator/Indicator.js.map +1 -1
  174. package/dist/components/Indicator/styled.cjs +28 -0
  175. package/dist/components/Indicator/styled.cjs.map +1 -0
  176. package/dist/components/Indicator/styled.d.ts +3 -0
  177. package/dist/components/Indicator/styled.js +22 -0
  178. package/dist/components/Indicator/styled.js.map +1 -0
  179. package/dist/components/LegacyDataTable/LegacyDataTable.module.scss.cjs.map +1 -1
  180. package/dist/components/LegacyDataTable/LegacyDataTable.module.scss.js.map +1 -1
  181. package/dist/components/LoginWithAmazonButton/LoginWithAmazonButton.cjs +2 -2
  182. package/dist/components/LoginWithAmazonButton/LoginWithAmazonButton.cjs.map +1 -1
  183. package/dist/components/LoginWithAmazonButton/LoginWithAmazonButton.js +2 -2
  184. package/dist/components/LoginWithAmazonButton/LoginWithAmazonButton.js.map +1 -1
  185. package/dist/components/LoginWithAmazonButton/styled.cjs +12 -0
  186. package/dist/components/LoginWithAmazonButton/styled.cjs.map +1 -0
  187. package/dist/components/LoginWithAmazonButton/styled.d.ts +1 -0
  188. package/dist/components/LoginWithAmazonButton/styled.js +6 -0
  189. package/dist/components/LoginWithAmazonButton/styled.js.map +1 -0
  190. package/dist/components/Pagination/Pagination.cjs +6 -8
  191. package/dist/components/Pagination/Pagination.cjs.map +1 -1
  192. package/dist/components/Pagination/Pagination.js +6 -8
  193. package/dist/components/Pagination/Pagination.js.map +1 -1
  194. package/dist/components/Pagination/components.cjs +2 -3
  195. package/dist/components/Pagination/components.cjs.map +1 -1
  196. package/dist/components/Pagination/components.js +2 -3
  197. package/dist/components/Pagination/components.js.map +1 -1
  198. package/dist/components/Pagination/styled.cjs +20 -0
  199. package/dist/components/Pagination/styled.cjs.map +1 -0
  200. package/dist/components/Pagination/styled.d.ts +317 -0
  201. package/dist/components/Pagination/styled.js +12 -0
  202. package/dist/components/Pagination/styled.js.map +1 -0
  203. package/dist/components/SegmentedControl/SegmentedControl.cjs +2 -3
  204. package/dist/components/SegmentedControl/SegmentedControl.cjs.map +1 -1
  205. package/dist/components/SegmentedControl/SegmentedControl.js +2 -3
  206. package/dist/components/SegmentedControl/SegmentedControl.js.map +1 -1
  207. package/dist/components/SegmentedControl/styled.cjs +17 -0
  208. package/dist/components/SegmentedControl/styled.cjs.map +1 -0
  209. package/dist/components/SegmentedControl/styled.d.ts +2 -0
  210. package/dist/components/SegmentedControl/styled.js +11 -0
  211. package/dist/components/SegmentedControl/styled.js.map +1 -0
  212. package/dist/components/SelectDropdown/SelectDropdown.cjs.map +1 -1
  213. package/dist/components/SelectDropdown/SelectDropdown.js.map +1 -1
  214. package/dist/components/ShortcutKeys/ShortcutKeys.cjs +5 -6
  215. package/dist/components/ShortcutKeys/ShortcutKeys.cjs.map +1 -1
  216. package/dist/components/ShortcutKeys/ShortcutKeys.js +5 -6
  217. package/dist/components/ShortcutKeys/ShortcutKeys.js.map +1 -1
  218. package/dist/components/ShortcutKeys/styled.cjs +15 -0
  219. package/dist/components/ShortcutKeys/styled.cjs.map +1 -0
  220. package/dist/components/ShortcutKeys/styled.d.ts +3 -0
  221. package/dist/components/ShortcutKeys/styled.js +8 -0
  222. package/dist/components/ShortcutKeys/styled.js.map +1 -0
  223. package/dist/components/VideoModal/styled.d.ts +1 -6
  224. package/dist/utils/forms/inputStyles.cjs +34 -0
  225. package/dist/utils/forms/inputStyles.cjs.map +1 -0
  226. package/dist/utils/forms/inputStyles.js +30 -0
  227. package/dist/utils/forms/inputStyles.js.map +1 -0
  228. package/dist/utils/forms/variables.cjs +16 -0
  229. package/dist/utils/forms/variables.cjs.map +1 -0
  230. package/dist/utils/forms/variables.js +14 -0
  231. package/dist/utils/forms/variables.js.map +1 -0
  232. package/package.json +1 -1
  233. package/dist/components/ActionMenu/ActionMenu.module.scss.cjs +0 -9
  234. package/dist/components/ActionMenu/ActionMenu.module.scss.cjs.map +0 -1
  235. package/dist/components/ActionMenu/ActionMenu.module.scss.js +0 -7
  236. package/dist/components/ActionMenu/ActionMenu.module.scss.js.map +0 -1
  237. package/dist/components/Badge/Badge.module.scss.cjs +0 -9
  238. package/dist/components/Badge/Badge.module.scss.cjs.map +0 -1
  239. package/dist/components/Badge/Badge.module.scss.js +0 -7
  240. package/dist/components/Badge/Badge.module.scss.js.map +0 -1
  241. package/dist/components/Breadcrumbs/components/Breadcrumbs.module.scss.cjs +0 -9
  242. package/dist/components/Breadcrumbs/components/Breadcrumbs.module.scss.cjs.map +0 -1
  243. package/dist/components/Breadcrumbs/components/Breadcrumbs.module.scss.js +0 -7
  244. package/dist/components/Breadcrumbs/components/Breadcrumbs.module.scss.js.map +0 -1
  245. package/dist/components/Button/Button.module.scss.cjs +0 -9
  246. package/dist/components/Button/Button.module.scss.cjs.map +0 -1
  247. package/dist/components/Button/Button.module.scss.js +0 -7
  248. package/dist/components/Button/Button.module.scss.js.map +0 -1
  249. package/dist/components/Calendars/components/Calendar/Calendar.module.scss.cjs +0 -9
  250. package/dist/components/Calendars/components/Calendar/Calendar.module.scss.cjs.map +0 -1
  251. package/dist/components/Calendars/components/Calendar/Calendar.module.scss.js +0 -7
  252. package/dist/components/Calendars/components/Calendar/Calendar.module.scss.js.map +0 -1
  253. package/dist/components/Calendars/components/RangeCalendar/RangeCalendar.module.scss.cjs +0 -9
  254. package/dist/components/Calendars/components/RangeCalendar/RangeCalendar.module.scss.cjs.map +0 -1
  255. package/dist/components/Calendars/components/RangeCalendar/RangeCalendar.module.scss.js +0 -7
  256. package/dist/components/Calendars/components/RangeCalendar/RangeCalendar.module.scss.js.map +0 -1
  257. package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/SubCalendarOption.module.scss.cjs +0 -9
  258. package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/SubCalendarOption.module.scss.cjs.map +0 -1
  259. package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/SubCalendarOption.module.scss.js +0 -7
  260. package/dist/components/Calendars/components/subcomponents/CalendarGrid/subCalendars/SubCalendarOption.module.scss.js.map +0 -1
  261. package/dist/components/CopyToClipboard/CopyToClipboard.module.scss.cjs +0 -9
  262. package/dist/components/CopyToClipboard/CopyToClipboard.module.scss.cjs.map +0 -1
  263. package/dist/components/CopyToClipboard/CopyToClipboard.module.scss.js +0 -7
  264. package/dist/components/CopyToClipboard/CopyToClipboard.module.scss.js.map +0 -1
  265. package/dist/components/DateInputField/DateInputField.module.scss.cjs +0 -9
  266. package/dist/components/DateInputField/DateInputField.module.scss.cjs.map +0 -1
  267. package/dist/components/DateInputField/DateInputField.module.scss.js +0 -7
  268. package/dist/components/DateInputField/DateInputField.module.scss.js.map +0 -1
  269. package/dist/components/DatePicker/DatePicker.module.scss.cjs +0 -9
  270. package/dist/components/DatePicker/DatePicker.module.scss.cjs.map +0 -1
  271. package/dist/components/DatePicker/DatePicker.module.scss.js +0 -7
  272. package/dist/components/DatePicker/DatePicker.module.scss.js.map +0 -1
  273. package/dist/components/DateRangePicker/components/Divider.module.scss.cjs +0 -9
  274. package/dist/components/DateRangePicker/components/Divider.module.scss.cjs.map +0 -1
  275. package/dist/components/DateRangePicker/components/Divider.module.scss.js +0 -7
  276. package/dist/components/DateRangePicker/components/Divider.module.scss.js.map +0 -1
  277. package/dist/components/DescriptionList/DescriptionList.module.scss.cjs +0 -9
  278. package/dist/components/DescriptionList/DescriptionList.module.scss.cjs.map +0 -1
  279. package/dist/components/DescriptionList/DescriptionList.module.scss.js +0 -7
  280. package/dist/components/DescriptionList/DescriptionList.module.scss.js.map +0 -1
  281. package/dist/components/DetailPage/DetailPage.module.scss.cjs +0 -9
  282. package/dist/components/DetailPage/DetailPage.module.scss.cjs.map +0 -1
  283. package/dist/components/DetailPage/DetailPage.module.scss.js +0 -7
  284. package/dist/components/DetailPage/DetailPage.module.scss.js.map +0 -1
  285. package/dist/components/FilterTag/FilterTag.module.scss.cjs +0 -9
  286. package/dist/components/FilterTag/FilterTag.module.scss.cjs.map +0 -1
  287. package/dist/components/FilterTag/FilterTag.module.scss.js +0 -7
  288. package/dist/components/FilterTag/FilterTag.module.scss.js.map +0 -1
  289. package/dist/components/Indicator/Indicator.module.scss.cjs +0 -9
  290. package/dist/components/Indicator/Indicator.module.scss.cjs.map +0 -1
  291. package/dist/components/Indicator/Indicator.module.scss.js +0 -7
  292. package/dist/components/Indicator/Indicator.module.scss.js.map +0 -1
  293. package/dist/components/LoginWithAmazonButton/LoginWithAmazonButton.module.scss.cjs +0 -9
  294. package/dist/components/LoginWithAmazonButton/LoginWithAmazonButton.module.scss.cjs.map +0 -1
  295. package/dist/components/LoginWithAmazonButton/LoginWithAmazonButton.module.scss.js +0 -7
  296. package/dist/components/LoginWithAmazonButton/LoginWithAmazonButton.module.scss.js.map +0 -1
  297. package/dist/components/Pagination/Pagination.module.scss.cjs +0 -9
  298. package/dist/components/Pagination/Pagination.module.scss.cjs.map +0 -1
  299. package/dist/components/Pagination/Pagination.module.scss.js +0 -7
  300. package/dist/components/Pagination/Pagination.module.scss.js.map +0 -1
  301. package/dist/components/SegmentedControl/SegmentedControl.module.scss.cjs +0 -9
  302. package/dist/components/SegmentedControl/SegmentedControl.module.scss.cjs.map +0 -1
  303. package/dist/components/SegmentedControl/SegmentedControl.module.scss.js +0 -7
  304. package/dist/components/SegmentedControl/SegmentedControl.module.scss.js.map +0 -1
  305. package/dist/components/ShortcutKeys/ShortcutKeys.module.scss.cjs +0 -9
  306. package/dist/components/ShortcutKeys/ShortcutKeys.module.scss.cjs.map +0 -1
  307. package/dist/components/ShortcutKeys/ShortcutKeys.module.scss.js +0 -7
  308. package/dist/components/ShortcutKeys/ShortcutKeys.module.scss.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.js","sources":["../../../src/components/Pagination/Pagination.tsx"],"sourcesContent":["import React from 'react';\nimport { PaginationProps } from './types';\n\nimport styles from './Pagination.module.scss';\nimport { PageCount } from './components';\nimport { usePagination } from './hooks/usePagination';\n\nimport { RightArrowIcon, StartArrowIcon, LeftArrowIcon, EndArrowIcon } from '../../icons';\nimport { FlexRow } from '../Flex/FlexRow';\nimport { Button } from '../Button';\nimport { TextField } from '../TextField';\n\nexport const Pagination = ({\n testId,\n e2eClassName,\n currentPage,\n totalPagesCount,\n handleChangePage,\n}: PaginationProps) => {\n const {\n pageInputValue,\n handleIncrement,\n handleDecrement,\n handleFormSubmit,\n handleInputChange,\n handleSubmit,\n } = usePagination({\n currentPage,\n totalPagesCount,\n handleChangePage,\n });\n\n /**\n * A function to go back to the first page, provided we aren't already there.\n */\n const handleSkipBack = () => {\n if (currentPage !== 1) handleChangePage(1);\n };\n\n /**\n * A function to go to the last page, provided we aren't already there.\n */\n const handleSkipToEnd = () => {\n if (currentPage !== totalPagesCount) handleChangePage(totalPagesCount);\n };\n\n return (\n <FlexRow alignItems=\"center\" gap=\"xs\" data-testid={testId} className={e2eClassName}>\n <Button\n className={styles.paginationButton}\n onClick={handleSkipBack}\n iconSlot={<StartArrowIcon />}\n size=\"sm\"\n aria-label=\"go to first page\"\n aria-disabled={currentPage <= 1}\n disabled={currentPage <= 1}\n />\n <Button\n className={styles.paginationButton}\n onClick={handleDecrement}\n iconSlot={<LeftArrowIcon />}\n size=\"sm\"\n aria-label=\"go to previous page\"\n aria-disabled={currentPage <= 1}\n disabled={currentPage <= 1}\n />\n\n <form onSubmit={handleFormSubmit}>\n <TextField\n className={styles.pageInput}\n aria-live=\"polite\"\n aria-label={`page ${currentPage} of ${totalPagesCount}`}\n size=\"sm\"\n type=\"number\"\n value={pageInputValue}\n min=\"1\"\n max={`${totalPagesCount}`}\n onChange={handleInputChange}\n onBlur={handleSubmit}\n />\n </form>\n\n <PageCount count={totalPagesCount} />\n\n <Button\n className={styles.paginationButton}\n onClick={handleIncrement}\n iconSlot={<RightArrowIcon />}\n size=\"sm\"\n aria-label=\"go to next page\"\n aria-disabled={currentPage >= totalPagesCount}\n disabled={currentPage >= totalPagesCount}\n />\n\n <Button\n className={styles.paginationButton}\n onClick={handleSkipToEnd}\n iconSlot={<EndArrowIcon />}\n size=\"sm\"\n aria-label=\"go to last page\"\n aria-disabled={currentPage >= totalPagesCount}\n disabled={currentPage >= totalPagesCount}\n />\n </FlexRow>\n );\n};\n"],"names":["React"],"mappings":";;;;;;;;;;;;AAYO,MAAM,UAAU,GAAG,CAAC,EACzB,MAAM,EACN,YAAY,EACZ,WAAW,EACX,eAAe,EACf,gBAAgB,GACA,KAAI;AACpB,IAAA,MAAM,EACJ,cAAc,EACd,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,GACb,GAAG,aAAa,CAAC;QAChB,WAAW;QACX,eAAe;QACf,gBAAgB;AACjB,KAAA,CAAC;AAEF;;AAEG;IACH,MAAM,cAAc,GAAG,MAAK;QAC1B,IAAI,WAAW,KAAK,CAAC;YAAE,gBAAgB,CAAC,CAAC,CAAC;AAC5C,IAAA,CAAC;AAED;;AAEG;IACH,MAAM,eAAe,GAAG,MAAK;QAC3B,IAAI,WAAW,KAAK,eAAe;YAAE,gBAAgB,CAAC,eAAe,CAAC;AACxE,IAAA,CAAC;AAED,IAAA,QACEA,cAAA,CAAA,aAAA,CAAC,OAAO,EAAA,EAAC,UAAU,EAAC,QAAQ,EAAC,GAAG,EAAC,IAAI,EAAA,aAAA,EAAc,MAAM,EAAE,SAAS,EAAE,YAAY,EAAA;AAChF,QAAAA,cAAA,CAAA,aAAA,CAAC,MAAM,EAAA,EACL,SAAS,EAAE,MAAM,CAAC,gBAAgB,EAClC,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAEA,cAAA,CAAA,aAAA,CAAC,cAAc,EAAA,IAAA,CAAG,EAC5B,IAAI,EAAC,IAAI,EAAA,YAAA,EACE,kBAAkB,EAAA,eAAA,EACd,WAAW,IAAI,CAAC,EAC/B,QAAQ,EAAE,WAAW,IAAI,CAAC,EAAA,CAC1B;AACF,QAAAA,cAAA,CAAA,aAAA,CAAC,MAAM,EAAA,EACL,SAAS,EAAE,MAAM,CAAC,gBAAgB,EAClC,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAEA,cAAA,CAAA,aAAA,CAAC,aAAa,EAAA,IAAA,CAAG,EAC3B,IAAI,EAAC,IAAI,EAAA,YAAA,EACE,qBAAqB,EAAA,eAAA,EACjB,WAAW,IAAI,CAAC,EAC/B,QAAQ,EAAE,WAAW,IAAI,CAAC,EAAA,CAC1B;QAEFA,cAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAM,QAAQ,EAAE,gBAAgB,EAAA;YAC9BA,cAAA,CAAA,aAAA,CAAC,SAAS,IACR,SAAS,EAAE,MAAM,CAAC,SAAS,eACjB,QAAQ,EAAA,YAAA,EACN,QAAQ,WAAW,CAAA,IAAA,EAAO,eAAe,CAAA,CAAE,EACvD,IAAI,EAAC,IAAI,EACT,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE,cAAc,EACrB,GAAG,EAAC,GAAG,EACP,GAAG,EAAE,CAAA,EAAG,eAAe,CAAA,CAAE,EACzB,QAAQ,EAAE,iBAAiB,EAC3B,MAAM,EAAE,YAAY,EAAA,CACpB,CACG;AAEP,QAAAA,cAAA,CAAA,aAAA,CAAC,SAAS,EAAA,EAAC,KAAK,EAAE,eAAe,EAAA,CAAI;AAErC,QAAAA,cAAA,CAAA,aAAA,CAAC,MAAM,EAAA,EACL,SAAS,EAAE,MAAM,CAAC,gBAAgB,EAClC,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAEA,cAAA,CAAA,aAAA,CAAC,cAAc,EAAA,IAAA,CAAG,EAC5B,IAAI,EAAC,IAAI,EAAA,YAAA,EACE,iBAAiB,EAAA,eAAA,EACb,WAAW,IAAI,eAAe,EAC7C,QAAQ,EAAE,WAAW,IAAI,eAAe,EAAA,CACxC;AAEF,QAAAA,cAAA,CAAA,aAAA,CAAC,MAAM,EAAA,EACL,SAAS,EAAE,MAAM,CAAC,gBAAgB,EAClC,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAEA,cAAA,CAAA,aAAA,CAAC,YAAY,EAAA,IAAA,CAAG,EAC1B,IAAI,EAAC,IAAI,EAAA,YAAA,EACE,iBAAiB,EAAA,eAAA,EACb,WAAW,IAAI,eAAe,EAC7C,QAAQ,EAAE,WAAW,IAAI,eAAe,EAAA,CACxC,CACM;AAEd;;;;"}
1
+ {"version":3,"file":"Pagination.js","sources":["../../../src/components/Pagination/Pagination.tsx"],"sourcesContent":["import React from 'react';\nimport { PaginationProps } from './types';\n\nimport { PageInput, PaginationButton } from './styled';\nimport { PageCount } from './components';\nimport { usePagination } from './hooks/usePagination';\n\nimport { RightArrowIcon, StartArrowIcon, LeftArrowIcon, EndArrowIcon } from '../../icons';\nimport { FlexRow } from '../Flex/FlexRow';\n\nexport const Pagination = ({\n testId,\n e2eClassName,\n currentPage,\n totalPagesCount,\n handleChangePage,\n}: PaginationProps) => {\n const {\n pageInputValue,\n handleIncrement,\n handleDecrement,\n handleFormSubmit,\n handleInputChange,\n handleSubmit,\n } = usePagination({\n currentPage,\n totalPagesCount,\n handleChangePage,\n });\n\n /**\n * A function to go back to the first page, provided we aren't already there.\n */\n const handleSkipBack = () => {\n if (currentPage !== 1) handleChangePage(1);\n };\n\n /**\n * A function to go to the last page, provided we aren't already there.\n */\n const handleSkipToEnd = () => {\n if (currentPage !== totalPagesCount) handleChangePage(totalPagesCount);\n };\n\n return (\n <FlexRow alignItems=\"center\" gap=\"xs\" data-testid={testId} className={e2eClassName}>\n <PaginationButton\n onClick={handleSkipBack}\n iconSlot={<StartArrowIcon />}\n size=\"sm\"\n aria-label=\"go to first page\"\n aria-disabled={currentPage <= 1}\n disabled={currentPage <= 1}\n />\n <PaginationButton\n onClick={handleDecrement}\n iconSlot={<LeftArrowIcon />}\n size=\"sm\"\n aria-label=\"go to previous page\"\n aria-disabled={currentPage <= 1}\n disabled={currentPage <= 1}\n />\n\n <form onSubmit={handleFormSubmit}>\n <PageInput\n aria-live=\"polite\"\n aria-label={`page ${currentPage} of ${totalPagesCount}`}\n size=\"sm\"\n type=\"number\"\n value={pageInputValue}\n min=\"1\"\n max={`${totalPagesCount}`}\n onChange={handleInputChange}\n onBlur={handleSubmit}\n />\n </form>\n\n <PageCount count={totalPagesCount} />\n\n <PaginationButton\n onClick={handleIncrement}\n iconSlot={<RightArrowIcon />}\n size=\"sm\"\n aria-label=\"go to next page\"\n aria-disabled={currentPage >= totalPagesCount}\n disabled={currentPage >= totalPagesCount}\n />\n\n <PaginationButton\n onClick={handleSkipToEnd}\n iconSlot={<EndArrowIcon />}\n size=\"sm\"\n aria-label=\"go to last page\"\n aria-disabled={currentPage >= totalPagesCount}\n disabled={currentPage >= totalPagesCount}\n />\n </FlexRow>\n );\n};\n"],"names":["React"],"mappings":";;;;;;;;;;AAUO,MAAM,UAAU,GAAG,CAAC,EACzB,MAAM,EACN,YAAY,EACZ,WAAW,EACX,eAAe,EACf,gBAAgB,GACA,KAAI;AACpB,IAAA,MAAM,EACJ,cAAc,EACd,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,GACb,GAAG,aAAa,CAAC;QAChB,WAAW;QACX,eAAe;QACf,gBAAgB;AACjB,KAAA,CAAC;AAEF;;AAEG;IACH,MAAM,cAAc,GAAG,MAAK;QAC1B,IAAI,WAAW,KAAK,CAAC;YAAE,gBAAgB,CAAC,CAAC,CAAC;AAC5C,IAAA,CAAC;AAED;;AAEG;IACH,MAAM,eAAe,GAAG,MAAK;QAC3B,IAAI,WAAW,KAAK,eAAe;YAAE,gBAAgB,CAAC,eAAe,CAAC;AACxE,IAAA,CAAC;AAED,IAAA,QACEA,cAAA,CAAA,aAAA,CAAC,OAAO,EAAA,EAAC,UAAU,EAAC,QAAQ,EAAC,GAAG,EAAC,IAAI,EAAA,aAAA,EAAc,MAAM,EAAE,SAAS,EAAE,YAAY,EAAA;QAChFA,cAAA,CAAA,aAAA,CAAC,gBAAgB,EAAA,EACf,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAEA,cAAA,CAAA,aAAA,CAAC,cAAc,EAAA,IAAA,CAAG,EAC5B,IAAI,EAAC,IAAI,EAAA,YAAA,EACE,kBAAkB,EAAA,eAAA,EACd,WAAW,IAAI,CAAC,EAC/B,QAAQ,EAAE,WAAW,IAAI,CAAC,EAAA,CAC1B;QACFA,cAAA,CAAA,aAAA,CAAC,gBAAgB,EAAA,EACf,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAEA,cAAA,CAAA,aAAA,CAAC,aAAa,EAAA,IAAA,CAAG,EAC3B,IAAI,EAAC,IAAI,EAAA,YAAA,EACE,qBAAqB,EAAA,eAAA,EACjB,WAAW,IAAI,CAAC,EAC/B,QAAQ,EAAE,WAAW,IAAI,CAAC,EAAA,CAC1B;QAEFA,cAAA,CAAA,aAAA,CAAA,MAAA,EAAA,EAAM,QAAQ,EAAE,gBAAgB,EAAA;AAC9B,YAAAA,cAAA,CAAA,aAAA,CAAC,SAAS,EAAA,EAAA,WAAA,EACE,QAAQ,gBACN,CAAA,KAAA,EAAQ,WAAW,OAAO,eAAe,CAAA,CAAE,EACvD,IAAI,EAAC,IAAI,EACT,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE,cAAc,EACrB,GAAG,EAAC,GAAG,EACP,GAAG,EAAE,GAAG,eAAe,CAAA,CAAE,EACzB,QAAQ,EAAE,iBAAiB,EAC3B,MAAM,EAAE,YAAY,GACpB,CACG;AAEP,QAAAA,cAAA,CAAA,aAAA,CAAC,SAAS,EAAA,EAAC,KAAK,EAAE,eAAe,EAAA,CAAI;QAErCA,cAAA,CAAA,aAAA,CAAC,gBAAgB,EAAA,EACf,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAEA,cAAA,CAAA,aAAA,CAAC,cAAc,EAAA,IAAA,CAAG,EAC5B,IAAI,EAAC,IAAI,EAAA,YAAA,EACE,iBAAiB,EAAA,eAAA,EACb,WAAW,IAAI,eAAe,EAC7C,QAAQ,EAAE,WAAW,IAAI,eAAe,EAAA,CACxC;AAEF,QAAAA,cAAA,CAAA,aAAA,CAAC,gBAAgB,EAAA,EACf,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAEA,cAAA,CAAA,aAAA,CAAC,YAAY,EAAA,IAAA,CAAG,EAC1B,IAAI,EAAC,IAAI,EAAA,YAAA,EACE,iBAAiB,EAAA,eAAA,EACb,WAAW,IAAI,eAAe,EAC7C,QAAQ,EAAE,WAAW,IAAI,eAAe,EAAA,CACxC,CACM;AAEd;;;;"}
@@ -2,8 +2,7 @@
2
2
 
3
3
  var React = require('react');
4
4
  var Text = require('../Text/Text.cjs');
5
- var FlexRow = require('../Flex/FlexRow/FlexRow.cjs');
6
- var Pagination_module = require('./Pagination.module.scss.cjs');
5
+ var styled = require('./styled.cjs');
7
6
 
8
7
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
9
8
 
@@ -12,7 +11,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
11
  const PageCount = ({ count }) => (React__default.default.createElement(React__default.default.Fragment, null,
13
12
  React__default.default.createElement("div", null,
14
13
  React__default.default.createElement(Text.Text, { variant: "bodySmallBold", "aria-hidden": true }, "/")),
15
- React__default.default.createElement(FlexRow.FlexRow, { className: Pagination_module.pageLimitContainer, alignItems: "center", justifyContent: "center", "aria-hidden": true },
14
+ React__default.default.createElement(styled.PageLimitContainer, { alignItems: "center", justifyContent: "center", "aria-hidden": true },
16
15
  React__default.default.createElement(Text.Text, { variant: "body" }, count))));
17
16
 
18
17
  exports.PageCount = PageCount;
@@ -1 +1 @@
1
- {"version":3,"file":"components.cjs","sources":["../../../src/components/Pagination/components.tsx"],"sourcesContent":["import React from 'react';\nimport { Text } from '../Text';\nimport { FlexRow } from '../Flex/FlexRow';\nimport styles from './Pagination.module.scss';\n\nexport const PageCount = ({ count }: { count: number }) => (\n <>\n <div>\n <Text variant=\"bodySmallBold\" aria-hidden>\n /\n </Text>\n </div>\n <FlexRow\n className={styles.pageLimitContainer}\n alignItems=\"center\"\n justifyContent=\"center\"\n aria-hidden\n >\n <Text variant=\"body\">{count}</Text>\n </FlexRow>\n </>\n);\n"],"names":["React","Text","FlexRow","styles"],"mappings":";;;;;;;;;;;AAKO,MAAM,SAAS,GAAG,CAAC,EAAE,KAAK,EAAqB,MACpDA,sBAAA,CAAA,aAAA,CAAAA,sBAAA,CAAA,QAAA,EAAA,IAAA;AACE,IAAAA,sBAAA,CAAA,aAAA,CAAA,KAAA,EAAA,IAAA;AACE,QAAAA,sBAAA,CAAA,aAAA,CAACC,SAAI,EAAA,EAAC,OAAO,EAAC,eAAe,6BAEtB,CACH;AACN,IAAAD,sBAAA,CAAA,aAAA,CAACE,eAAO,EAAA,EACN,SAAS,EAAEC,iBAAM,CAAC,kBAAkB,EACpC,UAAU,EAAC,QAAQ,EACnB,cAAc,EAAC,QAAQ,EAAA,aAAA,EAAA,IAAA,EAAA;QAGvBH,sBAAA,CAAA,aAAA,CAACC,SAAI,EAAA,EAAC,OAAO,EAAC,MAAM,EAAA,EAAE,KAAK,CAAQ,CAC3B,CACT;;;;"}
1
+ {"version":3,"file":"components.cjs","sources":["../../../src/components/Pagination/components.tsx"],"sourcesContent":["import React from 'react';\nimport { Text } from '../Text';\nimport { PageLimitContainer } from './styled';\n\nexport const PageCount = ({ count }: { count: number }) => (\n <>\n <div>\n <Text variant=\"bodySmallBold\" aria-hidden>\n /\n </Text>\n </div>\n <PageLimitContainer alignItems=\"center\" justifyContent=\"center\" aria-hidden>\n <Text variant=\"body\">{count}</Text>\n </PageLimitContainer>\n </>\n);\n"],"names":["React","Text","PageLimitContainer"],"mappings":";;;;;;;;;;AAIO,MAAM,SAAS,GAAG,CAAC,EAAE,KAAK,EAAqB,MACpDA,sBAAA,CAAA,aAAA,CAAAA,sBAAA,CAAA,QAAA,EAAA,IAAA;AACE,IAAAA,sBAAA,CAAA,aAAA,CAAA,KAAA,EAAA,IAAA;AACE,QAAAA,sBAAA,CAAA,aAAA,CAACC,SAAI,EAAA,EAAC,OAAO,EAAC,eAAe,6BAEtB,CACH;IACND,sBAAA,CAAA,aAAA,CAACE,yBAAkB,IAAC,UAAU,EAAC,QAAQ,EAAC,cAAc,EAAC,QAAQ,EAAA,aAAA,EAAA,IAAA,EAAA;QAC7DF,sBAAA,CAAA,aAAA,CAACC,SAAI,EAAA,EAAC,OAAO,EAAC,MAAM,EAAA,EAAE,KAAK,CAAQ,CAChB,CACpB;;;;"}
@@ -1,12 +1,11 @@
1
1
  import React__default from 'react';
2
2
  import { Text } from '../Text/Text.js';
3
- import { FlexRow } from '../Flex/FlexRow/FlexRow.js';
4
- import styles from './Pagination.module.scss.js';
3
+ import { PageLimitContainer } from './styled.js';
5
4
 
6
5
  const PageCount = ({ count }) => (React__default.createElement(React__default.Fragment, null,
7
6
  React__default.createElement("div", null,
8
7
  React__default.createElement(Text, { variant: "bodySmallBold", "aria-hidden": true }, "/")),
9
- React__default.createElement(FlexRow, { className: styles.pageLimitContainer, alignItems: "center", justifyContent: "center", "aria-hidden": true },
8
+ React__default.createElement(PageLimitContainer, { alignItems: "center", justifyContent: "center", "aria-hidden": true },
10
9
  React__default.createElement(Text, { variant: "body" }, count))));
11
10
 
12
11
  export { PageCount };
@@ -1 +1 @@
1
- {"version":3,"file":"components.js","sources":["../../../src/components/Pagination/components.tsx"],"sourcesContent":["import React from 'react';\nimport { Text } from '../Text';\nimport { FlexRow } from '../Flex/FlexRow';\nimport styles from './Pagination.module.scss';\n\nexport const PageCount = ({ count }: { count: number }) => (\n <>\n <div>\n <Text variant=\"bodySmallBold\" aria-hidden>\n /\n </Text>\n </div>\n <FlexRow\n className={styles.pageLimitContainer}\n alignItems=\"center\"\n justifyContent=\"center\"\n aria-hidden\n >\n <Text variant=\"body\">{count}</Text>\n </FlexRow>\n </>\n);\n"],"names":["React"],"mappings":";;;;;AAKO,MAAM,SAAS,GAAG,CAAC,EAAE,KAAK,EAAqB,MACpDA,cAAA,CAAA,aAAA,CAAAA,cAAA,CAAA,QAAA,EAAA,IAAA;AACE,IAAAA,cAAA,CAAA,aAAA,CAAA,KAAA,EAAA,IAAA;AACE,QAAAA,cAAA,CAAA,aAAA,CAAC,IAAI,EAAA,EAAC,OAAO,EAAC,eAAe,6BAEtB,CACH;AACN,IAAAA,cAAA,CAAA,aAAA,CAAC,OAAO,EAAA,EACN,SAAS,EAAE,MAAM,CAAC,kBAAkB,EACpC,UAAU,EAAC,QAAQ,EACnB,cAAc,EAAC,QAAQ,EAAA,aAAA,EAAA,IAAA,EAAA;QAGvBA,cAAA,CAAA,aAAA,CAAC,IAAI,EAAA,EAAC,OAAO,EAAC,MAAM,EAAA,EAAE,KAAK,CAAQ,CAC3B,CACT;;;;"}
1
+ {"version":3,"file":"components.js","sources":["../../../src/components/Pagination/components.tsx"],"sourcesContent":["import React from 'react';\nimport { Text } from '../Text';\nimport { PageLimitContainer } from './styled';\n\nexport const PageCount = ({ count }: { count: number }) => (\n <>\n <div>\n <Text variant=\"bodySmallBold\" aria-hidden>\n /\n </Text>\n </div>\n <PageLimitContainer alignItems=\"center\" justifyContent=\"center\" aria-hidden>\n <Text variant=\"body\">{count}</Text>\n </PageLimitContainer>\n </>\n);\n"],"names":["React"],"mappings":";;;;AAIO,MAAM,SAAS,GAAG,CAAC,EAAE,KAAK,EAAqB,MACpDA,cAAA,CAAA,aAAA,CAAAA,cAAA,CAAA,QAAA,EAAA,IAAA;AACE,IAAAA,cAAA,CAAA,aAAA,CAAA,KAAA,EAAA,IAAA;AACE,QAAAA,cAAA,CAAA,aAAA,CAAC,IAAI,EAAA,EAAC,OAAO,EAAC,eAAe,6BAEtB,CACH;IACNA,cAAA,CAAA,aAAA,CAAC,kBAAkB,IAAC,UAAU,EAAC,QAAQ,EAAC,cAAc,EAAC,QAAQ,EAAA,aAAA,EAAA,IAAA,EAAA;QAC7DA,cAAA,CAAA,aAAA,CAAC,IAAI,EAAA,EAAC,OAAO,EAAC,MAAM,EAAA,EAAE,KAAK,CAAQ,CAChB,CACpB;;;;"}
@@ -0,0 +1,20 @@
1
+ 'use strict';
2
+
3
+ var styled = require('styled-components');
4
+ var index = require('../../theme/index.cjs');
5
+ var FlexRow = require('../Flex/FlexRow/FlexRow.cjs');
6
+ var Button = require('../Button/Button.cjs');
7
+ var index$1 = require('../TextField/index.cjs');
8
+
9
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
10
+
11
+ var styled__default = /*#__PURE__*/_interopDefaultCompat(styled);
12
+
13
+ const PageLimitContainer = styled__default.default(FlexRow.FlexRow).withConfig({ displayName: "vui--PageLimitContainer", componentId: "vui--11yg0z2" }) `box-sizing:border-box;min-width:${index.theme.sizes[10]};height:${index.theme.sizes.lg};padding:0 ${index.theme.sizes[3]};background-color:${index.theme.colors.neutral.grey.light};border:1px solid ${index.theme.colors.neutral.grey.dark};border-radius:${index.theme.sizes.xs};`;
14
+ const PaginationButton = styled__default.default(Button.Button).withConfig({ displayName: "vui--PaginationButton", componentId: "vui--1xoa6c5" }) `color:${index.theme.colors.neutral.ink.base};width:${index.theme.sizes.lg};height:${index.theme.sizes.lg};svg{width:${index.theme.sizes.md};height:${index.theme.sizes.md};}`;
15
+ const PageInput = styled__default.default(index$1.TextField).withConfig({ displayName: "vui--PageInput", componentId: "vui--vpfeol" }) `&[type='number']{min-width:auto;}`;
16
+
17
+ exports.PageInput = PageInput;
18
+ exports.PageLimitContainer = PageLimitContainer;
19
+ exports.PaginationButton = PaginationButton;
20
+ //# sourceMappingURL=styled.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styled.cjs","sources":["../../../src/components/Pagination/styled.ts"],"sourcesContent":["import styled from 'styled-components';\nimport { theme } from '../../theme';\nimport { FlexRow } from '../Flex/FlexRow';\nimport { Button } from '../Button';\nimport { TextField } from '../TextField';\n\nexport const PageLimitContainer = styled(FlexRow)`\n box-sizing: border-box;\n min-width: ${theme.sizes[10]};\n height: ${theme.sizes.lg};\n padding: 0 ${theme.sizes[3]};\n background-color: ${theme.colors.neutral.grey.light};\n border: 1px solid ${theme.colors.neutral.grey.dark};\n border-radius: ${theme.sizes.xs};\n`;\n\nexport const PaginationButton = styled(Button)`\n color: ${theme.colors.neutral.ink.base};\n // TODO: Remove these style overrides when the Button component is updated match the design system\n width: ${theme.sizes.lg};\n height: ${theme.sizes.lg};\n\n svg {\n width: ${theme.sizes.md};\n height: ${theme.sizes.md};\n }\n`;\n\nexport const PageInput = styled(TextField)`\n &[type='number'] {\n min-width: auto;\n }\n`;\n"],"names":["styled","FlexRow","theme","Button","TextField"],"mappings":";;;;;;;;;;;;AAMO,MAAM,kBAAkB,GAAGA,uBAAM,CAACC,eAAO,CAAC,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,yBAAA,EAAA,WAAA,EAAA,cAAA,EAAA,CAAA,CAAA,CAAA,gCAAA,EAElCC,WAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAA,QAAA,EAClBA,WAAK,CAAC,KAAK,CAAC,EAAE,CAAA,WAAA,EACXA,WAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA,kBAAA,EACPA,WAAK,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAA,kBAAA,EAC/BA,WAAK,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,eAAA,EACjCA,WAAK,CAAC,KAAK,CAAC,EAAE,CAAA,CAAA;AAG1B,MAAM,gBAAgB,GAAGF,uBAAM,CAACG,aAAM,CAAC,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,uBAAA,EAAA,WAAA,EAAA,cAAA,EAAA,CAAA,CAAA,CAAA,MAAA,EACnCD,WAAK,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,UAE7BA,WAAK,CAAC,KAAK,CAAC,EAAE,WACbA,WAAK,CAAC,KAAK,CAAC,EAAE,cAGbA,WAAK,CAAC,KAAK,CAAC,EAAE,WACbA,WAAK,CAAC,KAAK,CAAC,EAAE;MAIf,SAAS,GAAGF,uBAAM,CAACI,iBAAS,CAAC,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,gBAAA,EAAA,WAAA,EAAA,aAAA,EAAA,CAAA,CAAA,CAAA,iCAAA;;;;;;"}
@@ -0,0 +1,317 @@
1
+ /// <reference types="react" />
2
+ export declare const PageLimitContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<{
3
+ alignItems?: ("baseline" | "center" | "flex-start" | "flex-end" | "stretch") | undefined;
4
+ justifyContent?: ("center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly") | undefined;
5
+ gap?: keyof import("../../theme/modules/sizes").SizeScale | undefined;
6
+ flexWrap?: ("nowrap" | "wrap" | "wrap-reverse") | undefined;
7
+ flexGrow?: import("csstype").Property.FlexGrow | undefined;
8
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
9
+ export declare const PaginationButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("../../hoc/withTokens").WithTokensProps & {
10
+ children?: import("react").ReactNode;
11
+ variant?: import("../Button/types").ButtonVariant | undefined;
12
+ size?: import("../Button/types").ButtonSize | undefined;
13
+ iconSlot?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
14
+ dropdown?: boolean | undefined;
15
+ loading?: boolean | undefined;
16
+ } & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("../../hoc/withTokens").WithTokensProps & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
17
+ export declare const PageInput: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<{
18
+ rel?: string | undefined;
19
+ placeholder?: string | undefined;
20
+ form?: string | undefined;
21
+ slot?: string | undefined;
22
+ style?: import("react").CSSProperties | undefined;
23
+ title?: string | undefined;
24
+ pattern?: string | undefined;
25
+ list?: string | undefined;
26
+ className?: string | undefined;
27
+ children?: import("react").ReactNode;
28
+ defaultChecked?: boolean | undefined;
29
+ defaultValue?: string | number | readonly string[] | undefined;
30
+ suppressContentEditableWarning?: boolean | undefined;
31
+ suppressHydrationWarning?: boolean | undefined;
32
+ accessKey?: string | undefined;
33
+ autoFocus?: boolean | undefined;
34
+ contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
35
+ contextMenu?: string | undefined;
36
+ dir?: string | undefined;
37
+ draggable?: (boolean | "true" | "false") | undefined;
38
+ hidden?: boolean | undefined;
39
+ id?: string | undefined;
40
+ lang?: string | undefined;
41
+ nonce?: string | undefined;
42
+ spellCheck?: (boolean | "true" | "false") | undefined;
43
+ tabIndex?: number | undefined;
44
+ translate?: "yes" | "no" | undefined;
45
+ radioGroup?: string | undefined;
46
+ role?: import("react").AriaRole | undefined;
47
+ about?: string | undefined;
48
+ content?: string | undefined;
49
+ datatype?: string | undefined;
50
+ inlist?: any;
51
+ prefix?: string | undefined;
52
+ property?: string | undefined;
53
+ resource?: string | undefined;
54
+ rev?: string | undefined;
55
+ typeof?: string | undefined;
56
+ vocab?: string | undefined;
57
+ autoCapitalize?: string | undefined;
58
+ autoCorrect?: string | undefined;
59
+ autoSave?: string | undefined;
60
+ color?: string | undefined;
61
+ itemProp?: string | undefined;
62
+ itemScope?: boolean | undefined;
63
+ itemType?: string | undefined;
64
+ itemID?: string | undefined;
65
+ itemRef?: string | undefined;
66
+ results?: number | undefined;
67
+ security?: string | undefined;
68
+ unselectable?: "on" | "off" | undefined;
69
+ inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
70
+ is?: string | undefined;
71
+ 'aria-activedescendant'?: string | undefined;
72
+ 'aria-atomic'?: (boolean | "true" | "false") | undefined;
73
+ 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
74
+ 'aria-busy'?: (boolean | "true" | "false") | undefined;
75
+ 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
76
+ 'aria-colcount'?: number | undefined;
77
+ 'aria-colindex'?: number | undefined;
78
+ 'aria-colspan'?: number | undefined;
79
+ 'aria-controls'?: string | undefined;
80
+ 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
81
+ 'aria-describedby'?: string | undefined;
82
+ 'aria-details'?: string | undefined;
83
+ 'aria-disabled'?: (boolean | "true" | "false") | undefined;
84
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
85
+ 'aria-errormessage'?: string | undefined;
86
+ 'aria-expanded'?: (boolean | "true" | "false") | undefined;
87
+ 'aria-flowto'?: string | undefined;
88
+ 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
89
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
90
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
91
+ 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
92
+ 'aria-keyshortcuts'?: string | undefined;
93
+ 'aria-label'?: string | undefined;
94
+ 'aria-labelledby'?: string | undefined;
95
+ 'aria-level'?: number | undefined;
96
+ 'aria-live'?: "off" | "assertive" | "polite" | undefined;
97
+ 'aria-modal'?: (boolean | "true" | "false") | undefined;
98
+ 'aria-multiline'?: (boolean | "true" | "false") | undefined;
99
+ 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
100
+ 'aria-orientation'?: "horizontal" | "vertical" | undefined;
101
+ 'aria-owns'?: string | undefined;
102
+ 'aria-placeholder'?: string | undefined;
103
+ 'aria-posinset'?: number | undefined;
104
+ 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
105
+ 'aria-readonly'?: (boolean | "true" | "false") | undefined;
106
+ 'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
107
+ 'aria-required'?: (boolean | "true" | "false") | undefined;
108
+ 'aria-roledescription'?: string | undefined;
109
+ 'aria-rowcount'?: number | undefined;
110
+ 'aria-rowindex'?: number | undefined;
111
+ 'aria-rowspan'?: number | undefined;
112
+ 'aria-selected'?: (boolean | "true" | "false") | undefined;
113
+ 'aria-setsize'?: number | undefined;
114
+ 'aria-sort'?: "other" | "none" | "ascending" | "descending" | undefined;
115
+ 'aria-valuemax'?: number | undefined;
116
+ 'aria-valuemin'?: number | undefined;
117
+ 'aria-valuenow'?: number | undefined;
118
+ 'aria-valuetext'?: string | undefined;
119
+ dangerouslySetInnerHTML?: {
120
+ __html: string | TrustedHTML;
121
+ } | undefined;
122
+ onCopy?: (import("react").ClipboardEventHandler<HTMLInputElement> & import("react").ClipboardEventHandler<HTMLTextAreaElement>) | undefined;
123
+ onCopyCapture?: (import("react").ClipboardEventHandler<HTMLInputElement> & import("react").ClipboardEventHandler<HTMLTextAreaElement>) | undefined;
124
+ onCut?: (import("react").ClipboardEventHandler<HTMLInputElement> & import("react").ClipboardEventHandler<HTMLTextAreaElement>) | undefined;
125
+ onCutCapture?: (import("react").ClipboardEventHandler<HTMLInputElement> & import("react").ClipboardEventHandler<HTMLTextAreaElement>) | undefined;
126
+ onPaste?: (import("react").ClipboardEventHandler<HTMLInputElement> & import("react").ClipboardEventHandler<HTMLTextAreaElement>) | undefined;
127
+ onPasteCapture?: (import("react").ClipboardEventHandler<HTMLInputElement> & import("react").ClipboardEventHandler<HTMLTextAreaElement>) | undefined;
128
+ onCompositionEnd?: (import("react").CompositionEventHandler<HTMLInputElement> & import("react").CompositionEventHandler<HTMLTextAreaElement>) | undefined;
129
+ onCompositionEndCapture?: (import("react").CompositionEventHandler<HTMLInputElement> & import("react").CompositionEventHandler<HTMLTextAreaElement>) | undefined;
130
+ onCompositionStart?: (import("react").CompositionEventHandler<HTMLInputElement> & import("react").CompositionEventHandler<HTMLTextAreaElement>) | undefined;
131
+ onCompositionStartCapture?: (import("react").CompositionEventHandler<HTMLInputElement> & import("react").CompositionEventHandler<HTMLTextAreaElement>) | undefined;
132
+ onCompositionUpdate?: (import("react").CompositionEventHandler<HTMLInputElement> & import("react").CompositionEventHandler<HTMLTextAreaElement>) | undefined;
133
+ onCompositionUpdateCapture?: (import("react").CompositionEventHandler<HTMLInputElement> & import("react").CompositionEventHandler<HTMLTextAreaElement>) | undefined;
134
+ onFocus?: (import("react").FocusEventHandler<HTMLInputElement> & import("react").FocusEventHandler<HTMLTextAreaElement>) | undefined;
135
+ onFocusCapture?: (import("react").FocusEventHandler<HTMLInputElement> & import("react").FocusEventHandler<HTMLTextAreaElement>) | undefined;
136
+ onBlur?: (import("react").FocusEventHandler<HTMLInputElement> & import("react").FocusEventHandler<HTMLTextAreaElement>) | undefined;
137
+ onBlurCapture?: (import("react").FocusEventHandler<HTMLInputElement> & import("react").FocusEventHandler<HTMLTextAreaElement>) | undefined;
138
+ onChangeCapture?: (import("react").FormEventHandler<HTMLInputElement> & import("react").FormEventHandler<HTMLTextAreaElement>) | undefined;
139
+ onBeforeInput?: (import("react").FormEventHandler<HTMLInputElement> & import("react").FormEventHandler<HTMLTextAreaElement>) | undefined;
140
+ onBeforeInputCapture?: (import("react").FormEventHandler<HTMLInputElement> & import("react").FormEventHandler<HTMLTextAreaElement>) | undefined;
141
+ onInput?: (import("react").FormEventHandler<HTMLInputElement> & import("react").FormEventHandler<HTMLTextAreaElement>) | undefined;
142
+ onInputCapture?: (import("react").FormEventHandler<HTMLInputElement> & import("react").FormEventHandler<HTMLTextAreaElement>) | undefined;
143
+ onReset?: (import("react").FormEventHandler<HTMLInputElement> & import("react").FormEventHandler<HTMLTextAreaElement>) | undefined;
144
+ onResetCapture?: (import("react").FormEventHandler<HTMLInputElement> & import("react").FormEventHandler<HTMLTextAreaElement>) | undefined;
145
+ onSubmit?: (import("react").FormEventHandler<HTMLInputElement> & import("react").FormEventHandler<HTMLTextAreaElement>) | undefined;
146
+ onSubmitCapture?: (import("react").FormEventHandler<HTMLInputElement> & import("react").FormEventHandler<HTMLTextAreaElement>) | undefined;
147
+ onInvalid?: (import("react").FormEventHandler<HTMLInputElement> & import("react").FormEventHandler<HTMLTextAreaElement>) | undefined;
148
+ onInvalidCapture?: (import("react").FormEventHandler<HTMLInputElement> & import("react").FormEventHandler<HTMLTextAreaElement>) | undefined;
149
+ onLoad?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
150
+ onLoadCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
151
+ onError?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
152
+ onErrorCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
153
+ onKeyDown?: (import("react").KeyboardEventHandler<HTMLInputElement> & import("react").KeyboardEventHandler<HTMLTextAreaElement>) | undefined;
154
+ onKeyDownCapture?: (import("react").KeyboardEventHandler<HTMLInputElement> & import("react").KeyboardEventHandler<HTMLTextAreaElement>) | undefined;
155
+ onKeyPress?: (import("react").KeyboardEventHandler<HTMLInputElement> & import("react").KeyboardEventHandler<HTMLTextAreaElement>) | undefined;
156
+ onKeyPressCapture?: (import("react").KeyboardEventHandler<HTMLInputElement> & import("react").KeyboardEventHandler<HTMLTextAreaElement>) | undefined;
157
+ onKeyUp?: (import("react").KeyboardEventHandler<HTMLInputElement> & import("react").KeyboardEventHandler<HTMLTextAreaElement>) | undefined;
158
+ onKeyUpCapture?: (import("react").KeyboardEventHandler<HTMLInputElement> & import("react").KeyboardEventHandler<HTMLTextAreaElement>) | undefined;
159
+ onAbort?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
160
+ onAbortCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
161
+ onCanPlay?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
162
+ onCanPlayCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
163
+ onCanPlayThrough?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
164
+ onCanPlayThroughCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
165
+ onDurationChange?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
166
+ onDurationChangeCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
167
+ onEmptied?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
168
+ onEmptiedCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
169
+ onEncrypted?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
170
+ onEncryptedCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
171
+ onEnded?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
172
+ onEndedCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
173
+ onLoadedData?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
174
+ onLoadedDataCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
175
+ onLoadedMetadata?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
176
+ onLoadedMetadataCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
177
+ onLoadStart?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
178
+ onLoadStartCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
179
+ onPause?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
180
+ onPauseCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
181
+ onPlay?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
182
+ onPlayCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
183
+ onPlaying?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
184
+ onPlayingCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
185
+ onProgress?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
186
+ onProgressCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
187
+ onRateChange?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
188
+ onRateChangeCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
189
+ onSeeked?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
190
+ onSeekedCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
191
+ onSeeking?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
192
+ onSeekingCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
193
+ onStalled?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
194
+ onStalledCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
195
+ onSuspend?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
196
+ onSuspendCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
197
+ onTimeUpdate?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
198
+ onTimeUpdateCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
199
+ onVolumeChange?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
200
+ onVolumeChangeCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
201
+ onWaiting?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
202
+ onWaitingCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
203
+ onAuxClick?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
204
+ onAuxClickCapture?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
205
+ onClick?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
206
+ onClickCapture?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
207
+ onContextMenu?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
208
+ onContextMenuCapture?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
209
+ onDoubleClick?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
210
+ onDoubleClickCapture?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
211
+ onDrag?: (import("react").DragEventHandler<HTMLInputElement> & import("react").DragEventHandler<HTMLTextAreaElement>) | undefined;
212
+ onDragCapture?: (import("react").DragEventHandler<HTMLInputElement> & import("react").DragEventHandler<HTMLTextAreaElement>) | undefined;
213
+ onDragEnd?: (import("react").DragEventHandler<HTMLInputElement> & import("react").DragEventHandler<HTMLTextAreaElement>) | undefined;
214
+ onDragEndCapture?: (import("react").DragEventHandler<HTMLInputElement> & import("react").DragEventHandler<HTMLTextAreaElement>) | undefined;
215
+ onDragEnter?: (import("react").DragEventHandler<HTMLInputElement> & import("react").DragEventHandler<HTMLTextAreaElement>) | undefined;
216
+ onDragEnterCapture?: (import("react").DragEventHandler<HTMLInputElement> & import("react").DragEventHandler<HTMLTextAreaElement>) | undefined;
217
+ onDragExit?: (import("react").DragEventHandler<HTMLInputElement> & import("react").DragEventHandler<HTMLTextAreaElement>) | undefined;
218
+ onDragExitCapture?: (import("react").DragEventHandler<HTMLInputElement> & import("react").DragEventHandler<HTMLTextAreaElement>) | undefined;
219
+ onDragLeave?: (import("react").DragEventHandler<HTMLInputElement> & import("react").DragEventHandler<HTMLTextAreaElement>) | undefined;
220
+ onDragLeaveCapture?: (import("react").DragEventHandler<HTMLInputElement> & import("react").DragEventHandler<HTMLTextAreaElement>) | undefined;
221
+ onDragOver?: (import("react").DragEventHandler<HTMLInputElement> & import("react").DragEventHandler<HTMLTextAreaElement>) | undefined;
222
+ onDragOverCapture?: (import("react").DragEventHandler<HTMLInputElement> & import("react").DragEventHandler<HTMLTextAreaElement>) | undefined;
223
+ onDragStart?: (import("react").DragEventHandler<HTMLInputElement> & import("react").DragEventHandler<HTMLTextAreaElement>) | undefined;
224
+ onDragStartCapture?: (import("react").DragEventHandler<HTMLInputElement> & import("react").DragEventHandler<HTMLTextAreaElement>) | undefined;
225
+ onDrop?: (import("react").DragEventHandler<HTMLInputElement> & import("react").DragEventHandler<HTMLTextAreaElement>) | undefined;
226
+ onDropCapture?: (import("react").DragEventHandler<HTMLInputElement> & import("react").DragEventHandler<HTMLTextAreaElement>) | undefined;
227
+ onMouseDown?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
228
+ onMouseDownCapture?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
229
+ onMouseEnter?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
230
+ onMouseLeave?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
231
+ onMouseMove?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
232
+ onMouseMoveCapture?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
233
+ onMouseOut?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
234
+ onMouseOutCapture?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
235
+ onMouseOver?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
236
+ onMouseOverCapture?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
237
+ onMouseUp?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
238
+ onMouseUpCapture?: (import("react").MouseEventHandler<HTMLInputElement> & import("react").MouseEventHandler<HTMLTextAreaElement>) | undefined;
239
+ onSelect?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
240
+ onSelectCapture?: (import("react").ReactEventHandler<HTMLInputElement> & import("react").ReactEventHandler<HTMLTextAreaElement>) | undefined;
241
+ onTouchCancel?: (import("react").TouchEventHandler<HTMLInputElement> & import("react").TouchEventHandler<HTMLTextAreaElement>) | undefined;
242
+ onTouchCancelCapture?: (import("react").TouchEventHandler<HTMLInputElement> & import("react").TouchEventHandler<HTMLTextAreaElement>) | undefined;
243
+ onTouchEnd?: (import("react").TouchEventHandler<HTMLInputElement> & import("react").TouchEventHandler<HTMLTextAreaElement>) | undefined;
244
+ onTouchEndCapture?: (import("react").TouchEventHandler<HTMLInputElement> & import("react").TouchEventHandler<HTMLTextAreaElement>) | undefined;
245
+ onTouchMove?: (import("react").TouchEventHandler<HTMLInputElement> & import("react").TouchEventHandler<HTMLTextAreaElement>) | undefined;
246
+ onTouchMoveCapture?: (import("react").TouchEventHandler<HTMLInputElement> & import("react").TouchEventHandler<HTMLTextAreaElement>) | undefined;
247
+ onTouchStart?: (import("react").TouchEventHandler<HTMLInputElement> & import("react").TouchEventHandler<HTMLTextAreaElement>) | undefined;
248
+ onTouchStartCapture?: (import("react").TouchEventHandler<HTMLInputElement> & import("react").TouchEventHandler<HTMLTextAreaElement>) | undefined;
249
+ onPointerDown?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
250
+ onPointerDownCapture?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
251
+ onPointerMove?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
252
+ onPointerMoveCapture?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
253
+ onPointerUp?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
254
+ onPointerUpCapture?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
255
+ onPointerCancel?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
256
+ onPointerCancelCapture?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
257
+ onPointerEnter?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
258
+ onPointerEnterCapture?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
259
+ onPointerLeave?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
260
+ onPointerLeaveCapture?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
261
+ onPointerOver?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
262
+ onPointerOverCapture?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
263
+ onPointerOut?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
264
+ onPointerOutCapture?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
265
+ onGotPointerCapture?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
266
+ onGotPointerCaptureCapture?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
267
+ onLostPointerCapture?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
268
+ onLostPointerCaptureCapture?: (import("react").PointerEventHandler<HTMLInputElement> & import("react").PointerEventHandler<HTMLTextAreaElement>) | undefined;
269
+ onScroll?: (import("react").UIEventHandler<HTMLInputElement> & import("react").UIEventHandler<HTMLTextAreaElement>) | undefined;
270
+ onScrollCapture?: (import("react").UIEventHandler<HTMLInputElement> & import("react").UIEventHandler<HTMLTextAreaElement>) | undefined;
271
+ onWheel?: (import("react").WheelEventHandler<HTMLInputElement> & import("react").WheelEventHandler<HTMLTextAreaElement>) | undefined;
272
+ onWheelCapture?: (import("react").WheelEventHandler<HTMLInputElement> & import("react").WheelEventHandler<HTMLTextAreaElement>) | undefined;
273
+ onAnimationStart?: (import("react").AnimationEventHandler<HTMLInputElement> & import("react").AnimationEventHandler<HTMLTextAreaElement>) | undefined;
274
+ onAnimationStartCapture?: (import("react").AnimationEventHandler<HTMLInputElement> & import("react").AnimationEventHandler<HTMLTextAreaElement>) | undefined;
275
+ onAnimationEnd?: (import("react").AnimationEventHandler<HTMLInputElement> & import("react").AnimationEventHandler<HTMLTextAreaElement>) | undefined;
276
+ onAnimationEndCapture?: (import("react").AnimationEventHandler<HTMLInputElement> & import("react").AnimationEventHandler<HTMLTextAreaElement>) | undefined;
277
+ onAnimationIteration?: (import("react").AnimationEventHandler<HTMLInputElement> & import("react").AnimationEventHandler<HTMLTextAreaElement>) | undefined;
278
+ onAnimationIterationCapture?: (import("react").AnimationEventHandler<HTMLInputElement> & import("react").AnimationEventHandler<HTMLTextAreaElement>) | undefined;
279
+ onTransitionEnd?: (import("react").TransitionEventHandler<HTMLInputElement> & import("react").TransitionEventHandler<HTMLTextAreaElement>) | undefined;
280
+ onTransitionEndCapture?: (import("react").TransitionEventHandler<HTMLInputElement> & import("react").TransitionEventHandler<HTMLTextAreaElement>) | undefined;
281
+ disabled?: boolean | undefined;
282
+ formAction?: string | undefined;
283
+ formEncType?: string | undefined;
284
+ formMethod?: string | undefined;
285
+ formNoValidate?: boolean | undefined;
286
+ formTarget?: string | undefined;
287
+ alt?: string | undefined;
288
+ autoComplete?: string | undefined;
289
+ accept?: string | undefined;
290
+ capture?: boolean | "user" | "environment" | undefined;
291
+ checked?: boolean | undefined;
292
+ enterKeyHint?: "search" | "previous" | "next" | "enter" | "done" | "go" | "send" | undefined;
293
+ multiple?: boolean | undefined;
294
+ cols?: number | undefined;
295
+ dirName?: string | undefined;
296
+ maxLength?: number | undefined;
297
+ minLength?: number | undefined;
298
+ src?: string | undefined;
299
+ height?: string | number | undefined;
300
+ max?: string | number | undefined;
301
+ min?: string | number | undefined;
302
+ name?: string | undefined;
303
+ width?: string | number | undefined;
304
+ wrap?: string | undefined;
305
+ step?: string | number | undefined;
306
+ readOnly?: boolean | undefined;
307
+ required?: boolean | undefined;
308
+ rows?: number | undefined;
309
+ } & {
310
+ value?: string | undefined;
311
+ type?: import("../TextField").TextFieldType | undefined;
312
+ onChange?: ((value: string) => void) | undefined;
313
+ hasError?: boolean | undefined;
314
+ disabledMessage?: import("react").ReactNode;
315
+ size?: "base" | "sm" | undefined;
316
+ multiline?: boolean | undefined;
317
+ } & import("react").RefAttributes<HTMLInputElement> & import("../../hoc/withLabels/withLabels").WithLabelsProps, "ref"> & import("react").RefAttributes<unknown>>, any, {}, never>;
@@ -0,0 +1,12 @@
1
+ import styled from 'styled-components';
2
+ import { theme } from '../../theme/index.js';
3
+ import { FlexRow } from '../Flex/FlexRow/FlexRow.js';
4
+ import { Button } from '../Button/Button.js';
5
+ import { TextField } from '../TextField/index.js';
6
+
7
+ const PageLimitContainer = styled(FlexRow).withConfig({ displayName: "vui--PageLimitContainer", componentId: "vui--11yg0z2" }) `box-sizing:border-box;min-width:${theme.sizes[10]};height:${theme.sizes.lg};padding:0 ${theme.sizes[3]};background-color:${theme.colors.neutral.grey.light};border:1px solid ${theme.colors.neutral.grey.dark};border-radius:${theme.sizes.xs};`;
8
+ const PaginationButton = styled(Button).withConfig({ displayName: "vui--PaginationButton", componentId: "vui--1xoa6c5" }) `color:${theme.colors.neutral.ink.base};width:${theme.sizes.lg};height:${theme.sizes.lg};svg{width:${theme.sizes.md};height:${theme.sizes.md};}`;
9
+ const PageInput = styled(TextField).withConfig({ displayName: "vui--PageInput", componentId: "vui--vpfeol" }) `&[type='number']{min-width:auto;}`;
10
+
11
+ export { PageInput, PageLimitContainer, PaginationButton };
12
+ //# sourceMappingURL=styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styled.js","sources":["../../../src/components/Pagination/styled.ts"],"sourcesContent":["import styled from 'styled-components';\nimport { theme } from '../../theme';\nimport { FlexRow } from '../Flex/FlexRow';\nimport { Button } from '../Button';\nimport { TextField } from '../TextField';\n\nexport const PageLimitContainer = styled(FlexRow)`\n box-sizing: border-box;\n min-width: ${theme.sizes[10]};\n height: ${theme.sizes.lg};\n padding: 0 ${theme.sizes[3]};\n background-color: ${theme.colors.neutral.grey.light};\n border: 1px solid ${theme.colors.neutral.grey.dark};\n border-radius: ${theme.sizes.xs};\n`;\n\nexport const PaginationButton = styled(Button)`\n color: ${theme.colors.neutral.ink.base};\n // TODO: Remove these style overrides when the Button component is updated match the design system\n width: ${theme.sizes.lg};\n height: ${theme.sizes.lg};\n\n svg {\n width: ${theme.sizes.md};\n height: ${theme.sizes.md};\n }\n`;\n\nexport const PageInput = styled(TextField)`\n &[type='number'] {\n min-width: auto;\n }\n`;\n"],"names":[],"mappings":";;;;;;AAMO,MAAM,kBAAkB,GAAG,MAAM,CAAC,OAAO,CAAC,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,yBAAA,EAAA,WAAA,EAAA,cAAA,EAAA,CAAA,CAAA,CAAA,gCAAA,EAElC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAA,QAAA,EAClB,KAAK,CAAC,KAAK,CAAC,EAAE,CAAA,WAAA,EACX,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA,kBAAA,EACP,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAA,kBAAA,EAC/B,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,eAAA,EACjC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAA,CAAA;AAG1B,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,uBAAA,EAAA,WAAA,EAAA,cAAA,EAAA,CAAA,CAAA,CAAA,MAAA,EACnC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,UAE7B,KAAK,CAAC,KAAK,CAAC,EAAE,WACb,KAAK,CAAC,KAAK,CAAC,EAAE,cAGb,KAAK,CAAC,KAAK,CAAC,EAAE,WACb,KAAK,CAAC,KAAK,CAAC,EAAE;MAIf,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,gBAAA,EAAA,WAAA,EAAA,aAAA,EAAA,CAAA,CAAA,CAAA,iCAAA;;;;"}
@@ -2,14 +2,13 @@
2
2
 
3
3
  var React = require('react');
4
4
  var Button = require('../Button/Button.cjs');
5
- var buildClassnames = require('../../utils/buildClassnames.cjs');
6
- var SegmentedControl_module = require('./SegmentedControl.module.scss.cjs');
5
+ var styled = require('./styled.cjs');
7
6
 
8
7
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
9
8
 
10
9
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
11
10
 
12
- const SegmentedControl = ({ options, selected, className, onChange, }) => (React__default.default.createElement("div", { className: buildClassnames.buildClassnames([SegmentedControl_module.container, className && `${className}-container`]) }, options.map((option) => (React__default.default.createElement(Button.Button, { type: "button", "aria-pressed": option.value === selected, variant: option.value === selected ? 'primary' : 'default', key: option.key, onClick: () => onChange(option.value), disabled: option.disabled, className: option.value === selected ? 'veeqo-components-active-button' : '' }, option.label)))));
11
+ const SegmentedControl = ({ options, selected, className, onChange, }) => (React__default.default.createElement(styled.SegmentedControlContainer, { className: className ? `${className}-container` : undefined }, options.map((option) => (React__default.default.createElement(Button.Button, { type: "button", "aria-pressed": option.value === selected, variant: option.value === selected ? 'primary' : 'default', key: option.key, onClick: () => onChange(option.value), disabled: option.disabled, className: option.value === selected ? 'veeqo-components-active-button' : '' }, option.label)))));
13
12
 
14
13
  exports.SegmentedControl = SegmentedControl;
15
14
  //# sourceMappingURL=SegmentedControl.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"SegmentedControl.cjs","sources":["../../../src/components/SegmentedControl/SegmentedControl.tsx"],"sourcesContent":["import React from 'react';\n\nimport { Button } from '../Button';\nimport { buildClassnames } from '../../utils/buildClassnames';\nimport styles from './SegmentedControl.module.scss';\n\nimport { SegmentedControlProps } from './types';\n\nexport const SegmentedControl = ({\n options,\n selected,\n className,\n onChange,\n}: SegmentedControlProps) => (\n <div className={buildClassnames([styles.container, className && `${className}-container`])}>\n {options.map((option) => (\n <Button\n type=\"button\"\n aria-pressed={option.value === selected}\n variant={option.value === selected ? 'primary' : 'default'}\n key={option.key}\n onClick={() => onChange(option.value)}\n disabled={option.disabled}\n className={option.value === selected ? 'veeqo-components-active-button' : ''}\n >\n {option.label}\n </Button>\n ))}\n </div>\n);\n"],"names":["React","buildClassnames","styles","Button"],"mappings":";;;;;;;;;;;AAQO,MAAM,gBAAgB,GAAG,CAAC,EAC/B,OAAO,EACP,QAAQ,EACR,SAAS,EACT,QAAQ,GACc,MACtBA,sBAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAEC,+BAAe,CAAC,CAACC,uBAAM,CAAC,SAAS,EAAE,SAAS,IAAI,CAAA,EAAG,SAAS,CAAA,UAAA,CAAY,CAAC,CAAC,EAAA,EACvF,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,MAClBF,sBAAA,CAAA,aAAA,CAACG,aAAM,EAAA,EACL,IAAI,EAAC,QAAQ,EAAA,cAAA,EACC,MAAM,CAAC,KAAK,KAAK,QAAQ,EACvC,OAAO,EAAE,MAAM,CAAC,KAAK,KAAK,QAAQ,GAAG,SAAS,GAAG,SAAS,EAC1D,GAAG,EAAE,MAAM,CAAC,GAAG,EACf,OAAO,EAAE,MAAM,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,EACrC,QAAQ,EAAE,MAAM,CAAC,QAAQ,EACzB,SAAS,EAAE,MAAM,CAAC,KAAK,KAAK,QAAQ,GAAG,gCAAgC,GAAG,EAAE,EAAA,EAE3E,MAAM,CAAC,KAAK,CACN,CACV,CAAC,CACE;;;;"}
1
+ {"version":3,"file":"SegmentedControl.cjs","sources":["../../../src/components/SegmentedControl/SegmentedControl.tsx"],"sourcesContent":["import React from 'react';\n\nimport { Button } from '../Button';\nimport { SegmentedControlContainer } from './styled';\n\nimport { SegmentedControlProps } from './types';\n\nexport const SegmentedControl = ({\n options,\n selected,\n className,\n onChange,\n}: SegmentedControlProps) => (\n <SegmentedControlContainer className={className ? `${className}-container` : undefined}>\n {options.map((option) => (\n <Button\n type=\"button\"\n aria-pressed={option.value === selected}\n variant={option.value === selected ? 'primary' : 'default'}\n key={option.key}\n onClick={() => onChange(option.value)}\n disabled={option.disabled}\n className={option.value === selected ? 'veeqo-components-active-button' : ''}\n >\n {option.label}\n </Button>\n ))}\n </SegmentedControlContainer>\n);\n"],"names":["React","SegmentedControlContainer","Button"],"mappings":";;;;;;;;;;AAOO,MAAM,gBAAgB,GAAG,CAAC,EAC/B,OAAO,EACP,QAAQ,EACR,SAAS,EACT,QAAQ,GACc,MACtBA,sBAAA,CAAA,aAAA,CAACC,gCAAyB,EAAA,EAAC,SAAS,EAAE,SAAS,GAAG,CAAA,EAAG,SAAS,CAAA,UAAA,CAAY,GAAG,SAAS,EAAA,EACnF,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,MAClBD,sBAAA,CAAA,aAAA,CAACE,aAAM,EAAA,EACL,IAAI,EAAC,QAAQ,EAAA,cAAA,EACC,MAAM,CAAC,KAAK,KAAK,QAAQ,EACvC,OAAO,EAAE,MAAM,CAAC,KAAK,KAAK,QAAQ,GAAG,SAAS,GAAG,SAAS,EAC1D,GAAG,EAAE,MAAM,CAAC,GAAG,EACf,OAAO,EAAE,MAAM,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,EACrC,QAAQ,EAAE,MAAM,CAAC,QAAQ,EACzB,SAAS,EAAE,MAAM,CAAC,KAAK,KAAK,QAAQ,GAAG,gCAAgC,GAAG,EAAE,EAAA,EAE3E,MAAM,CAAC,KAAK,CACN,CACV,CAAC,CACwB;;;;"}
@@ -1,9 +1,8 @@
1
1
  import React__default from 'react';
2
2
  import { Button } from '../Button/Button.js';
3
- import { buildClassnames } from '../../utils/buildClassnames.js';
4
- import styles from './SegmentedControl.module.scss.js';
3
+ import { SegmentedControlContainer } from './styled.js';
5
4
 
6
- const SegmentedControl = ({ options, selected, className, onChange, }) => (React__default.createElement("div", { className: buildClassnames([styles.container, className && `${className}-container`]) }, options.map((option) => (React__default.createElement(Button, { type: "button", "aria-pressed": option.value === selected, variant: option.value === selected ? 'primary' : 'default', key: option.key, onClick: () => onChange(option.value), disabled: option.disabled, className: option.value === selected ? 'veeqo-components-active-button' : '' }, option.label)))));
5
+ const SegmentedControl = ({ options, selected, className, onChange, }) => (React__default.createElement(SegmentedControlContainer, { className: className ? `${className}-container` : undefined }, options.map((option) => (React__default.createElement(Button, { type: "button", "aria-pressed": option.value === selected, variant: option.value === selected ? 'primary' : 'default', key: option.key, onClick: () => onChange(option.value), disabled: option.disabled, className: option.value === selected ? 'veeqo-components-active-button' : '' }, option.label)))));
7
6
 
8
7
  export { SegmentedControl };
9
8
  //# sourceMappingURL=SegmentedControl.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SegmentedControl.js","sources":["../../../src/components/SegmentedControl/SegmentedControl.tsx"],"sourcesContent":["import React from 'react';\n\nimport { Button } from '../Button';\nimport { buildClassnames } from '../../utils/buildClassnames';\nimport styles from './SegmentedControl.module.scss';\n\nimport { SegmentedControlProps } from './types';\n\nexport const SegmentedControl = ({\n options,\n selected,\n className,\n onChange,\n}: SegmentedControlProps) => (\n <div className={buildClassnames([styles.container, className && `${className}-container`])}>\n {options.map((option) => (\n <Button\n type=\"button\"\n aria-pressed={option.value === selected}\n variant={option.value === selected ? 'primary' : 'default'}\n key={option.key}\n onClick={() => onChange(option.value)}\n disabled={option.disabled}\n className={option.value === selected ? 'veeqo-components-active-button' : ''}\n >\n {option.label}\n </Button>\n ))}\n </div>\n);\n"],"names":["React"],"mappings":";;;;;AAQO,MAAM,gBAAgB,GAAG,CAAC,EAC/B,OAAO,EACP,QAAQ,EACR,SAAS,EACT,QAAQ,GACc,MACtBA,cAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAE,eAAe,CAAC,CAAC,MAAM,CAAC,SAAS,EAAE,SAAS,IAAI,CAAA,EAAG,SAAS,CAAA,UAAA,CAAY,CAAC,CAAC,EAAA,EACvF,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,MAClBA,cAAA,CAAA,aAAA,CAAC,MAAM,EAAA,EACL,IAAI,EAAC,QAAQ,EAAA,cAAA,EACC,MAAM,CAAC,KAAK,KAAK,QAAQ,EACvC,OAAO,EAAE,MAAM,CAAC,KAAK,KAAK,QAAQ,GAAG,SAAS,GAAG,SAAS,EAC1D,GAAG,EAAE,MAAM,CAAC,GAAG,EACf,OAAO,EAAE,MAAM,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,EACrC,QAAQ,EAAE,MAAM,CAAC,QAAQ,EACzB,SAAS,EAAE,MAAM,CAAC,KAAK,KAAK,QAAQ,GAAG,gCAAgC,GAAG,EAAE,EAAA,EAE3E,MAAM,CAAC,KAAK,CACN,CACV,CAAC,CACE;;;;"}
1
+ {"version":3,"file":"SegmentedControl.js","sources":["../../../src/components/SegmentedControl/SegmentedControl.tsx"],"sourcesContent":["import React from 'react';\n\nimport { Button } from '../Button';\nimport { SegmentedControlContainer } from './styled';\n\nimport { SegmentedControlProps } from './types';\n\nexport const SegmentedControl = ({\n options,\n selected,\n className,\n onChange,\n}: SegmentedControlProps) => (\n <SegmentedControlContainer className={className ? `${className}-container` : undefined}>\n {options.map((option) => (\n <Button\n type=\"button\"\n aria-pressed={option.value === selected}\n variant={option.value === selected ? 'primary' : 'default'}\n key={option.key}\n onClick={() => onChange(option.value)}\n disabled={option.disabled}\n className={option.value === selected ? 'veeqo-components-active-button' : ''}\n >\n {option.label}\n </Button>\n ))}\n </SegmentedControlContainer>\n);\n"],"names":["React"],"mappings":";;;;AAOO,MAAM,gBAAgB,GAAG,CAAC,EAC/B,OAAO,EACP,QAAQ,EACR,SAAS,EACT,QAAQ,GACc,MACtBA,cAAA,CAAA,aAAA,CAAC,yBAAyB,EAAA,EAAC,SAAS,EAAE,SAAS,GAAG,CAAA,EAAG,SAAS,CAAA,UAAA,CAAY,GAAG,SAAS,EAAA,EACnF,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,MAClBA,cAAA,CAAA,aAAA,CAAC,MAAM,EAAA,EACL,IAAI,EAAC,QAAQ,EAAA,cAAA,EACC,MAAM,CAAC,KAAK,KAAK,QAAQ,EACvC,OAAO,EAAE,MAAM,CAAC,KAAK,KAAK,QAAQ,GAAG,SAAS,GAAG,SAAS,EAC1D,GAAG,EAAE,MAAM,CAAC,GAAG,EACf,OAAO,EAAE,MAAM,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,EACrC,QAAQ,EAAE,MAAM,CAAC,QAAQ,EACzB,SAAS,EAAE,MAAM,CAAC,KAAK,KAAK,QAAQ,GAAG,gCAAgC,GAAG,EAAE,EAAA,EAE3E,MAAM,CAAC,KAAK,CACN,CACV,CAAC,CACwB;;;;"}
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ var styled = require('styled-components');
4
+ var index = require('../../theme/index.cjs');
5
+ var BaseContainer = require('../BaseContainer/BaseContainer.cjs');
6
+
7
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
8
+
9
+ var styled__default = /*#__PURE__*/_interopDefaultCompat(styled);
10
+
11
+ const buttonBackgroundColor = index.theme.colors.neutral.grey.lightest;
12
+ const buttonBorderColor = index.theme.colors.neutral.grey.dark;
13
+ const activeButtonColor = index.theme.colors.secondary.blue.dark;
14
+ const SegmentedControlContainer = styled__default.default(BaseContainer.BaseContainer).withConfig({ displayName: "vui--SegmentedControlContainer", componentId: "vui--s4yyqq" }) `display:flex;flex-direction:row;> button{border-radius:0;box-shadow:none;:active{background-color:${buttonBackgroundColor};border-color:${buttonBorderColor};box-shadow:none;}:focus{box-shadow:0 0 0 4px ${index.theme.colors.secondary.blue.light};outline:0;z-index:1;}}> .veeqo-components-active-button{:active{background-color:${activeButtonColor};border-color:${activeButtonColor};}}> button:not(:first-child){border-left:none;}> .veeqo-components-active-button + button{border-left:1px solid ${index.theme.colors.neutral.grey.dark};}> button:first-child{border-radius:20px 0px 0px 20px;}> button:last-child{border-radius:0px 20px 20px 0px;}`;
15
+
16
+ exports.SegmentedControlContainer = SegmentedControlContainer;
17
+ //# sourceMappingURL=styled.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styled.cjs","sources":["../../../src/components/SegmentedControl/styled.ts"],"sourcesContent":["import styled from 'styled-components';\nimport { theme } from '../../theme';\n\nimport { BaseContainer } from '../BaseContainer';\n\nconst buttonBackgroundColor = theme.colors.neutral.grey.lightest;\nconst buttonBorderColor = theme.colors.neutral.grey.dark;\n\nconst activeButtonColor = theme.colors.secondary.blue.dark;\n\nexport const SegmentedControlContainer = styled(BaseContainer)`\n display: flex;\n flex-direction: row;\n\n > button {\n border-radius: 0;\n box-shadow: none;\n\n :active {\n background-color: ${buttonBackgroundColor};\n border-color: ${buttonBorderColor};\n box-shadow: none;\n }\n\n :focus {\n box-shadow: 0 0 0 4px ${theme.colors.secondary.blue.light};\n outline: 0;\n z-index: 1;\n }\n }\n\n > .veeqo-components-active-button {\n :active {\n background-color: ${activeButtonColor};\n border-color: ${activeButtonColor};\n }\n }\n\n > button:not(:first-child) {\n border-left: none;\n }\n\n > .veeqo-components-active-button + button {\n border-left: 1px solid ${theme.colors.neutral.grey.dark};\n }\n\n > button:first-child {\n border-radius: 20px 0px 0px 20px;\n }\n\n > button:last-child {\n border-radius: 0px 20px 20px 0px;\n }\n`;\n"],"names":["theme","styled","BaseContainer"],"mappings":";;;;;;;;;;AAKA,MAAM,qBAAqB,GAAGA,WAAK,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ;AAChE,MAAM,iBAAiB,GAAGA,WAAK,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI;AAExD,MAAM,iBAAiB,GAAGA,WAAK,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI;AAEnD,MAAM,yBAAyB,GAAGC,uBAAM,CAACC,2BAAa,CAAC,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,gCAAA,EAAA,WAAA,EAAA,aAAA,EAAA,CAAA,CAAA,CAAA,kGAAA,EASpC,qBAAqB,iBACzB,iBAAiB,CAAA,8CAAA,EAKTF,WAAK,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAA,kFAAA,EAQrC,iBAAiB,CAAA,cAAA,EACrB,iBAAiB,CAAA,iHAAA,EASVA,WAAK,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI;;;;"}
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const SegmentedControlContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../BaseContainer").BaseContainerProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
@@ -0,0 +1,11 @@
1
+ import styled from 'styled-components';
2
+ import { theme } from '../../theme/index.js';
3
+ import { BaseContainer } from '../BaseContainer/BaseContainer.js';
4
+
5
+ const buttonBackgroundColor = theme.colors.neutral.grey.lightest;
6
+ const buttonBorderColor = theme.colors.neutral.grey.dark;
7
+ const activeButtonColor = theme.colors.secondary.blue.dark;
8
+ const SegmentedControlContainer = styled(BaseContainer).withConfig({ displayName: "vui--SegmentedControlContainer", componentId: "vui--s4yyqq" }) `display:flex;flex-direction:row;> button{border-radius:0;box-shadow:none;:active{background-color:${buttonBackgroundColor};border-color:${buttonBorderColor};box-shadow:none;}:focus{box-shadow:0 0 0 4px ${theme.colors.secondary.blue.light};outline:0;z-index:1;}}> .veeqo-components-active-button{:active{background-color:${activeButtonColor};border-color:${activeButtonColor};}}> button:not(:first-child){border-left:none;}> .veeqo-components-active-button + button{border-left:1px solid ${theme.colors.neutral.grey.dark};}> button:first-child{border-radius:20px 0px 0px 20px;}> button:last-child{border-radius:0px 20px 20px 0px;}`;
9
+
10
+ export { SegmentedControlContainer };
11
+ //# sourceMappingURL=styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styled.js","sources":["../../../src/components/SegmentedControl/styled.ts"],"sourcesContent":["import styled from 'styled-components';\nimport { theme } from '../../theme';\n\nimport { BaseContainer } from '../BaseContainer';\n\nconst buttonBackgroundColor = theme.colors.neutral.grey.lightest;\nconst buttonBorderColor = theme.colors.neutral.grey.dark;\n\nconst activeButtonColor = theme.colors.secondary.blue.dark;\n\nexport const SegmentedControlContainer = styled(BaseContainer)`\n display: flex;\n flex-direction: row;\n\n > button {\n border-radius: 0;\n box-shadow: none;\n\n :active {\n background-color: ${buttonBackgroundColor};\n border-color: ${buttonBorderColor};\n box-shadow: none;\n }\n\n :focus {\n box-shadow: 0 0 0 4px ${theme.colors.secondary.blue.light};\n outline: 0;\n z-index: 1;\n }\n }\n\n > .veeqo-components-active-button {\n :active {\n background-color: ${activeButtonColor};\n border-color: ${activeButtonColor};\n }\n }\n\n > button:not(:first-child) {\n border-left: none;\n }\n\n > .veeqo-components-active-button + button {\n border-left: 1px solid ${theme.colors.neutral.grey.dark};\n }\n\n > button:first-child {\n border-radius: 20px 0px 0px 20px;\n }\n\n > button:last-child {\n border-radius: 0px 20px 20px 0px;\n }\n`;\n"],"names":[],"mappings":";;;;AAKA,MAAM,qBAAqB,GAAG,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ;AAChE,MAAM,iBAAiB,GAAG,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI;AAExD,MAAM,iBAAiB,GAAG,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI;AAEnD,MAAM,yBAAyB,GAAG,MAAM,CAAC,aAAa,CAAC,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,gCAAA,EAAA,WAAA,EAAA,aAAA,EAAA,CAAA,CAAA,CAAA,kGAAA,EASpC,qBAAqB,iBACzB,iBAAiB,CAAA,8CAAA,EAKT,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAA,kFAAA,EAQrC,iBAAiB,CAAA,cAAA,EACrB,iBAAiB,CAAA,iHAAA,EASV,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI;;;;"}