@ctlyst.id/internal-ui 2.0.28 → 2.0.29-canary.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. package/dist/components/badge/__stories__/badge.stories.d.ts +0 -3
  2. package/dist/components/base/__stories__/switch.stories.d.ts +0 -3
  3. package/dist/components/breadcrumb/__stories__/breadcrumb.stories.d.ts +0 -3
  4. package/dist/components/button/__stories__/button.stories.d.ts +0 -3
  5. package/dist/components/card/__stories__/card.stories.d.ts +0 -3
  6. package/dist/components/checkbox/__stories__/checkbox-group.stories.d.ts +0 -3
  7. package/dist/components/checkbox/__stories__/checkbox.stories.d.ts +0 -3
  8. package/dist/components/chips/__stories__/chips.stories.d.ts +0 -3
  9. package/dist/components/data-table/__stories__/datatable.stories.d.ts +0 -3
  10. package/dist/components/datepicker/__stories__/datepicker.stories.d.ts +0 -3
  11. package/dist/components/form/__stories__/textarea.stories.d.ts +0 -3
  12. package/dist/components/header/__stories__/header.stories.d.ts +0 -3
  13. package/dist/components/loader/__stories__/loader.stories.d.ts +0 -3
  14. package/dist/components/modal/__stories__/modal.stories.d.ts +0 -3
  15. package/dist/components/navigation/__stories__/navigation.stories.d.ts +0 -3
  16. package/dist/components/pagination/__stories__/pagination.stories.d.ts +0 -3
  17. package/dist/components/radio/__stories__/radio-group.stories.d.ts +0 -3
  18. package/dist/components/radio/__stories__/radio.stories.d.ts +0 -3
  19. package/dist/components/rating/__stories__/rating.stories.d.ts +0 -3
  20. package/dist/components/select/__stories__/select.stories.d.ts +0 -3
  21. package/dist/components/switch/__stories__/switch.stories.d.ts +0 -3
  22. package/dist/components/tabs/__stories__/tabs.stories.d.ts +0 -3
  23. package/dist/components/tooltip/__stories__/tooltip.stories.d.ts +0 -3
  24. package/dist/components/uploader/__stories__/uploader.stories.d.ts +0 -3
  25. package/dist/config/theme/components/loader.d.ts +1 -1
  26. package/dist/config/theme/foundations/index.d.ts +0 -1
  27. package/dist/config/theme/themeConfiguration.d.ts +1 -0
  28. package/dist/internal-ui.cjs.development.js +285 -437
  29. package/dist/internal-ui.cjs.development.js.map +1 -1
  30. package/dist/internal-ui.cjs.production.min.js +5 -5
  31. package/dist/internal-ui.cjs.production.min.js.map +1 -1
  32. package/dist/internal-ui.esm.js +286 -439
  33. package/dist/internal-ui.esm.js.map +1 -1
  34. package/dist/provider/__stories__/provider.stories.d.ts +4 -0
  35. package/package.json +5 -4
  36. package/dist/config/theme/foundations/colors.d.ts +0 -158
@@ -1,8 +1,5 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,9 +1,6 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
- chakra: {
5
- theme: Record<string, any>;
6
- };
7
4
  component: <T extends unknown>(props: import("../components/data-table").DataTableProps<T> & {
8
5
  ref?: ((instance: Pick<any, "toggleAllRowsSelected"> | null) => void) | React.RefObject<Pick<any, "toggleAllRowsSelected">> | null | undefined;
9
6
  }) => JSX.Element;
@@ -1,8 +1,5 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,8 +1,5 @@
1
1
  import React from 'react';
2
2
  declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
3
  title: string;
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
@@ -1,9 +1,6 @@
1
1
  import * as React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
- chakra: {
5
- theme: Record<string, any>;
6
- };
7
4
  decorators: ((Story: React.ElementType) => JSX.Element)[];
8
5
  };
9
6
  export default _default;
@@ -77,7 +77,7 @@ declare const LoaderStyle: {
77
77
  [key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
78
78
  } | undefined;
79
79
  defaultProps?: {
80
- size?: "sm" | "md" | "lg" | "xl" | "xs" | "xxl" | undefined;
80
+ size?: "lg" | "xs" | "sm" | "md" | "xl" | "xxl" | undefined;
81
81
  variant?: string | number | undefined;
82
82
  colorScheme?: string | undefined;
83
83
  } | undefined;
@@ -1,4 +1,3 @@
1
- export { default as colors } from './colors';
2
1
  export { default as radii } from './radius';
3
2
  export { default as shadows } from './shadows';
4
3
  export { default as sizes } from './sizes';
@@ -1,4 +1,5 @@
1
1
  import * as foundations from './foundations';
2
+ export declare const getTheme: (colorScheme: Record<string, any>) => Record<string, any>;
2
3
  declare const theme: Record<string, any>;
3
4
  declare type Theme = typeof theme;
4
5
  declare type Foundations = typeof foundations;