@amiceli/papierjs 0.5.0 → 0.7.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 (215) hide show
  1. package/dist/cjs/{index-82a72b67.js → index-875ceae0.js} +47 -6
  2. package/dist/cjs/index-875ceae0.js.map +1 -0
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/p-accordion.cjs.entry.js +4 -4
  5. package/dist/cjs/p-alert.cjs.entry.js +2 -2
  6. package/dist/cjs/p-badge.cjs.entry.js +2 -2
  7. package/dist/cjs/p-breadcrumb-item.cjs.entry.js +2 -2
  8. package/dist/cjs/p-breadcrumb.cjs.entry.js +2 -2
  9. package/dist/cjs/{p-dropdown_2.cjs.entry.js → p-button_3.cjs.entry.js} +55 -6
  10. package/dist/cjs/p-button_3.cjs.entry.js.map +1 -0
  11. package/dist/cjs/p-dropdown-preview.cjs.entry.js +2 -2
  12. package/dist/cjs/p-input-text.cjs.entry.js +2 -2
  13. package/dist/cjs/p-leaf.cjs.entry.js +2 -2
  14. package/dist/cjs/p-modal-preview.cjs.entry.js +2 -2
  15. package/dist/cjs/p-modal.cjs.entry.js +31 -0
  16. package/dist/cjs/p-modal.cjs.entry.js.map +1 -0
  17. package/dist/cjs/p-notification-handler.cjs.entry.js +57 -0
  18. package/dist/cjs/p-notification-handler.cjs.entry.js.map +1 -0
  19. package/dist/cjs/p-notification-preview.cjs.entry.js +41 -0
  20. package/dist/cjs/p-notification-preview.cjs.entry.js.map +1 -0
  21. package/dist/cjs/p-notification.cjs.entry.js +64 -0
  22. package/dist/cjs/p-notification.cjs.entry.js.map +1 -0
  23. package/dist/cjs/p-progress-bar.cjs.entry.js +2 -2
  24. package/dist/cjs/p-slider.cjs.entry.js +3 -3
  25. package/dist/cjs/p-switch-tile.cjs.entry.js +3 -3
  26. package/dist/cjs/p-switch.cjs.entry.js +4 -4
  27. package/dist/cjs/p-tab.cjs.entry.js +28 -0
  28. package/dist/cjs/p-tab.cjs.entry.js.map +1 -0
  29. package/dist/cjs/p-tabs.cjs.entry.js +66 -0
  30. package/dist/cjs/p-tabs.cjs.entry.js.map +1 -0
  31. package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
  32. package/dist/cjs/papierjs.cjs.js +2 -2
  33. package/dist/collection/collection-manifest.json +5 -0
  34. package/dist/collection/components/accordion/accordion.js +3 -3
  35. package/dist/collection/components/alert/alert.js +1 -1
  36. package/dist/collection/components/badge/badge.js +1 -1
  37. package/dist/collection/components/breadcrumb/breadcrumb/breadcrumb.js +1 -1
  38. package/dist/collection/components/breadcrumb/breadcrumb-item/breadcrumb-item.js +1 -1
  39. package/dist/collection/components/button/button.js +1 -1
  40. package/dist/collection/components/dropdown/dropdown/dropdown.js +2 -2
  41. package/dist/collection/components/dropdown/dropdown/stories/dropdown.preview.js +1 -1
  42. package/dist/collection/components/dropdown/dropdown-item/dropdown-item.js +2 -2
  43. package/dist/collection/components/form/input-text/input-text.js +1 -1
  44. package/dist/collection/components/form/slider/sliders.js +2 -2
  45. package/dist/collection/components/form/switch/switch.js +3 -3
  46. package/dist/collection/components/form/switch-tile/switch-tile.js +2 -2
  47. package/dist/collection/components/leaf/leaf.js +1 -1
  48. package/dist/collection/components/modal/modal.js +1 -1
  49. package/dist/collection/components/modal/stories/modal.preview.js +1 -1
  50. package/dist/collection/components/notification/p-notification/p-notification.css +3260 -0
  51. package/dist/collection/components/notification/p-notification/p-notification.js +164 -0
  52. package/dist/collection/components/notification/p-notification/p-notification.js.map +1 -0
  53. package/dist/collection/components/notification/p-notification-handler/p-notification-handler.css +13 -0
  54. package/dist/collection/components/notification/p-notification-handler/p-notification-handler.js +100 -0
  55. package/dist/collection/components/notification/p-notification-handler/p-notification-handler.js.map +1 -0
  56. package/dist/collection/components/notification/p-notification-handler/stories/p-notification-preview.js +36 -0
  57. package/dist/collection/components/notification/p-notification-handler/stories/p-notification-preview.js.map +1 -0
  58. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  59. package/dist/collection/components/tabs/tab/tab.css +3381 -0
  60. package/dist/collection/components/tabs/tab/tab.js +90 -0
  61. package/dist/collection/components/tabs/tab/tab.js.map +1 -0
  62. package/dist/collection/components/tabs/tabs/tabs.css +3229 -0
  63. package/dist/collection/components/tabs/tabs/tabs.js +98 -0
  64. package/dist/collection/components/tabs/tabs/tabs.js.map +1 -0
  65. package/dist/collection/components/tooltip/tooltip.js +1 -1
  66. package/dist/components/index.js +1 -1
  67. package/dist/components/{p-44ddcae9.js → p-3e858546.js} +3 -3
  68. package/dist/components/{p-44ddcae9.js.map → p-3e858546.js.map} +1 -1
  69. package/dist/components/{p-ee5f2278.js → p-51fafe64.js} +4 -4
  70. package/dist/components/{p-ee5f2278.js.map → p-51fafe64.js.map} +1 -1
  71. package/dist/components/{p-1754e5cb.js → p-555df865.js} +3 -3
  72. package/dist/components/{p-1754e5cb.js.map → p-555df865.js.map} +1 -1
  73. package/dist/components/p-accordion.js +4 -4
  74. package/dist/components/{p-eea4fbc1.js → p-af62ba98.js} +23 -2
  75. package/dist/components/p-af62ba98.js.map +1 -0
  76. package/dist/components/p-alert.js +2 -2
  77. package/dist/components/p-badge.js +2 -2
  78. package/dist/components/p-breadcrumb-item.js +2 -2
  79. package/dist/components/p-breadcrumb.js +2 -2
  80. package/dist/components/p-button.js +1 -1
  81. package/dist/components/p-c3c46963.js +78 -0
  82. package/dist/components/p-c3c46963.js.map +1 -0
  83. package/dist/components/{p-18fc6353.js → p-c8138bbd.js} +4 -4
  84. package/dist/components/{p-18fc6353.js.map → p-c8138bbd.js.map} +1 -1
  85. package/dist/components/p-dropdown-item.js +1 -1
  86. package/dist/components/p-dropdown-preview.js +6 -6
  87. package/dist/components/p-dropdown.js +1 -1
  88. package/dist/components/p-ef7a623f.js +81 -0
  89. package/dist/components/p-ef7a623f.js.map +1 -0
  90. package/dist/components/p-input-text.js +2 -2
  91. package/dist/components/p-leaf.js +2 -2
  92. package/dist/components/p-modal-preview.js +4 -4
  93. package/dist/components/p-modal.js +1 -1
  94. package/dist/components/p-notification-handler.d.ts +11 -0
  95. package/dist/components/p-notification-handler.js +8 -0
  96. package/dist/components/p-notification-handler.js.map +1 -0
  97. package/dist/components/p-notification-preview.d.ts +11 -0
  98. package/dist/components/p-notification-preview.js +87 -0
  99. package/dist/components/p-notification-preview.js.map +1 -0
  100. package/dist/components/p-notification.d.ts +11 -0
  101. package/dist/components/p-notification.js +8 -0
  102. package/dist/components/p-notification.js.map +1 -0
  103. package/dist/components/p-progress-bar.js +2 -2
  104. package/dist/components/p-slider.js +3 -3
  105. package/dist/components/p-switch-tile.js +3 -3
  106. package/dist/components/p-switch.js +4 -4
  107. package/dist/components/p-tab.d.ts +11 -0
  108. package/dist/components/p-tab.js +47 -0
  109. package/dist/components/p-tab.js.map +1 -0
  110. package/dist/components/p-tabs.d.ts +11 -0
  111. package/dist/components/p-tabs.js +85 -0
  112. package/dist/components/p-tabs.js.map +1 -0
  113. package/dist/components/p-tooltip.js +2 -2
  114. package/dist/esm/{index-4646b002.js → index-7ee4e700.js} +47 -6
  115. package/dist/esm/index-7ee4e700.js.map +1 -0
  116. package/dist/esm/loader.js +3 -3
  117. package/dist/esm/p-accordion.entry.js +4 -4
  118. package/dist/esm/p-alert.entry.js +2 -2
  119. package/dist/esm/p-badge.entry.js +2 -2
  120. package/dist/esm/p-breadcrumb-item.entry.js +2 -2
  121. package/dist/esm/p-breadcrumb.entry.js +2 -2
  122. package/dist/esm/{p-dropdown_2.entry.js → p-button_3.entry.js} +55 -7
  123. package/dist/esm/p-button_3.entry.js.map +1 -0
  124. package/dist/esm/p-dropdown-preview.entry.js +2 -2
  125. package/dist/esm/p-input-text.entry.js +2 -2
  126. package/dist/esm/p-leaf.entry.js +2 -2
  127. package/dist/esm/p-modal-preview.entry.js +2 -2
  128. package/dist/esm/p-modal.entry.js +27 -0
  129. package/dist/esm/p-modal.entry.js.map +1 -0
  130. package/dist/esm/p-notification-handler.entry.js +53 -0
  131. package/dist/esm/p-notification-handler.entry.js.map +1 -0
  132. package/dist/esm/p-notification-preview.entry.js +37 -0
  133. package/dist/esm/p-notification-preview.entry.js.map +1 -0
  134. package/dist/esm/p-notification.entry.js +60 -0
  135. package/dist/esm/p-notification.entry.js.map +1 -0
  136. package/dist/esm/p-progress-bar.entry.js +2 -2
  137. package/dist/esm/p-slider.entry.js +3 -3
  138. package/dist/esm/p-switch-tile.entry.js +3 -3
  139. package/dist/esm/p-switch.entry.js +4 -4
  140. package/dist/esm/p-tab.entry.js +24 -0
  141. package/dist/esm/p-tab.entry.js.map +1 -0
  142. package/dist/esm/p-tabs.entry.js +62 -0
  143. package/dist/esm/p-tabs.entry.js.map +1 -0
  144. package/dist/esm/p-tooltip.entry.js +2 -2
  145. package/dist/esm/papierjs.js +3 -3
  146. package/dist/papierjs/{p-f21b09d8.entry.js → p-21ae2040.entry.js} +2 -2
  147. package/dist/papierjs/{p-005736fe.entry.js → p-3149398f.entry.js} +2 -2
  148. package/dist/papierjs/p-34a520d8.js +3 -0
  149. package/dist/papierjs/p-34a520d8.js.map +1 -0
  150. package/dist/papierjs/p-4de54c9d.entry.js +2 -0
  151. package/dist/papierjs/p-4de54c9d.entry.js.map +1 -0
  152. package/dist/papierjs/p-4e8985c5.entry.js +2 -0
  153. package/dist/papierjs/p-4e8985c5.entry.js.map +1 -0
  154. package/dist/papierjs/{p-08ab91b8.entry.js → p-4ef52ae1.entry.js} +2 -2
  155. package/dist/papierjs/{p-6fd657de.entry.js → p-55975574.entry.js} +2 -2
  156. package/dist/papierjs/p-57f13bee.entry.js +2 -0
  157. package/dist/papierjs/p-5e68bd6c.entry.js +2 -0
  158. package/dist/papierjs/p-5e68bd6c.entry.js.map +1 -0
  159. package/dist/papierjs/{p-8a2f9883.entry.js → p-743abca9.entry.js} +2 -2
  160. package/dist/papierjs/p-7b6c5a15.entry.js +2 -0
  161. package/dist/papierjs/p-7b6c5a15.entry.js.map +1 -0
  162. package/dist/papierjs/{p-2a173336.entry.js → p-963f21b8.entry.js} +2 -2
  163. package/dist/papierjs/p-a2523f10.entry.js +2 -0
  164. package/dist/papierjs/p-a2523f10.entry.js.map +1 -0
  165. package/dist/papierjs/{p-d98c84b2.entry.js → p-a40b185f.entry.js} +2 -2
  166. package/dist/papierjs/{p-dfbbdb7b.entry.js → p-acf916fa.entry.js} +2 -2
  167. package/dist/papierjs/{p-ba661e41.entry.js → p-b783633d.entry.js} +2 -2
  168. package/dist/papierjs/p-bc16a85a.entry.js +2 -0
  169. package/dist/papierjs/p-bc16a85a.entry.js.map +1 -0
  170. package/dist/papierjs/{p-deb8c796.entry.js → p-d583fd92.entry.js} +2 -2
  171. package/dist/papierjs/{p-5a7955a5.entry.js → p-d9e3c9ca.entry.js} +2 -2
  172. package/dist/papierjs/{p-e6765c48.entry.js → p-edbf5d19.entry.js} +2 -2
  173. package/dist/papierjs/p-ef8536b9.entry.js +2 -0
  174. package/dist/papierjs/p-ef8536b9.entry.js.map +1 -0
  175. package/dist/papierjs/{p-3231294d.entry.js → p-f7bc7154.entry.js} +2 -2
  176. package/dist/papierjs/papierjs.esm.js +1 -1
  177. package/dist/papierjs/papierjs.esm.js.map +1 -1
  178. package/dist/types/components/notification/p-notification/p-notification.d.ts +16 -0
  179. package/dist/types/components/notification/p-notification-handler/p-notification-handler.d.ts +18 -0
  180. package/dist/types/components/notification/p-notification-handler/stories/p-notification-preview.d.ts +7 -0
  181. package/dist/types/components/tabs/tab/tab.d.ts +6 -0
  182. package/dist/types/components/tabs/tabs/tabs.d.ts +15 -0
  183. package/dist/types/components.d.ts +100 -0
  184. package/package.json +1 -1
  185. package/readme.md +4 -4
  186. package/dist/cjs/index-82a72b67.js.map +0 -1
  187. package/dist/cjs/p-button_2.cjs.entry.js +0 -80
  188. package/dist/cjs/p-button_2.cjs.entry.js.map +0 -1
  189. package/dist/cjs/p-dropdown_2.cjs.entry.js.map +0 -1
  190. package/dist/components/p-eea4fbc1.js.map +0 -1
  191. package/dist/esm/index-4646b002.js.map +0 -1
  192. package/dist/esm/p-button_2.entry.js +0 -75
  193. package/dist/esm/p-button_2.entry.js.map +0 -1
  194. package/dist/esm/p-dropdown_2.entry.js.map +0 -1
  195. package/dist/papierjs/p-2f044192.entry.js +0 -2
  196. package/dist/papierjs/p-2f044192.entry.js.map +0 -1
  197. package/dist/papierjs/p-4ed82d68.js +0 -3
  198. package/dist/papierjs/p-4ed82d68.js.map +0 -1
  199. package/dist/papierjs/p-a3c7e705.entry.js +0 -2
  200. package/dist/papierjs/p-fc85498a.entry.js +0 -2
  201. package/dist/papierjs/p-fc85498a.entry.js.map +0 -1
  202. /package/dist/papierjs/{p-f21b09d8.entry.js.map → p-21ae2040.entry.js.map} +0 -0
  203. /package/dist/papierjs/{p-005736fe.entry.js.map → p-3149398f.entry.js.map} +0 -0
  204. /package/dist/papierjs/{p-08ab91b8.entry.js.map → p-4ef52ae1.entry.js.map} +0 -0
  205. /package/dist/papierjs/{p-6fd657de.entry.js.map → p-55975574.entry.js.map} +0 -0
  206. /package/dist/papierjs/{p-a3c7e705.entry.js.map → p-57f13bee.entry.js.map} +0 -0
  207. /package/dist/papierjs/{p-8a2f9883.entry.js.map → p-743abca9.entry.js.map} +0 -0
  208. /package/dist/papierjs/{p-2a173336.entry.js.map → p-963f21b8.entry.js.map} +0 -0
  209. /package/dist/papierjs/{p-d98c84b2.entry.js.map → p-a40b185f.entry.js.map} +0 -0
  210. /package/dist/papierjs/{p-dfbbdb7b.entry.js.map → p-acf916fa.entry.js.map} +0 -0
  211. /package/dist/papierjs/{p-ba661e41.entry.js.map → p-b783633d.entry.js.map} +0 -0
  212. /package/dist/papierjs/{p-deb8c796.entry.js.map → p-d583fd92.entry.js.map} +0 -0
  213. /package/dist/papierjs/{p-5a7955a5.entry.js.map → p-d9e3c9ca.entry.js.map} +0 -0
  214. /package/dist/papierjs/{p-e6765c48.entry.js.map → p-edbf5d19.entry.js.map} +0 -0
  215. /package/dist/papierjs/{p-3231294d.entry.js.map → p-f7bc7154.entry.js.map} +0 -0
@@ -5,6 +5,8 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
+ import { PushOptions } from "./components/notification/p-notification-handler/p-notification-handler";
9
+ export { PushOptions } from "./components/notification/p-notification-handler/p-notification-handler";
8
10
  export namespace Components {
9
11
  interface PAccordion {
10
12
  "open": boolean;
@@ -78,6 +80,17 @@ export namespace Components {
78
80
  interface PModalPreview {
79
81
  "title"?: boolean;
80
82
  }
83
+ interface PNotification {
84
+ "canclose": boolean;
85
+ "text": string;
86
+ "timestamp": string;
87
+ "type"?: string;
88
+ }
89
+ interface PNotificationHandler {
90
+ "pushNotification": (options: PushOptions) => Promise<void>;
91
+ }
92
+ interface PNotificationPreview {
93
+ }
81
94
  interface PProgressBar {
82
95
  "dark"?: boolean;
83
96
  "striped"?: boolean;
@@ -112,6 +125,14 @@ export namespace Components {
112
125
  "dark"?: boolean;
113
126
  "uncheckedBackground"?: TileBackground;
114
127
  }
128
+ interface PTab {
129
+ "dark"?: boolean;
130
+ "selected"?: boolean;
131
+ "title": string;
132
+ }
133
+ interface PTabs {
134
+ "dark"?: boolean;
135
+ }
115
136
  interface PTooltip {
116
137
  "bottom"?: boolean;
117
138
  "disabled"?: boolean;
@@ -141,6 +162,10 @@ export interface PModalCustomEvent<T> extends CustomEvent<T> {
141
162
  detail: T;
142
163
  target: HTMLPModalElement;
143
164
  }
165
+ export interface PNotificationCustomEvent<T> extends CustomEvent<T> {
166
+ detail: T;
167
+ target: HTMLPNotificationElement;
168
+ }
144
169
  export interface PSliderCustomEvent<T> extends CustomEvent<T> {
145
170
  detail: T;
146
171
  target: HTMLPSliderElement;
@@ -287,6 +312,35 @@ declare global {
287
312
  prototype: HTMLPModalPreviewElement;
288
313
  new (): HTMLPModalPreviewElement;
289
314
  };
315
+ interface HTMLPNotificationElementEventMap {
316
+ "close": string;
317
+ }
318
+ interface HTMLPNotificationElement extends Components.PNotification, HTMLStencilElement {
319
+ addEventListener<K extends keyof HTMLPNotificationElementEventMap>(type: K, listener: (this: HTMLPNotificationElement, ev: PNotificationCustomEvent<HTMLPNotificationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
320
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
321
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
322
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
323
+ removeEventListener<K extends keyof HTMLPNotificationElementEventMap>(type: K, listener: (this: HTMLPNotificationElement, ev: PNotificationCustomEvent<HTMLPNotificationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
324
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
325
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
326
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
327
+ }
328
+ var HTMLPNotificationElement: {
329
+ prototype: HTMLPNotificationElement;
330
+ new (): HTMLPNotificationElement;
331
+ };
332
+ interface HTMLPNotificationHandlerElement extends Components.PNotificationHandler, HTMLStencilElement {
333
+ }
334
+ var HTMLPNotificationHandlerElement: {
335
+ prototype: HTMLPNotificationHandlerElement;
336
+ new (): HTMLPNotificationHandlerElement;
337
+ };
338
+ interface HTMLPNotificationPreviewElement extends Components.PNotificationPreview, HTMLStencilElement {
339
+ }
340
+ var HTMLPNotificationPreviewElement: {
341
+ prototype: HTMLPNotificationPreviewElement;
342
+ new (): HTMLPNotificationPreviewElement;
343
+ };
290
344
  interface HTMLPProgressBarElement extends Components.PProgressBar, HTMLStencilElement {
291
345
  }
292
346
  var HTMLPProgressBarElement: {
@@ -344,6 +398,18 @@ declare global {
344
398
  prototype: HTMLPSwitchTileElement;
345
399
  new (): HTMLPSwitchTileElement;
346
400
  };
401
+ interface HTMLPTabElement extends Components.PTab, HTMLStencilElement {
402
+ }
403
+ var HTMLPTabElement: {
404
+ prototype: HTMLPTabElement;
405
+ new (): HTMLPTabElement;
406
+ };
407
+ interface HTMLPTabsElement extends Components.PTabs, HTMLStencilElement {
408
+ }
409
+ var HTMLPTabsElement: {
410
+ prototype: HTMLPTabsElement;
411
+ new (): HTMLPTabsElement;
412
+ };
347
413
  interface HTMLPTooltipElement extends Components.PTooltip, HTMLStencilElement {
348
414
  }
349
415
  var HTMLPTooltipElement: {
@@ -364,10 +430,15 @@ declare global {
364
430
  "p-leaf": HTMLPLeafElement;
365
431
  "p-modal": HTMLPModalElement;
366
432
  "p-modal-preview": HTMLPModalPreviewElement;
433
+ "p-notification": HTMLPNotificationElement;
434
+ "p-notification-handler": HTMLPNotificationHandlerElement;
435
+ "p-notification-preview": HTMLPNotificationPreviewElement;
367
436
  "p-progress-bar": HTMLPProgressBarElement;
368
437
  "p-slider": HTMLPSliderElement;
369
438
  "p-switch": HTMLPSwitchElement;
370
439
  "p-switch-tile": HTMLPSwitchTileElement;
440
+ "p-tab": HTMLPTabElement;
441
+ "p-tabs": HTMLPTabsElement;
371
442
  "p-tooltip": HTMLPTooltipElement;
372
443
  }
373
444
  }
@@ -447,6 +518,17 @@ declare namespace LocalJSX {
447
518
  interface PModalPreview {
448
519
  "title"?: boolean;
449
520
  }
521
+ interface PNotification {
522
+ "canclose"?: boolean;
523
+ "onClose"?: (event: PNotificationCustomEvent<string>) => void;
524
+ "text"?: string;
525
+ "timestamp"?: string;
526
+ "type"?: string;
527
+ }
528
+ interface PNotificationHandler {
529
+ }
530
+ interface PNotificationPreview {
531
+ }
450
532
  interface PProgressBar {
451
533
  "dark"?: boolean;
452
534
  "striped"?: boolean;
@@ -484,6 +566,14 @@ declare namespace LocalJSX {
484
566
  "onChange"?: (event: PSwitchTileCustomEvent<boolean>) => void;
485
567
  "uncheckedBackground"?: TileBackground;
486
568
  }
569
+ interface PTab {
570
+ "dark"?: boolean;
571
+ "selected"?: boolean;
572
+ "title"?: string;
573
+ }
574
+ interface PTabs {
575
+ "dark"?: boolean;
576
+ }
487
577
  interface PTooltip {
488
578
  "bottom"?: boolean;
489
579
  "disabled"?: boolean;
@@ -506,10 +596,15 @@ declare namespace LocalJSX {
506
596
  "p-leaf": PLeaf;
507
597
  "p-modal": PModal;
508
598
  "p-modal-preview": PModalPreview;
599
+ "p-notification": PNotification;
600
+ "p-notification-handler": PNotificationHandler;
601
+ "p-notification-preview": PNotificationPreview;
509
602
  "p-progress-bar": PProgressBar;
510
603
  "p-slider": PSlider;
511
604
  "p-switch": PSwitch;
512
605
  "p-switch-tile": PSwitchTile;
606
+ "p-tab": PTab;
607
+ "p-tabs": PTabs;
513
608
  "p-tooltip": PTooltip;
514
609
  }
515
610
  }
@@ -530,10 +625,15 @@ declare module "@stencil/core" {
530
625
  "p-leaf": LocalJSX.PLeaf & JSXBase.HTMLAttributes<HTMLPLeafElement>;
531
626
  "p-modal": LocalJSX.PModal & JSXBase.HTMLAttributes<HTMLPModalElement>;
532
627
  "p-modal-preview": LocalJSX.PModalPreview & JSXBase.HTMLAttributes<HTMLPModalPreviewElement>;
628
+ "p-notification": LocalJSX.PNotification & JSXBase.HTMLAttributes<HTMLPNotificationElement>;
629
+ "p-notification-handler": LocalJSX.PNotificationHandler & JSXBase.HTMLAttributes<HTMLPNotificationHandlerElement>;
630
+ "p-notification-preview": LocalJSX.PNotificationPreview & JSXBase.HTMLAttributes<HTMLPNotificationPreviewElement>;
533
631
  "p-progress-bar": LocalJSX.PProgressBar & JSXBase.HTMLAttributes<HTMLPProgressBarElement>;
534
632
  "p-slider": LocalJSX.PSlider & JSXBase.HTMLAttributes<HTMLPSliderElement>;
535
633
  "p-switch": LocalJSX.PSwitch & JSXBase.HTMLAttributes<HTMLPSwitchElement>;
536
634
  "p-switch-tile": LocalJSX.PSwitchTile & JSXBase.HTMLAttributes<HTMLPSwitchTileElement>;
635
+ "p-tab": LocalJSX.PTab & JSXBase.HTMLAttributes<HTMLPTabElement>;
636
+ "p-tabs": LocalJSX.PTabs & JSXBase.HTMLAttributes<HTMLPTabsElement>;
537
637
  "p-tooltip": LocalJSX.PTooltip & JSXBase.HTMLAttributes<HTMLPTooltipElement>;
538
638
  }
539
639
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amiceli/papierjs",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "Papercss web components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
package/readme.md CHANGED
@@ -23,16 +23,16 @@ Available components:
23
23
  - [X] Modals
24
24
  - [X] Switch / Switch Tile
25
25
  - [ ] NavBar
26
- - [ ] Tabs
26
+ - [X] Tabs
27
27
  - [X] Popover as tooltip
28
28
 
29
29
  Component features :
30
- - [X] dropdown since `v0.1.0`
30
+ - [X] dropdown since
31
31
  - [X] `p-leaf` allow to use papercss style anywhere
32
- - [ ] notification
32
+ - [X] notification
33
33
  - [ ] spinner
34
34
  - [ ] password
35
- - [X] accordion since `v0.4.0`
35
+ - [X] accordion
36
36
 
37
37
  ## Using papercss
38
38