@amiceli/papierjs 0.0.1

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 (89) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +52 -0
  3. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  4. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  5. package/dist/cjs/index-028aee0a.js +1292 -0
  6. package/dist/cjs/index-028aee0a.js.map +1 -0
  7. package/dist/cjs/index.cjs.js +4 -0
  8. package/dist/cjs/index.cjs.js.map +1 -0
  9. package/dist/cjs/loader.cjs.js +17 -0
  10. package/dist/cjs/loader.cjs.js.map +1 -0
  11. package/dist/cjs/p-alert.cjs.entry.js +52 -0
  12. package/dist/cjs/p-alert.cjs.entry.js.map +1 -0
  13. package/dist/cjs/p-button.cjs.entry.js +57 -0
  14. package/dist/cjs/p-button.cjs.entry.js.map +1 -0
  15. package/dist/cjs/p-progress-bar.cjs.entry.js +54 -0
  16. package/dist/cjs/p-progress-bar.cjs.entry.js.map +1 -0
  17. package/dist/cjs/papierjs.cjs.js +27 -0
  18. package/dist/cjs/papierjs.cjs.js.map +1 -0
  19. package/dist/collection/collection-manifest.json +14 -0
  20. package/dist/collection/components/alert/alert.css +3448 -0
  21. package/dist/collection/components/alert/alert.js +138 -0
  22. package/dist/collection/components/alert/alert.js.map +1 -0
  23. package/dist/collection/components/button/button.css +3438 -0
  24. package/dist/collection/components/button/button.js +206 -0
  25. package/dist/collection/components/button/button.js.map +1 -0
  26. package/dist/collection/components/progress-bar/progress-bar.css +3438 -0
  27. package/dist/collection/components/progress-bar/progress-bar.js +143 -0
  28. package/dist/collection/components/progress-bar/progress-bar.js.map +1 -0
  29. package/dist/collection/index.js +2 -0
  30. package/dist/collection/index.js.map +1 -0
  31. package/dist/components/index.d.ts +33 -0
  32. package/dist/components/index.js +3 -0
  33. package/dist/components/index.js.map +1 -0
  34. package/dist/components/p-5ec03f76.js +1074 -0
  35. package/dist/components/p-5ec03f76.js.map +1 -0
  36. package/dist/components/p-alert.d.ts +11 -0
  37. package/dist/components/p-alert.js +71 -0
  38. package/dist/components/p-alert.js.map +1 -0
  39. package/dist/components/p-button.d.ts +11 -0
  40. package/dist/components/p-button.js +80 -0
  41. package/dist/components/p-button.js.map +1 -0
  42. package/dist/components/p-progress-bar.d.ts +11 -0
  43. package/dist/components/p-progress-bar.js +74 -0
  44. package/dist/components/p-progress-bar.js.map +1 -0
  45. package/dist/esm/app-globals-0f993ce5.js +5 -0
  46. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  47. package/dist/esm/index-ad124052.js +1265 -0
  48. package/dist/esm/index-ad124052.js.map +1 -0
  49. package/dist/esm/index.js +3 -0
  50. package/dist/esm/index.js.map +1 -0
  51. package/dist/esm/loader.js +13 -0
  52. package/dist/esm/loader.js.map +1 -0
  53. package/dist/esm/p-alert.entry.js +48 -0
  54. package/dist/esm/p-alert.entry.js.map +1 -0
  55. package/dist/esm/p-button.entry.js +53 -0
  56. package/dist/esm/p-button.entry.js.map +1 -0
  57. package/dist/esm/p-progress-bar.entry.js +50 -0
  58. package/dist/esm/p-progress-bar.entry.js.map +1 -0
  59. package/dist/esm/papierjs.js +22 -0
  60. package/dist/esm/papierjs.js.map +1 -0
  61. package/dist/index.cjs.js +1 -0
  62. package/dist/index.js +1 -0
  63. package/dist/papierjs/index.esm.js +2 -0
  64. package/dist/papierjs/index.esm.js.map +1 -0
  65. package/dist/papierjs/p-14f67b19.entry.js +2 -0
  66. package/dist/papierjs/p-14f67b19.entry.js.map +1 -0
  67. package/dist/papierjs/p-8ae1632f.entry.js +2 -0
  68. package/dist/papierjs/p-8ae1632f.entry.js.map +1 -0
  69. package/dist/papierjs/p-be2fe2c0.js +3 -0
  70. package/dist/papierjs/p-be2fe2c0.js.map +1 -0
  71. package/dist/papierjs/p-d1c3c0ac.entry.js +2 -0
  72. package/dist/papierjs/p-d1c3c0ac.entry.js.map +1 -0
  73. package/dist/papierjs/p-e1255160.js +2 -0
  74. package/dist/papierjs/p-e1255160.js.map +1 -0
  75. package/dist/papierjs/papierjs.esm.js +2 -0
  76. package/dist/papierjs/papierjs.esm.js.map +1 -0
  77. package/dist/types/components/alert/alert.d.ts +13 -0
  78. package/dist/types/components/button/button.d.ts +14 -0
  79. package/dist/types/components/progress-bar/progress-bar.d.ts +11 -0
  80. package/dist/types/components.d.ts +107 -0
  81. package/dist/types/index.d.ts +10 -0
  82. package/dist/types/stencil-public-runtime.d.ts +1680 -0
  83. package/loader/cdn.js +1 -0
  84. package/loader/index.cjs.js +1 -0
  85. package/loader/index.d.ts +24 -0
  86. package/loader/index.es2017.js +1 -0
  87. package/loader/index.js +2 -0
  88. package/loader/package.json +11 -0
  89. package/package.json +80 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +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IuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square)](https://stenciljs.com)
2
+
3
+ <p align="center">
4
+ <img src="https://raw.githubusercontent.com/amiceli/papierjs/refs/heads/main/src/assets/papierjs.webp" width="100" />
5
+ </p>
6
+
7
+ # papierjs - papercss with web components
8
+
9
+ papierjs *(papier is paper in french)* provides web component built with stencil with
10
+ papercss style.
11
+
12
+ papierjs will implements new components not in papercss like dropdown.
13
+
14
+ Available components:
15
+ - Button
16
+ - Alert
17
+ - Progress bar
18
+
19
+ Component ideas :
20
+ - [ ] dropdown
21
+ - [ ] notification
22
+ - [ ] spinner
23
+ - [ ] password
24
+
25
+ ## Install
26
+
27
+ npm install @amiceli/papierjs -S
28
+
29
+ Init components :
30
+
31
+ ```javascript
32
+ import { defineCustomElements } from '@amiceli/papierjs'
33
+
34
+ defineCustomElements()
35
+ ```
36
+
37
+ ## To run project
38
+
39
+ To build project :
40
+
41
+ ```bash
42
+ npm install
43
+ npm run build
44
+ npm run build-storybook
45
+ ```
46
+
47
+ To run storybook :
48
+
49
+ ```bash
50
+ npm run build:watch
51
+ npm run storybook
52
+ ```
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ const globalScripts = () => {};
4
+
5
+ exports.globalScripts = globalScripts;
6
+
7
+ //# sourceMappingURL=app-globals-3a1e7e63.js.map
@@ -0,0 +1 @@
1
+ {"file":"app-globals-3a1e7e63.js","mappings":";;AAAY,MAAC,aAAa,GAAG,MAAM;;;;","names":[],"sources":["@stencil/core/internal/app-globals"],"sourcesContent":["export const globalScripts = () => {};\n"],"version":3}