@byline/ui 6.7.2 → 6.8.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.
@@ -36,6 +36,7 @@ export * from './light-icon.js';
36
36
  export * from './location-pin-icon.js';
37
37
  export * from './markdown-icon.js';
38
38
  export * from './moon-icon.js';
39
+ export * from './passkey-icon.js';
39
40
  export * from './plus-icon.js';
40
41
  export * from './primary-icon.js';
41
42
  export * from './refresh-icon.js';
@@ -36,6 +36,7 @@ export * from "./light-icon.js";
36
36
  export * from "./location-pin-icon.js";
37
37
  export * from "./markdown-icon.js";
38
38
  export * from "./moon-icon.js";
39
+ export * from "./passkey-icon.js";
39
40
  export * from "./plus-icon.js";
40
41
  export * from "./primary-icon.js";
41
42
  export * from "./refresh-icon.js";
@@ -0,0 +1,6 @@
1
+ import type React from 'react';
2
+ import type { IconProps } from './types/icon.js';
3
+ export declare function PasskeyIcon({ className, svgClassName, ...rest }: IconProps): React.JSX.Element;
4
+ export declare namespace PasskeyIcon {
5
+ var displayName: string;
6
+ }
@@ -0,0 +1,43 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import clsx from "clsx";
3
+ import { IconElement } from "./icon-element.js";
4
+ import icons_module from "./icons.module.js";
5
+ const PasskeyIcon = ({ className, svgClassName, ...rest })=>{
6
+ const applied = clsx(icons_module["fill-none"], icons_module["stroke-current"], svgClassName);
7
+ return /*#__PURE__*/ jsx(IconElement, {
8
+ className: clsx('passkey-icon', className),
9
+ ...rest,
10
+ children: /*#__PURE__*/ jsxs("svg", {
11
+ xmlns: "http://www.w3.org/2000/svg",
12
+ className: applied,
13
+ strokeLinecap: "round",
14
+ strokeLinejoin: "round",
15
+ focusable: "false",
16
+ "aria-hidden": "true",
17
+ viewBox: "0 0 24 24",
18
+ strokeWidth: 2,
19
+ children: [
20
+ /*#__PURE__*/ jsx("path", {
21
+ d: "M5 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"
22
+ }),
23
+ /*#__PURE__*/ jsx("path", {
24
+ d: "M3 21v-2a4 4 0 0 1 4 -4h4"
25
+ }),
26
+ /*#__PURE__*/ jsx("path", {
27
+ d: "M16 10.5a2.5 2.5 0 1 0 5 0a2.5 2.5 0 1 0 -5 0"
28
+ }),
29
+ /*#__PURE__*/ jsx("path", {
30
+ d: "M18.5 13v8"
31
+ }),
32
+ /*#__PURE__*/ jsx("path", {
33
+ d: "M18.5 17h2"
34
+ }),
35
+ /*#__PURE__*/ jsx("path", {
36
+ d: "M18.5 19.5h1.5"
37
+ })
38
+ ]
39
+ })
40
+ });
41
+ };
42
+ PasskeyIcon.displayName = 'PasskeyIcon';
43
+ export { PasskeyIcon };
package/dist/uikit.d.ts CHANGED
@@ -82,6 +82,7 @@ export * from './icons/light-icon.js';
82
82
  export * from './icons/location-pin-icon.js';
83
83
  export * from './icons/markdown-icon.js';
84
84
  export * from './icons/moon-icon.js';
85
+ export * from './icons/passkey-icon.js';
85
86
  export * from './icons/plus-icon.js';
86
87
  export * from './icons/primary-icon.js';
87
88
  export * from './icons/refresh-icon.js';
package/dist/uikit.js CHANGED
@@ -77,6 +77,7 @@ export * from "./icons/light-icon.js";
77
77
  export * from "./icons/location-pin-icon.js";
78
78
  export * from "./icons/markdown-icon.js";
79
79
  export * from "./icons/moon-icon.js";
80
+ export * from "./icons/passkey-icon.js";
80
81
  export * from "./icons/plus-icon.js";
81
82
  export * from "./icons/primary-icon.js";
82
83
  export * from "./icons/refresh-icon.js";
package/package.json CHANGED
@@ -3,9 +3,9 @@
3
3
  "private": false,
4
4
  "type": "module",
5
5
  "license": "MPL-2.0",
6
- "version": "6.7.2",
6
+ "version": "6.8.0",
7
7
  "engines": {
8
- "node": ">=20.9.0"
8
+ "node": ">=22.22.2"
9
9
  },
10
10
  "description": "Byline CMS UI package",
11
11
  "keywords": [
@@ -36,6 +36,7 @@ export * from './light-icon.js'
36
36
  export * from './location-pin-icon.js'
37
37
  export * from './markdown-icon.js'
38
38
  export * from './moon-icon.js'
39
+ export * from './passkey-icon.js'
39
40
  export * from './plus-icon.js'
40
41
  export * from './primary-icon.js'
41
42
  export * from './refresh-icon.js'
@@ -0,0 +1,39 @@
1
+ import type React from 'react'
2
+
3
+ import cx from 'clsx'
4
+
5
+ import { IconElement } from './icon-element.js'
6
+ import styles from './icons.module.css'
7
+ import type { IconProps } from './types/icon.js'
8
+
9
+ /**
10
+ * Person-with-key glyph, following the shape of the FIDO Alliance passkey
11
+ * icon so that passkey actions read as passkeys rather than passwords.
12
+ */
13
+ export const PasskeyIcon = ({ className, svgClassName, ...rest }: IconProps): React.JSX.Element => {
14
+ const applied = cx(styles['fill-none'], styles['stroke-current'], svgClassName)
15
+
16
+ return (
17
+ <IconElement className={cx('passkey-icon', className)} {...rest}>
18
+ <svg
19
+ xmlns="http://www.w3.org/2000/svg"
20
+ className={applied}
21
+ strokeLinecap="round"
22
+ strokeLinejoin="round"
23
+ focusable="false"
24
+ aria-hidden="true"
25
+ viewBox="0 0 24 24"
26
+ strokeWidth={2}
27
+ >
28
+ <path d="M5 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0"></path>
29
+ <path d="M3 21v-2a4 4 0 0 1 4 -4h4"></path>
30
+ <path d="M16 10.5a2.5 2.5 0 1 0 5 0a2.5 2.5 0 1 0 -5 0"></path>
31
+ <path d="M18.5 13v8"></path>
32
+ <path d="M18.5 17h2"></path>
33
+ <path d="M18.5 19.5h1.5"></path>
34
+ </svg>
35
+ </IconElement>
36
+ )
37
+ }
38
+
39
+ PasskeyIcon.displayName = 'PasskeyIcon'
package/src/uikit.ts CHANGED
@@ -91,6 +91,7 @@ export * from './icons/light-icon.js'
91
91
  export * from './icons/location-pin-icon.js'
92
92
  export * from './icons/markdown-icon.js'
93
93
  export * from './icons/moon-icon.js'
94
+ export * from './icons/passkey-icon.js'
94
95
  export * from './icons/plus-icon.js'
95
96
  export * from './icons/primary-icon.js'
96
97
  export * from './icons/refresh-icon.js'