ngwr 3.0.0 → 4.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 (396) hide show
  1. package/README.md +8 -7
  2. package/alert/alert-type.d.ts +7 -0
  3. package/alert/alert.component.d.ts +21 -0
  4. package/alert/alert.module.d.ts +7 -0
  5. package/alert/index.d.ts +5 -0
  6. package/alert/public-api.d.ts +9 -0
  7. package/alert/styles/_index.scss +58 -0
  8. package/alert/styles/theming.scss +26 -0
  9. package/alert/styles/vars.scss +11 -0
  10. package/avatar/avatar.component.d.ts +27 -0
  11. package/avatar/avatar.module.d.ts +7 -0
  12. package/avatar/index.d.ts +5 -0
  13. package/avatar/public-api.d.ts +8 -0
  14. package/avatar/styles/_index.scss +39 -0
  15. package/button/button-group.component.d.ts +12 -0
  16. package/button/button.component.d.ts +26 -58
  17. package/button/button.module.d.ts +2 -1
  18. package/button/index.d.ts +5 -2
  19. package/button/public-api.d.ts +9 -0
  20. package/button/styles/_index.scss +187 -0
  21. package/button/styles/vars.scss +13 -0
  22. package/{core/abstract/base.d.ts → cdk/base.directive.d.ts} +7 -1
  23. package/cdk/index.d.ts +5 -0
  24. package/cdk/public-api.d.ts +7 -0
  25. package/cdk/rxjs/index.d.ts +5 -0
  26. package/cdk/rxjs/is-array.d.ts +8 -0
  27. package/cdk/rxjs/is-defined.d.ts +8 -0
  28. package/cdk/rxjs/is-not-empty-array.d.ts +8 -0
  29. package/cdk/rxjs/is-observable.d.ts +9 -0
  30. package/cdk/rxjs/public-api.d.ts +10 -0
  31. package/cdk/types/index.d.ts +5 -0
  32. package/cdk/types/maybe.d.ts +7 -0
  33. package/cdk/types/public-api.d.ts +9 -0
  34. package/cdk/types/safe-any.d.ts +7 -0
  35. package/{core/color/color.d.ts → cdk/types/theme-color.d.ts} +6 -0
  36. package/cdk/utils/generate-random-id.d.ts +12 -0
  37. package/cdk/utils/index.d.ts +5 -0
  38. package/cdk/utils/public-api.d.ts +7 -0
  39. package/checkbox/checkbox.component.d.ts +24 -45
  40. package/checkbox/checkbox.module.d.ts +1 -1
  41. package/checkbox/index.d.ts +5 -2
  42. package/checkbox/public-api.d.ts +8 -0
  43. package/checkbox/styles/_index.scss +86 -0
  44. package/checkbox/styles/vars.scss +16 -0
  45. package/dialog/dialog-animations.d.ts +7 -1
  46. package/dialog/{dialog-base.d.ts → dialog-base.directive.d.ts} +13 -7
  47. package/dialog/dialog-close.directive.d.ts +9 -0
  48. package/dialog/dialog-content.directive.d.ts +6 -0
  49. package/dialog/dialog-data.token.d.ts +8 -0
  50. package/dialog/dialog-footer.directive.d.ts +8 -0
  51. package/dialog/dialog-options.d.ts +19 -0
  52. package/dialog/dialog-ref.d.ts +19 -13
  53. package/dialog/dialog-title.directive.d.ts +6 -0
  54. package/dialog/dialog.component.d.ts +28 -0
  55. package/dialog/dialog.module.d.ts +11 -0
  56. package/dialog/dialog.service.d.ts +28 -0
  57. package/dialog/index.d.ts +5 -9
  58. package/dialog/public-api.d.ts +18 -0
  59. package/dialog/{dialog.scss → styles/_index.scss} +2 -0
  60. package/dialog/styles/vars.scss +7 -0
  61. package/divider/divider.component.d.ts +8 -35
  62. package/divider/divider.module.d.ts +1 -1
  63. package/divider/index.d.ts +5 -2
  64. package/divider/public-api.d.ts +8 -0
  65. package/divider/{divider.scss → styles/_index.scss} +1 -1
  66. package/esm2022/alert/alert-type.mjs +8 -0
  67. package/esm2022/alert/alert.component.mjs +54 -0
  68. package/esm2022/alert/alert.module.mjs +22 -0
  69. package/esm2022/alert/ngwr-alert.mjs +5 -0
  70. package/esm2022/alert/public-api.mjs +10 -0
  71. package/esm2022/avatar/avatar.component.mjs +77 -0
  72. package/esm2022/avatar/avatar.module.mjs +22 -0
  73. package/esm2022/avatar/ngwr-avatar.mjs +5 -0
  74. package/esm2022/avatar/public-api.mjs +9 -0
  75. package/esm2022/button/button-group.component.mjs +36 -0
  76. package/esm2022/button/button.component.mjs +55 -163
  77. package/esm2022/button/button.module.mjs +15 -8
  78. package/esm2022/button/ngwr-button.mjs +2 -2
  79. package/esm2022/button/public-api.mjs +10 -0
  80. package/esm2022/cdk/base.directive.mjs +27 -0
  81. package/esm2022/cdk/ngwr-cdk.mjs +5 -0
  82. package/esm2022/cdk/public-api.mjs +8 -0
  83. package/esm2022/cdk/rxjs/is-array.mjs +10 -0
  84. package/esm2022/cdk/rxjs/is-defined.mjs +10 -0
  85. package/esm2022/cdk/rxjs/is-not-empty-array.mjs +10 -0
  86. package/esm2022/cdk/rxjs/is-observable.mjs +10 -0
  87. package/esm2022/cdk/rxjs/ngwr-cdk-rxjs.mjs +5 -0
  88. package/esm2022/cdk/rxjs/public-api.mjs +11 -0
  89. package/esm2022/cdk/types/maybe.mjs +8 -0
  90. package/esm2022/cdk/types/ngwr-cdk-types.mjs +5 -0
  91. package/esm2022/cdk/types/public-api.mjs +10 -0
  92. package/esm2022/cdk/types/safe-any.mjs +8 -0
  93. package/esm2022/cdk/types/theme-color.mjs +17 -0
  94. package/esm2022/cdk/utils/generate-random-id.mjs +17 -0
  95. package/esm2022/cdk/utils/ngwr-cdk-utils.mjs +5 -0
  96. package/esm2022/cdk/utils/public-api.mjs +8 -0
  97. package/esm2022/checkbox/checkbox.component.mjs +54 -120
  98. package/esm2022/checkbox/checkbox.module.mjs +14 -8
  99. package/esm2022/checkbox/ngwr-checkbox.mjs +2 -2
  100. package/esm2022/checkbox/public-api.mjs +9 -0
  101. package/esm2022/dialog/dialog-animations.mjs +8 -2
  102. package/esm2022/dialog/dialog-base.directive.mjs +95 -0
  103. package/esm2022/dialog/dialog-close.directive.mjs +33 -0
  104. package/esm2022/dialog/dialog-content.directive.mjs +25 -0
  105. package/esm2022/dialog/dialog-data.token.mjs +9 -0
  106. package/esm2022/dialog/dialog-footer.directive.mjs +36 -0
  107. package/esm2022/dialog/dialog-options.mjs +9 -0
  108. package/esm2022/dialog/dialog-ref.mjs +22 -16
  109. package/esm2022/dialog/dialog-title.directive.mjs +25 -0
  110. package/esm2022/dialog/dialog.component.mjs +57 -0
  111. package/esm2022/dialog/dialog.module.mjs +38 -0
  112. package/esm2022/dialog/dialog.service.mjs +107 -0
  113. package/esm2022/dialog/ngwr-dialog.mjs +2 -2
  114. package/esm2022/dialog/public-api.mjs +19 -0
  115. package/esm2022/divider/divider.component.mjs +16 -57
  116. package/esm2022/divider/divider.module.mjs +8 -8
  117. package/esm2022/divider/ngwr-divider.mjs +2 -2
  118. package/esm2022/divider/public-api.mjs +9 -0
  119. package/esm2022/form/form-error.component.mjs +33 -0
  120. package/esm2022/form/form-item.component.mjs +43 -0
  121. package/esm2022/form/form.module.mjs +23 -0
  122. package/esm2022/form/ngwr-form.mjs +2 -2
  123. package/esm2022/form/public-api.mjs +10 -0
  124. package/esm2022/icon/icon.component.mjs +82 -0
  125. package/esm2022/icon/icon.module.mjs +22 -0
  126. package/esm2022/icon/icon.service.mjs +40 -0
  127. package/esm2022/icon/icons.mjs +289 -279
  128. package/esm2022/icon/ngwr-icon.mjs +2 -2
  129. package/esm2022/icon/provide-wr-icons.mjs +17 -0
  130. package/esm2022/icon/public-api.mjs +12 -0
  131. package/esm2022/input/input-types.mjs +1 -1
  132. package/esm2022/input/input.component.mjs +119 -0
  133. package/esm2022/input/input.module.mjs +22 -0
  134. package/esm2022/input/ngwr-input.mjs +2 -2
  135. package/esm2022/input/public-api.mjs +10 -0
  136. package/esm2022/ngwr.mjs +2 -2
  137. package/esm2022/pipes/new-array.pipe.mjs +23 -0
  138. package/esm2022/pipes/ngwr-pipes.mjs +5 -0
  139. package/esm2022/pipes/pipes.module.mjs +22 -0
  140. package/esm2022/pipes/public-api.mjs +9 -0
  141. package/esm2022/progress/ngwr-progress.mjs +5 -0
  142. package/esm2022/progress/progress.component.mjs +42 -0
  143. package/esm2022/progress/progress.module.mjs +22 -0
  144. package/esm2022/progress/public-api.mjs +9 -0
  145. package/esm2022/public-api.mjs +3 -0
  146. package/esm2022/qr/generator.mjs +84 -0
  147. package/esm2022/qr/ngwr-qr.mjs +5 -0
  148. package/esm2022/qr/public-api.mjs +9 -0
  149. package/esm2022/qr/qr.component.mjs +90 -0
  150. package/esm2022/qr/qr.module.mjs +22 -0
  151. package/esm2022/qr/qrcodegen.mjs +872 -0
  152. package/esm2022/skeleton/index.mjs +3 -3
  153. package/esm2022/skeleton/skeleton.component.mjs +43 -0
  154. package/esm2022/skeleton/skeleton.module.mjs +16 -0
  155. package/esm2022/spinner/index.mjs +3 -3
  156. package/esm2022/spinner/spinner.component.mjs +33 -0
  157. package/esm2022/spinner/spinner.module.mjs +22 -0
  158. package/esm2022/tag/ngwr-tag.mjs +2 -2
  159. package/esm2022/tag/public-api.mjs +9 -0
  160. package/esm2022/tag/tag.component.mjs +74 -0
  161. package/esm2022/tag/tag.module.mjs +16 -0
  162. package/fesm2022/ngwr-alert.mjs +94 -0
  163. package/fesm2022/ngwr-alert.mjs.map +1 -0
  164. package/fesm2022/ngwr-avatar.mjs +110 -0
  165. package/fesm2022/ngwr-avatar.mjs.map +1 -0
  166. package/fesm2022/ngwr-button.mjs +108 -169
  167. package/fesm2022/ngwr-button.mjs.map +1 -1
  168. package/fesm2022/ngwr-cdk-rxjs.mjs +53 -0
  169. package/fesm2022/ngwr-cdk-rxjs.mjs.map +1 -0
  170. package/fesm2022/ngwr-cdk-types.mjs +44 -0
  171. package/fesm2022/ngwr-cdk-types.mjs.map +1 -0
  172. package/fesm2022/ngwr-cdk-utils.mjs +30 -0
  173. package/fesm2022/ngwr-cdk-utils.mjs.map +1 -0
  174. package/fesm2022/ngwr-cdk.mjs +41 -0
  175. package/fesm2022/ngwr-cdk.mjs.map +1 -0
  176. package/fesm2022/ngwr-checkbox.mjs +73 -126
  177. package/fesm2022/ngwr-checkbox.mjs.map +1 -1
  178. package/fesm2022/ngwr-dialog.mjs +225 -165
  179. package/fesm2022/ngwr-dialog.mjs.map +1 -1
  180. package/fesm2022/ngwr-divider.mjs +29 -63
  181. package/fesm2022/ngwr-divider.mjs.map +1 -1
  182. package/fesm2022/ngwr-form.mjs +72 -54
  183. package/fesm2022/ngwr-form.mjs.map +1 -1
  184. package/fesm2022/ngwr-icon.mjs +445 -368
  185. package/fesm2022/ngwr-icon.mjs.map +1 -1
  186. package/fesm2022/ngwr-input.mjs +97 -208
  187. package/fesm2022/ngwr-input.mjs.map +1 -1
  188. package/fesm2022/ngwr-pipes.mjs +56 -0
  189. package/fesm2022/ngwr-pipes.mjs.map +1 -0
  190. package/fesm2022/ngwr-progress.mjs +75 -0
  191. package/fesm2022/ngwr-progress.mjs.map +1 -0
  192. package/fesm2022/{ngwr-qrcode.mjs → ngwr-qr.mjs} +72 -113
  193. package/fesm2022/ngwr-qr.mjs.map +1 -0
  194. package/fesm2022/ngwr-skeleton.mjs +19 -22
  195. package/fesm2022/ngwr-skeleton.mjs.map +1 -1
  196. package/fesm2022/ngwr-spinner.mjs +35 -19
  197. package/fesm2022/ngwr-spinner.mjs.map +1 -1
  198. package/fesm2022/ngwr-tag.mjs +46 -49
  199. package/fesm2022/ngwr-tag.mjs.map +1 -1
  200. package/fesm2022/ngwr.mjs +1 -1
  201. package/fesm2022/ngwr.mjs.map +1 -1
  202. package/form/form-error.component.d.ts +11 -0
  203. package/form/form-item.component.d.ts +14 -0
  204. package/form/form.module.d.ts +8 -0
  205. package/form/index.d.ts +5 -3
  206. package/form/public-api.d.ts +9 -0
  207. package/icon/icon.component.d.ts +19 -0
  208. package/icon/icon.module.d.ts +7 -0
  209. package/icon/icon.service.d.ts +23 -0
  210. package/icon/icons.d.ts +115 -101
  211. package/icon/index.d.ts +5 -4
  212. package/icon/provide-wr-icons.d.ts +9 -0
  213. package/icon/public-api.d.ts +11 -0
  214. package/icon/{icon.scss → styles/_index.scss} +4 -2
  215. package/icon/styles/vars.scss +3 -0
  216. package/index.d.ts +5 -2
  217. package/input/index.d.ts +5 -2
  218. package/input/input-types.d.ts +0 -2
  219. package/input/input.component.d.ts +43 -0
  220. package/input/input.module.d.ts +7 -0
  221. package/input/public-api.d.ts +9 -0
  222. package/input/styles/_index.scss +107 -0
  223. package/input/styles/vars.scss +16 -0
  224. package/package.json +110 -57
  225. package/pipes/index.d.ts +5 -0
  226. package/pipes/new-array.pipe.d.ts +13 -0
  227. package/pipes/pipes.module.d.ts +7 -0
  228. package/pipes/public-api.d.ts +8 -0
  229. package/progress/index.d.ts +5 -0
  230. package/progress/progress.component.d.ts +10 -0
  231. package/progress/progress.module.d.ts +7 -0
  232. package/progress/public-api.d.ts +8 -0
  233. package/progress/styles/_index.scss +24 -0
  234. package/progress/styles/theming.scss +8 -0
  235. package/progress/styles/vars.scss +6 -0
  236. package/public-api.d.ts +2 -0
  237. package/qr/index.d.ts +5 -0
  238. package/qr/public-api.d.ts +8 -0
  239. package/qr/qr.component.d.ts +31 -0
  240. package/qr/qr.module.d.ts +7 -0
  241. package/skeleton/index.d.ts +2 -2
  242. package/skeleton/skeleton.component.d.ts +10 -0
  243. package/skeleton/{skeleton-module.d.ts → skeleton.module.d.ts} +2 -3
  244. package/skeleton/{skeleton.scss → styles/_index.scss} +1 -1
  245. package/spinner/index.d.ts +2 -2
  246. package/spinner/spinner.component.d.ts +11 -0
  247. package/spinner/{spinner-module.d.ts → spinner.module.d.ts} +2 -2
  248. package/spinner/{spinner.scss → styles/_index.scss} +2 -1
  249. package/styles/animations.scss +4 -4
  250. package/styles/cdk.scss +4 -0
  251. package/styles/colors.scss +72 -0
  252. package/styles/grid.scss +1 -2
  253. package/styles/reset.scss +2 -2
  254. package/styles/variables.scss +78 -0
  255. package/styles.scss +23 -0
  256. package/tag/index.d.ts +5 -2
  257. package/tag/public-api.d.ts +8 -0
  258. package/tag/styles/_index.scss +32 -0
  259. package/tag/styles/theming.scss +21 -0
  260. package/tag/styles/vars.scss +12 -0
  261. package/tag/tag.component.d.ts +21 -0
  262. package/tag/tag.module.d.ts +7 -0
  263. package/_grid.scss +0 -2
  264. package/_index.scss +0 -31
  265. package/backdrop/backdrop.scss +0 -3
  266. package/button/button.scss +0 -160
  267. package/checkbox/checkbox.scss +0 -103
  268. package/core/abstract/index.d.ts +0 -1
  269. package/core/color/index.d.ts +0 -2
  270. package/core/color/is-theme-color.d.ts +0 -2
  271. package/core/decorators/index.d.ts +0 -1
  272. package/core/decorators/input-boolean.d.ts +0 -1
  273. package/core/overlay/connected-overlay-directive.d.ts +0 -16
  274. package/core/overlay/get-placement-name.d.ts +0 -2
  275. package/core/overlay/index.d.ts +0 -5
  276. package/core/overlay/overlay-module.d.ts +0 -7
  277. package/core/overlay/overlay.scss +0 -9
  278. package/core/overlay/position-map.d.ts +0 -17
  279. package/core/overlay/position-type.d.ts +0 -2
  280. package/core/types/index.d.ts +0 -3
  281. package/core/types/on-change-type.d.ts +0 -2
  282. package/core/types/on-touched-type.d.ts +0 -2
  283. package/core/types/safe-any.d.ts +0 -1
  284. package/dialog/dialog-config.d.ts +0 -11
  285. package/dialog/dialog-container.d.ts +0 -22
  286. package/dialog/dialog-content-directives.d.ts +0 -31
  287. package/dialog/dialog-module.d.ts +0 -12
  288. package/dialog/dialog-service.d.ts +0 -27
  289. package/dialog/dialog-tokens.d.ts +0 -2
  290. package/esm2022/button/index.mjs +0 -3
  291. package/esm2022/checkbox/index.mjs +0 -3
  292. package/esm2022/core/abstract/base.mjs +0 -18
  293. package/esm2022/core/abstract/index.mjs +0 -2
  294. package/esm2022/core/abstract/ngwr-core-abstract.mjs +0 -5
  295. package/esm2022/core/color/color.mjs +0 -11
  296. package/esm2022/core/color/index.mjs +0 -3
  297. package/esm2022/core/color/is-theme-color.mjs +0 -9
  298. package/esm2022/core/color/ngwr-core-color.mjs +0 -5
  299. package/esm2022/core/decorators/index.mjs +0 -2
  300. package/esm2022/core/decorators/input-boolean.mjs +0 -15
  301. package/esm2022/core/decorators/ngwr-core-decorators.mjs +0 -5
  302. package/esm2022/core/overlay/connected-overlay-directive.mjs +0 -98
  303. package/esm2022/core/overlay/get-placement-name.mjs +0 -13
  304. package/esm2022/core/overlay/index.mjs +0 -5
  305. package/esm2022/core/overlay/ngwr-core-overlay.mjs +0 -5
  306. package/esm2022/core/overlay/overlay-module.mjs +0 -16
  307. package/esm2022/core/overlay/position-map.mjs +0 -18
  308. package/esm2022/core/overlay/position-type.mjs +0 -2
  309. package/esm2022/core/types/index.mjs +0 -4
  310. package/esm2022/core/types/ngwr-core-types.mjs +0 -5
  311. package/esm2022/core/types/on-change-type.mjs +0 -2
  312. package/esm2022/core/types/on-touched-type.mjs +0 -2
  313. package/esm2022/core/types/safe-any.mjs +0 -2
  314. package/esm2022/dialog/dialog-base.mjs +0 -92
  315. package/esm2022/dialog/dialog-config.mjs +0 -3
  316. package/esm2022/dialog/dialog-container.mjs +0 -58
  317. package/esm2022/dialog/dialog-content-directives.mjs +0 -98
  318. package/esm2022/dialog/dialog-module.mjs +0 -24
  319. package/esm2022/dialog/dialog-service.mjs +0 -109
  320. package/esm2022/dialog/dialog-tokens.mjs +0 -3
  321. package/esm2022/dialog/index.mjs +0 -10
  322. package/esm2022/divider/index.mjs +0 -3
  323. package/esm2022/form/form-error.mjs +0 -23
  324. package/esm2022/form/form-item.mjs +0 -46
  325. package/esm2022/form/form-module.mjs +0 -19
  326. package/esm2022/form/index.mjs +0 -4
  327. package/esm2022/icon/icon-module.mjs +0 -21
  328. package/esm2022/icon/icon-service.mjs +0 -21
  329. package/esm2022/icon/icon.mjs +0 -60
  330. package/esm2022/icon/index.mjs +0 -5
  331. package/esm2022/index.mjs +0 -3
  332. package/esm2022/input/index.mjs +0 -3
  333. package/esm2022/input/input-module.mjs +0 -20
  334. package/esm2022/input/input.mjs +0 -240
  335. package/esm2022/qrcode/generator.mjs +0 -84
  336. package/esm2022/qrcode/index.mjs +0 -3
  337. package/esm2022/qrcode/ngwr-qrcode.mjs +0 -5
  338. package/esm2022/qrcode/qrcode-module.mjs +0 -19
  339. package/esm2022/qrcode/qrcode.mjs +0 -142
  340. package/esm2022/qrcode/qrcodegen.mjs +0 -872
  341. package/esm2022/skeleton/skeleton-module.mjs +0 -18
  342. package/esm2022/skeleton/skeleton.mjs +0 -44
  343. package/esm2022/spinner/spinner-module.mjs +0 -16
  344. package/esm2022/spinner/spinner.mjs +0 -23
  345. package/esm2022/tag/index.mjs +0 -3
  346. package/esm2022/tag/tag-module.mjs +0 -20
  347. package/esm2022/tag/tag.mjs +0 -80
  348. package/esm2022/tooltip/index.mjs +0 -5
  349. package/esm2022/tooltip/ngwr-tooltip.mjs +0 -5
  350. package/esm2022/tooltip/tooltip-component.mjs +0 -93
  351. package/esm2022/tooltip/tooltip-default-positions.mjs +0 -8
  352. package/esm2022/tooltip/tooltip-directive.mjs +0 -85
  353. package/esm2022/tooltip/tooltip-module.mjs +0 -21
  354. package/esm2022/tooltip/tooltip-trigger.mjs +0 -2
  355. package/fesm2022/ngwr-core-abstract.mjs +0 -25
  356. package/fesm2022/ngwr-core-abstract.mjs.map +0 -1
  357. package/fesm2022/ngwr-core-color.mjs +0 -25
  358. package/fesm2022/ngwr-core-color.mjs.map +0 -1
  359. package/fesm2022/ngwr-core-decorators.mjs +0 -22
  360. package/fesm2022/ngwr-core-decorators.mjs.map +0 -1
  361. package/fesm2022/ngwr-core-overlay.mjs +0 -146
  362. package/fesm2022/ngwr-core-overlay.mjs.map +0 -1
  363. package/fesm2022/ngwr-core-types.mjs +0 -4
  364. package/fesm2022/ngwr-core-types.mjs.map +0 -1
  365. package/fesm2022/ngwr-qrcode.mjs.map +0 -1
  366. package/fesm2022/ngwr-tooltip.mjs +0 -204
  367. package/fesm2022/ngwr-tooltip.mjs.map +0 -1
  368. package/form/form-error.d.ts +0 -6
  369. package/form/form-item.d.ts +0 -15
  370. package/form/form-module.d.ts +0 -9
  371. package/icon/icon-module.d.ts +0 -9
  372. package/icon/icon-service.d.ts +0 -8
  373. package/icon/icon.d.ts +0 -20
  374. package/input/input-module.d.ts +0 -10
  375. package/input/input.d.ts +0 -65
  376. package/input/input.scss +0 -163
  377. package/qrcode/index.d.ts +0 -2
  378. package/qrcode/qrcode-module.d.ts +0 -9
  379. package/qrcode/qrcode.d.ts +0 -46
  380. package/skeleton/skeleton.d.ts +0 -11
  381. package/spinner/spinner.d.ts +0 -6
  382. package/styles/root.scss +0 -172
  383. package/tag/tag-module.d.ts +0 -10
  384. package/tag/tag.d.ts +0 -18
  385. package/tag/tag.scss +0 -106
  386. package/tooltip/index.d.ts +0 -5
  387. package/tooltip/tooltip-component.d.ts +0 -31
  388. package/tooltip/tooltip-default-positions.d.ts +0 -1
  389. package/tooltip/tooltip-directive.d.ts +0 -22
  390. package/tooltip/tooltip-module.d.ts +0 -11
  391. package/tooltip/tooltip-trigger.d.ts +0 -1
  392. package/tooltip/tooltip.scss +0 -67
  393. /package/form/{form.scss → styles/_index.scss} +0 -0
  394. /package/{qrcode → qr}/generator.d.ts +0 -0
  395. /package/{qrcode → qr}/qrcodegen.d.ts +0 -0
  396. /package/{qrcode/qrcode.scss → qr/styles/_index.scss} +0 -0
package/tag/tag.scss DELETED
@@ -1,106 +0,0 @@
1
- @use '../styles/maps' as maps;
2
-
3
- .wr-tag {
4
- display: inline-block;
5
-
6
- padding: var(--wr-tag-padding-y) var(--wr-tag-padding-x);
7
-
8
- font-family: var(--wr-tag-font-family-base);
9
- font-size: var(--wr-tag-font-size-base);
10
- font-weight: var(--wr-tag-font-weight-base);
11
- line-height: var(--wr-tag-line-height-base);
12
-
13
- text-align: center;
14
- text-decoration: none;
15
- vertical-align: middle;
16
-
17
- user-select: none;
18
- pointer-events: none;
19
- white-space: nowrap;
20
-
21
- border: none;
22
- border-radius: var(--wr-tag-border-radius-base);
23
-
24
- cursor: pointer;
25
- transition: var(--wr-transition-base);
26
- position: relative;
27
-
28
- &:hover {
29
- text-decoration: none;
30
- }
31
-
32
- &__icon,
33
- &__spin {
34
- width: 0.75rem !important;
35
- height: 0.75rem !important;
36
- min-width: 0.75rem !important;
37
- min-height: 0.75rem !important;
38
- transition: var(--wr-transition-base);
39
- }
40
-
41
- &--icon-start {
42
- .wr-tag {
43
- &__icon,
44
- &__spin {
45
- margin-right: 0.25rem;
46
- }
47
- }
48
- }
49
-
50
- &--icon-end {
51
- .wr-tag {
52
- &__icon,
53
- &__spin {
54
- margin-left: 0.25rem;
55
- }
56
- }
57
- }
58
-
59
- &--hoverable {
60
- pointer-events: all;
61
- }
62
-
63
- &--rounded {
64
- border-radius: var(--wr-tag-rounded-border-radius);
65
- padding: var(--wr-tag-rounded-padding-y) var(--wr-tag-rounded-padding-x);
66
- }
67
- }
68
-
69
- @each $color in maps.$theme-colors-map {
70
- .wr-tag--#{$color} {
71
- color: var(--wr-color-#{$color}-contrast);
72
- background-color: var(--wr-color-#{$color});
73
-
74
- &:hover {
75
- color: var(--wr-color-#{$color}-contrast);
76
- background-color: var(--wr-color-#{$color}-shade);
77
- }
78
-
79
- &.wr-tag--outlined {
80
- color: var(--wr-color-#{$color});
81
- background-color: transparent;
82
- box-shadow: inset 0 0 0 1.25px rgba(var(--wr-color-#{$color}-rgb), 0.375);
83
-
84
- &.wr-tag--transparent {
85
- background-color: rgba(var(--wr-color-#{$color}-rgb), 0.125);
86
- }
87
-
88
- &:hover {
89
- color: var(--wr-color-#{$color}-contrast);
90
- background-color: var(--wr-color-#{$color});
91
- box-shadow: none;
92
- }
93
- }
94
-
95
- &.wr-tag--transparent {
96
- color: var(--wr-color-#{$color});
97
- background-color: rgba(var(--wr-color-#{$color}-rgb), 0.125);
98
-
99
- &:hover {
100
- color: var(--wr-color-#{$color}-contrast);
101
- background-color: var(--wr-color-#{$color});
102
- box-shadow: none;
103
- }
104
- }
105
- }
106
- }
@@ -1,5 +0,0 @@
1
- export { WrTooltipComponent } from './tooltip-component';
2
- export { WR_TOOLTIP_DEFAULT_POSITIONS } from './tooltip-default-positions';
3
- export { WrTooltipDirective } from './tooltip-directive';
4
- export { WrTooltipModule } from './tooltip-module';
5
- export { WrTooltipTrigger } from './tooltip-trigger';
@@ -1,31 +0,0 @@
1
- import { CdkConnectedOverlay, ConnectedOverlayPositionChange, ConnectionPositionPair } from '@angular/cdk/overlay';
2
- import { ChangeDetectorRef, ElementRef } from '@angular/core';
3
- import { WrTooltipTrigger } from './tooltip-trigger';
4
- import * as i0 from "@angular/core";
5
- export declare class WrTooltipComponent {
6
- private readonly cdr;
7
- overlay: CdkConnectedOverlay;
8
- get message(): string | null;
9
- set message(value: string | null);
10
- private _message;
11
- get trigger(): WrTooltipTrigger;
12
- set trigger(value: WrTooltipTrigger);
13
- private _trigger;
14
- get visible(): boolean;
15
- set visible(value: boolean);
16
- private _visible;
17
- get origin(): ElementRef;
18
- set origin(value: ElementRef);
19
- private _origin;
20
- get position(): string;
21
- set position(value: string);
22
- private _position;
23
- readonly positions: ConnectionPositionPair[];
24
- constructor(cdr: ChangeDetectorRef);
25
- show(): void;
26
- hide(): void;
27
- onPositionChange(position: ConnectedOverlayPositionChange): void;
28
- onClickOutside(event: MouseEvent): void;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<WrTooltipComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<WrTooltipComponent, "wr-tooltip", never, { "message": { "alias": "message"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "origin": { "alias": "origin"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, false, never>;
31
- }
@@ -1 +0,0 @@
1
- export declare const WR_TOOLTIP_DEFAULT_POSITIONS: import("@angular/cdk/overlay").ConnectionPositionPair[];
@@ -1,22 +0,0 @@
1
- import { AfterViewInit, ElementRef, Renderer2, ViewContainerRef } from '@angular/core';
2
- import { WrTooltipTrigger } from './tooltip-trigger';
3
- import * as i0 from "@angular/core";
4
- export declare class WrTooltipDirective implements AfterViewInit {
5
- private readonly elRef;
6
- private readonly r2;
7
- private readonly vcr;
8
- message: string | null;
9
- trigger: WrTooltipTrigger;
10
- onClick(event: MouseEvent): void;
11
- onMouseEnter(): void;
12
- onMouseLeave(): void;
13
- private readonly componentRef;
14
- private delayTimer;
15
- constructor(elRef: ElementRef, r2: Renderer2, vcr: ViewContainerRef);
16
- ngAfterViewInit(): void;
17
- private onTooltipShow;
18
- private onTooltipHide;
19
- private leaveDelay;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<WrTooltipDirective, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<WrTooltipDirective, "[wrTooltip]", ["wrTooltip"], { "message": { "alias": "wrTooltip"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; }, {}, never, never, false, never>;
22
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./tooltip-component";
3
- import * as i2 from "./tooltip-directive";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@angular/cdk/overlay";
6
- import * as i5 from "ngwr/core/overlay";
7
- export declare class WrTooltipModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<WrTooltipModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<WrTooltipModule, [typeof i1.WrTooltipComponent, typeof i2.WrTooltipDirective], [typeof i3.CommonModule, typeof i4.OverlayModule, typeof i5.WrOverlayModule], [typeof i1.WrTooltipComponent, typeof i2.WrTooltipDirective]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<WrTooltipModule>;
11
- }
@@ -1 +0,0 @@
1
- export type WrTooltipTrigger = 'hover' | 'click';
@@ -1,67 +0,0 @@
1
- .wr-tooltip {
2
- $wrTooltipRoot: &;
3
-
4
- margin: 0.5rem;
5
-
6
- position: relative;
7
-
8
- &__wrapper {
9
- display: inline-block;
10
-
11
- background: var(--wr-color-dark);
12
- padding: 0.5rem;
13
- border-radius: 0.25rem;
14
- }
15
-
16
- &__title {
17
- display: block;
18
- color: var(--wr-color-white);
19
- font-size: 0.875rem;
20
- font-weight: 400;
21
- line-height: 1rem;
22
- word-break: break-word;
23
- }
24
-
25
- &__arrow {
26
- display: block;
27
-
28
- position: absolute;
29
- z-index: 2;
30
-
31
- width: 0.5rem;
32
- height: 0.5rem;
33
-
34
- background: var(--wr-color-dark);
35
- pointer-events: none;
36
-
37
- transform: rotate(45deg);
38
-
39
- #{$wrTooltipRoot}--top & {
40
- bottom: -0.25rem;
41
- left: 0;
42
- right: 0;
43
- margin: auto;
44
- }
45
-
46
- #{$wrTooltipRoot}--bottom & {
47
- top: -0.25rem;
48
- left: 0;
49
- right: 0;
50
- margin: auto;
51
- }
52
-
53
- #{$wrTooltipRoot}--left & {
54
- top: 0;
55
- bottom: 0;
56
- right: -0.25rem;
57
- margin: auto;
58
- }
59
-
60
- #{$wrTooltipRoot}--right & {
61
- top: 0;
62
- bottom: 0;
63
- left: -0.25rem;
64
- margin: auto;
65
- }
66
- }
67
- }
File without changes
File without changes
File without changes
File without changes