@rango-dev/ui 0.27.0 → 0.27.1-next.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/CHANGELOG.md +25 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +4 -4
- package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts +1 -0
- package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts.map +1 -1
- package/dist/widget/ui/src/components/Toast/Toast.Provider.d.ts +6 -0
- package/dist/widget/ui/src/components/Toast/Toast.Provider.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Toast/Toast.d.ts +4 -0
- package/dist/widget/ui/src/components/Toast/Toast.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Toast/Toast.helpers.d.ts +2 -0
- package/dist/widget/ui/src/components/Toast/Toast.helpers.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Toast/Toast.stories.d.ts +7 -0
- package/dist/widget/ui/src/components/Toast/Toast.stories.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Toast/Toast.styles.d.ts +977 -0
- package/dist/widget/ui/src/components/Toast/Toast.styles.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Toast/Toast.types.d.ts +31 -0
- package/dist/widget/ui/src/components/Toast/Toast.types.d.ts.map +1 -0
- package/dist/widget/ui/src/components/Toast/index.d.ts +3 -0
- package/dist/widget/ui/src/components/Toast/index.d.ts.map +1 -0
- package/dist/widget/ui/src/components/index.d.ts +1 -0
- package/dist/widget/ui/src/components/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/components/Alert/Alert.styles.ts +5 -0
- package/src/components/Toast/Toast.Provider.tsx +87 -0
- package/src/components/Toast/Toast.helpers.ts +7 -0
- package/src/components/Toast/Toast.stories.tsx +71 -0
- package/src/components/Toast/Toast.styles.ts +113 -0
- package/src/components/Toast/Toast.tsx +59 -0
- package/src/components/Toast/Toast.types.ts +31 -0
- package/src/components/Toast/index.ts +2 -0
- package/src/components/index.ts +1 -0
|
@@ -327,6 +327,7 @@ export declare const Main: import("@stitches/react/types/styled-component").Styl
|
|
|
327
327
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
328
328
|
export declare const IconHighlight: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
329
329
|
type?: "success" | "warning" | "error" | "info" | "loading" | undefined;
|
|
330
|
+
align?: "center" | undefined;
|
|
330
331
|
}, {
|
|
331
332
|
xs: string;
|
|
332
333
|
sm: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Alert/Alert.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAwFpB,CAAC;AAEH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAcf,CAAC;AAEH,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"Alert.styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Alert/Alert.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAwFpB,CAAC;AAEH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAcf,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAqDxB,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAItB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ProviderContext, ProviderPropTypes } from './Toast.types';
|
|
2
|
+
import type { PropsWithChildren } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
export declare const ToastProvider: (props: PropsWithChildren<ProviderPropTypes>) => React.JSX.Element;
|
|
5
|
+
export declare function useToast(): ProviderContext;
|
|
6
|
+
//# sourceMappingURL=Toast.Provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.Provider.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Toast/Toast.Provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EAGlB,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAuD,MAAM,OAAO,CAAC;AAS5E,eAAO,MAAM,aAAa,UAAW,kBAAkB,iBAAiB,CAAC,sBA2DxE,CAAC;AAEF,wBAAgB,QAAQ,IAAI,eAAe,CAQ1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,OAAO,KAAoB,MAAM,OAAO,CAAC;AAgBzC,eAAO,MAAM,KAAK,UAAW,UAAU,sBAwCtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.helpers.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Toast/Toast.helpers.ts"],"names":[],"mappings":"AAAA,wBAAgB,WAAW,iBAM1B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ToastProps } from './Toast.types';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, ToastProps>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const TopToasts: (props: ToastProps) => React.JSX.Element;
|
|
6
|
+
export declare const BottomToasts: (props: ToastProps) => React.JSX.Element;
|
|
7
|
+
//# sourceMappingURL=Toast.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Toast/Toast.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,OAAO,KAAK,MAAM,OAAO,CAAC;;AAQ1B,wBAkBwB;AAExB,eAAO,MAAM,SAAS,UAAW,UAAU,sBAW1C,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,UAAU,sBAW7C,CAAC"}
|