@byline/ui 2.2.7 → 2.2.9

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.
@@ -0,0 +1,6 @@
1
+ import type React from 'react';
2
+ import type { IconProps } from './types/icon.js';
3
+ export declare const BylineIcon: {
4
+ ({ className, svgClassName, ...rest }: IconProps): React.JSX.Element;
5
+ displayName: string;
6
+ };
@@ -0,0 +1,164 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import classnames from "classnames";
3
+ import { IconElement } from "./icon-element.js";
4
+ const svgStylesDefault = '';
5
+ const BylineIcon = ({ className, svgClassName, ...rest })=>{
6
+ const applied = classnames(svgStylesDefault, svgClassName);
7
+ return /*#__PURE__*/ jsx(IconElement, {
8
+ className: classnames('byline-icon', className),
9
+ ...rest,
10
+ children: /*#__PURE__*/ jsxs("svg", {
11
+ className: applied,
12
+ xmlns: "http://www.w3.org/2000/svg",
13
+ focusable: "false",
14
+ "aria-hidden": "true",
15
+ viewBox: "0 0 512 512",
16
+ id: "byline-icon-aw",
17
+ children: [
18
+ /*#__PURE__*/ jsx("defs", {
19
+ children: /*#__PURE__*/ jsxs("linearGradient", {
20
+ id: "byline-icon-linear-gradient",
21
+ x1: "256",
22
+ y1: "-61.06",
23
+ x2: "256",
24
+ y2: "844.52",
25
+ gradientTransform: "translate(512 0) rotate(90)",
26
+ gradientUnits: "userSpaceOnUse",
27
+ children: [
28
+ /*#__PURE__*/ jsx("stop", {
29
+ offset: ".19",
30
+ stopColor: "#871fff"
31
+ }),
32
+ /*#__PURE__*/ jsx("stop", {
33
+ offset: "1",
34
+ stopColor: "#00005e"
35
+ })
36
+ ]
37
+ })
38
+ }),
39
+ /*#__PURE__*/ jsx("rect", {
40
+ x: "6",
41
+ y: "6",
42
+ width: "500",
43
+ height: "500",
44
+ rx: "56.38",
45
+ ry: "56.38",
46
+ transform: "translate(0 512) rotate(-90)",
47
+ fill: "url(#byline-icon-linear-gradient)"
48
+ }),
49
+ /*#__PURE__*/ jsxs("g", {
50
+ children: [
51
+ /*#__PURE__*/ jsxs("g", {
52
+ children: [
53
+ /*#__PURE__*/ jsx("rect", {
54
+ x: "61.13",
55
+ y: "76.47",
56
+ width: "149.54",
57
+ height: "29.65",
58
+ rx: "14.83",
59
+ ry: "14.83",
60
+ fill: "#031133"
61
+ }),
62
+ /*#__PURE__*/ jsx("rect", {
63
+ x: "61.13",
64
+ y: "145.83",
65
+ width: "102.9",
66
+ height: "29.65",
67
+ rx: "14.83",
68
+ ry: "14.83",
69
+ fill: "#031133"
70
+ }),
71
+ /*#__PURE__*/ jsx("rect", {
72
+ x: "61.13",
73
+ y: "215.18",
74
+ width: "56.26",
75
+ height: "29.65",
76
+ rx: "14.83",
77
+ ry: "14.83",
78
+ fill: "#031133"
79
+ }),
80
+ /*#__PURE__*/ jsx("rect", {
81
+ x: "61.13",
82
+ y: "76.47",
83
+ width: "139.93",
84
+ height: "29.65",
85
+ rx: "14.83",
86
+ ry: "14.83",
87
+ fill: "#fff"
88
+ }),
89
+ /*#__PURE__*/ jsx("rect", {
90
+ x: "61.13",
91
+ y: "145.83",
92
+ width: "93.29",
93
+ height: "29.65",
94
+ rx: "14.83",
95
+ ry: "14.83",
96
+ fill: "#fff"
97
+ }),
98
+ /*#__PURE__*/ jsx("rect", {
99
+ x: "61.13",
100
+ y: "215.18",
101
+ width: "46.64",
102
+ height: "29.65",
103
+ rx: "14.83",
104
+ ry: "14.83",
105
+ fill: "#fff"
106
+ })
107
+ ]
108
+ }),
109
+ /*#__PURE__*/ jsxs("g", {
110
+ children: [
111
+ /*#__PURE__*/ jsx("rect", {
112
+ x: "301.92",
113
+ y: "405.12",
114
+ width: "149.54",
115
+ height: "29.65",
116
+ rx: "14.83",
117
+ ry: "14.83",
118
+ transform: "translate(753.38 839.9) rotate(180)",
119
+ fill: "#031133"
120
+ }),
121
+ /*#__PURE__*/ jsx("rect", {
122
+ x: "348.56",
123
+ y: "335.77",
124
+ width: "102.9",
125
+ height: "29.65",
126
+ rx: "14.83",
127
+ ry: "14.83",
128
+ transform: "translate(800.02 701.19) rotate(180)",
129
+ fill: "#031133"
130
+ }),
131
+ /*#__PURE__*/ jsx("rect", {
132
+ x: "311.53",
133
+ y: "405.12",
134
+ width: "139.93",
135
+ height: "29.65",
136
+ rx: "14.83",
137
+ ry: "14.83",
138
+ transform: "translate(762.99 839.9) rotate(180)",
139
+ fill: "#fff"
140
+ }),
141
+ /*#__PURE__*/ jsx("rect", {
142
+ x: "358.17",
143
+ y: "335.77",
144
+ width: "93.29",
145
+ height: "29.65",
146
+ rx: "14.83",
147
+ ry: "14.83",
148
+ transform: "translate(809.64 701.19) rotate(180)",
149
+ fill: "#fff"
150
+ })
151
+ ]
152
+ })
153
+ ]
154
+ }),
155
+ /*#__PURE__*/ jsx("path", {
156
+ d: "M351.68,191.96s24.57,12.11,66.36-8.06c-3.22,4.24-12.96,22.53-39.01,35.05-18.67,8.98-33.44,13.47-60.53,19.52,0,0,28.27,14.57,66.23-5.43-29.64,43.26-53.21,56.9-132.88,80.78,0,0,19.82,12.09,61.09-5.89-7.81,11.57-18.67,19.81-26.67,26.36-25.74,21.09-41.93,19.65-92.41,26.52-9.96,21.86-18.61,44.08-23.16,66.66-1.83,10.93-6.57,20.49-15.15,30.05l-2.56.49c-2.56-5.38-3.3-10.97-3.31-16.59,0-1.59.04-3.17.16-4.76,2.48-21.31,11.16-39.56,19.81-60,2.23-5.2,4.58-10.4,7.02-15.55,2.58-5.45,5.25-10.89,8.05-16.27,4.75-9.3,9.81-18.51,15.15-27.62,5.25-8.96,10.75-17.85,16.52-26.63,2.62-4.35,5.29-8.68,8.04-13,5.92-9.44,12.09-18.79,18.46-28.08,9.28-13.54,18.95-26.94,28.92-40.21,7.21-9.58,14.54-19.11,21.99-28.56,8.29-10.54,16.71-20.99,25.2-31.42l-2.96-4.01c-11.11,11.14-21.93,22.43-32.45,33.9-8.8,9.59-17.39,19.27-25.76,29.08-2.06,2.37-4.07,4.75-6.08,7.14-9.24,11.02-18.14,22.22-26.61,33.58-6.98,9.32-13.66,18.76-20.07,28.3-8.74,13.01-16.94,26.22-24.54,39.62-5.16,9.09-10.06,18.28-14.66,27.56-.11.19-.2.36-.28.55-.07-.17-.11-.32-.16-.49-2.42-6.69-1.51-26.16-.89-36.13.63-10.85,3.6-23.3,7.57-37.3,13.9-49.03,47.15-87.85,54.64-97.2,54.13-67.7,143.46-128.01,187.49-119.71,20.59,3.88,24.01,18.78,25.97,23.85.11.3.22.61.35.89,26.84,69.91-76.02,107.15-88.85,113.01Z",
157
+ fill: "#fff"
158
+ })
159
+ ]
160
+ })
161
+ });
162
+ };
163
+ BylineIcon.displayName = 'BylineIcon';
164
+ export { BylineIcon };
@@ -1,5 +1,6 @@
1
1
  export * from './activity-icon.js';
2
2
  export * from './ai-icon.js';
3
+ export * from './byline-icon.js';
3
4
  export * from './calendar-icon.js';
4
5
  export * from './check-icon.js';
5
6
  export * from './chevron-down-icon.js';
@@ -1,5 +1,6 @@
1
1
  export * from "./activity-icon.js";
2
2
  export * from "./ai-icon.js";
3
+ export * from "./byline-icon.js";
3
4
  export * from "./calendar-icon.js";
4
5
  export * from "./check-icon.js";
5
6
  export * from "./chevron-down-icon.js";
package/dist/uikit.d.ts CHANGED
@@ -46,6 +46,7 @@ export * from './components/tabs/tabs.js';
46
46
  export * from './components/tooltip/tooltip.js';
47
47
  export * from './icons/activity-icon.js';
48
48
  export * from './icons/ai-icon.js';
49
+ export * from './icons/byline-icon.js';
49
50
  export * from './icons/calendar-icon.js';
50
51
  export * from './icons/check-icon.js';
51
52
  export * from './icons/chevron-down-icon.js';
package/dist/uikit.js CHANGED
@@ -41,6 +41,7 @@ export * from "./components/tabs/tabs.js";
41
41
  export * from "./components/tooltip/tooltip.js";
42
42
  export * from "./icons/activity-icon.js";
43
43
  export * from "./icons/ai-icon.js";
44
+ export * from "./icons/byline-icon.js";
44
45
  export * from "./icons/calendar-icon.js";
45
46
  export * from "./icons/check-icon.js";
46
47
  export * from "./icons/chevron-down-icon.js";
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "private": false,
4
4
  "type": "module",
5
5
  "license": "MPL-2.0",
6
- "version": "2.2.7",
6
+ "version": "2.2.9",
7
7
  "engines": {
8
8
  "node": ">=20.9.0"
9
9
  },
@@ -50,24 +50,24 @@
50
50
  }
51
51
  },
52
52
  "dependencies": {
53
- "@base-ui/react": "^1.4.1",
53
+ "@base-ui/react": "^1.5.0",
54
54
  "@dnd-kit/core": "^6.3.1",
55
55
  "@dnd-kit/modifiers": "^9.0.0",
56
56
  "@dnd-kit/sortable": "^10.0.0",
57
57
  "@dnd-kit/utilities": "^3.2.2",
58
58
  "@tanstack/react-form-start": "^1.32.0",
59
59
  "classnames": "^2.5.1",
60
- "date-fns": "^4.1.0",
60
+ "date-fns": "^4.2.1",
61
61
  "lodash-es": "^4.18.1",
62
- "motion": "^12.38.0",
62
+ "motion": "^12.39.0",
63
63
  "npm-run-all": "^4.1.5",
64
- "react-day-picker": "^10.0.0",
64
+ "react-day-picker": "^10.0.1",
65
65
  "react-diff-viewer-continued": "^4.2.2",
66
66
  "zod": "^4.4.3",
67
67
  "zod-form-data": "^3.0.1",
68
- "@byline/admin": "2.2.7",
69
- "@byline/core": "2.2.7",
70
- "@byline/client": "2.2.7"
68
+ "@byline/admin": "2.2.9",
69
+ "@byline/core": "2.2.9",
70
+ "@byline/client": "2.2.9"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "react": "^19.0.0",
@@ -76,23 +76,23 @@
76
76
  "devDependencies": {
77
77
  "@biomejs/biome": "2.4.15",
78
78
  "@rsbuild/plugin-react": "^2.0.0",
79
- "@rslib/core": "^0.21.4",
79
+ "@rslib/core": "^0.21.5",
80
80
  "@types/lodash": "^4.17.24",
81
81
  "@types/lodash-es": "^4.17.12",
82
- "@types/node": "^25.6.2",
83
- "@types/react": "19.2.14",
82
+ "@types/node": "^25.9.1",
83
+ "@types/react": "19.2.15",
84
84
  "@types/react-dom": "19.2.3",
85
- "@vitejs/plugin-react": "^6.0.1",
85
+ "@vitejs/plugin-react": "^6.0.2",
86
86
  "chokidar": "^5.0.0",
87
87
  "lightningcss": "^1.32.0",
88
88
  "lightningcss-cli": "^1.32.0",
89
- "react": "^19.2.6",
90
- "react-dom": "^19.2.6",
89
+ "react": "19.2.6",
90
+ "react-dom": "19.2.6",
91
91
  "rimraf": "^6.1.3",
92
92
  "typescript": "6.0.3",
93
93
  "typescript-plugin-css-modules": "^5.2.0",
94
- "vite": "^8.0.12",
95
- "vitest": "^4.1.5"
94
+ "vite": "^8.0.13",
95
+ "vitest": "^4.1.7"
96
96
  },
97
97
  "publishConfig": {
98
98
  "access": "public",
@@ -0,0 +1,156 @@
1
+ import type React from 'react'
2
+
3
+ import cx from 'classnames'
4
+
5
+ import { IconElement } from './icon-element.js'
6
+ import type { IconProps } from './types/icon.js'
7
+
8
+ const svgStylesDefault = ''
9
+
10
+ export const BylineIcon = ({ className, svgClassName, ...rest }: IconProps): React.JSX.Element => {
11
+ const applied = cx(svgStylesDefault, svgClassName)
12
+
13
+ return (
14
+ <IconElement className={cx('byline-icon', className)} {...rest}>
15
+ <svg
16
+ className={applied}
17
+ xmlns="http://www.w3.org/2000/svg"
18
+ focusable="false"
19
+ aria-hidden="true"
20
+ viewBox="0 0 512 512"
21
+ id="byline-icon-aw"
22
+ >
23
+ <defs>
24
+ <linearGradient
25
+ id="byline-icon-linear-gradient"
26
+ x1="256"
27
+ y1="-61.06"
28
+ x2="256"
29
+ y2="844.52"
30
+ gradientTransform="translate(512 0) rotate(90)"
31
+ gradientUnits="userSpaceOnUse"
32
+ >
33
+ <stop offset=".19" stopColor="#871fff" />
34
+ <stop offset="1" stopColor="#00005e" />
35
+ </linearGradient>
36
+ </defs>
37
+ <rect
38
+ x="6"
39
+ y="6"
40
+ width="500"
41
+ height="500"
42
+ rx="56.38"
43
+ ry="56.38"
44
+ transform="translate(0 512) rotate(-90)"
45
+ fill="url(#byline-icon-linear-gradient)"
46
+ />
47
+ <g>
48
+ <g>
49
+ <rect
50
+ x="61.13"
51
+ y="76.47"
52
+ width="149.54"
53
+ height="29.65"
54
+ rx="14.83"
55
+ ry="14.83"
56
+ fill="#031133"
57
+ />
58
+ <rect
59
+ x="61.13"
60
+ y="145.83"
61
+ width="102.9"
62
+ height="29.65"
63
+ rx="14.83"
64
+ ry="14.83"
65
+ fill="#031133"
66
+ />
67
+ <rect
68
+ x="61.13"
69
+ y="215.18"
70
+ width="56.26"
71
+ height="29.65"
72
+ rx="14.83"
73
+ ry="14.83"
74
+ fill="#031133"
75
+ />
76
+ <rect
77
+ x="61.13"
78
+ y="76.47"
79
+ width="139.93"
80
+ height="29.65"
81
+ rx="14.83"
82
+ ry="14.83"
83
+ fill="#fff"
84
+ />
85
+ <rect
86
+ x="61.13"
87
+ y="145.83"
88
+ width="93.29"
89
+ height="29.65"
90
+ rx="14.83"
91
+ ry="14.83"
92
+ fill="#fff"
93
+ />
94
+ <rect
95
+ x="61.13"
96
+ y="215.18"
97
+ width="46.64"
98
+ height="29.65"
99
+ rx="14.83"
100
+ ry="14.83"
101
+ fill="#fff"
102
+ />
103
+ </g>
104
+ <g>
105
+ <rect
106
+ x="301.92"
107
+ y="405.12"
108
+ width="149.54"
109
+ height="29.65"
110
+ rx="14.83"
111
+ ry="14.83"
112
+ transform="translate(753.38 839.9) rotate(180)"
113
+ fill="#031133"
114
+ />
115
+ <rect
116
+ x="348.56"
117
+ y="335.77"
118
+ width="102.9"
119
+ height="29.65"
120
+ rx="14.83"
121
+ ry="14.83"
122
+ transform="translate(800.02 701.19) rotate(180)"
123
+ fill="#031133"
124
+ />
125
+ <rect
126
+ x="311.53"
127
+ y="405.12"
128
+ width="139.93"
129
+ height="29.65"
130
+ rx="14.83"
131
+ ry="14.83"
132
+ transform="translate(762.99 839.9) rotate(180)"
133
+ fill="#fff"
134
+ />
135
+ <rect
136
+ x="358.17"
137
+ y="335.77"
138
+ width="93.29"
139
+ height="29.65"
140
+ rx="14.83"
141
+ ry="14.83"
142
+ transform="translate(809.64 701.19) rotate(180)"
143
+ fill="#fff"
144
+ />
145
+ </g>
146
+ </g>
147
+ <path
148
+ d="M351.68,191.96s24.57,12.11,66.36-8.06c-3.22,4.24-12.96,22.53-39.01,35.05-18.67,8.98-33.44,13.47-60.53,19.52,0,0,28.27,14.57,66.23-5.43-29.64,43.26-53.21,56.9-132.88,80.78,0,0,19.82,12.09,61.09-5.89-7.81,11.57-18.67,19.81-26.67,26.36-25.74,21.09-41.93,19.65-92.41,26.52-9.96,21.86-18.61,44.08-23.16,66.66-1.83,10.93-6.57,20.49-15.15,30.05l-2.56.49c-2.56-5.38-3.3-10.97-3.31-16.59,0-1.59.04-3.17.16-4.76,2.48-21.31,11.16-39.56,19.81-60,2.23-5.2,4.58-10.4,7.02-15.55,2.58-5.45,5.25-10.89,8.05-16.27,4.75-9.3,9.81-18.51,15.15-27.62,5.25-8.96,10.75-17.85,16.52-26.63,2.62-4.35,5.29-8.68,8.04-13,5.92-9.44,12.09-18.79,18.46-28.08,9.28-13.54,18.95-26.94,28.92-40.21,7.21-9.58,14.54-19.11,21.99-28.56,8.29-10.54,16.71-20.99,25.2-31.42l-2.96-4.01c-11.11,11.14-21.93,22.43-32.45,33.9-8.8,9.59-17.39,19.27-25.76,29.08-2.06,2.37-4.07,4.75-6.08,7.14-9.24,11.02-18.14,22.22-26.61,33.58-6.98,9.32-13.66,18.76-20.07,28.3-8.74,13.01-16.94,26.22-24.54,39.62-5.16,9.09-10.06,18.28-14.66,27.56-.11.19-.2.36-.28.55-.07-.17-.11-.32-.16-.49-2.42-6.69-1.51-26.16-.89-36.13.63-10.85,3.6-23.3,7.57-37.3,13.9-49.03,47.15-87.85,54.64-97.2,54.13-67.7,143.46-128.01,187.49-119.71,20.59,3.88,24.01,18.78,25.97,23.85.11.3.22.61.35.89,26.84,69.91-76.02,107.15-88.85,113.01Z"
149
+ fill="#fff"
150
+ />
151
+ </svg>
152
+ </IconElement>
153
+ )
154
+ }
155
+
156
+ BylineIcon.displayName = 'BylineIcon'
@@ -1,5 +1,6 @@
1
1
  export * from './activity-icon.js'
2
2
  export * from './ai-icon.js'
3
+ export * from './byline-icon.js'
3
4
  export * from './calendar-icon.js'
4
5
  export * from './check-icon.js'
5
6
  export * from './chevron-down-icon.js'
package/src/uikit.ts CHANGED
@@ -54,6 +54,7 @@ export * from './components/tabs/tabs.js'
54
54
  export * from './components/tooltip/tooltip.js'
55
55
  export * from './icons/activity-icon.js'
56
56
  export * from './icons/ai-icon.js'
57
+ export * from './icons/byline-icon.js'
57
58
  export * from './icons/calendar-icon.js'
58
59
  export * from './icons/check-icon.js'
59
60
  export * from './icons/chevron-down-icon.js'