@webority/ui-react 0.177.0 → 0.178.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 +96 -96
- package/dist/canvas-kit/manifest.json +133 -1
- package/dist/canvas-kit/release.json +6 -6
- package/dist/components/AppDataTable.js +1 -1
- package/dist/components/AppEntryGrid.js +1 -1
- package/dist/components/AppFileViewer.js +1 -1
- package/dist/components/AppInlineEdit.js +1 -1
- package/dist/components/AppModal.js +1 -1
- package/dist/components/AppOrgTree.js +1 -1
- package/dist/components/AppTablePagination.js +1 -1
- package/dist/components/AppTabs.js +1 -1
- package/dist/guidance.json +1 -1
- package/dist/types/components/AppDataTable.d.ts +1 -0
- package/dist/types/components/AppFileViewer.d.ts +1 -1
- package/dist/types/components/AppInlineEdit.d.ts +2 -0
- package/dist/types/components/AppModal.d.ts +3 -0
- package/dist/types/components/AppTablePagination.d.ts +5 -0
- package/dist/types/components/AppTabs.d.ts +1 -0
- package/package.json +10 -10
|
@@ -4,6 +4,7 @@ type AppModalTone = "neutral" | "danger" | "success" | "warning";
|
|
|
4
4
|
type AppModalPlacement = "center" | "top";
|
|
5
5
|
type AppModalSizePreset = "sm" | "md" | "lg" | "xl" | "wide";
|
|
6
6
|
type AppModalSize = AppModalSizePreset | "fullscreen" | number;
|
|
7
|
+
type AppModalPhoneSize = AppModalSizePreset | "fullscreen";
|
|
7
8
|
export interface AppModalProps extends Omit<ComponentPropsWithoutRef<"dialog">, "title"> {
|
|
8
9
|
/** Whether the dialog is shown. */
|
|
9
10
|
open: boolean;
|
|
@@ -45,6 +46,8 @@ export interface AppModalProps extends Omit<ComponentPropsWithoutRef<"dialog">,
|
|
|
45
46
|
* @default "md"
|
|
46
47
|
*/
|
|
47
48
|
size?: AppModalSize | undefined;
|
|
49
|
+
/** The card width below 576px, in place of size, which applies from 576px up. fullscreen covers the whole viewport on a phone. Unset, size applies at every width. */
|
|
50
|
+
phoneSize?: AppModalPhoneSize | undefined;
|
|
48
51
|
/**
|
|
49
52
|
* Vertical placement of the card: centred, or pinned near the top of the viewport.
|
|
50
53
|
* @default "center"
|
|
@@ -34,6 +34,11 @@ export interface AppTablePaginationProps extends ComponentPropsWithoutRef<"nav">
|
|
|
34
34
|
* @default false
|
|
35
35
|
*/
|
|
36
36
|
summary?: boolean | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Replaces the built-in English text, for other languages. The tokens {first}, {last} and {total} are the first and last rows on the page and the row total. It shows with summary.
|
|
39
|
+
* @default "Showing {first} to {last} of {total}"
|
|
40
|
+
*/
|
|
41
|
+
summaryText?: string | undefined;
|
|
37
42
|
/**
|
|
38
43
|
* sm draws 28px page and arrow buttons with 12px text.
|
|
39
44
|
* @default "md"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/ui-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.178.0",
|
|
4
4
|
"description": "Webority shared React component library: App* primitives on react-bootstrap and the @webority/theme design system.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"type": "module",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"./src/elements/*.ts"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@webority/markdown-core": "0.
|
|
45
|
-
"@webority/theme": "0.
|
|
46
|
-
"@webority/ui-elements": "0.
|
|
47
|
-
"@webority/web-core": "0.
|
|
44
|
+
"@webority/markdown-core": "0.178.0",
|
|
45
|
+
"@webority/theme": "0.178.0",
|
|
46
|
+
"@webority/ui-elements": "0.178.0",
|
|
47
|
+
"@webority/web-core": "0.178.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@webority/analytics": "^0.
|
|
50
|
+
"@webority/analytics": "^0.44.0",
|
|
51
51
|
"bootstrap": "5.3.9",
|
|
52
52
|
"react": "^19.0.0",
|
|
53
53
|
"react-bootstrap": "^2.10.0",
|
|
@@ -69,10 +69,10 @@
|
|
|
69
69
|
"@types/react-dom": "^19.3.0",
|
|
70
70
|
"@vitejs/plugin-react": "^6.0.1",
|
|
71
71
|
"@vitest/coverage-v8": "5.1.0",
|
|
72
|
-
"@webority/analytics": "0.
|
|
73
|
-
"@webority/canvas-kit": "0.
|
|
74
|
-
"@webority/biome-config": "0.
|
|
75
|
-
"@webority/tokens": "0.
|
|
72
|
+
"@webority/analytics": "0.44.0",
|
|
73
|
+
"@webority/canvas-kit": "0.178.0",
|
|
74
|
+
"@webority/biome-config": "0.178.0",
|
|
75
|
+
"@webority/tokens": "0.178.0",
|
|
76
76
|
"bootstrap": "5.3.9",
|
|
77
77
|
"jsdom": "30.1.1",
|
|
78
78
|
"react": "^19.3.1",
|