@lucide/astro 1.75.0 → 1.76.0
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/package.json +1 -1
- package/src/aliases/aliases.ts +85 -85
- package/src/aliases/prefixed.ts +371 -369
- package/src/aliases/suffixed.ts +737 -735
- package/src/icons/diagram-sankey.ts +20 -0
- package/src/icons/index.ts +223 -222
- package/src/utils/toKebabCase.ts +3 -3
package/src/utils/toKebabCase.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Converts string to kebab case
|
|
3
3
|
*
|
|
4
|
-
* @param {string}
|
|
4
|
+
* @param {string} value
|
|
5
5
|
* @returns {string} A kebabized string
|
|
6
6
|
*/
|
|
7
|
-
export const toKebabCase = (
|
|
8
|
-
|
|
7
|
+
export const toKebabCase = (value: string): string =>
|
|
8
|
+
(value.match(/\d+[xX]\d+|[A-Z]?[a-z]+|[A-Z]|\d+/g) ?? []).join('-').toLowerCase();
|