@xsolla/xui-logos-brand 0.211.1 → 0.213.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.
@@ -1,7 +1,15 @@
1
1
  import React from 'react';
2
2
 
3
3
  interface BrandLogoProps {
4
- /** Size in pixels. Default: 24 */
4
+ /**
5
+ * Size in pixels. Default: 24
6
+ *
7
+ * Stays `number` rather than the shared `IconSize` (unlike icons-base /
8
+ * -brand / -currency / -flag / -product): `size` here is only a default for
9
+ * the independent `width`/`height` below, so widening it would mean widening
10
+ * all three and defining how a percentage interacts with the overrides. See
11
+ * FEP-895.
12
+ */
5
13
  size?: number;
6
14
  /** Width in pixels. Overrides size for width */
7
15
  width?: number;
package/native/index.d.ts CHANGED
@@ -1,7 +1,15 @@
1
1
  import React from 'react';
2
2
 
3
3
  interface BrandLogoProps {
4
- /** Size in pixels. Default: 24 */
4
+ /**
5
+ * Size in pixels. Default: 24
6
+ *
7
+ * Stays `number` rather than the shared `IconSize` (unlike icons-base /
8
+ * -brand / -currency / -flag / -product): `size` here is only a default for
9
+ * the independent `width`/`height` below, so widening it would mean widening
10
+ * all three and defining how a percentage interacts with the overrides. See
11
+ * FEP-895.
12
+ */
5
13
  size?: number;
6
14
  /** Width in pixels. Overrides size for width */
7
15
  width?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-logos-brand",
3
- "version": "0.211.1",
3
+ "version": "0.213.0",
4
4
  "main": "./web/index.js",
5
5
  "module": "./web/index.mjs",
6
6
  "types": "./web/index.d.ts",
package/web/index.d.mts CHANGED
@@ -1,7 +1,15 @@
1
1
  import React from 'react';
2
2
 
3
3
  interface BrandLogoProps {
4
- /** Size in pixels. Default: 24 */
4
+ /**
5
+ * Size in pixels. Default: 24
6
+ *
7
+ * Stays `number` rather than the shared `IconSize` (unlike icons-base /
8
+ * -brand / -currency / -flag / -product): `size` here is only a default for
9
+ * the independent `width`/`height` below, so widening it would mean widening
10
+ * all three and defining how a percentage interacts with the overrides. See
11
+ * FEP-895.
12
+ */
5
13
  size?: number;
6
14
  /** Width in pixels. Overrides size for width */
7
15
  width?: number;
package/web/index.d.ts CHANGED
@@ -1,7 +1,15 @@
1
1
  import React from 'react';
2
2
 
3
3
  interface BrandLogoProps {
4
- /** Size in pixels. Default: 24 */
4
+ /**
5
+ * Size in pixels. Default: 24
6
+ *
7
+ * Stays `number` rather than the shared `IconSize` (unlike icons-base /
8
+ * -brand / -currency / -flag / -product): `size` here is only a default for
9
+ * the independent `width`/`height` below, so widening it would mean widening
10
+ * all three and defining how a percentage interacts with the overrides. See
11
+ * FEP-895.
12
+ */
5
13
  size?: number;
6
14
  /** Width in pixels. Overrides size for width */
7
15
  width?: number;