@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
@@ -0,0 +1,24 @@
1
+ import { html, nothing } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Molecules/Table/Row',
4
+ component: 'p-table-row',
5
+ args: {
6
+ content: 'TableRow',
7
+ },
8
+ argTypes: {
9
+ content: {
10
+ type: 'string',
11
+ },
12
+ },
13
+ };
14
+ export default meta;
15
+ export const Default = {
16
+ render: ({ content, variant, 'enable-hover': enableHover }) => html `
17
+ <p-table-row
18
+ variant=${variant ?? nothing}
19
+ enable-hover=${enableHover ?? nothing}
20
+ >
21
+ ${content}
22
+ </p-table-row>
23
+ `,
24
+ };
@@ -0,0 +1,26 @@
1
+ import { action } from "@storybook/addon-actions";
2
+ import { html, nothing } from "lit";
3
+ const meta = {
4
+ title: 'Design System/Molecules/Toast',
5
+ component: 'p-toast',
6
+ args: {
7
+ header: 'This is a header',
8
+ content: 'This is content of the toast',
9
+ variant: 'neutral',
10
+ },
11
+ };
12
+ export default meta;
13
+ export const Default = {
14
+ render: ({ variant, header, content, 'enable-action': enableAction, 'action-icon': actionIcon, 'action-icon-flip': actionIconFlip, 'action-icon-rotate': actionIconRotate, }) => html `
15
+ <p-toast
16
+ variant=${variant ?? nothing}
17
+ header=${header ?? nothing}
18
+ content=${content ?? nothing}
19
+ enable-action=${enableAction ?? nothing}
20
+ action-icon=${actionIcon ?? nothing}
21
+ action-icon-flip=${actionIconFlip ?? nothing}
22
+ action-icon-rotate=${actionIconRotate ?? nothing}
23
+ @action=${action('action')}
24
+ />
25
+ `,
26
+ };
@@ -0,0 +1,43 @@
1
+ import { action } from "@storybook/addon-actions";
2
+ import { html, nothing } from "lit";
3
+ const meta = {
4
+ title: 'Design System/Organisms/Drawer',
5
+ component: 'p-drawer',
6
+ args: {
7
+ header: 'Drawer',
8
+ show: true,
9
+ 'scroll-lock': false,
10
+ },
11
+ parameters: {
12
+ docs: {
13
+ iframeHeight: 900,
14
+ story: {
15
+ height: '900px',
16
+ },
17
+ },
18
+ },
19
+ };
20
+ export default meta;
21
+ export const Default = {
22
+ render: ({ header, show, 'apply-blur': applyBlur, 'show-close': showClose, 'backdrop-click-close': backdropClickClose, 'can-close': canClose, 'scroll-lock': scrollLock, }) => html `
23
+ <p-drawer
24
+ header=${header ?? nothing}
25
+ show=${show ?? nothing}
26
+ apply-blur=${applyBlur ?? nothing}
27
+ show-close=${showClose ?? nothing}
28
+ backdrop-click-close=${backdropClickClose ?? nothing}
29
+ can-close=${canClose ?? nothing}
30
+ scroll-lock=${scrollLock ?? nothing}
31
+ @closeClicked=${action('closeClicked')}
32
+ @closed=${action('closed')}
33
+ >
34
+ <p-card-container
35
+ slot="content"
36
+ slot="content"
37
+ >
38
+ <p-card-header header="Card header"></p-card-header>
39
+ <p-card-body> Card content! </p-card-body>
40
+ </p-card-container>
41
+ </p-drawer>
42
+ `,
43
+ };
@@ -0,0 +1,38 @@
1
+ import { html } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Organisms/Listing',
4
+ component: 'p-listing',
5
+ parameters: {
6
+ docs: {
7
+ iframeHeight: 600,
8
+ story: {
9
+ height: '700px',
10
+ },
11
+ },
12
+ },
13
+ };
14
+ export default meta;
15
+ export const Default = {
16
+ render: () => html `
17
+ <p-listing>
18
+ <p-listing-item icon="user">
19
+ <p>Item number 1</p>
20
+ <p class="text-xs text-storm-300 dark:text-hurricane-200">
21
+ Sub text of item 1
22
+ </p>
23
+ </p-listing-item>
24
+ <p-listing-item icon="calendar">
25
+ <p>Item number 2</p>
26
+ <p class="text-xs text-storm-300 dark:text-hurricane-200">
27
+ Sub text of item 2
28
+ </p>
29
+ </p-listing-item>
30
+ <p-listing-item icon="pay">
31
+ <p>Item number 3</p>
32
+ <p class="text-xs text-storm-300 dark:text-hurricane-200">
33
+ Sub text of item 3
34
+ </p>
35
+ </p-listing-item>
36
+ </p-listing>
37
+ `,
38
+ };
@@ -0,0 +1,59 @@
1
+ import { action } from "@storybook/addon-actions";
2
+ import { html, nothing } from "lit";
3
+ const meta = {
4
+ title: 'Design System/Organisms/Modal',
5
+ component: 'p-modal',
6
+ args: {
7
+ header: 'Modal',
8
+ content: 'Modal content',
9
+ show: true,
10
+ 'scroll-lock': false,
11
+ },
12
+ argTypes: {
13
+ content: {
14
+ type: 'string',
15
+ },
16
+ },
17
+ parameters: {
18
+ docs: {
19
+ iframeHeight: 600,
20
+ story: {
21
+ height: '700px',
22
+ },
23
+ },
24
+ },
25
+ };
26
+ export default meta;
27
+ export const Default = {
28
+ render: ({ content, size, variant, header, show, 'apply-blur': applyBlur, 'show-close': showClose, 'show-mobile-footer': showMobileFooter, 'backdrop-click-close': backdropClickClose, 'scroll-lock': scrollLock, padding, }) => html `
29
+ <p-modal
30
+ size=${size ?? nothing}
31
+ variant=${variant ?? nothing}
32
+ header=${header ?? nothing}
33
+ show=${show ?? nothing}
34
+ apply-blur=${applyBlur ?? nothing}
35
+ show-close=${showClose ?? nothing}
36
+ show-mobile-footer=${showMobileFooter ?? nothing}
37
+ backdrop-click-close=${backdropClickClose ?? nothing}
38
+ scroll-lock=${scrollLock ?? nothing}
39
+ padding=${padding ?? nothing}
40
+ @closeClicked=${action('closeClicked')}
41
+ @closed=${action('closed')}
42
+ >
43
+ <slot slot="content">${content}</slot>
44
+ <p-button
45
+ slot="footer"
46
+ class="hidden tablet:inline-block"
47
+ variant="secondary"
48
+ >
49
+ Cancel
50
+ </p-button>
51
+ <p-button
52
+ slot="footer"
53
+ class="w-full tablet:ml-auto tablet:w-auto"
54
+ >
55
+ Submit
56
+ </p-button>
57
+ </p-modal>
58
+ `,
59
+ };
@@ -0,0 +1,76 @@
1
+ import { html } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Organisms/Navbar',
4
+ component: 'p-navbar',
5
+ };
6
+ export default meta;
7
+ export const Default = {
8
+ render: () => html `
9
+ <p-navbar>
10
+ <div
11
+ class="flex w-full flex-col"
12
+ slot="company"
13
+ *ngrxLet="accesses$ as accesses"
14
+ >
15
+ <p-profile>
16
+ <p-avatar
17
+ slot="avatar"
18
+ letters="Company name"
19
+ ></p-avatar>
20
+ <span slot="title">Company Name</span>
21
+ <div slot="dropdown">
22
+ <p-dropdown-menu-item icon="company"> Data </p-dropdown-menu-item>
23
+ <p-dropdown-menu-item icon="users"> Users </p-dropdown-menu-item>
24
+ <p-dropdown-menu-item icon="tag">
25
+ Subscription and billing
26
+ </p-dropdown-menu-item>
27
+ <p-divider></p-divider>
28
+ <p-dropdown-menu-item icon="plus">
29
+ Add company
30
+ </p-dropdown-menu-item>
31
+ </div>
32
+ </p-profile>
33
+ </div>
34
+
35
+ <p-navigation-section
36
+ header="title"
37
+ slot="content"
38
+ >
39
+ <p-navigation-item
40
+ counter="3"
41
+ icon="user"
42
+ >Item</p-navigation-item
43
+ >
44
+ <p-navigation-item
45
+ active
46
+ icon="user"
47
+ >Item</p-navigation-item
48
+ >
49
+ </p-navigation-section>
50
+
51
+ <p-profile slot="user">
52
+ <p-avatar
53
+ slot="avatar"
54
+ letters="Displayname"
55
+ ></p-avatar>
56
+ <span slot="title">Displayname</span>
57
+ <span slot="subtitle"> Employer </span>
58
+ <div slot="dropdown">
59
+ <p-profile class="inline-block px-2">
60
+ <span slot="title">Display name</span>
61
+ <span slot="subtitle">User email yada yada</span>
62
+ </p-profile>
63
+ <p-divider></p-divider>
64
+ <p-dropdown-menu-item icon="user"> Person </p-dropdown-menu-item>
65
+ <p-dropdown-menu-item
66
+ variant="negative"
67
+ icon="wave"
68
+ icon-wave
69
+ >
70
+ Signout
71
+ </p-dropdown-menu-item>
72
+ </div>
73
+ </p-profile>
74
+ </p-navbar>
75
+ `,
76
+ };
@@ -0,0 +1,64 @@
1
+ import { html, nothing } from "lit";
2
+ const meta = {
3
+ title: 'Design System/Organisms/Stepper',
4
+ component: 'p-stepper',
5
+ args: {
6
+ steps: JSON.stringify(['Step 1', 'Step 2', 'Step 3']),
7
+ },
8
+ parameters: {
9
+ docs: {
10
+ iframeHeight: 600,
11
+ story: {
12
+ height: '700px',
13
+ },
14
+ },
15
+ },
16
+ };
17
+ export default meta;
18
+ export const Horizontal = {
19
+ render: ({ 'active-step': activeStep, 'enable-auto-status': enableAutoStatus, 'content-position': contentPosition, steps, }) => html `
20
+ <p-stepper
21
+ active-step=${activeStep ?? nothing}
22
+ enable-auto-status=${enableAutoStatus ?? nothing}
23
+ direction="horizontal"
24
+ content-position=${contentPosition ?? nothing}
25
+ steps=${steps ?? nothing}
26
+ >
27
+ </p-stepper>
28
+ `,
29
+ };
30
+ export const Vertical = {
31
+ render: ({ 'active-step': activeStep, 'enable-auto-status': enableAutoStatus, 'content-position': contentPosition, align, }) => html `
32
+ <p-stepper
33
+ direction="vertical"
34
+ active-step=${activeStep ?? nothing}
35
+ enable-auto-status=${enableAutoStatus ?? nothing}
36
+ align=${align ?? nothing}
37
+ content-position=${contentPosition ?? nothing}
38
+ >
39
+ <p-stepper-item>
40
+ <p-card-container>
41
+ <p-card-body>
42
+ Some content but longer <br />
43
+ loooong <br />
44
+ Even longuuuuur
45
+ </p-card-body>
46
+ </p-card-container>
47
+ </p-stepper-item>
48
+ <p-stepper-item>
49
+ <p-card-container>
50
+ <p-card-body>
51
+ Some content but longer <br />
52
+ loooong <br />
53
+ Even longuuuuur
54
+ </p-card-body>
55
+ </p-card-container>
56
+ </p-stepper-item>
57
+ <p-stepper-item>
58
+ <p-card-container>
59
+ <p-card-body>Some content</p-card-body>
60
+ </p-card-container>
61
+ </p-stepper-item>
62
+ </p-stepper>
63
+ `,
64
+ };
@@ -0,0 +1,226 @@
1
+ import { action } from "@storybook/addon-actions";
2
+ import { html, nothing } from "lit";
3
+ const meta = {
4
+ title: 'Design System/Organisms/Table',
5
+ component: 'p-table',
6
+ args: {
7
+ total: 100,
8
+ items: JSON.stringify([
9
+ {
10
+ id: 1,
11
+ first: 'First',
12
+ second: 'Second',
13
+ third: 'Third',
14
+ },
15
+ {
16
+ id: 2,
17
+ first: 'First',
18
+ second: 'Second',
19
+ third: 'Third',
20
+ },
21
+ {
22
+ id: 3,
23
+ first: 'First',
24
+ second: 'Second',
25
+ third: 'Third',
26
+ },
27
+ {
28
+ id: 4,
29
+ first: 'First',
30
+ second: 'Second',
31
+ third: 'Third',
32
+ },
33
+ {
34
+ id: 1,
35
+ first: 'First',
36
+ second: 'Second',
37
+ third: 'Third',
38
+ },
39
+ {
40
+ id: 2,
41
+ first: 'First',
42
+ second: 'Second',
43
+ third: 'Third',
44
+ },
45
+ {
46
+ id: 3,
47
+ first: 'First',
48
+ second: 'Second',
49
+ third: 'Third',
50
+ },
51
+ {
52
+ id: 4,
53
+ first: 'First',
54
+ second: 'Second',
55
+ third: 'Third',
56
+ },
57
+ ]),
58
+ 'quick-filters': JSON.stringify([
59
+ {
60
+ identifier: 'first',
61
+ text: 'First',
62
+ },
63
+ {
64
+ identifier: 'second',
65
+ text: 'Second',
66
+ },
67
+ {
68
+ identifier: 'third',
69
+ text: 'Third',
70
+ },
71
+ ]),
72
+ 'selection-key': 'id',
73
+ },
74
+ parameters: {
75
+ docs: {
76
+ iframeHeight: 600,
77
+ story: {
78
+ height: '700px',
79
+ },
80
+ },
81
+ },
82
+ };
83
+ export default meta;
84
+ export const Default = {
85
+ render: ({ items, loading, 'header-loading': headerLoading, 'footer-loading': footerLoading, 'amount-of-loading-rows': amountOfLoadingRows, 'enable-row-selection': enableRowSelection, 'row-selection-limit': rowSelectionLimit, 'enable-row-click': enableRowClick, 'selected-rows': selectedRows, 'enable-floating-menu': enableFloatingMenu, 'floating-menu-amount-selected-template': floatingMenuAmountSelectedTemplate, 'selection-key': selectionKey, 'can-select-key': canSelectKey, 'enable-header': enableHeader, 'quick-filters': quickFilters, 'active-quick-filter-identifier': activeQuickFilterIdentifier, 'enable-search': enableSearch, query, 'enable-filter': enableFilter, 'enable-filter-desktop': enableFilterDesktop, 'selected-filters-amount': selectedFiltersAmount, 'filter-button-template': filterButtonTemplate, 'enable-action': enableAction, 'action-button-loading': actionButtonLoading, 'action-button-enabled': actionButtonEnabled, 'action-button-icon': actionButtonIcon, 'action-button-text': actionButtonText, 'action-button-template': actionButtonTemplate, 'enable-footer': enableFooter, 'enable-page-size': enablePageSize, 'enable-pagination': enablePagination, 'enable-export': enableExport, page, total, 'page-size': pageSize, 'page-size-options': pageSizeOptions, 'hide-on-single-page': hideOnSinglePage, 'empty-state-header': emptyStateHeader, 'empty-state-content': emptyStateContent, 'empty-state-action': emptyStateAction, 'enable-empty-state-action': enableEmptyStateAction, 'empty-state-filtered-header': emptyStateFilteredHeader, 'empty-state-filtered-content': emptyStateFilteredContent, shadow, }) => {
86
+ const customRowFirstDefinition = {
87
+ variant: 'default',
88
+ align: 'start',
89
+ sizes: 6,
90
+ };
91
+ const customRowSecondDefinition = {
92
+ ...customRowFirstDefinition,
93
+ align: 'end',
94
+ };
95
+ return html `
96
+ <p-table
97
+ items=${items ?? nothing}
98
+ loading=${loading ?? nothing}
99
+ header-loading=${headerLoading ?? nothing}
100
+ footer-loading=${footerLoading ?? nothing}
101
+ amount-of-loading-rows=${amountOfLoadingRows ?? nothing}
102
+ enable-row-selection=${enableRowSelection ?? nothing}
103
+ row-selection-limit=${rowSelectionLimit ?? nothing}
104
+ enable-row-click=${enableRowClick ?? nothing}
105
+ selected-rows=${selectedRows ?? nothing}
106
+ enable-floating-menu=${enableFloatingMenu ?? nothing}
107
+ floating-menu-amount-selected-template=${floatingMenuAmountSelectedTemplate ??
108
+ nothing}
109
+ selection-key=${selectionKey ?? nothing}
110
+ can-select-key=${canSelectKey ?? nothing}
111
+ enable-header=${enableHeader ?? nothing}
112
+ quick-filters=${quickFilters ?? nothing}
113
+ active-quick-filter-identifier=${activeQuickFilterIdentifier ?? nothing}
114
+ enable-search=${enableSearch ?? nothing}
115
+ query=${query ?? nothing}
116
+ enable-filter=${enableFilter ?? nothing}
117
+ enable-filter-desktop=${enableFilterDesktop ?? nothing}
118
+ selected-filters-amount=${selectedFiltersAmount ?? nothing}
119
+ filter-button-template=${filterButtonTemplate ?? nothing}
120
+ enable-action=${enableAction ?? nothing}
121
+ action-button-loading=${actionButtonLoading ?? nothing}
122
+ action-button-enabled=${actionButtonEnabled ?? nothing}
123
+ action-button-icon=${actionButtonIcon ?? nothing}
124
+ action-button-text=${actionButtonText ?? nothing}
125
+ action-button-template=${actionButtonTemplate ?? nothing}
126
+ enable-footer=${enableFooter ?? nothing}
127
+ enable-page-size=${enablePageSize ?? nothing}
128
+ enable-pagination=${enablePagination ?? nothing}
129
+ enable-export=${enableExport ?? nothing}
130
+ page=${page ?? nothing}
131
+ total=${total ?? nothing}
132
+ page-size=${pageSize ?? nothing}
133
+ page-size-options=${pageSizeOptions ?? nothing}
134
+ hide-on-single-page=${hideOnSinglePage ?? nothing}
135
+ empty-state-header=${emptyStateHeader ?? nothing}
136
+ empty-state-content=${emptyStateContent ?? nothing}
137
+ empty-state-action=${emptyStateAction ?? nothing}
138
+ enable-empty-state-action=${enableEmptyStateAction ?? nothing}
139
+ empty-state-filtered-header=${emptyStateFilteredHeader ?? nothing}
140
+ empty-state-filtered-content=${emptyStateFilteredContent ?? nothing}
141
+ shadow=${shadow ?? nothing}
142
+ @selectedRowsChange=${action('selectedRowsChange')}
143
+ @rowClick=${action('rowClick')}
144
+ @rowSelected=${action('rowSelected')}
145
+ @rowDeselected=${action('rowDeselected')}
146
+ @hasRendered=${action('hasRendered')}
147
+ @quickFilter=${action('quickFilter')}
148
+ @queryChange=${action('queryChange')}
149
+ @filter=${action('filter')}
150
+ @action=${action('action')}
151
+ @pageChange=${action('pageChange')}
152
+ @pageSizeChange=${action('pageSizeChange')}
153
+ @export=${action('export')}
154
+ @emptyStateActionClick=${action('emptyStateActionClick')}
155
+ >
156
+ <p-table-extra-header
157
+ name="extra first"
158
+ sizes="3"
159
+ ></p-table-extra-header>
160
+ <p-table-extra-header
161
+ name="extra long"
162
+ sizes="6"
163
+ ></p-table-extra-header>
164
+ <p-table-extra-header
165
+ name="extra last"
166
+ align="end"
167
+ sizes="3"
168
+ ></p-table-extra-header>
169
+
170
+ <p-table-column
171
+ name="first"
172
+ path="first"
173
+ sizes="3"
174
+ ></p-table-column>
175
+ <p-table-column
176
+ name="second"
177
+ path="second"
178
+ sizes="3"
179
+ ></p-table-column>
180
+ <p-table-column
181
+ name="third"
182
+ path="third"
183
+ sizes="3"
184
+ ></p-table-column>
185
+ <p-table-column
186
+ name="fourth"
187
+ path="third"
188
+ sizes="3"
189
+ ></p-table-column>
190
+
191
+ <p-table-row-action
192
+ icon="user"
193
+ type="both"
194
+ label="User both"
195
+ @action=${action('rowActionUserBoth')}
196
+ ></p-table-row-action>
197
+ <p-table-row-action
198
+ icon="pencil"
199
+ type="single"
200
+ label="Pencil single"
201
+ @action=${action('rowActionPencilSingle')}
202
+ ></p-table-row-action>
203
+ <p-table-row-action
204
+ icon="company"
205
+ type="multi"
206
+ label="Multi company"
207
+ @action=${action('rowActionCompanyMulti')}
208
+ ></p-table-row-action>
209
+
210
+ <p-table-row
211
+ variant="secondary"
212
+ slot="custom-rows"
213
+ >
214
+ <p-table-cell definition=${customRowFirstDefinition}>
215
+ <span class="text-black dark:text-white">Subtotal</span>
216
+ </p-table-cell>
217
+ <p-table-cell definition=${customRowSecondDefinition}>
218
+ <span class="text-storm-500 dark:text-hurricane-200">
219
+ &euro; 1.234,50
220
+ </span>
221
+ </p-table-cell>
222
+ </p-table-row>
223
+ </p-table>
224
+ `;
225
+ },
226
+ };
@@ -1 +1 @@
1
- import{t,p as e,H as r,h as a}from"./p-CySg37XO.js";import{c as o}from"./p-CBWjHURv.js";import{T as i}from"./p-Au2WuEGF.js";import{c}from"./p-xs4N_Y-0.js";import{a as n}from"./p-C5CTp9IA.js";import{d as s}from"./p-Bxk-f0zV.js";const d=o(["flex items-center justify-center","rounded-xl","cursor-pointer text-sm"],{variants:{variant:{default:"h-6 gap-2",block:"flex-col p-2 text-center"},active:{false:["cursor-pointer","\n text-storm-300\n hover:bg-storm-50 hover:text-storm-500\n ","dark:hover:bg-white/15 dark:hover:text-white"],true:"bg-indigo-600 text-white"},iconOnly:{false:"px-2",true:"w-6"}},compoundVariants:[{variant:"default",active:!1,class:"\n text-storm-500\n dark:text-hurricane-200\n "},{variant:"block",active:!1,class:"\n text-storm-500\n dark:text-white\n "}]}),h=e(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}variant="default";active=!1;iconOnly=!1;icon;iconFlip;iconRotate;render(){const t="block"===this.variant?a("slot",{name:"description"}):null;return a(i,{key:"fb365ffba7e5d105956b9ffbfa4b3effdeec27b2"},a("div",{key:"54736bcb97a642dc66a9c94451e0b3b6bb18d0d3",class:d({variant:this.variant,active:n(this.active),iconOnly:n(this.iconOnly)})},this.icon&&a("p-icon",{key:"5eca3c0638d613f947e320a0ee89867c6fb468ae",class:c("mb-1",{"text-storm-300 dark:text-hurricane-200":!n(this.active),"text-indigo-200":n(this.active)}),flip:this.iconFlip,rotate:this.iconRotate,variant:this.icon}),"default"===this.variant?a("slot",null):a("div",{class:"flex flex-col items-center"},a("p",{class:c("\n my-0 font-medium\n empty:hidden\n ",{})},a("slot",{name:"title"})),t&&a("p",{class:c("my-0 text-xs font-medium",{"text-storm-300 dark:text-hurricane-200":!n(this.active),"text-indigo-200":n(this.active)})},t))))}static get style(){return"*{box-sizing:border-box}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mb-1{margin-bottom:.25rem}.block{display:block}.flex{display:flex}.h-6{height:1.5rem}.w-6{width:1.5rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.rounded-xl{border-radius:.75rem}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.p-2{padding:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.text-hurricane-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-indigo-200{--tw-text-opacity:1;color:rgb(199 217 253/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.empty\\:hidden:empty{display:none}.hover\\:bg-storm-50:hover{--tw-bg-opacity:1;background-color:rgb(232 232 234/var(--tw-bg-opacity,1))}.hover\\:text-storm-500:hover{--tw-text-opacity:1;color:rgb(24 30 41/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-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\\:hover\\:bg-white\\/15:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:text-white:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/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))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:bg-white\\/15:hover:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:text-white:hover:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}"}},[769,"p-segment-item",{variant:[1],active:[4],iconOnly:[4,"icon-only"],icon:[1],iconFlip:[1,"icon-flip"],iconRotate:[2,"icon-rotate"]}]);function m(){"undefined"!=typeof customElements&&["p-segment-item","p-icon"].forEach((e=>{switch(e){case"p-segment-item":customElements.get(t(e))||customElements.define(t(e),h);break;case"p-icon":customElements.get(t(e))||s()}}))}m();export{h as S,m as d}
1
+ import{t,p as e,H as r,h as a}from"./p-CySg37XO.js";import{c as o}from"./p-CBWjHURv.js";import{T as i}from"./p-Au2WuEGF.js";import{c}from"./p-xs4N_Y-0.js";import{a as n}from"./p-C5CTp9IA.js";import{d as s}from"./p-DwJAKJDy.js";const d=o(["flex items-center justify-center","rounded-xl","cursor-pointer text-sm"],{variants:{variant:{default:"h-6 gap-2",block:"flex-col p-2 text-center"},active:{false:["cursor-pointer","\n text-storm-300\n hover:bg-storm-50 hover:text-storm-500\n ","dark:hover:bg-white/15 dark:hover:text-white"],true:"bg-indigo-600 text-white"},iconOnly:{false:"px-2",true:"w-6"}},compoundVariants:[{variant:"default",active:!1,class:"\n text-storm-500\n dark:text-hurricane-200\n "},{variant:"block",active:!1,class:"\n text-storm-500\n dark:text-white\n "}]}),h=e(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}variant="default";active=!1;iconOnly=!1;icon;iconFlip;iconRotate;render(){const t="block"===this.variant?a("slot",{name:"description"}):null;return a(i,{key:"fb365ffba7e5d105956b9ffbfa4b3effdeec27b2"},a("div",{key:"54736bcb97a642dc66a9c94451e0b3b6bb18d0d3",class:d({variant:this.variant,active:n(this.active),iconOnly:n(this.iconOnly)})},this.icon&&a("p-icon",{key:"5eca3c0638d613f947e320a0ee89867c6fb468ae",class:c("mb-1",{"text-storm-300 dark:text-hurricane-200":!n(this.active),"text-indigo-200":n(this.active)}),flip:this.iconFlip,rotate:this.iconRotate,variant:this.icon}),"default"===this.variant?a("slot",null):a("div",{class:"flex flex-col items-center"},a("p",{class:c("\n my-0 font-medium\n empty:hidden\n ",{})},a("slot",{name:"title"})),t&&a("p",{class:c("my-0 text-xs font-medium",{"text-storm-300 dark:text-hurricane-200":!n(this.active),"text-indigo-200":n(this.active)})},t))))}static get style(){return"*{box-sizing:border-box}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mb-1{margin-bottom:.25rem}.block{display:block}.flex{display:flex}.h-6{height:1.5rem}.w-6{width:1.5rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.rounded-xl{border-radius:.75rem}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.p-2{padding:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.text-hurricane-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-indigo-200{--tw-text-opacity:1;color:rgb(199 217 253/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.empty\\:hidden:empty{display:none}.hover\\:bg-storm-50:hover{--tw-bg-opacity:1;background-color:rgb(232 232 234/var(--tw-bg-opacity,1))}.hover\\:text-storm-500:hover{--tw-text-opacity:1;color:rgb(24 30 41/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-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\\:hover\\:bg-white\\/15:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:text-white:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/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))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:bg-white\\/15:hover:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:text-white:hover:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}"}},[769,"p-segment-item",{variant:[1],active:[4],iconOnly:[4,"icon-only"],icon:[1],iconFlip:[1,"icon-flip"],iconRotate:[2,"icon-rotate"]}]);function m(){"undefined"!=typeof customElements&&["p-segment-item","p-icon"].forEach((e=>{switch(e){case"p-segment-item":customElements.get(t(e))||customElements.define(t(e),h);break;case"p-icon":customElements.get(t(e))||s()}}))}m();export{h as S,m as d}
@@ -1 +1 @@
1
- import{t,p as e,H as o,h as r}from"./p-CySg37XO.js";import{c as a}from"./p-CBWjHURv.js";import{T as i}from"./p-Au2WuEGF.js";import{a as s}from"./p-C5CTp9IA.js";import{d as n}from"./p-Bxk-f0zV.js";import{d as c}from"./p-D8faiybE.js";const d=a(["group","flex h-8 items-center gap-2 px-2","text-sm","rounded-lg"],{variants:{hover:{false:null,true:null},disabled:{false:null,true:"cursor-not-allowed opacity-60"}},compoundVariants:[{disabled:!0,class:"cursor-not-allowed text-storm-50"},{disabled:!1,class:"text-storm-100"},{disabled:!1,hover:!0,class:["\n cursor-pointer\n hover:bg-storm-800\n active:bg-storm-700 active:text-storm-100/60\n ","\n dark:hover:bg-hurricane-500\n dark:active:bg-hurricane-600/50\n "]}]}),l=a([],{variants:{hover:{false:null,true:null},disabled:{false:null,true:null}},compoundVariants:[{disabled:!1,hover:!0,class:"\n group-hover:text-storm-100\n group-active:text-storm-100/60\n "}]}),p=e(class extends o{constructor(t){super(),!1!==t&&this.__registerHost()}hover=!0;disabled=!1;loading=!1;icon;iconPosition="end";iconFlip;iconRotate;render(){return r(i,{key:"9ea48ae1034fdfac03dda8cc37f418b70e84d110",class:d({hover:s(this.hover)&&!s(this.loading),disabled:s(this.disabled)})},this._getIcon(),r("p",{key:"d95a7f2ccf5e11fb5048bf9ae651e341a62a75ec",class:"\n min-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold\n empty:hidden\n "},r("slot",{key:"0af451107a9e94f6b63aa90d0683e4b50b43ba40"})))}_getIcon(){if(this.icon||this.loading)return this.loading?r("p-loader",{color:"white"}):r("p-icon",{class:l({hover:s(this.hover),disabled:s(this.disabled)}),flip:this.iconFlip,rotate:this.iconRotate,variant:this.icon})}static get style(){return"*{box-sizing:border-box}.static{position:static}.flex{display:flex}.h-8{height:2rem}.min-w-0{min-width:0}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.text-nowrap{text-wrap:nowrap}.rounded-lg{border-radius:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-semibold{font-weight:600}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-storm-50{--tw-text-opacity:1;color:rgb(232 232 234/var(--tw-text-opacity,1))}.opacity-60{opacity:.6}.empty\\:hidden:empty{display:none}.hover\\:bg-storm-800:hover{--tw-bg-opacity:1;background-color:rgb(2 8 21/var(--tw-bg-opacity,1))}.active\\:bg-storm-700:active{--tw-bg-opacity:1;background-color:rgb(8 15 28/var(--tw-bg-opacity,1))}.active\\:text-storm-100\\/60:active{color:hsla(220,3%,83%,.6)}.group:hover .group-hover\\:text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.group:active .group-active\\:text-storm-100\\/60{color:hsla(220,3%,83%,.6)}.dark\\:hover\\:bg-hurricane-500:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:active\\:bg-hurricane-600\\/50:active:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(46,52,62,.5)}.dark\\:hover\\:bg-hurricane-500:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:active\\:bg-hurricane-600\\/50:active:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(46,52,62,.5)}"}},[772,"p-floating-menu-item",{hover:[4],disabled:[4],loading:[4],icon:[1],iconPosition:[1,"icon-position"],iconFlip:[1,"icon-flip"],iconRotate:[2,"icon-rotate"]}]);function h(){"undefined"!=typeof customElements&&["p-floating-menu-item","p-icon","p-loader"].forEach((e=>{switch(e){case"p-floating-menu-item":customElements.get(t(e))||customElements.define(t(e),p);break;case"p-icon":customElements.get(t(e))||n();break;case"p-loader":customElements.get(t(e))||c()}}))}h();export{p as F,h as d}
1
+ import{t,p as e,H as o,h as r}from"./p-CySg37XO.js";import{c as a}from"./p-CBWjHURv.js";import{T as i}from"./p-Au2WuEGF.js";import{a as s}from"./p-C5CTp9IA.js";import{d as n}from"./p-DwJAKJDy.js";import{d as c}from"./p-D8faiybE.js";const d=a(["group","flex h-8 items-center gap-2 px-2","text-sm","rounded-lg"],{variants:{hover:{false:null,true:null},disabled:{false:null,true:"cursor-not-allowed opacity-60"}},compoundVariants:[{disabled:!0,class:"cursor-not-allowed text-storm-50"},{disabled:!1,class:"text-storm-100"},{disabled:!1,hover:!0,class:["\n cursor-pointer\n hover:bg-storm-800\n active:bg-storm-700 active:text-storm-100/60\n ","\n dark:hover:bg-hurricane-500\n dark:active:bg-hurricane-600/50\n "]}]}),l=a([],{variants:{hover:{false:null,true:null},disabled:{false:null,true:null}},compoundVariants:[{disabled:!1,hover:!0,class:"\n group-hover:text-storm-100\n group-active:text-storm-100/60\n "}]}),p=e(class extends o{constructor(t){super(),!1!==t&&this.__registerHost()}hover=!0;disabled=!1;loading=!1;icon;iconPosition="end";iconFlip;iconRotate;render(){return r(i,{key:"9ea48ae1034fdfac03dda8cc37f418b70e84d110",class:d({hover:s(this.hover)&&!s(this.loading),disabled:s(this.disabled)})},this._getIcon(),r("p",{key:"d95a7f2ccf5e11fb5048bf9ae651e341a62a75ec",class:"\n min-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold\n empty:hidden\n "},r("slot",{key:"0af451107a9e94f6b63aa90d0683e4b50b43ba40"})))}_getIcon(){if(this.icon||this.loading)return this.loading?r("p-loader",{color:"white"}):r("p-icon",{class:l({hover:s(this.hover),disabled:s(this.disabled)}),flip:this.iconFlip,rotate:this.iconRotate,variant:this.icon})}static get style(){return"*{box-sizing:border-box}.static{position:static}.flex{display:flex}.h-8{height:2rem}.min-w-0{min-width:0}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.text-nowrap{text-wrap:nowrap}.rounded-lg{border-radius:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-semibold{font-weight:600}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-storm-50{--tw-text-opacity:1;color:rgb(232 232 234/var(--tw-text-opacity,1))}.opacity-60{opacity:.6}.empty\\:hidden:empty{display:none}.hover\\:bg-storm-800:hover{--tw-bg-opacity:1;background-color:rgb(2 8 21/var(--tw-bg-opacity,1))}.active\\:bg-storm-700:active{--tw-bg-opacity:1;background-color:rgb(8 15 28/var(--tw-bg-opacity,1))}.active\\:text-storm-100\\/60:active{color:hsla(220,3%,83%,.6)}.group:hover .group-hover\\:text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.group:active .group-active\\:text-storm-100\\/60{color:hsla(220,3%,83%,.6)}.dark\\:hover\\:bg-hurricane-500:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:active\\:bg-hurricane-600\\/50:active:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(46,52,62,.5)}.dark\\:hover\\:bg-hurricane-500:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:active\\:bg-hurricane-600\\/50:active:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(46,52,62,.5)}"}},[772,"p-floating-menu-item",{hover:[4],disabled:[4],loading:[4],icon:[1],iconPosition:[1,"icon-position"],iconFlip:[1,"icon-flip"],iconRotate:[2,"icon-rotate"]}]);function h(){"undefined"!=typeof customElements&&["p-floating-menu-item","p-icon","p-loader"].forEach((e=>{switch(e){case"p-floating-menu-item":customElements.get(t(e))||customElements.define(t(e),p);break;case"p-icon":customElements.get(t(e))||n();break;case"p-loader":customElements.get(t(e))||c()}}))}h();export{p as F,h as d}