@grucloud/bau-ui 0.42.0 → 0.43.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 (297) hide show
  1. package/README.md +2 -2
  2. package/accordion/accordion.js +32 -62
  3. package/accordion/index.d.ts +5 -7
  4. package/alert/alert.js +33 -30
  5. package/animate/animate.js +1 -1
  6. package/autocomplete/autocomplete.js +14 -11
  7. package/avatar/avatar.js +5 -2
  8. package/bau-ui.d.ts +3 -1
  9. package/breadcrumbs/breadcrumbs.js +2 -5
  10. package/button/button.js +59 -61
  11. package/buttonGroup/buttonGroup.js +4 -3
  12. package/carousel/carousel.js +105 -0
  13. package/carousel/index.d.ts +22 -0
  14. package/carousel/index.js +1 -0
  15. package/chip/chip.js +8 -8
  16. package/collapsible/collapsible.js +121 -0
  17. package/collapsible/index.d.ts +10 -0
  18. package/collapsible/index.js +1 -0
  19. package/constants.d.ts +8 -2
  20. package/constants.js +8 -1
  21. package/context.d.ts +2 -0
  22. package/docs/.nojekyll +1 -0
  23. package/docs/assets/highlight.css +22 -0
  24. package/docs/assets/main.js +58 -0
  25. package/docs/assets/search.js +1 -0
  26. package/docs/assets/style.css +1367 -0
  27. package/docs/functions/accordion.default.html +100 -0
  28. package/docs/functions/alert.default.html +97 -0
  29. package/docs/functions/alertStack.default.html +97 -0
  30. package/docs/functions/animate.default.html +93 -0
  31. package/docs/functions/autocomplete.default.html +97 -0
  32. package/docs/functions/avatar.default.html +97 -0
  33. package/docs/functions/badge.default.html +97 -0
  34. package/docs/functions/breadcrumbs.default.html +98 -0
  35. package/docs/functions/button.default.html +97 -0
  36. package/docs/functions/buttonGroup.default.html +97 -0
  37. package/docs/functions/calendar.default.html +97 -0
  38. package/docs/functions/checkbox.default.html +97 -0
  39. package/docs/functions/chip.default.html +97 -0
  40. package/docs/functions/context.createContext.html +92 -0
  41. package/docs/functions/drawer.default.html +97 -0
  42. package/docs/functions/drillDownMenu.default.html +100 -0
  43. package/docs/functions/fileInput.default.html +97 -0
  44. package/docs/functions/form.default.html +97 -0
  45. package/docs/functions/globalStyle.default.html +96 -0
  46. package/docs/functions/input.default.html +97 -0
  47. package/docs/functions/list.default.html +97 -0
  48. package/docs/functions/modal.default.html +97 -0
  49. package/docs/functions/paper.default.html +97 -0
  50. package/docs/functions/popover.default.html +97 -0
  51. package/docs/functions/select.default.html +97 -0
  52. package/docs/functions/slider.default.html +97 -0
  53. package/docs/functions/spinner.default.html +97 -0
  54. package/docs/functions/switch.default.html +97 -0
  55. package/docs/functions/tableContainer.default.html +96 -0
  56. package/docs/functions/tablePagination.default.html +97 -0
  57. package/docs/functions/tabs.default.html +101 -0
  58. package/docs/functions/themeSwitch.default.html +96 -0
  59. package/docs/functions/tooltip.default.html +97 -0
  60. package/docs/functions/treeView.default.html +100 -0
  61. package/docs/index.html +82 -0
  62. package/docs/modules/accordion.html +104 -0
  63. package/docs/modules/alert.html +98 -0
  64. package/docs/modules/alertStack.html +98 -0
  65. package/docs/modules/animate.html +94 -0
  66. package/docs/modules/autocomplete.html +98 -0
  67. package/docs/modules/avatar.html +98 -0
  68. package/docs/modules/badge.html +98 -0
  69. package/docs/modules/bau_ui.html +97 -0
  70. package/docs/modules/breadcrumbs.html +100 -0
  71. package/docs/modules/button.html +98 -0
  72. package/docs/modules/buttonGroup.html +98 -0
  73. package/docs/modules/calendar.html +98 -0
  74. package/docs/modules/checkbox.html +98 -0
  75. package/docs/modules/chip.html +98 -0
  76. package/docs/modules/constants.html +102 -0
  77. package/docs/modules/context.html +92 -0
  78. package/docs/modules/drawer.html +98 -0
  79. package/docs/modules/drillDownMenu.html +104 -0
  80. package/docs/modules/fileInput.html +98 -0
  81. package/docs/modules/form.html +98 -0
  82. package/docs/modules/globalStyle.html +96 -0
  83. package/docs/modules/input.html +98 -0
  84. package/docs/modules/list.html +98 -0
  85. package/docs/modules/modal.html +98 -0
  86. package/docs/modules/paper.html +98 -0
  87. package/docs/modules/popover.html +98 -0
  88. package/docs/modules/select.html +98 -0
  89. package/docs/modules/slider.html +98 -0
  90. package/docs/modules/spinner.html +98 -0
  91. package/docs/modules/switch.html +98 -0
  92. package/docs/modules/tableContainer.html +96 -0
  93. package/docs/modules/tablePagination.html +98 -0
  94. package/docs/modules/tabs.html +106 -0
  95. package/docs/modules/themeSwitch.html +96 -0
  96. package/docs/modules/tooltip.html +98 -0
  97. package/docs/modules/treeView.html +104 -0
  98. package/docs/types/accordion.Accordion.html +96 -0
  99. package/docs/types/accordion.AccordionItem.html +89 -0
  100. package/docs/types/accordion.AccordionItemPropBase.html +94 -0
  101. package/docs/types/accordion.AccordionProps.html +94 -0
  102. package/docs/types/accordion.Component.html +89 -0
  103. package/docs/types/accordion.ComponentOption.html +89 -0
  104. package/docs/types/accordion.DefaultDesignProps.html +89 -0
  105. package/docs/types/alert.AnimateProps.html +91 -0
  106. package/docs/types/alert.Component.html +86 -0
  107. package/docs/types/alert.ComponentOption.html +86 -0
  108. package/docs/types/alert.DefaultDesignProps.html +86 -0
  109. package/docs/types/alertStack.AlertStack.html +86 -0
  110. package/docs/types/alertStack.AlertStackProps.html +89 -0
  111. package/docs/types/alertStack.ComponentOption.html +86 -0
  112. package/docs/types/alertStack.DefaultDesignProps.html +86 -0
  113. package/docs/types/animate.AnimateProps.html +103 -0
  114. package/docs/types/animate.Component.html +84 -0
  115. package/docs/types/autocomplete.Autocomplete.html +125 -0
  116. package/docs/types/autocomplete.Component.html +86 -0
  117. package/docs/types/autocomplete.ComponentOption.html +86 -0
  118. package/docs/types/autocomplete.DefaultDesignProps.html +86 -0
  119. package/docs/types/avatar.AvatarProps.html +99 -0
  120. package/docs/types/avatar.Component.html +86 -0
  121. package/docs/types/avatar.ComponentOption.html +86 -0
  122. package/docs/types/avatar.DefaultDesignProps.html +86 -0
  123. package/docs/types/badge.BadgeProps.html +91 -0
  124. package/docs/types/badge.Component.html +86 -0
  125. package/docs/types/badge.ComponentOption.html +86 -0
  126. package/docs/types/badge.DefaultDesignProps.html +86 -0
  127. package/docs/types/bau_ui.ChildDom.html +87 -0
  128. package/docs/types/bau_ui.Component.html +111 -0
  129. package/docs/types/bau_ui.ComponentGeneric.html +102 -0
  130. package/docs/types/bau_ui.ComponentOneChild.html +109 -0
  131. package/docs/types/bau_ui.ComponentOption.html +92 -0
  132. package/docs/types/bau_ui.ComponentWithProp.html +109 -0
  133. package/docs/types/breadcrumbs.BreadcrumbsProps.html +94 -0
  134. package/docs/types/breadcrumbs.Component.html +87 -0
  135. package/docs/types/breadcrumbs.ComponentGeneric.html +87 -0
  136. package/docs/types/breadcrumbs.ComponentOption.html +87 -0
  137. package/docs/types/breadcrumbs.DefaultDesignProps.html +87 -0
  138. package/docs/types/button.ButtonProps.html +93 -0
  139. package/docs/types/button.Component.html +86 -0
  140. package/docs/types/button.ComponentOption.html +86 -0
  141. package/docs/types/button.DefaultDesignProps.html +86 -0
  142. package/docs/types/buttonGroup.ButtonGroupProps.html +89 -0
  143. package/docs/types/buttonGroup.Component.html +86 -0
  144. package/docs/types/buttonGroup.ComponentOption.html +86 -0
  145. package/docs/types/buttonGroup.DefaultDesignProps.html +86 -0
  146. package/docs/types/calendar.CalendarProps.html +89 -0
  147. package/docs/types/calendar.Component.html +86 -0
  148. package/docs/types/calendar.ComponentOption.html +86 -0
  149. package/docs/types/calendar.DefaultDesignProps.html +86 -0
  150. package/docs/types/checkbox.CheckboxProps.html +89 -0
  151. package/docs/types/checkbox.Component.html +86 -0
  152. package/docs/types/checkbox.ComponentOption.html +86 -0
  153. package/docs/types/checkbox.DefaultDesignProps.html +86 -0
  154. package/docs/types/chip.ChipProps.html +89 -0
  155. package/docs/types/chip.Component.html +86 -0
  156. package/docs/types/chip.ComponentOption.html +86 -0
  157. package/docs/types/chip.DefaultDesignProps.html +86 -0
  158. package/docs/types/constants.Color.html +88 -0
  159. package/docs/types/constants.DefaultDesignProps.html +97 -0
  160. package/docs/types/constants.Size.html +88 -0
  161. package/docs/types/constants.Variant.html +88 -0
  162. package/docs/types/context.Context.html +107 -0
  163. package/docs/types/drawer.Component.html +86 -0
  164. package/docs/types/drawer.ComponentOption.html +86 -0
  165. package/docs/types/drawer.DefaultDesignProps.html +86 -0
  166. package/docs/types/drawer.DrawerProps.html +89 -0
  167. package/docs/types/drillDownMenu.Component.html +89 -0
  168. package/docs/types/drillDownMenu.ComponentGeneric.html +89 -0
  169. package/docs/types/drillDownMenu.ComponentOption.html +89 -0
  170. package/docs/types/drillDownMenu.DefaultDesignProps.html +89 -0
  171. package/docs/types/drillDownMenu.Option.html +116 -0
  172. package/docs/types/drillDownMenu.Tree.html +96 -0
  173. package/docs/types/drillDownMenu.TreeViewProps.html +94 -0
  174. package/docs/types/fileInput.Component.html +86 -0
  175. package/docs/types/fileInput.ComponentOption.html +86 -0
  176. package/docs/types/fileInput.DefaultDesignProps.html +86 -0
  177. package/docs/types/fileInput.FileInputProps.html +91 -0
  178. package/docs/types/form.Component.html +86 -0
  179. package/docs/types/form.ComponentOption.html +86 -0
  180. package/docs/types/form.DefaultDesignProps.html +86 -0
  181. package/docs/types/form.FormProps.html +89 -0
  182. package/docs/types/globalStyle.ColorDefs.html +85 -0
  183. package/docs/types/globalStyle.HSL.html +94 -0
  184. package/docs/types/globalStyle.StyleOption.html +90 -0
  185. package/docs/types/input.Component.html +86 -0
  186. package/docs/types/input.ComponentOption.html +86 -0
  187. package/docs/types/input.DefaultDesignProps.html +86 -0
  188. package/docs/types/input.InputProps.html +89 -0
  189. package/docs/types/list.Component.html +86 -0
  190. package/docs/types/list.ComponentOption.html +86 -0
  191. package/docs/types/list.DefaultDesignProps.html +86 -0
  192. package/docs/types/list.ListProps.html +89 -0
  193. package/docs/types/modal.Component.html +86 -0
  194. package/docs/types/modal.ComponentOption.html +86 -0
  195. package/docs/types/modal.DefaultDesignProps.html +86 -0
  196. package/docs/types/modal.ModalProps.html +89 -0
  197. package/docs/types/paper.Component.html +86 -0
  198. package/docs/types/paper.ComponentOption.html +86 -0
  199. package/docs/types/paper.DefaultDesignProps.html +86 -0
  200. package/docs/types/paper.PaperProps.html +89 -0
  201. package/docs/types/popover.Action.html +105 -0
  202. package/docs/types/popover.Component.html +86 -0
  203. package/docs/types/popover.ComponentOption.html +86 -0
  204. package/docs/types/popover.PopoverProps.html +89 -0
  205. package/docs/types/select.Component.html +86 -0
  206. package/docs/types/select.ComponentOption.html +86 -0
  207. package/docs/types/select.DefaultDesignProps.html +86 -0
  208. package/docs/types/select.SelectProps.html +121 -0
  209. package/docs/types/slider.Component.html +86 -0
  210. package/docs/types/slider.ComponentOption.html +86 -0
  211. package/docs/types/slider.DefaultDesignProps.html +86 -0
  212. package/docs/types/slider.SliderProps.html +89 -0
  213. package/docs/types/spinner.Component.html +86 -0
  214. package/docs/types/spinner.ComponentOption.html +86 -0
  215. package/docs/types/spinner.DefaultDesignProps.html +86 -0
  216. package/docs/types/spinner.SpinnerProps.html +91 -0
  217. package/docs/types/switch.Component.html +86 -0
  218. package/docs/types/switch.ComponentOption.html +86 -0
  219. package/docs/types/switch.DefaultDesignProps.html +86 -0
  220. package/docs/types/switch.SwitchProps.html +89 -0
  221. package/docs/types/tableContainer.Component.html +85 -0
  222. package/docs/types/tableContainer.ComponentOption.html +85 -0
  223. package/docs/types/tableContainer.TableProps.html +88 -0
  224. package/docs/types/tablePagination.Component.html +86 -0
  225. package/docs/types/tablePagination.ComponentOption.html +86 -0
  226. package/docs/types/tablePagination.TablePaginationProps.html +99 -0
  227. package/docs/types/tablePagination.onPageChange.html +110 -0
  228. package/docs/types/tabs.Component.html +90 -0
  229. package/docs/types/tabs.ComponentOption.html +90 -0
  230. package/docs/types/tabs.ComponentTab.html +90 -0
  231. package/docs/types/tabs.Option.html +95 -0
  232. package/docs/types/tabs.Tab.html +97 -0
  233. package/docs/types/tabs.TabPropBase.html +101 -0
  234. package/docs/types/tabs.Tabs.html +90 -0
  235. package/docs/types/tabs.TabsProps.html +93 -0
  236. package/docs/types/themeSwitch.Component.html +85 -0
  237. package/docs/types/themeSwitch.ComponentOption.html +85 -0
  238. package/docs/types/themeSwitch.ThemeSwitchProps.html +88 -0
  239. package/docs/types/tooltip.Component.html +86 -0
  240. package/docs/types/tooltip.ComponentOption.html +86 -0
  241. package/docs/types/tooltip.DefaultDesignProps.html +86 -0
  242. package/docs/types/tooltip.TooltipProps.html +91 -0
  243. package/docs/types/treeView.Component.html +89 -0
  244. package/docs/types/treeView.ComponentGeneric.html +89 -0
  245. package/docs/types/treeView.ComponentOption.html +89 -0
  246. package/docs/types/treeView.DefaultDesignProps.html +89 -0
  247. package/docs/types/treeView.Option.html +94 -0
  248. package/docs/types/treeView.Tree.html +98 -0
  249. package/docs/types/treeView.TreeViewProps.html +94 -0
  250. package/docs/variables/constants.Colors.html +88 -0
  251. package/docs/variables/constants.Sizes.html +88 -0
  252. package/docs/variables/constants.Variants.html +88 -0
  253. package/drillDownMenu/drillDownMenu.js +59 -26
  254. package/drillDownMenu/index.d.ts +1 -0
  255. package/fileInput/fileInput.js +3 -5
  256. package/form/form.js +32 -1
  257. package/globalStyle/globalStyle.js +1 -1
  258. package/input/input.js +13 -13
  259. package/linearProgress/index.d.ts +12 -0
  260. package/linearProgress/index.js +1 -0
  261. package/linearProgress/linearProgress.js +84 -0
  262. package/list/list.js +3 -11
  263. package/loadingButton/index.d.ts +12 -0
  264. package/loadingButton/index.js +1 -0
  265. package/loadingButton/loadingButton.js +70 -0
  266. package/modal/modal.js +25 -27
  267. package/package.json +10 -5
  268. package/paginationNavigation/index.d.ts +10 -0
  269. package/paginationNavigation/index.js +1 -0
  270. package/paginationNavigation/paginationNavigation.js +78 -0
  271. package/paper/index.d.ts +10 -0
  272. package/paper/index.js +1 -0
  273. package/paper/paper.js +51 -0
  274. package/popover/popover.js +14 -3
  275. package/radioButton/index.d.ts +15 -0
  276. package/radioButton/index.js +1 -0
  277. package/radioButton/radioButton.js +49 -0
  278. package/select/select.js +21 -8
  279. package/spinner/index.d.ts +1 -3
  280. package/spinner/spinner.js +98 -55
  281. package/stepper/index.d.ts +28 -0
  282. package/stepper/index.js +1 -0
  283. package/stepper/stepper.js +159 -0
  284. package/tableContainer/tableContainer.js +2 -3
  285. package/tableOfContent/index.d.ts +10 -0
  286. package/tableOfContent/index.js +1 -0
  287. package/tableOfContent/tableOfContent.js +159 -0
  288. package/tabs/tabs.js +56 -56
  289. package/toggle/index.d.ts +10 -0
  290. package/toggle/index.js +1 -0
  291. package/toggle/toggle.js +106 -0
  292. package/toggleGroup/index.d.ts +13 -0
  293. package/toggleGroup/index.js +1 -0
  294. package/toggleGroup/toggleGroup.js +94 -0
  295. package/tooltip/tooltip.js +1 -6
  296. package/treeView/treeView.js +30 -88
  297. package/tsconfig.json +23 -0
@@ -0,0 +1,88 @@
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Sizes | @grucloud/bau-ui</title><meta name="description" content="Documentation for @grucloud/bau-ui"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
+ <div class="tsd-toolbar-contents container">
3
+ <div class="table-cell" id="tsd-search" data-base="..">
4
+ <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
5
+ <div class="field">
6
+ <div id="tsd-toolbar-links"></div></div>
7
+ <ul class="results">
8
+ <li class="state loading">Preparing search index...</li>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@grucloud/bau-ui</a></div>
10
+ <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
+ <div class="container container-main">
12
+ <div class="col-content">
13
+ <div class="tsd-page-title">
14
+ <ul class="tsd-breadcrumb">
15
+ <li><a href="../index.html">@grucloud/bau-ui</a></li>
16
+ <li><a href="../modules/constants.html">constants</a></li>
17
+ <li><a href="constants.Sizes.html">Sizes</a></li></ul>
18
+ <h1>Variable Sizes<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
19
+ <div class="tsd-signature"><span class="tsd-kind-variable">Sizes</span><span class="tsd-signature-symbol">:</span> <a href="../types/constants.Size.html" class="tsd-signature-type tsd-kind-type-alias">Size</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
20
+ <ul>
21
+ <li>Defined in <a href="https://github.com/grucloud/bau/blob/2d0ccd8/bau-ui/constants.d.ts#L7">constants.d.ts:7</a></li></ul></aside></div>
22
+ <div class="col-sidebar">
23
+ <div class="page-menu">
24
+ <div class="tsd-navigation settings">
25
+ <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
26
+ <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
27
+ <div class="tsd-accordion-details">
28
+ <div class="tsd-filter-visibility">
29
+ <h4 class="uppercase">Member Visibility</h4><form>
30
+ <ul id="tsd-filter-options">
31
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
32
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
33
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
34
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
35
+ <div class="tsd-theme-toggle">
36
+ <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
37
+ <div class="site-menu">
38
+ <nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>@grucloud/bau-<wbr/>ui</span></a>
39
+ <ul class="tsd-small-nested-navigation">
40
+ <li><a href="../modules/accordion.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>accordion</span></a></li>
41
+ <li><a href="../modules/alert.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>alert</span></a></li>
42
+ <li><a href="../modules/alertStack.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>alert<wbr/>Stack</span></a></li>
43
+ <li><a href="../modules/animate.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>animate</span></a></li>
44
+ <li><a href="../modules/autocomplete.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>autocomplete</span></a></li>
45
+ <li><a href="../modules/avatar.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>avatar</span></a></li>
46
+ <li><a href="../modules/badge.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>badge</span></a></li>
47
+ <li><a href="../modules/bau_ui.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>bau-<wbr/>ui</span></a></li>
48
+ <li><a href="../modules/breadcrumbs.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>breadcrumbs</span></a></li>
49
+ <li><a href="../modules/button.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>button</span></a></li>
50
+ <li><a href="../modules/buttonGroup.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>button<wbr/>Group</span></a></li>
51
+ <li><a href="../modules/calendar.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>calendar</span></a></li>
52
+ <li><a href="../modules/checkbox.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>checkbox</span></a></li>
53
+ <li><a href="../modules/chip.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>chip</span></a></li>
54
+ <li>
55
+ <details class="tsd-index-accordion" open data-key="constants"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/constants.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>constants</span></a></summary>
56
+ <div class="tsd-accordion-details">
57
+ <ul class="tsd-nested-navigation">
58
+ <li><a href="../types/constants.Color.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>Color</span></a></li>
59
+ <li><a href="../types/constants.DefaultDesignProps.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Default<wbr/>Design<wbr/>Props</span></a></li>
60
+ <li><a href="../types/constants.Size.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Size</span></a></li>
61
+ <li><a href="../types/constants.Variant.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Variant</span></a></li>
62
+ <li><a href="constants.Colors.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-32"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)"></path></g></svg><span>Colors</span></a></li>
63
+ <li><a href="constants.Sizes.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-32"></use></svg><span>Sizes</span></a></li>
64
+ <li><a href="constants.Variants.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-32"></use></svg><span>Variants</span></a></li></ul></div></details></li>
65
+ <li><a href="../modules/context.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>context</span></a></li>
66
+ <li><a href="../modules/drawer.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>drawer</span></a></li>
67
+ <li><a href="../modules/drillDownMenu.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>drill<wbr/>Down<wbr/>Menu</span></a></li>
68
+ <li><a href="../modules/fileInput.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>file<wbr/>Input</span></a></li>
69
+ <li><a href="../modules/form.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>form</span></a></li>
70
+ <li><a href="../modules/globalStyle.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>global<wbr/>Style</span></a></li>
71
+ <li><a href="../modules/input.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>input</span></a></li>
72
+ <li><a href="../modules/list.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>list</span></a></li>
73
+ <li><a href="../modules/modal.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>modal</span></a></li>
74
+ <li><a href="../modules/paper.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>paper</span></a></li>
75
+ <li><a href="../modules/popover.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>popover</span></a></li>
76
+ <li><a href="../modules/select.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>select</span></a></li>
77
+ <li><a href="../modules/slider.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>slider</span></a></li>
78
+ <li><a href="../modules/spinner.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>spinner</span></a></li>
79
+ <li><a href="../modules/switch.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>switch</span></a></li>
80
+ <li><a href="../modules/tableContainer.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>table<wbr/>Container</span></a></li>
81
+ <li><a href="../modules/tablePagination.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>table<wbr/>Pagination</span></a></li>
82
+ <li><a href="../modules/tabs.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>tabs</span></a></li>
83
+ <li><a href="../modules/themeSwitch.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>theme<wbr/>Switch</span></a></li>
84
+ <li><a href="../modules/tooltip.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>tooltip</span></a></li>
85
+ <li><a href="../modules/treeView.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>tree<wbr/>View</span></a></li></ul></nav></div></div></div>
86
+ <div class="tsd-generator">
87
+ <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
88
+ <div class="overlay"></div></body></html>
@@ -0,0 +1,88 @@
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Variants | @grucloud/bau-ui</title><meta name="description" content="Documentation for @grucloud/bau-ui"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
+ <div class="tsd-toolbar-contents container">
3
+ <div class="table-cell" id="tsd-search" data-base="..">
4
+ <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
5
+ <div class="field">
6
+ <div id="tsd-toolbar-links"></div></div>
7
+ <ul class="results">
8
+ <li class="state loading">Preparing search index...</li>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@grucloud/bau-ui</a></div>
10
+ <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
+ <div class="container container-main">
12
+ <div class="col-content">
13
+ <div class="tsd-page-title">
14
+ <ul class="tsd-breadcrumb">
15
+ <li><a href="../index.html">@grucloud/bau-ui</a></li>
16
+ <li><a href="../modules/constants.html">constants</a></li>
17
+ <li><a href="constants.Variants.html">Variants</a></li></ul>
18
+ <h1>Variable Variants<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
19
+ <div class="tsd-signature"><span class="tsd-kind-variable">Variants</span><span class="tsd-signature-symbol">:</span> <a href="../types/constants.Variant.html" class="tsd-signature-type tsd-kind-type-alias">Variant</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources">
20
+ <ul>
21
+ <li>Defined in <a href="https://github.com/grucloud/bau/blob/2d0ccd8/bau-ui/constants.d.ts#L5">constants.d.ts:5</a></li></ul></aside></div>
22
+ <div class="col-sidebar">
23
+ <div class="page-menu">
24
+ <div class="tsd-navigation settings">
25
+ <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
26
+ <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
27
+ <div class="tsd-accordion-details">
28
+ <div class="tsd-filter-visibility">
29
+ <h4 class="uppercase">Member Visibility</h4><form>
30
+ <ul id="tsd-filter-options">
31
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
32
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li>
33
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
34
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
35
+ <div class="tsd-theme-toggle">
36
+ <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
37
+ <div class="site-menu">
38
+ <nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>@grucloud/bau-<wbr/>ui</span></a>
39
+ <ul class="tsd-small-nested-navigation">
40
+ <li><a href="../modules/accordion.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>accordion</span></a></li>
41
+ <li><a href="../modules/alert.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>alert</span></a></li>
42
+ <li><a href="../modules/alertStack.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>alert<wbr/>Stack</span></a></li>
43
+ <li><a href="../modules/animate.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>animate</span></a></li>
44
+ <li><a href="../modules/autocomplete.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>autocomplete</span></a></li>
45
+ <li><a href="../modules/avatar.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>avatar</span></a></li>
46
+ <li><a href="../modules/badge.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>badge</span></a></li>
47
+ <li><a href="../modules/bau_ui.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>bau-<wbr/>ui</span></a></li>
48
+ <li><a href="../modules/breadcrumbs.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>breadcrumbs</span></a></li>
49
+ <li><a href="../modules/button.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>button</span></a></li>
50
+ <li><a href="../modules/buttonGroup.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>button<wbr/>Group</span></a></li>
51
+ <li><a href="../modules/calendar.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>calendar</span></a></li>
52
+ <li><a href="../modules/checkbox.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>checkbox</span></a></li>
53
+ <li><a href="../modules/chip.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>chip</span></a></li>
54
+ <li>
55
+ <details class="tsd-index-accordion" open data-key="constants"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg><a href="../modules/constants.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>constants</span></a></summary>
56
+ <div class="tsd-accordion-details">
57
+ <ul class="tsd-nested-navigation">
58
+ <li><a href="../types/constants.Color.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>Color</span></a></li>
59
+ <li><a href="../types/constants.DefaultDesignProps.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Default<wbr/>Design<wbr/>Props</span></a></li>
60
+ <li><a href="../types/constants.Size.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Size</span></a></li>
61
+ <li><a href="../types/constants.Variant.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Variant</span></a></li>
62
+ <li><a href="constants.Colors.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-32"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)"></path></g></svg><span>Colors</span></a></li>
63
+ <li><a href="constants.Sizes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-32"></use></svg><span>Sizes</span></a></li>
64
+ <li><a href="constants.Variants.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-32"></use></svg><span>Variants</span></a></li></ul></div></details></li>
65
+ <li><a href="../modules/context.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>context</span></a></li>
66
+ <li><a href="../modules/drawer.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>drawer</span></a></li>
67
+ <li><a href="../modules/drillDownMenu.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>drill<wbr/>Down<wbr/>Menu</span></a></li>
68
+ <li><a href="../modules/fileInput.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>file<wbr/>Input</span></a></li>
69
+ <li><a href="../modules/form.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>form</span></a></li>
70
+ <li><a href="../modules/globalStyle.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>global<wbr/>Style</span></a></li>
71
+ <li><a href="../modules/input.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>input</span></a></li>
72
+ <li><a href="../modules/list.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>list</span></a></li>
73
+ <li><a href="../modules/modal.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>modal</span></a></li>
74
+ <li><a href="../modules/paper.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>paper</span></a></li>
75
+ <li><a href="../modules/popover.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>popover</span></a></li>
76
+ <li><a href="../modules/select.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>select</span></a></li>
77
+ <li><a href="../modules/slider.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>slider</span></a></li>
78
+ <li><a href="../modules/spinner.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>spinner</span></a></li>
79
+ <li><a href="../modules/switch.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>switch</span></a></li>
80
+ <li><a href="../modules/tableContainer.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>table<wbr/>Container</span></a></li>
81
+ <li><a href="../modules/tablePagination.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>table<wbr/>Pagination</span></a></li>
82
+ <li><a href="../modules/tabs.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>tabs</span></a></li>
83
+ <li><a href="../modules/themeSwitch.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>theme<wbr/>Switch</span></a></li>
84
+ <li><a href="../modules/tooltip.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>tooltip</span></a></li>
85
+ <li><a href="../modules/treeView.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>tree<wbr/>View</span></a></li></ul></nav></div></div></div>
86
+ <div class="tsd-generator">
87
+ <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
88
+ <div class="overlay"></div></body></html>
@@ -64,16 +64,22 @@ const createStyles = ({ keyframes }) => {
64
64
  };
65
65
  };
66
66
 
67
- export default function (context, options) {
68
- const { bau, css, window } = context;
69
- const { base = "" } = options;
67
+ export default function (context, options = {}) {
68
+ const { bau, css, window, config } = context;
69
+ const { base = "", hashBased = false } = options;
70
+ const baseUrl = `${config.base}${base}`;
71
+ const backHref = (currentTree) =>
72
+ currentTree.parentTree.data?.href ??
73
+ currentTree.parentTree.children[0].data.href;
70
74
 
71
- const renderHeaderDefault = ({ currentTree, data }) =>
75
+ const renderHeaderDefault = ({ variant, color, size, currentTree, data }) =>
72
76
  header(
73
77
  Button(
74
78
  {
75
- variant: "plain",
76
- href: `${base}${currentTree.parentTree.children[0].data.href}`,
79
+ variant,
80
+ color,
81
+ size,
82
+ href: `${baseUrl}${backHref(currentTree)}`,
77
83
  class: css`
78
84
  flex-grow: 0;
79
85
  `,
@@ -83,8 +89,10 @@ export default function (context, options) {
83
89
  ),
84
90
  Button(
85
91
  {
86
- variant: "plain",
87
- href: `${base}${data.href}`,
92
+ variant,
93
+ color,
94
+ size,
95
+ href: `${baseUrl}${data.href}`,
88
96
  class: css`
89
97
  flex-grow: 1;
90
98
  `,
@@ -94,17 +102,24 @@ export default function (context, options) {
94
102
  )
95
103
  );
96
104
 
97
- const renderMenuItemDefault = ({ data: { name, href }, children = [] }) =>
105
+ const renderMenuItemDefault = ({
106
+ size,
107
+ subTree: {
108
+ data: { name, href },
109
+ children = [],
110
+ },
111
+ }) =>
98
112
  Button(
99
113
  {
100
- href: `${base}${href}`,
114
+ size,
115
+ href: `${baseUrl}${href}`,
101
116
  "data-ischild": !children.length,
102
117
  },
103
118
  name
104
119
  );
105
120
 
106
- const isActiveDefault = ({ subTree }) =>
107
- window.location.pathname.replace(base, "") === subTree?.data?.href;
121
+ const isActiveDefault = ({ pathname, subTree }) =>
122
+ pathname === subTree?.data?.href;
108
123
 
109
124
  const {
110
125
  renderHeader = renderHeaderDefault,
@@ -129,17 +144,21 @@ export default function (context, options) {
129
144
  font-weight: var(--font-weight-semibold);
130
145
  overflow: hidden;
131
146
  position: relative;
132
-
133
147
  & header {
134
148
  display: flex;
135
149
  align-items: center;
136
150
  font-weight: var(--font-weight-bold);
137
- border-bottom: 1px solid var(--color-emphasis-200);
138
151
  & a {
139
152
  padding: 0.6rem;
140
153
  border-radius: 0;
154
+ font-weight: 600;
141
155
  }
142
156
  }
157
+ & a,
158
+ & ul {
159
+ border-width: 0 !important;
160
+ box-shadow: none !important;
161
+ }
143
162
  & ul {
144
163
  overflow: hidden;
145
164
  & .has-children {
@@ -159,10 +178,9 @@ export default function (context, options) {
159
178
 
160
179
  const Menu = ({ variant, color, size, currentTree, pathnameState }) => {
161
180
  const { children, parentTree, data } = currentTree;
162
- //console.log("Menu", currentTree, pathnameState.val);
163
181
  return div(
164
182
  { class: cn("drillDownMenu", variant, color, size) },
165
- parentTree && renderHeader({ data, currentTree }),
183
+ parentTree && renderHeader({ variant, color, size, data, currentTree }),
166
184
  children &&
167
185
  List(
168
186
  { class: cn(variant, color, size) },
@@ -176,7 +194,7 @@ export default function (context, options) {
176
194
  "active"
177
195
  ),
178
196
  },
179
- renderMenuItem(subTree)
197
+ renderMenuItem({ variant, color, size, subTree })
180
198
  )
181
199
  )
182
200
  )
@@ -187,7 +205,7 @@ export default function (context, options) {
187
205
  let currentTree = treeAddParent({})(structuredClone(tree));
188
206
  let subTree = findSubTree(pathname)(currentTree);
189
207
  if (!subTree) {
190
- console.log("drilldown no sub tree", pathname);
208
+ console.error("drilldown no sub tree", pathname);
191
209
  subTree = currentTree;
192
210
  }
193
211
  return subTree;
@@ -199,10 +217,32 @@ export default function (context, options) {
199
217
  color = "neutral",
200
218
  size = "md",
201
219
  tree,
202
- pathnameState = bau.state(window.location.pathname),
203
220
  ...otherProps
204
221
  } = props;
205
222
 
223
+ const pathnameState = bau.state(
224
+ window.location.pathname.replace(baseUrl, "")
225
+ );
226
+
227
+ const treeState = bau.derive(() =>
228
+ findInitialTree({
229
+ tree,
230
+ pathname: pathnameState.val,
231
+ })
232
+ );
233
+
234
+ window.document.addEventListener("click", (event) => {
235
+ const { target } = event;
236
+ const href = target.getAttribute("href");
237
+ if (target.tagName === "A" && href && !href.startsWith("http")) {
238
+ let path = href.replace(baseUrl, "");
239
+ if (!hashBased) {
240
+ path = path.replace(target.hash, "");
241
+ }
242
+ pathnameState.val = path;
243
+ }
244
+ });
245
+
206
246
  let direction = 1;
207
247
 
208
248
  const onclick = (event) => {
@@ -216,13 +256,6 @@ export default function (context, options) {
216
256
  }
217
257
  };
218
258
 
219
- const treeState = bau.derive(() =>
220
- findInitialTree({
221
- tree,
222
- pathname: pathnameState.val,
223
- })
224
- );
225
-
226
259
  const animationHide = (direction) => {
227
260
  switch (direction) {
228
261
  case 1:
@@ -20,6 +20,7 @@ declare module "@grucloud/bau-ui/drillDownMenu" {
20
20
  renderMenuItem?: ComponentGeneric;
21
21
  isActive?: (input: { subTree: object }) => boolean;
22
22
  base?: string;
23
+ hashBased?: boolean;
23
24
  } & ComponentOption;
24
25
 
25
26
  export default function (context: Object, option: Option): Component;
@@ -7,10 +7,7 @@ export default function (context, options) {
7
7
 
8
8
  const style = {
9
9
  base: css`
10
- display: inline-block;
11
- > * {
12
- margin: 1rem 0;
13
- }
10
+ display: inline-flex;
14
11
  & input {
15
12
  width: 0.1px;
16
13
  height: 0.1px;
@@ -26,8 +23,9 @@ export default function (context, options) {
26
23
  text-overflow: ellipsis;
27
24
  }
28
25
  & label {
26
+ padding: 1rem;
29
27
  border-radius: var(--global-radius);
30
- display: flex;
28
+ display: inline-flex;
31
29
  justify-content: center;
32
30
  align-items: center;
33
31
  cursor: pointer;
package/form/form.js CHANGED
@@ -5,7 +5,38 @@ export default function (context, options) {
5
5
  const { bau, css } = context;
6
6
  const { form } = bau.tags;
7
7
 
8
- const className = css``;
8
+ const className = css`
9
+ display: flex;
10
+ flex-direction: column;
11
+ align-items: stretch;
12
+ gap: 1rem;
13
+ padding: 1rem;
14
+ min-width: 350px;
15
+ & > header {
16
+ text-align: center;
17
+ & h1 {
18
+ line-height: 0;
19
+ font-size: 1.3rem;
20
+ }
21
+ }
22
+ & section {
23
+ display: flex;
24
+ flex-direction: column;
25
+ gap: 1rem;
26
+ }
27
+ & label {
28
+ display: inline-flex;
29
+ flex-direction: column;
30
+ gap: 0.3rem;
31
+ font-weight: 500;
32
+ font-size: smaller;
33
+ color: var(--color-content-secondary);
34
+ }
35
+ & > footer {
36
+ display: flex;
37
+ gap: 1rem;
38
+ }
39
+ `;
9
40
 
10
41
  return function Form(...args) {
11
42
  let [
@@ -153,7 +153,7 @@ export default function globalStyle(
153
153
  font-size: 0.8rem;
154
154
  }
155
155
  .md {
156
- font-size: 1.1rem;
156
+ font-size: 1rem;
157
157
  }
158
158
  .lg {
159
159
  font-size: 1.2rem;
package/input/input.js CHANGED
@@ -16,14 +16,9 @@ const colorsToCss = () =>
16
16
  &.input.outline.${color} {
17
17
  border: 1px solid var(--color-${color});
18
18
  &:focus {
19
- border: 2px solid var(--color-${color});
19
+ outline: 4px auto var(--color-${color});
20
20
  };
21
21
  }
22
- &.input.soft.${color} {
23
- &:focus {
24
- border-color: var(--color-${color});
25
- };
26
- }
27
22
  &.input.solid.${color} {
28
23
  &:focus {
29
24
  border-color: var(--color-${color});
@@ -39,7 +34,7 @@ const colorsToCss = () =>
39
34
  `
40
35
  ).join("\n");
41
36
 
42
- export default function (context, options) {
37
+ export default function (context, options = {}) {
43
38
  const { bau, css } = context;
44
39
  const { input } = bau.tags;
45
40
 
@@ -54,6 +49,10 @@ export default function (context, options) {
54
49
  &.input:hover {
55
50
  background-color: var(--color-emphasis-100);
56
51
  }
52
+ &.input:disabled {
53
+ filter: grayscale(100%);
54
+ background-color: var(--color-emphasis-100);
55
+ }
57
56
  &.sm {
58
57
  padding: 0.4rem;
59
58
  }
@@ -68,24 +67,25 @@ export default function (context, options) {
68
67
 
69
68
  return function Input(props) {
70
69
  const {
71
- size = "md",
72
- variant = "outline",
73
- color = "neutral",
74
- name,
75
- id,
70
+ size = options.size ?? "md",
71
+ variant = options.variant ?? "outline",
72
+ color = options.color ?? "neutral",
76
73
  disabled,
77
74
  ...otherProps
78
75
  } = props;
79
76
 
80
77
  return input({
78
+ type: "text",
81
79
  ...otherProps,
80
+ disabled,
82
81
  class: classNames(
83
82
  "input",
83
+ options.class,
84
84
  size,
85
85
  color,
86
86
  variant,
87
87
  className,
88
- options?.class,
88
+ disabled && "disabled",
89
89
  otherProps.class
90
90
  ),
91
91
  });
@@ -0,0 +1,12 @@
1
+ declare module "@grucloud/bau-ui/linearProgress" {
2
+ type DefaultDesignProps = import("../constants").DefaultDesignProps;
3
+ type ComponentOption = import("../bau-ui").ComponentOption;
4
+
5
+ export type LinearProgressProps = {
6
+ running: boolean | import("@grucloud/bau").State<boolean>;
7
+ } & DefaultDesignProps;
8
+
9
+ type Component = import("../bau-ui").Component<LinearProgressProps>;
10
+
11
+ export default function (context: any, option?: ComponentOption): Component;
12
+ }
@@ -0,0 +1 @@
1
+ export { default } from "./linearProgress";