@dbcdk/react-components 0.0.2 → 0.0.4

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 (281) hide show
  1. package/dist/assets/logo.cjs +87 -0
  2. package/dist/assets/logo.d.ts +2 -0
  3. package/dist/assets/logo.js +85 -0
  4. package/dist/components/app-header/AppHeader.cjs +14 -0
  5. package/dist/components/app-header/AppHeader.d.ts +5 -0
  6. package/dist/components/app-header/AppHeader.js +8 -0
  7. package/dist/components/app-header/AppHeader.module.css +73 -0
  8. package/dist/components/avatar/Avatar.cjs +67 -0
  9. package/dist/components/avatar/Avatar.d.ts +15 -0
  10. package/dist/components/avatar/Avatar.js +42 -0
  11. package/dist/components/avatar/Avatar.module.css +43 -0
  12. package/dist/components/breadcrumbs/Breadcrumbs.cjs +23 -0
  13. package/dist/components/breadcrumbs/Breadcrumbs.d.ts +12 -0
  14. package/dist/components/breadcrumbs/Breadcrumbs.js +16 -0
  15. package/dist/components/breadcrumbs/Breadcrumbs.module.css +84 -0
  16. package/dist/components/button/Button.cjs +79 -0
  17. package/dist/components/button/Button.d.ts +13 -0
  18. package/dist/components/button/Button.js +54 -0
  19. package/dist/components/button/Button.module.css +156 -0
  20. package/dist/components/card/Card.cjs +29 -0
  21. package/dist/components/card/Card.d.ts +11 -0
  22. package/dist/components/card/Card.js +23 -0
  23. package/dist/components/card/Card.module.css +69 -0
  24. package/dist/components/card-container/CardContainer.cjs +23 -0
  25. package/dist/components/card-container/CardContainer.d.ts +8 -0
  26. package/dist/components/card-container/CardContainer.js +17 -0
  27. package/dist/components/card-container/CardContainer.module.css +18 -0
  28. package/dist/components/checkbox/Checkbox.cjs +43 -0
  29. package/dist/components/checkbox/Checkbox.d.ts +12 -0
  30. package/dist/components/checkbox/Checkbox.js +37 -0
  31. package/dist/components/checkbox/Checkbox.module.css +63 -0
  32. package/dist/components/chip/Chip.cjs +49 -0
  33. package/dist/components/chip/Chip.d.ts +13 -0
  34. package/dist/components/chip/Chip.js +43 -0
  35. package/dist/components/chip/Chip.module.css +97 -0
  36. package/dist/components/circle/Circle.cjs +18 -0
  37. package/dist/components/circle/Circle.d.ts +8 -0
  38. package/dist/components/circle/Circle.js +12 -0
  39. package/dist/components/circle/Circle.module.css +62 -0
  40. package/dist/components/clear-button/ClearButton.cjs +26 -0
  41. package/dist/components/clear-button/ClearButton.d.ts +6 -0
  42. package/dist/components/clear-button/ClearButton.js +20 -0
  43. package/dist/components/clear-button/ClearButton.module.css +16 -0
  44. package/dist/components/data-summary/DataSummary.cjs +49 -0
  45. package/dist/components/data-summary/DataSummary.d.ts +19 -0
  46. package/dist/components/data-summary/DataSummary.js +43 -0
  47. package/dist/components/data-summary/DataSummary.module.css +51 -0
  48. package/dist/components/filter-field/FilterField.cjs +174 -0
  49. package/dist/components/filter-field/FilterField.d.ts +28 -0
  50. package/dist/components/filter-field/FilterField.js +167 -0
  51. package/dist/components/filter-field/FilterField.module.css +109 -0
  52. package/dist/components/headline/Headline.cjs +47 -0
  53. package/dist/components/headline/Headline.d.ts +14 -0
  54. package/dist/components/headline/Headline.js +41 -0
  55. package/dist/components/headline/Headline.module.css +35 -0
  56. package/dist/components/icon/Icon.cjs +27 -0
  57. package/dist/components/icon/Icon.d.ts +9 -0
  58. package/dist/components/icon/Icon.js +20 -0
  59. package/dist/components/icon/Icon.module.css +34 -0
  60. package/dist/components/input/Input.cjs +48 -0
  61. package/dist/components/input/Input.d.ts +13 -0
  62. package/dist/components/input/Input.js +42 -0
  63. package/dist/components/input/Input.module.css +112 -0
  64. package/dist/components/menu/Menu.cjs +96 -0
  65. package/dist/components/menu/Menu.d.ts +12 -0
  66. package/dist/components/menu/Menu.js +71 -0
  67. package/dist/components/menu/Menu.module.css +95 -0
  68. package/dist/components/multi-select/MultiSelect.cjs +48 -0
  69. package/dist/components/multi-select/MultiSelect.d.ts +18 -0
  70. package/dist/components/multi-select/MultiSelect.js +46 -0
  71. package/dist/components/nav-bar/NavBar.cjs +55 -0
  72. package/dist/components/nav-bar/NavBar.d.ts +20 -0
  73. package/dist/components/nav-bar/NavBar.js +49 -0
  74. package/dist/components/nav-bar/NavBar.module.css +101 -0
  75. package/dist/components/page/Page.cjs +30 -0
  76. package/dist/components/page/Page.d.ts +13 -0
  77. package/dist/components/page/Page.js +24 -0
  78. package/dist/components/page/Page.module.css +26 -0
  79. package/dist/components/page-layout/PageLayout.cjs +101 -0
  80. package/dist/components/page-layout/PageLayout.d.ts +35 -0
  81. package/dist/components/page-layout/PageLayout.js +95 -0
  82. package/dist/components/page-layout/PageLayout.module.css +142 -0
  83. package/dist/components/pagination/Pagination.cjs +117 -0
  84. package/dist/components/pagination/Pagination.d.ts +17 -0
  85. package/dist/components/pagination/Pagination.js +111 -0
  86. package/dist/components/pagination/Pagination.module.css +17 -0
  87. package/dist/components/panel/Panel.cjs +18 -0
  88. package/dist/components/panel/Panel.d.ts +10 -0
  89. package/dist/components/panel/Panel.js +12 -0
  90. package/dist/components/panel/Panel.module.css +29 -0
  91. package/dist/components/popover/Popover.cjs +132 -0
  92. package/dist/components/popover/Popover.d.ts +15 -0
  93. package/dist/components/popover/Popover.js +126 -0
  94. package/dist/components/popover/Popover.module.css +25 -0
  95. package/dist/components/search-box/SearchBox.cjs +162 -0
  96. package/dist/components/search-box/SearchBox.d.ts +22 -0
  97. package/dist/components/search-box/SearchBox.js +156 -0
  98. package/dist/components/search-box/SearchBox.module.css +20 -0
  99. package/dist/components/segmented-progress-bar/SegmentedProgressBar.cjs +97 -0
  100. package/dist/components/segmented-progress-bar/SegmentedProgressBar.d.ts +24 -0
  101. package/dist/components/segmented-progress-bar/SegmentedProgressBar.js +91 -0
  102. package/dist/components/segmented-progress-bar/SegmentedProgressBar.module.css +55 -0
  103. package/dist/components/select/Select.cjs +52 -0
  104. package/dist/components/select/Select.d.ts +11 -0
  105. package/dist/components/select/Select.js +50 -0
  106. package/dist/components/sidebar/Sidebar.cjs +38 -0
  107. package/dist/components/sidebar/Sidebar.d.ts +12 -0
  108. package/dist/components/sidebar/Sidebar.js +31 -0
  109. package/dist/components/sidebar/Sidebar.module.css +66 -0
  110. package/dist/components/sidebar/components/SidebarItem.cjs +16 -0
  111. package/dist/components/sidebar/components/SidebarItem.d.ts +9 -0
  112. package/dist/components/sidebar/components/SidebarItem.js +14 -0
  113. package/dist/components/sidebar/components/SidebarItem.module.css +0 -0
  114. package/dist/components/sidebar/components/expandable-sidebar-item/ExpandableSidebarItem.cjs +74 -0
  115. package/dist/components/sidebar/components/expandable-sidebar-item/ExpandableSidebarItem.d.ts +9 -0
  116. package/dist/components/sidebar/components/expandable-sidebar-item/ExpandableSidebarItem.js +68 -0
  117. package/dist/components/sidebar/components/expandable-sidebar-item/ExpandableSidebarItem.module.css +61 -0
  118. package/dist/components/sidebar/components/sidebar-item-content/SidebarItemContent.cjs +27 -0
  119. package/dist/components/sidebar/components/sidebar-item-content/SidebarItemContent.d.ts +8 -0
  120. package/dist/components/sidebar/components/sidebar-item-content/SidebarItemContent.js +21 -0
  121. package/dist/components/sidebar/components/sidebar-item-content/SidebarItemContent.module.css +62 -0
  122. package/dist/components/sidebar/components/sidebar-items/SidebarItems.cjs +28 -0
  123. package/dist/components/sidebar/components/sidebar-items/SidebarItems.d.ts +4 -0
  124. package/dist/components/sidebar/components/sidebar-items/SidebarItems.js +26 -0
  125. package/dist/components/sidebar/components/sidenav-filteirng/SidenavFiltering.cjs +25 -0
  126. package/dist/components/sidebar/components/sidenav-filteirng/SidenavFiltering.d.ts +3 -0
  127. package/dist/components/sidebar/components/sidenav-filteirng/SidenavFiltering.js +23 -0
  128. package/dist/components/sidebar/providers/SidebarProvider.cjs +81 -0
  129. package/dist/components/sidebar/providers/SidebarProvider.d.ts +24 -0
  130. package/dist/components/sidebar/providers/SidebarProvider.js +78 -0
  131. package/dist/components/skeleton-loader/SkeletonLoader.cjs +270 -0
  132. package/dist/components/skeleton-loader/SkeletonLoader.d.ts +9 -0
  133. package/dist/components/skeleton-loader/SkeletonLoader.js +268 -0
  134. package/dist/components/skeleton-loader/skeleton-loader-item/SkeletonLoaderItem.cjs +42 -0
  135. package/dist/components/skeleton-loader/skeleton-loader-item/SkeletonLoaderItem.d.ts +11 -0
  136. package/dist/components/skeleton-loader/skeleton-loader-item/SkeletonLoaderItem.js +36 -0
  137. package/dist/components/skeleton-loader/skeleton-loader-item/SkeletonLoaderItem.module.css +63 -0
  138. package/dist/components/split-button/SplitButton.cjs +37 -0
  139. package/dist/components/split-button/SplitButton.d.ts +14 -0
  140. package/dist/components/split-button/SplitButton.js +31 -0
  141. package/dist/components/split-button/SplitButton.module.css +32 -0
  142. package/dist/components/table/Table.cjs +181 -0
  143. package/dist/components/table/Table.d.ts +45 -0
  144. package/dist/components/table/Table.js +175 -0
  145. package/dist/components/table/Table.module.css +143 -0
  146. package/dist/components/table/components/column-resizer/ColumnResizer.cjs +22 -0
  147. package/dist/components/table/components/column-resizer/ColumnResizer.d.ts +7 -0
  148. package/dist/components/table/components/column-resizer/ColumnResizer.js +16 -0
  149. package/dist/components/table/components/column-resizer/ColumnResizer.module.css +13 -0
  150. package/dist/components/tabs/Tabs.cjs +74 -0
  151. package/dist/components/tabs/Tabs.d.ts +18 -0
  152. package/dist/components/tabs/Tabs.js +68 -0
  153. package/dist/components/tabs/Tabs.module.css +113 -0
  154. package/dist/components/text-area/Textarea.cjs +62 -0
  155. package/dist/components/text-area/Textarea.d.ts +14 -0
  156. package/dist/components/text-area/Textarea.js +56 -0
  157. package/dist/components/text-area/Textarea.module.css +3 -0
  158. package/dist/components/tooltip/Tooltip.cjs +78 -0
  159. package/dist/components/tooltip/Tooltip.d.ts +11 -0
  160. package/dist/components/tooltip/Tooltip.js +72 -0
  161. package/dist/components/tooltip/Tooltip.module.css +84 -0
  162. package/dist/components/user-display/UserDisplay.cjs +28 -0
  163. package/dist/components/user-display/UserDisplay.d.ts +9 -0
  164. package/dist/components/user-display/UserDisplay.js +22 -0
  165. package/dist/components/user-display/UserDisplay.module.css +25 -0
  166. package/dist/constants/severity.cjs +21 -0
  167. package/dist/constants/severity.d.ts +3 -0
  168. package/dist/constants/severity.js +18 -0
  169. package/dist/constants/severity.types.cjs +2 -0
  170. package/dist/constants/severity.types.d.ts +1 -0
  171. package/dist/constants/severity.types.js +1 -0
  172. package/dist/constants/sizes.cjs +10 -0
  173. package/dist/constants/sizes.d.ts +2 -0
  174. package/dist/constants/sizes.js +8 -0
  175. package/dist/hooks/useTheme.cjs +58 -0
  176. package/dist/hooks/useTheme.d.ts +9 -0
  177. package/dist/hooks/useTheme.js +55 -0
  178. package/dist/hooks/useViewportFill.cjs +52 -0
  179. package/dist/hooks/useViewportFill.d.ts +15 -0
  180. package/dist/hooks/useViewportFill.js +50 -0
  181. package/dist/index.cjs +264 -2
  182. package/dist/index.d.ts +37 -12
  183. package/dist/index.js +37 -2
  184. package/dist/src/styles/styles.css +124 -0
  185. package/dist/styles/css-helper-classes/spacing.css +291 -0
  186. package/dist/styles/fonts/Roboto/OFL.txt +93 -0
  187. package/dist/styles/fonts/Roboto/README.txt +118 -0
  188. package/dist/styles/fonts/Roboto/Roboto-Black.ttf +0 -0
  189. package/dist/styles/fonts/Roboto/Roboto-BlackItalic.ttf +0 -0
  190. package/dist/styles/fonts/Roboto/Roboto-Bold.ttf +0 -0
  191. package/dist/styles/fonts/Roboto/Roboto-BoldItalic.ttf +0 -0
  192. package/dist/styles/fonts/Roboto/Roboto-ExtraBold.ttf +0 -0
  193. package/dist/styles/fonts/Roboto/Roboto-ExtraBoldItalic.ttf +0 -0
  194. package/dist/styles/fonts/Roboto/Roboto-ExtraLight.ttf +0 -0
  195. package/dist/styles/fonts/Roboto/Roboto-ExtraLightItalic.ttf +0 -0
  196. package/dist/styles/fonts/Roboto/Roboto-Italic.ttf +0 -0
  197. package/dist/styles/fonts/Roboto/Roboto-Light.ttf +0 -0
  198. package/dist/styles/fonts/Roboto/Roboto-LightItalic.ttf +0 -0
  199. package/dist/styles/fonts/Roboto/Roboto-Medium.ttf +0 -0
  200. package/dist/styles/fonts/Roboto/Roboto-MediumItalic.ttf +0 -0
  201. package/dist/styles/fonts/Roboto/Roboto-Regular.ttf +0 -0
  202. package/dist/styles/fonts/Roboto/Roboto-SemiBold.ttf +0 -0
  203. package/dist/styles/fonts/Roboto/Roboto-SemiBoldItalic.ttf +0 -0
  204. package/dist/styles/fonts/Roboto/Roboto-Thin.ttf +0 -0
  205. package/dist/styles/fonts/Roboto/Roboto-ThinItalic.ttf +0 -0
  206. package/dist/styles/fonts/Roboto/Roboto_Condensed-Black.ttf +0 -0
  207. package/dist/styles/fonts/Roboto/Roboto_Condensed-BlackItalic.ttf +0 -0
  208. package/dist/styles/fonts/Roboto/Roboto_Condensed-Bold.ttf +0 -0
  209. package/dist/styles/fonts/Roboto/Roboto_Condensed-BoldItalic.ttf +0 -0
  210. package/dist/styles/fonts/Roboto/Roboto_Condensed-ExtraBold.ttf +0 -0
  211. package/dist/styles/fonts/Roboto/Roboto_Condensed-ExtraBoldItalic.ttf +0 -0
  212. package/dist/styles/fonts/Roboto/Roboto_Condensed-ExtraLight.ttf +0 -0
  213. package/dist/styles/fonts/Roboto/Roboto_Condensed-ExtraLightItalic.ttf +0 -0
  214. package/dist/styles/fonts/Roboto/Roboto_Condensed-Italic.ttf +0 -0
  215. package/dist/styles/fonts/Roboto/Roboto_Condensed-Light.ttf +0 -0
  216. package/dist/styles/fonts/Roboto/Roboto_Condensed-LightItalic.ttf +0 -0
  217. package/dist/styles/fonts/Roboto/Roboto_Condensed-Medium.ttf +0 -0
  218. package/dist/styles/fonts/Roboto/Roboto_Condensed-MediumItalic.ttf +0 -0
  219. package/dist/styles/fonts/Roboto/Roboto_Condensed-Regular.ttf +0 -0
  220. package/dist/styles/fonts/Roboto/Roboto_Condensed-SemiBold.ttf +0 -0
  221. package/dist/styles/fonts/Roboto/Roboto_Condensed-SemiBoldItalic.ttf +0 -0
  222. package/dist/styles/fonts/Roboto/Roboto_Condensed-Thin.ttf +0 -0
  223. package/dist/styles/fonts/Roboto/Roboto_Condensed-ThinItalic.ttf +0 -0
  224. package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-Black.ttf +0 -0
  225. package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-BlackItalic.ttf +0 -0
  226. package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-Bold.ttf +0 -0
  227. package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-BoldItalic.ttf +0 -0
  228. package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-ExtraBold.ttf +0 -0
  229. package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-ExtraBoldItalic.ttf +0 -0
  230. package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-ExtraLight.ttf +0 -0
  231. package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-ExtraLightItalic.ttf +0 -0
  232. package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-Italic.ttf +0 -0
  233. package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-Light.ttf +0 -0
  234. package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-LightItalic.ttf +0 -0
  235. package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-Medium.ttf +0 -0
  236. package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-MediumItalic.ttf +0 -0
  237. package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-Regular.ttf +0 -0
  238. package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-SemiBold.ttf +0 -0
  239. package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-SemiBoldItalic.ttf +0 -0
  240. package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-Thin.ttf +0 -0
  241. package/dist/styles/fonts/Roboto/Roboto_SemiCondensed-ThinItalic.ttf +0 -0
  242. package/dist/styles/fonts/Tajawal/OFL.txt +93 -0
  243. package/dist/styles/fonts/Tajawal/Tajawal-Black.ttf +0 -0
  244. package/dist/styles/fonts/Tajawal/Tajawal-Bold.ttf +0 -0
  245. package/dist/styles/fonts/Tajawal/Tajawal-ExtraBold.ttf +0 -0
  246. package/dist/styles/fonts/Tajawal/Tajawal-ExtraLight.ttf +0 -0
  247. package/dist/styles/fonts/Tajawal/Tajawal-Light.ttf +0 -0
  248. package/dist/styles/fonts/Tajawal/Tajawal-Medium.ttf +0 -0
  249. package/dist/styles/fonts/Tajawal/Tajawal-Regular.ttf +0 -0
  250. package/dist/styles/styles.css +124 -0
  251. package/dist/styles/themes/dbc/dark.css +240 -0
  252. package/dist/styles/themes/dbc/light.css +245 -0
  253. package/dist/styles/themes/forfatterweb/light.css +104 -0
  254. package/dist/styles/themes/types.cjs +2 -0
  255. package/dist/styles/themes/types.d.ts +16 -0
  256. package/dist/styles/themes/types.js +1 -0
  257. package/dist/tanstack.cjs +231 -0
  258. package/dist/tanstack.d.ts +25 -0
  259. package/dist/tanstack.js +206 -0
  260. package/dist/types/a11y-props.types.cjs +2 -0
  261. package/dist/types/a11y-props.types.d.ts +8 -0
  262. package/dist/types/a11y-props.types.js +1 -0
  263. package/dist/types/assets.d.cjs +2 -0
  264. package/dist/types/assets.d.js +1 -0
  265. package/dist/types/css.d.cjs +2 -0
  266. package/dist/types/css.d.js +1 -0
  267. package/dist/types/sizes.types.cjs +2 -0
  268. package/dist/types/sizes.types.d.ts +2 -0
  269. package/dist/types/sizes.types.js +1 -0
  270. package/dist/utils/arrays/nested-filtering.cjs +40 -0
  271. package/dist/utils/arrays/nested-filtering.d.ts +9 -0
  272. package/dist/utils/arrays/nested-filtering.js +38 -0
  273. package/dist/utils/date/formatDate.cjs +19 -0
  274. package/dist/utils/date/formatDate.d.ts +12 -0
  275. package/dist/utils/date/formatDate.js +17 -0
  276. package/package.json +53 -12
  277. package/dist/index.cjs.map +0 -1
  278. package/dist/index.css +0 -2
  279. package/dist/index.css.map +0 -1
  280. package/dist/index.d.cts +0 -12
  281. package/dist/index.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,2 +1,37 @@
1
- import*as r from'react';import {jsx}from'react/jsx-runtime';var c=r.forwardRef(({variant:t="primary",size:o="md",className:e="",...n},a)=>jsx("button",{ref:a,className:["dbc-btn",`dbc-btn--${t}`,`dbc-btn--${o}`,e].join(" "),...n}));c.displayName="Button";export{c as Button};//# sourceMappingURL=index.js.map
2
- //# sourceMappingURL=index.js.map
1
+ export * from './components/button/Button';
2
+ export * from './components/nav-bar/NavBar';
3
+ export * from './components/avatar/Avatar';
4
+ export * from './components/popover/Popover';
5
+ export * from './components/menu/Menu';
6
+ export * from './components/icon/Icon';
7
+ export * from './components/user-display/UserDisplay';
8
+ export * from './components/tabs/Tabs';
9
+ export * from './components/headline/Headline';
10
+ export * from './components/page-layout/PageLayout';
11
+ export * from './components/input/Input';
12
+ export * from './components/search-box/SearchBox';
13
+ export * from './hooks/useTheme';
14
+ export * from './components/chip/Chip';
15
+ export * from './components/panel/Panel';
16
+ export * from './components/card/Card';
17
+ export * from './components/card-container/CardContainer';
18
+ export * from './components/skeleton-loader/skeleton-loader-item/SkeletonLoaderItem';
19
+ export * from './components/skeleton-loader/SkeletonLoader';
20
+ export * from './components/page/Page';
21
+ export * from './components/breadcrumbs/Breadcrumbs';
22
+ export * from './components/circle/Circle';
23
+ export * from './components/checkbox/Checkbox';
24
+ export * from './components/table/Table';
25
+ export * from './constants/severity.types';
26
+ export * from './components/text-area/Textarea';
27
+ export * from './components/app-header/AppHeader';
28
+ export * from './components/sidebar/Sidebar';
29
+ export * from './utils/arrays/nested-filtering';
30
+ export * from './components/multi-select/MultiSelect';
31
+ export * from './hooks/useViewportFill';
32
+ export * from './utils/date/formatDate';
33
+ export * from './components/filter-field/FilterField';
34
+ export * from './components/select/Select';
35
+ export * from './components/split-button/SplitButton';
36
+ export * from './components/tooltip/Tooltip';
37
+ export * from './components/segmented-progress-bar/SegmentedProgressBar';
@@ -0,0 +1,124 @@
1
+ @import './css-helper-classes/spacing.css';
2
+
3
+ @font-face {
4
+ font-family: 'Roboto';
5
+ src: url('./fonts/Roboto/Roboto-Regular.ttf') format('truetype');
6
+ font-weight: 400;
7
+ font-style: normal;
8
+ }
9
+ @font-face {
10
+ font-family: 'Roboto';
11
+ src: url('./fonts/Roboto/Roboto-Medium.ttf') format('truetype');
12
+ font-weight: 500;
13
+ font-style: normal;
14
+ }
15
+ @font-face {
16
+ font-family: 'Roboto';
17
+ src: url('./fonts/Roboto/Roboto-Bold.ttf') format('truetype');
18
+ font-weight: 700;
19
+ font-style: normal;
20
+ }
21
+
22
+ * {
23
+ font-family: var(--font-family);
24
+ box-sizing: border-box;
25
+ }
26
+
27
+ body {
28
+ color: var(--color-text);
29
+ background-color: var(--color-background);
30
+ --density: var(--density-comfortable);
31
+ }
32
+
33
+ h1 {
34
+ font-size: var(--font-size-2xl);
35
+ }
36
+
37
+ h2 {
38
+ font-size: var(--font-size-xl);
39
+ }
40
+
41
+ h3 {
42
+ font-size: var(--font-size-lg);
43
+ }
44
+
45
+ body.dbc-app {
46
+ max-width: 1600px;
47
+ }
48
+
49
+ @media screen and (min-height: 400px) {
50
+ .body.dbc-app {
51
+ overflow: hidden;
52
+ }
53
+ }
54
+
55
+ .grow-container {
56
+ display: flex;
57
+ flex-direction: column;
58
+ flex-grow: 1;
59
+ overflow: auto;
60
+ }
61
+
62
+ /* Apply globally */
63
+ ::-webkit-scrollbar {
64
+ width: 10px; /* or thinner: 6px */
65
+ }
66
+
67
+ ::-webkit-scrollbar-track {
68
+ background: transparent;
69
+ }
70
+
71
+ ::-webkit-scrollbar-thumb {
72
+ background-color: var(--opac-bg-dark); /* neutral gray thumb */
73
+ border-radius: 4px; /* rounded for modern look */
74
+ border: 2px solid #f9fafb; /* creates padding effect */
75
+ }
76
+
77
+ ::-webkit-scrollbar-thumb:hover {
78
+ background-color: #9ca3af; /* darker gray on hover */
79
+ }
80
+
81
+ .animate--expand {
82
+ animation: expand 0.15s ease-in-out forwards;
83
+ }
84
+
85
+ .animate--collapse {
86
+ animation: collapse 0.15s ease-in-out forwards;
87
+ }
88
+
89
+ .fitContent {
90
+ white-space: nowrap;
91
+ width: 1%;
92
+ }
93
+ /* Animations */
94
+ @keyframes expand {
95
+ 0% {
96
+ max-height: 0;
97
+ }
98
+ 100% {
99
+ max-height: 100vh;
100
+ }
101
+ }
102
+
103
+ @keyframes collapse {
104
+ 0% {
105
+ max-height: 100vh;
106
+ }
107
+ 100% {
108
+ max-height: 0;
109
+ }
110
+ }
111
+
112
+ @keyframes spin {
113
+ from {
114
+ transform: rotate(0deg);
115
+ }
116
+ to {
117
+ transform: rotate(360deg);
118
+ }
119
+ }
120
+
121
+ .spin {
122
+ display: inline-block;
123
+ animation: spin 2s linear infinite;
124
+ }
@@ -0,0 +1,291 @@
1
+ /* Margin - all axes */
2
+ .dbc-m-xxs {
3
+ margin: var(--spacing-xxs);
4
+ }
5
+ .dbc-m-xs {
6
+ margin: var(--spacing-xs);
7
+ }
8
+ .dbc-m-sm {
9
+ margin: var(--spacing-sm);
10
+ }
11
+ .dbc-m-md {
12
+ margin: var(--spacing-md);
13
+ }
14
+ .dbc-m-lg {
15
+ margin: var(--spacing-lg);
16
+ }
17
+ .dbc-m-xl {
18
+ margin: var(--spacing-xl);
19
+ }
20
+ .dbc-m-2xl {
21
+ margin: var(--spacing-2xl);
22
+ }
23
+
24
+ /* Margin - block axis (top + bottom) */
25
+ .dbc-my-xxs {
26
+ margin-block: var(--spacing-xxs);
27
+ }
28
+ .dbc-my-xs {
29
+ margin-block: var(--spacing-xs);
30
+ }
31
+ .dbc-my-sm {
32
+ margin-block: var(--spacing-sm);
33
+ }
34
+ .dbc-my-md {
35
+ margin-block: var(--spacing-md);
36
+ }
37
+ .dbc-my-lg {
38
+ margin-block: var(--spacing-lg);
39
+ }
40
+ .dbc-my-xl {
41
+ margin-block: var(--spacing-xl);
42
+ }
43
+ .dbc-my-2xl {
44
+ margin-block: var(--spacing-2xl);
45
+ }
46
+
47
+ /* Margin - inline axis (start + end) */
48
+ .dbc-mx-xxs {
49
+ margin-inline: var(--spacing-xxs);
50
+ }
51
+ .dbc-mx-xs {
52
+ margin-inline: var(--spacing-xs);
53
+ }
54
+ .dbc-mx-sm {
55
+ margin-inline: var(--spacing-sm);
56
+ }
57
+ .dbc-mx-md {
58
+ margin-inline: var(--spacing-md);
59
+ }
60
+ .dbc-mx-lg {
61
+ margin-inline: var(--spacing-lg);
62
+ }
63
+ .dbc-mx-xl {
64
+ margin-inline: var(--spacing-xl);
65
+ }
66
+ .dbc-mx-2xl {
67
+ margin-inline: var(--spacing-2xl);
68
+ }
69
+
70
+ /* Margin - single sides (logical) */
71
+ .dbc-mt-xxs {
72
+ margin-block-start: var(--spacing-xxs);
73
+ }
74
+ .dbc-mt-xs {
75
+ margin-block-start: var(--spacing-xs);
76
+ }
77
+ .dbc-mt-sm {
78
+ margin-block-start: var(--spacing-sm);
79
+ }
80
+ .dbc-mt-md {
81
+ margin-block-start: var(--spacing-md);
82
+ }
83
+ .dbc-mt-lg {
84
+ margin-block-start: var(--spacing-lg);
85
+ }
86
+ .dbc-mt-xl {
87
+ margin-block-start: var(--spacing-xl);
88
+ }
89
+
90
+ .dbc-mb-xxs {
91
+ margin-block-end: var(--spacing-xxs);
92
+ }
93
+ .dbc-mb-xs {
94
+ margin-block-end: var(--spacing-xs);
95
+ }
96
+ .dbc-mb-sm {
97
+ margin-block-end: var(--spacing-sm);
98
+ }
99
+ .dbc-mb-md {
100
+ margin-block-end: var(--spacing-md);
101
+ }
102
+ .dbc-mb-lg {
103
+ margin-block-end: var(--spacing-lg);
104
+ }
105
+ .dbc-mb-xl {
106
+ margin-block-end: var(--spacing-xl);
107
+ }
108
+
109
+ .dbc-ms-xxs {
110
+ margin-inline-start: var(--spacing-xxs);
111
+ }
112
+ .dbc-ms-xs {
113
+ margin-inline-start: var(--spacing-xs);
114
+ }
115
+ .dbc-ms-sm {
116
+ margin-inline-start: var(--spacing-sm);
117
+ }
118
+ .dbc-ms-md {
119
+ margin-inline-start: var(--spacing-md);
120
+ }
121
+ .dbc-ms-lg {
122
+ margin-inline-start: var(--spacing-lg);
123
+ }
124
+ .dbc-ms-xl {
125
+ margin-inline-start: var(--spacing-xl);
126
+ }
127
+
128
+ .dbc-me-xxs {
129
+ margin-inline-end: var(--spacing-xxs);
130
+ }
131
+ .dbc-me-xs {
132
+ margin-inline-end: var(--spacing-xs);
133
+ }
134
+ .dbc-me-sm {
135
+ margin-inline-end: var(--spacing-sm);
136
+ }
137
+ .dbc-me-md {
138
+ margin-inline-end: var(--spacing-md);
139
+ }
140
+ .dbc-me-lg {
141
+ margin-inline-end: var(--spacing-lg);
142
+ }
143
+ .dbc-me-xl {
144
+ margin-inline-end: var(--spacing-xl);
145
+ }
146
+
147
+ /* Padding - all axes */
148
+ .dbc-p-xxs {
149
+ padding: var(--spacing-xxs);
150
+ }
151
+ .dbc-p-xs {
152
+ padding: var(--spacing-xs);
153
+ }
154
+ .dbc-p-sm {
155
+ padding: var(--spacing-sm);
156
+ }
157
+ .dbc-p-md {
158
+ padding: var(--spacing-md);
159
+ }
160
+ .dbc-p-lg {
161
+ padding: var(--spacing-lg);
162
+ }
163
+ .dbc-p-xl {
164
+ padding: var(--spacing-xl);
165
+ }
166
+ .dbc-p-2xl {
167
+ padding: var(--spacing-2xl);
168
+ }
169
+
170
+ /* Padding - block axis (top + bottom) */
171
+ .dbc-py-xxs {
172
+ padding-block: var(--spacing-xxs);
173
+ }
174
+ .dbc-py-xs {
175
+ padding-block: var(--spacing-xs);
176
+ }
177
+ .dbc-py-sm {
178
+ padding-block: var(--spacing-sm);
179
+ }
180
+ .dbc-py-md {
181
+ padding-block: var(--spacing-md);
182
+ }
183
+ .dbc-py-lg {
184
+ padding-block: var(--spacing-lg);
185
+ }
186
+ .dbc-py-xl {
187
+ padding-block: var(--spacing-xl);
188
+ }
189
+ .dbc-py-2xl {
190
+ padding-block: var(--spacing-2xl);
191
+ }
192
+
193
+ /* Padding - inline axis (start + end) */
194
+ .dbc-px-xxs {
195
+ padding-inline: var(--spacing-xxs);
196
+ }
197
+ .dbc-px-xs {
198
+ padding-inline: var(--spacing-xs);
199
+ }
200
+ .dbc-px-sm {
201
+ padding-inline: var(--spacing-sm);
202
+ }
203
+ .dbc-px-md {
204
+ padding-inline: var(--spacing-md);
205
+ }
206
+ .dbc-px-lg {
207
+ padding-inline: var(--spacing-lg);
208
+ }
209
+ .dbc-px-xl {
210
+ padding-inline: var(--spacing-xl);
211
+ }
212
+ .dbc-px-2xl {
213
+ padding-inline: var(--spacing-2xl);
214
+ }
215
+
216
+ /* Padding - single sides (logical) */
217
+ .dbc-pt-xxs {
218
+ padding-block-start: var(--spacing-xxs);
219
+ }
220
+ .dbc-pt-xs {
221
+ padding-block-start: var(--spacing-xs);
222
+ }
223
+ .dbc-pt-sm {
224
+ padding-block-start: var(--spacing-sm);
225
+ }
226
+ .dbc-pt-md {
227
+ padding-block-start: var(--spacing-md);
228
+ }
229
+ .dbc-pt-lg {
230
+ padding-block-start: var(--spacing-lg);
231
+ }
232
+ .dbc-pt-xl {
233
+ padding-block-start: var(--spacing-xl);
234
+ }
235
+
236
+ .dbc-pb-xxs {
237
+ padding-block-end: var(--spacing-xxs);
238
+ }
239
+ .dbc-pb-xs {
240
+ padding-block-end: var(--spacing-xs);
241
+ }
242
+ .dbc-pb-sm {
243
+ padding-block-end: var(--spacing-sm);
244
+ }
245
+ .dbc-pb-md {
246
+ padding-block-end: var(--spacing-md);
247
+ }
248
+ .dbc-pb-lg {
249
+ padding-block-end: var(--spacing-lg);
250
+ }
251
+ .dbc-pb-xl {
252
+ padding-block-end: var(--spacing-xl);
253
+ }
254
+
255
+ .dbc-ps-xxs {
256
+ padding-inline-start: var(--spacing-xxs);
257
+ }
258
+ .dbc-ps-xs {
259
+ padding-inline-start: var(--spacing-xs);
260
+ }
261
+ .dbc-ps-sm {
262
+ padding-inline-start: var(--spacing-sm);
263
+ }
264
+ .dbc-ps-md {
265
+ padding-inline-start: var(--spacing-md);
266
+ }
267
+ .dbc-ps-lg {
268
+ padding-inline-start: var(--spacing-lg);
269
+ }
270
+ .dbc-ps-xl {
271
+ padding-inline-start: var(--spacing-xl);
272
+ }
273
+
274
+ .dbc-pe-xxs {
275
+ padding-inline-end: var(--spacing-xxs);
276
+ }
277
+ .dbc-pe-xs {
278
+ padding-inline-end: var(--spacing-xs);
279
+ }
280
+ .dbc-pe-sm {
281
+ padding-inline-end: var(--spacing-sm);
282
+ }
283
+ .dbc-pe-md {
284
+ padding-inline-end: var(--spacing-md);
285
+ }
286
+ .dbc-pe-lg {
287
+ padding-inline-end: var(--spacing-lg);
288
+ }
289
+ .dbc-pe-xl {
290
+ padding-inline-end: var(--spacing-xl);
291
+ }
@@ -0,0 +1,93 @@
1
+ Copyright 2011 The Roboto Project Authors (https://github.com/googlefonts/roboto-classic)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ https://openfontlicense.org
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,118 @@
1
+ Roboto Variable Font
2
+ ====================
3
+
4
+ This download contains Roboto as both variable fonts and static fonts.
5
+
6
+ Roboto is a variable font with these axes:
7
+ wdth
8
+ wght
9
+
10
+ This means all the styles are contained in these files:
11
+ Roboto/Roboto-VariableFont_wdth,wght.ttf
12
+ Roboto/Roboto-Italic-VariableFont_wdth,wght.ttf
13
+
14
+ If your app fully supports variable fonts, you can now pick intermediate styles
15
+ that aren’t available as static fonts. Not all apps support variable fonts, and
16
+ in those cases you can use the static font files for Roboto:
17
+ Roboto/static/Roboto_Condensed-Thin.ttf
18
+ Roboto/static/Roboto_Condensed-ExtraLight.ttf
19
+ Roboto/static/Roboto_Condensed-Light.ttf
20
+ Roboto/static/Roboto_Condensed-Regular.ttf
21
+ Roboto/static/Roboto_Condensed-Medium.ttf
22
+ Roboto/static/Roboto_Condensed-SemiBold.ttf
23
+ Roboto/static/Roboto_Condensed-Bold.ttf
24
+ Roboto/static/Roboto_Condensed-ExtraBold.ttf
25
+ Roboto/static/Roboto_Condensed-Black.ttf
26
+ Roboto/static/Roboto_SemiCondensed-Thin.ttf
27
+ Roboto/static/Roboto_SemiCondensed-ExtraLight.ttf
28
+ Roboto/static/Roboto_SemiCondensed-Light.ttf
29
+ Roboto/static/Roboto_SemiCondensed-Regular.ttf
30
+ Roboto/static/Roboto_SemiCondensed-Medium.ttf
31
+ Roboto/static/Roboto_SemiCondensed-SemiBold.ttf
32
+ Roboto/static/Roboto_SemiCondensed-Bold.ttf
33
+ Roboto/static/Roboto_SemiCondensed-ExtraBold.ttf
34
+ Roboto/static/Roboto_SemiCondensed-Black.ttf
35
+ Roboto/static/Roboto-Thin.ttf
36
+ Roboto/static/Roboto-ExtraLight.ttf
37
+ Roboto/static/Roboto-Light.ttf
38
+ Roboto/static/Roboto-Regular.ttf
39
+ Roboto/static/Roboto-Medium.ttf
40
+ Roboto/static/Roboto-SemiBold.ttf
41
+ Roboto/static/Roboto-Bold.ttf
42
+ Roboto/static/Roboto-ExtraBold.ttf
43
+ Roboto/static/Roboto-Black.ttf
44
+ Roboto/static/Roboto_Condensed-ThinItalic.ttf
45
+ Roboto/static/Roboto_Condensed-ExtraLightItalic.ttf
46
+ Roboto/static/Roboto_Condensed-LightItalic.ttf
47
+ Roboto/static/Roboto_Condensed-Italic.ttf
48
+ Roboto/static/Roboto_Condensed-MediumItalic.ttf
49
+ Roboto/static/Roboto_Condensed-SemiBoldItalic.ttf
50
+ Roboto/static/Roboto_Condensed-BoldItalic.ttf
51
+ Roboto/static/Roboto_Condensed-ExtraBoldItalic.ttf
52
+ Roboto/static/Roboto_Condensed-BlackItalic.ttf
53
+ Roboto/static/Roboto_SemiCondensed-ThinItalic.ttf
54
+ Roboto/static/Roboto_SemiCondensed-ExtraLightItalic.ttf
55
+ Roboto/static/Roboto_SemiCondensed-LightItalic.ttf
56
+ Roboto/static/Roboto_SemiCondensed-Italic.ttf
57
+ Roboto/static/Roboto_SemiCondensed-MediumItalic.ttf
58
+ Roboto/static/Roboto_SemiCondensed-SemiBoldItalic.ttf
59
+ Roboto/static/Roboto_SemiCondensed-BoldItalic.ttf
60
+ Roboto/static/Roboto_SemiCondensed-ExtraBoldItalic.ttf
61
+ Roboto/static/Roboto_SemiCondensed-BlackItalic.ttf
62
+ Roboto/static/Roboto-ThinItalic.ttf
63
+ Roboto/static/Roboto-ExtraLightItalic.ttf
64
+ Roboto/static/Roboto-LightItalic.ttf
65
+ Roboto/static/Roboto-Italic.ttf
66
+ Roboto/static/Roboto-MediumItalic.ttf
67
+ Roboto/static/Roboto-SemiBoldItalic.ttf
68
+ Roboto/static/Roboto-BoldItalic.ttf
69
+ Roboto/static/Roboto-ExtraBoldItalic.ttf
70
+ Roboto/static/Roboto-BlackItalic.ttf
71
+
72
+ Get started
73
+ -----------
74
+
75
+ 1. Install the font files you want to use
76
+
77
+ 2. Use your app's font picker to view the font family and all the
78
+ available styles
79
+
80
+ Learn more about variable fonts
81
+ -------------------------------
82
+
83
+ https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
84
+ https://variablefonts.typenetwork.com
85
+ https://medium.com/variable-fonts
86
+
87
+ In desktop apps
88
+
89
+ https://theblog.adobe.com/can-variable-fonts-illustrator-cc
90
+ https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
91
+
92
+ Online
93
+
94
+ https://developers.google.com/fonts/docs/getting_started
95
+ https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
96
+ https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
97
+
98
+ Installing fonts
99
+
100
+ MacOS: https://support.apple.com/en-us/HT201749
101
+ Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
102
+ Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
103
+
104
+ Android Apps
105
+
106
+ https://developers.google.com/fonts/docs/android
107
+ https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
108
+
109
+ License
110
+ -------
111
+ Please read the full license text (OFL.txt) to understand the permissions,
112
+ restrictions and requirements for usage, redistribution, and modification.
113
+
114
+ You can use them in your products & projects – print or digital,
115
+ commercial or otherwise.
116
+
117
+ This isn't legal advice, please consider consulting a lawyer and see the full
118
+ license for all details.