@primitiv-ui/icons 0.1.36 → 0.1.38

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primitiv-ui/icons",
3
- "version": "0.1.36",
3
+ "version": "0.1.38",
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 Eyedropper 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
+ * <Eyedropper size={20} aria-label="Eyedropper" />
14
+ * ```
15
+ */
16
+ export const Eyedropper = (props: IconProps): ReactElement => (
17
+ <IconBase {...props}>
18
+ <path d="M12.645 6.952a.7.7 0 0 1 .99 0l3.394 3.395a.7.7 0 0 1 0 .99l-.354.353a.7.7 0 0 1-.99 0l-3.394-3.394a.7.7 0 0 1 0-.99z"/><path d="M14.704 6.166a1.6 1.6 0 0 1 2.263 0l.849.848a1.6 1.6 0 1 1-2.263 2.263l-.849-.849a1.6 1.6 0 0 1 0-2.262m-.925 4.672a.45.45 0 0 0-.636-.635L9.04 14.304a.45.45 0 0 0 .636.636zm-3.183 5.021a1.75 1.75 0 0 1-2.475-2.475l4.102-4.101a1.75 1.75 0 0 1 2.475 2.475z"/><path d="M8.316 16.353a.65.65 0 1 0-1.3.001.65.65 0 0 0 1.3-.001m1.3 0a1.95 1.95 0 1 1-3.9 0 1.95 1.95 0 0 1 3.9 0"/>
19
+ </IconBase>
20
+ )
@@ -17,6 +17,7 @@ export { Error } from './Error.tsx'
17
17
  export { ExternalLink } from './ExternalLink.tsx'
18
18
  export { EyeOff } from './EyeOff.tsx'
19
19
  export { Eye } from './Eye.tsx'
20
+ export { Eyedropper } from './Eyedropper.tsx'
20
21
  export { File } from './File.tsx'
21
22
  export { Filter } from './Filter.tsx'
22
23
  export { Folder } from './Folder.tsx'