@paperless/core 3.5.1 → 3.6.1

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 (335) hide show
  1. package/dist/{paperless/p-6412710a.entry.js → build/p-0da11431.entry.js} +1 -1
  2. package/dist/build/p-0f206cdb.entry.js +1 -0
  3. package/dist/build/p-1e9233ac.entry.js +1 -0
  4. package/dist/build/p-2388a075.entry.js +1 -0
  5. package/dist/build/p-4536b546.entry.js +1 -0
  6. package/dist/build/{p-26f5fca4.js → p-5087d82a.js} +1 -1
  7. package/dist/build/p-5b87fab2.entry.js +1 -0
  8. package/dist/build/{p-4cd9344a.entry.js → p-9ec433b0.entry.js} +1 -1
  9. package/dist/build/{p-f547d901.entry.js → p-9f1beebc.entry.js} +1 -1
  10. package/dist/build/p-c004664b.entry.js +1 -0
  11. package/dist/build/p-c3cab1ca.entry.js +1 -0
  12. package/dist/build/{p-413e2751.entry.js → p-d58fe6e4.entry.js} +1 -1
  13. package/dist/build/p-db387f26.entry.js +1 -0
  14. package/dist/build/p-edc7c624.entry.js +1 -0
  15. package/dist/build/paperless.esm.js +1 -1
  16. package/dist/cjs/p-avatar.cjs.entry.js +3 -3
  17. package/dist/cjs/p-button_3.cjs.entry.js +2 -2
  18. package/dist/cjs/p-checkbox_3.cjs.entry.js +4 -10
  19. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  20. package/dist/cjs/p-drawer-body_3.cjs.entry.js +2 -2
  21. package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +4 -9
  22. package/dist/cjs/p-empty-state_8.cjs.entry.js +2 -2
  23. package/dist/cjs/p-layout.cjs.entry.js +1 -4
  24. package/dist/cjs/p-modal-body_4.cjs.entry.js +2 -2
  25. package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
  26. package/dist/cjs/p-pagination_3.cjs.entry.js +10 -11
  27. package/dist/cjs/p-radio.cjs.entry.js +4 -4
  28. package/dist/cjs/p-range.cjs.entry.js +3 -3
  29. package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +3 -3
  30. package/dist/collection/components/atoms/avatar/avatar/avatar.stories.js +17 -0
  31. package/dist/collection/components/atoms/avatar/avatar-group/avatar-group.stories.js +19 -0
  32. package/dist/collection/components/atoms/backdrop/backdrop.stories.js +29 -0
  33. package/dist/collection/components/atoms/badge/badge.stories.js +17 -0
  34. package/dist/collection/components/atoms/card/body/card-body.stories.js +21 -0
  35. package/dist/collection/components/atoms/card/container/card-container.stories.js +27 -0
  36. package/dist/collection/components/atoms/card/header/card-header.stories.js +18 -0
  37. package/dist/collection/components/atoms/checkbox/checkbox.stories.js +31 -0
  38. package/dist/collection/components/atoms/divider/divider.stories.js +26 -0
  39. package/dist/collection/components/atoms/drawer/body/drawer-body.stories.js +19 -0
  40. package/dist/collection/components/atoms/drawer/container/drawer-container.stories.js +21 -0
  41. package/dist/collection/components/atoms/drawer/header/drawer-header.component.css +1 -1
  42. package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +1 -1
  43. package/dist/collection/components/atoms/drawer/header/drawer-header.stories.js +25 -0
  44. package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +4 -10
  45. package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.stories.js +31 -0
  46. package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +4 -9
  47. package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.stories.js +31 -0
  48. package/dist/collection/components/atoms/floating-menu/container/floating-menu-container.stories.js +29 -0
  49. package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.stories.js +29 -0
  50. package/dist/collection/components/atoms/helper/helper.stories.js +24 -0
  51. package/dist/collection/components/atoms/iban-icon/iban-icon.stories.js +14 -0
  52. package/dist/collection/components/atoms/icon/icon.component.js +2 -2
  53. package/dist/collection/components/atoms/icon/icon.stories.js +20 -0
  54. package/dist/collection/components/atoms/illustration/illustration.stories.js +12 -0
  55. package/dist/collection/components/atoms/info-panel/info-panel.stories.js +43 -0
  56. package/dist/collection/components/atoms/layout/layout.component.js +1 -4
  57. package/dist/collection/components/atoms/layout/layout.stories.js +9 -0
  58. package/dist/collection/components/atoms/listing/item/listing-item.stories.js +17 -0
  59. package/dist/collection/components/atoms/listing/line/listing-line.stories.js +9 -0
  60. package/dist/collection/components/atoms/loader/loader.stories.js +27 -0
  61. package/dist/collection/components/atoms/modal/body/modal-body.stories.js +26 -0
  62. package/dist/collection/components/atoms/modal/container/modal-container.stories.js +24 -0
  63. package/dist/collection/components/atoms/modal/footer/modal-footer.stories.js +17 -0
  64. package/dist/collection/components/atoms/modal/header/modal-header.component.css +1 -1
  65. package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
  66. package/dist/collection/components/atoms/modal/header/modal-header.stories.js +26 -0
  67. package/dist/collection/components/atoms/navigation-title/navigation-title.stories.js +17 -0
  68. package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.stories.js +26 -0
  69. package/dist/collection/components/atoms/radio/radio.component.js +4 -4
  70. package/dist/collection/components/atoms/radio/radio.stories.js +30 -0
  71. package/dist/collection/components/atoms/segment/container/segment-container.stories.js +47 -0
  72. package/dist/collection/components/atoms/segment/item/segment-item.stories.js +42 -0
  73. package/dist/collection/components/atoms/smile/smile.stories.js +9 -0
  74. package/dist/collection/components/atoms/stepper/item/stepper-item.stories.js +26 -0
  75. package/dist/collection/components/atoms/stepper/line/stepper-line.stories.js +14 -0
  76. package/dist/collection/components/atoms/tab/container/tab-container.stories.js +20 -0
  77. package/dist/collection/components/atoms/tab/item/tab-item.stories.js +20 -0
  78. package/dist/collection/components/atoms/table/actions-container/table-container.stories.js +21 -0
  79. package/dist/collection/components/atoms/table/container/table-row-actions-container.stories.js +21 -0
  80. package/dist/collection/components/atoms/toast-container/toast-container.stories.js +21 -0
  81. package/dist/collection/components/atoms/toggle/toggle.stories.js +31 -0
  82. package/dist/collection/components/atoms/tooltip/tooltip.stories.js +24 -0
  83. package/dist/collection/components/helpers/table/column/table-column.stories.js +23 -0
  84. package/dist/collection/components/helpers/table/extra-header/table-extra-header.stories.js +18 -0
  85. package/dist/collection/components/helpers/table/row-action/table-row-action.stories.js +22 -0
  86. package/dist/collection/components/molecules/accordion/accordion.stories.js +30 -0
  87. package/dist/collection/components/molecules/attachment/attachment.stories.js +30 -0
  88. package/dist/collection/components/molecules/button/button.stories.js +40 -0
  89. package/dist/collection/components/molecules/button-group/button-group.stories.js +15 -0
  90. package/dist/collection/components/molecules/calendar/calendar.stories.js +32 -0
  91. package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
  92. package/dist/collection/components/molecules/content-slider/content-slider.stories.js +41 -0
  93. package/dist/collection/components/molecules/cropper/cropper.stories.js +21 -0
  94. package/dist/collection/components/molecules/datepicker/datepicker.stories.js +57 -0
  95. package/dist/collection/components/molecules/dropdown/dropdown.stories.js +49 -0
  96. package/dist/collection/components/molecules/empty-state/empty-state.stories.js +29 -0
  97. package/dist/collection/components/molecules/field/container/field-container.stories.js +36 -0
  98. package/dist/collection/components/molecules/field/field/field.stories.js +112 -0
  99. package/dist/collection/components/molecules/label/label.stories.js +28 -0
  100. package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +3 -3
  101. package/dist/collection/components/molecules/navigation/item/navigation-item.stories.js +33 -0
  102. package/dist/collection/components/molecules/navigation/section/navigation-section.stories.js +21 -0
  103. package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +2 -2
  104. package/dist/collection/components/molecules/pagination/pages/pagination-pages.stories.js +32 -0
  105. package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -4
  106. package/dist/collection/components/molecules/pagination/pagination/pagination.stories.js +34 -0
  107. package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +5 -5
  108. package/dist/collection/components/molecules/pagination/size/pagination-size.stories.js +18 -0
  109. package/dist/collection/components/molecules/profile/profile.stories.js +61 -0
  110. package/dist/collection/components/molecules/range/range.component.css +1 -1
  111. package/dist/collection/components/molecules/range/range.component.js +2 -2
  112. package/dist/collection/components/molecules/range/range.stories.js +18 -0
  113. package/dist/collection/components/molecules/select/select.stories.js +116 -0
  114. package/dist/collection/components/molecules/table/cell/table-cell.component.css +1 -1
  115. package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
  116. package/dist/collection/components/molecules/table/cell/table-cell.stories.js +31 -0
  117. package/dist/collection/components/molecules/table/footer/table-footer.stories.js +29 -0
  118. package/dist/collection/components/molecules/table/header/table-header.component.js +1 -1
  119. package/dist/collection/components/molecules/table/header/table-header.stories.js +33 -0
  120. package/dist/collection/components/molecules/table/row/table-row.stories.js +24 -0
  121. package/dist/collection/components/molecules/toast/toast.stories.js +26 -0
  122. package/dist/collection/components/organisms/drawer/drawer.stories.js +43 -0
  123. package/dist/collection/components/organisms/listing/listing.stories.js +38 -0
  124. package/dist/collection/components/organisms/modal/modal.stories.js +59 -0
  125. package/dist/collection/components/organisms/navbar/navbar.stories.js +76 -0
  126. package/dist/collection/components/organisms/stepper/stepper.stories.js +64 -0
  127. package/dist/collection/components/organisms/table/table.stories.js +226 -0
  128. package/dist/components/{p-I5W6Sf7I.js → p-1zHupCi5.js} +1 -1
  129. package/dist/components/{p-CtE3SyKQ.js → p-A2evcUTz.js} +1 -1
  130. package/dist/components/{p-B2Yim3N0.js → p-B6Eg4keN.js} +1 -1
  131. package/dist/components/p-ByXfZHh6.js +1 -0
  132. package/dist/components/p-C-9NHqrE.js +1 -0
  133. package/dist/components/{p-lpz2-mRO.js → p-CK97bsy0.js} +1 -1
  134. package/dist/components/{p-DwSX4Qpi.js → p-CQ1UlIQc.js} +1 -1
  135. package/dist/components/{p-W3-gOmie.js → p-CfkmcUeC.js} +1 -1
  136. package/dist/components/p-CjpOvI_N.js +1 -0
  137. package/dist/components/p-CnyIhzd5.js +1 -0
  138. package/dist/components/p-CsygZkEa.js +1 -0
  139. package/dist/components/{p-N5WuUoFr.js → p-D8P3EVdc.js} +1 -1
  140. package/dist/components/{p-BmjTa27s.js → p-DE8raUA8.js} +1 -1
  141. package/dist/components/{p-DO9DPOD_.js → p-DI_ECJzt.js} +1 -1
  142. package/dist/components/p-DYV_GnPW.js +1 -0
  143. package/dist/components/p-DeNA7G5s.js +1 -0
  144. package/dist/components/{p-lIq7FGvR.js → p-DqcTEpCu.js} +1 -1
  145. package/dist/components/p-DwJAKJDy.js +1 -0
  146. package/dist/components/p-ELoJvZtk.js +1 -0
  147. package/dist/components/{p-BPWI9w_d.js → p-N99o7eIO.js} +1 -1
  148. package/dist/components/p-accordion.js +1 -1
  149. package/dist/components/p-attachment.js +1 -1
  150. package/dist/components/p-avatar.js +1 -1
  151. package/dist/components/p-button.js +1 -1
  152. package/dist/components/p-calendar.js +1 -1
  153. package/dist/components/p-card-header.js +1 -1
  154. package/dist/components/p-checkbox.js +1 -1
  155. package/dist/components/p-content-slider.js +1 -1
  156. package/dist/components/p-cropper.js +2 -2
  157. package/dist/components/p-datepicker.js +1 -1
  158. package/dist/components/p-drawer-header.js +1 -1
  159. package/dist/components/p-drawer.js +1 -1
  160. package/dist/components/p-dropdown-menu-container.js +1 -1
  161. package/dist/components/p-dropdown-menu-item.js +1 -1
  162. package/dist/components/p-dropdown.js +1 -1
  163. package/dist/components/p-empty-state.js +1 -1
  164. package/dist/components/p-field-container.js +1 -1
  165. package/dist/components/p-field.js +1 -1
  166. package/dist/components/p-floating-menu-container.js +1 -1
  167. package/dist/components/p-floating-menu-item.js +1 -1
  168. package/dist/components/p-helper.js +1 -1
  169. package/dist/components/p-icon.js +1 -1
  170. package/dist/components/p-info-panel.js +1 -1
  171. package/dist/components/{p-CVLa68yr.js → p-jjbT-vs8.js} +1 -1
  172. package/dist/components/p-label.js +1 -1
  173. package/dist/components/p-layout.js +1 -1
  174. package/dist/components/p-listing-item.js +1 -1
  175. package/dist/components/p-modal-header.js +1 -1
  176. package/dist/components/p-modal.js +1 -1
  177. package/dist/components/p-navbar.js +1 -1
  178. package/dist/components/p-navigation-item.js +1 -1
  179. package/dist/components/p-o6ed-VvL.js +1 -0
  180. package/dist/components/p-oS1-cdrr.js +1 -0
  181. package/dist/components/p-pagination-pages.js +1 -1
  182. package/dist/components/p-pagination-size.js +1 -1
  183. package/dist/components/p-pagination.js +1 -1
  184. package/dist/components/p-profile.js +1 -1
  185. package/dist/components/p-radio.js +1 -1
  186. package/dist/components/p-range.js +1 -1
  187. package/dist/components/p-segment-item.js +1 -1
  188. package/dist/components/p-select.js +1 -1
  189. package/dist/components/{p-BP8UVm8K.js → p-swGA7EFj.js} +1 -1
  190. package/dist/components/p-table-cell.js +1 -1
  191. package/dist/components/p-table-footer.js +1 -1
  192. package/dist/components/p-table-header.js +1 -1
  193. package/dist/components/p-table.js +1 -1
  194. package/dist/components/p-toast.js +1 -1
  195. package/dist/esm/p-avatar.entry.js +3 -3
  196. package/dist/esm/p-button_3.entry.js +2 -2
  197. package/dist/esm/p-checkbox_3.entry.js +4 -10
  198. package/dist/esm/p-content-slider.entry.js +2 -2
  199. package/dist/esm/p-drawer-body_3.entry.js +2 -2
  200. package/dist/esm/p-dropdown-menu-item_2.entry.js +4 -9
  201. package/dist/esm/p-empty-state_8.entry.js +2 -2
  202. package/dist/esm/p-layout.entry.js +1 -4
  203. package/dist/esm/p-modal-body_4.entry.js +2 -2
  204. package/dist/esm/p-navigation-item.entry.js +3 -3
  205. package/dist/esm/p-pagination_3.entry.js +10 -11
  206. package/dist/esm/p-radio.entry.js +4 -4
  207. package/dist/esm/p-range.entry.js +3 -3
  208. package/dist/index.html +1 -1
  209. package/dist/{build/p-6412710a.entry.js → paperless/p-0da11431.entry.js} +1 -1
  210. package/dist/paperless/p-0f206cdb.entry.js +1 -0
  211. package/dist/paperless/p-1e9233ac.entry.js +1 -0
  212. package/dist/paperless/p-2388a075.entry.js +1 -0
  213. package/dist/paperless/p-4536b546.entry.js +1 -0
  214. package/dist/paperless/p-5b87fab2.entry.js +1 -0
  215. package/dist/paperless/{p-4cd9344a.entry.js → p-9ec433b0.entry.js} +1 -1
  216. package/dist/paperless/{p-f547d901.entry.js → p-9f1beebc.entry.js} +1 -1
  217. package/dist/paperless/p-c004664b.entry.js +1 -0
  218. package/dist/paperless/p-c3cab1ca.entry.js +1 -0
  219. package/dist/paperless/{p-413e2751.entry.js → p-d58fe6e4.entry.js} +1 -1
  220. package/dist/paperless/p-db387f26.entry.js +1 -0
  221. package/dist/paperless/p-edc7c624.entry.js +1 -0
  222. package/dist/paperless/paperless.esm.js +1 -1
  223. package/dist/sw.js +1 -1
  224. package/dist/sw.js.map +1 -1
  225. package/dist/types/components/atoms/avatar/avatar/avatar.stories.d.ts +14 -0
  226. package/dist/types/components/atoms/avatar/avatar-group/avatar-group.stories.d.ts +19 -0
  227. package/dist/types/components/atoms/backdrop/backdrop.stories.d.ts +23 -0
  228. package/dist/types/components/atoms/badge/badge.stories.d.ts +18 -0
  229. package/dist/types/components/atoms/card/body/card-body.stories.d.ts +19 -0
  230. package/dist/types/components/atoms/card/container/card-container.stories.d.ts +23 -0
  231. package/dist/types/components/atoms/card/header/card-header.stories.d.ts +15 -0
  232. package/dist/types/components/atoms/checkbox/checkbox.stories.d.ts +24 -0
  233. package/dist/types/components/atoms/divider/divider.stories.d.ts +20 -0
  234. package/dist/types/components/atoms/drawer/body/drawer-body.stories.d.ts +19 -0
  235. package/dist/types/components/atoms/drawer/container/drawer-container.stories.d.ts +19 -0
  236. package/dist/types/components/atoms/drawer/header/drawer-header.stories.d.ts +19 -0
  237. package/dist/types/components/atoms/dropdown-menu/container/dropdown-menu-container.stories.d.ts +15 -0
  238. package/dist/types/components/atoms/dropdown-menu/item/dropdown-menu-item.stories.d.ts +27 -0
  239. package/dist/types/components/atoms/floating-menu/container/floating-menu-container.stories.d.ts +23 -0
  240. package/dist/types/components/atoms/floating-menu/item/floating-menu-item.stories.d.ts +25 -0
  241. package/dist/types/components/atoms/helper/helper.stories.d.ts +20 -0
  242. package/dist/types/components/atoms/iban-icon/iban-icon.stories.d.ts +11 -0
  243. package/dist/types/components/atoms/icon/icon.stories.d.ts +17 -0
  244. package/dist/types/components/atoms/illustration/illustration.stories.d.ts +13 -0
  245. package/dist/types/components/atoms/info-panel/info-panel.stories.d.ts +27 -0
  246. package/dist/types/components/atoms/layout/layout.stories.d.ts +10 -0
  247. package/dist/types/components/atoms/listing/item/listing-item.stories.d.ts +19 -0
  248. package/dist/types/components/atoms/listing/line/listing-line.stories.d.ts +8 -0
  249. package/dist/types/components/atoms/loader/loader.stories.d.ts +23 -0
  250. package/dist/types/components/atoms/modal/body/modal-body.stories.d.ts +22 -0
  251. package/dist/types/components/atoms/modal/container/modal-container.stories.d.ts +20 -0
  252. package/dist/types/components/atoms/modal/footer/modal-footer.stories.d.ts +18 -0
  253. package/dist/types/components/atoms/modal/header/modal-header.stories.d.ts +20 -0
  254. package/dist/types/components/atoms/navigation-title/navigation-title.stories.d.ts +18 -0
  255. package/dist/types/components/atoms/pagination/pages-item/pagination-pages-item.stories.d.ts +22 -0
  256. package/dist/types/components/atoms/radio/radio.stories.d.ts +24 -0
  257. package/dist/types/components/atoms/segment/container/segment-container.stories.d.ts +14 -0
  258. package/dist/types/components/atoms/segment/item/segment-item.stories.d.ts +34 -0
  259. package/dist/types/components/atoms/smile/smile.stories.d.ts +10 -0
  260. package/dist/types/components/atoms/stepper/item/stepper-item.stories.d.ts +23 -0
  261. package/dist/types/components/atoms/stepper/line/stepper-line.stories.d.ts +11 -0
  262. package/dist/types/components/atoms/tab/container/tab-container.stories.d.ts +11 -0
  263. package/dist/types/components/atoms/tab/item/tab-item.stories.d.ts +22 -0
  264. package/dist/types/components/atoms/table/actions-container/table-container.stories.d.ts +19 -0
  265. package/dist/types/components/atoms/table/container/table-row-actions-container.stories.d.ts +19 -0
  266. package/dist/types/components/atoms/toast-container/toast-container.stories.d.ts +19 -0
  267. package/dist/types/components/atoms/toggle/toggle.stories.d.ts +24 -0
  268. package/dist/types/components/atoms/tooltip/tooltip.stories.d.ts +17 -0
  269. package/dist/types/components/helpers/table/column/table-column.stories.d.ts +18 -0
  270. package/dist/types/components/helpers/table/extra-header/table-extra-header.stories.d.ts +13 -0
  271. package/dist/types/components/helpers/table/row-action/table-row-action.stories.d.ts +19 -0
  272. package/dist/types/components/molecules/accordion/accordion.stories.d.ts +24 -0
  273. package/dist/types/components/molecules/attachment/attachment.stories.d.ts +22 -0
  274. package/dist/types/components/molecules/button/button.stories.d.ts +34 -0
  275. package/dist/types/components/molecules/button-group/button-group.stories.d.ts +10 -0
  276. package/dist/types/components/molecules/calendar/calendar.stories.d.ts +27 -0
  277. package/dist/types/components/molecules/content-slider/content-slider.stories.d.ts +13 -0
  278. package/dist/types/components/molecules/cropper/cropper.stories.d.ts +16 -0
  279. package/dist/types/components/molecules/datepicker/datepicker.stories.d.ts +52 -0
  280. package/dist/types/components/molecules/dropdown/dropdown.stories.d.ts +32 -0
  281. package/dist/types/components/molecules/empty-state/empty-state.stories.d.ts +24 -0
  282. package/dist/types/components/molecules/field/container/field-container.stories.d.ts +30 -0
  283. package/dist/types/components/molecules/field/field/field.stories.d.ts +75 -0
  284. package/dist/types/components/molecules/label/label.stories.d.ts +24 -0
  285. package/dist/types/components/molecules/navigation/item/navigation-item.stories.d.ts +29 -0
  286. package/dist/types/components/molecules/navigation/section/navigation-section.stories.d.ts +19 -0
  287. package/dist/types/components/molecules/pagination/pages/pagination-pages.stories.d.ts +25 -0
  288. package/dist/types/components/molecules/pagination/pagination/pagination.stories.d.ts +28 -0
  289. package/dist/types/components/molecules/pagination/size/pagination-size.stories.d.ts +13 -0
  290. package/dist/types/components/molecules/profile/profile.stories.d.ts +43 -0
  291. package/dist/types/components/molecules/range/range.stories.d.ts +13 -0
  292. package/dist/types/components/molecules/select/select.stories.d.ts +63 -0
  293. package/dist/types/components/molecules/table/cell/table-cell.stories.d.ts +27 -0
  294. package/dist/types/components/molecules/table/footer/table-footer.stories.d.ts +21 -0
  295. package/dist/types/components/molecules/table/header/table-header.stories.d.ts +25 -0
  296. package/dist/types/components/molecules/table/row/table-row.stories.d.ts +20 -0
  297. package/dist/types/components/molecules/toast/toast.stories.d.ts +21 -0
  298. package/dist/types/components/organisms/drawer/drawer.stories.d.ts +29 -0
  299. package/dist/types/components/organisms/listing/listing.stories.d.ts +16 -0
  300. package/dist/types/components/organisms/modal/modal.stories.d.ts +39 -0
  301. package/dist/types/components/organisms/navbar/navbar.stories.d.ts +8 -0
  302. package/dist/types/components/organisms/stepper/stepper.stories.d.ts +32 -0
  303. package/dist/types/components/organisms/table/table.stories.d.ts +67 -0
  304. package/hydrate/index.js +42 -57
  305. package/hydrate/index.mjs +42 -57
  306. package/package.json +1 -1
  307. package/dist/build/p-099fed2a.entry.js +0 -1
  308. package/dist/build/p-102da1de.entry.js +0 -1
  309. package/dist/build/p-1b85b4f5.entry.js +0 -1
  310. package/dist/build/p-1be02ecd.entry.js +0 -1
  311. package/dist/build/p-2a9e2f97.entry.js +0 -1
  312. package/dist/build/p-31869c91.entry.js +0 -1
  313. package/dist/build/p-33c965ed.entry.js +0 -1
  314. package/dist/build/p-63ef1d8d.entry.js +0 -1
  315. package/dist/build/p-f13f7779.entry.js +0 -1
  316. package/dist/components/p-4hSImsoh.js +0 -1
  317. package/dist/components/p-B9s4_6Vm.js +0 -1
  318. package/dist/components/p-BtH8h7p9.js +0 -1
  319. package/dist/components/p-Bxk-f0zV.js +0 -1
  320. package/dist/components/p-Ci4QOmx5.js +0 -1
  321. package/dist/components/p-DEO_PtTi.js +0 -1
  322. package/dist/components/p-DIB8_iWS.js +0 -1
  323. package/dist/components/p-DlT01gcI.js +0 -1
  324. package/dist/components/p-DsMVZr-6.js +0 -1
  325. package/dist/components/p-ZcWq_nUH.js +0 -1
  326. package/dist/components/p-iLGr9rDU.js +0 -1
  327. package/dist/paperless/p-099fed2a.entry.js +0 -1
  328. package/dist/paperless/p-102da1de.entry.js +0 -1
  329. package/dist/paperless/p-1b85b4f5.entry.js +0 -1
  330. package/dist/paperless/p-1be02ecd.entry.js +0 -1
  331. package/dist/paperless/p-2a9e2f97.entry.js +0 -1
  332. package/dist/paperless/p-31869c91.entry.js +0 -1
  333. package/dist/paperless/p-33c965ed.entry.js +0 -1
  334. package/dist/paperless/p-63ef1d8d.entry.js +0 -1
  335. package/dist/paperless/p-f13f7779.entry.js +0 -1
@@ -4,7 +4,7 @@ var index = require('./index-BGtpSJv_.js');
4
4
  var themedHost_component = require('./themed-host.component-BeeT9Ite.js');
5
5
  require('./state-DM8SZBNO.js');
6
6
 
7
- const rangeComponentCss = () => `.m-0{margin:0}.mt-\\[calc\\(\\(0\\.5rem-1px\\)\\*-1\\)\\]{margin-top:calc(-.5rem + 1px)}.h-4{height:1rem}.h-6{height:1.5rem}.h-\\[2px\\]{height:2px}.w-4{width:1rem}.w-full{width:100%}.appearance-none{appearance:none}.rounded-full{border-radius:9999px}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}*{box-sizing:border-box}:host{input{appearance:none;background-color:transparent;height:1.5rem;margin:0;width:100%}input::-webkit-slider-runnable-track{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1));height:2px}input:where(:host([data-theme=dark]),:host([data-theme=dark]) *)::-webkit-slider-runnable-track{background-color:hsla(0,0%,100%,.15)}input:where([data-theme=dark],[data-theme=dark] *)::-webkit-slider-runnable-track{background-color:hsla(0,0%,100%,.15)}input::-moz-range-track{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1));height:2px}input:where(:host([data-theme=dark]),:host([data-theme=dark]) *)::-moz-range-track{background-color:hsla(0,0%,100%,.15)}input:where([data-theme=dark],[data-theme=dark] *)::-moz-range-track{background-color:hsla(0,0%,100%,.15)}input::-webkit-slider-thumb{--tw-bg-opacity:1;appearance:none;background-color:rgb(82 138 250/var(--tw-bg-opacity,1));border-radius:9999px;border-width:0;height:1rem;margin-top:calc(-.5rem + 1px);width:1rem}input::-webkit-slider-thumb:hover{cursor:grab}input::-webkit-slider-thumb:active,input::-webkit-slider-thumb:hover{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}input::-webkit-slider-thumb:active{cursor:grabbing}input::-moz-range-thumb{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1));border-radius:9999px;border-width:0;height:1rem;width:1rem}input::-moz-range-thumb:hover{cursor:grab}input::-moz-range-thumb:active,input::-moz-range-thumb:hover{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}input::-moz-range-thumb:active{cursor:grabbing}}.hover\\:cursor-grab:hover{cursor:grab}.hover\\:bg-indigo-700:hover{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.active\\:cursor-grabbing:active{cursor:grabbing}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.top-1\\/2{top:50%}.flex{display:flex}.w-inherit{width:inherit}.flex-1{flex:1 1 0%}.-translate-y-1\\/2{--tw-translate-y:-50%}.-translate-y-1\\/2,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.gap-2{gap:.5rem}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}`;
7
+ const rangeComponentCss = () => `.m-0{margin:0}.mt-\\[calc\\(\\(0\\.5rem-1px\\)\\*-1\\)\\]{margin-top:calc(-.5rem + 1px)}.h-4{height:1rem}.h-6{height:1.5rem}.h-\\[2px\\]{height:2px}.w-4{width:1rem}.w-full{width:100%}.appearance-none{appearance:none}.rounded-full{border-radius:9999px}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}*{box-sizing:border-box}:host{input{appearance:none;background-color:transparent;height:1.5rem;margin:0;width:100%}input::-webkit-slider-runnable-track{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1));height:2px}input:where(:host([data-theme=dark]),:host([data-theme=dark]) *)::-webkit-slider-runnable-track{background-color:hsla(0,0%,100%,.15)}input:where([data-theme=dark],[data-theme=dark] *)::-webkit-slider-runnable-track{background-color:hsla(0,0%,100%,.15)}input::-moz-range-track{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1));height:2px}input:where(:host([data-theme=dark]),:host([data-theme=dark]) *)::-moz-range-track{background-color:hsla(0,0%,100%,.15)}input:where([data-theme=dark],[data-theme=dark] *)::-moz-range-track{background-color:hsla(0,0%,100%,.15)}input::-webkit-slider-thumb{--tw-bg-opacity:1;appearance:none;background-color:rgb(82 138 250/var(--tw-bg-opacity,1));border-radius:9999px;border-width:0;height:1rem;margin-top:calc(-.5rem + 1px);width:1rem}input::-webkit-slider-thumb:hover{cursor:grab}input::-webkit-slider-thumb:active,input::-webkit-slider-thumb:hover{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}input::-webkit-slider-thumb:active{cursor:grabbing}input::-moz-range-thumb{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1));border-radius:9999px;border-width:0;height:1rem;width:1rem}input::-moz-range-thumb:hover{cursor:grab}input::-moz-range-thumb:active,input::-moz-range-thumb:hover{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}input::-moz-range-thumb:active{cursor:grabbing}}.hover\\:cursor-grab:hover{cursor:grab}.hover\\:bg-indigo-700:hover{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.active\\:cursor-grabbing:active{cursor:grabbing}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.top-1\\/2{top:50%}.z-\\[1\\]{z-index:1}.flex{display:flex}.w-inherit{width:inherit}.flex-1{flex:1 1 0%}.-translate-y-1\\/2{--tw-translate-y:-50%}.-translate-y-1\\/2,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.gap-2{gap:.5rem}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}`;
8
8
 
9
9
  const Range = class {
10
10
  constructor(hostRef) {
@@ -37,9 +37,9 @@ const Range = class {
37
37
  const value = ev.target.value;
38
38
  this.value = Number.parseFloat(value);
39
39
  this.valueChange.emit(value);
40
- } }), index.h("div", { key: '0bea7f03b87ab00d74780796f00f3eda90bc1b96', class: '\n z-1 absolute left-0 top-1/2 h-[2px] -translate-y-1/2 transform\n bg-indigo-600\n ', style: {
40
+ } }), index.h("div", { key: 'aa3025e342179b0b046835aba388737e4d723986', class: '\n absolute left-0 top-1/2 z-[1] h-[2px] -translate-y-1/2 transform\n bg-indigo-600\n ', style: {
41
41
  width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
42
- } })), index.h("p-icon", { key: '8136e15955e461ec30c3bb8d83cabbd80c8089f2', variant: 'plus' }))));
42
+ } })), index.h("p-icon", { key: '7b7c6f55fe81458e96f8edf67f1fc47a028d707b', variant: 'plus' }))));
43
43
  }
44
44
  };
45
45
  Range.style = rangeComponentCss();
@@ -2,8 +2,8 @@ import { h, Host } from "@stencil/core";
2
2
  import { cva } from "class-variance-authority";
3
3
  const avatar = cva([
4
4
  `
5
- p-avatar flex aspect-branding items-center justify-center rounded-full
6
- font-ambit font-bold leading-none ring-1 ring-inset ring-storm-500/20
5
+ flex aspect-branding items-center justify-center rounded-full font-ambit
6
+ font-bold leading-none ring-1 ring-inset ring-storm-500/20
7
7
  `,
8
8
  ], {
9
9
  variants: {
@@ -57,7 +57,7 @@ export class Avatar {
57
57
  }
58
58
  }
59
59
  render() {
60
- return (h(Host, { key: '3a9dc3ebf87eed33626d3ae0885100a3ea4d9c78', class: avatar({
60
+ return (h(Host, { key: 'ebe30260e369ddc3f8ad1729ba1445915508fa1b', class: avatar({
61
61
  size: this.size,
62
62
  variant: this.variant,
63
63
  }) }, this._failed ? (h("span", null, this.letters?.[0] ?? ' ')) : (h("img", { class: 'z-0 aspect-branding h-full rounded-full object-cover', src: this._src, onError: () => this._setFailed() }))));
@@ -0,0 +1,17 @@
1
+ import { html, nothing } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Atoms/Avatar/Avatar',
4
+ component: 'p-avatar',
5
+ };
6
+ export default meta;
7
+ export const Default = {
8
+ render: ({ size, 'default-image': defaultImage, src, letters, variant, }) => html `
9
+ <p-avatar
10
+ size=${size ?? nothing}
11
+ variant=${variant ?? nothing}
12
+ default-image=${defaultImage ?? nothing}
13
+ src=${src ?? nothing}
14
+ letters=${letters ?? nothing}
15
+ />
16
+ `,
17
+ };
@@ -0,0 +1,19 @@
1
+ import { html, nothing } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Atoms/Avatar/Avatar group',
4
+ component: 'p-avatar-group',
5
+ args: {
6
+ content: 'AvatarGroup',
7
+ },
8
+ argTypes: {
9
+ content: {
10
+ type: 'string',
11
+ },
12
+ },
13
+ };
14
+ export default meta;
15
+ export const Default = {
16
+ render: ({ content, extra }) => html `
17
+ <p-avatar-group extra=${extra ?? nothing}> ${content} </p-avatar-group>
18
+ `,
19
+ };
@@ -0,0 +1,29 @@
1
+ import { action } from "@storybook/addon-actions";
2
+ import { html, nothing } from "lit";
3
+ const meta = {
4
+ title: 'Design System/Atoms/Backdrop',
5
+ component: 'p-backdrop',
6
+ args: {
7
+ content: 'Backdrop',
8
+ },
9
+ argTypes: {
10
+ content: {
11
+ type: 'string',
12
+ },
13
+ },
14
+ };
15
+ export default meta;
16
+ export const Default = {
17
+ render: ({ content, variant, 'apply-blur': applyBlur, closing, 'scroll-lock': scrollLock, class: className, }) => html `
18
+ <p-backdrop
19
+ variant=${variant ?? nothing}
20
+ apply-blur=${applyBlur ?? nothing}
21
+ closing=${closing ?? nothing}
22
+ scroll-lock=${scrollLock ?? nothing}
23
+ class=${className ?? nothing}
24
+ @clicked=${action('clicked')}
25
+ >
26
+ ${content}
27
+ </p-backdrop>
28
+ `,
29
+ };
@@ -0,0 +1,17 @@
1
+ import { html } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Atoms/Badge',
4
+ component: 'p-badge',
5
+ args: {
6
+ content: '10',
7
+ },
8
+ argTypes: {
9
+ content: {
10
+ type: 'string',
11
+ },
12
+ },
13
+ };
14
+ export default meta;
15
+ export const Default = {
16
+ render: ({ content }) => html `<p-badge>${content}</p-badge>`,
17
+ };
@@ -0,0 +1,21 @@
1
+ import { html, nothing } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Atoms/Card/Body',
4
+ component: 'p-card-body',
5
+ args: {
6
+ content: 'CardBody',
7
+ },
8
+ argTypes: {
9
+ content: {
10
+ type: 'string',
11
+ },
12
+ },
13
+ };
14
+ export default meta;
15
+ export const Default = {
16
+ render: ({ content, 'inherit-text': inheritText }) => html `
17
+ <p-card-body inherit-text=${inheritText ?? nothing}>
18
+ ${content}
19
+ </p-card-body>
20
+ `,
21
+ };
@@ -0,0 +1,27 @@
1
+ import { html, nothing } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Atoms/Card/Container',
4
+ component: 'p-card-container',
5
+ args: {
6
+ content: 'CardContainer',
7
+ },
8
+ argTypes: {
9
+ content: {
10
+ type: 'string',
11
+ },
12
+ },
13
+ };
14
+ export default meta;
15
+ export const Default = {
16
+ render: ({ content, hoverable, shadow, variant, 'bg-class': bgClass, border, }) => html `
17
+ <p-card-container
18
+ hoverable=${hoverable ?? nothing}
19
+ shadow=${shadow ?? nothing}
20
+ border=${border ?? nothing}
21
+ bg-class=${bgClass ?? nothing}
22
+ variant=${variant ?? nothing}
23
+ >
24
+ ${content}
25
+ </p-card-container>
26
+ `,
27
+ };
@@ -0,0 +1,18 @@
1
+ import { html, nothing } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Atoms/Card/Header',
4
+ component: 'p-card-header',
5
+ };
6
+ export default meta;
7
+ export const Default = {
8
+ render: ({ header, variant, divider, icon, 'icon-rotate': iconRotate, 'icon-flip': iconFlip, }) => html `
9
+ <p-card-header
10
+ header=${header ?? nothing}
11
+ variant=${variant ?? nothing}
12
+ divider=${divider ?? nothing}
13
+ icon=${icon ?? nothing}
14
+ icon-rotate=${iconRotate ?? nothing}
15
+ icon-flip=${iconFlip ?? nothing}
16
+ />
17
+ `,
18
+ };
@@ -0,0 +1,31 @@
1
+ import { action } from "@storybook/addon-actions";
2
+ import { html, nothing } from "lit";
3
+ const meta = {
4
+ title: 'Design System/Atoms/Checkbox',
5
+ component: 'p-checkbox',
6
+ args: {
7
+ content: 'Checkbox',
8
+ },
9
+ argTypes: {
10
+ content: {
11
+ type: 'string',
12
+ },
13
+ },
14
+ };
15
+ export default meta;
16
+ export const Default = {
17
+ render: ({ content, checked, indeterminate, disabled, required, id, name, }) => html `
18
+ <p-checkbox
19
+ checked=${checked ?? nothing}
20
+ indeterminate=${indeterminate ?? nothing}
21
+ disabled=${disabled ?? nothing}
22
+ required=${required ?? nothing}
23
+ id=${id ?? nothing}
24
+ name=${name ?? nothing}
25
+ @checkedChange=${action('checkedChange')}
26
+ @indeterminateChange=${action('indeterminateChange')}
27
+ >
28
+ ${content}
29
+ </p-checkbox>
30
+ `,
31
+ };
@@ -0,0 +1,26 @@
1
+ import { html, nothing } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Atoms/Divider',
4
+ component: 'p-divider',
5
+ args: {
6
+ content: 'Divider',
7
+ },
8
+ argTypes: {
9
+ content: {
10
+ type: 'string',
11
+ },
12
+ },
13
+ };
14
+ export default meta;
15
+ export const Default = {
16
+ render: ({ content, variant, 'align-content': alignContent }) => content.length > 0
17
+ ? html `
18
+ <p-divider
19
+ variant=${variant ?? nothing}
20
+ align-content=${alignContent ?? nothing}
21
+ >
22
+ ${content}
23
+ </p-divider>
24
+ `
25
+ : html `<p-divider variant=${variant ?? nothing} />`,
26
+ };
@@ -0,0 +1,19 @@
1
+ import { html, nothing } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Atoms/Drawer/Body',
4
+ component: 'p-drawer-body',
5
+ args: {
6
+ content: 'ModalBody',
7
+ },
8
+ argTypes: {
9
+ content: {
10
+ type: 'string',
11
+ },
12
+ },
13
+ };
14
+ export default meta;
15
+ export const Default = {
16
+ render: ({ content, variant }) => html `
17
+ <p-drawer-body variant=${variant ?? nothing}> ${content} </p-drawer-body>
18
+ `,
19
+ };
@@ -0,0 +1,21 @@
1
+ import { html, nothing } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Atoms/Drawer/Container',
4
+ component: 'p-drawer-container',
5
+ args: {
6
+ content: 'ModalContainer',
7
+ },
8
+ argTypes: {
9
+ content: {
10
+ type: 'string',
11
+ },
12
+ },
13
+ };
14
+ export default meta;
15
+ export const Default = {
16
+ render: ({ content, closing }) => html `
17
+ <p-drawer-container closing=${closing ?? nothing}>
18
+ ${content}
19
+ </p-drawer-container>
20
+ `,
21
+ };
@@ -1 +1 @@
1
- *{box-sizing:border-box}.static{position:static}.relative{position:relative}.z-\[1\]{z-index:1}.flex{display:flex}.inline-flex{display:inline-flex}.size-8{height:2rem;width:2rem}.min-h-12{min-height:3rem}.min-h-18{min-height:4.5rem}.w-full{width:100%}.flex-1{flex:1 1 0%}.flex-col{flex-direction:column}.justify-between{justify-content:space-between}.overflow-hidden{overflow:hidden}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-4{padding:1rem}.pb-0{padding-bottom:0}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.font-bold{font-weight:700}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}
1
+ *{box-sizing:border-box}.static{position:static}.relative{position:relative}.z-\[1\]{z-index:1}.flex{display:flex}.inline-flex{display:inline-flex}.size-8{height:2rem;width:2rem}.min-h-12{min-height:3rem}.min-h-18{min-height:4.5rem}.w-full{width:100%}.flex-1{flex:1 1 0%}.flex-col{flex-direction:column}.justify-between{justify-content:space-between}.overflow-hidden{overflow:hidden}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-4{padding:1rem}.pb-0{padding-bottom:0}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.font-bold{font-weight:700}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}
@@ -13,7 +13,7 @@ const content = cva(['flex justify-between', 'min-h-12 w-full p-4 pb-0']);
13
13
  const title = cva([
14
14
  'flex-1 text-center',
15
15
  `
16
- text-ambit text-2xl font-bold text-storm-500
16
+ font-ambit text-2xl font-bold text-storm-500
17
17
  dark:text-white
18
18
  `,
19
19
  ]);
@@ -0,0 +1,25 @@
1
+ import { action } from "@storybook/addon-actions";
2
+ import { html, nothing } from "lit";
3
+ const meta = {
4
+ title: 'Design System/Atoms/Drawer/Header',
5
+ component: 'p-drawer-header',
6
+ args: {
7
+ content: 'ModalHeader',
8
+ },
9
+ argTypes: {
10
+ content: {
11
+ type: 'string',
12
+ },
13
+ },
14
+ };
15
+ export default meta;
16
+ export const Default = {
17
+ render: ({ content, 'show-close': showClose }) => html `
18
+ <p-drawer-header
19
+ show-close=${showClose ?? nothing}
20
+ @close=${action('close')}
21
+ >
22
+ ${content}
23
+ </p-drawer-header>
24
+ `,
25
+ };
@@ -2,13 +2,7 @@ import { h } from "@stencil/core";
2
2
  import { cva } from "class-variance-authority";
3
3
  import { ThemedHost } from "../../../../internal/themed-host.component";
4
4
  import { asBoolean } from "../../../../utils/as-boolean";
5
- const dropdownMenuContainer = cva([
6
- 'p-dropdown-menu-container',
7
- 'p-1',
8
- 'z-10 rounded-lg',
9
- 'border',
10
- 'transform-gpu will-change-transform',
11
- ], {
5
+ const dropdownMenuContainer = cva(['p-1', 'z-10 rounded-lg', 'border', 'transform-gpu will-change-transform'], {
12
6
  variants: {
13
7
  variant: {
14
8
  default: [
@@ -82,15 +76,15 @@ export class DropdownMenuContainer {
82
76
  : this.scrollable === true
83
77
  ? 'default'
84
78
  : this.scrollable;
85
- return (h(ThemedHost, { key: '5e114d019269c53de1c486382f94df63a07a8270' }, h("div", { key: '45d734038bf0ff32b352552cd3acfbf284a4dd04', class: dropdownMenuContainer({
79
+ return (h(ThemedHost, { key: 'b4669178b51e78cc37779e2f3ba42ed2dd001d71' }, h("div", { key: '1e7a8752816f578d793072517f80f18d52417a2c', class: dropdownMenuContainer({
86
80
  class: this.class,
87
81
  variant: this.variant,
88
82
  fullWidth: asBoolean(this.fullWidth, true),
89
83
  maxWidth: this.maxWidth,
90
- }) }, h("div", { key: '5835894bc68ed27da004ff8e93cc6cb393e75586', class: innerContainer({
84
+ }) }, h("div", { key: '2f1f710cf34a1542797ee7234f915d83f1928cb2', class: innerContainer({
91
85
  allowOverflow: asBoolean(this.allowOverflow),
92
86
  scrollable,
93
- }) }, h("div", { key: '2fc4b47ac15be1c804c427874a6f5a81a26264e9', class: 'flex w-full flex-col' }, h("slot", { key: '8a14a049fc08d84ee9b43ce12e5301bd99773c0e' }))))));
87
+ }) }, h("div", { key: '50ced2c063ab9524450f258dfc3fadaeb507b4e7', class: 'flex w-full flex-col' }, h("slot", { key: '6a5f6a88b779efa49bc5dba3161a74056d4504ef' }))))));
94
88
  }
95
89
  static get is() { return "p-dropdown-menu-container"; }
96
90
  static get encapsulation() { return "shadow"; }
@@ -0,0 +1,31 @@
1
+ import { html, nothing } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Atoms/Dropdown menu/Container',
4
+ component: 'p-dropdown-menu-container',
5
+ };
6
+ export default meta;
7
+ export const Default = {
8
+ render: ({ variant, 'max-width': maxWidth, class: className, 'full-width': fullWidth, 'allow-overflow': allowOverflow, scrollable, }) => html `
9
+ <p-dropdown-menu-container
10
+ variant=${variant ?? nothing}
11
+ max-width=${maxWidth ?? nothing}
12
+ class=${className ?? nothing}
13
+ full-width=${fullWidth ?? nothing}
14
+ allow-overflow=${allowOverflow ?? nothing}
15
+ scrollable=${scrollable ?? nothing}
16
+ >
17
+ <p-dropdown-menu-item variant=${variant ?? nothing}>
18
+ Item 1
19
+ </p-dropdown-menu-item>
20
+ <p-dropdown-menu-item variant=${variant ?? nothing}>
21
+ Item 2
22
+ </p-dropdown-menu-item>
23
+ <p-dropdown-menu-item
24
+ active
25
+ variant=${variant ?? nothing}
26
+ >
27
+ Item 3
28
+ </p-dropdown-menu-item>
29
+ </p-dropdown-menu-container>
30
+ `,
31
+ };
@@ -3,12 +3,7 @@ import { cva } from "class-variance-authority";
3
3
  import { ThemedHost } from "../../../../internal/themed-host.component";
4
4
  import { cn } from "../../../../utils";
5
5
  import { asBoolean } from "../../../../utils/as-boolean";
6
- const dropdownMenuItem = cva([
7
- `
8
- p-dropdown-menu-item group flex max-w-full items-center gap-2 rounded-lg
9
- text-sm
10
- `,
11
- ], {
6
+ const dropdownMenuItem = cva([`group flex max-w-full items-center gap-2 rounded-lg text-sm`], {
12
7
  variants: {
13
8
  variant: {
14
9
  default: null,
@@ -285,19 +280,19 @@ export class DropdownMenuItem {
285
280
  */
286
281
  autoHeight = false;
287
282
  render() {
288
- return (h(ThemedHost, { key: '9db5400644abc5f1cd2b61bddbf2e17ff7b819a1' }, h("div", { key: '35a64c76b96041fc565c19845aca3f0330c96b49', class: cn(dropdownMenuItem({
283
+ return (h(ThemedHost, { key: '147401764920d564b7a00d1b31a2d10a262329be' }, h("div", { key: '06dd61d4b5bf8cd1e447d326d30082d638e7b033', class: cn(dropdownMenuItem({
289
284
  variant: this.variant,
290
285
  active: asBoolean(this.active),
291
286
  enableHover: asBoolean(this.enableHover ?? true),
292
287
  autoHeight: asBoolean(this.autoHeight ?? false),
293
288
  enableTextWrap: this.enableTextWrap,
294
289
  disabled: asBoolean(this.disabled),
295
- })) }, this.icon && (h("p-icon", { key: 'a7a7a2d9c28cf63aeb66043eb7c8e28fe375437c', class: dropdownMenuItemIcon({
290
+ })) }, this.icon && (h("p-icon", { key: '057978ce674d15f2013cc44941a535bd61b09aa9', class: dropdownMenuItemIcon({
296
291
  variant: this.variant,
297
292
  active: asBoolean(this.active),
298
293
  disabled: asBoolean(this.disabled),
299
294
  wave: asBoolean(this.iconWave),
300
- }), variant: this.icon })), this.checkbox && (h("p-checkbox", { key: 'e57a547ced7bd228f920d5c5197d6c17dc1aeaee', checked: this.active, disabled: this.disabled })), this.useContainer ? (h("div", { class: cn('block w-full overflow-hidden text-start', {
295
+ }), variant: this.icon })), this.checkbox && (h("p-checkbox", { key: '1a953c17a54475d4d2f09ae18cd2cf5b46438a23', checked: this.active, disabled: this.disabled })), this.useContainer ? (h("div", { class: cn('block w-full overflow-hidden text-start', {
301
296
  'text-ellipsis whitespace-nowrap': !this.enableTextWrap,
302
297
  }) }, h("slot", null))) : (h("slot", null)))));
303
298
  }
@@ -0,0 +1,31 @@
1
+ import { html, nothing } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Atoms/Dropdown menu/Item',
4
+ component: 'p-dropdown-menu-item',
5
+ args: {
6
+ content: 'DropdownMenuItem',
7
+ },
8
+ argTypes: {
9
+ content: {
10
+ type: 'string',
11
+ },
12
+ },
13
+ };
14
+ export default meta;
15
+ export const Default = {
16
+ render: ({ content, active, checkbox, variant, 'enable-hover': enableHover, 'enable-text-wrap': enableTextWrap, disabled, icon, 'icon-wave': iconWave, 'use-container': useContainer, }) => html `
17
+ <p-dropdown-menu-item
18
+ active=${active ?? nothing}
19
+ checkbox=${checkbox ?? nothing}
20
+ variant=${variant ?? nothing}
21
+ enable-hover=${enableHover ?? nothing}
22
+ enable-text-wrap=${enableTextWrap ?? nothing}
23
+ disabled=${disabled ?? nothing}
24
+ icon=${icon ?? nothing}
25
+ icon-wave=${iconWave ?? nothing}
26
+ use-container=${useContainer ?? nothing}
27
+ >
28
+ ${content}
29
+ </p-dropdown-menu-item>
30
+ `,
31
+ };
@@ -0,0 +1,29 @@
1
+ import { action } from "@storybook/addon-actions";
2
+ import { html, nothing } from "lit";
3
+ const meta = {
4
+ title: 'Design System/Atoms/Floating menu/Container',
5
+ component: 'p-floating-menu-container',
6
+ args: {
7
+ content: 'FloatingMenuContainer',
8
+ },
9
+ argTypes: {
10
+ content: {
11
+ type: 'string',
12
+ },
13
+ },
14
+ };
15
+ export default meta;
16
+ export const Default = {
17
+ render: ({ content, 'used-in-table': usedInTable, 'enable-amount-selected': enableAmountSelected, amount, 'enable-close': enableClose, 'amount-selected-template': amountSelectedTemplate, }) => html `
18
+ <p-floating-menu-container
19
+ used-in-table=${usedInTable ?? nothing}
20
+ enable-amount-selected=${enableAmountSelected ?? nothing}
21
+ amount=${amount ?? nothing}
22
+ enable-close=${enableClose ?? nothing}
23
+ amount-selected-template=${amountSelectedTemplate ?? nothing}
24
+ @close=${action('close')}
25
+ >
26
+ ${content}
27
+ </p-floating-menu-container>
28
+ `,
29
+ };
@@ -0,0 +1,29 @@
1
+ import { html, nothing } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Atoms/Floating menu/Item',
4
+ component: 'p-floating-menu-item',
5
+ args: {
6
+ content: 'FloatingMenuItem',
7
+ },
8
+ argTypes: {
9
+ content: {
10
+ type: 'string',
11
+ },
12
+ },
13
+ };
14
+ export default meta;
15
+ export const Default = {
16
+ render: ({ content, hover, disabled, loading, icon, 'icon-position': iconPosition, 'icon-flip': iconFlip, 'icon-rotate': iconRotate, }) => html `
17
+ <p-floating-menu-item
18
+ hover=${hover ?? nothing}
19
+ disabled=${disabled ?? nothing}
20
+ loading=${loading ?? nothing}
21
+ icon=${icon ?? nothing}
22
+ icon-position=${iconPosition ?? nothing}
23
+ icon-flip=${iconFlip ?? nothing}
24
+ icon-rotate=${iconRotate ?? nothing}
25
+ >
26
+ ${content}
27
+ </p-floating-menu-item>
28
+ `,
29
+ };
@@ -0,0 +1,24 @@
1
+ import { html, nothing } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Atoms/Helper',
4
+ component: 'p-helper',
5
+ args: {
6
+ content: 'Helper',
7
+ },
8
+ argTypes: {
9
+ content: {
10
+ type: 'string',
11
+ },
12
+ },
13
+ };
14
+ export default meta;
15
+ export const Default = {
16
+ render: ({ content, strategy, placement }) => html `
17
+ <p-helper
18
+ strategy=${strategy ?? nothing}
19
+ placement=${placement ?? nothing}
20
+ >
21
+ ${content}
22
+ </p-helper>
23
+ `,
24
+ };
@@ -0,0 +1,14 @@
1
+ import { html, nothing } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Atoms/Iban icon',
4
+ component: 'p-iban-icon',
5
+ };
6
+ export default meta;
7
+ export const Default = {
8
+ render: ({ iban, variant }) => html `
9
+ <p-iban-icon
10
+ iban=${iban ?? nothing}
11
+ variant=${variant ?? nothing}
12
+ />
13
+ `,
14
+ };
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { cva } from "class-variance-authority";
3
3
  import { icons } from "../../../utils/icons";
4
- const icon = cva(['p-icon inline-flex', 'transform-gpu transition-transform'], {
4
+ const icon = cva(['inline-flex', 'transform-gpu transition-transform'], {
5
5
  variants: {
6
6
  flip: {
7
7
  none: null,
@@ -56,7 +56,7 @@ export class Icon {
56
56
  render() {
57
57
  const hasTextSizeClass = /text-(xs|sm|base|lg|xl)/.test(this._el.className);
58
58
  const svg = icons[this.variant];
59
- return (h("div", { key: '1bea88e95c14970d3dc5ff08737acbde058699d7', class: icon({
59
+ return (h("div", { key: '004e863b264cecc97018773dcd07d2816c6e20d1', class: icon({
60
60
  flip: this.flip,
61
61
  size: hasTextSizeClass ? 'auto' : this.size,
62
62
  transform: this.flip !== 'none' || this.rotate > 0 || this.rotate < 0,
@@ -0,0 +1,20 @@
1
+ import { html, nothing } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Atoms/Icon',
4
+ component: 'p-icon',
5
+ args: {
6
+ variant: 'caret',
7
+ },
8
+ };
9
+ export default meta;
10
+ export const Default = {
11
+ render: ({ variant, size, rotate, flip }) => html `
12
+ <p-icon
13
+ variant=${variant ?? nothing}
14
+ size=${size ?? nothing}
15
+ rotate=${rotate ?? nothing}
16
+ flip=${flip ?? nothing}
17
+ />
18
+ `,
19
+ tags: ['!dev'],
20
+ };
@@ -0,0 +1,12 @@
1
+ import { html, nothing } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Atoms/Illustration',
4
+ component: 'p-illustration',
5
+ args: {
6
+ variant: 'calculator',
7
+ },
8
+ };
9
+ export default meta;
10
+ export const Default = {
11
+ render: ({ variant }) => html `<p-illustration variant=${variant ?? nothing} />`,
12
+ };