@lukso/web-components 1.0.4 → 1.0.6

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/CHANGELOG.md ADDED
@@ -0,0 +1,110 @@
1
+ # Changelog
2
+
3
+ ## [1.0.6](https://github.com/lukso-network/tools-web-components/compare/v1.0.5...v1.0.6) (2023-01-23)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * tinycolor2 must be a regular dependency ([98489b6](https://github.com/lukso-network/tools-web-components/commit/98489b6aeb5d6dc693b35fc4892cd665f3321789))
9
+
10
+ ## [1.0.5](https://github.com/lukso-network/tools-web-components/compare/v1.0.4...v1.0.5) (2023-01-23)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * Missing cjs files at the root ([7031fbd](https://github.com/lukso-network/tools-web-components/commit/7031fbdd5d54e17f25c4a470098bac8966a870aa))
16
+ * Remove old publish action (has an old node version) ([62ef12b](https://github.com/lukso-network/tools-web-components/commit/62ef12bae40b6be0c2580dc4a8570c02f9443844))
17
+ * Use yarn npm publish but write token into .yarnrc.yml ([5bc595e](https://github.com/lukso-network/tools-web-components/commit/5bc595ea57cc0383868b4cf85148b5cc026ba458))
18
+
19
+ ## [1.0.4](https://github.com/lukso-network/tools-web-components/compare/v1.0.3...v1.0.4) (2023-01-23)
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * publish cannot depend on build if build is optional. ([90d4797](https://github.com/lukso-network/tools-web-components/commit/90d479761c073a935e229fbeace355fd640669e7))
25
+
26
+ ## [1.0.3](https://github.com/lukso-network/tools-web-components/compare/v1.0.2...v1.0.3) (2023-01-22)
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * Build using bundle of only color-palette ([e68753c](https://github.com/lukso-network/tools-web-components/commit/e68753c3d640ea3c2ce52920fe7a8859ee7a6d3c))
32
+ * Exclude some prettier, for json ([bc0cba3](https://github.com/lukso-network/tools-web-components/commit/bc0cba31cc1167115e81ca2ec81eed7df11ab2cc))
33
+ * Need to adjust font references ([bfba6c0](https://github.com/lukso-network/tools-web-components/commit/bfba6c07f81310fa6bbc9ae0c9df10f9c07baec6))
34
+ * Rename fonts to never contains spaces ([1e77391](https://github.com/lukso-network/tools-web-components/commit/1e77391b20d6dba145785a4c87a973d304834821))
35
+ * Rethink the way we do exports 'add shim files' ([a7dbbf6](https://github.com/lukso-network/tools-web-components/commit/a7dbbf63e1996db60ccf045af2409d51f6c6c719))
36
+
37
+ ## [1.0.2](https://github.com/lukso-network/tools-web-components/compare/v1.0.1...v1.0.2) (2023-01-18)
38
+
39
+
40
+ ### Bug Fixes
41
+
42
+ * Prettier for changelog and publish npm after test ([#5](https://github.com/lukso-network/tools-web-components/issues/5)) ([8cdd3c1](https://github.com/lukso-network/tools-web-components/commit/8cdd3c1236fcbd7775f220ecd87b224c7a03df12))
43
+
44
+ ## [1.0.1](https://github.com/lukso-network/tools-web-components/compare/v1.0.0...v1.0.1) (2023-01-18)
45
+
46
+
47
+ ### Bug Fixes
48
+
49
+ * Compile tailwind and postcss configs ([271610f](https://github.com/lukso-network/tools-web-components/commit/271610f9c7bb057d1b53c6abce8f96e3ad610664))
50
+
51
+ ## 1.0.0 (2023-01-18)
52
+
53
+
54
+ ### Features
55
+
56
+ * Add some animation for testing ([3bfc62a](https://github.com/lukso-network/tools-web-components/commit/3bfc62a5be74e4cc1273750bbecc95a035165138))
57
+ * Attempt to work with play functions. ([53c607e](https://github.com/lukso-network/tools-web-components/commit/53c607e9953a0ead998c492a285ef4ce3762d3f8))
58
+ * button component, colors and typography ([#3](https://github.com/lukso-network/tools-web-components/issues/3)) ([2c169c4](https://github.com/lukso-network/tools-web-components/commit/2c169c4844ac040849eabc7cf305787716b2965c))
59
+
60
+
61
+ ### Bug Fixes
62
+
63
+ * Abort other deploy actions ([5c094a8](https://github.com/lukso-network/tools-web-components/commit/5c094a82e6e709d82120081b2b34a72e208ec2a6))
64
+ * Add .gitignore ([c3930b3](https://github.com/lukso-network/tools-web-components/commit/c3930b3054b86a62c81001b197a186acc480a30e))
65
+ * Add a local playwright ([e9d53ed](https://github.com/lukso-network/tools-web-components/commit/e9d53edbec919e4a296eded8847c7fdf8456304d))
66
+ * Add a sample disbled property with a controller inside of storybook ([9be209f](https://github.com/lukso-network/tools-web-components/commit/9be209f4c0a414c85249ec1e3480f01975c458fb))
67
+ * Add initial deployment/ci scripts. ([c2137bf](https://github.com/lukso-network/tools-web-components/commit/c2137bf5d0235f4dfcf35e305ded9d865062e144))
68
+ * Add more config to be able to publish npm ([c5b697d](https://github.com/lukso-network/tools-web-components/commit/c5b697da883ed76e26aa721b9ad4c781df6d3fe6))
69
+ * Add prettier, stylelint and eslint configs. ([240a6a4](https://github.com/lukso-network/tools-web-components/commit/240a6a49dbcaef2413739b05c4f8fa402fd6fe5b))
70
+ * Add release-please process. Modify to remove merge to main, notify and artifacts. Add npm publish ([#1](https://github.com/lukso-network/tools-web-components/issues/1)) ([7b03229](https://github.com/lukso-network/tools-web-components/commit/7b03229f6bf3bb58317549a5fca45e39f449aabe))
71
+ * Add some tracing because yarn test is just stuck in ci ([bd20c16](https://github.com/lukso-network/tools-web-components/commit/bd20c16ae8d0bf123705ab5d09caa93478f583de))
72
+ * Adjust prettier config ([2456b60](https://github.com/lukso-network/tools-web-components/commit/2456b6068ab9d09932231968b2624929ff101ba1))
73
+ * Component rename and cleanup in package.json ([e98bb4c](https://github.com/lukso-network/tools-web-components/commit/e98bb4ca981c22d51b94b95a51d95e9e410e0517))
74
+ * Deploy was pointing to wrong folder ([775b086](https://github.com/lukso-network/tools-web-components/commit/775b086200664d7b081ae4448e1147926226dc9e))
75
+ * Enable addon-controls ([c57aeda](https://github.com/lukso-network/tools-web-components/commit/c57aedaf595badd905be8f92ce53963b1c70b5d5))
76
+ * Finalize switch to vite ([c40ea50](https://github.com/lukso-network/tools-web-components/commit/c40ea5067c6d7c544f1f8a69107c56a1a905e04a))
77
+ * Fix eslint errors. ([af10324](https://github.com/lukso-network/tools-web-components/commit/af10324c923d3e865e390fe72b9913e3714d2917))
78
+ * Format prettier ([da388b3](https://github.com/lukso-network/tools-web-components/commit/da388b33dc337dc18e464490d8eac88e077ed651))
79
+ * hosts file doesn't seem to have localhost alias ([aebb645](https://github.com/lukso-network/tools-web-components/commit/aebb64555f4284a64d1d949cecf76d099ba6089b))
80
+ * Husky ([b0fd703](https://github.com/lukso-network/tools-web-components/commit/b0fd7035a88d23d5a9eb3deee19854a92b7ada0d))
81
+ * Ignore storybook-static when publishing npm ([7f3d4d1](https://github.com/lukso-network/tools-web-components/commit/7f3d4d1fecd93ec7ab93b2482dc2c722b6680ce9))
82
+ * Improve docs. ([acb58a5](https://github.com/lukso-network/tools-web-components/commit/acb58a5f6a776a8b9ab394ef613b1377f5a35f56))
83
+ * Indentation of the github workflow ([c4cd485](https://github.com/lukso-network/tools-web-components/commit/c4cd48595a9707d2bc9cdb9d9647840b87bf3abe))
84
+ * Make sure controls work in both components ([7d2c464](https://github.com/lukso-network/tools-web-components/commit/7d2c464debf1b73495e672445113d17b71f1fbaa))
85
+ * Make wait verbose and specify 127.0.0.1 ([3e7e166](https://github.com/lukso-network/tools-web-components/commit/3e7e166523713e57209959e769bf9105f9bdd4cf))
86
+ * Mark components as public ([8ecb744](https://github.com/lukso-network/tools-web-components/commit/8ecb74422e86dc4787da1961e48ae253b02a088d))
87
+ * Mark package as public everywhere. ([303ba37](https://github.com/lukso-network/tools-web-components/commit/303ba379161eb910b1f23e1219a9ebec2a5d7df0))
88
+ * Mess around with some animations and hover class from tailwinds. ([034f431](https://github.com/lukso-network/tools-web-components/commit/034f4318b280c9c9a2897b8d1bc22646e9d1ddcd))
89
+ * Needs to use beta for testing ([5a071ef](https://github.com/lukso-network/tools-web-components/commit/5a071ef89515be16c7676a930dbdf70374af9c1f))
90
+ * Play around with storybook (lit is not fully supported) ([3bc6865](https://github.com/lukso-network/tools-web-components/commit/3bc6865cd92d585e04499827491d16ff0688e51c))
91
+ * pnpm up ([b2ec439](https://github.com/lukso-network/tools-web-components/commit/b2ec4399fbd876b9bd444f86ca9b452cc7b2b881))
92
+ * Prettier ([e71b16d](https://github.com/lukso-network/tools-web-components/commit/e71b16d09f736b84eecfd8ddfa511108e7eb8e1e))
93
+ * prettier (somehow not engaged in my vscode) ([962c5bb](https://github.com/lukso-network/tools-web-components/commit/962c5bb818c084d84ecf5d223e1bad68f75fd462))
94
+ * Refactor to use elements. ([1968a96](https://github.com/lukso-network/tools-web-components/commit/1968a96c647f5d189886ab86a4bf75e9273f716c))
95
+ * Release process develop => main ([35e53d6](https://github.com/lukso-network/tools-web-components/commit/35e53d6e6cd6b95a11143a8db7fccf4d1d561dba))
96
+ * Remove main folder ([95735d7](https://github.com/lukso-network/tools-web-components/commit/95735d76212af3ab2a3a542ec319d106307dc8f4))
97
+ * Remove testing for disabled ([dad6bd5](https://github.com/lukso-network/tools-web-components/commit/dad6bd5fe1043c09173c6d055e40cfffaecc6cd5))
98
+ * Remove unused web-components ([d2be85e](https://github.com/lukso-network/tools-web-components/commit/d2be85edb48932e85889bdb4b442e110aa1dbf35))
99
+ * Setup correct build ([76dd6c2](https://github.com/lukso-network/tools-web-components/commit/76dd6c255dd86de2fb61089b128dd4c86b3253bb))
100
+ * Some more cleanup to make sure props can be dynamic ([94eef62](https://github.com/lukso-network/tools-web-components/commit/94eef6203d373a2e01f230d1782592394f5cf8e5))
101
+ * Temporarily use /lukso-components prefix until we have a CNAME ([058ef26](https://github.com/lukso-network/tools-web-components/commit/058ef263e0ae7145ddba8d54ce88104b37a1760d))
102
+ * Test vite for storybook build. ([30ae016](https://github.com/lukso-network/tools-web-components/commit/30ae01637aefaa307f0a9f2a3da77bd085734a50))
103
+ * Trailing LF ([99294aa](https://github.com/lukso-network/tools-web-components/commit/99294aad1a34859ee3e70e6c79cb6a6548c8d304))
104
+ * Try playwright install ([950bfd7](https://github.com/lukso-network/tools-web-components/commit/950bfd790879e7a00aa574ef26a37c514399dc29))
105
+ * Try to create a components folder. ([20c9004](https://github.com/lukso-network/tools-web-components/commit/20c9004d326a2e8ca9ad3e846fa02be373dfc0cf))
106
+ * Try to create an npm module ([9c0f814](https://github.com/lukso-network/tools-web-components/commit/9c0f81422140347d15886963d325755fe0945ab5))
107
+ * Upgrade npm-publish ([3e42243](https://github.com/lukso-network/tools-web-components/commit/3e42243e92b33da04518610e4bd41a02bfd337c7))
108
+ * Upgrade to 7.0.0 so the next upgrade will automatically move off of beta. ([f99606d](https://github.com/lukso-network/tools-web-components/commit/f99606d1b4cb7fb7aa2f0a23d213823056f135bd))
109
+ * Upgrade to yarn ([adb6bd9](https://github.com/lukso-network/tools-web-components/commit/adb6bd9943e7433a1fa3cd9ae5271c68a66fc188))
110
+ * Vite src/index.ts writing didn't match prettier config ([ccee70f](https://github.com/lukso-network/tools-web-components/commit/ccee70f4cb3ccde3c87da6dbee3228d340cecc38))
package/package.json CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "@lukso/web-components",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist/",
7
7
  "src/",
8
8
  "tools/",
9
- "dist/assets/*"
9
+ "dist/assets/*",
10
+ "tailwind.config.cjs",
11
+ "postcss.config.cjs",
12
+ "README.md"
10
13
  ],
11
14
  "main": "./dist/index.cjs",
12
15
  "module": "./dist/index.js",
@@ -18,6 +21,7 @@
18
21
  "types": "./dist/index.d.ts"
19
22
  },
20
23
  "./tailwind.config": "./tailwind.config.cjs",
24
+ "./postcss.config": "./postcss.config.cjs",
21
25
  "./assets/fonts/": "./dist/assets/fonts/",
22
26
  "./assets/fonts": {
23
27
  "require": "./dist/assets/fonts/index.cjs",
@@ -137,13 +141,15 @@
137
141
  "stylelint-config-standard-scss": "^6.1.0",
138
142
  "stylelint-prettier": "^2.0.0",
139
143
  "tailwindcss": "^3.2.4",
140
- "tinycolor2": "^1.5.2",
141
144
  "typescript": "^4.9.4",
142
145
  "typescript-bundle": "^1.0.18",
143
146
  "vite": "^4.0.4",
144
147
  "vite-plugin-static-copy": "^0.13.0",
145
148
  "wait-on": "^7.0.1"
146
149
  },
150
+ "dependencies": {
151
+ "tinycolor2": "^1.5.2"
152
+ },
147
153
  "packageManager": "yarn@3.3.1",
148
154
  "customElements": "custom-elements.json"
149
- }
155
+ }
@@ -0,0 +1,6 @@
1
+ module.exports = {
2
+ plugins: {
3
+ tailwindcss: {},
4
+ autoprefixer: {},
5
+ },
6
+ }
@@ -0,0 +1,60 @@
1
+ const { colorPalette } = require('./tools/color-palette.cjs')
2
+
3
+ module.exports = {
4
+ content: ['**/*.{ts,html,css,scss}'],
5
+ theme: {
6
+ fontFamily: {
7
+ inter: ['Inter', 'sans-serif'],
8
+ apax: ['Apax', 'sans-serif'],
9
+ mono: ['"PT Mono"', 'sans-serif'],
10
+ },
11
+ extend: {
12
+ colors: colorPalette,
13
+ boxShadow: {
14
+ 'button-hover-primary': '0px 20px 16px -16px rgba(0, 0, 0, 0.4)',
15
+ 'button-hover-secondary': '0px 20px 16px -16px rgba(0, 0, 0, 0.12)',
16
+ '1xl': '0px 0px 16px rgba(189, 206, 219, 0.4)',
17
+ '2xl':
18
+ '0px 36px 80px rgba(189, 206, 219, 0.3), 0px 5.01331px 33.4221px rgba(189, 206, 219, 0.0503198), 0px 2.68036px 17.869px rgba(189, 206, 219, 0.0417275), 0px 1.50259px 10.0172px rgba(189, 206, 219, 0.035), 0px 0.798012px 5.32008px rgba(189, 206, 219, 0.0282725), 0px 0.332071px 2.21381px rgba(189, 206, 219, 0.0196802)',
19
+ '3xl':
20
+ '0px 12px 80px rgba(189, 206, 219, 0.3), 0px 73.78px 33.4221px rgba(189, 206, 219, 0.0803), 0px 22.3363px 17.869px rgba(189, 206, 219, 0.0417275), 0px 12.5216px 10.0172px rgba(189, 206, 219, 0.035), 0px 6.6501px 5.32008px rgba(189, 206, 219, 0.0282725), 0px 2.76726px 2.21381px rgba(189, 206, 219, 0.0196802)',
21
+ },
22
+ fontSize: {
23
+ 8: '8px',
24
+ 10: '10px',
25
+ 12: '12px',
26
+ 13: '13px',
27
+ 14: '14px',
28
+ 16: '16px',
29
+ 17: '17px',
30
+ 21: '21px',
31
+ 24: '24px',
32
+ 26: '26px',
33
+ },
34
+ fontWeight: {
35
+ 100: '100',
36
+ 200: '200',
37
+ 300: '300',
38
+ 400: '400',
39
+ 500: '500',
40
+ 600: '600',
41
+ 700: '700',
42
+ 800: '800',
43
+ 900: '900',
44
+ },
45
+ lineHeight: {
46
+ 12: '12px',
47
+ 14: '14px',
48
+ 15: '15px',
49
+ 17: '17px',
50
+ 20: '20px',
51
+ 22: '22px',
52
+ 24: '24px',
53
+ 26: '26px',
54
+ 28: '28px',
55
+ 31: '31px',
56
+ },
57
+ },
58
+ },
59
+ plugins: [],
60
+ }