@workday/canvas-kit-labs-react 6.8.10 → 6.9.0-next.3

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 (323) hide show
  1. package/combobox/README.md +1 -1
  2. package/combobox/lib/Combobox.tsx +12 -14
  3. package/common/README.md +10 -4
  4. package/common/index.ts +0 -8
  5. package/dist/commonjs/combobox/index.js +12 -4
  6. package/dist/commonjs/combobox/lib/AutocompleteList.d.ts.map +1 -1
  7. package/dist/commonjs/combobox/lib/AutocompleteList.js +19 -7
  8. package/dist/commonjs/combobox/lib/Combobox.d.ts +3 -4
  9. package/dist/commonjs/combobox/lib/Combobox.d.ts.map +1 -1
  10. package/dist/commonjs/combobox/lib/Combobox.js +31 -19
  11. package/dist/commonjs/combobox/lib/Status.d.ts.map +1 -1
  12. package/dist/commonjs/combobox/lib/Status.js +14 -2
  13. package/dist/commonjs/common/index.d.ts +0 -8
  14. package/dist/commonjs/common/index.d.ts.map +1 -1
  15. package/dist/commonjs/common/index.js +14 -7
  16. package/dist/commonjs/common/lib/storybook-utils/ComponentStatesTable.d.ts.map +1 -1
  17. package/dist/commonjs/common/lib/storybook-utils/ComponentStatesTable.js +3 -1
  18. package/dist/commonjs/common/lib/storybook-utils/permutateProps.d.ts.map +1 -1
  19. package/dist/commonjs/common/lib/storybook-utils/permutateProps.js +3 -1
  20. package/dist/commonjs/common/lib/theming/index.js +12 -5
  21. package/dist/commonjs/common/lib/theming/useThemeRTL.d.ts.map +1 -1
  22. package/dist/commonjs/common/lib/theming/useThemeRTL.js +1 -0
  23. package/dist/commonjs/common/lib/theming/useThemedRing.d.ts +1 -1
  24. package/dist/commonjs/common/lib/theming/useThemedRing.d.ts.map +1 -1
  25. package/dist/commonjs/common/lib/theming/useThemedRing.js +3 -1
  26. package/dist/commonjs/drawer/index.js +12 -4
  27. package/dist/commonjs/drawer/lib/Drawer.js +21 -8
  28. package/dist/commonjs/drawer/lib/DrawerHeader.js +22 -10
  29. package/dist/commonjs/index.d.ts +0 -2
  30. package/dist/commonjs/index.d.ts.map +1 -1
  31. package/dist/commonjs/index.js +14 -9
  32. package/dist/commonjs/search-form/index.js +12 -5
  33. package/dist/commonjs/search-form/lib/SearchForm.d.ts +3 -2
  34. package/dist/commonjs/search-form/lib/SearchForm.d.ts.map +1 -1
  35. package/dist/commonjs/search-form/lib/SearchForm.js +35 -28
  36. package/dist/commonjs/search-form/lib/themes.d.ts.map +1 -1
  37. package/dist/commonjs/search-form/lib/themes.js +1 -0
  38. package/dist/es6/combobox/lib/AutocompleteList.d.ts.map +1 -1
  39. package/dist/es6/combobox/lib/Combobox.d.ts +3 -4
  40. package/dist/es6/combobox/lib/Combobox.d.ts.map +1 -1
  41. package/dist/es6/combobox/lib/Combobox.js +6 -9
  42. package/dist/es6/combobox/lib/Status.d.ts.map +1 -1
  43. package/dist/es6/common/index.d.ts +0 -8
  44. package/dist/es6/common/index.d.ts.map +1 -1
  45. package/dist/es6/common/index.js +0 -1
  46. package/dist/es6/common/lib/storybook-utils/ComponentStatesTable.d.ts.map +1 -1
  47. package/dist/es6/common/lib/storybook-utils/permutateProps.d.ts.map +1 -1
  48. package/dist/es6/common/lib/storybook-utils/propTypes.js +1 -0
  49. package/dist/es6/common/lib/theming/useThemeRTL.d.ts.map +1 -1
  50. package/dist/es6/common/lib/theming/useThemedRing.d.ts +1 -1
  51. package/dist/es6/common/lib/theming/useThemedRing.d.ts.map +1 -1
  52. package/dist/es6/drawer/lib/Drawer.js +1 -1
  53. package/dist/es6/drawer/lib/DrawerHeader.js +4 -4
  54. package/dist/es6/index.d.ts +0 -2
  55. package/dist/es6/index.d.ts.map +1 -1
  56. package/dist/es6/index.js +0 -2
  57. package/dist/es6/search-form/lib/SearchForm.d.ts +3 -2
  58. package/dist/es6/search-form/lib/SearchForm.d.ts.map +1 -1
  59. package/dist/es6/search-form/lib/SearchForm.js +16 -22
  60. package/dist/es6/search-form/lib/themes.d.ts.map +1 -1
  61. package/drawer/lib/DrawerHeader.tsx +3 -3
  62. package/index.ts +0 -2
  63. package/package.json +12 -22
  64. package/search-form/lib/SearchForm.tsx +21 -39
  65. package/search-form/lib/themes.ts +2 -1
  66. package/common/lib/Box.tsx +0 -87
  67. package/common/lib/utils/border.ts +0 -263
  68. package/common/lib/utils/color.ts +0 -62
  69. package/common/lib/utils/depth.ts +0 -37
  70. package/common/lib/utils/flexItem.ts +0 -56
  71. package/common/lib/utils/layout.ts +0 -77
  72. package/common/lib/utils/position.ts +0 -96
  73. package/common/lib/utils/space.ts +0 -207
  74. package/common/lib/utils/types.ts +0 -105
  75. package/dist/commonjs/common/lib/Box.d.ts +0 -30
  76. package/dist/commonjs/common/lib/Box.d.ts.map +0 -1
  77. package/dist/commonjs/common/lib/Box.js +0 -85
  78. package/dist/commonjs/common/lib/utils/border.d.ts +0 -103
  79. package/dist/commonjs/common/lib/utils/border.d.ts.map +0 -1
  80. package/dist/commonjs/common/lib/utils/border.js +0 -152
  81. package/dist/commonjs/common/lib/utils/color.d.ts +0 -26
  82. package/dist/commonjs/common/lib/utils/color.d.ts.map +0 -1
  83. package/dist/commonjs/common/lib/utils/color.js +0 -56
  84. package/dist/commonjs/common/lib/utils/depth.d.ts +0 -22
  85. package/dist/commonjs/common/lib/utils/depth.d.ts.map +0 -1
  86. package/dist/commonjs/common/lib/utils/depth.js +0 -28
  87. package/dist/commonjs/common/lib/utils/flexItem.d.ts +0 -33
  88. package/dist/commonjs/common/lib/utils/flexItem.d.ts.map +0 -1
  89. package/dist/commonjs/common/lib/utils/flexItem.js +0 -38
  90. package/dist/commonjs/common/lib/utils/layout.d.ts +0 -43
  91. package/dist/commonjs/common/lib/utils/layout.d.ts.map +0 -1
  92. package/dist/commonjs/common/lib/utils/layout.js +0 -42
  93. package/dist/commonjs/common/lib/utils/position.d.ts +0 -41
  94. package/dist/commonjs/common/lib/utils/position.d.ts.map +0 -1
  95. package/dist/commonjs/common/lib/utils/position.js +0 -77
  96. package/dist/commonjs/common/lib/utils/space.d.ts +0 -64
  97. package/dist/commonjs/common/lib/utils/space.d.ts.map +0 -1
  98. package/dist/commonjs/common/lib/utils/space.js +0 -160
  99. package/dist/commonjs/common/lib/utils/types.d.ts +0 -14
  100. package/dist/commonjs/common/lib/utils/types.d.ts.map +0 -1
  101. package/dist/commonjs/common/lib/utils/types.js +0 -2
  102. package/dist/commonjs/header/index.d.ts +0 -9
  103. package/dist/commonjs/header/index.d.ts.map +0 -1
  104. package/dist/commonjs/header/index.js +0 -16
  105. package/dist/commonjs/header/lib/GlobalHeader.d.ts +0 -38
  106. package/dist/commonjs/header/lib/GlobalHeader.d.ts.map +0 -1
  107. package/dist/commonjs/header/lib/GlobalHeader.js +0 -74
  108. package/dist/commonjs/header/lib/Header.d.ts +0 -76
  109. package/dist/commonjs/header/lib/Header.d.ts.map +0 -1
  110. package/dist/commonjs/header/lib/Header.js +0 -321
  111. package/dist/commonjs/header/lib/parts/DubLogoTitle.d.ts +0 -30
  112. package/dist/commonjs/header/lib/parts/DubLogoTitle.d.ts.map +0 -1
  113. package/dist/commonjs/header/lib/parts/DubLogoTitle.js +0 -105
  114. package/dist/commonjs/header/lib/parts/WorkdayLogoTitle.d.ts +0 -31
  115. package/dist/commonjs/header/lib/parts/WorkdayLogoTitle.d.ts.map +0 -1
  116. package/dist/commonjs/header/lib/parts/WorkdayLogoTitle.js +0 -124
  117. package/dist/commonjs/header/lib/parts/index.d.ts +0 -3
  118. package/dist/commonjs/header/lib/parts/index.d.ts.map +0 -1
  119. package/dist/commonjs/header/lib/parts/index.js +0 -6
  120. package/dist/commonjs/header/lib/shared/themes.d.ts +0 -43
  121. package/dist/commonjs/header/lib/shared/themes.d.ts.map +0 -1
  122. package/dist/commonjs/header/lib/shared/themes.js +0 -62
  123. package/dist/commonjs/header/lib/shared/types.d.ts +0 -15
  124. package/dist/commonjs/header/lib/shared/types.d.ts.map +0 -1
  125. package/dist/commonjs/header/lib/shared/types.js +0 -19
  126. package/dist/commonjs/layout/index.d.ts +0 -5
  127. package/dist/commonjs/layout/index.d.ts.map +0 -1
  128. package/dist/commonjs/layout/index.js +0 -7
  129. package/dist/commonjs/layout/lib/Flex.d.ts +0 -26
  130. package/dist/commonjs/layout/lib/Flex.d.ts.map +0 -1
  131. package/dist/commonjs/layout/lib/Flex.js +0 -70
  132. package/dist/commonjs/layout/lib/Stack.d.ts +0 -27
  133. package/dist/commonjs/layout/lib/Stack.d.ts.map +0 -1
  134. package/dist/commonjs/layout/lib/Stack.js +0 -86
  135. package/dist/commonjs/layout/lib/utils/flex.d.ts +0 -36
  136. package/dist/commonjs/layout/lib/utils/flex.d.ts.map +0 -1
  137. package/dist/commonjs/layout/lib/utils/flex.js +0 -37
  138. package/dist/commonjs/layout/lib/utils/getValidChildren.d.ts +0 -3
  139. package/dist/commonjs/layout/lib/utils/getValidChildren.d.ts.map +0 -1
  140. package/dist/commonjs/layout/lib/utils/getValidChildren.js +0 -16
  141. package/dist/commonjs/layout/lib/utils/stack.d.ts +0 -26
  142. package/dist/commonjs/layout/lib/utils/stack.d.ts.map +0 -1
  143. package/dist/commonjs/layout/lib/utils/stack.js +0 -54
  144. package/dist/commonjs/layout/lib/utils/types.d.ts +0 -8
  145. package/dist/commonjs/layout/lib/utils/types.d.ts.map +0 -1
  146. package/dist/commonjs/layout/lib/utils/types.js +0 -2
  147. package/dist/es6/common/lib/Box.d.ts +0 -30
  148. package/dist/es6/common/lib/Box.d.ts.map +0 -1
  149. package/dist/es6/common/lib/Box.js +0 -73
  150. package/dist/es6/common/lib/utils/border.d.ts +0 -103
  151. package/dist/es6/common/lib/utils/border.d.ts.map +0 -1
  152. package/dist/es6/common/lib/utils/border.js +0 -149
  153. package/dist/es6/common/lib/utils/color.d.ts +0 -26
  154. package/dist/es6/common/lib/utils/color.d.ts.map +0 -1
  155. package/dist/es6/common/lib/utils/color.js +0 -53
  156. package/dist/es6/common/lib/utils/depth.d.ts +0 -22
  157. package/dist/es6/common/lib/utils/depth.d.ts.map +0 -1
  158. package/dist/es6/common/lib/utils/depth.js +0 -25
  159. package/dist/es6/common/lib/utils/flexItem.d.ts +0 -33
  160. package/dist/es6/common/lib/utils/flexItem.d.ts.map +0 -1
  161. package/dist/es6/common/lib/utils/flexItem.js +0 -35
  162. package/dist/es6/common/lib/utils/layout.d.ts +0 -43
  163. package/dist/es6/common/lib/utils/layout.d.ts.map +0 -1
  164. package/dist/es6/common/lib/utils/layout.js +0 -39
  165. package/dist/es6/common/lib/utils/position.d.ts +0 -41
  166. package/dist/es6/common/lib/utils/position.d.ts.map +0 -1
  167. package/dist/es6/common/lib/utils/position.js +0 -74
  168. package/dist/es6/common/lib/utils/space.d.ts +0 -64
  169. package/dist/es6/common/lib/utils/space.d.ts.map +0 -1
  170. package/dist/es6/common/lib/utils/space.js +0 -157
  171. package/dist/es6/common/lib/utils/types.d.ts +0 -14
  172. package/dist/es6/common/lib/utils/types.d.ts.map +0 -1
  173. package/dist/es6/common/lib/utils/types.js +0 -0
  174. package/dist/es6/header/index.d.ts +0 -9
  175. package/dist/es6/header/index.d.ts.map +0 -1
  176. package/dist/es6/header/index.js +0 -8
  177. package/dist/es6/header/lib/GlobalHeader.d.ts +0 -38
  178. package/dist/es6/header/lib/GlobalHeader.d.ts.map +0 -1
  179. package/dist/es6/header/lib/GlobalHeader.js +0 -62
  180. package/dist/es6/header/lib/Header.d.ts +0 -76
  181. package/dist/es6/header/lib/Header.d.ts.map +0 -1
  182. package/dist/es6/header/lib/Header.js +0 -309
  183. package/dist/es6/header/lib/parts/DubLogoTitle.d.ts +0 -30
  184. package/dist/es6/header/lib/parts/DubLogoTitle.d.ts.map +0 -1
  185. package/dist/es6/header/lib/parts/DubLogoTitle.js +0 -93
  186. package/dist/es6/header/lib/parts/WorkdayLogoTitle.d.ts +0 -31
  187. package/dist/es6/header/lib/parts/WorkdayLogoTitle.d.ts.map +0 -1
  188. package/dist/es6/header/lib/parts/WorkdayLogoTitle.js +0 -112
  189. package/dist/es6/header/lib/parts/index.d.ts +0 -3
  190. package/dist/es6/header/lib/parts/index.d.ts.map +0 -1
  191. package/dist/es6/header/lib/parts/index.js +0 -2
  192. package/dist/es6/header/lib/shared/themes.d.ts +0 -43
  193. package/dist/es6/header/lib/shared/themes.d.ts.map +0 -1
  194. package/dist/es6/header/lib/shared/themes.js +0 -57
  195. package/dist/es6/header/lib/shared/types.d.ts +0 -15
  196. package/dist/es6/header/lib/shared/types.d.ts.map +0 -1
  197. package/dist/es6/header/lib/shared/types.js +0 -17
  198. package/dist/es6/layout/index.d.ts +0 -5
  199. package/dist/es6/layout/index.d.ts.map +0 -1
  200. package/dist/es6/layout/index.js +0 -2
  201. package/dist/es6/layout/lib/Flex.d.ts +0 -26
  202. package/dist/es6/layout/lib/Flex.d.ts.map +0 -1
  203. package/dist/es6/layout/lib/Flex.js +0 -58
  204. package/dist/es6/layout/lib/Stack.d.ts +0 -27
  205. package/dist/es6/layout/lib/Stack.d.ts.map +0 -1
  206. package/dist/es6/layout/lib/Stack.js +0 -74
  207. package/dist/es6/layout/lib/utils/flex.d.ts +0 -36
  208. package/dist/es6/layout/lib/utils/flex.d.ts.map +0 -1
  209. package/dist/es6/layout/lib/utils/flex.js +0 -34
  210. package/dist/es6/layout/lib/utils/getValidChildren.d.ts +0 -3
  211. package/dist/es6/layout/lib/utils/getValidChildren.d.ts.map +0 -1
  212. package/dist/es6/layout/lib/utils/getValidChildren.js +0 -6
  213. package/dist/es6/layout/lib/utils/stack.d.ts +0 -26
  214. package/dist/es6/layout/lib/utils/stack.d.ts.map +0 -1
  215. package/dist/es6/layout/lib/utils/stack.js +0 -51
  216. package/dist/es6/layout/lib/utils/types.d.ts +0 -8
  217. package/dist/es6/layout/lib/utils/types.d.ts.map +0 -1
  218. package/dist/es6/layout/lib/utils/types.js +0 -0
  219. package/header/LICENSE +0 -51
  220. package/header/README.md +0 -359
  221. package/header/index.ts +0 -9
  222. package/header/lib/GlobalHeader.tsx +0 -73
  223. package/header/lib/Header.tsx +0 -429
  224. package/header/lib/parts/DubLogoTitle.tsx +0 -99
  225. package/header/lib/parts/WorkdayLogoTitle.tsx +0 -120
  226. package/header/lib/parts/index.ts +0 -2
  227. package/header/lib/shared/themes.tsx +0 -97
  228. package/header/lib/shared/types.tsx +0 -16
  229. package/header/package.json +0 -6
  230. package/layout/LICENSE +0 -52
  231. package/layout/README.md +0 -16
  232. package/layout/index.ts +0 -4
  233. package/layout/lib/Flex.tsx +0 -47
  234. package/layout/lib/Stack.tsx +0 -113
  235. package/layout/lib/utils/flex.ts +0 -65
  236. package/layout/lib/utils/getValidChildren.ts +0 -7
  237. package/layout/lib/utils/stack.ts +0 -78
  238. package/layout/lib/utils/types.ts +0 -45
  239. package/layout/package.json +0 -6
  240. package/ts3.5/dist/commonjs/combobox/index.d.ts +0 -5
  241. package/ts3.5/dist/commonjs/combobox/lib/AutocompleteList.d.ts +0 -32
  242. package/ts3.5/dist/commonjs/combobox/lib/Combobox.d.ts +0 -64
  243. package/ts3.5/dist/commonjs/combobox/lib/Status.d.ts +0 -11
  244. package/ts3.5/dist/commonjs/common/index.d.ts +0 -12
  245. package/ts3.5/dist/commonjs/common/lib/Box.d.ts +0 -30
  246. package/ts3.5/dist/commonjs/common/lib/storybook-utils/ComponentStatesTable.d.ts +0 -26
  247. package/ts3.5/dist/commonjs/common/lib/storybook-utils/permutateProps.d.ts +0 -5
  248. package/ts3.5/dist/commonjs/common/lib/storybook-utils/propTypes.d.ts +0 -15
  249. package/ts3.5/dist/commonjs/common/lib/theming/index.d.ts +0 -3
  250. package/ts3.5/dist/commonjs/common/lib/theming/useThemeRTL.d.ts +0 -36
  251. package/ts3.5/dist/commonjs/common/lib/theming/useThemedRing.d.ts +0 -11
  252. package/ts3.5/dist/commonjs/common/lib/utils/border.d.ts +0 -103
  253. package/ts3.5/dist/commonjs/common/lib/utils/color.d.ts +0 -26
  254. package/ts3.5/dist/commonjs/common/lib/utils/depth.d.ts +0 -22
  255. package/ts3.5/dist/commonjs/common/lib/utils/flexItem.d.ts +0 -33
  256. package/ts3.5/dist/commonjs/common/lib/utils/layout.d.ts +0 -43
  257. package/ts3.5/dist/commonjs/common/lib/utils/position.d.ts +0 -41
  258. package/ts3.5/dist/commonjs/common/lib/utils/space.d.ts +0 -64
  259. package/ts3.5/dist/commonjs/common/lib/utils/types.d.ts +0 -14
  260. package/ts3.5/dist/commonjs/drawer/index.d.ts +0 -6
  261. package/ts3.5/dist/commonjs/drawer/lib/Drawer.d.ts +0 -49
  262. package/ts3.5/dist/commonjs/drawer/lib/DrawerHeader.d.ts +0 -38
  263. package/ts3.5/dist/commonjs/header/index.d.ts +0 -9
  264. package/ts3.5/dist/commonjs/header/lib/GlobalHeader.d.ts +0 -38
  265. package/ts3.5/dist/commonjs/header/lib/Header.d.ts +0 -76
  266. package/ts3.5/dist/commonjs/header/lib/parts/DubLogoTitle.d.ts +0 -30
  267. package/ts3.5/dist/commonjs/header/lib/parts/WorkdayLogoTitle.d.ts +0 -31
  268. package/ts3.5/dist/commonjs/header/lib/parts/index.d.ts +0 -3
  269. package/ts3.5/dist/commonjs/header/lib/shared/themes.d.ts +0 -43
  270. package/ts3.5/dist/commonjs/header/lib/shared/types.d.ts +0 -15
  271. package/ts3.5/dist/commonjs/index.d.ts +0 -7
  272. package/ts3.5/dist/commonjs/layout/index.d.ts +0 -5
  273. package/ts3.5/dist/commonjs/layout/lib/Flex.d.ts +0 -26
  274. package/ts3.5/dist/commonjs/layout/lib/Stack.d.ts +0 -27
  275. package/ts3.5/dist/commonjs/layout/lib/utils/flex.d.ts +0 -36
  276. package/ts3.5/dist/commonjs/layout/lib/utils/getValidChildren.d.ts +0 -3
  277. package/ts3.5/dist/commonjs/layout/lib/utils/stack.d.ts +0 -26
  278. package/ts3.5/dist/commonjs/layout/lib/utils/types.d.ts +0 -8
  279. package/ts3.5/dist/commonjs/search-form/index.d.ts +0 -3
  280. package/ts3.5/dist/commonjs/search-form/lib/SearchForm.d.ts +0 -107
  281. package/ts3.5/dist/commonjs/search-form/lib/themes.d.ts +0 -21
  282. package/ts3.5/dist/es6/combobox/index.d.ts +0 -5
  283. package/ts3.5/dist/es6/combobox/lib/AutocompleteList.d.ts +0 -32
  284. package/ts3.5/dist/es6/combobox/lib/Combobox.d.ts +0 -64
  285. package/ts3.5/dist/es6/combobox/lib/Status.d.ts +0 -11
  286. package/ts3.5/dist/es6/common/index.d.ts +0 -12
  287. package/ts3.5/dist/es6/common/lib/Box.d.ts +0 -30
  288. package/ts3.5/dist/es6/common/lib/storybook-utils/ComponentStatesTable.d.ts +0 -26
  289. package/ts3.5/dist/es6/common/lib/storybook-utils/permutateProps.d.ts +0 -5
  290. package/ts3.5/dist/es6/common/lib/storybook-utils/propTypes.d.ts +0 -15
  291. package/ts3.5/dist/es6/common/lib/theming/index.d.ts +0 -3
  292. package/ts3.5/dist/es6/common/lib/theming/useThemeRTL.d.ts +0 -36
  293. package/ts3.5/dist/es6/common/lib/theming/useThemedRing.d.ts +0 -11
  294. package/ts3.5/dist/es6/common/lib/utils/border.d.ts +0 -103
  295. package/ts3.5/dist/es6/common/lib/utils/color.d.ts +0 -26
  296. package/ts3.5/dist/es6/common/lib/utils/depth.d.ts +0 -22
  297. package/ts3.5/dist/es6/common/lib/utils/flexItem.d.ts +0 -33
  298. package/ts3.5/dist/es6/common/lib/utils/layout.d.ts +0 -43
  299. package/ts3.5/dist/es6/common/lib/utils/position.d.ts +0 -41
  300. package/ts3.5/dist/es6/common/lib/utils/space.d.ts +0 -64
  301. package/ts3.5/dist/es6/common/lib/utils/types.d.ts +0 -14
  302. package/ts3.5/dist/es6/drawer/index.d.ts +0 -6
  303. package/ts3.5/dist/es6/drawer/lib/Drawer.d.ts +0 -49
  304. package/ts3.5/dist/es6/drawer/lib/DrawerHeader.d.ts +0 -38
  305. package/ts3.5/dist/es6/header/index.d.ts +0 -9
  306. package/ts3.5/dist/es6/header/lib/GlobalHeader.d.ts +0 -38
  307. package/ts3.5/dist/es6/header/lib/Header.d.ts +0 -76
  308. package/ts3.5/dist/es6/header/lib/parts/DubLogoTitle.d.ts +0 -30
  309. package/ts3.5/dist/es6/header/lib/parts/WorkdayLogoTitle.d.ts +0 -31
  310. package/ts3.5/dist/es6/header/lib/parts/index.d.ts +0 -3
  311. package/ts3.5/dist/es6/header/lib/shared/themes.d.ts +0 -43
  312. package/ts3.5/dist/es6/header/lib/shared/types.d.ts +0 -15
  313. package/ts3.5/dist/es6/index.d.ts +0 -7
  314. package/ts3.5/dist/es6/layout/index.d.ts +0 -5
  315. package/ts3.5/dist/es6/layout/lib/Flex.d.ts +0 -26
  316. package/ts3.5/dist/es6/layout/lib/Stack.d.ts +0 -27
  317. package/ts3.5/dist/es6/layout/lib/utils/flex.d.ts +0 -36
  318. package/ts3.5/dist/es6/layout/lib/utils/getValidChildren.d.ts +0 -3
  319. package/ts3.5/dist/es6/layout/lib/utils/stack.d.ts +0 -26
  320. package/ts3.5/dist/es6/layout/lib/utils/types.d.ts +0 -8
  321. package/ts3.5/dist/es6/search-form/index.d.ts +0 -3
  322. package/ts3.5/dist/es6/search-form/lib/SearchForm.d.ts +0 -107
  323. package/ts3.5/dist/es6/search-form/lib/themes.d.ts +0 -21
@@ -1,41 +0,0 @@
1
- import { PartialEmotionCanvasTheme } from '@workday/canvas-kit-react/common';
2
- import { PropertyPosition, PropertyZIndex } from './types';
3
- /** style props to for standard position properties */
4
- export declare type PositionStandardProps = {
5
- /** sets `position` property */
6
- position?: PropertyPosition;
7
- /** sets `zIndex` property */
8
- zIndex?: PropertyZIndex;
9
- /** sets `top` property */
10
- top?: number | string;
11
- /** sets `right` property (no bidirectional support) */
12
- right?: number | string;
13
- /** sets `bottom` property */
14
- bottom?: number | string;
15
- /** sets `left` property (no bidirectional support) */
16
- left?: number | string;
17
- };
18
- export declare type PositionLogicalProps = {
19
- /** sets `left` property (bidirectional support) */
20
- insetInlineStart?: number | string;
21
- /** sets `right` property (bidirectional support) */
22
- insetInlineEnd?: number | string;
23
- };
24
- export declare type PositionStyleProps = PositionStandardProps & PositionLogicalProps;
25
- /**
26
- * A style prop function that takes components props and returns position styles.
27
- * If no `PositionProps` are found, it returns an empty object.
28
- *
29
- * @example
30
- * // You'll most likely use `position` with low-level, styled components
31
- * const BoxExample = () => (
32
- * <Box position="absolute" top="50%">
33
- * Hello, positions!
34
- * </Box>
35
- * );
36
- *
37
- */
38
- export declare function position<P extends PositionStyleProps & {
39
- theme?: PartialEmotionCanvasTheme;
40
- }>(props: P): {};
41
- //# sourceMappingURL=position.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"position.d.ts","sourceRoot":"","sources":["../../../../../common/lib/utils/position.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,yBAAyB,EAE1B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAC,gBAAgB,EAAE,cAAc,EAAC,MAAM,SAAS,CAAC;AAEzD,sDAAsD;AACtD,oBAAY,qBAAqB,GAAG;IAClC,gCAAgC;IAChC,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,8BAA8B;IAC9B,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,2BAA2B;IAC3B,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,uDAAuD;IACvD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,8BAA8B;IAC9B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,uDAAuD;IACvD,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB,CAAC;AAEF,oBAAY,oBAAoB,GAAG;IACjC,oDAAoD;IACpD,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACnC,oDAAoD;IACpD,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAClC,CAAC;AA0BF,oBAAY,kBAAkB,GAAG,qBAAqB,GAAG,oBAAoB,CAAC;AAE9E;;;;;;;;;;;;GAYG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,kBAAkB,GAAG;IAAC,KAAK,CAAC,EAAE,yBAAyB,CAAA;CAAC,EACzF,KAAK,EAAE,CAAC,MAyBT"}
@@ -1,77 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- var common_1 = require("@workday/canvas-kit-react/common");
15
- var getInsetInlineStartStyle = function (value, isRTL) {
16
- var _a;
17
- if (isRTL === void 0) { isRTL = false; }
18
- var attr = isRTL ? 'right' : 'left';
19
- return _a = {}, _a[attr] = value, _a;
20
- };
21
- var getInsetInlineEndStyle = function (value, isRTL) {
22
- var _a;
23
- if (isRTL === void 0) { isRTL = false; }
24
- var attr = isRTL ? 'left' : 'right';
25
- return _a = {}, _a[attr] = value, _a;
26
- };
27
- var standardPositionProps = {
28
- position: 'position',
29
- zIndex: 'zIndex',
30
- top: 'top',
31
- right: 'right',
32
- bottom: 'bottom',
33
- left: 'left',
34
- };
35
- var logicalPositionProps = {
36
- insetInlineStart: getInsetInlineStartStyle,
37
- insetInlineEnd: getInsetInlineEndStyle,
38
- };
39
- /**
40
- * A style prop function that takes components props and returns position styles.
41
- * If no `PositionProps` are found, it returns an empty object.
42
- *
43
- * @example
44
- * // You'll most likely use `position` with low-level, styled components
45
- * const BoxExample = () => (
46
- * <Box position="absolute" top="50%">
47
- * Hello, positions!
48
- * </Box>
49
- * );
50
- *
51
- */
52
- function position(props) {
53
- // position will always be used within the context of a component, but eslint doesn't know that
54
- // eslint-disable-next-line react-hooks/rules-of-hooks
55
- var canvas = common_1.useTheme(props.theme).canvas;
56
- var styles = {};
57
- for (var key in props) {
58
- if (key in props) {
59
- if (key in standardPositionProps) {
60
- var value = props[key];
61
- var attr = standardPositionProps[key];
62
- // @ts-ignore TS doesn't like adding a potentially unknown key to an object, but because we own this object, it's fine.
63
- styles[attr] = value;
64
- continue;
65
- }
66
- if (key in logicalPositionProps) {
67
- var value = props[key];
68
- var styleFn = logicalPositionProps[key];
69
- var isRTL = canvas.direction === common_1.ContentDirection.RTL;
70
- var style = styleFn(value, isRTL);
71
- styles = __assign(__assign({}, styles), style);
72
- }
73
- }
74
- }
75
- return styles;
76
- }
77
- exports.position = position;
@@ -1,64 +0,0 @@
1
- import { PartialEmotionCanvasTheme } from '@workday/canvas-kit-react/common';
2
- import { CanvasSpaceKeys } from '@workday/canvas-kit-react/tokens';
3
- declare type SpacePropValues = CanvasSpaceKeys | number | (string & {});
4
- /** These props automatically adjust for bidirectionality (LTR & RTL) */
5
- export declare type SpaceLogicalProps = {
6
- /** sets margin-left property (bidirectional support) */
7
- marginInlineStart?: SpacePropValues;
8
- /** sets margin-right property (bidirectional support) */
9
- marginInlineEnd?: SpacePropValues;
10
- /** sets padding-left property (bidirectional support) */
11
- paddingInlineStart?: SpacePropValues;
12
- /** sets padding-right property (bidirectional support) */
13
- paddingInlineEnd?: SpacePropValues;
14
- };
15
- /** These props do not adjust for bidirectionality (LTR & RTL) */
16
- export declare type SpaceStandardProps = {
17
- /** sets margin property */
18
- margin?: SpacePropValues;
19
- /** sets margin-left and margin-right properties */
20
- marginX?: SpacePropValues;
21
- /** sets margin-top and margin-bottom properties */
22
- marginY?: SpacePropValues;
23
- /** sets margin-top property */
24
- marginTop?: SpacePropValues;
25
- /** sets margin-right property (no bidirectional support) */
26
- marginRight?: SpacePropValues;
27
- /** sets margin-bottom property */
28
- marginBottom?: SpacePropValues;
29
- /** sets margin-left property (no bidirectional support) */
30
- marginLeft?: SpacePropValues;
31
- /** sets padding property */
32
- padding?: SpacePropValues;
33
- /** sets padding-left and margin-right properties */
34
- paddingX?: SpacePropValues;
35
- /** sets padding-top and padding-bottom properties */
36
- paddingY?: SpacePropValues;
37
- /** sets padding-top property */
38
- paddingTop?: SpacePropValues;
39
- /** sets padding-right property (no bidirectional support) */
40
- paddingRight?: SpacePropValues;
41
- /** sets padding-bottom */
42
- paddingBottom?: SpacePropValues;
43
- /** sets padding-left property (no bidirectional support) */
44
- paddingLeft?: SpacePropValues;
45
- };
46
- export declare type SpaceStyleProps = SpaceStandardProps & SpaceLogicalProps;
47
- /**
48
- * A style prop function that takes component props and returns space styles.
49
- * If no `SpaceStyleProps` are found, it returns an empty object.
50
- *
51
- * @example
52
- * // You'll most likely use `space` with low-level, styled components
53
- * const BoxExample = () => (
54
- * <Box padding="xs" margin="m">
55
- * Hello, space!
56
- * </Box>
57
- * );
58
- *
59
- */
60
- export declare function space<P extends SpaceStyleProps & {
61
- theme?: PartialEmotionCanvasTheme;
62
- }>(props: P): {};
63
- export {};
64
- //# sourceMappingURL=space.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"space.d.ts","sourceRoot":"","sources":["../../../../../common/lib/utils/space.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,yBAAyB,EAE1B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAoC,eAAe,EAAC,MAAM,kCAAkC,CAAC;AAEpG,aAAK,eAAe,GAAG,eAAe,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAEhE,wEAAwE;AACxE,oBAAY,iBAAiB,GAAG;IAC9B,wDAAwD;IACxD,iBAAiB,CAAC,EAAE,eAAe,CAAC;IACpC,yDAAyD;IACzD,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,yDAAyD;IACzD,kBAAkB,CAAC,EAAE,eAAe,CAAC;IACrC,0DAA0D;IAC1D,gBAAgB,CAAC,EAAE,eAAe,CAAC;CACpC,CAAC;AAEF,iEAAiE;AACjE,oBAAY,kBAAkB,GAAG;IAC/B,2BAA2B;IAC3B,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,mDAAmD;IACnD,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,mDAAmD;IACnD,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,+BAA+B;IAC/B,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,4DAA4D;IAC5D,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,kCAAkC;IAClC,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,2DAA2D;IAC3D,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,4BAA4B;IAC5B,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,oDAAoD;IACpD,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,qDAAqD;IACrD,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,gCAAgC;IAChC,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,6DAA6D;IAC7D,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,0BAA0B;IAC1B,aAAa,CAAC,EAAE,eAAe,CAAC;IAChC,4DAA4D;IAC5D,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B,CAAC;AAEF,oBAAY,eAAe,GAAG,kBAAkB,GAAG,iBAAiB,CAAC;AAoHrE;;;;;;;;;;;;GAYG;AACH,wBAAgB,KAAK,CAAC,CAAC,SAAS,eAAe,GAAG;IAAC,KAAK,CAAC,EAAE,yBAAyB,CAAA;CAAC,EAAE,KAAK,EAAE,CAAC,MAwB9F"}
@@ -1,160 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- var common_1 = require("@workday/canvas-kit-react/common");
15
- var tokens_1 = require("@workday/canvas-kit-react/tokens");
16
- var margin = function (value) {
17
- return { margin: tokens_1.space[value] || value };
18
- };
19
- var marginX = function (value) {
20
- return {
21
- marginLeft: tokens_1.space[value] || value,
22
- marginRight: tokens_1.space[value] || value,
23
- };
24
- };
25
- var marginY = function (value) {
26
- return {
27
- marginTop: tokens_1.space[value] || value,
28
- marginBottom: tokens_1.space[value] || value,
29
- };
30
- };
31
- var marginTop = function (value) {
32
- return {
33
- marginTop: tokens_1.space[value] || value,
34
- };
35
- };
36
- var marginRight = function (value, isRTL) {
37
- var _a;
38
- if (isRTL === void 0) { isRTL = false; }
39
- var attr = isRTL ? 'marginLeft' : 'marginRight';
40
- return _a = {},
41
- _a[attr] = tokens_1.space[value] || value,
42
- _a;
43
- };
44
- var marginBottom = function (value) {
45
- return {
46
- marginBottom: tokens_1.space[value] || value,
47
- };
48
- };
49
- var marginLeft = function (value, isRTL) {
50
- var _a;
51
- if (isRTL === void 0) { isRTL = false; }
52
- var attr = isRTL ? 'marginRight' : 'marginLeft';
53
- return _a = {},
54
- _a[attr] = tokens_1.space[value] || value,
55
- _a;
56
- };
57
- var padding = function (value) {
58
- return {
59
- padding: tokens_1.space[value] || value,
60
- };
61
- };
62
- var paddingX = function (value) {
63
- return {
64
- paddingLeft: tokens_1.space[value] || value,
65
- paddingRight: tokens_1.space[value] || value,
66
- };
67
- };
68
- var paddingY = function (value) {
69
- return {
70
- paddingTop: tokens_1.space[value] || value,
71
- paddingBottom: tokens_1.space[value] || value,
72
- };
73
- };
74
- var paddingTop = function (value) {
75
- return {
76
- paddingTop: tokens_1.space[value] || value,
77
- };
78
- };
79
- var paddingRight = function (value, isRTL) {
80
- var _a;
81
- if (isRTL === void 0) { isRTL = false; }
82
- var attr = isRTL ? 'paddingLeft' : 'paddingRight';
83
- return _a = {},
84
- _a[attr] = tokens_1.space[value] || value,
85
- _a;
86
- };
87
- var paddingBottom = function (value) {
88
- return {
89
- paddingBottom: tokens_1.space[value] || value,
90
- };
91
- };
92
- var paddingLeft = function (value, isRTL) {
93
- var _a;
94
- if (isRTL === void 0) { isRTL = false; }
95
- var attr = isRTL ? 'paddingRight' : 'paddingLeft';
96
- return _a = {},
97
- _a[attr] = tokens_1.space[value] || value,
98
- _a;
99
- };
100
- var logicalSpaceStyleProps = {
101
- marginInlineStart: marginLeft,
102
- marginInlineEnd: marginRight,
103
- paddingInlineStart: paddingLeft,
104
- paddingInlineEnd: paddingRight,
105
- };
106
- var standardSpaceStyleProps = {
107
- margin: margin,
108
- marginX: marginX,
109
- marginY: marginY,
110
- marginTop: marginTop,
111
- marginRight: marginRight,
112
- marginBottom: marginBottom,
113
- marginLeft: marginLeft,
114
- padding: padding,
115
- paddingX: paddingX,
116
- paddingY: paddingY,
117
- paddingTop: paddingTop,
118
- paddingRight: paddingRight,
119
- paddingBottom: paddingBottom,
120
- paddingLeft: paddingLeft,
121
- };
122
- /**
123
- * A style prop function that takes component props and returns space styles.
124
- * If no `SpaceStyleProps` are found, it returns an empty object.
125
- *
126
- * @example
127
- * // You'll most likely use `space` with low-level, styled components
128
- * const BoxExample = () => (
129
- * <Box padding="xs" margin="m">
130
- * Hello, space!
131
- * </Box>
132
- * );
133
- *
134
- */
135
- function space(props) {
136
- // space will always be used within the context of a component, but eslint doesn't know that
137
- // eslint-disable-next-line react-hooks/rules-of-hooks
138
- var canvas = common_1.useTheme(props.theme).canvas;
139
- var styles = {};
140
- for (var key in props) {
141
- if (props.hasOwnProperty(key)) {
142
- if (key in standardSpaceStyleProps) {
143
- var value = props[key];
144
- var spaceFn = standardSpaceStyleProps[key];
145
- var style = spaceFn(value);
146
- styles = __assign(__assign({}, styles), style);
147
- continue;
148
- }
149
- if (key in logicalSpaceStyleProps) {
150
- var value = props[key];
151
- var spaceFn = logicalSpaceStyleProps[key];
152
- var isRTL = canvas.direction === common_1.ContentDirection.RTL;
153
- var style = spaceFn(value, isRTL);
154
- styles = __assign(__assign({}, styles), style);
155
- }
156
- }
157
- }
158
- return styles;
159
- }
160
- exports.space = space;
@@ -1,14 +0,0 @@
1
- import { Globals, GlobalsNumber, SelfPosition, DisplayOutside, DisplayInside, DisplayInternal, DisplayLegacy, LineStyle } from 'csstype';
2
- export declare type PropertyBorder = Globals | LineStyle | (string & {});
3
- export declare type PropertyJustifySelf = Globals | SelfPosition | 'auto' | 'baseline' | 'left' | 'normal' | 'right' | 'stretch' | (string & {});
4
- export declare type PropertyAlignSelf = Globals | SelfPosition | 'auto' | 'baseline' | 'normal' | 'stretch' | (string & {});
5
- export declare type PropertyOrder = GlobalsNumber;
6
- export declare type PropertyDisplay = Globals | DisplayOutside | DisplayInside | DisplayInternal | DisplayLegacy | 'contents' | 'list-item' | 'none' | (string & {});
7
- export declare type PropertyListStyle = Globals | 'inside' | 'none' | 'outside' | (string & {});
8
- export declare type PropertyOverflow = Globals | '-moz-hidden-unscrollable' | 'auto' | 'clip' | 'hidden' | 'scroll' | 'visible' | (string & {});
9
- export declare type PropertyOverflowX = Globals | '-moz-hidden-unscrollable' | 'auto' | 'clip' | 'hidden' | 'scroll' | 'visible';
10
- export declare type PropertyOverflowY = Globals | '-moz-hidden-unscrollable' | 'auto' | 'clip' | 'hidden' | 'scroll' | 'visible';
11
- export declare type PropertyVerticalAlign = Globals | 'baseline' | 'bottom' | 'middle' | 'sub' | 'super' | 'text-bottom' | 'text-top' | 'top' | (string & {});
12
- export declare type PropertyPosition = Globals | '-webkit-sticky' | 'absolute' | 'fixed' | 'relative' | 'static' | 'sticky';
13
- export declare type PropertyZIndex = GlobalsNumber | 'auto';
14
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../common/lib/utils/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,aAAa,EACb,YAAY,EACZ,cAAc,EACd,aAAa,EACb,eAAe,EACf,aAAa,EACb,SAAS,EACV,MAAM,SAAS,CAAC;AAMjB,oBAAY,cAAc,GAAG,OAAO,GAAG,SAAS,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAGjE,oBAAY,mBAAmB,GAC3B,OAAO,GACP,YAAY,GACZ,MAAM,GACN,UAAU,GACV,MAAM,GACN,QAAQ,GACR,OAAO,GACP,SAAS,GACT,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElB,oBAAY,iBAAiB,GACzB,OAAO,GACP,YAAY,GACZ,MAAM,GACN,UAAU,GACV,QAAQ,GACR,SAAS,GACT,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElB,oBAAY,aAAa,GAAG,aAAa,CAAC;AAG1C,oBAAY,eAAe,GACvB,OAAO,GACP,cAAc,GACd,aAAa,GACb,eAAe,GACf,aAAa,GACb,UAAU,GACV,WAAW,GACX,MAAM,GACN,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElB,oBAAY,iBAAiB,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAExF,oBAAY,gBAAgB,GACxB,OAAO,GACP,0BAA0B,GAC1B,MAAM,GACN,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElB,oBAAY,iBAAiB,GACzB,OAAO,GACP,0BAA0B,GAC1B,MAAM,GACN,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,SAAS,CAAC;AAEd,oBAAY,iBAAiB,GACzB,OAAO,GACP,0BAA0B,GAC1B,MAAM,GACN,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,SAAS,CAAC;AAEd,oBAAY,qBAAqB,GAC7B,OAAO,GACP,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,OAAO,GACP,aAAa,GACb,UAAU,GACV,KAAK,GACL,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAGlB,oBAAY,gBAAgB,GACxB,OAAO,GACP,gBAAgB,GAChB,UAAU,GACV,OAAO,GACP,UAAU,GACV,QAAQ,GACR,QAAQ,CAAC;AAEb,oBAAY,cAAc,GAAG,aAAa,GAAG,MAAM,CAAC"}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +0,0 @@
1
- import DeprecatedHeader from './lib/Header';
2
- import DeprecatedGlobalHeader from './lib/GlobalHeader';
3
- export default DeprecatedHeader;
4
- export { DeprecatedHeader };
5
- export { DeprecatedGlobalHeader };
6
- export * from './lib/parts';
7
- export * from './lib/shared/themes';
8
- export * from './lib/shared/types';
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../header/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,cAAc,CAAC;AAC5C,OAAO,sBAAsB,MAAM,oBAAoB,CAAC;AAExD,eAAe,gBAAgB,CAAC;AAChC,OAAO,EAAC,gBAAgB,EAAC,CAAC;AAC1B,OAAO,EAAC,sBAAsB,EAAC,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- function __export(m) {
3
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
- }
5
- var __importDefault = (this && this.__importDefault) || function (mod) {
6
- return (mod && mod.__esModule) ? mod : { "default": mod };
7
- };
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- var Header_1 = __importDefault(require("./lib/Header"));
10
- exports.DeprecatedHeader = Header_1.default;
11
- var GlobalHeader_1 = __importDefault(require("./lib/GlobalHeader"));
12
- exports.DeprecatedGlobalHeader = GlobalHeader_1.default;
13
- exports.default = Header_1.default;
14
- __export(require("./lib/parts"));
15
- __export(require("./lib/shared/themes"));
16
- __export(require("./lib/shared/types"));
@@ -1,38 +0,0 @@
1
- import * as React from 'react';
2
- export interface GlobalHeaderProps {
3
- /**
4
- * The custom brand node of the GlobalHeader. This React node replaces the dub logo and title.
5
- * @default DubLogoTitle
6
- */
7
- brand?: React.ReactNode;
8
- /**
9
- * The custom menu toggle node of the GlobalHeader. This React node replaces the default menu toggle.
10
- */
11
- menuToggle?: React.ReactNode;
12
- /**
13
- * The function called when the responsive menu icon is clicked.
14
- */
15
- onMenuClick?: (e: React.MouseEvent) => void;
16
- /**
17
- * If true, render the GlobalHeader in collapsed mode.
18
- * @default false
19
- */
20
- isCollapsed?: boolean;
21
- /**
22
- * The React element to render in the left slot of the GlobalHeader. This is typically a SearchForm component.
23
- */
24
- leftSlot?: React.ReactElement;
25
- }
26
- /**
27
- * ### Deprecated Global Header
28
- *
29
- * As of Canvas Kit v6, this component is being soft-deprecated.
30
- * It will be hard-deprecated (completely removed) in v7. Please see the
31
- * [migration guide](https://workday.github.io/canvas-kit/?path=/story/welcome-migration-guides-v6-0--page)
32
- * for more information.
33
- */
34
- export default class DeprecatedGlobalHeader extends React.Component<GlobalHeaderProps> {
35
- componentDidMount(): void;
36
- render(): JSX.Element;
37
- }
38
- //# sourceMappingURL=GlobalHeader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GlobalHeader.d.ts","sourceRoot":"","sources":["../../../../header/lib/GlobalHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB;;OAEG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAC5C;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;CAC/B;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC;IACpF,iBAAiB;IASV,MAAM;CAwBd"}
@@ -1,74 +0,0 @@
1
- "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- extendStatics(d, b);
11
- function __() { this.constructor = d; }
12
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
- };
14
- })();
15
- var __assign = (this && this.__assign) || function () {
16
- __assign = Object.assign || function(t) {
17
- for (var s, i = 1, n = arguments.length; i < n; i++) {
18
- s = arguments[i];
19
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
20
- t[p] = s[p];
21
- }
22
- return t;
23
- };
24
- return __assign.apply(this, arguments);
25
- };
26
- var __rest = (this && this.__rest) || function (s, e) {
27
- var t = {};
28
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
29
- t[p] = s[p];
30
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
31
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
32
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
33
- t[p[i]] = s[p[i]];
34
- }
35
- return t;
36
- };
37
- var __importStar = (this && this.__importStar) || function (mod) {
38
- if (mod && mod.__esModule) return mod;
39
- var result = {};
40
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
41
- result["default"] = mod;
42
- return result;
43
- };
44
- var __importDefault = (this && this.__importDefault) || function (mod) {
45
- return (mod && mod.__esModule) ? mod : { "default": mod };
46
- };
47
- Object.defineProperty(exports, "__esModule", { value: true });
48
- var React = __importStar(require("react"));
49
- var Header_1 = __importDefault(require("./Header"));
50
- var types_1 = require("./shared/types");
51
- var parts_1 = require("./parts");
52
- /**
53
- * ### Deprecated Global Header
54
- *
55
- * As of Canvas Kit v6, this component is being soft-deprecated.
56
- * It will be hard-deprecated (completely removed) in v7. Please see the
57
- * [migration guide](https://workday.github.io/canvas-kit/?path=/story/welcome-migration-guides-v6-0--page)
58
- * for more information.
59
- */
60
- var DeprecatedGlobalHeader = /** @class */ (function (_super) {
61
- __extends(DeprecatedGlobalHeader, _super);
62
- function DeprecatedGlobalHeader() {
63
- return _super !== null && _super.apply(this, arguments) || this;
64
- }
65
- DeprecatedGlobalHeader.prototype.componentDidMount = function () {
66
- console.warn("GlobalHeader is being deprecated and will be removed in Canvas Kit V7.\n\n For more information, please see the V6 migration guide:\n\n https://workday.github.io/canvas-kit/?path=/story/welcome-migration-guides-v6-0--page\n ");
67
- };
68
- DeprecatedGlobalHeader.prototype.render = function () {
69
- var _a = this.props, _b = _a.brand, brand = _b === void 0 ? React.createElement(parts_1.DeprecatedDubLogoTitle, null) : _b, menuToggle = _a.menuToggle, onMenuClick = _a.onMenuClick, isCollapsed = _a.isCollapsed, leftSlot = _a.leftSlot, children = _a.children, elemProps = __rest(_a, ["brand", "menuToggle", "onMenuClick", "isCollapsed", "leftSlot", "children"]);
70
- return (React.createElement(Header_1.default, __assign({ brand: brand, menuToggle: menuToggle, leftSlot: leftSlot, onMenuClick: onMenuClick, variant: types_1.DeprecatedHeaderVariant.Global, isCollapsed: isCollapsed }, elemProps), children));
71
- };
72
- return DeprecatedGlobalHeader;
73
- }(React.Component));
74
- exports.default = DeprecatedGlobalHeader;
@@ -1,76 +0,0 @@
1
- import * as React from 'react';
2
- import { DeprecatedHeaderTheme, DeprecatedHeaderVariant } from './shared/types';
3
- export interface HeaderProps extends React.HTMLAttributes<HTMLDivElement> {
4
- /**
5
- * The custom menu toggle node of the Header. This React node replaces the default menu toggle.
6
- */
7
- menuToggle?: React.ReactNode;
8
- /**
9
- * The theme of the Header. Accepts `White`, `Blue`, or `Transparent`.
10
- * @default DeprecatedHeaderTheme.White
11
- */
12
- themeColor?: DeprecatedHeaderTheme;
13
- /**
14
- * The variant of the Header. Accepts `Dub` (small) or `Full` (large).
15
- * @default DeprecatedHeaderVariant.Dub
16
- */
17
- variant?: DeprecatedHeaderVariant;
18
- /**
19
- * The text of the Header title. Not used if `brand` is provided.
20
- */
21
- title?: string;
22
- /**
23
- * The custom brand node of the Header. This React node replaces the dub logo and title.
24
- */
25
- brand?: React.ReactNode;
26
- /**
27
- * The url of the Header logo link.
28
- */
29
- brandUrl?: string;
30
- /**
31
- * If true, center the Header navigation. If false, right-align the Header navigation.
32
- * @default false
33
- */
34
- centeredNav?: boolean;
35
- /**
36
- * The function called when the responsive menu icon is clicked.
37
- */
38
- onMenuClick?: (e: React.MouseEvent) => void;
39
- /**
40
- * The React element to render in the left slot of the Header. This is typically a SearchForm component.
41
- */
42
- leftSlot?: React.ReactElement;
43
- /**
44
- * If true, render the Header in collapsed mode.
45
- * @default false
46
- */
47
- isCollapsed?: boolean;
48
- }
49
- /**
50
- * ### Deprecated Header
51
- *
52
- * As of Canvas Kit v6, this component is being soft-deprecated.
53
- * It will be hard-deprecated (completely removed) in v7. Please see the
54
- * [migration guide](https://workday.github.io/canvas-kit/?path=/story/welcome-migration-guides-v6-0--page)
55
- * for more information.
56
- */
57
- export default class Header extends React.Component<HeaderProps, {}> {
58
- static Theme: typeof DeprecatedHeaderTheme;
59
- static Variant: typeof DeprecatedHeaderVariant;
60
- componentDidMount(): void;
61
- /**
62
- * Helper that recursively maps ReactNodes to their theme-based equivalent.
63
- * Any children that are included in a Header may need to undergo transformation
64
- * before stamped out in render().
65
- *
66
- * E.g. <SystemIcon> components need to have the appropriate `color` and `colorHover`
67
- * props set based on the theme.
68
- *
69
- * @param children From props.children of a React component
70
- *
71
- * @returns {React.ReactNode} The child/children to be rendered
72
- */
73
- private renderChildren;
74
- render(): JSX.Element;
75
- }
76
- //# sourceMappingURL=Header.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../header/lib/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAEL,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,gBAAgB,CAAC;AAMxB,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACvE;;OAEG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B;;;OAGG;IACH,UAAU,CAAC,EAAE,qBAAqB,CAAC;IACnC;;;OAGG;IACH,OAAO,CAAC,EAAE,uBAAuB,CAAC;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAC5C;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC9B;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AA4ND;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,KAAK,CAAC,SAAS,CAAC,WAAW,EAAE,EAAE,CAAC;IAClE,MAAM,CAAC,KAAK,+BAAyB;IACrC,MAAM,CAAC,OAAO,iCAA2B;IAEzC,iBAAiB;IASjB;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,cAAc;IAwDtB,MAAM;CA0DP"}