@webority/ui-react 0.147.0 → 0.148.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/canvas-kit/kit.js +21478 -21273
- package/dist/canvas-kit/manifest.json +95 -8
- package/dist/canvas-kit/release.json +6 -6
- package/dist/components/AppCommentThread.js +1 -1
- package/dist/components/AppDropdown.js +1 -1
- package/dist/components/AppSelect.js +1 -1
- package/dist/components/AppShell.js +1 -1
- package/dist/components/AppTimeline.js +1 -1
- package/dist/guidance.json +1 -1
- package/dist/types/components/AppCommentThread.d.ts +8 -2
- package/dist/types/components/AppDropdown.d.ts +5 -4
- package/dist/types/components/AppSelect.d.ts +12 -0
- package/dist/types/components/AppShell.d.ts +6 -0
- package/dist/types/components/AppTimeline.d.ts +6 -0
- package/package.json +14 -14
|
@@ -221,6 +221,8 @@ export type SearchShape = {
|
|
|
221
221
|
* @param {string} [props.markLight] Image URL of the square mark shown on the collapsed rail.
|
|
222
222
|
* @param {string} [props.markDark] Dark-mode twin of `markLight`.
|
|
223
223
|
* @param {string} [props.brandName] The brand name, read by screen readers from the logo, or from the mark when there is no logo.
|
|
224
|
+
* @param {string} [props.brandHref] Makes the logo row a link to this address, through linkComponent when one is passed, and a tap on it closes the phone drawer. The link wraps the logo, mark and brand node, so brand must hold no link of its own. Needs brandLabel or brandName, and a brand, logo or mark to link.
|
|
225
|
+
* @param {string} [props.brandLabel] The brand link's accessible name, such as "Acme home". Used only with brandHref; defaults to brandName.
|
|
224
226
|
* @param {import('react').ReactNode} [props.sidebarStart]
|
|
225
227
|
* @param {import('react').ReactNode} [props.sidebarStartCompact]
|
|
226
228
|
* @param {import('react').ReactNode} [props.sidebarFooter]
|
|
@@ -295,6 +297,10 @@ export default function AppShell(props: {
|
|
|
295
297
|
markDark?: string;
|
|
296
298
|
/** The brand name, read by screen readers from the logo, or from the mark when there is no logo. */
|
|
297
299
|
brandName?: string;
|
|
300
|
+
/** Makes the logo row a link to this address, through linkComponent when one is passed. The link wraps the logo, mark and brand, so brand must hold no link of its own. Needs brandLabel or brandName. */
|
|
301
|
+
brandHref?: string;
|
|
302
|
+
/** The brand link's accessible name, such as Acme home. Used only with brandHref; defaults to brandName. */
|
|
303
|
+
brandLabel?: string;
|
|
298
304
|
/** Between the brand row and the nav, such as a workspace switcher or an environment badge. Hidden on the collapsed rail. */
|
|
299
305
|
sidebarStart?: import('react').ReactNode;
|
|
300
306
|
/** The same slot for the collapsed rail, typically a compact monogram control. Shown only on the desktop collapsed rail. */
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
* @param {string} [props.className]
|
|
31
31
|
* @param {import('react').CSSProperties} [props.style]
|
|
32
32
|
* @param {string} [props.stepLabel] Default "Step {number}". The {number} token is the step's position, counted from 1.
|
|
33
|
+
* @param {boolean} [props.markdown] Draws each item's description and note as Markdown (bold, italics, lists, links, code), through the shared Markdown element, which never renders raw HTML. Both must then be strings. Default false: plain text.
|
|
33
34
|
*/
|
|
34
35
|
export default function AppTimeline(props: {
|
|
35
36
|
/**
|
|
@@ -74,4 +75,9 @@ export default function AppTimeline(props: {
|
|
|
74
75
|
* @default "Step {number}"
|
|
75
76
|
*/
|
|
76
77
|
stepLabel?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Draws each item's description and note as Markdown (bold, italics, lists, links, code); raw HTML shows as text. Both must then be strings. Unset, they show as plain text.
|
|
80
|
+
* @default false
|
|
81
|
+
*/
|
|
82
|
+
markdown?: boolean;
|
|
77
83
|
}): import("react").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/ui-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.148.0",
|
|
4
4
|
"description": "Webority shared React component library — App* primitives on react-bootstrap + the @webority/theme design system.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"type": "module",
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
},
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@webority/markdown-core": "0.
|
|
33
|
-
"@webority/theme": "0.
|
|
34
|
-
"@webority/ui-elements": "0.
|
|
35
|
-
"@webority/web-core": "0.
|
|
32
|
+
"@webority/markdown-core": "0.148.0",
|
|
33
|
+
"@webority/theme": "0.148.0",
|
|
34
|
+
"@webority/ui-elements": "0.148.0",
|
|
35
|
+
"@webority/web-core": "0.148.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@webority/analytics": "^0.36.0",
|
|
39
|
-
"bootstrap": "5.3.
|
|
39
|
+
"bootstrap": "5.3.8",
|
|
40
40
|
"react": "^19.0.0",
|
|
41
41
|
"react-bootstrap": "^2.10.0",
|
|
42
42
|
"react-dom": "^19.0.0"
|
|
@@ -48,18 +48,18 @@
|
|
|
48
48
|
"@testing-library/user-event": "^14.6.1",
|
|
49
49
|
"@types/react": "^19.2.17",
|
|
50
50
|
"@vitejs/plugin-react": "^6.0.1",
|
|
51
|
-
"@vitest/coverage-v8": "5.0
|
|
51
|
+
"@vitest/coverage-v8": "5.1.0",
|
|
52
52
|
"@webority/analytics": "0.36.1",
|
|
53
|
-
"@webority/canvas-kit": "0.
|
|
54
|
-
"@webority/tokens": "0.
|
|
55
|
-
"bootstrap": "5.3.
|
|
53
|
+
"@webority/canvas-kit": "0.148.0",
|
|
54
|
+
"@webority/tokens": "0.148.0",
|
|
55
|
+
"bootstrap": "5.3.8",
|
|
56
56
|
"jsdom": "30.1.1",
|
|
57
|
-
"react": "^19.
|
|
57
|
+
"react": "^19.3.1",
|
|
58
58
|
"react-bootstrap": "^2.10.6",
|
|
59
|
-
"react-dom": "^19.
|
|
59
|
+
"react-dom": "^19.3.1",
|
|
60
60
|
"typescript": "^7.0.2",
|
|
61
|
-
"vite": "^8.
|
|
62
|
-
"vitest": "5.0
|
|
61
|
+
"vite": "^8.3.6",
|
|
62
|
+
"vitest": "5.1.0"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"build": "vite build && tsc -p tsconfig.json && node ../../scripts/inject-meta-docs.mjs && node ../canvas-kit/dist/cli.js build --config canvas-kit.json --out dist/canvas-kit && node ../canvas-kit/dist/cli.js guidance --config canvas-kit.json --out dist/guidance.json && node ../../scripts/sync-rcl-assets.mjs analytics",
|