@skbkontur/icons 1.2.3-no-star-export.1 → 1.2.3-no-star-export.2
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 +2 -1
- package/esm/icons/index.js +3 -2
- package/icons/index.js +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,9 +55,10 @@ type IconProps = {
|
|
|
55
55
|
|
|
56
56
|
Импорт иконок
|
|
57
57
|
|
|
58
|
-
Импортировать иконки рекомендуется напрямую из целевого файла
|
|
58
|
+
Импортировать иконки рекомендуется по одной, напрямую из целевого файла
|
|
59
59
|
```ts
|
|
60
60
|
import { CheckAIcon } from '@skbkontur/icons/CheckAIcon'; // ✅
|
|
61
|
+
import { MathDeltaIcon } from '@skbkontur/icons/MathDeltaIcon'; // ✅
|
|
61
62
|
import { MathDeltaIcon20Light } from '@skbkontur/icons/MathDeltaIcon20Light'; // ✅
|
|
62
63
|
import { ArchiveBoxIcon24Solid } from '@skbkontur/icons/ArchiveBoxIcon24Solid'; // ✅
|
|
63
64
|
```
|
package/esm/icons/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
console.error('@skbkontur/icons: Importing from the root `index.js` is not recommended.' +
|
|
2
|
+
'\n' +
|
|
3
|
+
'See https://www.npmjs.com/package/@skbkontur/icons?activeTab=readme');
|
|
3
4
|
export * from './AnimalPawIcon';
|
|
4
5
|
export * from './ArchiveBoxIcon';
|
|
5
6
|
export * from './ArchiveBoxOpenDocsIcon';
|
package/icons/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var tslib_1 = require("tslib");
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
console.error('@skbkontur/icons: Importing from the root `index.js` is not recommended.' +
|
|
5
|
+
'\n' +
|
|
6
|
+
'See https://www.npmjs.com/package/@skbkontur/icons?activeTab=readme');
|
|
6
7
|
tslib_1.__exportStar(require("./AnimalPawIcon"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./ArchiveBoxIcon"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./ArchiveBoxOpenDocsIcon"), exports);
|