@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
@@ -0,0 +1,90 @@
1
+ import { Host, h } from "@stencil/core";
2
+ export class PTab {
3
+ constructor() {
4
+ this.selected = false;
5
+ this.dark = false;
6
+ }
7
+ render() {
8
+ return (h(Host, { key: '29336150bccaf6a1ec95231fdfbc560c7027bdaf' }, h("div", { key: 'a55e95646d7772e26f7d65706e096271bd642fb2', class: {
9
+ papier: true,
10
+ 'is--selected': this.selected,
11
+ 'is--dark': this.dark,
12
+ } }, h("slot", { key: '79283e0f890d83ebf5ef388b78ac7d9a1a9dfb2c' }))));
13
+ }
14
+ static get is() { return "p-tab"; }
15
+ static get encapsulation() { return "shadow"; }
16
+ static get originalStyleUrls() {
17
+ return {
18
+ "$": ["tab.scss"]
19
+ };
20
+ }
21
+ static get styleUrls() {
22
+ return {
23
+ "$": ["tab.css"]
24
+ };
25
+ }
26
+ static get properties() {
27
+ return {
28
+ "title": {
29
+ "type": "string",
30
+ "mutable": false,
31
+ "complexType": {
32
+ "original": "string",
33
+ "resolved": "string",
34
+ "references": {}
35
+ },
36
+ "required": false,
37
+ "optional": false,
38
+ "docs": {
39
+ "tags": [],
40
+ "text": ""
41
+ },
42
+ "getter": false,
43
+ "setter": false,
44
+ "attribute": "title",
45
+ "reflect": false
46
+ },
47
+ "selected": {
48
+ "type": "boolean",
49
+ "mutable": true,
50
+ "complexType": {
51
+ "original": "boolean",
52
+ "resolved": "boolean",
53
+ "references": {}
54
+ },
55
+ "required": false,
56
+ "optional": true,
57
+ "docs": {
58
+ "tags": [],
59
+ "text": ""
60
+ },
61
+ "getter": false,
62
+ "setter": false,
63
+ "attribute": "selected",
64
+ "reflect": false,
65
+ "defaultValue": "false"
66
+ },
67
+ "dark": {
68
+ "type": "boolean",
69
+ "mutable": false,
70
+ "complexType": {
71
+ "original": "boolean",
72
+ "resolved": "boolean",
73
+ "references": {}
74
+ },
75
+ "required": false,
76
+ "optional": true,
77
+ "docs": {
78
+ "tags": [],
79
+ "text": ""
80
+ },
81
+ "getter": false,
82
+ "setter": false,
83
+ "attribute": "dark",
84
+ "reflect": false,
85
+ "defaultValue": "false"
86
+ }
87
+ };
88
+ }
89
+ }
90
+ //# sourceMappingURL=tab.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab.js","sourceRoot":"","sources":["../../../../src/components/tabs/tab/tab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAA;AAOxD,MAAM,OAAO,IAAI;IALjB;QASI,aAAQ,GAAa,KAAK,CAAA;QAE1B,SAAI,GAAa,KAAK,CAAA;KAiBzB;IAfG,MAAM;QACF,OAAO,CACH,EAAC,IAAI;YACD,4DACI,KAAK,EAAE;oBACH,MAAM,EAAE,IAAI;oBACZ,cAAc,EAAE,IAAI,CAAC,QAAQ;oBAC7B,UAAU,EAAE,IAAI,CAAC,IAAI;iBACxB;gBAED,8DAAQ,CACN,CACH,CACV,CAAA;IACL,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import { Component, Host, Prop, h } from '@stencil/core'\n\n@Component({\n tag: 'p-tab',\n styleUrl: 'tab.scss',\n shadow: true,\n})\nexport class PTab {\n @Prop()\n title: string\n @Prop({ mutable: true })\n selected?: boolean = false\n @Prop()\n dark?: boolean = false\n\n render() {\n return (\n <Host>\n <div\n class={{\n papier: true,\n 'is--selected': this.selected,\n 'is--dark': this.dark,\n }}\n >\n <slot />\n </div>\n </Host>\n )\n }\n}\n"]}