@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.
Files changed (31) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/index.js +2 -2
  3. package/dist/index.js.map +4 -4
  4. package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts +1 -0
  5. package/dist/widget/ui/src/components/Alert/Alert.styles.d.ts.map +1 -1
  6. package/dist/widget/ui/src/components/Toast/Toast.Provider.d.ts +6 -0
  7. package/dist/widget/ui/src/components/Toast/Toast.Provider.d.ts.map +1 -0
  8. package/dist/widget/ui/src/components/Toast/Toast.d.ts +4 -0
  9. package/dist/widget/ui/src/components/Toast/Toast.d.ts.map +1 -0
  10. package/dist/widget/ui/src/components/Toast/Toast.helpers.d.ts +2 -0
  11. package/dist/widget/ui/src/components/Toast/Toast.helpers.d.ts.map +1 -0
  12. package/dist/widget/ui/src/components/Toast/Toast.stories.d.ts +7 -0
  13. package/dist/widget/ui/src/components/Toast/Toast.stories.d.ts.map +1 -0
  14. package/dist/widget/ui/src/components/Toast/Toast.styles.d.ts +977 -0
  15. package/dist/widget/ui/src/components/Toast/Toast.styles.d.ts.map +1 -0
  16. package/dist/widget/ui/src/components/Toast/Toast.types.d.ts +31 -0
  17. package/dist/widget/ui/src/components/Toast/Toast.types.d.ts.map +1 -0
  18. package/dist/widget/ui/src/components/Toast/index.d.ts +3 -0
  19. package/dist/widget/ui/src/components/Toast/index.d.ts.map +1 -0
  20. package/dist/widget/ui/src/components/index.d.ts +1 -0
  21. package/dist/widget/ui/src/components/index.d.ts.map +1 -1
  22. package/package.json +2 -2
  23. package/src/components/Alert/Alert.styles.ts +5 -0
  24. package/src/components/Toast/Toast.Provider.tsx +87 -0
  25. package/src/components/Toast/Toast.helpers.ts +7 -0
  26. package/src/components/Toast/Toast.stories.tsx +71 -0
  27. package/src/components/Toast/Toast.styles.ts +113 -0
  28. package/src/components/Toast/Toast.tsx +59 -0
  29. package/src/components/Toast/Toast.types.ts +31 -0
  30. package/src/components/Toast/index.ts +2 -0
  31. 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAgDxB,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAItB,CAAC"}
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,4 @@
1
+ import type { ToastProps } from './Toast.types';
2
+ import React from 'react';
3
+ export declare const Toast: (props: ToastProps) => React.JSX.Element;
4
+ //# sourceMappingURL=Toast.d.ts.map
@@ -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,2 @@
1
+ export declare function idGenerator(): () => number;
2
+ //# sourceMappingURL=Toast.helpers.d.ts.map
@@ -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"}