@versini/ui-types 3.0.0 → 3.0.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -18
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -148,13 +148,7 @@ declare namespace ButtonCopyTypes {
148
148
  copyToClipboard: string | (() => string);
149
149
  } & Omit<
150
150
  ButtonIconTypes.Props,
151
- | "children"
152
- | "align"
153
- | "label"
154
- | "labelLeft"
155
- | "labelRight"
156
- | "fullWidth"
157
- | "size"
151
+ "children" | "align" | "label" | "fullWidth" | "size"
158
152
  >;
159
153
  }
160
154
 
@@ -342,18 +336,11 @@ declare namespace SvgIconTypes {
342
336
  semantic?: boolean;
343
337
  /**
344
338
  * The size of the icon. This will set the width and height of the icon.
339
+ * It should be a valid Tailwind CSS size class, such as "size-6" or "size-px".
340
+ * It can also include breakpoints, such as "sm:size-6" or "md:size-px".
341
+ * @link https://tailwindcss.com/docs/size
345
342
  */
346
- size?:
347
- | "size-1"
348
- | "size-2"
349
- | "size-3"
350
- | "size-4"
351
- | "size-5"
352
- | "size-6"
353
- | "size-7"
354
- | "size-8"
355
- | "size-9"
356
- | "size-10";
343
+ size?: string;
357
344
  /**
358
345
  * The viewBox to use. If not provided, the default viewBox will be used.
359
346
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-types",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -32,5 +32,5 @@
32
32
  "react": "^18.3.1 || ^19.0.0",
33
33
  "react-dom": "^18.3.1 || ^19.0.0"
34
34
  },
35
- "gitHead": "c489b5e7d0cfacc90e2a9880811dccf575243961"
35
+ "gitHead": "e9e5493a53a6925c3afb446b3d96f041ca7aabae"
36
36
  }