@primitiv-ui/icons 0.1.25 → 0.1.26

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/README.md CHANGED
@@ -71,7 +71,9 @@ All other [SVG element attributes](https://developer.mozilla.org/en-US/docs/Web/
71
71
  | [Link](src/icons/Link.tsx) | `import { Link } from "@primitiv-ui/icons"` |
72
72
  | [List](src/icons/List.tsx) | `import { List } from "@primitiv-ui/icons"` |
73
73
  | [Mail](src/icons/Mail.tsx) | `import { Mail } from "@primitiv-ui/icons"` |
74
+ | [Maximize](src/icons/Maximize.tsx) | `import { Maximize } from "@primitiv-ui/icons"` |
74
75
  | [Menu](src/icons/Menu.tsx) | `import { Menu } from "@primitiv-ui/icons"` |
76
+ | [Minimize](src/icons/Minimize.tsx) | `import { Minimize } from "@primitiv-ui/icons"` |
75
77
  | [Minus](src/icons/Minus.tsx) | `import { Minus } from "@primitiv-ui/icons"` |
76
78
  | [Moon](src/icons/Moon.tsx) | `import { Moon } from "@primitiv-ui/icons"` |
77
79
  | [Plus](src/icons/Plus.tsx) | `import { Plus } from "@primitiv-ui/icons"` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primitiv-ui/icons",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "description": "Fill-based SVG icon library for the Primitiv ecosystem. Icons inherit currentColor, scale via a size prop, accept all native SVG attributes, and tree-shake cleanly.",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -0,0 +1,20 @@
1
+ import type { ReactElement } from 'react'
2
+ import type { IconProps } from '../types.ts'
3
+ import { IconBase } from '../IconBase.tsx'
4
+
5
+ /**
6
+ * The Maximize icon.
7
+ *
8
+ * A fill-based SVG that inherits `currentColor` and scales via the
9
+ * `size` prop. Accepts all native `<svg>` attributes (see {@link IconProps}).
10
+ *
11
+ * @example
12
+ * ```tsx
13
+ * <Maximize size={20} aria-label="Maximize" />
14
+ * ```
15
+ */
16
+ export const Maximize = (props: IconProps): ReactElement => (
17
+ <IconBase {...props}>
18
+ <path d="M3.25 3.25H9v1.5H4.75V9h-1.5ZM20.75 9h-1.5V4.75H15v-1.5h5.75Zm0 11.75H15v-1.5h4.25V15h1.5ZM3.25 15h1.5v4.25H9v1.5H3.25ZM4.28 3.22l6.5 6.5-1.06 1.06-6.5-6.5Zm16.5 1.06-6.5 6.5-1.06-1.06 6.5-6.5Zm-1.06 16.5-6.5-6.5 1.06-1.06 6.5 6.5Zm-16.5-1.06 6.5-6.5 1.06 1.06-6.5 6.5Z"/>
19
+ </IconBase>
20
+ )
@@ -0,0 +1,20 @@
1
+ import type { ReactElement } from 'react'
2
+ import type { IconProps } from '../types.ts'
3
+ import { IconBase } from '../IconBase.tsx'
4
+
5
+ /**
6
+ * The Minimize icon.
7
+ *
8
+ * A fill-based SVG that inherits `currentColor` and scales via the
9
+ * `size` prop. Accepts all native `<svg>` attributes (see {@link IconProps}).
10
+ *
11
+ * @example
12
+ * ```tsx
13
+ * <Minimize size={20} aria-label="Minimize" />
14
+ * ```
15
+ */
16
+ export const Minimize = (props: IconProps): ReactElement => (
17
+ <IconBase {...props}>
18
+ <path d="M10.75 6v4.75H6v-1.5h3.25V6Zm4 0v3.25H18v1.5h-4.75V6Zm-5.5 12v-3.25H6v-1.5h4.75V18Zm4 0v-4.75H18v1.5h-3.25V18ZM4.28 3.22l6.5 6.5-1.06 1.06-6.5-6.5Zm16.5 1.06-6.5 6.5-1.06-1.06 6.5-6.5Zm-1.06 16.5-6.5-6.5 1.06-1.06 6.5 6.5Zm-16.5-1.06 6.5-6.5 1.06 1.06-6.5 6.5Z"/>
19
+ </IconBase>
20
+ )
@@ -26,7 +26,9 @@ export { Info } from './Info.tsx'
26
26
  export { Link } from './Link.tsx'
27
27
  export { List } from './List.tsx'
28
28
  export { Mail } from './Mail.tsx'
29
+ export { Maximize } from './Maximize.tsx'
29
30
  export { Menu } from './Menu.tsx'
31
+ export { Minimize } from './Minimize.tsx'
30
32
  export { Minus } from './Minus.tsx'
31
33
  export { Moon } from './Moon.tsx'
32
34
  export { Plus } from './Plus.tsx'