@sit-onyx/icons 1.0.0-beta.23 → 1.0.0-beta.25
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/dist/assets/enter.svg +1 -0
- package/dist/index.js +448 -447
- package/dist/metadata.json.d.ts +4 -0
- package/dist/utils.d.ts +3 -3
- package/dist/utils.js +163 -162
- package/dist/virtual:vite-plugin-svg.d.ts +2 -1
- package/package.json +1 -2
package/dist/metadata.json.d.ts
CHANGED
|
@@ -947,6 +947,10 @@ declare const _default: {
|
|
|
947
947
|
"category": "Car Parts",
|
|
948
948
|
"aliases": []
|
|
949
949
|
},
|
|
950
|
+
"enter": {
|
|
951
|
+
"category": "Arrows",
|
|
952
|
+
"aliases": []
|
|
953
|
+
},
|
|
950
954
|
"error-flag": {
|
|
951
955
|
"category": "Action & Interface",
|
|
952
956
|
"aliases": ["warning-sign", "mistake-indicator", "Fehlerflagge", "Warnzeichen"]
|
package/dist/utils.d.ts
CHANGED
|
@@ -11,12 +11,12 @@ export * from './types.js';
|
|
|
11
11
|
*/
|
|
12
12
|
export declare const groupIconsByCategory: (iconMetadata: Record<string, IconMetadata>) => IconCategories;
|
|
13
13
|
/**
|
|
14
|
-
* Transform an icon name to its corresponding JavaScript import name.
|
|
14
|
+
* Transform an icon file name to its corresponding JavaScript import name.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```ts
|
|
18
|
-
* "bell-disabled" => "
|
|
19
|
-
* // e.g. used as 'import
|
|
18
|
+
* "bell-disabled.svg" => "iconBellDisabled"
|
|
19
|
+
* // e.g. used as 'import { iconBellDisabled } from "@sit-onyx/icons"'
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
22
|
export declare const getIconImportName: (iconName: string) => string;
|