@db-ux/wc-core-components 1.0.0-test-13b991d

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 (533) hide show
  1. package/README.md +92 -0
  2. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  3. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  4. package/dist/cjs/constants-89822e5f.js +116 -0
  5. package/dist/cjs/constants-89822e5f.js.map +1 -0
  6. package/dist/cjs/db-accordion-item.cjs.entry.js +73 -0
  7. package/dist/cjs/db-accordion-item.cjs.entry.js.map +1 -0
  8. package/dist/cjs/db-accordion.cjs.entry.js +130 -0
  9. package/dist/cjs/db-accordion.cjs.entry.js.map +1 -0
  10. package/dist/cjs/db-badge.cjs.entry.js +75 -0
  11. package/dist/cjs/db-badge.cjs.entry.js.map +1 -0
  12. package/dist/cjs/db-brand.cjs.entry.js +58 -0
  13. package/dist/cjs/db-brand.cjs.entry.js.map +1 -0
  14. package/dist/cjs/db-button.cjs.entry.js +62 -0
  15. package/dist/cjs/db-button.cjs.entry.js.map +1 -0
  16. package/dist/cjs/db-card.cjs.entry.js +62 -0
  17. package/dist/cjs/db-card.cjs.entry.js.map +1 -0
  18. package/dist/cjs/db-checkbox.cjs.entry.js +149 -0
  19. package/dist/cjs/db-checkbox.cjs.entry.js.map +1 -0
  20. package/dist/cjs/db-divider.cjs.entry.js +56 -0
  21. package/dist/cjs/db-divider.cjs.entry.js.map +1 -0
  22. package/dist/cjs/db-drawer.cjs.entry.js +108 -0
  23. package/dist/cjs/db-drawer.cjs.entry.js.map +1 -0
  24. package/dist/cjs/db-header.cjs.entry.js +89 -0
  25. package/dist/cjs/db-header.cjs.entry.js.map +1 -0
  26. package/dist/cjs/db-icon.cjs.entry.js +56 -0
  27. package/dist/cjs/db-icon.cjs.entry.js.map +1 -0
  28. package/dist/cjs/db-infotext.cjs.entry.js +57 -0
  29. package/dist/cjs/db-infotext.cjs.entry.js.map +1 -0
  30. package/dist/cjs/db-input.cjs.entry.js +157 -0
  31. package/dist/cjs/db-input.cjs.entry.js.map +1 -0
  32. package/dist/cjs/db-link.cjs.entry.js +63 -0
  33. package/dist/cjs/db-link.cjs.entry.js.map +1 -0
  34. package/dist/cjs/db-navigation-item.cjs.entry.js +102 -0
  35. package/dist/cjs/db-navigation-item.cjs.entry.js.map +1 -0
  36. package/dist/cjs/db-navigation.cjs.entry.js +59 -0
  37. package/dist/cjs/db-navigation.cjs.entry.js.map +1 -0
  38. package/dist/cjs/db-notification.cjs.entry.js +64 -0
  39. package/dist/cjs/db-notification.cjs.entry.js.map +1 -0
  40. package/dist/cjs/db-page.cjs.entry.js +73 -0
  41. package/dist/cjs/db-page.cjs.entry.js.map +1 -0
  42. package/dist/cjs/db-popover.cjs.entry.js +113 -0
  43. package/dist/cjs/db-popover.cjs.entry.js.map +1 -0
  44. package/dist/cjs/db-radio.cjs.entry.js +98 -0
  45. package/dist/cjs/db-radio.cjs.entry.js.map +1 -0
  46. package/dist/cjs/db-section.cjs.entry.js +59 -0
  47. package/dist/cjs/db-section.cjs.entry.js.map +1 -0
  48. package/dist/cjs/db-select.cjs.entry.js +170 -0
  49. package/dist/cjs/db-select.cjs.entry.js.map +1 -0
  50. package/dist/cjs/db-stack.cjs.entry.js +56 -0
  51. package/dist/cjs/db-stack.cjs.entry.js.map +1 -0
  52. package/dist/cjs/db-switch.cjs.entry.js +91 -0
  53. package/dist/cjs/db-switch.cjs.entry.js.map +1 -0
  54. package/dist/cjs/db-tab-item_3.cjs.entry.js +175 -0
  55. package/dist/cjs/db-tab-item_3.cjs.entry.js.map +1 -0
  56. package/dist/cjs/db-tabs.cjs.entry.js +173 -0
  57. package/dist/cjs/db-tabs.cjs.entry.js.map +1 -0
  58. package/dist/cjs/db-tag.cjs.entry.js +83 -0
  59. package/dist/cjs/db-tag.cjs.entry.js.map +1 -0
  60. package/dist/cjs/db-textarea.cjs.entry.js +144 -0
  61. package/dist/cjs/db-textarea.cjs.entry.js.map +1 -0
  62. package/dist/cjs/db-tooltip.cjs.entry.js +86 -0
  63. package/dist/cjs/db-tooltip.cjs.entry.js.map +1 -0
  64. package/dist/cjs/db-ux.cjs.js +27 -0
  65. package/dist/cjs/db-ux.cjs.js.map +1 -0
  66. package/dist/cjs/index-3d093f06.js +1496 -0
  67. package/dist/cjs/index-3d093f06.js.map +1 -0
  68. package/dist/cjs/index-c0df827d.js +169 -0
  69. package/dist/cjs/index-c0df827d.js.map +1 -0
  70. package/dist/cjs/index.cjs.js +118 -0
  71. package/dist/cjs/index.cjs.js.map +1 -0
  72. package/dist/cjs/loader.cjs.js +17 -0
  73. package/dist/cjs/loader.cjs.js.map +1 -0
  74. package/dist/cjs/navigation-bb2d5552.js +140 -0
  75. package/dist/cjs/navigation-bb2d5552.js.map +1 -0
  76. package/dist/collection/collection-manifest.json +42 -0
  77. package/dist/collection/components/accordion/accordion.js +311 -0
  78. package/dist/collection/components/accordion/accordion.js.map +1 -0
  79. package/dist/collection/components/accordion/index.js +3 -0
  80. package/dist/collection/components/accordion/index.js.map +1 -0
  81. package/dist/collection/components/accordion/model.js +3 -0
  82. package/dist/collection/components/accordion/model.js.map +1 -0
  83. package/dist/collection/components/accordion-item/accordion-item.js +246 -0
  84. package/dist/collection/components/accordion-item/accordion-item.js.map +1 -0
  85. package/dist/collection/components/accordion-item/index.js +3 -0
  86. package/dist/collection/components/accordion-item/index.js.map +1 -0
  87. package/dist/collection/components/accordion-item/model.js +2 -0
  88. package/dist/collection/components/accordion-item/model.js.map +1 -0
  89. package/dist/collection/components/badge/badge.js +280 -0
  90. package/dist/collection/components/badge/badge.js.map +1 -0
  91. package/dist/collection/components/badge/index.js +3 -0
  92. package/dist/collection/components/badge/index.js.map +1 -0
  93. package/dist/collection/components/badge/model.js +2 -0
  94. package/dist/collection/components/badge/model.js.map +1 -0
  95. package/dist/collection/components/brand/brand.js +206 -0
  96. package/dist/collection/components/brand/brand.js.map +1 -0
  97. package/dist/collection/components/brand/index.js +3 -0
  98. package/dist/collection/components/brand/index.js.map +1 -0
  99. package/dist/collection/components/brand/model.js +2 -0
  100. package/dist/collection/components/brand/model.js.map +1 -0
  101. package/dist/collection/components/button/button.js +527 -0
  102. package/dist/collection/components/button/button.js.map +1 -0
  103. package/dist/collection/components/button/index.js +3 -0
  104. package/dist/collection/components/button/index.js.map +1 -0
  105. package/dist/collection/components/button/model.js +4 -0
  106. package/dist/collection/components/button/model.js.map +1 -0
  107. package/dist/collection/components/card/card.js +202 -0
  108. package/dist/collection/components/card/card.js.map +1 -0
  109. package/dist/collection/components/card/index.js +3 -0
  110. package/dist/collection/components/card/index.js.map +1 -0
  111. package/dist/collection/components/card/model.js +3 -0
  112. package/dist/collection/components/card/model.js.map +1 -0
  113. package/dist/collection/components/checkbox/checkbox.js +699 -0
  114. package/dist/collection/components/checkbox/checkbox.js.map +1 -0
  115. package/dist/collection/components/checkbox/index.js +3 -0
  116. package/dist/collection/components/checkbox/index.js.map +1 -0
  117. package/dist/collection/components/checkbox/model.js +2 -0
  118. package/dist/collection/components/checkbox/model.js.map +1 -0
  119. package/dist/collection/components/divider/divider.js +204 -0
  120. package/dist/collection/components/divider/divider.js.map +1 -0
  121. package/dist/collection/components/divider/index.js +3 -0
  122. package/dist/collection/components/divider/index.js.map +1 -0
  123. package/dist/collection/components/divider/model.js +3 -0
  124. package/dist/collection/components/divider/model.js.map +1 -0
  125. package/dist/collection/components/drawer/drawer.js +398 -0
  126. package/dist/collection/components/drawer/drawer.js.map +1 -0
  127. package/dist/collection/components/drawer/index.js +3 -0
  128. package/dist/collection/components/drawer/index.js.map +1 -0
  129. package/dist/collection/components/drawer/model.js +4 -0
  130. package/dist/collection/components/drawer/model.js.map +1 -0
  131. package/dist/collection/components/header/header.js +266 -0
  132. package/dist/collection/components/header/header.js.map +1 -0
  133. package/dist/collection/components/header/index.js +3 -0
  134. package/dist/collection/components/header/index.js.map +1 -0
  135. package/dist/collection/components/header/model.js +2 -0
  136. package/dist/collection/components/header/model.js.map +1 -0
  137. package/dist/collection/components/icon/icon.js +204 -0
  138. package/dist/collection/components/icon/icon.js.map +1 -0
  139. package/dist/collection/components/icon/index.js +3 -0
  140. package/dist/collection/components/icon/index.js.map +1 -0
  141. package/dist/collection/components/icon/model.js +3 -0
  142. package/dist/collection/components/icon/model.js.map +1 -0
  143. package/dist/collection/components/infotext/index.js +3 -0
  144. package/dist/collection/components/infotext/index.js.map +1 -0
  145. package/dist/collection/components/infotext/infotext.js +230 -0
  146. package/dist/collection/components/infotext/infotext.js.map +1 -0
  147. package/dist/collection/components/infotext/model.js +2 -0
  148. package/dist/collection/components/infotext/model.js.map +1 -0
  149. package/dist/collection/components/input/index.js +3 -0
  150. package/dist/collection/components/input/index.js.map +1 -0
  151. package/dist/collection/components/input/input.js +1118 -0
  152. package/dist/collection/components/input/input.js.map +1 -0
  153. package/dist/collection/components/input/model.js +6 -0
  154. package/dist/collection/components/input/model.js.map +1 -0
  155. package/dist/collection/components/link/index.js +3 -0
  156. package/dist/collection/components/link/index.js.map +1 -0
  157. package/dist/collection/components/link/link.js +478 -0
  158. package/dist/collection/components/link/link.js.map +1 -0
  159. package/dist/collection/components/link/model.js +4 -0
  160. package/dist/collection/components/link/model.js.map +1 -0
  161. package/dist/collection/components/navigation/index.js +3 -0
  162. package/dist/collection/components/navigation/index.js.map +1 -0
  163. package/dist/collection/components/navigation/model.js +2 -0
  164. package/dist/collection/components/navigation/model.js.map +1 -0
  165. package/dist/collection/components/navigation/navigation.js +139 -0
  166. package/dist/collection/components/navigation/navigation.js.map +1 -0
  167. package/dist/collection/components/navigation-item/index.js +3 -0
  168. package/dist/collection/components/navigation-item/index.js.map +1 -0
  169. package/dist/collection/components/navigation-item/model.js +2 -0
  170. package/dist/collection/components/navigation-item/model.js.map +1 -0
  171. package/dist/collection/components/navigation-item/navigation-item.js +404 -0
  172. package/dist/collection/components/navigation-item/navigation-item.js.map +1 -0
  173. package/dist/collection/components/notification/index.js +3 -0
  174. package/dist/collection/components/notification/index.js.map +1 -0
  175. package/dist/collection/components/notification/model.js +4 -0
  176. package/dist/collection/components/notification/model.js.map +1 -0
  177. package/dist/collection/components/notification/notification.js +480 -0
  178. package/dist/collection/components/notification/notification.js.map +1 -0
  179. package/dist/collection/components/page/index.js +3 -0
  180. package/dist/collection/components/page/index.js.map +1 -0
  181. package/dist/collection/components/page/model.js +3 -0
  182. package/dist/collection/components/page/model.js.map +1 -0
  183. package/dist/collection/components/page/page.js +204 -0
  184. package/dist/collection/components/page/page.js.map +1 -0
  185. package/dist/collection/components/popover/index.js +3 -0
  186. package/dist/collection/components/popover/index.js.map +1 -0
  187. package/dist/collection/components/popover/model.js +2 -0
  188. package/dist/collection/components/popover/model.js.map +1 -0
  189. package/dist/collection/components/popover/popover.js +344 -0
  190. package/dist/collection/components/popover/popover.js.map +1 -0
  191. package/dist/collection/components/radio/index.js +3 -0
  192. package/dist/collection/components/radio/index.js.map +1 -0
  193. package/dist/collection/components/radio/model.js +2 -0
  194. package/dist/collection/components/radio/model.js.map +1 -0
  195. package/dist/collection/components/radio/radio.js +518 -0
  196. package/dist/collection/components/radio/radio.js.map +1 -0
  197. package/dist/collection/components/section/index.js +3 -0
  198. package/dist/collection/components/section/index.js.map +1 -0
  199. package/dist/collection/components/section/model.js +2 -0
  200. package/dist/collection/components/section/model.js.map +1 -0
  201. package/dist/collection/components/section/section.js +164 -0
  202. package/dist/collection/components/section/section.js.map +1 -0
  203. package/dist/collection/components/select/index.js +3 -0
  204. package/dist/collection/components/select/index.js.map +1 -0
  205. package/dist/collection/components/select/model.js +2 -0
  206. package/dist/collection/components/select/model.js.map +1 -0
  207. package/dist/collection/components/select/select.js +846 -0
  208. package/dist/collection/components/select/select.js.map +1 -0
  209. package/dist/collection/components/stack/index.js +3 -0
  210. package/dist/collection/components/stack/index.js.map +1 -0
  211. package/dist/collection/components/stack/model.js +5 -0
  212. package/dist/collection/components/stack/model.js.map +1 -0
  213. package/dist/collection/components/stack/stack.js +254 -0
  214. package/dist/collection/components/stack/stack.js.map +1 -0
  215. package/dist/collection/components/switch/index.js +3 -0
  216. package/dist/collection/components/switch/index.js.map +1 -0
  217. package/dist/collection/components/switch/model.js +2 -0
  218. package/dist/collection/components/switch/model.js.map +1 -0
  219. package/dist/collection/components/switch/switch.js +587 -0
  220. package/dist/collection/components/switch/switch.js.map +1 -0
  221. package/dist/collection/components/tab-item/index.js +3 -0
  222. package/dist/collection/components/tab-item/index.js.map +1 -0
  223. package/dist/collection/components/tab-item/model.js +2 -0
  224. package/dist/collection/components/tab-item/model.js.map +1 -0
  225. package/dist/collection/components/tab-item/tab-item.js +399 -0
  226. package/dist/collection/components/tab-item/tab-item.js.map +1 -0
  227. package/dist/collection/components/tab-list/index.js +3 -0
  228. package/dist/collection/components/tab-list/index.js.map +1 -0
  229. package/dist/collection/components/tab-list/model.js +2 -0
  230. package/dist/collection/components/tab-list/model.js.map +1 -0
  231. package/dist/collection/components/tab-list/tab-list.js +114 -0
  232. package/dist/collection/components/tab-list/tab-list.js.map +1 -0
  233. package/dist/collection/components/tab-panel/index.js +3 -0
  234. package/dist/collection/components/tab-panel/index.js.map +1 -0
  235. package/dist/collection/components/tab-panel/model.js +2 -0
  236. package/dist/collection/components/tab-panel/model.js.map +1 -0
  237. package/dist/collection/components/tab-panel/tab-panel.js +154 -0
  238. package/dist/collection/components/tab-panel/tab-panel.js.map +1 -0
  239. package/dist/collection/components/tabs/index.js +3 -0
  240. package/dist/collection/components/tabs/index.js.map +1 -0
  241. package/dist/collection/components/tabs/model.js +3 -0
  242. package/dist/collection/components/tabs/model.js.map +1 -0
  243. package/dist/collection/components/tabs/tabs.js +458 -0
  244. package/dist/collection/components/tabs/tabs.js.map +1 -0
  245. package/dist/collection/components/tag/index.js +3 -0
  246. package/dist/collection/components/tag/index.js.map +1 -0
  247. package/dist/collection/components/tag/model.js +2 -0
  248. package/dist/collection/components/tag/model.js.map +1 -0
  249. package/dist/collection/components/tag/tag.js +430 -0
  250. package/dist/collection/components/tag/tag.js.map +1 -0
  251. package/dist/collection/components/textarea/index.js +3 -0
  252. package/dist/collection/components/textarea/index.js.map +1 -0
  253. package/dist/collection/components/textarea/model.js +3 -0
  254. package/dist/collection/components/textarea/model.js.map +1 -0
  255. package/dist/collection/components/textarea/textarea.js +956 -0
  256. package/dist/collection/components/textarea/textarea.js.map +1 -0
  257. package/dist/collection/components/tooltip/index.js +3 -0
  258. package/dist/collection/components/tooltip/index.js.map +1 -0
  259. package/dist/collection/components/tooltip/model.js +2 -0
  260. package/dist/collection/components/tooltip/model.js.map +1 -0
  261. package/dist/collection/components/tooltip/tooltip.js +292 -0
  262. package/dist/collection/components/tooltip/tooltip.js.map +1 -0
  263. package/dist/collection/index.js +37 -0
  264. package/dist/collection/index.js.map +1 -0
  265. package/dist/collection/shared/constants.js +88 -0
  266. package/dist/collection/shared/constants.js.map +1 -0
  267. package/dist/collection/shared/model.js +22 -0
  268. package/dist/collection/shared/model.js.map +1 -0
  269. package/dist/collection/utils/form-components.js +11 -0
  270. package/dist/collection/utils/form-components.js.map +1 -0
  271. package/dist/collection/utils/index.js +167 -0
  272. package/dist/collection/utils/index.js.map +1 -0
  273. package/dist/collection/utils/navigation.js +137 -0
  274. package/dist/collection/utils/navigation.js.map +1 -0
  275. package/dist/custom-elements.json +13474 -0
  276. package/dist/db-ux/db-ux.esm.js +2 -0
  277. package/dist/db-ux/db-ux.esm.js.map +1 -0
  278. package/dist/db-ux/index.esm.js +2 -0
  279. package/dist/db-ux/index.esm.js.map +1 -0
  280. package/dist/db-ux/p-031e9fbf.entry.js +2 -0
  281. package/dist/db-ux/p-031e9fbf.entry.js.map +1 -0
  282. package/dist/db-ux/p-08126c21.entry.js +2 -0
  283. package/dist/db-ux/p-08126c21.entry.js.map +1 -0
  284. package/dist/db-ux/p-1066cd52.entry.js +2 -0
  285. package/dist/db-ux/p-1066cd52.entry.js.map +1 -0
  286. package/dist/db-ux/p-10d30f53.entry.js +2 -0
  287. package/dist/db-ux/p-10d30f53.entry.js.map +1 -0
  288. package/dist/db-ux/p-1566cfef.entry.js +2 -0
  289. package/dist/db-ux/p-1566cfef.entry.js.map +1 -0
  290. package/dist/db-ux/p-1c12853c.entry.js +2 -0
  291. package/dist/db-ux/p-1c12853c.entry.js.map +1 -0
  292. package/dist/db-ux/p-1feee149.js +3 -0
  293. package/dist/db-ux/p-1feee149.js.map +1 -0
  294. package/dist/db-ux/p-2d32aa06.entry.js +2 -0
  295. package/dist/db-ux/p-2d32aa06.entry.js.map +1 -0
  296. package/dist/db-ux/p-2e318e2a.entry.js +2 -0
  297. package/dist/db-ux/p-2e318e2a.entry.js.map +1 -0
  298. package/dist/db-ux/p-34f88e4e.js +2 -0
  299. package/dist/db-ux/p-34f88e4e.js.map +1 -0
  300. package/dist/db-ux/p-3f2e2d87.entry.js +2 -0
  301. package/dist/db-ux/p-3f2e2d87.entry.js.map +1 -0
  302. package/dist/db-ux/p-43aa16d7.entry.js +2 -0
  303. package/dist/db-ux/p-43aa16d7.entry.js.map +1 -0
  304. package/dist/db-ux/p-5a689165.entry.js +2 -0
  305. package/dist/db-ux/p-5a689165.entry.js.map +1 -0
  306. package/dist/db-ux/p-683d690f.entry.js +2 -0
  307. package/dist/db-ux/p-683d690f.entry.js.map +1 -0
  308. package/dist/db-ux/p-6b6f1f7f.entry.js +2 -0
  309. package/dist/db-ux/p-6b6f1f7f.entry.js.map +1 -0
  310. package/dist/db-ux/p-6f645f17.entry.js +2 -0
  311. package/dist/db-ux/p-6f645f17.entry.js.map +1 -0
  312. package/dist/db-ux/p-71cb932e.entry.js +2 -0
  313. package/dist/db-ux/p-71cb932e.entry.js.map +1 -0
  314. package/dist/db-ux/p-78e5293a.entry.js +2 -0
  315. package/dist/db-ux/p-78e5293a.entry.js.map +1 -0
  316. package/dist/db-ux/p-79b43b42.entry.js +2 -0
  317. package/dist/db-ux/p-79b43b42.entry.js.map +1 -0
  318. package/dist/db-ux/p-79d9caa7.entry.js +2 -0
  319. package/dist/db-ux/p-79d9caa7.entry.js.map +1 -0
  320. package/dist/db-ux/p-871805e1.entry.js +2 -0
  321. package/dist/db-ux/p-871805e1.entry.js.map +1 -0
  322. package/dist/db-ux/p-8e2a086b.entry.js +2 -0
  323. package/dist/db-ux/p-8e2a086b.entry.js.map +1 -0
  324. package/dist/db-ux/p-99d90022.js +2 -0
  325. package/dist/db-ux/p-99d90022.js.map +1 -0
  326. package/dist/db-ux/p-a3be13fd.entry.js +2 -0
  327. package/dist/db-ux/p-a3be13fd.entry.js.map +1 -0
  328. package/dist/db-ux/p-a494046c.entry.js +2 -0
  329. package/dist/db-ux/p-a494046c.entry.js.map +1 -0
  330. package/dist/db-ux/p-ab8a1944.entry.js +2 -0
  331. package/dist/db-ux/p-ab8a1944.entry.js.map +1 -0
  332. package/dist/db-ux/p-af3834b6.js +2 -0
  333. package/dist/db-ux/p-af3834b6.js.map +1 -0
  334. package/dist/db-ux/p-b0f1a571.entry.js +2 -0
  335. package/dist/db-ux/p-b0f1a571.entry.js.map +1 -0
  336. package/dist/db-ux/p-b47af6eb.entry.js +2 -0
  337. package/dist/db-ux/p-b47af6eb.entry.js.map +1 -0
  338. package/dist/db-ux/p-c6d54dd4.entry.js +2 -0
  339. package/dist/db-ux/p-c6d54dd4.entry.js.map +1 -0
  340. package/dist/db-ux/p-d48f3770.entry.js +2 -0
  341. package/dist/db-ux/p-d48f3770.entry.js.map +1 -0
  342. package/dist/db-ux/p-e1255160.js +2 -0
  343. package/dist/db-ux/p-e1255160.js.map +1 -0
  344. package/dist/db-ux/p-f65f4eac.entry.js +2 -0
  345. package/dist/db-ux/p-f65f4eac.entry.js.map +1 -0
  346. package/dist/db-ux/p-fea6db86.entry.js +2 -0
  347. package/dist/db-ux/p-fea6db86.entry.js.map +1 -0
  348. package/dist/esm/app-globals-0f993ce5.js +5 -0
  349. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  350. package/dist/esm/constants-745cf8d7.js +91 -0
  351. package/dist/esm/constants-745cf8d7.js.map +1 -0
  352. package/dist/esm/db-accordion-item.entry.js +69 -0
  353. package/dist/esm/db-accordion-item.entry.js.map +1 -0
  354. package/dist/esm/db-accordion.entry.js +126 -0
  355. package/dist/esm/db-accordion.entry.js.map +1 -0
  356. package/dist/esm/db-badge.entry.js +71 -0
  357. package/dist/esm/db-badge.entry.js.map +1 -0
  358. package/dist/esm/db-brand.entry.js +54 -0
  359. package/dist/esm/db-brand.entry.js.map +1 -0
  360. package/dist/esm/db-button.entry.js +58 -0
  361. package/dist/esm/db-button.entry.js.map +1 -0
  362. package/dist/esm/db-card.entry.js +58 -0
  363. package/dist/esm/db-card.entry.js.map +1 -0
  364. package/dist/esm/db-checkbox.entry.js +145 -0
  365. package/dist/esm/db-checkbox.entry.js.map +1 -0
  366. package/dist/esm/db-divider.entry.js +52 -0
  367. package/dist/esm/db-divider.entry.js.map +1 -0
  368. package/dist/esm/db-drawer.entry.js +104 -0
  369. package/dist/esm/db-drawer.entry.js.map +1 -0
  370. package/dist/esm/db-header.entry.js +85 -0
  371. package/dist/esm/db-header.entry.js.map +1 -0
  372. package/dist/esm/db-icon.entry.js +52 -0
  373. package/dist/esm/db-icon.entry.js.map +1 -0
  374. package/dist/esm/db-infotext.entry.js +53 -0
  375. package/dist/esm/db-infotext.entry.js.map +1 -0
  376. package/dist/esm/db-input.entry.js +153 -0
  377. package/dist/esm/db-input.entry.js.map +1 -0
  378. package/dist/esm/db-link.entry.js +59 -0
  379. package/dist/esm/db-link.entry.js.map +1 -0
  380. package/dist/esm/db-navigation-item.entry.js +98 -0
  381. package/dist/esm/db-navigation-item.entry.js.map +1 -0
  382. package/dist/esm/db-navigation.entry.js +55 -0
  383. package/dist/esm/db-navigation.entry.js.map +1 -0
  384. package/dist/esm/db-notification.entry.js +60 -0
  385. package/dist/esm/db-notification.entry.js.map +1 -0
  386. package/dist/esm/db-page.entry.js +69 -0
  387. package/dist/esm/db-page.entry.js.map +1 -0
  388. package/dist/esm/db-popover.entry.js +109 -0
  389. package/dist/esm/db-popover.entry.js.map +1 -0
  390. package/dist/esm/db-radio.entry.js +94 -0
  391. package/dist/esm/db-radio.entry.js.map +1 -0
  392. package/dist/esm/db-section.entry.js +55 -0
  393. package/dist/esm/db-section.entry.js.map +1 -0
  394. package/dist/esm/db-select.entry.js +166 -0
  395. package/dist/esm/db-select.entry.js.map +1 -0
  396. package/dist/esm/db-stack.entry.js +52 -0
  397. package/dist/esm/db-stack.entry.js.map +1 -0
  398. package/dist/esm/db-switch.entry.js +87 -0
  399. package/dist/esm/db-switch.entry.js.map +1 -0
  400. package/dist/esm/db-tab-item_3.entry.js +169 -0
  401. package/dist/esm/db-tab-item_3.entry.js.map +1 -0
  402. package/dist/esm/db-tabs.entry.js +169 -0
  403. package/dist/esm/db-tabs.entry.js.map +1 -0
  404. package/dist/esm/db-tag.entry.js +79 -0
  405. package/dist/esm/db-tag.entry.js.map +1 -0
  406. package/dist/esm/db-textarea.entry.js +140 -0
  407. package/dist/esm/db-textarea.entry.js.map +1 -0
  408. package/dist/esm/db-tooltip.entry.js +82 -0
  409. package/dist/esm/db-tooltip.entry.js.map +1 -0
  410. package/dist/esm/db-ux.js +22 -0
  411. package/dist/esm/db-ux.js.map +1 -0
  412. package/dist/esm/index-5be50117.js +1468 -0
  413. package/dist/esm/index-5be50117.js.map +1 -0
  414. package/dist/esm/index-fad99efc.js +153 -0
  415. package/dist/esm/index-fad99efc.js.map +1 -0
  416. package/dist/esm/index.js +30 -0
  417. package/dist/esm/index.js.map +1 -0
  418. package/dist/esm/loader.js +13 -0
  419. package/dist/esm/loader.js.map +1 -0
  420. package/dist/esm/navigation-9fec9921.js +137 -0
  421. package/dist/esm/navigation-9fec9921.js.map +1 -0
  422. package/dist/index.cjs.js +1 -0
  423. package/dist/index.js +1 -0
  424. package/dist/loader/cdn.js +1 -0
  425. package/dist/loader/index.cjs.js +1 -0
  426. package/dist/loader/index.d.ts +24 -0
  427. package/dist/loader/index.es2017.js +1 -0
  428. package/dist/loader/index.js +2 -0
  429. package/dist/loader/package.json +11 -0
  430. package/dist/types/components/accordion/accordion.d.ts +29 -0
  431. package/dist/types/components/accordion/index.d.ts +2 -0
  432. package/dist/types/components/accordion/model.d.ts +41 -0
  433. package/dist/types/components/accordion-item/accordion-item.d.ts +27 -0
  434. package/dist/types/components/accordion-item/index.d.ts +2 -0
  435. package/dist/types/components/accordion-item/model.d.ts +24 -0
  436. package/dist/types/components/badge/badge.d.ts +26 -0
  437. package/dist/types/components/badge/index.d.ts +2 -0
  438. package/dist/types/components/badge/model.d.ts +16 -0
  439. package/dist/types/components/brand/brand.d.ts +22 -0
  440. package/dist/types/components/brand/index.d.ts +2 -0
  441. package/dist/types/components/brand/model.d.ts +10 -0
  442. package/dist/types/components/button/button.d.ts +37 -0
  443. package/dist/types/components/button/index.d.ts +2 -0
  444. package/dist/types/components/button/model.d.ts +52 -0
  445. package/dist/types/components/card/card.d.ts +24 -0
  446. package/dist/types/components/card/index.d.ts +2 -0
  447. package/dist/types/components/card/model.d.ts +18 -0
  448. package/dist/types/components/checkbox/checkbox.d.ts +51 -0
  449. package/dist/types/components/checkbox/index.d.ts +2 -0
  450. package/dist/types/components/checkbox/model.d.ts +10 -0
  451. package/dist/types/components/divider/divider.d.ts +22 -0
  452. package/dist/types/components/divider/index.d.ts +2 -0
  453. package/dist/types/components/divider/model.d.ts +18 -0
  454. package/dist/types/components/drawer/drawer.d.ts +32 -0
  455. package/dist/types/components/drawer/index.d.ts +2 -0
  456. package/dist/types/components/drawer/model.d.ts +41 -0
  457. package/dist/types/components/header/header.d.ts +32 -0
  458. package/dist/types/components/header/index.d.ts +2 -0
  459. package/dist/types/components/header/model.d.ts +44 -0
  460. package/dist/types/components/icon/icon.d.ts +22 -0
  461. package/dist/types/components/icon/index.d.ts +2 -0
  462. package/dist/types/components/icon/model.d.ts +12 -0
  463. package/dist/types/components/infotext/index.d.ts +2 -0
  464. package/dist/types/components/infotext/infotext.d.ts +23 -0
  465. package/dist/types/components/infotext/model.d.ts +5 -0
  466. package/dist/types/components/input/index.d.ts +2 -0
  467. package/dist/types/components/input/input.d.ts +71 -0
  468. package/dist/types/components/input/model.d.ts +39 -0
  469. package/dist/types/components/link/index.d.ts +2 -0
  470. package/dist/types/components/link/link.d.ts +35 -0
  471. package/dist/types/components/link/model.d.ts +24 -0
  472. package/dist/types/components/navigation/index.d.ts +2 -0
  473. package/dist/types/components/navigation/model.d.ts +5 -0
  474. package/dist/types/components/navigation/navigation.d.ts +20 -0
  475. package/dist/types/components/navigation-item/index.d.ts +2 -0
  476. package/dist/types/components/navigation-item/model.d.ts +34 -0
  477. package/dist/types/components/navigation-item/navigation-item.d.ts +39 -0
  478. package/dist/types/components/notification/index.d.ts +2 -0
  479. package/dist/types/components/notification/model.d.ts +57 -0
  480. package/dist/types/components/notification/notification.d.ts +36 -0
  481. package/dist/types/components/page/index.d.ts +2 -0
  482. package/dist/types/components/page/model.d.ts +32 -0
  483. package/dist/types/components/page/page.d.ts +24 -0
  484. package/dist/types/components/popover/index.d.ts +2 -0
  485. package/dist/types/components/popover/model.d.ts +18 -0
  486. package/dist/types/components/popover/popover.d.ts +31 -0
  487. package/dist/types/components/radio/index.d.ts +2 -0
  488. package/dist/types/components/radio/model.d.ts +7 -0
  489. package/dist/types/components/radio/radio.d.ts +41 -0
  490. package/dist/types/components/section/index.d.ts +2 -0
  491. package/dist/types/components/section/model.d.ts +5 -0
  492. package/dist/types/components/section/section.d.ts +21 -0
  493. package/dist/types/components/select/index.d.ts +2 -0
  494. package/dist/types/components/select/model.d.ts +43 -0
  495. package/dist/types/components/select/select.d.ts +62 -0
  496. package/dist/types/components/stack/index.d.ts +2 -0
  497. package/dist/types/components/stack/model.d.ts +34 -0
  498. package/dist/types/components/stack/stack.d.ts +24 -0
  499. package/dist/types/components/switch/index.d.ts +2 -0
  500. package/dist/types/components/switch/model.d.ts +12 -0
  501. package/dist/types/components/switch/switch.d.ts +44 -0
  502. package/dist/types/components/tab-item/index.d.ts +2 -0
  503. package/dist/types/components/tab-item/model.d.ts +24 -0
  504. package/dist/types/components/tab-item/tab-item.d.ts +34 -0
  505. package/dist/types/components/tab-list/index.d.ts +2 -0
  506. package/dist/types/components/tab-list/model.d.ts +5 -0
  507. package/dist/types/components/tab-list/tab-list.d.ts +19 -0
  508. package/dist/types/components/tab-panel/index.d.ts +2 -0
  509. package/dist/types/components/tab-panel/model.d.ts +10 -0
  510. package/dist/types/components/tab-panel/tab-panel.d.ts +20 -0
  511. package/dist/types/components/tabs/index.d.ts +2 -0
  512. package/dist/types/components/tabs/model.d.ts +47 -0
  513. package/dist/types/components/tabs/tabs.d.ts +39 -0
  514. package/dist/types/components/tag/index.d.ts +2 -0
  515. package/dist/types/components/tag/model.d.ts +45 -0
  516. package/dist/types/components/tag/tag.d.ts +34 -0
  517. package/dist/types/components/textarea/index.d.ts +2 -0
  518. package/dist/types/components/textarea/model.d.ts +30 -0
  519. package/dist/types/components/textarea/textarea.d.ts +63 -0
  520. package/dist/types/components/tooltip/index.d.ts +2 -0
  521. package/dist/types/components/tooltip/model.d.ts +7 -0
  522. package/dist/types/components/tooltip/tooltip.d.ts +30 -0
  523. package/dist/types/components.d.ts +1479 -0
  524. package/dist/types/index.d.ts +36 -0
  525. package/dist/types/shared/constants.d.ts +83 -0
  526. package/dist/types/shared/model.d.ts +445 -0
  527. package/dist/types/stencil-public-runtime.d.ts +1680 -0
  528. package/dist/types/utils/form-components.d.ts +2 -0
  529. package/dist/types/utils/index.d.ts +61 -0
  530. package/dist/types/utils/navigation.d.ts +32 -0
  531. package/dist/vscode.html-custom-data.json +2245 -0
  532. package/dist/web-types.json +3991 -0
  533. package/package.json +48 -0
@@ -0,0 +1,480 @@
1
+ import { DEFAULT_CLOSE_BUTTON } from "../../shared/constants";
2
+ import { cls, getHideProp, stringPropVisible } from "../../utils";
3
+ import { h } from "@stencil/core";
4
+ /**
5
+ * @slot children - This is a default/unnamed slot
6
+ * @slot image - TODO: Add description for slotImage
7
+ * @slot link - TODO: Add description for slotLink
8
+ */
9
+ export class DBNotification {
10
+ handleClose(event) {
11
+ if (this.onClose) {
12
+ this.onClose.emit();
13
+ }
14
+ }
15
+ /**
16
+ * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
17
+ * @param element the ref for the component
18
+ * @param customElementSelector the custom element like `my-component`
19
+ */
20
+ enableAttributePassing(element, customElementSelector) {
21
+ const parent = element === null || element === void 0 ? void 0 : element.closest(customElementSelector);
22
+ if (element && parent) {
23
+ const attributes = parent.attributes;
24
+ for (let i = 0; i < attributes.length; i++) {
25
+ const attr = attributes.item(i);
26
+ if (attr &&
27
+ (attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
28
+ element.setAttribute(attr.name, attr.value);
29
+ parent.removeAttribute(attr.name);
30
+ }
31
+ if (attr && attr.name === "class") {
32
+ const isWebComponent = attr.value.includes("hydrated");
33
+ const value = attr.value.replace("hydrated", "").trim();
34
+ const currentClass = element.getAttribute("class");
35
+ element.setAttribute(attr.name, `${currentClass ? `${currentClass} ` : ""}${value}`);
36
+ if (isWebComponent) {
37
+ // Stencil is using this class for lazy loading component
38
+ parent.setAttribute("class", "hydrated");
39
+ }
40
+ else {
41
+ parent.removeAttribute(attr.name);
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ componentDidLoad() {
48
+ this.enableAttributePassing(this._ref, "db-notification");
49
+ }
50
+ render() {
51
+ var _a;
52
+ return (h("article", { key: '687caef11f1936276ea751c770a202132d7ff823', class: cls("db-notification", this.className), ref: (el) => {
53
+ this._ref = el;
54
+ }, id: this.id, "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": this.icon, "data-hide-icon": getHideProp(this.showIcon), "data-link-variant": this.linkVariant }, h("slot", { key: '8b8fe272272196ebf585a0b3166c27fdf8a81c0a', name: "image" }), stringPropVisible(this.headline, this.showHeadline) ? (h("header", null, this.headline)) : null, h("p", { key: '57f127bde56e0ea9ecebf371f2119c4b5b6c0e50' }, this.text ? this.text : h("slot", null)), stringPropVisible(this.timestamp, this.showTimestamp) ? (h("span", null, this.timestamp)) : null, h("slot", { key: 'ab7ddf6617b5df95984d2d7dc21ef6dd517981fc', name: "link" }), this.closeable ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event) }, (_a = this.closeButtonText) !== null && _a !== void 0 ? _a : DEFAULT_CLOSE_BUTTON)) : null));
55
+ }
56
+ static get is() { return "db-notification"; }
57
+ static get properties() {
58
+ return {
59
+ "id": {
60
+ "type": "string",
61
+ "mutable": false,
62
+ "complexType": {
63
+ "original": "DBNotificationProps[\"id\"]",
64
+ "resolved": "string",
65
+ "references": {
66
+ "DBNotificationProps": {
67
+ "location": "import",
68
+ "path": "./model",
69
+ "id": "src/components/notification/model.ts::DBNotificationProps"
70
+ }
71
+ }
72
+ },
73
+ "required": false,
74
+ "optional": false,
75
+ "docs": {
76
+ "tags": [],
77
+ "text": ""
78
+ },
79
+ "getter": false,
80
+ "setter": false,
81
+ "attribute": "id",
82
+ "reflect": false
83
+ },
84
+ "className": {
85
+ "type": "string",
86
+ "mutable": false,
87
+ "complexType": {
88
+ "original": "DBNotificationProps[\"className\"]",
89
+ "resolved": "string",
90
+ "references": {
91
+ "DBNotificationProps": {
92
+ "location": "import",
93
+ "path": "./model",
94
+ "id": "src/components/notification/model.ts::DBNotificationProps"
95
+ }
96
+ }
97
+ },
98
+ "required": false,
99
+ "optional": false,
100
+ "docs": {
101
+ "tags": [],
102
+ "text": ""
103
+ },
104
+ "getter": false,
105
+ "setter": false,
106
+ "attribute": "classname",
107
+ "reflect": false
108
+ },
109
+ "ariaLive": {
110
+ "type": "string",
111
+ "mutable": false,
112
+ "complexType": {
113
+ "original": "DBNotificationProps[\"ariaLive\"]",
114
+ "resolved": "\"assertive\" | \"off\" | \"polite\"",
115
+ "references": {
116
+ "DBNotificationProps": {
117
+ "location": "import",
118
+ "path": "./model",
119
+ "id": "src/components/notification/model.ts::DBNotificationProps"
120
+ }
121
+ }
122
+ },
123
+ "required": false,
124
+ "optional": false,
125
+ "docs": {
126
+ "tags": [],
127
+ "text": ""
128
+ },
129
+ "getter": false,
130
+ "setter": false,
131
+ "attribute": "aria-live",
132
+ "reflect": false
133
+ },
134
+ "semantic": {
135
+ "type": "string",
136
+ "mutable": false,
137
+ "complexType": {
138
+ "original": "DBNotificationProps[\"semantic\"]",
139
+ "resolved": "\"adaptive\" | \"critical\" | \"informational\" | \"neutral\" | \"successful\" | \"warning\"",
140
+ "references": {
141
+ "DBNotificationProps": {
142
+ "location": "import",
143
+ "path": "./model",
144
+ "id": "src/components/notification/model.ts::DBNotificationProps"
145
+ }
146
+ }
147
+ },
148
+ "required": false,
149
+ "optional": false,
150
+ "docs": {
151
+ "tags": [],
152
+ "text": ""
153
+ },
154
+ "getter": false,
155
+ "setter": false,
156
+ "attribute": "semantic",
157
+ "reflect": false
158
+ },
159
+ "variant": {
160
+ "type": "string",
161
+ "mutable": false,
162
+ "complexType": {
163
+ "original": "DBNotificationProps[\"variant\"]",
164
+ "resolved": "\"docked\" | \"overlay\" | \"standalone\"",
165
+ "references": {
166
+ "DBNotificationProps": {
167
+ "location": "import",
168
+ "path": "./model",
169
+ "id": "src/components/notification/model.ts::DBNotificationProps"
170
+ }
171
+ }
172
+ },
173
+ "required": false,
174
+ "optional": false,
175
+ "docs": {
176
+ "tags": [],
177
+ "text": ""
178
+ },
179
+ "getter": false,
180
+ "setter": false,
181
+ "attribute": "variant",
182
+ "reflect": false
183
+ },
184
+ "icon": {
185
+ "type": "string",
186
+ "mutable": false,
187
+ "complexType": {
188
+ "original": "DBNotificationProps[\"icon\"]",
189
+ "resolved": "BaseIconTypes | LooseAutocomplete",
190
+ "references": {
191
+ "DBNotificationProps": {
192
+ "location": "import",
193
+ "path": "./model",
194
+ "id": "src/components/notification/model.ts::DBNotificationProps"
195
+ }
196
+ }
197
+ },
198
+ "required": false,
199
+ "optional": false,
200
+ "docs": {
201
+ "tags": [],
202
+ "text": ""
203
+ },
204
+ "getter": false,
205
+ "setter": false,
206
+ "attribute": "icon",
207
+ "reflect": false
208
+ },
209
+ "showIcon": {
210
+ "type": "boolean",
211
+ "mutable": false,
212
+ "complexType": {
213
+ "original": "DBNotificationProps[\"showIcon\"]",
214
+ "resolved": "boolean",
215
+ "references": {
216
+ "DBNotificationProps": {
217
+ "location": "import",
218
+ "path": "./model",
219
+ "id": "src/components/notification/model.ts::DBNotificationProps"
220
+ }
221
+ }
222
+ },
223
+ "required": false,
224
+ "optional": false,
225
+ "docs": {
226
+ "tags": [],
227
+ "text": ""
228
+ },
229
+ "getter": false,
230
+ "setter": false,
231
+ "attribute": "show-icon",
232
+ "reflect": false
233
+ },
234
+ "linkVariant": {
235
+ "type": "string",
236
+ "mutable": false,
237
+ "complexType": {
238
+ "original": "DBNotificationProps[\"linkVariant\"]",
239
+ "resolved": "\"block\" | \"inline\"",
240
+ "references": {
241
+ "DBNotificationProps": {
242
+ "location": "import",
243
+ "path": "./model",
244
+ "id": "src/components/notification/model.ts::DBNotificationProps"
245
+ }
246
+ }
247
+ },
248
+ "required": false,
249
+ "optional": false,
250
+ "docs": {
251
+ "tags": [],
252
+ "text": ""
253
+ },
254
+ "getter": false,
255
+ "setter": false,
256
+ "attribute": "link-variant",
257
+ "reflect": false
258
+ },
259
+ "headline": {
260
+ "type": "any",
261
+ "mutable": false,
262
+ "complexType": {
263
+ "original": "DBNotificationProps[\"headline\"]",
264
+ "resolved": "any",
265
+ "references": {
266
+ "DBNotificationProps": {
267
+ "location": "import",
268
+ "path": "./model",
269
+ "id": "src/components/notification/model.ts::DBNotificationProps"
270
+ }
271
+ }
272
+ },
273
+ "required": false,
274
+ "optional": false,
275
+ "docs": {
276
+ "tags": [],
277
+ "text": ""
278
+ },
279
+ "getter": false,
280
+ "setter": false,
281
+ "attribute": "headline",
282
+ "reflect": false
283
+ },
284
+ "showHeadline": {
285
+ "type": "boolean",
286
+ "mutable": false,
287
+ "complexType": {
288
+ "original": "DBNotificationProps[\"showHeadline\"]",
289
+ "resolved": "boolean",
290
+ "references": {
291
+ "DBNotificationProps": {
292
+ "location": "import",
293
+ "path": "./model",
294
+ "id": "src/components/notification/model.ts::DBNotificationProps"
295
+ }
296
+ }
297
+ },
298
+ "required": false,
299
+ "optional": false,
300
+ "docs": {
301
+ "tags": [],
302
+ "text": ""
303
+ },
304
+ "getter": false,
305
+ "setter": false,
306
+ "attribute": "show-headline",
307
+ "reflect": false
308
+ },
309
+ "text": {
310
+ "type": "string",
311
+ "mutable": false,
312
+ "complexType": {
313
+ "original": "DBNotificationProps[\"text\"]",
314
+ "resolved": "string",
315
+ "references": {
316
+ "DBNotificationProps": {
317
+ "location": "import",
318
+ "path": "./model",
319
+ "id": "src/components/notification/model.ts::DBNotificationProps"
320
+ }
321
+ }
322
+ },
323
+ "required": false,
324
+ "optional": false,
325
+ "docs": {
326
+ "tags": [],
327
+ "text": ""
328
+ },
329
+ "getter": false,
330
+ "setter": false,
331
+ "attribute": "text",
332
+ "reflect": false
333
+ },
334
+ "timestamp": {
335
+ "type": "string",
336
+ "mutable": false,
337
+ "complexType": {
338
+ "original": "DBNotificationProps[\"timestamp\"]",
339
+ "resolved": "string",
340
+ "references": {
341
+ "DBNotificationProps": {
342
+ "location": "import",
343
+ "path": "./model",
344
+ "id": "src/components/notification/model.ts::DBNotificationProps"
345
+ }
346
+ }
347
+ },
348
+ "required": false,
349
+ "optional": false,
350
+ "docs": {
351
+ "tags": [],
352
+ "text": ""
353
+ },
354
+ "getter": false,
355
+ "setter": false,
356
+ "attribute": "timestamp",
357
+ "reflect": false
358
+ },
359
+ "showTimestamp": {
360
+ "type": "boolean",
361
+ "mutable": false,
362
+ "complexType": {
363
+ "original": "DBNotificationProps[\"showTimestamp\"]",
364
+ "resolved": "boolean",
365
+ "references": {
366
+ "DBNotificationProps": {
367
+ "location": "import",
368
+ "path": "./model",
369
+ "id": "src/components/notification/model.ts::DBNotificationProps"
370
+ }
371
+ }
372
+ },
373
+ "required": false,
374
+ "optional": false,
375
+ "docs": {
376
+ "tags": [],
377
+ "text": ""
378
+ },
379
+ "getter": false,
380
+ "setter": false,
381
+ "attribute": "show-timestamp",
382
+ "reflect": false
383
+ },
384
+ "closeable": {
385
+ "type": "boolean",
386
+ "mutable": false,
387
+ "complexType": {
388
+ "original": "DBNotificationProps[\"closeable\"]",
389
+ "resolved": "boolean",
390
+ "references": {
391
+ "DBNotificationProps": {
392
+ "location": "import",
393
+ "path": "./model",
394
+ "id": "src/components/notification/model.ts::DBNotificationProps"
395
+ }
396
+ }
397
+ },
398
+ "required": false,
399
+ "optional": false,
400
+ "docs": {
401
+ "tags": [],
402
+ "text": ""
403
+ },
404
+ "getter": false,
405
+ "setter": false,
406
+ "attribute": "closeable",
407
+ "reflect": false
408
+ },
409
+ "closeButtonId": {
410
+ "type": "string",
411
+ "mutable": false,
412
+ "complexType": {
413
+ "original": "DBNotificationProps[\"closeButtonId\"]",
414
+ "resolved": "string",
415
+ "references": {
416
+ "DBNotificationProps": {
417
+ "location": "import",
418
+ "path": "./model",
419
+ "id": "src/components/notification/model.ts::DBNotificationProps"
420
+ }
421
+ }
422
+ },
423
+ "required": false,
424
+ "optional": false,
425
+ "docs": {
426
+ "tags": [],
427
+ "text": ""
428
+ },
429
+ "getter": false,
430
+ "setter": false,
431
+ "attribute": "close-button-id",
432
+ "reflect": false
433
+ },
434
+ "closeButtonText": {
435
+ "type": "string",
436
+ "mutable": false,
437
+ "complexType": {
438
+ "original": "DBNotificationProps[\"closeButtonText\"]",
439
+ "resolved": "string",
440
+ "references": {
441
+ "DBNotificationProps": {
442
+ "location": "import",
443
+ "path": "./model",
444
+ "id": "src/components/notification/model.ts::DBNotificationProps"
445
+ }
446
+ }
447
+ },
448
+ "required": false,
449
+ "optional": false,
450
+ "docs": {
451
+ "tags": [],
452
+ "text": ""
453
+ },
454
+ "getter": false,
455
+ "setter": false,
456
+ "attribute": "close-button-text",
457
+ "reflect": false
458
+ }
459
+ };
460
+ }
461
+ static get events() {
462
+ return [{
463
+ "method": "onClose",
464
+ "name": "onClose",
465
+ "bubbles": true,
466
+ "cancelable": true,
467
+ "composed": true,
468
+ "docs": {
469
+ "tags": [],
470
+ "text": ""
471
+ },
472
+ "complexType": {
473
+ "original": "any",
474
+ "resolved": "any",
475
+ "references": {}
476
+ }
477
+ }];
478
+ }
479
+ }
480
+ //# sourceMappingURL=notification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification.js","sourceRoot":"","sources":["../../../src/components/notification/notification.tsx"],"names":[],"mappings":"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","sourcesContent":["import { DBNotificationProps, DBNotificationState } from \"./model\";\nimport { DBButton } from \"../button/button\";\nimport { DEFAULT_CLOSE_BUTTON } from \"../../shared/constants\";\nimport { cls, getHideProp, stringPropVisible } from \"../../utils\";\nimport { ClickEvent } from \"../../shared/model\";\n\nimport { Component, h, Fragment, Event, Prop } from \"@stencil/core\";\n\n\n/**\n * @slot children - This is a default/unnamed slot\n * @slot image - TODO: Add description for slotImage\n * @slot link - TODO: Add description for slotLink\n */\n @Component({\n tag: \"db-notification\",\n})\nexport class DBNotification {\n private _ref!: HTMLDivElement | null;\n @Event() onClose: any;\n @Prop() id: DBNotificationProps[\"id\"];\n @Prop({attribute: \"classname\"}) className: DBNotificationProps[\"className\"];\n @Prop() ariaLive: DBNotificationProps[\"ariaLive\"];\n @Prop() semantic: DBNotificationProps[\"semantic\"];\n @Prop() variant: DBNotificationProps[\"variant\"];\n @Prop() icon: DBNotificationProps[\"icon\"];\n @Prop() showIcon: DBNotificationProps[\"showIcon\"];\n @Prop() linkVariant: DBNotificationProps[\"linkVariant\"];\n @Prop() headline: DBNotificationProps[\"headline\"];\n @Prop() showHeadline: DBNotificationProps[\"showHeadline\"];\n @Prop() text: DBNotificationProps[\"text\"];\n\n @Prop() timestamp: DBNotificationProps[\"timestamp\"];\n @Prop() showTimestamp: DBNotificationProps[\"showTimestamp\"];\n @Prop() closeable: DBNotificationProps[\"closeable\"];\n @Prop() closeButtonId: DBNotificationProps[\"closeButtonId\"];\n @Prop() closeButtonText: DBNotificationProps[\"closeButtonText\"];\n\n handleClose(event: ClickEvent<HTMLButtonElement>) {\n if (this.onClose) {\n this.onClose.emit();\n }\n }\n\n /**\n * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.\n * @param element the ref for the component\n * @param customElementSelector the custom element like `my-component`\n */\n private enableAttributePassing(\n element: HTMLElement | null,\n customElementSelector: string\n ) {\n const parent = element?.closest(customElementSelector);\n if (element && parent) {\n const attributes = parent.attributes;\n for (let i = 0; i < attributes.length; i++) {\n const attr = attributes.item(i);\n if (\n attr &&\n (attr.name.startsWith(\"data-\") || attr.name.startsWith(\"aria-\"))\n ) {\n element.setAttribute(attr.name, attr.value);\n parent.removeAttribute(attr.name);\n }\n if (attr && attr.name === \"class\") {\n const isWebComponent = attr.value.includes(\"hydrated\");\n const value = attr.value.replace(\"hydrated\", \"\").trim();\n const currentClass = element.getAttribute(\"class\");\n element.setAttribute(\n attr.name,\n `${currentClass ? `${currentClass} ` : \"\"}${value}`\n );\n if (isWebComponent) {\n // Stencil is using this class for lazy loading component\n parent.setAttribute(\"class\", \"hydrated\");\n } else {\n parent.removeAttribute(attr.name);\n }\n }\n }\n }\n }\n\n componentDidLoad() {\n this.enableAttributePassing(this._ref, \"db-notification\");\n }\n\n render() {\n return (\n <article\n class={cls(\"db-notification\", this.className)}\n ref={(el: any) => {\n this._ref = el;\n }}\n id={this.id}\n aria-live={this.ariaLive}\n data-semantic={this.semantic}\n data-variant={this.variant}\n data-icon={this.icon}\n data-hide-icon={getHideProp(this.showIcon)}\n data-link-variant={this.linkVariant}\n >\n <slot name=\"image\"></slot>\n {stringPropVisible(this.headline, this.showHeadline) ? (\n <header>{this.headline}</header>\n ) : null}\n <p>{this.text ? this.text : <slot></slot>}</p>\n {stringPropVisible(this.timestamp, this.showTimestamp) ? (\n <span>{this.timestamp}</span>\n ) : null}\n <slot name=\"link\"></slot>\n {this.closeable ? (\n <db-button\n icon=\"cross\"\n variant=\"ghost\"\n size=\"small\"\n id={this.closeButtonId}\n noText={true}\n onClick={(event) => this.handleClose(event)}\n >\n {this.closeButtonText ?? DEFAULT_CLOSE_BUTTON}\n </db-button>\n ) : null}\n </article>\n );\n }\n}\n"]}
@@ -0,0 +1,3 @@
1
+ import { DBPage } from "./page";
2
+ export default DBPage;
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/page/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,eAAe,MAAM,CAAC","sourcesContent":["import { DBPage } from './page';\n\nexport default DBPage;"]}
@@ -0,0 +1,3 @@
1
+ export const PageVariantList = ['auto', 'fixed'];
2
+ export const PageDocumentOverflowList = ['hidden', 'auto'];
3
+ //# sourceMappingURL=model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model.js","sourceRoot":"","sources":["../../../src/components/page/model.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,MAAM,eAAe,GAAI,CAAC,MAAM,EAAE,OAAO,CAAW,CAAC;AAE5D,MAAM,CAAC,MAAM,wBAAwB,GAAI,CAAC,QAAQ,EAAE,MAAM,CAAW,CAAC","sourcesContent":["import { GlobalProps, GlobalState } from '../../shared/model';\nexport const PageVariantList = (['auto', 'fixed'] as const);\nexport type PageVariantType = (typeof PageVariantList)[number];\nexport const PageDocumentOverflowList = (['hidden', 'auto'] as const);\nexport type PageDocumentOverflowType = (typeof PageDocumentOverflowList)[number];\nexport type DBPageDefaultProps = {\n /**\n * The documentOverflow sets the overflow:hidden/auto to the root document\n */\n documentOverflow?: PageDocumentOverflowType;\n /**\n * Set this to have a transition with opacity to avoid layout-shifts https://simonhearne.com/2021/layout-shifts-webfonts/\n */\n fadeIn?: boolean;\n\n /**\n * The slot can be used for React to set a footer.\n */\n footer?: any;\n /**\n * The slot can be used for React to set a header.\n */\n header?: any;\n\n /**\n * The variant=fixed uses flex-box to make header and footer static\n */\n variant?: PageVariantType;\n};\nexport type DBPageProps = DBPageDefaultProps & GlobalProps;\nexport type DBPageDefaultState = {\n fontsLoaded?: boolean;\n};\nexport type DBPageState = DBPageDefaultState & GlobalState"]}