@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.
- package/dist/cjs/{index-82a72b67.js → index-875ceae0.js} +47 -6
- package/dist/cjs/index-875ceae0.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/p-accordion.cjs.entry.js +4 -4
- package/dist/cjs/p-alert.cjs.entry.js +2 -2
- package/dist/cjs/p-badge.cjs.entry.js +2 -2
- package/dist/cjs/p-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/p-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/{p-dropdown_2.cjs.entry.js → p-button_3.cjs.entry.js} +55 -6
- package/dist/cjs/p-button_3.cjs.entry.js.map +1 -0
- package/dist/cjs/p-dropdown-preview.cjs.entry.js +2 -2
- package/dist/cjs/p-input-text.cjs.entry.js +2 -2
- package/dist/cjs/p-leaf.cjs.entry.js +2 -2
- package/dist/cjs/p-modal-preview.cjs.entry.js +2 -2
- package/dist/cjs/p-modal.cjs.entry.js +31 -0
- package/dist/cjs/p-modal.cjs.entry.js.map +1 -0
- package/dist/cjs/p-notification-handler.cjs.entry.js +57 -0
- package/dist/cjs/p-notification-handler.cjs.entry.js.map +1 -0
- package/dist/cjs/p-notification-preview.cjs.entry.js +41 -0
- package/dist/cjs/p-notification-preview.cjs.entry.js.map +1 -0
- package/dist/cjs/p-notification.cjs.entry.js +64 -0
- package/dist/cjs/p-notification.cjs.entry.js.map +1 -0
- package/dist/cjs/p-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/p-slider.cjs.entry.js +3 -3
- package/dist/cjs/p-switch-tile.cjs.entry.js +3 -3
- package/dist/cjs/p-switch.cjs.entry.js +4 -4
- package/dist/cjs/p-tab.cjs.entry.js +28 -0
- package/dist/cjs/p-tab.cjs.entry.js.map +1 -0
- package/dist/cjs/p-tabs.cjs.entry.js +66 -0
- package/dist/cjs/p-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/papierjs.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +5 -0
- package/dist/collection/components/accordion/accordion.js +3 -3
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/badge/badge.js +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb/breadcrumb.js +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb-item/breadcrumb-item.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/dropdown/dropdown/dropdown.js +2 -2
- package/dist/collection/components/dropdown/dropdown/stories/dropdown.preview.js +1 -1
- package/dist/collection/components/dropdown/dropdown-item/dropdown-item.js +2 -2
- package/dist/collection/components/form/input-text/input-text.js +1 -1
- package/dist/collection/components/form/slider/sliders.js +2 -2
- package/dist/collection/components/form/switch/switch.js +3 -3
- package/dist/collection/components/form/switch-tile/switch-tile.js +2 -2
- package/dist/collection/components/leaf/leaf.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/stories/modal.preview.js +1 -1
- package/dist/collection/components/notification/p-notification/p-notification.css +3260 -0
- package/dist/collection/components/notification/p-notification/p-notification.js +164 -0
- package/dist/collection/components/notification/p-notification/p-notification.js.map +1 -0
- package/dist/collection/components/notification/p-notification-handler/p-notification-handler.css +13 -0
- package/dist/collection/components/notification/p-notification-handler/p-notification-handler.js +100 -0
- package/dist/collection/components/notification/p-notification-handler/p-notification-handler.js.map +1 -0
- package/dist/collection/components/notification/p-notification-handler/stories/p-notification-preview.js +36 -0
- package/dist/collection/components/notification/p-notification-handler/stories/p-notification-preview.js.map +1 -0
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/tabs/tab/tab.css +3381 -0
- package/dist/collection/components/tabs/tab/tab.js +90 -0
- package/dist/collection/components/tabs/tab/tab.js.map +1 -0
- package/dist/collection/components/tabs/tabs/tabs.css +3229 -0
- package/dist/collection/components/tabs/tabs/tabs.js +98 -0
- package/dist/collection/components/tabs/tabs/tabs.js.map +1 -0
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-44ddcae9.js → p-3e858546.js} +3 -3
- package/dist/components/{p-44ddcae9.js.map → p-3e858546.js.map} +1 -1
- package/dist/components/{p-ee5f2278.js → p-51fafe64.js} +4 -4
- package/dist/components/{p-ee5f2278.js.map → p-51fafe64.js.map} +1 -1
- package/dist/components/{p-1754e5cb.js → p-555df865.js} +3 -3
- package/dist/components/{p-1754e5cb.js.map → p-555df865.js.map} +1 -1
- package/dist/components/p-accordion.js +4 -4
- package/dist/components/{p-eea4fbc1.js → p-af62ba98.js} +23 -2
- package/dist/components/p-af62ba98.js.map +1 -0
- package/dist/components/p-alert.js +2 -2
- package/dist/components/p-badge.js +2 -2
- package/dist/components/p-breadcrumb-item.js +2 -2
- package/dist/components/p-breadcrumb.js +2 -2
- package/dist/components/p-button.js +1 -1
- package/dist/components/p-c3c46963.js +78 -0
- package/dist/components/p-c3c46963.js.map +1 -0
- package/dist/components/{p-18fc6353.js → p-c8138bbd.js} +4 -4
- package/dist/components/{p-18fc6353.js.map → p-c8138bbd.js.map} +1 -1
- package/dist/components/p-dropdown-item.js +1 -1
- package/dist/components/p-dropdown-preview.js +6 -6
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/p-ef7a623f.js +81 -0
- package/dist/components/p-ef7a623f.js.map +1 -0
- package/dist/components/p-input-text.js +2 -2
- package/dist/components/p-leaf.js +2 -2
- package/dist/components/p-modal-preview.js +4 -4
- package/dist/components/p-modal.js +1 -1
- package/dist/components/p-notification-handler.d.ts +11 -0
- package/dist/components/p-notification-handler.js +8 -0
- package/dist/components/p-notification-handler.js.map +1 -0
- package/dist/components/p-notification-preview.d.ts +11 -0
- package/dist/components/p-notification-preview.js +87 -0
- package/dist/components/p-notification-preview.js.map +1 -0
- package/dist/components/p-notification.d.ts +11 -0
- package/dist/components/p-notification.js +8 -0
- package/dist/components/p-notification.js.map +1 -0
- package/dist/components/p-progress-bar.js +2 -2
- package/dist/components/p-slider.js +3 -3
- package/dist/components/p-switch-tile.js +3 -3
- package/dist/components/p-switch.js +4 -4
- package/dist/components/p-tab.d.ts +11 -0
- package/dist/components/p-tab.js +47 -0
- package/dist/components/p-tab.js.map +1 -0
- package/dist/components/p-tabs.d.ts +11 -0
- package/dist/components/p-tabs.js +85 -0
- package/dist/components/p-tabs.js.map +1 -0
- package/dist/components/p-tooltip.js +2 -2
- package/dist/esm/{index-4646b002.js → index-7ee4e700.js} +47 -6
- package/dist/esm/index-7ee4e700.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/p-accordion.entry.js +4 -4
- package/dist/esm/p-alert.entry.js +2 -2
- package/dist/esm/p-badge.entry.js +2 -2
- package/dist/esm/p-breadcrumb-item.entry.js +2 -2
- package/dist/esm/p-breadcrumb.entry.js +2 -2
- package/dist/esm/{p-dropdown_2.entry.js → p-button_3.entry.js} +55 -7
- package/dist/esm/p-button_3.entry.js.map +1 -0
- package/dist/esm/p-dropdown-preview.entry.js +2 -2
- package/dist/esm/p-input-text.entry.js +2 -2
- package/dist/esm/p-leaf.entry.js +2 -2
- package/dist/esm/p-modal-preview.entry.js +2 -2
- package/dist/esm/p-modal.entry.js +27 -0
- package/dist/esm/p-modal.entry.js.map +1 -0
- package/dist/esm/p-notification-handler.entry.js +53 -0
- package/dist/esm/p-notification-handler.entry.js.map +1 -0
- package/dist/esm/p-notification-preview.entry.js +37 -0
- package/dist/esm/p-notification-preview.entry.js.map +1 -0
- package/dist/esm/p-notification.entry.js +60 -0
- package/dist/esm/p-notification.entry.js.map +1 -0
- package/dist/esm/p-progress-bar.entry.js +2 -2
- package/dist/esm/p-slider.entry.js +3 -3
- package/dist/esm/p-switch-tile.entry.js +3 -3
- package/dist/esm/p-switch.entry.js +4 -4
- package/dist/esm/p-tab.entry.js +24 -0
- package/dist/esm/p-tab.entry.js.map +1 -0
- package/dist/esm/p-tabs.entry.js +62 -0
- package/dist/esm/p-tabs.entry.js.map +1 -0
- package/dist/esm/p-tooltip.entry.js +2 -2
- package/dist/esm/papierjs.js +3 -3
- package/dist/papierjs/{p-f21b09d8.entry.js → p-21ae2040.entry.js} +2 -2
- package/dist/papierjs/{p-005736fe.entry.js → p-3149398f.entry.js} +2 -2
- package/dist/papierjs/p-34a520d8.js +3 -0
- package/dist/papierjs/p-34a520d8.js.map +1 -0
- package/dist/papierjs/p-4de54c9d.entry.js +2 -0
- package/dist/papierjs/p-4de54c9d.entry.js.map +1 -0
- package/dist/papierjs/p-4e8985c5.entry.js +2 -0
- package/dist/papierjs/p-4e8985c5.entry.js.map +1 -0
- package/dist/papierjs/{p-08ab91b8.entry.js → p-4ef52ae1.entry.js} +2 -2
- package/dist/papierjs/{p-6fd657de.entry.js → p-55975574.entry.js} +2 -2
- package/dist/papierjs/p-57f13bee.entry.js +2 -0
- package/dist/papierjs/p-5e68bd6c.entry.js +2 -0
- package/dist/papierjs/p-5e68bd6c.entry.js.map +1 -0
- package/dist/papierjs/{p-8a2f9883.entry.js → p-743abca9.entry.js} +2 -2
- package/dist/papierjs/p-7b6c5a15.entry.js +2 -0
- package/dist/papierjs/p-7b6c5a15.entry.js.map +1 -0
- package/dist/papierjs/{p-2a173336.entry.js → p-963f21b8.entry.js} +2 -2
- package/dist/papierjs/p-a2523f10.entry.js +2 -0
- package/dist/papierjs/p-a2523f10.entry.js.map +1 -0
- package/dist/papierjs/{p-d98c84b2.entry.js → p-a40b185f.entry.js} +2 -2
- package/dist/papierjs/{p-dfbbdb7b.entry.js → p-acf916fa.entry.js} +2 -2
- package/dist/papierjs/{p-ba661e41.entry.js → p-b783633d.entry.js} +2 -2
- package/dist/papierjs/p-bc16a85a.entry.js +2 -0
- package/dist/papierjs/p-bc16a85a.entry.js.map +1 -0
- package/dist/papierjs/{p-deb8c796.entry.js → p-d583fd92.entry.js} +2 -2
- package/dist/papierjs/{p-5a7955a5.entry.js → p-d9e3c9ca.entry.js} +2 -2
- package/dist/papierjs/{p-e6765c48.entry.js → p-edbf5d19.entry.js} +2 -2
- package/dist/papierjs/p-ef8536b9.entry.js +2 -0
- package/dist/papierjs/p-ef8536b9.entry.js.map +1 -0
- package/dist/papierjs/{p-3231294d.entry.js → p-f7bc7154.entry.js} +2 -2
- package/dist/papierjs/papierjs.esm.js +1 -1
- package/dist/papierjs/papierjs.esm.js.map +1 -1
- package/dist/types/components/notification/p-notification/p-notification.d.ts +16 -0
- package/dist/types/components/notification/p-notification-handler/p-notification-handler.d.ts +18 -0
- package/dist/types/components/notification/p-notification-handler/stories/p-notification-preview.d.ts +7 -0
- package/dist/types/components/tabs/tab/tab.d.ts +6 -0
- package/dist/types/components/tabs/tabs/tabs.d.ts +15 -0
- package/dist/types/components.d.ts +100 -0
- package/package.json +1 -1
- package/readme.md +4 -4
- package/dist/cjs/index-82a72b67.js.map +0 -1
- package/dist/cjs/p-button_2.cjs.entry.js +0 -80
- package/dist/cjs/p-button_2.cjs.entry.js.map +0 -1
- package/dist/cjs/p-dropdown_2.cjs.entry.js.map +0 -1
- package/dist/components/p-eea4fbc1.js.map +0 -1
- package/dist/esm/index-4646b002.js.map +0 -1
- package/dist/esm/p-button_2.entry.js +0 -75
- package/dist/esm/p-button_2.entry.js.map +0 -1
- package/dist/esm/p-dropdown_2.entry.js.map +0 -1
- package/dist/papierjs/p-2f044192.entry.js +0 -2
- package/dist/papierjs/p-2f044192.entry.js.map +0 -1
- package/dist/papierjs/p-4ed82d68.js +0 -3
- package/dist/papierjs/p-4ed82d68.js.map +0 -1
- package/dist/papierjs/p-a3c7e705.entry.js +0 -2
- package/dist/papierjs/p-fc85498a.entry.js +0 -2
- package/dist/papierjs/p-fc85498a.entry.js.map +0 -1
- /package/dist/papierjs/{p-f21b09d8.entry.js.map → p-21ae2040.entry.js.map} +0 -0
- /package/dist/papierjs/{p-005736fe.entry.js.map → p-3149398f.entry.js.map} +0 -0
- /package/dist/papierjs/{p-08ab91b8.entry.js.map → p-4ef52ae1.entry.js.map} +0 -0
- /package/dist/papierjs/{p-6fd657de.entry.js.map → p-55975574.entry.js.map} +0 -0
- /package/dist/papierjs/{p-a3c7e705.entry.js.map → p-57f13bee.entry.js.map} +0 -0
- /package/dist/papierjs/{p-8a2f9883.entry.js.map → p-743abca9.entry.js.map} +0 -0
- /package/dist/papierjs/{p-2a173336.entry.js.map → p-963f21b8.entry.js.map} +0 -0
- /package/dist/papierjs/{p-d98c84b2.entry.js.map → p-a40b185f.entry.js.map} +0 -0
- /package/dist/papierjs/{p-dfbbdb7b.entry.js.map → p-acf916fa.entry.js.map} +0 -0
- /package/dist/papierjs/{p-ba661e41.entry.js.map → p-b783633d.entry.js.map} +0 -0
- /package/dist/papierjs/{p-deb8c796.entry.js.map → p-d583fd92.entry.js.map} +0 -0
- /package/dist/papierjs/{p-5a7955a5.entry.js.map → p-d9e3c9ca.entry.js.map} +0 -0
- /package/dist/papierjs/{p-e6765c48.entry.js.map → p-edbf5d19.entry.js.map} +0 -0
- /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"]}
|