svelte-remix 0.4.4 → 0.4.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/README.md +0 -4
- package/package.json +32 -20
package/README.md
CHANGED
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
|
|
17
17
|
2270+ SVG [RemixIcon](https://github.com/Remix-Design/RemixIcon) components for Svelte. Svelte-Remix support major CSS frameworks using the `class` props.
|
|
18
18
|
|
|
19
|
-
|
|
20
19
|
Thank you for considering my open-source package. If you use it in a commercial project, please support me by sponsoring me on GitHub: https://github.com/sponsors/shinokada. Your support helps me maintain and improve this package for the benefit of the community.
|
|
21
20
|
|
|
22
21
|
<p align="center">
|
|
@@ -102,7 +101,6 @@ To avoid any complaints from the editor, add `node16` or `nodenext` to `moduleRe
|
|
|
102
101
|
|
|
103
102
|
If you are using an LSP-compatible editor, such as VSCode, Atom, Sublime Text, or Neovim, hovering over a component name will display a documentation link, features, props, events, and an example.
|
|
104
103
|
|
|
105
|
-
|
|
106
104
|
## Size
|
|
107
105
|
|
|
108
106
|
Use the `size` prop to change the size of icons.
|
|
@@ -170,7 +168,6 @@ If you want to make an icon unfocusable, add `tabindex="-1"`.
|
|
|
170
168
|
|
|
171
169
|
All icons have the following events:
|
|
172
170
|
|
|
173
|
-
|
|
174
171
|
- on:click
|
|
175
172
|
- on:keydown
|
|
176
173
|
- on:keyup
|
|
@@ -181,7 +178,6 @@ All icons have the following events:
|
|
|
181
178
|
- on:mouseover
|
|
182
179
|
- on:mouseout
|
|
183
180
|
|
|
184
|
-
|
|
185
181
|
## Passing down other attributes
|
|
186
182
|
|
|
187
183
|
You can pass other attibutes as well.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelte-remix",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"description": "Svelte Remix Icon components",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Shinichi Okada",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "https://blog.codewithshin.com"
|
|
9
9
|
},
|
|
10
10
|
"bugs": "https://github.com/shinokada/svelte-remix-icons/issues",
|
|
11
|
-
"homepage": "https://svelte-remix-icons.
|
|
11
|
+
"homepage": "https://svelte-remix-icons.vercel.app/",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"scripts": {
|
|
14
14
|
"dev": "vite dev",
|
|
@@ -16,12 +16,13 @@
|
|
|
16
16
|
"preview": "vite preview",
|
|
17
17
|
"package": "svelte-kit sync && svelte-package && publint",
|
|
18
18
|
"prepublishOnly": "npm run package",
|
|
19
|
-
"test": "
|
|
19
|
+
"test": "npm run test:integration && npm run test:unit",
|
|
20
20
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
21
21
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
22
|
-
"test:unit": "vitest",
|
|
23
22
|
"lint": "prettier --plugin-search-dir . --check . && eslint .",
|
|
24
23
|
"format": "prettier --plugin-search-dir . --write .",
|
|
24
|
+
"test:integration": "playwright test",
|
|
25
|
+
"test:unit": "vitest",
|
|
25
26
|
"write-package-json": "node ./scripts/package-json-writer.js",
|
|
26
27
|
"add-exports": "node ./scripts/add-exports-to-package-json.js",
|
|
27
28
|
"package:publish": "standard-version && git push --follow-tags origin main && npm run package && npm run add-exports && npm run write-package-json && npm publish"
|
|
@@ -9963,24 +9964,35 @@
|
|
|
9963
9964
|
"svelte": "^3.54.0 || ^4.0.0"
|
|
9964
9965
|
},
|
|
9965
9966
|
"devDependencies": {
|
|
9966
|
-
"@
|
|
9967
|
-
"@
|
|
9968
|
-
"@sveltejs/
|
|
9969
|
-
"@sveltejs/
|
|
9970
|
-
"@
|
|
9971
|
-
"@
|
|
9972
|
-
"eslint": "^
|
|
9967
|
+
"@floating-ui/dom": "^1.4.5",
|
|
9968
|
+
"@playwright/test": "^1.36.1",
|
|
9969
|
+
"@sveltejs/adapter-auto": "^2.1.0",
|
|
9970
|
+
"@sveltejs/adapter-vercel": "^3.0.2",
|
|
9971
|
+
"@sveltejs/kit": "^1.22.3",
|
|
9972
|
+
"@sveltejs/package": "^2.2.0",
|
|
9973
|
+
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
9974
|
+
"@typescript-eslint/parser": "^5.62.0",
|
|
9975
|
+
"autoprefixer": "^10.4.14",
|
|
9976
|
+
"eslint": "^8.45.0",
|
|
9973
9977
|
"eslint-config-prettier": "^8.8.0",
|
|
9974
|
-
"eslint-plugin-
|
|
9978
|
+
"eslint-plugin-svelte": "^2.32.2",
|
|
9979
|
+
"flowbite-svelte": "^0.40.1",
|
|
9980
|
+
"mdsvex": "^0.11.0",
|
|
9981
|
+
"postcss": "^8.4.26",
|
|
9982
|
+
"postcss-load-config": "^4.0.1",
|
|
9975
9983
|
"prettier": "^2.8.8",
|
|
9976
|
-
"prettier-plugin-svelte": "^2.10.
|
|
9977
|
-
"publint": "^0.1.
|
|
9978
|
-
"svelte": "^
|
|
9979
|
-
"svelte-check": "^3.
|
|
9980
|
-
"
|
|
9981
|
-
"
|
|
9982
|
-
"
|
|
9983
|
-
"
|
|
9984
|
+
"prettier-plugin-svelte": "^2.10.1",
|
|
9985
|
+
"publint": "^0.1.16",
|
|
9986
|
+
"svelte": "^4.0.5",
|
|
9987
|
+
"svelte-check": "^3.4.6",
|
|
9988
|
+
"svelte-meta-tags": "^2.8.0",
|
|
9989
|
+
"svelte-preprocess": "^5.0.4",
|
|
9990
|
+
"tailwind-merge": "^1.14.0",
|
|
9991
|
+
"tailwindcss": "^3.3.3",
|
|
9992
|
+
"tslib": "^2.6.0",
|
|
9993
|
+
"typescript": "^5.1.6",
|
|
9994
|
+
"vite": "^4.4.4",
|
|
9995
|
+
"vitest": "^0.33.0"
|
|
9984
9996
|
},
|
|
9985
9997
|
"svelte": "./dist/index.js",
|
|
9986
9998
|
"types": "./dist/index.d.ts",
|