pdm-ui-kit 0.4.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) hide show
  1. package/accordion/accordion.module.d.ts +8 -0
  2. package/accordion/index.d.ts +2 -0
  3. package/accordion/index.mjs +2 -0
  4. package/alert/alert.module.d.ts +9 -0
  5. package/alert/index.d.ts +3 -0
  6. package/alert/index.mjs +3 -0
  7. package/aspect-ratio/aspect-ratio.module.d.ts +8 -0
  8. package/aspect-ratio/index.d.ts +2 -0
  9. package/aspect-ratio/index.mjs +2 -0
  10. package/avatar/avatar.module.d.ts +8 -0
  11. package/avatar/index.d.ts +2 -0
  12. package/avatar/index.mjs +2 -0
  13. package/badge/badge.module.d.ts +8 -0
  14. package/badge/index.d.ts +2 -0
  15. package/badge/index.mjs +2 -0
  16. package/breadcrumb/breadcrumb.module.d.ts +8 -0
  17. package/breadcrumb/index.d.ts +2 -0
  18. package/breadcrumb/index.mjs +2 -0
  19. package/button/button.module.d.ts +9 -0
  20. package/button/index.d.ts +3 -0
  21. package/button/index.mjs +3 -0
  22. package/calendar/calendar.module.d.ts +11 -0
  23. package/{lib/components/date-picker → calendar}/date-picker.component.d.ts +1 -1
  24. package/calendar/index.d.ts +3 -0
  25. package/calendar/index.mjs +3 -0
  26. package/card/card.module.d.ts +8 -0
  27. package/card/index.d.ts +2 -0
  28. package/card/index.mjs +2 -0
  29. package/carousel/carousel.module.d.ts +8 -0
  30. package/carousel/index.d.ts +2 -0
  31. package/carousel/index.mjs +2 -0
  32. package/chart/chart.module.d.ts +8 -0
  33. package/chart/index.d.ts +2 -0
  34. package/chart/index.mjs +2 -0
  35. package/checkbox/checkbox.module.d.ts +8 -0
  36. package/checkbox/index.d.ts +2 -0
  37. package/checkbox/index.mjs +2 -0
  38. package/collapsible/collapsible.module.d.ts +8 -0
  39. package/collapsible/index.d.ts +2 -0
  40. package/collapsible/index.mjs +2 -0
  41. package/combobox/combobox.module.d.ts +9 -0
  42. package/combobox/index.d.ts +2 -0
  43. package/combobox/index.mjs +2 -0
  44. package/command/command.module.d.ts +9 -0
  45. package/command/index.d.ts +2 -0
  46. package/command/index.mjs +2 -0
  47. package/context-menu/context-menu.module.d.ts +9 -0
  48. package/context-menu/index.d.ts +2 -0
  49. package/context-menu/index.mjs +2 -0
  50. package/{lib/components/data-table → data-table}/data-table.component.d.ts +1 -1
  51. package/data-table/data-table.module.d.ts +10 -0
  52. package/{lib/components/draggable-table → data-table}/draggable-table.component.d.ts +2 -2
  53. package/data-table/index.d.ts +4 -0
  54. package/data-table/index.mjs +4 -0
  55. package/{lib/components/table → data-table}/table.component.d.ts +1 -1
  56. package/dialog/dialog.module.d.ts +8 -0
  57. package/dialog/index.d.ts +2 -0
  58. package/dialog/index.mjs +2 -0
  59. package/drawer/drawer.module.d.ts +10 -0
  60. package/drawer/index.d.ts +3 -0
  61. package/drawer/index.mjs +3 -0
  62. package/{lib/components/dropdown-menu → dropdown-menu}/dropdown-menu.component.d.ts +1 -1
  63. package/dropdown-menu/dropdown-menu.module.d.ts +9 -0
  64. package/dropdown-menu/index.d.ts +2 -0
  65. package/dropdown-menu/index.mjs +2 -0
  66. package/empty/empty.module.d.ts +10 -0
  67. package/empty/index.d.ts +2 -0
  68. package/empty/index.mjs +2 -0
  69. package/esm2020/{lib/components/accordion → accordion}/accordion.component.mjs +1 -1
  70. package/esm2020/accordion/accordion.module.mjs +21 -0
  71. package/esm2020/{lib/components/alert-dialog → alert}/alert-dialog.component.mjs +1 -1
  72. package/esm2020/{lib/components/alert → alert}/alert.component.mjs +1 -1
  73. package/esm2020/alert/alert.module.mjs +25 -0
  74. package/esm2020/{lib/components/aspect-ratio → aspect-ratio}/aspect-ratio.component.mjs +1 -1
  75. package/esm2020/aspect-ratio/aspect-ratio.module.mjs +21 -0
  76. package/esm2020/{lib/components/avatar → avatar}/avatar.component.mjs +1 -1
  77. package/esm2020/avatar/avatar.module.mjs +21 -0
  78. package/esm2020/{lib/components/badge → badge}/badge.component.mjs +1 -1
  79. package/esm2020/badge/badge.module.mjs +21 -0
  80. package/esm2020/{lib/components/breadcrumb → breadcrumb}/breadcrumb.component.mjs +1 -1
  81. package/esm2020/breadcrumb/breadcrumb.module.mjs +21 -0
  82. package/esm2020/button/button-group.component.mjs +236 -0
  83. package/esm2020/button/button.component.mjs +114 -0
  84. package/esm2020/button/button.module.mjs +25 -0
  85. package/esm2020/calendar/calendar.component.mjs +529 -0
  86. package/esm2020/calendar/calendar.module.mjs +22 -0
  87. package/esm2020/{lib/components/date-picker → calendar}/date-picker.component.mjs +6 -6
  88. package/esm2020/{lib/components/card → card}/card.component.mjs +1 -1
  89. package/esm2020/card/card.module.mjs +21 -0
  90. package/esm2020/carousel/carousel.component.mjs +102 -0
  91. package/esm2020/carousel/carousel.module.mjs +21 -0
  92. package/esm2020/{lib/components/chart → chart}/chart.component.mjs +1 -1
  93. package/esm2020/chart/chart.module.mjs +21 -0
  94. package/esm2020/{lib/components/checkbox → checkbox}/checkbox.component.mjs +1 -1
  95. package/esm2020/checkbox/checkbox.module.mjs +21 -0
  96. package/esm2020/{lib/components/collapsible → collapsible}/collapsible.component.mjs +1 -1
  97. package/esm2020/collapsible/collapsible.module.mjs +21 -0
  98. package/esm2020/combobox/combobox.component.mjs +173 -0
  99. package/esm2020/combobox/combobox.module.mjs +22 -0
  100. package/esm2020/command/command.component.mjs +75 -0
  101. package/esm2020/command/command.module.mjs +20 -0
  102. package/esm2020/context-menu/context-menu.component.mjs +165 -0
  103. package/esm2020/context-menu/context-menu.module.mjs +22 -0
  104. package/esm2020/data-table/data-table.component.mjs +299 -0
  105. package/esm2020/data-table/data-table.module.mjs +29 -0
  106. package/esm2020/data-table/draggable-table.component.mjs +300 -0
  107. package/esm2020/data-table/table.component.mjs +182 -0
  108. package/esm2020/{lib/components/dialog → dialog}/dialog.component.mjs +3 -3
  109. package/esm2020/dialog/dialog.module.mjs +21 -0
  110. package/esm2020/{lib/components/drawer → drawer}/drawer.component.mjs +2 -2
  111. package/esm2020/drawer/drawer.module.mjs +21 -0
  112. package/esm2020/drawer/sheet.component.mjs +116 -0
  113. package/esm2020/dropdown-menu/dropdown-menu.component.mjs +192 -0
  114. package/esm2020/dropdown-menu/dropdown-menu.module.mjs +22 -0
  115. package/esm2020/{lib/components/empty → empty}/empty.component.mjs +1 -1
  116. package/esm2020/empty/empty.module.mjs +21 -0
  117. package/esm2020/{lib/components/field → field}/field.component.mjs +1 -1
  118. package/esm2020/field/field.module.mjs +21 -0
  119. package/esm2020/hover-card/hover-card.component.mjs +205 -0
  120. package/esm2020/hover-card/hover-card.module.mjs +22 -0
  121. package/esm2020/icon/icon.component.mjs +144 -0
  122. package/esm2020/icon/icon.module.mjs +21 -0
  123. package/esm2020/{lib/components/input-group → input}/input-group.component.mjs +1 -1
  124. package/esm2020/input/input-otp.component.mjs +144 -0
  125. package/esm2020/{lib/components/input-password → input}/input-password.component.mjs +1 -1
  126. package/esm2020/{lib/components/input → input}/input.component.mjs +1 -1
  127. package/esm2020/input/input.module.mjs +38 -0
  128. package/esm2020/{lib/components/textarea → input}/textarea.component.mjs +1 -1
  129. package/esm2020/{lib/components/item → item}/item.component.mjs +1 -1
  130. package/esm2020/item/item.module.mjs +21 -0
  131. package/esm2020/{lib/components/kbd → kbd}/kbd.component.mjs +1 -1
  132. package/esm2020/kbd/kbd.module.mjs +21 -0
  133. package/esm2020/{lib/components/label → label}/label.component.mjs +1 -1
  134. package/esm2020/label/label.module.mjs +21 -0
  135. package/esm2020/menubar/menubar.component.mjs +144 -0
  136. package/esm2020/menubar/menubar.module.mjs +22 -0
  137. package/esm2020/{lib/components/native-select → native-select}/native-select.component.mjs +1 -1
  138. package/esm2020/native-select/native-select.module.mjs +20 -0
  139. package/esm2020/{lib/components/navigation-menu → navigation-menu}/navigation-menu.component.mjs +1 -1
  140. package/esm2020/navigation-menu/navigation-menu.module.mjs +21 -0
  141. package/esm2020/overlay/create-flexible-position-strategy.mjs +54 -0
  142. package/esm2020/overlay/pdm-outside-click.directive.mjs +86 -0
  143. package/esm2020/overlay/pdm-outside-click.module.mjs +18 -0
  144. package/esm2020/overlay/pdm-overlay-options.mjs +2 -0
  145. package/esm2020/overlay/z-index-helper.mjs +69 -0
  146. package/esm2020/{lib/components/pagination → pagination}/pagination.component.mjs +1 -1
  147. package/esm2020/pagination/pagination.module.mjs +21 -0
  148. package/esm2020/pdm-ui-kit.module.mjs +260 -0
  149. package/esm2020/popover/popover.component.mjs +162 -0
  150. package/esm2020/popover/popover.module.mjs +22 -0
  151. package/esm2020/{lib/components/progress → progress}/progress.component.mjs +1 -1
  152. package/esm2020/progress/progress.module.mjs +21 -0
  153. package/esm2020/public-api.mjs +117 -67
  154. package/esm2020/{lib/components/radio-group → radio-group}/radio-group.component.mjs +1 -1
  155. package/esm2020/radio-group/radio-group.module.mjs +21 -0
  156. package/esm2020/{lib/components/scroll-area → scroll-area}/scroll-area.component.mjs +1 -1
  157. package/esm2020/scroll-area/scroll-area.module.mjs +21 -0
  158. package/esm2020/select/select-option.directive.mjs +55 -0
  159. package/esm2020/select/select.component.mjs +164 -0
  160. package/esm2020/select/select.module.mjs +22 -0
  161. package/esm2020/{lib/components/separator → separator}/separator.component.mjs +1 -1
  162. package/esm2020/separator/separator.module.mjs +21 -0
  163. package/esm2020/{lib/components/sidebar → sidebar}/sidebar.component.mjs +1 -1
  164. package/esm2020/sidebar/sidebar.module.mjs +21 -0
  165. package/esm2020/{lib/components/skeleton → skeleton}/skeleton.component.mjs +1 -1
  166. package/esm2020/skeleton/skeleton.module.mjs +21 -0
  167. package/esm2020/{lib/components/slider → slider}/slider.component.mjs +1 -1
  168. package/esm2020/slider/slider.module.mjs +21 -0
  169. package/esm2020/{lib/components/sonner → sonner}/sonner.component.mjs +1 -1
  170. package/esm2020/sonner/sonner.module.mjs +20 -0
  171. package/esm2020/{lib/components/spinner → spinner}/spinner.component.mjs +1 -1
  172. package/esm2020/spinner/spinner.module.mjs +21 -0
  173. package/esm2020/switch/switch.component.mjs +58 -0
  174. package/esm2020/switch/switch.module.mjs +21 -0
  175. package/esm2020/{lib/components/tabs → tabs}/tabs.component.mjs +1 -1
  176. package/esm2020/tabs/tabs.module.mjs +21 -0
  177. package/esm2020/{lib/components/toggle-group → toggle}/toggle-group.component.mjs +1 -1
  178. package/esm2020/{lib/components/toggle → toggle}/toggle.component.mjs +1 -1
  179. package/esm2020/toggle/toggle.module.mjs +25 -0
  180. package/esm2020/tooltip/tooltip.component.mjs +176 -0
  181. package/esm2020/tooltip/tooltip.module.mjs +22 -0
  182. package/esm2020/utils/responsive.mjs +143 -0
  183. package/esm2020/utils/z-index.mjs +90 -0
  184. package/fesm2015/pdm-ui-kit.mjs +3333 -2493
  185. package/fesm2015/pdm-ui-kit.mjs.map +1 -1
  186. package/fesm2020/pdm-ui-kit.mjs +2669 -1829
  187. package/fesm2020/pdm-ui-kit.mjs.map +1 -1
  188. package/field/field.module.d.ts +8 -0
  189. package/field/index.d.ts +2 -0
  190. package/field/index.mjs +2 -0
  191. package/hover-card/hover-card.module.d.ts +9 -0
  192. package/hover-card/index.d.ts +2 -0
  193. package/hover-card/index.mjs +2 -0
  194. package/icon/icon.module.d.ts +8 -0
  195. package/icon/index.d.ts +2 -0
  196. package/icon/index.mjs +2 -0
  197. package/input/index.d.ts +6 -0
  198. package/input/index.mjs +6 -0
  199. package/input/input.module.d.ts +13 -0
  200. package/item/index.d.ts +2 -0
  201. package/item/index.mjs +2 -0
  202. package/item/item.module.d.ts +8 -0
  203. package/kbd/index.d.ts +2 -0
  204. package/kbd/index.mjs +2 -0
  205. package/kbd/kbd.module.d.ts +8 -0
  206. package/label/index.d.ts +2 -0
  207. package/label/index.mjs +2 -0
  208. package/label/label.module.d.ts +8 -0
  209. package/menubar/index.d.ts +2 -0
  210. package/menubar/index.mjs +2 -0
  211. package/menubar/menubar.module.d.ts +9 -0
  212. package/native-select/index.d.ts +2 -0
  213. package/native-select/index.mjs +2 -0
  214. package/native-select/native-select.module.d.ts +9 -0
  215. package/navigation-menu/index.d.ts +2 -0
  216. package/navigation-menu/index.mjs +2 -0
  217. package/navigation-menu/navigation-menu.module.d.ts +8 -0
  218. package/overlay/index.d.ts +8 -0
  219. package/overlay/index.mjs +8 -0
  220. package/overlay/pdm-outside-click.module.d.ts +8 -0
  221. package/package.json +198 -2
  222. package/pagination/index.d.ts +2 -0
  223. package/pagination/index.mjs +2 -0
  224. package/pagination/pagination.module.d.ts +10 -0
  225. package/pdm-ui-kit.module.d.ts +60 -0
  226. package/popover/index.d.ts +2 -0
  227. package/popover/index.mjs +2 -0
  228. package/popover/popover.module.d.ts +9 -0
  229. package/progress/index.d.ts +2 -0
  230. package/progress/index.mjs +2 -0
  231. package/progress/progress.module.d.ts +8 -0
  232. package/public-api.d.ts +114 -66
  233. package/radio-group/index.d.ts +2 -0
  234. package/radio-group/index.mjs +2 -0
  235. package/radio-group/radio-group.module.d.ts +8 -0
  236. package/scroll-area/index.d.ts +2 -0
  237. package/scroll-area/index.mjs +2 -0
  238. package/scroll-area/scroll-area.module.d.ts +8 -0
  239. package/select/index.d.ts +3 -0
  240. package/select/index.mjs +3 -0
  241. package/{lib/components/select → select}/select.component.d.ts +1 -1
  242. package/select/select.module.d.ts +11 -0
  243. package/separator/index.d.ts +2 -0
  244. package/separator/index.mjs +2 -0
  245. package/separator/separator.module.d.ts +8 -0
  246. package/sidebar/index.d.ts +2 -0
  247. package/sidebar/index.mjs +2 -0
  248. package/sidebar/sidebar.module.d.ts +8 -0
  249. package/skeleton/index.d.ts +2 -0
  250. package/skeleton/index.mjs +2 -0
  251. package/skeleton/skeleton.module.d.ts +8 -0
  252. package/slider/index.d.ts +2 -0
  253. package/slider/index.mjs +2 -0
  254. package/slider/slider.module.d.ts +8 -0
  255. package/sonner/index.d.ts +2 -0
  256. package/sonner/index.mjs +2 -0
  257. package/sonner/sonner.module.d.ts +9 -0
  258. package/spinner/index.d.ts +2 -0
  259. package/spinner/index.mjs +2 -0
  260. package/spinner/spinner.module.d.ts +8 -0
  261. package/switch/index.d.ts +2 -0
  262. package/switch/index.mjs +2 -0
  263. package/switch/switch.module.d.ts +8 -0
  264. package/tabs/index.d.ts +2 -0
  265. package/tabs/index.mjs +2 -0
  266. package/tabs/tabs.module.d.ts +8 -0
  267. package/toggle/index.d.ts +3 -0
  268. package/toggle/index.mjs +3 -0
  269. package/toggle/toggle.module.d.ts +9 -0
  270. package/tooltip/index.d.ts +2 -0
  271. package/tooltip/index.mjs +2 -0
  272. package/tooltip/tooltip.module.d.ts +9 -0
  273. package/utils/index.d.ts +3 -0
  274. package/utils/index.mjs +3 -0
  275. package/esm2020/lib/components/button/button.component.mjs +0 -114
  276. package/esm2020/lib/components/button-group/button-group.component.mjs +0 -236
  277. package/esm2020/lib/components/calendar/calendar.component.mjs +0 -529
  278. package/esm2020/lib/components/carousel/carousel.component.mjs +0 -102
  279. package/esm2020/lib/components/combobox/combobox.component.mjs +0 -173
  280. package/esm2020/lib/components/command/command.component.mjs +0 -75
  281. package/esm2020/lib/components/context-menu/context-menu.component.mjs +0 -165
  282. package/esm2020/lib/components/data-table/data-table.component.mjs +0 -299
  283. package/esm2020/lib/components/draggable-table/draggable-table.component.mjs +0 -300
  284. package/esm2020/lib/components/dropdown-menu/dropdown-menu.component.mjs +0 -192
  285. package/esm2020/lib/components/hover-card/hover-card.component.mjs +0 -205
  286. package/esm2020/lib/components/icon/icon.component.mjs +0 -144
  287. package/esm2020/lib/components/input-otp/input-otp.component.mjs +0 -144
  288. package/esm2020/lib/components/menubar/menubar.component.mjs +0 -144
  289. package/esm2020/lib/components/popover/popover.component.mjs +0 -162
  290. package/esm2020/lib/components/select/select-option.directive.mjs +0 -55
  291. package/esm2020/lib/components/select/select.component.mjs +0 -164
  292. package/esm2020/lib/components/sheet/sheet.component.mjs +0 -116
  293. package/esm2020/lib/components/switch/switch.component.mjs +0 -58
  294. package/esm2020/lib/components/table/table.component.mjs +0 -182
  295. package/esm2020/lib/components/tooltip/tooltip.component.mjs +0 -176
  296. package/esm2020/lib/overlay/create-flexible-position-strategy.mjs +0 -54
  297. package/esm2020/lib/overlay/pdm-outside-click.directive.mjs +0 -86
  298. package/esm2020/lib/overlay/pdm-overlay-options.mjs +0 -2
  299. package/esm2020/lib/overlay/z-index-helper.mjs +0 -69
  300. package/esm2020/lib/pdm-ui-kit.module.mjs +0 -258
  301. package/esm2020/lib/utils/responsive.mjs +0 -143
  302. package/esm2020/lib/utils/z-index.mjs +0 -90
  303. package/lib/pdm-ui-kit.module.d.ts +0 -68
  304. /package/{lib/components/accordion → accordion}/accordion.component.d.ts +0 -0
  305. /package/{lib/components/alert-dialog → alert}/alert-dialog.component.d.ts +0 -0
  306. /package/{lib/components/alert → alert}/alert.component.d.ts +0 -0
  307. /package/{lib/components/aspect-ratio → aspect-ratio}/aspect-ratio.component.d.ts +0 -0
  308. /package/{lib/components/avatar → avatar}/avatar.component.d.ts +0 -0
  309. /package/{lib/components/badge → badge}/badge.component.d.ts +0 -0
  310. /package/{lib/components/breadcrumb → breadcrumb}/breadcrumb.component.d.ts +0 -0
  311. /package/{lib/components/button-group → button}/button-group.component.d.ts +0 -0
  312. /package/{lib/components/button → button}/button.component.d.ts +0 -0
  313. /package/{lib/components/calendar → calendar}/calendar.component.d.ts +0 -0
  314. /package/{lib/components/card → card}/card.component.d.ts +0 -0
  315. /package/{lib/components/carousel → carousel}/carousel.component.d.ts +0 -0
  316. /package/{lib/components/chart → chart}/chart.component.d.ts +0 -0
  317. /package/{lib/components/checkbox → checkbox}/checkbox.component.d.ts +0 -0
  318. /package/{lib/components/collapsible → collapsible}/collapsible.component.d.ts +0 -0
  319. /package/{lib/components/combobox → combobox}/combobox.component.d.ts +0 -0
  320. /package/{lib/components/command → command}/command.component.d.ts +0 -0
  321. /package/{lib/components/context-menu → context-menu}/context-menu.component.d.ts +0 -0
  322. /package/{lib/components/dialog → dialog}/dialog.component.d.ts +0 -0
  323. /package/{lib/components/drawer → drawer}/drawer.component.d.ts +0 -0
  324. /package/{lib/components/sheet → drawer}/sheet.component.d.ts +0 -0
  325. /package/{lib/components/empty → empty}/empty.component.d.ts +0 -0
  326. /package/{lib/components/field → field}/field.component.d.ts +0 -0
  327. /package/{lib/components/hover-card → hover-card}/hover-card.component.d.ts +0 -0
  328. /package/{lib/components/icon → icon}/icon.component.d.ts +0 -0
  329. /package/{lib/components/input-group → input}/input-group.component.d.ts +0 -0
  330. /package/{lib/components/input-otp → input}/input-otp.component.d.ts +0 -0
  331. /package/{lib/components/input-password → input}/input-password.component.d.ts +0 -0
  332. /package/{lib/components/input → input}/input.component.d.ts +0 -0
  333. /package/{lib/components/textarea → input}/textarea.component.d.ts +0 -0
  334. /package/{lib/components/item → item}/item.component.d.ts +0 -0
  335. /package/{lib/components/kbd → kbd}/kbd.component.d.ts +0 -0
  336. /package/{lib/components/label → label}/label.component.d.ts +0 -0
  337. /package/{lib/components/menubar → menubar}/menubar.component.d.ts +0 -0
  338. /package/{lib/components/native-select → native-select}/native-select.component.d.ts +0 -0
  339. /package/{lib/components/navigation-menu → navigation-menu}/navigation-menu.component.d.ts +0 -0
  340. /package/{lib/overlay → overlay}/create-flexible-position-strategy.d.ts +0 -0
  341. /package/{lib/overlay → overlay}/pdm-outside-click.directive.d.ts +0 -0
  342. /package/{lib/overlay → overlay}/pdm-overlay-options.d.ts +0 -0
  343. /package/{lib/overlay → overlay}/z-index-helper.d.ts +0 -0
  344. /package/{lib/components/pagination → pagination}/pagination.component.d.ts +0 -0
  345. /package/{lib/components/popover → popover}/popover.component.d.ts +0 -0
  346. /package/{lib/components/progress → progress}/progress.component.d.ts +0 -0
  347. /package/{lib/components/radio-group → radio-group}/radio-group.component.d.ts +0 -0
  348. /package/{lib/components/scroll-area → scroll-area}/scroll-area.component.d.ts +0 -0
  349. /package/{lib/components/select → select}/select-option.directive.d.ts +0 -0
  350. /package/{lib/components/separator → separator}/separator.component.d.ts +0 -0
  351. /package/{lib/components/sidebar → sidebar}/sidebar.component.d.ts +0 -0
  352. /package/{lib/components/skeleton → skeleton}/skeleton.component.d.ts +0 -0
  353. /package/{lib/components/slider → slider}/slider.component.d.ts +0 -0
  354. /package/{lib/components/sonner → sonner}/sonner.component.d.ts +0 -0
  355. /package/{lib/components/spinner → spinner}/spinner.component.d.ts +0 -0
  356. /package/src/{lib/styles → styles}/tokens.css +0 -0
  357. /package/{lib/components/switch → switch}/switch.component.d.ts +0 -0
  358. /package/{lib/components/tabs → tabs}/tabs.component.d.ts +0 -0
  359. /package/{lib/components/toggle-group → toggle}/toggle-group.component.d.ts +0 -0
  360. /package/{lib/components/toggle → toggle}/toggle.component.d.ts +0 -0
  361. /package/{lib/components/tooltip → tooltip}/tooltip.component.d.ts +0 -0
  362. /package/{lib/utils → utils}/responsive.d.ts +0 -0
  363. /package/{lib/utils → utils}/z-index.d.ts +0 -0
package/public-api.d.ts CHANGED
@@ -1,66 +1,114 @@
1
- export * from "./lib/pdm-ui-kit.module";
2
- export * from "./lib/overlay/pdm-overlay-options";
3
- export * from "./lib/overlay/create-flexible-position-strategy";
4
- export * from "./lib/overlay/pdm-outside-click.directive";
5
- export * from "./lib/overlay/z-index-helper";
6
- export * from "./lib/utils/responsive";
7
- export * from "./lib/utils/z-index";
8
- export * from "./lib/components/accordion/accordion.component";
9
- export * from "./lib/components/alert/alert.component";
10
- export * from "./lib/components/alert-dialog/alert-dialog.component";
11
- export * from "./lib/components/aspect-ratio/aspect-ratio.component";
12
- export * from "./lib/components/avatar/avatar.component";
13
- export * from "./lib/components/badge/badge.component";
14
- export * from "./lib/components/breadcrumb/breadcrumb.component";
15
- export * from "./lib/components/button-group/button-group.component";
16
- export * from "./lib/components/button/button.component";
17
- export * from "./lib/components/calendar/calendar.component";
18
- export * from "./lib/components/carousel/carousel.component";
19
- export * from "./lib/components/card/card.component";
20
- export * from "./lib/components/chart/chart.component";
21
- export * from "./lib/components/checkbox/checkbox.component";
22
- export * from "./lib/components/collapsible/collapsible.component";
23
- export * from "./lib/components/combobox/combobox.component";
24
- export * from "./lib/components/command/command.component";
25
- export * from "./lib/components/context-menu/context-menu.component";
26
- export * from "./lib/components/data-table/data-table.component";
27
- export * from "./lib/components/date-picker/date-picker.component";
28
- export * from "./lib/components/dialog/dialog.component";
29
- export * from "./lib/components/draggable-table/draggable-table.component";
30
- export * from "./lib/components/dropdown-menu/dropdown-menu.component";
31
- export * from "./lib/components/drawer/drawer.component";
32
- export * from "./lib/components/empty/empty.component";
33
- export * from "./lib/components/field/field.component";
34
- export * from "./lib/components/hover-card/hover-card.component";
35
- export * from "./lib/components/icon/icon.component";
36
- export * from "./lib/components/item/item.component";
37
- export * from "./lib/components/input/input.component";
38
- export * from "./lib/components/input-password/input-password.component";
39
- export * from "./lib/components/input-group/input-group.component";
40
- export * from "./lib/components/input-otp/input-otp.component";
41
- export * from "./lib/components/kbd/kbd.component";
42
- export * from "./lib/components/label/label.component";
43
- export * from "./lib/components/menubar/menubar.component";
44
- export * from "./lib/components/native-select/native-select.component";
45
- export * from "./lib/components/navigation-menu/navigation-menu.component";
46
- export * from "./lib/components/pagination/pagination.component";
47
- export * from "./lib/components/popover/popover.component";
48
- export * from "./lib/components/progress/progress.component";
49
- export * from "./lib/components/radio-group/radio-group.component";
50
- export * from "./lib/components/scroll-area/scroll-area.component";
51
- export * from "./lib/components/select/select.component";
52
- export * from "./lib/components/select/select-option.directive";
53
- export * from "./lib/components/separator/separator.component";
54
- export * from "./lib/components/sheet/sheet.component";
55
- export * from "./lib/components/sidebar/sidebar.component";
56
- export * from "./lib/components/skeleton/skeleton.component";
57
- export * from "./lib/components/slider/slider.component";
58
- export * from "./lib/components/sonner/sonner.component";
59
- export * from "./lib/components/spinner/spinner.component";
60
- export * from "./lib/components/switch/switch.component";
61
- export * from "./lib/components/table/table.component";
62
- export * from "./lib/components/tabs/tabs.component";
63
- export * from "./lib/components/textarea/textarea.component";
64
- export * from "./lib/components/toggle/toggle.component";
65
- export * from "./lib/components/toggle-group/toggle-group.component";
66
- export * from "./lib/components/tooltip/tooltip.component";
1
+ export * from "./pdm-ui-kit.module";
2
+ export * from "./overlay/pdm-overlay-options";
3
+ export * from "./overlay/create-flexible-position-strategy";
4
+ export * from "./overlay/pdm-outside-click.directive";
5
+ export * from "./overlay/pdm-outside-click.module";
6
+ export * from "./overlay/z-index-helper";
7
+ export * from "./utils/responsive";
8
+ export * from "./utils/z-index";
9
+ export * from "./accordion/accordion.module";
10
+ export * from "./alert/alert.module";
11
+ export * from "./aspect-ratio/aspect-ratio.module";
12
+ export * from "./avatar/avatar.module";
13
+ export * from "./badge/badge.module";
14
+ export * from "./breadcrumb/breadcrumb.module";
15
+ export * from "./button/button.module";
16
+ export * from "./calendar/calendar.module";
17
+ export * from "./card/card.module";
18
+ export * from "./carousel/carousel.module";
19
+ export * from "./chart/chart.module";
20
+ export * from "./checkbox/checkbox.module";
21
+ export * from "./collapsible/collapsible.module";
22
+ export * from "./combobox/combobox.module";
23
+ export * from "./command/command.module";
24
+ export * from "./context-menu/context-menu.module";
25
+ export * from "./data-table/data-table.module";
26
+ export * from "./dialog/dialog.module";
27
+ export * from "./drawer/drawer.module";
28
+ export * from "./dropdown-menu/dropdown-menu.module";
29
+ export * from "./empty/empty.module";
30
+ export * from "./field/field.module";
31
+ export * from "./hover-card/hover-card.module";
32
+ export * from "./icon/icon.module";
33
+ export * from "./input/input.module";
34
+ export * from "./item/item.module";
35
+ export * from "./kbd/kbd.module";
36
+ export * from "./label/label.module";
37
+ export * from "./menubar/menubar.module";
38
+ export * from "./native-select/native-select.module";
39
+ export * from "./navigation-menu/navigation-menu.module";
40
+ export * from "./pagination/pagination.module";
41
+ export * from "./popover/popover.module";
42
+ export * from "./progress/progress.module";
43
+ export * from "./radio-group/radio-group.module";
44
+ export * from "./scroll-area/scroll-area.module";
45
+ export * from "./select/select.module";
46
+ export * from "./separator/separator.module";
47
+ export * from "./sidebar/sidebar.module";
48
+ export * from "./skeleton/skeleton.module";
49
+ export * from "./slider/slider.module";
50
+ export * from "./sonner/sonner.module";
51
+ export * from "./spinner/spinner.module";
52
+ export * from "./switch/switch.module";
53
+ export * from "./tabs/tabs.module";
54
+ export * from "./toggle/toggle.module";
55
+ export * from "./tooltip/tooltip.module";
56
+ export * from "./accordion/accordion.component";
57
+ export * from "./alert/alert.component";
58
+ export * from "./alert/alert-dialog.component";
59
+ export * from "./aspect-ratio/aspect-ratio.component";
60
+ export * from "./avatar/avatar.component";
61
+ export * from "./badge/badge.component";
62
+ export * from "./breadcrumb/breadcrumb.component";
63
+ export * from "./button/button-group.component";
64
+ export * from "./button/button.component";
65
+ export * from "./calendar/calendar.component";
66
+ export * from "./carousel/carousel.component";
67
+ export * from "./card/card.component";
68
+ export * from "./chart/chart.component";
69
+ export * from "./checkbox/checkbox.component";
70
+ export * from "./collapsible/collapsible.component";
71
+ export * from "./combobox/combobox.component";
72
+ export * from "./command/command.component";
73
+ export * from "./context-menu/context-menu.component";
74
+ export * from "./data-table/data-table.component";
75
+ export * from "./calendar/date-picker.component";
76
+ export * from "./dialog/dialog.component";
77
+ export * from "./data-table/draggable-table.component";
78
+ export * from "./dropdown-menu/dropdown-menu.component";
79
+ export * from "./drawer/drawer.component";
80
+ export * from "./empty/empty.component";
81
+ export * from "./field/field.component";
82
+ export * from "./hover-card/hover-card.component";
83
+ export * from "./icon/icon.component";
84
+ export * from "./item/item.component";
85
+ export * from "./input/input.component";
86
+ export * from "./input/input-password.component";
87
+ export * from "./input/input-group.component";
88
+ export * from "./input/input-otp.component";
89
+ export * from "./kbd/kbd.component";
90
+ export * from "./label/label.component";
91
+ export * from "./menubar/menubar.component";
92
+ export * from "./native-select/native-select.component";
93
+ export * from "./navigation-menu/navigation-menu.component";
94
+ export * from "./pagination/pagination.component";
95
+ export * from "./popover/popover.component";
96
+ export * from "./progress/progress.component";
97
+ export * from "./radio-group/radio-group.component";
98
+ export * from "./scroll-area/scroll-area.component";
99
+ export * from "./select/select.component";
100
+ export * from "./select/select-option.directive";
101
+ export * from "./separator/separator.component";
102
+ export * from "./drawer/sheet.component";
103
+ export * from "./sidebar/sidebar.component";
104
+ export * from "./skeleton/skeleton.component";
105
+ export * from "./slider/slider.component";
106
+ export * from "./sonner/sonner.component";
107
+ export * from "./spinner/spinner.component";
108
+ export * from "./switch/switch.component";
109
+ export * from "./data-table/table.component";
110
+ export * from "./tabs/tabs.component";
111
+ export * from "./input/textarea.component";
112
+ export * from "./toggle/toggle.component";
113
+ export * from "./toggle/toggle-group.component";
114
+ export * from "./tooltip/tooltip.component";
@@ -0,0 +1,2 @@
1
+ export { PdmRadioGroupComponent }
2
+ export { PdmRadioGroupModule } from '../index.d.ts';
@@ -0,0 +1,2 @@
1
+ export { PdmRadioGroupComponent }
2
+ export { PdmRadioGroupModule } from '../fesm2020/pdm-ui-kit.mjs';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./radio-group.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class PdmRadioGroupModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdmRadioGroupModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PdmRadioGroupModule, [typeof i1.PdmRadioGroupComponent], [typeof i2.CommonModule], [typeof i1.PdmRadioGroupComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<PdmRadioGroupModule>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export { PdmScrollAreaComponent }
2
+ export { PdmScrollAreaModule } from '../index.d.ts';
@@ -0,0 +1,2 @@
1
+ export { PdmScrollAreaComponent }
2
+ export { PdmScrollAreaModule } from '../fesm2020/pdm-ui-kit.mjs';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./scroll-area.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class PdmScrollAreaModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdmScrollAreaModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PdmScrollAreaModule, [typeof i1.PdmScrollAreaComponent], [typeof i2.CommonModule], [typeof i1.PdmScrollAreaComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<PdmScrollAreaModule>;
8
+ }
@@ -0,0 +1,3 @@
1
+ export { PdmSelectComponent }
2
+ export { PdmSelectOptionDirective }
3
+ export { PdmSelectModule } from '../index.d.ts';
@@ -0,0 +1,3 @@
1
+ export { PdmSelectComponent }
2
+ export { PdmSelectOptionDirective }
3
+ export { PdmSelectModule } from '../fesm2020/pdm-ui-kit.mjs';
@@ -1,6 +1,6 @@
1
1
  import { AfterContentInit, ChangeDetectorRef, EventEmitter, OnDestroy, ViewContainerRef } from "@angular/core";
2
2
  import { Overlay } from "@angular/cdk/overlay";
3
- import { PdmOverlayOptions } from "../../overlay/pdm-overlay-options";
3
+ import { PdmOverlayOptions } from "../overlay/pdm-overlay-options";
4
4
  import * as i0 from "@angular/core";
5
5
  export interface PdmSelectOption {
6
6
  label: string;
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./select.component";
3
+ import * as i2 from "./select-option.directive";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/cdk/overlay";
6
+ import * as i5 from "../icon/icon.module";
7
+ export declare class PdmSelectModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdmSelectModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PdmSelectModule, [typeof i1.PdmSelectComponent, typeof i2.PdmSelectOptionDirective], [typeof i3.CommonModule, typeof i4.OverlayModule, typeof i5.PdmIconModule], [typeof i1.PdmSelectComponent, typeof i2.PdmSelectOptionDirective]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<PdmSelectModule>;
11
+ }
@@ -0,0 +1,2 @@
1
+ export { PdmSeparatorComponent }
2
+ export { PdmSeparatorModule } from '../index.d.ts';
@@ -0,0 +1,2 @@
1
+ export { PdmSeparatorComponent }
2
+ export { PdmSeparatorModule } from '../fesm2020/pdm-ui-kit.mjs';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./separator.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class PdmSeparatorModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdmSeparatorModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PdmSeparatorModule, [typeof i1.PdmSeparatorComponent], [typeof i2.CommonModule], [typeof i1.PdmSeparatorComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<PdmSeparatorModule>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export { PdmSidebarComponent }
2
+ export { PdmSidebarModule } from '../index.d.ts';
@@ -0,0 +1,2 @@
1
+ export { PdmSidebarComponent }
2
+ export { PdmSidebarModule } from '../fesm2020/pdm-ui-kit.mjs';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./sidebar.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class PdmSidebarModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdmSidebarModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PdmSidebarModule, [typeof i1.PdmSidebarComponent], [typeof i2.CommonModule], [typeof i1.PdmSidebarComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<PdmSidebarModule>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export { PdmSkeletonComponent }
2
+ export { PdmSkeletonModule } from '../index.d.ts';
@@ -0,0 +1,2 @@
1
+ export { PdmSkeletonComponent }
2
+ export { PdmSkeletonModule } from '../fesm2020/pdm-ui-kit.mjs';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./skeleton.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class PdmSkeletonModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdmSkeletonModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PdmSkeletonModule, [typeof i1.PdmSkeletonComponent], [typeof i2.CommonModule], [typeof i1.PdmSkeletonComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<PdmSkeletonModule>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export { PdmSliderComponent }
2
+ export { PdmSliderModule } from '../index.d.ts';
@@ -0,0 +1,2 @@
1
+ export { PdmSliderComponent }
2
+ export { PdmSliderModule } from '../fesm2020/pdm-ui-kit.mjs';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./slider.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class PdmSliderModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdmSliderModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PdmSliderModule, [typeof i1.PdmSliderComponent], [typeof i2.CommonModule], [typeof i1.PdmSliderComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<PdmSliderModule>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export { PdmSonnerComponent }
2
+ export { PdmSonnerModule } from '../index.d.ts';
@@ -0,0 +1,2 @@
1
+ export { PdmSonnerComponent }
2
+ export { PdmSonnerModule } from '../fesm2020/pdm-ui-kit.mjs';
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./sonner.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../icon/icon.module";
5
+ export declare class PdmSonnerModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdmSonnerModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PdmSonnerModule, [typeof i1.PdmSonnerComponent], [typeof i2.CommonModule, typeof i3.PdmIconModule], [typeof i1.PdmSonnerComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<PdmSonnerModule>;
9
+ }
@@ -0,0 +1,2 @@
1
+ export { PdmSpinnerComponent }
2
+ export { PdmSpinnerModule } from '../index.d.ts';
@@ -0,0 +1,2 @@
1
+ export { PdmSpinnerComponent }
2
+ export { PdmSpinnerModule } from '../fesm2020/pdm-ui-kit.mjs';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./spinner.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class PdmSpinnerModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdmSpinnerModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PdmSpinnerModule, [typeof i1.PdmSpinnerComponent], [typeof i2.CommonModule], [typeof i1.PdmSpinnerComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<PdmSpinnerModule>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export { PdmSwitchComponent }
2
+ export { PdmSwitchModule } from '../index.d.ts';
@@ -0,0 +1,2 @@
1
+ export { PdmSwitchComponent }
2
+ export { PdmSwitchModule } from '../fesm2020/pdm-ui-kit.mjs';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./switch.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class PdmSwitchModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdmSwitchModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PdmSwitchModule, [typeof i1.PdmSwitchComponent], [typeof i2.CommonModule], [typeof i1.PdmSwitchComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<PdmSwitchModule>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export { PdmTabsComponent }
2
+ export { PdmTabsModule } from '../index.d.ts';
package/tabs/index.mjs ADDED
@@ -0,0 +1,2 @@
1
+ export { PdmTabsComponent }
2
+ export { PdmTabsModule } from '../fesm2020/pdm-ui-kit.mjs';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./tabs.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class PdmTabsModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdmTabsModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PdmTabsModule, [typeof i1.PdmTabsComponent], [typeof i2.CommonModule], [typeof i1.PdmTabsComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<PdmTabsModule>;
8
+ }
@@ -0,0 +1,3 @@
1
+ export { PdmToggleComponent }
2
+ export { PdmToggleGroupComponent }
3
+ export { PdmToggleModule } from '../index.d.ts';
@@ -0,0 +1,3 @@
1
+ export { PdmToggleComponent }
2
+ export { PdmToggleGroupComponent }
3
+ export { PdmToggleModule } from '../fesm2020/pdm-ui-kit.mjs';
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./toggle.component";
3
+ import * as i2 from "./toggle-group.component";
4
+ import * as i3 from "@angular/common";
5
+ export declare class PdmToggleModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdmToggleModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PdmToggleModule, [typeof i1.PdmToggleComponent, typeof i2.PdmToggleGroupComponent], [typeof i3.CommonModule], [typeof i1.PdmToggleComponent, typeof i2.PdmToggleGroupComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<PdmToggleModule>;
9
+ }
@@ -0,0 +1,2 @@
1
+ export { PdmTooltipComponent }
2
+ export { PdmTooltipModule } from '../index.d.ts';
@@ -0,0 +1,2 @@
1
+ export { PdmTooltipComponent }
2
+ export { PdmTooltipModule } from '../fesm2020/pdm-ui-kit.mjs';
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./tooltip.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/cdk/overlay";
5
+ export declare class PdmTooltipModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<PdmTooltipModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PdmTooltipModule, [typeof i1.PdmTooltipComponent], [typeof i2.CommonModule, typeof i3.OverlayModule], [typeof i1.PdmTooltipComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<PdmTooltipModule>;
9
+ }
@@ -0,0 +1,3 @@
1
+ export { responsive }
2
+ export { TableResponsiveStrategy }
3
+ export { Z_INDEX } from '../index.d.ts';
@@ -0,0 +1,3 @@
1
+ export { responsive }
2
+ export { TableResponsiveStrategy }
3
+ export { Z_INDEX } from '../fesm2020/pdm-ui-kit.mjs';
@@ -1,114 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- export class PdmButtonComponent {
5
- constructor() {
6
- this.type = 'button';
7
- this.variant = 'default';
8
- this.state = 'default';
9
- this.size = 'default';
10
- this.disabled = false;
11
- this.loading = false;
12
- this.className = '';
13
- this.pressed = new EventEmitter();
14
- this.toneClassMap = {
15
- default: { default: 'border-primary bg-primary text-primary-foreground', hover: 'border-primary bg-primary text-primary-foreground opacity-90' },
16
- primary: { default: 'border-primary bg-primary text-primary-foreground', hover: 'border-primary bg-primary text-primary-foreground opacity-90' },
17
- destructive: { default: 'border-border bg-destructive text-destructive-foreground', hover: 'border-border bg-destructive text-destructive-foreground opacity-90' },
18
- outline: { default: 'border-border bg-background text-foreground', hover: 'border-border bg-muted text-foreground' },
19
- subtle: { default: 'border-secondary bg-secondary text-secondary-foreground', hover: 'border-accent bg-accent text-accent-foreground' },
20
- secondary: { default: 'border-secondary bg-secondary text-secondary-foreground', hover: 'border-accent bg-accent text-accent-foreground' },
21
- ghost: { default: 'border-border bg-transparent text-foreground', hover: 'border-border bg-accent text-accent-foreground' },
22
- link: { default: 'border-border bg-transparent text-primary', hover: 'border-border bg-transparent text-primary underline underline-offset-4' },
23
- 'with-icon': { default: 'border-primary bg-primary text-primary-foreground', hover: 'border-primary bg-primary text-primary-foreground opacity-90' },
24
- icon: { default: 'border-border bg-background text-foreground', hover: 'border-border bg-accent text-accent-foreground' },
25
- 'icon-circle': { default: 'border-border bg-background text-foreground', hover: 'border-border bg-accent text-accent-foreground' },
26
- rounded: { default: 'border-border bg-background text-foreground', hover: 'border-border bg-accent text-accent-foreground' },
27
- loading: { default: 'border-primary bg-primary text-primary-foreground opacity-70', hover: 'border-primary bg-primary text-primary-foreground opacity-70' }
28
- };
29
- }
30
- get isDisabled() {
31
- return this.disabled || this.loading || this.variant === 'loading';
32
- }
33
- get resolvedVariant() {
34
- return this.isValidVariant(this.variant) ? this.variant : 'default';
35
- }
36
- get resolvedState() {
37
- return this.state === 'hover' ? 'hover' : 'default';
38
- }
39
- get resolvedSize() {
40
- if (this.size === 'small' || this.size === 'large') {
41
- return this.size;
42
- }
43
- return 'default';
44
- }
45
- get showsIconSlot() {
46
- const variant = this.resolvedVariant;
47
- return variant === 'with-icon' || variant === 'icon' || variant === 'icon-circle' || variant === 'rounded';
48
- }
49
- get rootClasses() {
50
- const currentState = this.resolvedState;
51
- const variant = this.resolvedVariant;
52
- const toneClass = this.toneClassMap[variant][currentState];
53
- return [
54
- 'inline-flex appearance-none box-border items-center justify-center gap-2 rounded-md border border-solid text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-clip-padding',
55
- variant === 'link' ? 'px-4 py-2 h-9' : '',
56
- variant === 'icon' ? 'h-9 w-9 p-0' : '',
57
- variant === 'icon-circle' ? 'h-10 w-10 rounded-full p-0' : '',
58
- variant === 'rounded' ? 'h-9 w-9 rounded-full p-0' : '',
59
- variant !== 'icon' && variant !== 'icon-circle' && variant !== 'rounded'
60
- ? this.resolvedSize === 'small'
61
- ? 'h-8 px-3 text-xs'
62
- : this.resolvedSize === 'large'
63
- ? 'h-10 px-8'
64
- : 'h-9 px-4'
65
- : '',
66
- variant === 'link' && currentState === 'hover' ? 'underline underline-offset-4' : '',
67
- toneClass,
68
- this.className
69
- ];
70
- }
71
- onClick(event) {
72
- if (!this.isDisabled) {
73
- this.pressed.emit(event);
74
- }
75
- }
76
- isValidVariant(value) {
77
- return (value === 'default' ||
78
- value === 'primary' ||
79
- value === 'destructive' ||
80
- value === 'outline' ||
81
- value === 'subtle' ||
82
- value === 'secondary' ||
83
- value === 'ghost' ||
84
- value === 'link' ||
85
- value === 'with-icon' ||
86
- value === 'icon' ||
87
- value === 'icon-circle' ||
88
- value === 'rounded' ||
89
- value === 'loading');
90
- }
91
- }
92
- PdmButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
93
- PdmButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmButtonComponent, selector: "pdm-button", inputs: { type: "type", variant: "variant", state: "state", size: "size", disabled: "disabled", loading: "loading", className: "className" }, outputs: { pressed: "pressed" }, ngImport: i0, template: "<button\n [type]=\"type\"\n [disabled]=\"isDisabled\"\n [attr.aria-busy]=\"loading\"\n [ngClass]=\"rootClasses\"\n (click)=\"onClick($event)\"\n>\n <span\n *ngIf=\"loading\"\n class=\"inline-block h-4 w-4 animate-spin rounded-full border-2 border-current border-r-transparent\"\n aria-hidden=\"true\"\n ></span>\n <ng-content select=\"[pdmButtonIcon]\" *ngIf=\"showsIconSlot\"></ng-content>\n <ng-content></ng-content>\n</button>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
94
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmButtonComponent, decorators: [{
95
- type: Component,
96
- args: [{ selector: 'pdm-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n [type]=\"type\"\n [disabled]=\"isDisabled\"\n [attr.aria-busy]=\"loading\"\n [ngClass]=\"rootClasses\"\n (click)=\"onClick($event)\"\n>\n <span\n *ngIf=\"loading\"\n class=\"inline-block h-4 w-4 animate-spin rounded-full border-2 border-current border-r-transparent\"\n aria-hidden=\"true\"\n ></span>\n <ng-content select=\"[pdmButtonIcon]\" *ngIf=\"showsIconSlot\"></ng-content>\n <ng-content></ng-content>\n</button>\n" }]
97
- }], propDecorators: { type: [{
98
- type: Input
99
- }], variant: [{
100
- type: Input
101
- }], state: [{
102
- type: Input
103
- }], size: [{
104
- type: Input
105
- }], disabled: [{
106
- type: Input
107
- }], loading: [{
108
- type: Input
109
- }], className: [{
110
- type: Input
111
- }], pressed: [{
112
- type: Output
113
- }] } });
114
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9idXR0b24vYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9idXR0b24vYnV0dG9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQXdCaEcsTUFBTSxPQUFPLGtCQUFrQjtJQUwvQjtRQU1XLFNBQUksR0FBa0MsUUFBUSxDQUFDO1FBQy9DLFlBQU8sR0FBOEIsU0FBUyxDQUFDO1FBQy9DLFVBQUssR0FBNEIsU0FBUyxDQUFDO1FBQzNDLFNBQUksR0FBMkIsU0FBUyxDQUFDO1FBQ3pDLGFBQVEsR0FBRyxLQUFLLENBQUM7UUFDakIsWUFBTyxHQUFHLEtBQUssQ0FBQztRQUNoQixjQUFTLEdBQUcsRUF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