@youngonesworks/ui 0.1.128 → 0.1.129
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/index.cjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/utils/formatIcon.d.ts +2 -2
- package/package.json +3 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { type HTMLAttributes, type SVGAttributes } from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type IconProps } from '@tabler/icons-react';
|
|
3
3
|
/**
|
|
4
4
|
* Format icon with default attributes. Icon attributes will
|
|
5
5
|
* always supersede default attributes which in term will supersede
|
|
6
6
|
* global default attributes.
|
|
7
7
|
*/
|
|
8
|
-
export default function formatIcon(icon: React.ReactNode, defaultFormatAttributes: (SVGAttributes<SVGElement> & HTMLAttributes<SVGElement>) |
|
|
8
|
+
export default function formatIcon(icon: React.ReactNode, defaultFormatAttributes: (SVGAttributes<SVGElement> & HTMLAttributes<SVGElement>) | IconProps): string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@youngonesworks/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.129",
|
|
4
4
|
"description": "A Youngones UI component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"@commitlint/cli": "^19.5.0",
|
|
69
69
|
"@commitlint/config-conventional": "^19.5.0",
|
|
70
70
|
"@commitlint/lint": "^19.5.0",
|
|
71
|
-
"@floating-ui/react": "^0.27.
|
|
72
|
-
"@tabler/icons-react": "^
|
|
71
|
+
"@floating-ui/react": "^0.27.18",
|
|
72
|
+
"@tabler/icons-react": "^3.34.1",
|
|
73
73
|
"@tiptap/core": "^2.3.1",
|
|
74
74
|
"@tiptap/extension-link": "^2.1.12",
|
|
75
75
|
"@tiptap/extension-placeholder": "^2.1.12",
|