etudes 8.1.0 → 8.3.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.
@@ -2,16 +2,16 @@ import { HTMLAttributes } from 'react';
2
2
  export type FlatSVGProps = HTMLAttributes<HTMLDivElement> & {
3
3
  /**
4
4
  * Specifies how the SVG should be resized:
5
+ * - `preserve`: Default: the SVG size attributes are unchanged.
5
6
  * - `none`: The SVG size attributes are stripped.
6
- * - `preserve`: The SVG size attributes are unchanged.
7
7
  * - `fill`: The SVG will fill the container, i.e. `width="100%"` and
8
8
  * `height="100%"`.
9
- * - `height`: Default: the SVG will maintain its aspect ratio and fill the height of
9
+ * - `height`: The SVG will maintain its aspect ratio and fill the height of
10
10
  * the container, i.e. `width="auto"` and `height="100%"`.
11
11
  * - `width`: The SVG will maintain its aspect ratio and fill the width of the
12
12
  * container, i.e. `width="100%"` and `height="auto"`.
13
13
  */
14
- fillMode?: 'none' | 'preserve' | 'fill' | 'height' | 'width';
14
+ fillMode?: 'preserve' | 'none' | 'fill' | 'height' | 'width';
15
15
  /**
16
16
  * The SVG string markup, i.e. "<svg>...</svg>".
17
17
  */
@@ -57,16 +57,16 @@ export type FlatSVGProps = HTMLAttributes<HTMLDivElement> & {
57
57
  export declare const FlatSVG: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
58
58
  /**
59
59
  * Specifies how the SVG should be resized:
60
+ * - `preserve`: Default: the SVG size attributes are unchanged.
60
61
  * - `none`: The SVG size attributes are stripped.
61
- * - `preserve`: The SVG size attributes are unchanged.
62
62
  * - `fill`: The SVG will fill the container, i.e. `width="100%"` and
63
63
  * `height="100%"`.
64
- * - `height`: Default: the SVG will maintain its aspect ratio and fill the height of
64
+ * - `height`: The SVG will maintain its aspect ratio and fill the height of
65
65
  * the container, i.e. `width="auto"` and `height="100%"`.
66
66
  * - `width`: The SVG will maintain its aspect ratio and fill the width of the
67
67
  * container, i.e. `width="100%"` and `height="auto"`.
68
68
  */
69
- fillMode?: "none" | "preserve" | "fill" | "height" | "width";
69
+ fillMode?: "preserve" | "none" | "fill" | "height" | "width";
70
70
  /**
71
71
  * The SVG string markup, i.e. "<svg>...</svg>".
72
72
  */