@planningcenter/tapestry-react 0.0.1-alpha.0

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 (1078) hide show
  1. package/README.md +7 -0
  2. package/dist/cjs/ActionsDropdown/ActionsDropdown.js +117 -0
  3. package/dist/cjs/ActionsDropdown/index.js +15 -0
  4. package/dist/cjs/Alert/Alert.js +37 -0
  5. package/dist/cjs/Alert/Alert.test.js +20 -0
  6. package/dist/cjs/Alert/index.js +15 -0
  7. package/dist/cjs/Avatar/Avatar.js +55 -0
  8. package/dist/cjs/Avatar/index.js +11 -0
  9. package/dist/cjs/Badge/Badge.js +122 -0
  10. package/dist/cjs/Badge/Status.js +114 -0
  11. package/dist/cjs/Badge/index.js +14 -0
  12. package/dist/cjs/Box/Box.js +46 -0
  13. package/dist/cjs/Box/index.js +15 -0
  14. package/dist/cjs/Button/Button.js +274 -0
  15. package/dist/cjs/Button/Button.test.js +59 -0
  16. package/dist/cjs/Button/Input.js +180 -0
  17. package/dist/cjs/Button/index.js +15 -0
  18. package/dist/cjs/Calendar/Calendar.js +376 -0
  19. package/dist/cjs/Calendar/Day.js +103 -0
  20. package/dist/cjs/Calendar/index.js +11 -0
  21. package/dist/cjs/Calendar/utils.js +104 -0
  22. package/dist/cjs/Card/Card.js +57 -0
  23. package/dist/cjs/Card/index.js +15 -0
  24. package/dist/cjs/Checkbox/Checkbox.js +225 -0
  25. package/dist/cjs/Checkbox/index.js +11 -0
  26. package/dist/cjs/CheckboxCard/CheckboxCard.js +76 -0
  27. package/dist/cjs/CheckboxCard/index.js +11 -0
  28. package/dist/cjs/CheckboxGroup/CheckboxGroup.js +71 -0
  29. package/dist/cjs/CheckboxGroup/CheckboxGroupContext.js +10 -0
  30. package/dist/cjs/CheckboxGroup/index.js +11 -0
  31. package/dist/cjs/ChurchCenterStatus/ChurchCenterStatus.js +131 -0
  32. package/dist/cjs/ChurchCenterStatus/index.js +15 -0
  33. package/dist/cjs/Collapse/Collapse.js +123 -0
  34. package/dist/cjs/Collapse/index.js +11 -0
  35. package/dist/cjs/ColumnView/ColumnView.js +63 -0
  36. package/dist/cjs/ColumnView/index.js +11 -0
  37. package/dist/cjs/Combobox/Combobox.js +62 -0
  38. package/dist/cjs/Combobox/ComboboxInput.js +171 -0
  39. package/dist/cjs/Combobox/ComboboxItem.js +72 -0
  40. package/dist/cjs/Combobox/ComboboxItems.js +107 -0
  41. package/dist/cjs/Combobox/ComboboxPopover.js +250 -0
  42. package/dist/cjs/Combobox/index.js +11 -0
  43. package/dist/cjs/DataTable/DataTable.js +271 -0
  44. package/dist/cjs/DataTable/components/BodyRow.js +58 -0
  45. package/dist/cjs/DataTable/components/BodyRows.js +131 -0
  46. package/dist/cjs/DataTable/components/BodySubRows.js +104 -0
  47. package/dist/cjs/DataTable/components/CheckboxCell.js +116 -0
  48. package/dist/cjs/DataTable/components/ColumnPicker.js +74 -0
  49. package/dist/cjs/DataTable/components/HeaderCell.js +88 -0
  50. package/dist/cjs/DataTable/components/Icon.js +70 -0
  51. package/dist/cjs/DataTable/components/index.js +22 -0
  52. package/dist/cjs/DataTable/hooks/index.js +42 -0
  53. package/dist/cjs/DataTable/hooks/useCollapsibleRows.js +127 -0
  54. package/dist/cjs/DataTable/hooks/useColumnSort.js +100 -0
  55. package/dist/cjs/DataTable/hooks/useColumnWidths.js +113 -0
  56. package/dist/cjs/DataTable/hooks/useHoverFocus.js +33 -0
  57. package/dist/cjs/DataTable/hooks/useRefManager.js +28 -0
  58. package/dist/cjs/DataTable/hooks/useScrollShadows.js +106 -0
  59. package/dist/cjs/DataTable/hooks/useScrollSync.js +52 -0
  60. package/dist/cjs/DataTable/hooks/useVariants.js +15 -0
  61. package/dist/cjs/DataTable/index.js +29 -0
  62. package/dist/cjs/DataTable/utils/getCell.js +24 -0
  63. package/dist/cjs/DataTable/utils/getParsedColumns.js +158 -0
  64. package/dist/cjs/DataTable/utils/getRowLinkProps.js +16 -0
  65. package/dist/cjs/DataTable/utils/index.js +22 -0
  66. package/dist/cjs/DataTable/utils/variants.js +176 -0
  67. package/dist/cjs/DateField/DateField.js +169 -0
  68. package/dist/cjs/DateField/index.js +11 -0
  69. package/dist/cjs/Divider/Divider.js +44 -0
  70. package/dist/cjs/Divider/index.js +15 -0
  71. package/dist/cjs/DragDrop/DragDrop.js +226 -0
  72. package/dist/cjs/DragDrop/index.js +11 -0
  73. package/dist/cjs/Drawer/Drawer.js +99 -0
  74. package/dist/cjs/Drawer/index.js +11 -0
  75. package/dist/cjs/Dropdown/Dropdown.js +295 -0
  76. package/dist/cjs/Dropdown/Dropdown.test.js +35 -0
  77. package/dist/cjs/Dropdown/Item.js +74 -0
  78. package/dist/cjs/Dropdown/Link.js +85 -0
  79. package/dist/cjs/Dropdown/index.js +11 -0
  80. package/dist/cjs/EditActions/EditActions.js +94 -0
  81. package/dist/cjs/EditActions/index.js +11 -0
  82. package/dist/cjs/Field/Field.js +130 -0
  83. package/dist/cjs/Field/index.js +11 -0
  84. package/dist/cjs/FieldSet/FieldSet.js +49 -0
  85. package/dist/cjs/FieldSet/index.js +11 -0
  86. package/dist/cjs/FilterLayout/FilterLayout.js +95 -0
  87. package/dist/cjs/FilterLayout/index.js +15 -0
  88. package/dist/cjs/FocusGroup/FocusGroup.js +127 -0
  89. package/dist/cjs/FocusGroup/index.js +11 -0
  90. package/dist/cjs/Form/Form.js +188 -0
  91. package/dist/cjs/Form/index.js +11 -0
  92. package/dist/cjs/GridView/GridView.js +109 -0
  93. package/dist/cjs/GridView/index.js +15 -0
  94. package/dist/cjs/Group/Group.js +48 -0
  95. package/dist/cjs/Group/index.js +15 -0
  96. package/dist/cjs/Heading/Heading.js +33 -0
  97. package/dist/cjs/Heading/index.js +11 -0
  98. package/dist/cjs/HeadingUppercase/HeadingUppercase.js +35 -0
  99. package/dist/cjs/HeadingUppercase/index.js +11 -0
  100. package/dist/cjs/HelperDrawer/HelperDrawer.js +91 -0
  101. package/dist/cjs/HelperDrawer/index.js +11 -0
  102. package/dist/cjs/Highlight/Highlight.js +47 -0
  103. package/dist/cjs/Highlight/index.js +11 -0
  104. package/dist/cjs/Highlight/utils.js +52 -0
  105. package/dist/cjs/Icon/Icon.js +59 -0
  106. package/dist/cjs/Icon/Path.js +33 -0
  107. package/dist/cjs/Icon/Status.js +51 -0
  108. package/dist/cjs/Icon/index.js +17 -0
  109. package/dist/cjs/Input/Inline.js +59 -0
  110. package/dist/cjs/Input/Input.js +130 -0
  111. package/dist/cjs/Input/InputBox.js +350 -0
  112. package/dist/cjs/Input/InputContext.js +10 -0
  113. package/dist/cjs/Input/InputField.js +290 -0
  114. package/dist/cjs/Input/InputLabel.js +93 -0
  115. package/dist/cjs/Input/index.js +23 -0
  116. package/dist/cjs/Input/utils.js +13 -0
  117. package/dist/cjs/ItemList/ItemList.js +262 -0
  118. package/dist/cjs/ItemList/ItemListContext.js +10 -0
  119. package/dist/cjs/ItemList/ItemListController.js +67 -0
  120. package/dist/cjs/ItemList/ItemListItem.js +100 -0
  121. package/dist/cjs/ItemList/index.js +17 -0
  122. package/dist/cjs/ItemList/utils.js +73 -0
  123. package/dist/cjs/Link/Inline.js +50 -0
  124. package/dist/cjs/Link/Link.js +76 -0
  125. package/dist/cjs/Link/index.js +14 -0
  126. package/dist/cjs/LinkList/LinkList.js +41 -0
  127. package/dist/cjs/LinkList/index.js +11 -0
  128. package/dist/cjs/List/List.js +63 -0
  129. package/dist/cjs/List/ListItem.js +52 -0
  130. package/dist/cjs/List/index.js +11 -0
  131. package/dist/cjs/Logo/Logo.js +63 -0
  132. package/dist/cjs/Logo/index.js +11 -0
  133. package/dist/cjs/Menu/Heading.js +26 -0
  134. package/dist/cjs/Menu/Item.js +90 -0
  135. package/dist/cjs/Menu/Menu.js +30 -0
  136. package/dist/cjs/Menu/index.js +11 -0
  137. package/dist/cjs/Modal/Modal.js +65 -0
  138. package/dist/cjs/Modal/index.js +11 -0
  139. package/dist/cjs/NumberField/NumberField.js +244 -0
  140. package/dist/cjs/NumberField/NumberField.test.js +220 -0
  141. package/dist/cjs/NumberField/index.js +11 -0
  142. package/dist/cjs/Page/PageActions.js +22 -0
  143. package/dist/cjs/Page/PageBody.js +56 -0
  144. package/dist/cjs/Page/PageButton.js +24 -0
  145. package/dist/cjs/Page/PageDropdown.js +25 -0
  146. package/dist/cjs/Page/PageHeader.js +48 -0
  147. package/dist/cjs/Page/PageTab.js +21 -0
  148. package/dist/cjs/Page/PageTabList.js +26 -0
  149. package/dist/cjs/Page/PageTitle.js +25 -0
  150. package/dist/cjs/Page/PageToolbar.js +23 -0
  151. package/dist/cjs/Page/index.js +41 -0
  152. package/dist/cjs/PagerView/PagerView.js +230 -0
  153. package/dist/cjs/PagerView/index.js +11 -0
  154. package/dist/cjs/Pagination/Pagination.js +148 -0
  155. package/dist/cjs/Pagination/index.js +11 -0
  156. package/dist/cjs/Popover/Popover.js +214 -0
  157. package/dist/cjs/Popover/index.js +15 -0
  158. package/dist/cjs/Popover/rewireTabOrder.js +123 -0
  159. package/dist/cjs/Popover/utils.js +72 -0
  160. package/dist/cjs/Portal/Portal.js +166 -0
  161. package/dist/cjs/Portal/index.js +15 -0
  162. package/dist/cjs/Progress/Progress.js +45 -0
  163. package/dist/cjs/Progress/index.js +11 -0
  164. package/dist/cjs/Radio/Radio.js +158 -0
  165. package/dist/cjs/Radio/index.js +11 -0
  166. package/dist/cjs/RangeSlider/RangeSlider.js +224 -0
  167. package/dist/cjs/RangeSlider/index.js +11 -0
  168. package/dist/cjs/ScreenReader/ScreenReader.js +38 -0
  169. package/dist/cjs/ScreenReader/index.js +11 -0
  170. package/dist/cjs/Scrim/Scrim.js +36 -0
  171. package/dist/cjs/Scrim/index.js +15 -0
  172. package/dist/cjs/Section/Section.js +48 -0
  173. package/dist/cjs/Section/index.js +11 -0
  174. package/dist/cjs/SegmentedControl/SegmentedControl.js +140 -0
  175. package/dist/cjs/SegmentedControl/index.js +11 -0
  176. package/dist/cjs/SegmentedTabs/SegmentedTabs.js +149 -0
  177. package/dist/cjs/SegmentedTabs/index.js +11 -0
  178. package/dist/cjs/Select/Context.js +10 -0
  179. package/dist/cjs/Select/Inline.js +51 -0
  180. package/dist/cjs/Select/Option.js +103 -0
  181. package/dist/cjs/Select/OptionGroup.js +34 -0
  182. package/dist/cjs/Select/Select.js +542 -0
  183. package/dist/cjs/Select/Value.js +27 -0
  184. package/dist/cjs/Select/constants.js +10 -0
  185. package/dist/cjs/Select/index.js +26 -0
  186. package/dist/cjs/Select/utils.js +129 -0
  187. package/dist/cjs/Sidebar/Sidebar.js +55 -0
  188. package/dist/cjs/Sidebar/SidebarItem.js +53 -0
  189. package/dist/cjs/Sidebar/SidebarList.js +27 -0
  190. package/dist/cjs/Sidebar/index.js +11 -0
  191. package/dist/cjs/Sortable/SortableEmpty.js +42 -0
  192. package/dist/cjs/Sortable/SortableItem.js +57 -0
  193. package/dist/cjs/Sortable/SortableList.js +106 -0
  194. package/dist/cjs/Sortable/SortableManager.js +31 -0
  195. package/dist/cjs/Sortable/constants.js +6 -0
  196. package/dist/cjs/Sortable/index.js +57 -0
  197. package/dist/cjs/Spinner/Spinner.js +79 -0
  198. package/dist/cjs/Spinner/index.js +15 -0
  199. package/dist/cjs/StackView/StackView.js +105 -0
  200. package/dist/cjs/StackView/index.js +15 -0
  201. package/dist/cjs/StepperField/StepperField.js +78 -0
  202. package/dist/cjs/StepperField/index.js +11 -0
  203. package/dist/cjs/StepperProgress/Context.js +10 -0
  204. package/dist/cjs/StepperProgress/Step.js +87 -0
  205. package/dist/cjs/StepperProgress/StepperProgress.js +45 -0
  206. package/dist/cjs/StepperProgress/index.js +14 -0
  207. package/dist/cjs/Summary/Summary.js +41 -0
  208. package/dist/cjs/Summary/index.js +11 -0
  209. package/dist/cjs/Tab/Tab.js +77 -0
  210. package/dist/cjs/Tab/index.js +15 -0
  211. package/dist/cjs/Table/AnimateScroll.js +88 -0
  212. package/dist/cjs/Table/AvatarCell.js +44 -0
  213. package/dist/cjs/Table/Body.js +33 -0
  214. package/dist/cjs/Table/BodyCell.js +24 -0
  215. package/dist/cjs/Table/BodyInnerCell.js +34 -0
  216. package/dist/cjs/Table/BodyRow.js +70 -0
  217. package/dist/cjs/Table/CheckboxCell.js +40 -0
  218. package/dist/cjs/Table/ColumnPicker.js +73 -0
  219. package/dist/cjs/Table/DateCell.js +21 -0
  220. package/dist/cjs/Table/DragCell.js +47 -0
  221. package/dist/cjs/Table/DragHandle.js +22 -0
  222. package/dist/cjs/Table/Header.js +44 -0
  223. package/dist/cjs/Table/HeaderCell.js +26 -0
  224. package/dist/cjs/Table/HeaderInnerCell.js +30 -0
  225. package/dist/cjs/Table/HeaderRow.js +24 -0
  226. package/dist/cjs/Table/NavigationArrow.js +78 -0
  227. package/dist/cjs/Table/ScrollShadow.js +47 -0
  228. package/dist/cjs/Table/SubRowToggleCell.js +47 -0
  229. package/dist/cjs/Table/Table.js +697 -0
  230. package/dist/cjs/Table/TableBase.js +180 -0
  231. package/dist/cjs/Table/TableContainer.js +25 -0
  232. package/dist/cjs/Table/TableWrapper.js +22 -0
  233. package/dist/cjs/Table/index.js +11 -0
  234. package/dist/cjs/Tabs/Tab.js +59 -0
  235. package/dist/cjs/Tabs/TabList.js +92 -0
  236. package/dist/cjs/Tabs/TabPanel.js +28 -0
  237. package/dist/cjs/Tabs/TabPanels.js +49 -0
  238. package/dist/cjs/Tabs/Tabs.js +140 -0
  239. package/dist/cjs/Tabs/index.js +11 -0
  240. package/dist/cjs/Text/Text.js +101 -0
  241. package/dist/cjs/Text/index.js +15 -0
  242. package/dist/cjs/TextArea/TextArea.js +24 -0
  243. package/dist/cjs/TextArea/index.js +11 -0
  244. package/dist/cjs/ThemeProvider/ThemeProvider.js +121 -0
  245. package/dist/cjs/ThemeProvider/index.js +15 -0
  246. package/dist/cjs/ThemeProvider/styles.js +40 -0
  247. package/dist/cjs/TileView/TileView.js +66 -0
  248. package/dist/cjs/TileView/index.js +15 -0
  249. package/dist/cjs/TimeField/TimeField.js +239 -0
  250. package/dist/cjs/TimeField/TimeField.test.js +273 -0
  251. package/dist/cjs/TimeField/index.js +11 -0
  252. package/dist/cjs/TimeField/utils.js +61 -0
  253. package/dist/cjs/TokenInput/DefaultToken.js +42 -0
  254. package/dist/cjs/TokenInput/TokenInput.js +257 -0
  255. package/dist/cjs/TokenInput/default-renders.js +54 -0
  256. package/dist/cjs/TokenInput/index.js +11 -0
  257. package/dist/cjs/Toolbar/Action.js +27 -0
  258. package/dist/cjs/Toolbar/Toolbar.js +112 -0
  259. package/dist/cjs/Toolbar/index.js +11 -0
  260. package/dist/cjs/Tooltip/Tooltip.js +232 -0
  261. package/dist/cjs/Tooltip/index.js +11 -0
  262. package/dist/cjs/VariantProvider/VariantProvider.js +31 -0
  263. package/dist/cjs/VariantProvider/index.js +9 -0
  264. package/dist/cjs/Wizard/Step.js +33 -0
  265. package/dist/cjs/Wizard/Wizard.js +238 -0
  266. package/dist/cjs/Wizard/WizardContext.js +10 -0
  267. package/dist/cjs/Wizard/index.js +11 -0
  268. package/dist/cjs/WrapView/WrapView.js +62 -0
  269. package/dist/cjs/WrapView/index.js +15 -0
  270. package/dist/cjs/hooks/index.js +32 -0
  271. package/dist/cjs/hooks/use-accessibility-violation.js +79 -0
  272. package/dist/cjs/hooks/use-document-event.js +38 -0
  273. package/dist/cjs/hooks/use-focus.js +29 -0
  274. package/dist/cjs/hooks/use-hover.js +24 -0
  275. package/dist/cjs/hooks/use-id.js +26 -0
  276. package/dist/cjs/hooks/use-keyboard-shortcuts.js +38 -0
  277. package/dist/cjs/hooks/use-measure.js +125 -0
  278. package/dist/cjs/hooks/use-roving-index.js +58 -0
  279. package/dist/cjs/icons.js +126 -0
  280. package/dist/cjs/index.d.js +354 -0
  281. package/dist/cjs/index.js +340 -0
  282. package/dist/cjs/server.js +27 -0
  283. package/dist/cjs/system/box-sizes.js +61 -0
  284. package/dist/cjs/system/button-themes.js +286 -0
  285. package/dist/cjs/system/colors/colors.js +107 -0
  286. package/dist/cjs/system/colors/index.js +18 -0
  287. package/dist/cjs/system/colors/utils.js +211 -0
  288. package/dist/cjs/system/css.js +14 -0
  289. package/dist/cjs/system/cxs.js +106 -0
  290. package/dist/cjs/system/default-theme.js +72 -0
  291. package/dist/cjs/system/index.js +90 -0
  292. package/dist/cjs/system/parse-styles.js +61 -0
  293. package/dist/cjs/system/plugins/border.js +93 -0
  294. package/dist/cjs/system/plugins/color.js +47 -0
  295. package/dist/cjs/system/plugins/elevation.js +22 -0
  296. package/dist/cjs/system/plugins/flex.js +84 -0
  297. package/dist/cjs/system/plugins/grid.js +52 -0
  298. package/dist/cjs/system/plugins/index.js +33 -0
  299. package/dist/cjs/system/plugins/misc.js +34 -0
  300. package/dist/cjs/system/plugins/position.js +49 -0
  301. package/dist/cjs/system/plugins/size.js +39 -0
  302. package/dist/cjs/system/plugins/space.js +112 -0
  303. package/dist/cjs/system/plugins/stroke.js +48 -0
  304. package/dist/cjs/system/plugins/transform.js +46 -0
  305. package/dist/cjs/system/plugins/typography.js +23 -0
  306. package/dist/cjs/system/split-styles.js +119 -0
  307. package/dist/cjs/system/style-names.js +14 -0
  308. package/dist/cjs/system/use-css.js +21 -0
  309. package/dist/cjs/system/utils.js +184 -0
  310. package/dist/cjs/utils.js +870 -0
  311. package/dist/cjs/vendor/react-measure/Measure.js +158 -0
  312. package/dist/cjs/vendor/react-measure/Viewport.js +172 -0
  313. package/dist/cjs/vendor/react-measure/index.js +14 -0
  314. package/dist/cjs/vendor/react-measure/utils.js +89 -0
  315. package/dist/esm/ActionsDropdown/ActionsDropdown.js +111 -0
  316. package/dist/esm/ActionsDropdown/index.js +2 -0
  317. package/dist/esm/Alert/Alert.js +22 -0
  318. package/dist/esm/Alert/Alert.test.js +13 -0
  319. package/dist/esm/Alert/index.js +2 -0
  320. package/dist/esm/Avatar/Avatar.js +42 -0
  321. package/dist/esm/Avatar/index.js +2 -0
  322. package/dist/esm/Badge/Badge.js +105 -0
  323. package/dist/esm/Badge/Status.js +98 -0
  324. package/dist/esm/Badge/index.js +4 -0
  325. package/dist/esm/Box/Box.js +35 -0
  326. package/dist/esm/Box/index.js +2 -0
  327. package/dist/esm/Button/Button.js +258 -0
  328. package/dist/esm/Button/Button.test.js +53 -0
  329. package/dist/esm/Button/Input.js +163 -0
  330. package/dist/esm/Button/index.js +2 -0
  331. package/dist/esm/Calendar/Calendar.js +349 -0
  332. package/dist/esm/Calendar/Day.js +92 -0
  333. package/dist/esm/Calendar/index.js +2 -0
  334. package/dist/esm/Calendar/utils.js +80 -0
  335. package/dist/esm/Card/Card.js +44 -0
  336. package/dist/esm/Card/index.js +2 -0
  337. package/dist/esm/Checkbox/Checkbox.js +204 -0
  338. package/dist/esm/Checkbox/index.js +2 -0
  339. package/dist/esm/CheckboxCard/CheckboxCard.js +60 -0
  340. package/dist/esm/CheckboxCard/index.js +2 -0
  341. package/dist/esm/CheckboxGroup/CheckboxGroup.js +58 -0
  342. package/dist/esm/CheckboxGroup/CheckboxGroupContext.js +3 -0
  343. package/dist/esm/CheckboxGroup/index.js +2 -0
  344. package/dist/esm/ChurchCenterStatus/ChurchCenterStatus.js +127 -0
  345. package/dist/esm/ChurchCenterStatus/index.js +2 -0
  346. package/dist/esm/Collapse/Collapse.js +112 -0
  347. package/dist/esm/Collapse/index.js +2 -0
  348. package/dist/esm/ColumnView/ColumnView.js +49 -0
  349. package/dist/esm/ColumnView/index.js +2 -0
  350. package/dist/esm/Combobox/Combobox.js +48 -0
  351. package/dist/esm/Combobox/ComboboxInput.js +160 -0
  352. package/dist/esm/Combobox/ComboboxItem.js +58 -0
  353. package/dist/esm/Combobox/ComboboxItems.js +89 -0
  354. package/dist/esm/Combobox/ComboboxPopover.js +243 -0
  355. package/dist/esm/Combobox/index.js +2 -0
  356. package/dist/esm/DataTable/DataTable.js +247 -0
  357. package/dist/esm/DataTable/components/BodyRow.js +49 -0
  358. package/dist/esm/DataTable/components/BodyRows.js +114 -0
  359. package/dist/esm/DataTable/components/BodySubRows.js +90 -0
  360. package/dist/esm/DataTable/components/CheckboxCell.js +104 -0
  361. package/dist/esm/DataTable/components/ColumnPicker.js +62 -0
  362. package/dist/esm/DataTable/components/HeaderCell.js +75 -0
  363. package/dist/esm/DataTable/components/Icon.js +61 -0
  364. package/dist/esm/DataTable/components/index.js +4 -0
  365. package/dist/esm/DataTable/hooks/index.js +6 -0
  366. package/dist/esm/DataTable/hooks/useCollapsibleRows.js +107 -0
  367. package/dist/esm/DataTable/hooks/useColumnSort.js +85 -0
  368. package/dist/esm/DataTable/hooks/useColumnWidths.js +104 -0
  369. package/dist/esm/DataTable/hooks/useHoverFocus.js +27 -0
  370. package/dist/esm/DataTable/hooks/useRefManager.js +22 -0
  371. package/dist/esm/DataTable/hooks/useScrollShadows.js +94 -0
  372. package/dist/esm/DataTable/hooks/useScrollSync.js +46 -0
  373. package/dist/esm/DataTable/hooks/useVariants.js +9 -0
  374. package/dist/esm/DataTable/index.js +14 -0
  375. package/dist/esm/DataTable/utils/getCell.js +18 -0
  376. package/dist/esm/DataTable/utils/getParsedColumns.js +144 -0
  377. package/dist/esm/DataTable/utils/getRowLinkProps.js +10 -0
  378. package/dist/esm/DataTable/utils/index.js +4 -0
  379. package/dist/esm/DataTable/utils/variants.js +167 -0
  380. package/dist/esm/DateField/DateField.js +158 -0
  381. package/dist/esm/DateField/index.js +2 -0
  382. package/dist/esm/Divider/Divider.js +35 -0
  383. package/dist/esm/Divider/index.js +2 -0
  384. package/dist/esm/DragDrop/DragDrop.js +213 -0
  385. package/dist/esm/DragDrop/index.js +2 -0
  386. package/dist/esm/Drawer/Drawer.js +87 -0
  387. package/dist/esm/Drawer/index.js +2 -0
  388. package/dist/esm/Dropdown/Dropdown.js +282 -0
  389. package/dist/esm/Dropdown/Dropdown.test.js +26 -0
  390. package/dist/esm/Dropdown/Item.js +58 -0
  391. package/dist/esm/Dropdown/Link.js +67 -0
  392. package/dist/esm/Dropdown/index.js +2 -0
  393. package/dist/esm/EditActions/EditActions.js +79 -0
  394. package/dist/esm/EditActions/index.js +2 -0
  395. package/dist/esm/Field/Field.js +114 -0
  396. package/dist/esm/Field/index.js +2 -0
  397. package/dist/esm/FieldSet/FieldSet.js +36 -0
  398. package/dist/esm/FieldSet/index.js +2 -0
  399. package/dist/esm/FilterLayout/FilterLayout.js +82 -0
  400. package/dist/esm/FilterLayout/index.js +2 -0
  401. package/dist/esm/FocusGroup/FocusGroup.js +121 -0
  402. package/dist/esm/FocusGroup/index.js +2 -0
  403. package/dist/esm/Form/Form.js +184 -0
  404. package/dist/esm/Form/index.js +2 -0
  405. package/dist/esm/GridView/GridView.js +98 -0
  406. package/dist/esm/GridView/index.js +2 -0
  407. package/dist/esm/Group/Group.js +36 -0
  408. package/dist/esm/Group/index.js +2 -0
  409. package/dist/esm/Heading/Heading.js +22 -0
  410. package/dist/esm/Heading/index.js +2 -0
  411. package/dist/esm/HeadingUppercase/HeadingUppercase.js +24 -0
  412. package/dist/esm/HeadingUppercase/index.js +2 -0
  413. package/dist/esm/HelperDrawer/HelperDrawer.js +78 -0
  414. package/dist/esm/HelperDrawer/index.js +2 -0
  415. package/dist/esm/Highlight/Highlight.js +36 -0
  416. package/dist/esm/Highlight/index.js +2 -0
  417. package/dist/esm/Highlight/utils.js +46 -0
  418. package/dist/esm/Icon/Icon.js +47 -0
  419. package/dist/esm/Icon/Path.js +22 -0
  420. package/dist/esm/Icon/Status.js +39 -0
  421. package/dist/esm/Icon/index.js +6 -0
  422. package/dist/esm/Input/Inline.js +49 -0
  423. package/dist/esm/Input/Input.js +116 -0
  424. package/dist/esm/Input/InputBox.js +339 -0
  425. package/dist/esm/Input/InputContext.js +3 -0
  426. package/dist/esm/Input/InputField.js +281 -0
  427. package/dist/esm/Input/InputLabel.js +79 -0
  428. package/dist/esm/Input/index.js +10 -0
  429. package/dist/esm/Input/utils.js +5 -0
  430. package/dist/esm/ItemList/ItemList.js +272 -0
  431. package/dist/esm/ItemList/ItemListContext.js +3 -0
  432. package/dist/esm/ItemList/ItemListController.js +56 -0
  433. package/dist/esm/ItemList/ItemListItem.js +91 -0
  434. package/dist/esm/ItemList/index.js +4 -0
  435. package/dist/esm/ItemList/utils.js +55 -0
  436. package/dist/esm/Link/Inline.js +40 -0
  437. package/dist/esm/Link/Link.js +66 -0
  438. package/dist/esm/Link/index.js +4 -0
  439. package/dist/esm/LinkList/LinkList.js +31 -0
  440. package/dist/esm/LinkList/index.js +2 -0
  441. package/dist/esm/List/List.js +51 -0
  442. package/dist/esm/List/ListItem.js +39 -0
  443. package/dist/esm/List/index.js +2 -0
  444. package/dist/esm/Logo/Logo.js +51 -0
  445. package/dist/esm/Logo/index.js +2 -0
  446. package/dist/esm/Menu/Heading.js +16 -0
  447. package/dist/esm/Menu/Item.js +77 -0
  448. package/dist/esm/Menu/Menu.js +18 -0
  449. package/dist/esm/Menu/index.js +2 -0
  450. package/dist/esm/Modal/Modal.js +50 -0
  451. package/dist/esm/Modal/index.js +2 -0
  452. package/dist/esm/NumberField/NumberField.js +241 -0
  453. package/dist/esm/NumberField/NumberField.test.js +190 -0
  454. package/dist/esm/NumberField/index.js +2 -0
  455. package/dist/esm/Page/PageActions.js +12 -0
  456. package/dist/esm/Page/PageBody.js +43 -0
  457. package/dist/esm/Page/PageButton.js +13 -0
  458. package/dist/esm/Page/PageDropdown.js +14 -0
  459. package/dist/esm/Page/PageHeader.js +34 -0
  460. package/dist/esm/Page/PageTab.js +11 -0
  461. package/dist/esm/Page/PageTabList.js +14 -0
  462. package/dist/esm/Page/PageTitle.js +14 -0
  463. package/dist/esm/Page/PageToolbar.js +14 -0
  464. package/dist/esm/Page/index.js +10 -0
  465. package/dist/esm/PagerView/PagerView.js +209 -0
  466. package/dist/esm/PagerView/index.js +2 -0
  467. package/dist/esm/Pagination/Pagination.js +131 -0
  468. package/dist/esm/Pagination/index.js +2 -0
  469. package/dist/esm/Popover/Popover.js +197 -0
  470. package/dist/esm/Popover/index.js +2 -0
  471. package/dist/esm/Popover/rewireTabOrder.js +122 -0
  472. package/dist/esm/Popover/utils.js +62 -0
  473. package/dist/esm/Portal/Portal.js +158 -0
  474. package/dist/esm/Portal/index.js +2 -0
  475. package/dist/esm/Progress/Progress.js +35 -0
  476. package/dist/esm/Progress/index.js +2 -0
  477. package/dist/esm/Radio/Radio.js +139 -0
  478. package/dist/esm/Radio/index.js +2 -0
  479. package/dist/esm/RangeSlider/RangeSlider.js +210 -0
  480. package/dist/esm/RangeSlider/index.js +2 -0
  481. package/dist/esm/ScreenReader/ScreenReader.js +28 -0
  482. package/dist/esm/ScreenReader/index.js +2 -0
  483. package/dist/esm/Scrim/Scrim.js +24 -0
  484. package/dist/esm/Scrim/index.js +2 -0
  485. package/dist/esm/Section/Section.js +36 -0
  486. package/dist/esm/Section/index.js +2 -0
  487. package/dist/esm/SegmentedControl/SegmentedControl.js +129 -0
  488. package/dist/esm/SegmentedControl/index.js +2 -0
  489. package/dist/esm/SegmentedTabs/SegmentedTabs.js +137 -0
  490. package/dist/esm/SegmentedTabs/index.js +2 -0
  491. package/dist/esm/Select/Context.js +3 -0
  492. package/dist/esm/Select/Inline.js +41 -0
  493. package/dist/esm/Select/Option.js +88 -0
  494. package/dist/esm/Select/OptionGroup.js +24 -0
  495. package/dist/esm/Select/Select.js +535 -0
  496. package/dist/esm/Select/Value.js +17 -0
  497. package/dist/esm/Select/constants.js +3 -0
  498. package/dist/esm/Select/index.js +12 -0
  499. package/dist/esm/Select/utils.js +106 -0
  500. package/dist/esm/Sidebar/Sidebar.js +39 -0
  501. package/dist/esm/Sidebar/SidebarItem.js +44 -0
  502. package/dist/esm/Sidebar/SidebarList.js +17 -0
  503. package/dist/esm/Sidebar/index.js +2 -0
  504. package/dist/esm/Sortable/SortableEmpty.js +31 -0
  505. package/dist/esm/Sortable/SortableItem.js +43 -0
  506. package/dist/esm/Sortable/SortableList.js +85 -0
  507. package/dist/esm/Sortable/SortableManager.js +19 -0
  508. package/dist/esm/Sortable/constants.js +1 -0
  509. package/dist/esm/Sortable/index.js +47 -0
  510. package/dist/esm/Spinner/Spinner.js +65 -0
  511. package/dist/esm/Spinner/index.js +2 -0
  512. package/dist/esm/StackView/StackView.js +91 -0
  513. package/dist/esm/StackView/index.js +2 -0
  514. package/dist/esm/StepperField/StepperField.js +64 -0
  515. package/dist/esm/StepperField/index.js +2 -0
  516. package/dist/esm/StepperProgress/Context.js +3 -0
  517. package/dist/esm/StepperProgress/Step.js +74 -0
  518. package/dist/esm/StepperProgress/StepperProgress.js +31 -0
  519. package/dist/esm/StepperProgress/index.js +4 -0
  520. package/dist/esm/Summary/Summary.js +29 -0
  521. package/dist/esm/Summary/index.js +2 -0
  522. package/dist/esm/Tab/Tab.js +66 -0
  523. package/dist/esm/Tab/index.js +2 -0
  524. package/dist/esm/Table/AnimateScroll.js +83 -0
  525. package/dist/esm/Table/AvatarCell.js +31 -0
  526. package/dist/esm/Table/Body.js +23 -0
  527. package/dist/esm/Table/BodyCell.js +14 -0
  528. package/dist/esm/Table/BodyInnerCell.js +23 -0
  529. package/dist/esm/Table/BodyRow.js +56 -0
  530. package/dist/esm/Table/CheckboxCell.js +29 -0
  531. package/dist/esm/Table/ColumnPicker.js +61 -0
  532. package/dist/esm/Table/DateCell.js +11 -0
  533. package/dist/esm/Table/DragCell.js +37 -0
  534. package/dist/esm/Table/DragHandle.js +15 -0
  535. package/dist/esm/Table/Header.js +34 -0
  536. package/dist/esm/Table/HeaderCell.js +16 -0
  537. package/dist/esm/Table/HeaderInnerCell.js +20 -0
  538. package/dist/esm/Table/HeaderRow.js +14 -0
  539. package/dist/esm/Table/NavigationArrow.js +66 -0
  540. package/dist/esm/Table/ScrollShadow.js +37 -0
  541. package/dist/esm/Table/SubRowToggleCell.js +36 -0
  542. package/dist/esm/Table/Table.js +679 -0
  543. package/dist/esm/Table/TableBase.js +162 -0
  544. package/dist/esm/Table/TableContainer.js +15 -0
  545. package/dist/esm/Table/TableWrapper.js +12 -0
  546. package/dist/esm/Table/index.js +2 -0
  547. package/dist/esm/Tabs/Tab.js +47 -0
  548. package/dist/esm/Tabs/TabList.js +78 -0
  549. package/dist/esm/Tabs/TabPanel.js +18 -0
  550. package/dist/esm/Tabs/TabPanels.js +35 -0
  551. package/dist/esm/Tabs/Tabs.js +133 -0
  552. package/dist/esm/Tabs/index.js +2 -0
  553. package/dist/esm/Text/Text.js +87 -0
  554. package/dist/esm/Text/index.js +2 -0
  555. package/dist/esm/TextArea/TextArea.js +14 -0
  556. package/dist/esm/TextArea/index.js +2 -0
  557. package/dist/esm/ThemeProvider/ThemeProvider.js +96 -0
  558. package/dist/esm/ThemeProvider/index.js +2 -0
  559. package/dist/esm/ThemeProvider/styles.js +29 -0
  560. package/dist/esm/TileView/TileView.js +54 -0
  561. package/dist/esm/TileView/index.js +2 -0
  562. package/dist/esm/TimeField/TimeField.js +237 -0
  563. package/dist/esm/TimeField/TimeField.test.js +241 -0
  564. package/dist/esm/TimeField/index.js +2 -0
  565. package/dist/esm/TimeField/utils.js +40 -0
  566. package/dist/esm/TokenInput/DefaultToken.js +31 -0
  567. package/dist/esm/TokenInput/TokenInput.js +251 -0
  568. package/dist/esm/TokenInput/default-renders.js +42 -0
  569. package/dist/esm/TokenInput/index.js +2 -0
  570. package/dist/esm/Toolbar/Action.js +17 -0
  571. package/dist/esm/Toolbar/Toolbar.js +98 -0
  572. package/dist/esm/Toolbar/index.js +2 -0
  573. package/dist/esm/Tooltip/Tooltip.js +230 -0
  574. package/dist/esm/Tooltip/index.js +2 -0
  575. package/dist/esm/VariantProvider/VariantProvider.js +18 -0
  576. package/dist/esm/VariantProvider/index.js +1 -0
  577. package/dist/esm/Wizard/Step.js +23 -0
  578. package/dist/esm/Wizard/Wizard.js +226 -0
  579. package/dist/esm/Wizard/WizardContext.js +3 -0
  580. package/dist/esm/Wizard/index.js +2 -0
  581. package/dist/esm/WrapView/WrapView.js +52 -0
  582. package/dist/esm/WrapView/index.js +2 -0
  583. package/dist/esm/hooks/index.js +7 -0
  584. package/dist/esm/hooks/use-accessibility-violation.js +69 -0
  585. package/dist/esm/hooks/use-document-event.js +33 -0
  586. package/dist/esm/hooks/use-focus.js +24 -0
  587. package/dist/esm/hooks/use-hover.js +18 -0
  588. package/dist/esm/hooks/use-id.js +20 -0
  589. package/dist/esm/hooks/use-keyboard-shortcuts.js +29 -0
  590. package/dist/esm/hooks/use-measure.js +113 -0
  591. package/dist/esm/hooks/use-roving-index.js +53 -0
  592. package/dist/esm/icons.js +121 -0
  593. package/dist/esm/index.d.js +78 -0
  594. package/dist/esm/index.js +86 -0
  595. package/dist/esm/server.js +13 -0
  596. package/dist/esm/system/box-sizes.js +54 -0
  597. package/dist/esm/system/button-themes.js +281 -0
  598. package/dist/esm/system/colors/colors.js +97 -0
  599. package/dist/esm/system/colors/index.js +2 -0
  600. package/dist/esm/system/colors/utils.js +183 -0
  601. package/dist/esm/system/css.js +6 -0
  602. package/dist/esm/system/cxs.js +101 -0
  603. package/dist/esm/system/default-theme.js +60 -0
  604. package/dist/esm/system/index.js +17 -0
  605. package/dist/esm/system/parse-styles.js +47 -0
  606. package/dist/esm/system/plugins/border.js +85 -0
  607. package/dist/esm/system/plugins/color.js +38 -0
  608. package/dist/esm/system/plugins/elevation.js +14 -0
  609. package/dist/esm/system/plugins/flex.js +75 -0
  610. package/dist/esm/system/plugins/grid.js +44 -0
  611. package/dist/esm/system/plugins/index.js +13 -0
  612. package/dist/esm/system/plugins/misc.js +25 -0
  613. package/dist/esm/system/plugins/position.js +40 -0
  614. package/dist/esm/system/plugins/size.js +31 -0
  615. package/dist/esm/system/plugins/space.js +103 -0
  616. package/dist/esm/system/plugins/stroke.js +38 -0
  617. package/dist/esm/system/plugins/transform.js +39 -0
  618. package/dist/esm/system/plugins/typography.js +15 -0
  619. package/dist/esm/system/split-styles.js +110 -0
  620. package/dist/esm/system/style-names.js +5 -0
  621. package/dist/esm/system/use-css.js +10 -0
  622. package/dist/esm/system/utils.js +144 -0
  623. package/dist/esm/utils.js +824 -0
  624. package/dist/esm/vendor/react-measure/Measure.js +156 -0
  625. package/dist/esm/vendor/react-measure/Viewport.js +169 -0
  626. package/dist/esm/vendor/react-measure/index.js +2 -0
  627. package/dist/esm/vendor/react-measure/utils.js +68 -0
  628. package/dist/types/ActionsDropdown/ActionsDropdown.d.ts +35 -0
  629. package/dist/types/ActionsDropdown/index.d.ts +2 -0
  630. package/dist/types/Alert/Alert.d.ts +10 -0
  631. package/dist/types/Alert/Alert.test.d.ts +1 -0
  632. package/dist/types/Alert/index.d.ts +2 -0
  633. package/dist/types/Box/Box.d.ts +26 -0
  634. package/dist/types/Box/index.d.ts +2 -0
  635. package/dist/types/Button/Button.d.ts +108 -0
  636. package/dist/types/Button/Button.test.d.ts +1 -0
  637. package/dist/types/Button/Input.d.ts +30 -0
  638. package/dist/types/Button/index.d.ts +2 -0
  639. package/dist/types/Card/Card.d.ts +12 -0
  640. package/dist/types/Card/index.d.ts +2 -0
  641. package/dist/types/ChurchCenterStatus/ChurchCenterStatus.d.ts +45 -0
  642. package/dist/types/ChurchCenterStatus/index.d.ts +2 -0
  643. package/dist/types/Divider/Divider.d.ts +24 -0
  644. package/dist/types/Divider/index.d.ts +2 -0
  645. package/dist/types/Dropdown/Dropdown.test.d.ts +1 -0
  646. package/dist/types/FilterLayout/FilterLayout.d.ts +14 -0
  647. package/dist/types/FilterLayout/index.d.ts +2 -0
  648. package/dist/types/GridView/GridView.d.ts +26 -0
  649. package/dist/types/GridView/index.d.ts +2 -0
  650. package/dist/types/Group/Group.d.ts +20 -0
  651. package/dist/types/Group/index.d.ts +2 -0
  652. package/dist/types/NumberField/NumberField.test.d.ts +1 -0
  653. package/dist/types/Popover/Popover.d.ts +115 -0
  654. package/dist/types/Popover/index.d.ts +2 -0
  655. package/dist/types/Popover/rewireTabOrder.d.ts +2 -0
  656. package/dist/types/Popover/utils.d.ts +49 -0
  657. package/dist/types/Portal/Portal.d.ts +34 -0
  658. package/dist/types/Portal/index.d.ts +2 -0
  659. package/dist/types/Scrim/Scrim.d.ts +3 -0
  660. package/dist/types/Scrim/index.d.ts +2 -0
  661. package/dist/types/Spinner/Spinner.d.ts +24 -0
  662. package/dist/types/Spinner/index.d.ts +2 -0
  663. package/dist/types/StackView/StackView.d.ts +28 -0
  664. package/dist/types/StackView/index.d.ts +2 -0
  665. package/dist/types/Tab/Tab.d.ts +16 -0
  666. package/dist/types/Tab/index.d.ts +2 -0
  667. package/dist/types/Text/Text.d.ts +44 -0
  668. package/dist/types/Text/index.d.ts +2 -0
  669. package/dist/types/ThemeProvider/ThemeProvider.d.ts +24 -0
  670. package/dist/types/ThemeProvider/index.d.ts +2 -0
  671. package/dist/types/ThemeProvider/styles.d.ts +3 -0
  672. package/dist/types/TileView/TileView.d.ts +13 -0
  673. package/dist/types/TileView/index.d.ts +2 -0
  674. package/dist/types/TimeField/TimeField.test.d.ts +1 -0
  675. package/dist/types/WrapView/WrapView.d.ts +9 -0
  676. package/dist/types/WrapView/index.d.ts +2 -0
  677. package/dist/types/hooks/use-accessibility-violation.d.ts +34 -0
  678. package/dist/types/index.d.ts +340 -0
  679. package/dist/types/system/default-theme.d.ts +3 -0
  680. package/dist/types/system/style-names.d.ts +8 -0
  681. package/package.json +122 -0
  682. package/src/ActionsDropdown/ActionsDropdown.mdx +69 -0
  683. package/src/ActionsDropdown/ActionsDropdown.tsx +179 -0
  684. package/src/ActionsDropdown/index.ts +2 -0
  685. package/src/Alert/Alert.mdx +14 -0
  686. package/src/Alert/Alert.test.tsx +9 -0
  687. package/src/Alert/Alert.tsx +36 -0
  688. package/src/Alert/index.ts +2 -0
  689. package/src/Avatar/Avatar.js +53 -0
  690. package/src/Avatar/Avatar.mdx +95 -0
  691. package/src/Avatar/index.js +2 -0
  692. package/src/Badge/Badge.js +155 -0
  693. package/src/Badge/Badge.mdx +60 -0
  694. package/src/Badge/Status.js +101 -0
  695. package/src/Badge/Status.mdx +32 -0
  696. package/src/Badge/index.js +4 -0
  697. package/src/Box/Box.mdx +14 -0
  698. package/src/Box/Box.tsx +56 -0
  699. package/src/Box/index.ts +2 -0
  700. package/src/Button/Button.mdx +130 -0
  701. package/src/Button/Button.test.tsx +33 -0
  702. package/src/Button/Button.tsx +340 -0
  703. package/src/Button/Input.mdx +169 -0
  704. package/src/Button/Input.tsx +192 -0
  705. package/src/Button/index.ts +2 -0
  706. package/src/Calendar/Calendar.js +463 -0
  707. package/src/Calendar/Calendar.mdx +127 -0
  708. package/src/Calendar/Day.js +108 -0
  709. package/src/Calendar/index.js +2 -0
  710. package/src/Calendar/utils.js +115 -0
  711. package/src/Card/Card.mdx +63 -0
  712. package/src/Card/Card.tsx +63 -0
  713. package/src/Card/index.ts +2 -0
  714. package/src/Checkbox/Checkbox.js +258 -0
  715. package/src/Checkbox/Checkbox.mdx +40 -0
  716. package/src/Checkbox/index.js +2 -0
  717. package/src/CheckboxCard/CheckboxCard.js +52 -0
  718. package/src/CheckboxCard/CheckboxCard.mdx +27 -0
  719. package/src/CheckboxCard/index.js +2 -0
  720. package/src/CheckboxGroup/CheckboxGroup.js +56 -0
  721. package/src/CheckboxGroup/CheckboxGroup.mdx +27 -0
  722. package/src/CheckboxGroup/CheckboxGroupContext.js +3 -0
  723. package/src/CheckboxGroup/index.js +2 -0
  724. package/src/ChurchCenterStatus/ChurchCenterStatus.mdx +105 -0
  725. package/src/ChurchCenterStatus/ChurchCenterStatus.tsx +168 -0
  726. package/src/ChurchCenterStatus/index.tsx +2 -0
  727. package/src/Collapse/Collapse.js +118 -0
  728. package/src/Collapse/Collapse.mdx +26 -0
  729. package/src/Collapse/index.js +2 -0
  730. package/src/ColumnView/ColumnView.js +61 -0
  731. package/src/ColumnView/ColumnView.mdx +39 -0
  732. package/src/ColumnView/index.js +2 -0
  733. package/src/Combobox/Combobox.js +39 -0
  734. package/src/Combobox/Combobox.mdx +177 -0
  735. package/src/Combobox/Combobox.test.js +90 -0
  736. package/src/Combobox/ComboboxInput.js +136 -0
  737. package/src/Combobox/ComboboxItem.js +33 -0
  738. package/src/Combobox/ComboboxItems.js +121 -0
  739. package/src/Combobox/ComboboxPopover.js +232 -0
  740. package/src/Combobox/index.js +2 -0
  741. package/src/DataTable/DataTable.js +523 -0
  742. package/src/DataTable/DataTable.mdx +513 -0
  743. package/src/DataTable/DataTable.test.js +95 -0
  744. package/src/DataTable/components/BodyRow.js +37 -0
  745. package/src/DataTable/components/BodyRows.js +122 -0
  746. package/src/DataTable/components/BodySubRows.js +99 -0
  747. package/src/DataTable/components/CheckboxCell.js +111 -0
  748. package/src/DataTable/components/ColumnPicker.js +51 -0
  749. package/src/DataTable/components/HeaderCell.js +83 -0
  750. package/src/DataTable/components/Icon.js +51 -0
  751. package/src/DataTable/components/index.js +4 -0
  752. package/src/DataTable/hooks/index.js +6 -0
  753. package/src/DataTable/hooks/useCollapsibleRows.js +97 -0
  754. package/src/DataTable/hooks/useColumnSort.js +62 -0
  755. package/src/DataTable/hooks/useColumnWidths.js +86 -0
  756. package/src/DataTable/hooks/useHoverFocus.js +16 -0
  757. package/src/DataTable/hooks/useRefManager.js +21 -0
  758. package/src/DataTable/hooks/useScrollShadows.js +82 -0
  759. package/src/DataTable/hooks/useScrollSync.js +55 -0
  760. package/src/DataTable/hooks/useVariants.js +13 -0
  761. package/src/DataTable/index.js +15 -0
  762. package/src/DataTable/utils/getCell.js +9 -0
  763. package/src/DataTable/utils/getParsedColumns.js +142 -0
  764. package/src/DataTable/utils/getRowLinkProps.js +5 -0
  765. package/src/DataTable/utils/index.js +4 -0
  766. package/src/DataTable/utils/variants.js +146 -0
  767. package/src/DateField/DateField.js +172 -0
  768. package/src/DateField/DateField.mdx +17 -0
  769. package/src/DateField/index.js +2 -0
  770. package/src/Divider/Divider.mdx +42 -0
  771. package/src/Divider/Divider.tsx +51 -0
  772. package/src/Divider/index.ts +2 -0
  773. package/src/DragDrop/DragDrop.js +211 -0
  774. package/src/DragDrop/DragDrop.mdx +204 -0
  775. package/src/DragDrop/index.js +2 -0
  776. package/src/Drawer/Drawer.js +93 -0
  777. package/src/Drawer/Drawer.mdx +49 -0
  778. package/src/Drawer/index.js +2 -0
  779. package/src/Dropdown/Dropdown.js +262 -0
  780. package/src/Dropdown/Dropdown.mdx +201 -0
  781. package/src/Dropdown/Dropdown.test.tsx +22 -0
  782. package/src/Dropdown/Item.js +39 -0
  783. package/src/Dropdown/Link.js +43 -0
  784. package/src/Dropdown/index.js +2 -0
  785. package/src/EditActions/EditActions.js +61 -0
  786. package/src/EditActions/EditActions.mdx +143 -0
  787. package/src/EditActions/index.js +2 -0
  788. package/src/Field/Field.js +141 -0
  789. package/src/Field/Field.mdx +37 -0
  790. package/src/Field/index.js +2 -0
  791. package/src/FieldSet/FieldSet.js +57 -0
  792. package/src/FieldSet/FieldSet.mdx +24 -0
  793. package/src/FieldSet/index.js +2 -0
  794. package/src/FilterLayout/FilterLayout.mdx +33 -0
  795. package/src/FilterLayout/FilterLayout.tsx +93 -0
  796. package/src/FilterLayout/index.ts +2 -0
  797. package/src/FocusGroup/FocusGroup.js +93 -0
  798. package/src/FocusGroup/index.js +2 -0
  799. package/src/Form/Form.js +189 -0
  800. package/src/Form/Form.mdx +152 -0
  801. package/src/Form/index.js +2 -0
  802. package/src/GridView/GridView.mdx +55 -0
  803. package/src/GridView/GridView.tsx +131 -0
  804. package/src/GridView/index.ts +2 -0
  805. package/src/Group/Group.mdx +78 -0
  806. package/src/Group/Group.tsx +52 -0
  807. package/src/Group/index.ts +2 -0
  808. package/src/Heading/Heading.js +27 -0
  809. package/src/Heading/Heading.mdx +17 -0
  810. package/src/Heading/index.js +2 -0
  811. package/src/HeadingUppercase/HeadingUppercase.js +26 -0
  812. package/src/HeadingUppercase/HeadingUppercase.mdx +8 -0
  813. package/src/HeadingUppercase/index.js +2 -0
  814. package/src/HelperDrawer/HelperDrawer.js +57 -0
  815. package/src/HelperDrawer/HelperDrawer.mdx +18 -0
  816. package/src/HelperDrawer/index.js +2 -0
  817. package/src/Highlight/Highlight.js +63 -0
  818. package/src/Highlight/Highlight.mdx +14 -0
  819. package/src/Highlight/index.js +2 -0
  820. package/src/Highlight/utils.js +51 -0
  821. package/src/Icon/Icon.js +58 -0
  822. package/src/Icon/Icon.mdx +78 -0
  823. package/src/Icon/Path.js +20 -0
  824. package/src/Icon/Status.js +41 -0
  825. package/src/Icon/index.js +6 -0
  826. package/src/Input/Inline.js +53 -0
  827. package/src/Input/Inline.mdx +43 -0
  828. package/src/Input/Input.js +97 -0
  829. package/src/Input/Input.mdx +33 -0
  830. package/src/Input/InputBox.js +407 -0
  831. package/src/Input/InputBox.mdx +14 -0
  832. package/src/Input/InputContext.js +3 -0
  833. package/src/Input/InputField.js +308 -0
  834. package/src/Input/InputField.mdx +9 -0
  835. package/src/Input/InputLabel.js +65 -0
  836. package/src/Input/InputLabel.mdx +18 -0
  837. package/src/Input/index.js +10 -0
  838. package/src/Input/utils.js +10 -0
  839. package/src/ItemList/ItemList.js +238 -0
  840. package/src/ItemList/ItemListContext.js +3 -0
  841. package/src/ItemList/ItemListController.js +34 -0
  842. package/src/ItemList/ItemListItem.js +88 -0
  843. package/src/ItemList/index.js +5 -0
  844. package/src/ItemList/utils.js +58 -0
  845. package/src/Link/Inline.js +32 -0
  846. package/src/Link/Link.js +73 -0
  847. package/src/Link/Link.mdx +31 -0
  848. package/src/Link/index.js +4 -0
  849. package/src/LinkList/LinkList.js +25 -0
  850. package/src/LinkList/LinkList.mdx +29 -0
  851. package/src/LinkList/index.js +2 -0
  852. package/src/List/List.js +51 -0
  853. package/src/List/List.mdx +41 -0
  854. package/src/List/ListItem.js +41 -0
  855. package/src/List/index.js +2 -0
  856. package/src/Logo/Logo.js +112 -0
  857. package/src/Logo/Logo.mdx +18 -0
  858. package/src/Logo/index.js +2 -0
  859. package/src/Menu/Heading.js +13 -0
  860. package/src/Menu/Item.js +99 -0
  861. package/src/Menu/Menu.js +23 -0
  862. package/src/Menu/Menu.mdx +40 -0
  863. package/src/Menu/index.js +2 -0
  864. package/src/Modal/Modal.js +77 -0
  865. package/src/Modal/Modal.mdx +58 -0
  866. package/src/Modal/index.js +2 -0
  867. package/src/NumberField/NumberField.js +255 -0
  868. package/src/NumberField/NumberField.mdx +62 -0
  869. package/src/NumberField/NumberField.test.tsx +137 -0
  870. package/src/NumberField/index.js +2 -0
  871. package/src/Page/Page.mdx +109 -0
  872. package/src/Page/PageActions.js +9 -0
  873. package/src/Page/PageBody.js +44 -0
  874. package/src/Page/PageButton.js +11 -0
  875. package/src/Page/PageDropdown.js +11 -0
  876. package/src/Page/PageHeader.js +43 -0
  877. package/src/Page/PageTab.js +9 -0
  878. package/src/Page/PageTabList.js +13 -0
  879. package/src/Page/PageTitle.js +11 -0
  880. package/src/Page/PageToolbar.js +18 -0
  881. package/src/Page/index.js +21 -0
  882. package/src/PagerView/PagerView.js +222 -0
  883. package/src/PagerView/PagerView.mdx +199 -0
  884. package/src/PagerView/index.js +2 -0
  885. package/src/Pagination/Pagination.js +145 -0
  886. package/src/Pagination/Pagination.mdx +18 -0
  887. package/src/Pagination/index.js +2 -0
  888. package/src/Popover/Popover.mdx +65 -0
  889. package/src/Popover/Popover.tsx +262 -0
  890. package/src/Popover/index.ts +2 -0
  891. package/src/Popover/rewireTabOrder.ts +124 -0
  892. package/src/Popover/utils.ts +62 -0
  893. package/src/Portal/Portal.tsx +142 -0
  894. package/src/Portal/index.ts +2 -0
  895. package/src/Progress/Progress.js +45 -0
  896. package/src/Progress/Progress.mdx +21 -0
  897. package/src/Progress/index.js +2 -0
  898. package/src/Radio/Radio.js +186 -0
  899. package/src/Radio/Radio.mdx +37 -0
  900. package/src/Radio/index.js +2 -0
  901. package/src/RangeSlider/RangeSlider.js +244 -0
  902. package/src/RangeSlider/RangeSlider.mdx +54 -0
  903. package/src/RangeSlider/index.js +2 -0
  904. package/src/ScreenReader/ScreenReader.js +31 -0
  905. package/src/ScreenReader/ScreenReader.mdx +14 -0
  906. package/src/ScreenReader/index.js +2 -0
  907. package/src/Scrim/Scrim.mdx +30 -0
  908. package/src/Scrim/Scrim.tsx +29 -0
  909. package/src/Scrim/index.ts +2 -0
  910. package/src/Section/Section.js +43 -0
  911. package/src/Section/Section.mdx +101 -0
  912. package/src/Section/index.js +2 -0
  913. package/src/SegmentedControl/SegmentedControl.js +123 -0
  914. package/src/SegmentedControl/SegmentedControl.mdx +70 -0
  915. package/src/SegmentedControl/index.js +2 -0
  916. package/src/SegmentedTabs/SegmentedTabs.js +126 -0
  917. package/src/SegmentedTabs/SegmentedTabs.mdx +72 -0
  918. package/src/SegmentedTabs/index.js +2 -0
  919. package/src/Select/Context.js +3 -0
  920. package/src/Select/Inline.js +32 -0
  921. package/src/Select/Option.js +84 -0
  922. package/src/Select/OptionGroup.js +13 -0
  923. package/src/Select/Select.js +554 -0
  924. package/src/Select/Select.mdx +177 -0
  925. package/src/Select/Value.js +20 -0
  926. package/src/Select/constants.js +3 -0
  927. package/src/Select/index.js +12 -0
  928. package/src/Select/utils.js +108 -0
  929. package/src/Sidebar/Sidebar.js +42 -0
  930. package/src/Sidebar/Sidebar.mdx +28 -0
  931. package/src/Sidebar/SidebarItem.js +34 -0
  932. package/src/Sidebar/SidebarList.js +20 -0
  933. package/src/Sidebar/index.js +2 -0
  934. package/src/Sortable/Sortable.mdx +100 -0
  935. package/src/Sortable/SortableEmpty.js +39 -0
  936. package/src/Sortable/SortableItem.js +57 -0
  937. package/src/Sortable/SortableList.js +115 -0
  938. package/src/Sortable/SortableManager.js +20 -0
  939. package/src/Sortable/constants.js +1 -0
  940. package/src/Sortable/index.js +32 -0
  941. package/src/Spinner/Spinner.mdx +48 -0
  942. package/src/Spinner/Spinner.tsx +100 -0
  943. package/src/Spinner/index.tsx +2 -0
  944. package/src/StackView/StackView.mdx +139 -0
  945. package/src/StackView/StackView.tsx +109 -0
  946. package/src/StackView/index.ts +2 -0
  947. package/src/StepperField/StepperField.js +48 -0
  948. package/src/StepperField/StepperField.mdx +20 -0
  949. package/src/StepperField/index.js +2 -0
  950. package/src/StepperProgress/Context.js +3 -0
  951. package/src/StepperProgress/Step.js +84 -0
  952. package/src/StepperProgress/StepperProgress.js +46 -0
  953. package/src/StepperProgress/StepperProgress.mdx +59 -0
  954. package/src/StepperProgress/index.js +4 -0
  955. package/src/Summary/Summary.js +42 -0
  956. package/src/Summary/Summary.mdx +25 -0
  957. package/src/Summary/index.js +2 -0
  958. package/src/Tab/Tab.mdx +21 -0
  959. package/src/Tab/Tab.tsx +80 -0
  960. package/src/Tab/index.ts +2 -0
  961. package/src/Table/AnimateScroll.js +58 -0
  962. package/src/Table/AvatarCell.js +28 -0
  963. package/src/Table/Body.js +24 -0
  964. package/src/Table/BodyCell.js +15 -0
  965. package/src/Table/BodyInnerCell.js +26 -0
  966. package/src/Table/BodyRow.js +55 -0
  967. package/src/Table/CheckboxCell.js +25 -0
  968. package/src/Table/ColumnPicker.js +51 -0
  969. package/src/Table/DateCell.js +12 -0
  970. package/src/Table/DragCell.js +29 -0
  971. package/src/Table/DragHandle.js +9 -0
  972. package/src/Table/Header.js +26 -0
  973. package/src/Table/HeaderCell.js +17 -0
  974. package/src/Table/HeaderInnerCell.js +18 -0
  975. package/src/Table/HeaderRow.js +15 -0
  976. package/src/Table/NavigationArrow.js +75 -0
  977. package/src/Table/ScrollShadow.js +33 -0
  978. package/src/Table/SubRowToggleCell.js +38 -0
  979. package/src/Table/Table.js +971 -0
  980. package/src/Table/Table.mdx +281 -0
  981. package/src/Table/TableBase.js +166 -0
  982. package/src/Table/TableContainer.js +16 -0
  983. package/src/Table/TableWrapper.js +7 -0
  984. package/src/Table/index.js +2 -0
  985. package/src/Tabs/Tab.js +48 -0
  986. package/src/Tabs/TabList.js +73 -0
  987. package/src/Tabs/TabPanel.js +21 -0
  988. package/src/Tabs/TabPanels.js +26 -0
  989. package/src/Tabs/Tabs.js +128 -0
  990. package/src/Tabs/Tabs.mdx +49 -0
  991. package/src/Tabs/index.js +2 -0
  992. package/src/Text/Text.mdx +18 -0
  993. package/src/Text/Text.tsx +124 -0
  994. package/src/Text/index.ts +2 -0
  995. package/src/TextArea/TextArea.js +17 -0
  996. package/src/TextArea/TextArea.mdx +12 -0
  997. package/src/TextArea/index.js +2 -0
  998. package/src/ThemeProvider/ThemeProvider.tsx +99 -0
  999. package/src/ThemeProvider/index.ts +2 -0
  1000. package/src/ThemeProvider/styles.ts +64 -0
  1001. package/src/TileView/TileView.mdx +55 -0
  1002. package/src/TileView/TileView.tsx +58 -0
  1003. package/src/TileView/index.ts +2 -0
  1004. package/src/TimeField/TimeField.js +245 -0
  1005. package/src/TimeField/TimeField.mdx +94 -0
  1006. package/src/TimeField/TimeField.test.tsx +161 -0
  1007. package/src/TimeField/index.js +2 -0
  1008. package/src/TimeField/utils.js +44 -0
  1009. package/src/TokenInput/DefaultToken.js +36 -0
  1010. package/src/TokenInput/TokenInput.js +251 -0
  1011. package/src/TokenInput/TokenInput.mdx +102 -0
  1012. package/src/TokenInput/default-renders.js +47 -0
  1013. package/src/TokenInput/index.js +2 -0
  1014. package/src/Toolbar/Action.js +16 -0
  1015. package/src/Toolbar/Toolbar.js +139 -0
  1016. package/src/Toolbar/Toolbar.mdx +46 -0
  1017. package/src/Toolbar/index.js +2 -0
  1018. package/src/Tooltip/Tooltip.js +247 -0
  1019. package/src/Tooltip/Tooltip.mdx +77 -0
  1020. package/src/Tooltip/index.js +2 -0
  1021. package/src/VariantProvider/VariantProvider.js +15 -0
  1022. package/src/VariantProvider/index.js +1 -0
  1023. package/src/Wizard/Step.js +11 -0
  1024. package/src/Wizard/Wizard.js +253 -0
  1025. package/src/Wizard/Wizard.mdx +99 -0
  1026. package/src/Wizard/WizardContext.js +3 -0
  1027. package/src/Wizard/index.js +2 -0
  1028. package/src/WrapView/WrapView.mdx +72 -0
  1029. package/src/WrapView/WrapView.tsx +55 -0
  1030. package/src/WrapView/index.ts +2 -0
  1031. package/src/hooks/__tests__/use-roving-index.js +58 -0
  1032. package/src/hooks/index.js +7 -0
  1033. package/src/hooks/use-accessibility-violation.tsx +61 -0
  1034. package/src/hooks/use-document-event.js +34 -0
  1035. package/src/hooks/use-focus.js +17 -0
  1036. package/src/hooks/use-hover.js +12 -0
  1037. package/src/hooks/use-id.js +19 -0
  1038. package/src/hooks/use-keyboard-shortcuts.js +26 -0
  1039. package/src/hooks/use-measure.js +120 -0
  1040. package/src/hooks/use-roving-index.js +59 -0
  1041. package/src/icons.js +121 -0
  1042. package/src/index.d.ts +340 -0
  1043. package/src/index.js +94 -0
  1044. package/src/server.js +16 -0
  1045. package/src/system/README.md +120 -0
  1046. package/src/system/box-sizes.js +51 -0
  1047. package/src/system/button-themes.js +173 -0
  1048. package/src/system/colors/colors.js +195 -0
  1049. package/src/system/colors/index.js +8 -0
  1050. package/src/system/colors/utils.js +190 -0
  1051. package/src/system/css.js +3 -0
  1052. package/src/system/cxs.js +82 -0
  1053. package/src/system/cxs.test.js +126 -0
  1054. package/src/system/default-theme.ts +44 -0
  1055. package/src/system/index.js +36 -0
  1056. package/src/system/parse-styles.js +49 -0
  1057. package/src/system/plugins/border.js +100 -0
  1058. package/src/system/plugins/color.js +57 -0
  1059. package/src/system/plugins/elevation.js +8 -0
  1060. package/src/system/plugins/flex.js +88 -0
  1061. package/src/system/plugins/grid.js +41 -0
  1062. package/src/system/plugins/index.js +27 -0
  1063. package/src/system/plugins/misc.js +21 -0
  1064. package/src/system/plugins/position.js +49 -0
  1065. package/src/system/plugins/size.js +37 -0
  1066. package/src/system/plugins/space.js +133 -0
  1067. package/src/system/plugins/stroke.js +48 -0
  1068. package/src/system/plugins/transform.js +27 -0
  1069. package/src/system/plugins/typography.js +12 -0
  1070. package/src/system/split-styles.js +107 -0
  1071. package/src/system/style-names.ts +277 -0
  1072. package/src/system/use-css.js +12 -0
  1073. package/src/system/utils.js +138 -0
  1074. package/src/utils.js +808 -0
  1075. package/src/vendor/react-measure/Measure.js +115 -0
  1076. package/src/vendor/react-measure/Viewport.js +154 -0
  1077. package/src/vendor/react-measure/index.js +2 -0
  1078. package/src/vendor/react-measure/utils.js +89 -0
@@ -0,0 +1,156 @@
1
+ import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized";
2
+ import _inheritsLoose from "@babel/runtime/helpers/esm/inheritsLoose";
3
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
4
+
5
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
6
+
7
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
8
+
9
+ import { Component } from 'react';
10
+ import ResizeObserver from 'resize-observer-polyfill';
11
+ import { defaultFormula } from './utils'; // TODO: look into measureText function that uses canvas measurer to collect widths faster, should be able to accept an array
12
+ // possibly have const { measureRef, measureText } = measure(id), measureText(txt) | measureText([txt,txt,txt])
13
+
14
+ var Measure = /*#__PURE__*/function (_Component) {
15
+ _inheritsLoose(Measure, _Component);
16
+
17
+ function Measure() {
18
+ var _this;
19
+
20
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
21
+ args[_key] = arguments[_key];
22
+ }
23
+
24
+ _this = _Component.call.apply(_Component, [this].concat(args)) || this;
25
+
26
+ _defineProperty(_assertThisInitialized(_this), "firstResizeEvent", true);
27
+
28
+ _defineProperty(_assertThisInitialized(_this), "storingMeasurements", false);
29
+
30
+ _defineProperty(_assertThisInitialized(_this), "nodes", {});
31
+
32
+ _defineProperty(_assertThisInitialized(_this), "formulas", {});
33
+
34
+ _defineProperty(_assertThisInitialized(_this), "refsById", {});
35
+
36
+ _defineProperty(_assertThisInitialized(_this), "measurements", null);
37
+
38
+ _defineProperty(_assertThisInitialized(_this), "measureRef", function (id, _temp) {
39
+ var _ref = _temp === void 0 ? {} : _temp,
40
+ _ref$formula = _ref.formula,
41
+ formula = _ref$formula === void 0 ? defaultFormula : _ref$formula,
42
+ innerRef = _ref.innerRef;
43
+
44
+ if (!_this.refsById[id]) {
45
+ _this.refsById[id] = function (node) {
46
+ var previousStoredNode = _this.nodes[id];
47
+
48
+ if (node) {
49
+ // store id on node so we can retrieve formula and store new
50
+ // measurements in ResizeObserver callback
51
+ node.__measureId = id;
52
+ _this.nodes[id] = node;
53
+ _this.formulas[id] = formula;
54
+
55
+ _this.resizeObserver.observe(node);
56
+ } else if (previousStoredNode) {
57
+ _this.resizeObserver.unobserve(previousStoredNode);
58
+
59
+ delete _this.formulas[id];
60
+ delete _this.nodes[id];
61
+ delete _this.measurements[id];
62
+ } // allow other libraries to interop with node
63
+
64
+
65
+ if (innerRef) {
66
+ innerRef(node);
67
+ }
68
+ };
69
+ }
70
+
71
+ return _this.refsById[id];
72
+ });
73
+
74
+ _defineProperty(_assertThisInitialized(_this), "getMeasurements", function () {
75
+ return Object.keys(_this.nodes).reduce(function (measurements, key) {
76
+ var _objectSpread2;
77
+
78
+ var node = _this.nodes[key];
79
+ var formula = _this.formulas[key];
80
+ return _objectSpread(_objectSpread({}, measurements), {}, (_objectSpread2 = {}, _objectSpread2[key] = formula(node), _objectSpread2));
81
+ }, {});
82
+ });
83
+
84
+ _defineProperty(_assertThisInitialized(_this), "resizeObserver", new ResizeObserver(function (entries) {
85
+ if (_this.firstResizeEvent) {
86
+ _this.firstResizeEvent = false;
87
+ } else {
88
+ var measurements = _objectSpread({}, _this.measurements);
89
+
90
+ entries.forEach(function (entry) {
91
+ var id = entry.target.__measureId;
92
+ var node = _this.nodes[id];
93
+ var formula = _this.formulas[id];
94
+
95
+ if (formula) {
96
+ measurements[id] = formula(node);
97
+ }
98
+ });
99
+ _this.measurements = measurements;
100
+
101
+ if (_this.props.updateOnMeasure) {
102
+ _this.forceUpdate();
103
+ }
104
+
105
+ if (_this.props.onMeasure) {
106
+ _this.props.onMeasure(measurements, _this.nodes);
107
+ }
108
+ }
109
+ }));
110
+
111
+ return _this;
112
+ }
113
+
114
+ var _proto = Measure.prototype;
115
+
116
+ _proto.componentDidMount = function componentDidMount() {
117
+ if (this.props.updateOnMeasure || this.props.onMeasure) {
118
+ this.updateMeasurements();
119
+ }
120
+ };
121
+
122
+ _proto.componentWillUnmount = function componentWillUnmount() {
123
+ if (this.resizeObserver) {
124
+ this.resizeObserver.disconnect();
125
+ }
126
+ };
127
+
128
+ _proto.updateMeasurements = function updateMeasurements() {
129
+ var measurements = this.getMeasurements();
130
+ this.measurements = measurements;
131
+
132
+ if (this.props.updateOnMeasure) {
133
+ this.forceUpdate();
134
+ }
135
+
136
+ if (this.props.onMeasure) {
137
+ this.props.onMeasure(measurements, this.nodes);
138
+ }
139
+ };
140
+
141
+ _proto.render = function render() {
142
+ return this.props.children({
143
+ measureRef: this.measureRef,
144
+ measurements: this.measurements,
145
+ getMeasurements: this.getMeasurements
146
+ });
147
+ };
148
+
149
+ return Measure;
150
+ }(Component);
151
+
152
+ _defineProperty(Measure, "defaultProps", {
153
+ updateOnMeasure: true
154
+ });
155
+
156
+ export default Measure;
@@ -0,0 +1,169 @@
1
+ import _assertThisInitialized from "@babel/runtime/helpers/esm/assertThisInitialized";
2
+ import _inheritsLoose from "@babel/runtime/helpers/esm/inheritsLoose";
3
+ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
4
+
5
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
6
+
7
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
8
+
9
+ import { Component } from 'react';
10
+ import ResizeObserver from 'resize-observer-polyfill';
11
+ import { getClosestScrollElement, getScrollDirection, getWindowSize, getElementSize } from './utils';
12
+
13
+ // TODO: delegate Viewport measuring to a store when multiple components measure window
14
+ var Viewport = /*#__PURE__*/function (_Component) {
15
+ _inheritsLoose(Viewport, _Component);
16
+
17
+ function Viewport() {
18
+ var _this;
19
+
20
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
21
+ args[_key] = arguments[_key];
22
+ }
23
+
24
+ _this = _Component.call.apply(_Component, [this].concat(args)) || this;
25
+
26
+ _defineProperty(_assertThisInitialized(_this), "firstResizeEvent", true);
27
+
28
+ _defineProperty(_assertThisInitialized(_this), "state", {
29
+ width: 0,
30
+ height: 0,
31
+ scrollWidth: 0,
32
+ scrollHeight: 0,
33
+ scrollX: 0,
34
+ scrollY: 0,
35
+ scrollXDirection: null,
36
+ scrollYDirection: null
37
+ });
38
+
39
+ _defineProperty(_assertThisInitialized(_this), "getScroll", function () {
40
+ var scrollX = _this.isWindow ? window.pageXOffset : _this.scrollElement.scrollLeft;
41
+ var scrollY = _this.isWindow ? window.pageYOffset : _this.scrollElement.scrollTop;
42
+ var scrollState = {
43
+ scrollX: scrollX,
44
+ scrollY: scrollY,
45
+ scrollXDirection: getScrollDirection('x', _this.lastScrollX, scrollX),
46
+ scrollYDirection: getScrollDirection('y', _this.lastScrollY, scrollY)
47
+ };
48
+ return scrollState;
49
+ });
50
+
51
+ _defineProperty(_assertThisInitialized(_this), "updateScroll", function () {
52
+ var scrollState = _this.getScroll();
53
+
54
+ if (_this.lastScrollX !== scrollState.scrollX || _this.lastScrollY !== scrollState.scrollY) {
55
+ if (_this.props.updateOnScroll) {
56
+ _this.setState(scrollState);
57
+ }
58
+
59
+ if (_this.props.onScroll) {
60
+ _this.props.onScroll(scrollState);
61
+ }
62
+ }
63
+
64
+ _this.lastScrollX = scrollState.scrollX;
65
+ _this.lastScrollY = scrollState.scrollY;
66
+ });
67
+
68
+ _defineProperty(_assertThisInitialized(_this), "getSize", function () {
69
+ return _this.isWindow ? getWindowSize() : getElementSize(_this.scrollElement);
70
+ });
71
+
72
+ _defineProperty(_assertThisInitialized(_this), "updateSize", function () {
73
+ var sizeState = _this.getSize();
74
+
75
+ if (_this.props.updateOnResize) {
76
+ _this.setState(sizeState);
77
+ }
78
+
79
+ if (_this.props.onResize) {
80
+ _this.props.onResize(sizeState);
81
+ }
82
+ });
83
+
84
+ _defineProperty(_assertThisInitialized(_this), "setRef", function (innerRef) {
85
+ if (typeof innerRef === 'function') {
86
+ return function (node) {
87
+ if (!_this.node) {
88
+ _this.node = node;
89
+ }
90
+
91
+ innerRef(node);
92
+ };
93
+ } else {
94
+ if (!_this.node) {
95
+ _this.node = innerRef;
96
+ }
97
+ }
98
+ });
99
+
100
+ return _this;
101
+ }
102
+
103
+ var _proto = Viewport.prototype;
104
+
105
+ _proto.componentDidMount = function componentDidMount() {
106
+ var _this2 = this;
107
+
108
+ this.scrollElement = getClosestScrollElement(this.node);
109
+ this.isWindow = this.scrollElement === window;
110
+
111
+ if (this.props.updateOnScroll || this.props.onScroll) {
112
+ this.scrollElement.addEventListener('scroll', this.updateScroll, {
113
+ passive: true
114
+ });
115
+ }
116
+
117
+ this.updateScroll();
118
+
119
+ if (this.props.updateOnResize || this.props.onResize) {
120
+ if (this.isWindow) {
121
+ window.addEventListener('resize', this.updateSize);
122
+ } else {
123
+ this.resizeObserver = new ResizeObserver(function () {
124
+ if (_this2.firstResizeEvent) {
125
+ _this2.firstResizeEvent = false;
126
+ } else {
127
+ _this2.updateSize();
128
+ }
129
+ });
130
+ this.resizeObserver.observe(this.scrollElement);
131
+ }
132
+ }
133
+
134
+ this.updateSize();
135
+ };
136
+
137
+ _proto.componentWillUnmount = function componentWillUnmount() {
138
+ if (this.props.updateOnScroll || this.props.onScroll) {
139
+ this.scrollElement.removeEventListener('scroll', this.updateScroll, {
140
+ passive: true
141
+ });
142
+ }
143
+
144
+ if (this.props.updateOnResize || this.props.onResize) {
145
+ if (this.isWindow) {
146
+ window.removeEventListener('resize', this.updateSize);
147
+ } else {
148
+ this.resizeObserver.disconnect();
149
+ }
150
+ }
151
+ };
152
+
153
+ _proto.render = function render() {
154
+ return this.props.children(_objectSpread({
155
+ ref: this.setRef,
156
+ getScroll: this.getScroll,
157
+ getSize: this.getSize
158
+ }, this.state));
159
+ };
160
+
161
+ return Viewport;
162
+ }(Component);
163
+
164
+ _defineProperty(Viewport, "defaultProps", {
165
+ updateOnScroll: true,
166
+ updateOnResize: true
167
+ });
168
+
169
+ export default Viewport;
@@ -0,0 +1,2 @@
1
+ export { default as Measure } from './Measure';
2
+ export { default as Viewport } from './Viewport';
@@ -0,0 +1,68 @@
1
+ export function isScrollElement(element) {
2
+ try {
3
+ var _window$getComputedSt = window.getComputedStyle(element),
4
+ overflow = _window$getComputedSt.overflow,
5
+ overflowX = _window$getComputedSt.overflowX,
6
+ overflowY = _window$getComputedSt.overflowY;
7
+
8
+ return /(auto|scroll)/.test(overflow + overflowX + overflowY);
9
+ } catch (e) {
10
+ return false;
11
+ }
12
+ }
13
+ export function getParentNode(element) {
14
+ if (element.nodeName === 'HTML') {
15
+ return element;
16
+ }
17
+
18
+ return element.parentNode || element.host;
19
+ }
20
+ export function getClosestScrollElement(element) {
21
+ if (!element || element === document.body) {
22
+ return window;
23
+ } else if (isScrollElement(element)) {
24
+ return element;
25
+ } else {
26
+ return getClosestScrollElement(getParentNode(element));
27
+ }
28
+ }
29
+ export function getScrollDirection(axis, last, next) {
30
+ if (next === last) {
31
+ return null;
32
+ } else {
33
+ return next - last > 0 ? axis === 'x' ? 'right' : 'down' : axis === 'x' ? 'left' : 'up';
34
+ }
35
+ }
36
+ export function getDocumentWidth() {
37
+ return Math.max(document.body.scrollWidth, document.body.offsetWidth, document.documentElement.clientWidth, document.documentElement.scrollWidth, document.documentElement.offsetWidth);
38
+ }
39
+ export function getDocumentHeight() {
40
+ return Math.max(document.body.scrollHeight, document.body.offsetHeight, document.documentElement.clientHeight, document.documentElement.scrollHeight, document.documentElement.offsetHeight);
41
+ }
42
+ export function getWindowSize() {
43
+ return {
44
+ width: window.innerWidth,
45
+ height: window.innerHeight,
46
+ scrollWidth: getDocumentWidth(),
47
+ scrollHeight: getDocumentHeight()
48
+ };
49
+ }
50
+ export function getElementSize(node) {
51
+ return {
52
+ width: node.offsetWidth,
53
+ height: node.offsetHeight,
54
+ scrollWidth: node.scrollWidth,
55
+ scrollHeight: node.scrollHeight
56
+ };
57
+ }
58
+ export function defaultFormula(node) {
59
+ var rect = node.getBoundingClientRect();
60
+ return {
61
+ width: rect.width,
62
+ height: rect.height,
63
+ top: rect.top,
64
+ right: rect.right,
65
+ bottom: rect.bottom,
66
+ left: rect.left
67
+ };
68
+ }
@@ -0,0 +1,35 @@
1
+ import * as React from 'react';
2
+ declare type ActionsDropdownProps = {
3
+ /** Accepts [Dropdown.Item](/dropdown) and [Dropdown.Link](/dropdown) elements. */
4
+ children?: React.ReactNode;
5
+ /** Props for default button state. */
6
+ defaultButtonProps?: object;
7
+ /** Provide amount of duplicates as well as a link to resolve them. */
8
+ duplicates?: {
9
+ /** Amount of duplicates. */
10
+ amount: number;
11
+ /** [Link](/link) props. */
12
+ linkProps: object;
13
+ };
14
+ /** Props for duplicates button state. Activated when `duplicates.amount` is greater than 0. */
15
+ duplicatesButtonProps?: object;
16
+ /** Provide date and reason user became inactive as well as a link to reactivate them. */
17
+ inactive?: {
18
+ /** Valid JavaScript Date. */
19
+ date?: Date;
20
+ /** Reason user was inactivated. */
21
+ reason: string;
22
+ /** [Link](/link) props. */
23
+ linkProps: object;
24
+ };
25
+ /** Props for inactive button state. Activated when `inactive.date` is present. */
26
+ inactiveButtonProps?: object;
27
+ /** Determines logic for when user is below manager role. */
28
+ isBelowManager?: boolean;
29
+ /** Determines logic for when used in People product. */
30
+ isPeopleProduct?: boolean;
31
+ /** Callback when "Delete Profile" item is selected. */
32
+ onDeleteProfile?: boolean;
33
+ };
34
+ export declare function ActionsDropdown({ children, defaultButtonProps, duplicates, duplicatesButtonProps, inactive, inactiveButtonProps, isBelowManager, isPeopleProduct, onDeleteProfile, }: ActionsDropdownProps): JSX.Element;
35
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './ActionsDropdown';
2
+ export { ActionsDropdown as default } from './ActionsDropdown';
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import { MediaQueries } from '../index';
3
+ import { StackViewProps } from '../StackView';
4
+ export declare type AlertProps = {
5
+ /** Sets status theme colors. */
6
+ type?: 'warning' | 'success' | 'error';
7
+ } & StackViewProps;
8
+ declare type Props = React.RefAttributes<any> & React.HTMLAttributes<any> & AlertProps & MediaQueries<AlertProps>;
9
+ export declare function Alert(props: Props): JSX.Element;
10
+ export default Alert;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './Alert';
2
+ export { Alert as default } from './Alert';
@@ -0,0 +1,26 @@
1
+ import * as React from 'react';
2
+ import { StyleProps, MediaQueries, Variants } from '../index';
3
+ export declare type BoxProps = {
4
+ /**
5
+ * Render custom component or HTML element tag.
6
+ */
7
+ as?: any;
8
+ /**
9
+ * Gain access to the internal ref
10
+ */
11
+ innerRef?: any;
12
+ /**
13
+ * If true, sets "display: inline-block", otherwise it defaults to "display: block"
14
+ */
15
+ inline?: boolean;
16
+ /**
17
+ * Controls display property. If `false` sets `display: none`, otherwise defaults to initial display value.
18
+ */
19
+ visible?: boolean;
20
+ } & StyleProps;
21
+ declare type Props = React.RefAttributes<any> & React.HTMLAttributes<any> & BoxProps & MediaQueries<BoxProps> & Variants<BoxProps>;
22
+ /**
23
+ * Box is the base component that everything builds from. It is responsible for processing all style props.
24
+ */
25
+ export declare function Box({ as, innerRef, inline, ...props }: Props): JSX.Element;
26
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './Box';
2
+ export { Box as default } from './Box';
@@ -0,0 +1,108 @@
1
+ import * as React from 'react';
2
+ import { BoxSizes, MediaQueries } from '../index';
3
+ import { StackViewProps } from '../StackView';
4
+ declare type ButtonProps = {
5
+ /**
6
+ * Disables button by removing click handlers and making the button transparent.
7
+ */
8
+ disabled?: boolean;
9
+ /**
10
+ * Opens the linked destination in a new window or tab.
11
+ */
12
+ external?: boolean;
13
+ /**
14
+ * Renders an [Icon](/icon) in the center of the button. Pass a string or any valid `Icon` props.
15
+ * Must pass a [`title`](/button#title) or [`tooltip.title`](/tooltip#title) when using icon-only buttons.
16
+ */
17
+ icon?: string | Object;
18
+ /**
19
+ * Same as above, but renders an icon in the left portion of the button.
20
+ */
21
+ iconLeft?: string | Object;
22
+ /**
23
+ * Same as above, but renders an icon in the right portion of the button.
24
+ */
25
+ iconRight?: string | Object;
26
+ /**
27
+ * Sizes the button using values defined in [boxSizes](/theming)
28
+ */
29
+ size?: keyof BoxSizes;
30
+ /**
31
+ * Renders a [`<Spinner />`](/spinner) in the center of the button. Accepts any valid Spinner props.
32
+ */
33
+ spinner?: any;
34
+ /**
35
+ * Uses a 1:1 ratio for sizing the button.
36
+ */
37
+ square?: boolean;
38
+ /**
39
+ * Uses theme defined in [`buttons.theme`](/theming). Pass `false` to not use theme at all.
40
+ */
41
+ theme?: string | boolean;
42
+ /**
43
+ * Renders a text string in the center of the button.
44
+ */
45
+ title?: string | number;
46
+ /**
47
+ * Where the browser should navigate to when pressed.
48
+ */
49
+ to?: string;
50
+ /**
51
+ * Wraps button in a [`<Tooltip />`](./tooltip). Accepts any valid Tooltip props.
52
+ */
53
+ tooltip?: string | Object;
54
+ /**
55
+ * Determines the modified style of the button.
56
+ */
57
+ variant?: 'fill' | 'outline' | 'naked';
58
+ } & StackViewProps;
59
+ declare type Props = React.RefAttributes<any> & React.HTMLAttributes<any> & ButtonProps & MediaQueries<ButtonProps>;
60
+ export declare function Button({ children, disabled, external, icon, iconLeft, iconRight, onClick, onKeyDown, size, spinner, square, theme, title, to, tooltip, variant, ...restProps }: Props): JSX.Element;
61
+ export declare namespace Button {
62
+ var Input: React.ForwardRefExoticComponent<Pick<React.RefAttributes<any> & React.HTMLAttributes<any> & {
63
+ children: React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)> | ((inputProps: {
64
+ inputProps: any;
65
+ isOpen: boolean;
66
+ open: any;
67
+ close: any;
68
+ }) => React.ReactNode);
69
+ size?: "xs" | "sm" | "md" | "lg";
70
+ onClose: () => void;
71
+ onOpen: () => void;
72
+ } & {
73
+ as?: any;
74
+ innerRef?: any;
75
+ inline?: boolean;
76
+ visible?: boolean;
77
+ } & Pick<React.CSSProperties, "left" | "right" | "bottom" | "top" | "font" | "clipPath" | "filter" | "mask" | "resize" | "contain" | "clip" | "content" | "flex" | "clear" | "border" | "padding" | "alignContent" | "alignItems" | "alignSelf" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderLeftStyle" | "borderLeftWidth" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "columnCount" | "columnFill" | "columnGap" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "counterIncrement" | "counterReset" | "cursor" | "direction" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontSize" | "fontStretch" | "fontStyle" | "fontVariant" | "fontVariantCaps" | "fontVariantLigatures" | "fontVariantNumeric" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "imageRendering" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "listStyleImage" | "listStylePosition" | "listStyleType" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maskType" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "opacity" | "order" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflowWrap" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "perspective" | "perspectiveOrigin" | "pointerEvents" | "position" | "tabSize" | "tableLayout" | "textAlign" | "textIndent" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textTransform" | "touchAction" | "transform" | "transformOrigin" | "transformStyle" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "userSelect" | "verticalAlign" | "visibility" | "whiteSpace" | "width" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "zIndex" | "animation" | "background" | "borderBottom" | "borderImage" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "columnRule" | "columns" | "flexFlow" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "gridTemplate" | "listStyle" | "margin" | "motion" | "outline" | "overflow" | "placeItems" | "placeSelf" | "textDecoration" | "transition" | "WebkitOverflowScrolling" | "gridColumnGap" | "gridGap" | "gridRowGap" | "alignmentBaseline" | "baselineShift" | "clipRule" | "fillOpacity" | "fillRule" | "lightingColor" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth"> & Partial<Record<"fill" | "color" | "stroke" | "backgroundColor" | "borderBottomColor" | "borderLeftColor" | "borderRightColor" | "borderTopColor" | "borderColor", import("type-fest").LiteralUnion<"transparent" | "error" | "success" | "separator" | "background" | "foreground" | "foregroundSecondary" | "foregroundTertiary" | "backgroundSecondary" | "backgroundTertiary" | "surface" | "surfaceSecondary" | "surfaceTertiary" | "separatorSecondary" | "separatorTertiary" | "separatorHover" | "separatorFocus" | "separatorFocusSecondary" | "highlight" | "highlightSecondary" | "linkForeground" | "linkBackground" | "primary" | "primary-light" | "primary-lighter" | "primary-lightest" | "primary-dark" | "primary-darker" | "primary-darkest" | "warning" | "warning-light" | "warning-lighter" | "warning-lightest" | "warning-dark" | "warning-darker" | "warning-darkest" | "error-light" | "error-lighter" | "error-lightest" | "error-dark" | "error-darker" | "error-darkest" | "success-light" | "success-lighter" | "success-lightest" | "success-dark" | "success-darker" | "success-darkest" | "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "check-ins" | "giving" | "groups" | "music-stand" | "pco" | "people" | "planning-center" | "projector" | "registrations" | "calendar" | "services" | "red-0" | "red-1" | "red-2" | "red-3" | "red-4" | "red-5" | "red-6" | "red-7" | "red-8" | "red-9" | "blue-0" | "blue-1" | "blue-2" | "blue-3" | "blue-4" | "blue-5" | "blue-6" | "blue-7" | "blue-8" | "blue-9" | "green-0" | "green-1" | "green-2" | "green-3" | "green-4" | "green-5" | "green-6" | "green-7" | "green-8" | "green-9" | "yellow-0" | "yellow-1" | "yellow-2" | "yellow-3" | "yellow-4" | "yellow-5" | "yellow-6" | "yellow-7" | "yellow-8" | "yellow-9" | "light-0" | "light-1" | "light-2" | "light-3" | "light-4" | "light-5" | "light-6" | "light-7" | "light-8" | "light-9" | "dark-0" | "dark-1" | "dark-2" | "dark-3" | "dark-4" | "dark-5" | "dark-6" | "dark-7" | "dark-8" | "dark-9" | "grey-0" | "grey-1" | "grey-2" | "grey-3" | "grey-4" | "grey-5" | "grey-6" | "grey-7" | "grey-8" | "grey-9", string>>> & {
78
+ css?: any;
79
+ paddingHorizontal?: string | number;
80
+ paddingVertical?: string | number;
81
+ marginHorizontal?: string | number;
82
+ marginVertical?: string | number;
83
+ column?: import("csstype").Property.GridColumnEnd;
84
+ columnStart?: import("csstype").Property.GridColumnEnd;
85
+ columnEnd?: import("csstype").Property.GridColumnEnd;
86
+ row?: import("csstype").Property.GridColumnEnd;
87
+ rowStart?: import("csstype").Property.GridColumnEnd;
88
+ rowEnd?: import("csstype").Property.GridColumnEnd;
89
+ basis?: import("csstype").Property.BorderRadius<string | number>;
90
+ grow?: import("csstype").Property.FlexGrow;
91
+ shrink?: import("csstype").Property.FlexGrow;
92
+ wrap?: string | boolean;
93
+ radius?: import("csstype").Property.BorderRadius<string | number>;
94
+ radiusTop?: string | number;
95
+ radiusRight?: string | number;
96
+ radiusBottom?: string | number;
97
+ radiusLeft?: string | number;
98
+ strokeAlign?: "center" | "inside" | "outside";
99
+ strokeWeight?: number;
100
+ elevation?: number;
101
+ x?: string | number;
102
+ y?: string | number;
103
+ rotate?: number;
104
+ scale?: number;
105
+ uppercase?: boolean;
106
+ }, "left" | "right" | "bottom" | "top" | "hidden" | "visible" | "dir" | "font" | "slot" | "style" | "title" | "clipPath" | "filter" | "mask" | "resize" | "fill" | "color" | "contain" | "clip" | "column" | "content" | "size" | "inline" | "flex" | "row" | "wrap" | "stroke" | "x" | "y" | "uppercase" | "clear" | "border" | "padding" | "alignContent" | "alignItems" | "alignSelf" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "backfaceVisibility" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "columnCount" | "columnFill" | "columnGap" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "counterIncrement" | "counterReset" | "cursor" | "direction" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontSize" | "fontStretch" | "fontStyle" | "fontVariant" | "fontVariantCaps" | "fontVariantLigatures" | "fontVariantNumeric" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "imageRendering" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "listStyleImage" | "listStylePosition" | "listStyleType" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maskType" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "opacity" | "order" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflowWrap" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "perspective" | "perspectiveOrigin" | "pointerEvents" | "position" | "rotate" | "scale" | "tabSize" | "tableLayout" | "textAlign" | "textIndent" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textTransform" | "touchAction" | "transform" | "transformOrigin" | "transformStyle" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "userSelect" | "verticalAlign" | "visibility" | "whiteSpace" | "width" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "zIndex" | "animation" | "background" | "borderBottom" | "borderColor" | "borderImage" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "columnRule" | "columns" | "flexFlow" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "gridTemplate" | "listStyle" | "margin" | "motion" | "outline" | "overflow" | "placeItems" | "placeSelf" | "textDecoration" | "transition" | "WebkitOverflowScrolling" | "gridColumnGap" | "gridGap" | "gridRowGap" | "alignmentBaseline" | "baselineShift" | "clipRule" | "fillOpacity" | "fillRule" | "lightingColor" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "prefix" | "children" | "key" | "as" | "innerRef" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "paddingHorizontal" | "paddingVertical" | "marginHorizontal" | "marginVertical" | "columnStart" | "columnEnd" | "rowStart" | "rowEnd" | "basis" | "grow" | "shrink" | "radius" | "radiusTop" | "radiusRight" | "radiusBottom" | "radiusLeft" | "strokeAlign" | "strokeWeight" | "elevation" | "onOpen" | "onClose"> & React.RefAttributes<unknown>>;
107
+ }
108
+ export {};
@@ -0,0 +1 @@
1
+ export {};