@byline/ui 6.7.1 → 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.
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.js +1 -0
- package/dist/icons/passkey-icon.d.ts +6 -0
- package/dist/icons/passkey-icon.js +43 -0
- package/dist/uikit.d.ts +1 -0
- package/dist/uikit.js +1 -0
- package/package.json +15 -15
- package/src/icons/index.ts +1 -0
- package/src/icons/passkey-icon.tsx +39 -0
- package/src/uikit.ts +1 -0
package/dist/icons/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/icons/index.js
CHANGED
|
@@ -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,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.
|
|
6
|
+
"version": "6.8.0",
|
|
7
7
|
"engines": {
|
|
8
|
-
"node": ">=
|
|
8
|
+
"node": ">=22.22.2"
|
|
9
9
|
},
|
|
10
10
|
"description": "Byline CMS UI package",
|
|
11
11
|
"keywords": [
|
|
@@ -50,36 +50,36 @@
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@base-ui/react": "^1.
|
|
53
|
+
"@base-ui/react": "^1.9.0",
|
|
54
54
|
"@dnd-kit/core": "^6.3.1",
|
|
55
55
|
"@dnd-kit/sortable": "^10.0.0",
|
|
56
56
|
"clsx": "^2.1.1",
|
|
57
57
|
"date-fns": "^4.4.0",
|
|
58
|
-
"motion": "^
|
|
59
|
-
"react-day-picker": "^10.0.
|
|
60
|
-
"zod": "^4.6.
|
|
58
|
+
"motion": "^14.2.0",
|
|
59
|
+
"react-day-picker": "^10.0.2",
|
|
60
|
+
"zod": "^4.6.7"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
63
|
"react": "^19.0.0",
|
|
64
64
|
"react-dom": "^19.0.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@biomejs/biome": "2.5.
|
|
68
|
-
"@rsbuild/plugin-react": "^2.1.
|
|
69
|
-
"@rslib/core": "^1.0.
|
|
70
|
-
"@types/node": "^26.6.
|
|
67
|
+
"@biomejs/biome": "2.5.15",
|
|
68
|
+
"@rsbuild/plugin-react": "^2.1.1",
|
|
69
|
+
"@rslib/core": "^1.0.3",
|
|
70
|
+
"@types/node": "^26.6.5",
|
|
71
71
|
"@types/react": "19.3.0",
|
|
72
72
|
"@types/react-dom": "19.3.0",
|
|
73
|
-
"@vitejs/plugin-react": "^6.1.
|
|
73
|
+
"@vitejs/plugin-react": "^6.1.2",
|
|
74
74
|
"chokidar": "^5.0.0",
|
|
75
75
|
"lightningcss-cli": "^1.33.0",
|
|
76
76
|
"npm-run-all": "^4.1.5",
|
|
77
|
-
"react": "^19.3.
|
|
78
|
-
"react-dom": "^19.3.
|
|
77
|
+
"react": "^19.3.1",
|
|
78
|
+
"react-dom": "^19.3.1",
|
|
79
79
|
"typescript": "^7.0.2",
|
|
80
80
|
"typescript-plugin-css-modules": "^5.2.0",
|
|
81
|
-
"vite": "^8.3.
|
|
82
|
-
"vitest": "^5.0.
|
|
81
|
+
"vite": "^8.3.4",
|
|
82
|
+
"vitest": "^5.0.4"
|
|
83
83
|
},
|
|
84
84
|
"publishConfig": {
|
|
85
85
|
"access": "public",
|
package/src/icons/index.ts
CHANGED
|
@@ -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'
|