mirror of
https://github.com/gromlab-ru/svg-sprites.git
synced 2026-07-22 12:40:21 +03:00
Compare commits
4 Commits
docs/readm
...
fix/update
| Author | SHA1 | Date | |
|---|---|---|---|
| 00fa6cea28 | |||
|
|
b9451c8ff3 | ||
| 1b6a5cb90c | |||
|
|
cb40d4eb04 |
@@ -28,9 +28,9 @@ You do not have to work with the sprite directly in your application. Use it lik
|
|||||||
|
|
||||||
`@gromlab/svg-sprites` is designed to work with AI agents from the start. Add the ready-made skill and ask an agent to configure, migrate, or troubleshoot the package without lengthy instructions or manual documentation research.
|
`@gromlab/svg-sprites` is designed to work with AI agents from the start. Add the ready-made skill and ask an agent to configure, migrate, or troubleshoot the package without lengthy instructions or manual documentation research.
|
||||||
|
|
||||||
[🇬🇧 Download AI skill (English)](https://github.com/gromov-sergei/svg-sprites/releases/latest/download/svg-sprites.zip)
|
[🇬🇧 Download AI skill (English)](https://github.com/gromlab-ru/svg-sprites/releases/latest/download/svg-sprites.zip)
|
||||||
|
|
||||||
[🇷🇺 Download AI skill (Russian)](https://github.com/gromov-sergei/svg-sprites/releases/latest/download/svg-sprites-ru.zip)
|
[🇷🇺 Download AI skill (Russian)](https://github.com/gromlab-ru/svg-sprites/releases/latest/download/svg-sprites-ru.zip)
|
||||||
|
|
||||||
## From SVG to component in four steps
|
## From SVG to component in four steps
|
||||||
|
|
||||||
@@ -220,7 +220,7 @@ It also provides ready-to-use integration examples for:
|
|||||||
- `<img>`;
|
- `<img>`;
|
||||||
- CSS.
|
- CSS.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
The Viewer is added only to an internal debug page and does not become part of the generated icon components.
|
The Viewer is added only to an internal debug page and does not become part of the generated icon components.
|
||||||
|
|
||||||
|
|||||||
@@ -28,9 +28,9 @@
|
|||||||
|
|
||||||
`@gromlab/svg-sprites` сразу рассчитан на работу с AI-агентами. Подключите готовый skill и поручите агенту настройку, миграцию или диагностику без длинных инструкций и ручного изучения документации.
|
`@gromlab/svg-sprites` сразу рассчитан на работу с AI-агентами. Подключите готовый skill и поручите агенту настройку, миграцию или диагностику без длинных инструкций и ручного изучения документации.
|
||||||
|
|
||||||
[🇷🇺 Скачать AI skill (на русском)](https://github.com/gromov-sergei/svg-sprites/releases/latest/download/svg-sprites-ru.zip)
|
[🇷🇺 Скачать AI skill (на русском)](https://github.com/gromlab-ru/svg-sprites/releases/latest/download/svg-sprites-ru.zip)
|
||||||
|
|
||||||
[🇬🇧 Скачать AI skill (на английском)](https://github.com/gromov-sergei/svg-sprites/releases/latest/download/svg-sprites.zip)
|
[🇬🇧 Скачать AI skill (на английском)](https://github.com/gromlab-ru/svg-sprites/releases/latest/download/svg-sprites.zip)
|
||||||
|
|
||||||
## От SVG до компонента за четыре шага
|
## От SVG до компонента за четыре шага
|
||||||
|
|
||||||
@@ -220,7 +220,7 @@ JavaScript отвечает за интерфейс и поведение, а г
|
|||||||
- `<img>`;
|
- `<img>`;
|
||||||
- CSS.
|
- CSS.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Viewer подключается только к внутренней debug-странице и не становится частью generated-компонентов иконок.
|
Viewer подключается только к внутренней debug-странице и не становится частью generated-компонентов иконок.
|
||||||
|
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@gromlab/svg-sprites",
|
"name": "@gromlab/svg-sprites",
|
||||||
"version": "1.1.3",
|
"version": "1.1.4",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@gromlab/svg-sprites",
|
"name": "@gromlab/svg-sprites",
|
||||||
"version": "1.1.3",
|
"version": "1.1.4",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"colorette": "^2.0.20",
|
"colorette": "^2.0.20",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@gromlab/svg-sprites",
|
"name": "@gromlab/svg-sprites",
|
||||||
"version": "1.1.3",
|
"version": "1.1.4",
|
||||||
"description": "Generate SVG sprites and typed icon components for React and Next.js",
|
"description": "Generate SVG sprites and typed icon components for React and Next.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
@@ -65,11 +65,11 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/gromov-sergei/svg-sprites"
|
"url": "https://github.com/gromlab-ru/svg-sprites"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/gromov-sergei/svg-sprites",
|
"homepage": "https://github.com/gromlab-ru/svg-sprites",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/gromov-sergei/svg-sprites/issues"
|
"url": "https://github.com/gromlab-ru/svg-sprites/issues"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ export const App = () => {
|
|||||||
<span className={styles.footerText}>@gromlab/svg-sprites</span>
|
<span className={styles.footerText}>@gromlab/svg-sprites</span>
|
||||||
<a
|
<a
|
||||||
className={styles.footerLink}
|
className={styles.footerLink}
|
||||||
href="https://github.com/gromov-sergei/svg-sprites"
|
href="https://github.com/gromlab-ru/svg-sprites"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ const GENERATED_NOTICE = [
|
|||||||
'## Для изменений перегенерируйте SVG-спрайт. ##',
|
'## Для изменений перегенерируйте SVG-спрайт. ##',
|
||||||
'## ##',
|
'## ##',
|
||||||
'## Генератор: @gromlab/svg-sprites ##',
|
'## Генератор: @gromlab/svg-sprites ##',
|
||||||
'## Репозиторий: https://github.com/gromov-sergei/svg-sprites ##',
|
'## Репозиторий: https://github.com/gromlab-ru/svg-sprites ##',
|
||||||
'----------------------------------------------------------------------',
|
'----------------------------------------------------------------------',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -284,7 +284,7 @@ export function SpriteViewer({
|
|||||||
|
|
||||||
<footer className="gromlab-sprite-viewer__footer">
|
<footer className="gromlab-sprite-viewer__footer">
|
||||||
<span>@gromlab/svg-sprites</span>
|
<span>@gromlab/svg-sprites</span>
|
||||||
<a href="https://github.com/gromov-sergei/svg-sprites" target="_blank" rel="noreferrer">Repository</a>
|
<a href="https://github.com/gromlab-ru/svg-sprites" target="_blank" rel="noreferrer">Repository</a>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
{selected && (
|
{selected && (
|
||||||
|
|||||||
Reference in New Issue
Block a user