@webority/ui-react 0.7.6 → 0.7.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webority/ui-react",
3
- "version": "0.7.6",
3
+ "version": "0.7.8",
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/ui-elements": "^0.7.6",
32
- "@webority/theme": "^0.7.6"
31
+ "@webority/theme": "^0.7.8",
32
+ "@webority/ui-elements": "^0.7.8"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "bootstrap": "5.3.3",
@@ -1,18 +0,0 @@
1
- /**
2
- * Mounts once near the app root and renders whatever toast()/errorToast() raise. Everything —
3
- * auto-dismiss, the ARIA live region, the slide/fade — comes from react-bootstrap's Toast, so
4
- * there is no toast library and no bespoke stylesheet; the look is Bootstrap + the shared theme.
5
- *
6
- * Supports new toast options:
7
- * - title: optional bold first line
8
- * - duration: auto-dismiss delay in ms (0 = sticky/persistent; from toastStore, not this prop)
9
- * - action: { label, onClick } renders an action button
10
- *
11
- * @param {object} props
12
- * @param {'top-start'|'top-center'|'top-end'|'middle-center'|'bottom-start'|'bottom-center'|'bottom-end'} [props.position='bottom-end']
13
- * @param {number} [props.autoDismiss=5000] Default auto-dismiss delay (legacy; overridden by individual toast.duration)
14
- */
15
- export default function AppToastContainer({ position, autoDismiss }: {
16
- position?: 'top-start' | 'top-center' | 'top-end' | 'middle-center' | 'bottom-start' | 'bottom-center' | 'bottom-end';
17
- autoDismiss?: number;
18
- }): import("react").JSX.Element;