@webority/ui-react 0.7.7 → 0.7.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.
- package/dist/types/components/AppAlert.d.ts +6 -2
- package/dist/types/components/AppConfirmDialog.d.ts +3 -1
- package/dist/types/components/AppInfoTip.d.ts +2 -1
- package/dist/types/components/AppPopover.d.ts +8 -4
- package/dist/types/components/AppShell.d.ts +6 -1
- package/dist/types/components/AppSwitch.d.ts +2 -0
- package/dist/types/components/AppTablePagination.d.ts +3 -1
- package/dist/types/components/AppToast.d.ts +17 -0
- package/dist/types/components/AppTooltip.d.ts +11 -2
- package/dist/types/components/AppWizard.d.ts +35 -0
- package/dist/types/components/AppWorkspaceSwitcher.d.ts +59 -0
- package/dist/types/components/toast.d.ts +2 -0
- package/dist/types/components/toastStore.d.ts +3 -0
- package/dist/types/components/useWuiControl.d.ts +17 -1
- package/dist/types/index.d.ts +4 -2
- package/dist/types/lib/CheckField.d.ts +6 -0
- package/dist/types/lib/emptyValue.d.ts +13 -0
- package/dist/ui-react.js +2603 -1996
- package/package.json +3 -3
- package/dist/types/components/AppToastContainer.d.ts +0 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/ui-react",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.9",
|
|
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",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@webority/theme": "^0.7.
|
|
32
|
-
"@webority/ui-elements": "^0.7.
|
|
31
|
+
"@webority/theme": "^0.7.9",
|
|
32
|
+
"@webority/ui-elements": "^0.7.9"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"bootstrap": "5.3.3",
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mounts once near the app root and renders whatever toast()/errorToast() raise. The
|
|
3
|
-
* auto-dismiss timer itself lives in toastStore (so a toast still expires with no container
|
|
4
|
-
* mounted); react-bootstrap's Toast reproduces the same delay for its own slide/fade exit,
|
|
5
|
-
* and there is no bespoke stylesheet — the look is Bootstrap + the shared theme.
|
|
6
|
-
*
|
|
7
|
-
* Supports new toast options:
|
|
8
|
-
* - title: optional bold first line
|
|
9
|
-
* - duration: auto-dismiss delay in ms, set via toast()/errorToast() (0 = sticky/persistent)
|
|
10
|
-
* - action: { label, onClick } renders an action button
|
|
11
|
-
*
|
|
12
|
-
* @param {object} props
|
|
13
|
-
* @param {'top-start'|'top-center'|'top-end'|'middle-center'|'bottom-start'|'bottom-center'|'bottom-end'} [props.position='bottom-end']
|
|
14
|
-
*/
|
|
15
|
-
export default function AppToastContainer({ position }: {
|
|
16
|
-
position?: 'top-start' | 'top-center' | 'top-end' | 'middle-center' | 'bottom-start' | 'bottom-center' | 'bottom-end';
|
|
17
|
-
}): import("react").JSX.Element;
|