@yahoo/uds-icons 2.11.0 → 2.12.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/dist/tokens.cjs CHANGED
@@ -1,2 +1,2 @@
1
1
  'use strict';/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
- const o={sm:16,md:24,lg:32},i={xs:12,sm:16,md:24,lg:32};exports.ICON_SIZE_MAP=o;exports.ICON_SIZE_MAP_NEXT=i;
2
+ const o={xs:12,sm:16,md:24,lg:32};exports.ICON_SIZE_MAP=o;
package/dist/tokens.d.cts CHANGED
@@ -1,13 +1,8 @@
1
1
  declare const ICON_SIZE_MAP: {
2
- readonly sm: 16;
3
- readonly md: 24;
4
- readonly lg: 32;
5
- };
6
- declare const ICON_SIZE_MAP_NEXT: {
7
2
  readonly xs: 12;
8
3
  readonly sm: 16;
9
4
  readonly md: 24;
10
5
  readonly lg: 32;
11
6
  };
12
7
 
13
- export { ICON_SIZE_MAP, ICON_SIZE_MAP_NEXT };
8
+ export { ICON_SIZE_MAP };
package/dist/tokens.d.ts CHANGED
@@ -1,13 +1,8 @@
1
1
  declare const ICON_SIZE_MAP: {
2
- readonly sm: 16;
3
- readonly md: 24;
4
- readonly lg: 32;
5
- };
6
- declare const ICON_SIZE_MAP_NEXT: {
7
2
  readonly xs: 12;
8
3
  readonly sm: 16;
9
4
  readonly md: 24;
10
5
  readonly lg: 32;
11
6
  };
12
7
 
13
- export { ICON_SIZE_MAP, ICON_SIZE_MAP_NEXT };
8
+ export { ICON_SIZE_MAP };
package/dist/tokens.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
- const o={sm:16,md:24,lg:32},i={xs:12,sm:16,md:24,lg:32};export{o as ICON_SIZE_MAP,i as ICON_SIZE_MAP_NEXT};
2
+ const o={xs:12,sm:16,md:24,lg:32};export{o as ICON_SIZE_MAP};
package/dist/types.d.cts CHANGED
@@ -1,10 +1,8 @@
1
- type IconPixelSize = 16 | 24 | 32;
2
- type IconSize = 'sm' | 'md' | 'lg';
1
+ type IconPixelSize = 12 | 16 | 24 | 32;
2
+ type IconSize = 'xs' | 'sm' | 'md' | 'lg';
3
3
  type IconVariant = 'fill' | 'outline' | 'multicolor';
4
- type IconPixelSizeNext = 12 | IconPixelSize;
5
- type IconSizeNext = 'xs' | IconSize;
6
4
  interface SvgIconProps {
7
- size?: IconSizeNext;
5
+ size?: IconSize;
8
6
  variant?: IconVariant;
9
7
  }
10
8
  interface SvgIconWithStaticProps<SvgIconProps> extends React.FunctionComponent<SvgIconProps> {
@@ -19,4 +17,4 @@ interface SvgIconWithStaticProps<SvgIconProps> extends React.FunctionComponent<S
19
17
  }
20
18
  type SvgIcon = SvgIconWithStaticProps<SvgIconProps>;
21
19
 
22
- export type { IconPixelSize, IconPixelSizeNext, IconSize, IconSizeNext, IconVariant, SvgIcon, SvgIconProps, SvgIconWithStaticProps };
20
+ export type { IconPixelSize, IconSize, IconVariant, SvgIcon, SvgIconProps, SvgIconWithStaticProps };
package/dist/types.d.ts CHANGED
@@ -1,10 +1,8 @@
1
- type IconPixelSize = 16 | 24 | 32;
2
- type IconSize = 'sm' | 'md' | 'lg';
1
+ type IconPixelSize = 12 | 16 | 24 | 32;
2
+ type IconSize = 'xs' | 'sm' | 'md' | 'lg';
3
3
  type IconVariant = 'fill' | 'outline' | 'multicolor';
4
- type IconPixelSizeNext = 12 | IconPixelSize;
5
- type IconSizeNext = 'xs' | IconSize;
6
4
  interface SvgIconProps {
7
- size?: IconSizeNext;
5
+ size?: IconSize;
8
6
  variant?: IconVariant;
9
7
  }
10
8
  interface SvgIconWithStaticProps<SvgIconProps> extends React.FunctionComponent<SvgIconProps> {
@@ -19,4 +17,4 @@ interface SvgIconWithStaticProps<SvgIconProps> extends React.FunctionComponent<S
19
17
  }
20
18
  type SvgIcon = SvgIconWithStaticProps<SvgIconProps>;
21
19
 
22
- export type { IconPixelSize, IconPixelSizeNext, IconSize, IconSizeNext, IconVariant, SvgIcon, SvgIconProps, SvgIconWithStaticProps };
20
+ export type { IconPixelSize, IconSize, IconVariant, SvgIcon, SvgIconProps, SvgIconWithStaticProps };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yahoo/uds-icons",
3
3
  "description": "Yahoo Universal System Icons",
4
- "version": "2.11.0",
4
+ "version": "2.12.0",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist/**",