@ctlyst.id/internal-ui 2.1.18 → 2.1.19
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/dist/components/accordion/__stories__/accordion.stories.d.ts +0 -9
- package/dist/components/accordion/components/accordion-indicator.d.ts +0 -1
- package/dist/components/accordion/components/index.d.ts +0 -2
- package/dist/components/accordion/index.d.ts +0 -1
- package/dist/components/alert/__stories__/alert.stories.d.ts +0 -11
- package/dist/components/alert/components/alert-action.d.ts +0 -6
- package/dist/components/alert/components/alert-close.d.ts +0 -6
- package/dist/components/alert/components/alert-context.d.ts +0 -33
- package/dist/components/alert/components/alert-description.d.ts +0 -3
- package/dist/components/alert/components/alert-icon.d.ts +0 -6
- package/dist/components/alert/components/alert-title.d.ts +0 -3
- package/dist/components/alert/components/alert.d.ts +0 -25
- package/dist/components/alert/components/icons.d.ts +0 -3
- package/dist/components/alert/components/index.d.ts +0 -14
- package/dist/components/alert/index.d.ts +0 -1
- package/dist/components/anchor/__stories__/anchor.stories.d.ts +0 -9
- package/dist/components/anchor/components/anchor.d.ts +0 -20
- package/dist/components/anchor/components/index.d.ts +0 -1
- package/dist/components/anchor/index.d.ts +0 -1
- package/dist/components/badge/__stories__/badge.stories.d.ts +0 -15
- package/dist/components/badge/components/badge.d.ts +0 -11
- package/dist/components/badge/components/index.d.ts +0 -1
- package/dist/components/badge/index.d.ts +0 -1
- package/dist/components/breadcrumb/__stories__/breadcrumb.stories.d.ts +0 -8
- package/dist/components/breadcrumb/components/bread-crumb.d.ts +0 -18
- package/dist/components/breadcrumb/index.d.ts +0 -2
- package/dist/components/button/__stories__/button.stories.d.ts +0 -12
- package/dist/components/button/components/button.d.ts +0 -4
- package/dist/components/button/index.d.ts +0 -3
- package/dist/components/card/__stories__/card.stories.d.ts +0 -8
- package/dist/components/card/components/card.d.ts +0 -8
- package/dist/components/card/index.d.ts +0 -2
- package/dist/components/checkbox/__stories__/checkbox.stories.d.ts +0 -13
- package/dist/components/checkbox/components/checkbox-group.d.ts +0 -18
- package/dist/components/checkbox/components/checkbox.d.ts +0 -10
- package/dist/components/checkbox/index.d.ts +0 -5
- package/dist/components/chips/__stories__/chips.stories.d.ts +0 -9
- package/dist/components/chips/components/chips.d.ts +0 -19
- package/dist/components/chips/index.d.ts +0 -2
- package/dist/components/collapse/__stories__/collapse.stories.d.ts +0 -7
- package/dist/components/counter/__stories__/counter.stories.d.ts +0 -10
- package/dist/components/counter/components/counter.d.ts +0 -15
- package/dist/components/counter/index.d.ts +0 -1
- package/dist/components/data-table/__stories__/datatable.stories.d.ts +0 -21
- package/dist/components/data-table/components/data-table.d.ts +0 -30
- package/dist/components/data-table/index.d.ts +0 -3
- package/dist/components/data-table/types/table-core.d.ts +0 -1
- package/dist/components/datepicker/__stories__/datepicker.stories.d.ts +0 -13
- package/dist/components/datepicker/components/datepicker-month/datepicker-month.d.ts +0 -9
- package/dist/components/datepicker/components/datepicker-month/index.d.ts +0 -4
- package/dist/components/datepicker/components/datepicker-month/multi-datepicker-month.d.ts +0 -9
- package/dist/components/datepicker/components/datepicker.d.ts +0 -17
- package/dist/components/datepicker/components/styles.d.ts +0 -2
- package/dist/components/datepicker/components/time-input.d.ts +0 -9
- package/dist/components/datepicker/index.d.ts +0 -3
- package/dist/components/dialog/__stories__/dialog.stories.d.ts +0 -7
- package/dist/components/dialog/components/dialog.d.ts +0 -12
- package/dist/components/dialog/index.d.ts +0 -1
- package/dist/components/empty-state/__stories__/dialog.stories.d.ts +0 -7
- package/dist/components/field/__stories__/field.stories.d.ts +0 -7
- package/dist/components/field/components/field.d.ts +0 -15
- package/dist/components/field/index.d.ts +0 -2
- package/dist/components/form/__stories__/input.stories.d.ts +0 -15
- package/dist/components/form/__stories__/textarea.stories.d.ts +0 -7
- package/dist/components/form/components/input-addon.d.ts +0 -7
- package/dist/components/form/components/input-element.d.ts +0 -2
- package/dist/components/form/components/input-field.d.ts +0 -13
- package/dist/components/form/components/textarea.d.ts +0 -8
- package/dist/components/form/index.d.ts +0 -7
- package/dist/components/form/styles/input-field.d.ts +0 -4
- package/dist/components/header/__stories__/header.stories.d.ts +0 -9
- package/dist/components/header/components/header.d.ts +0 -19
- package/dist/components/header/components/logo.d.ts +0 -10
- package/dist/components/header/components/profile.d.ts +0 -11
- package/dist/components/header/components/switch-mode.d.ts +0 -3
- package/dist/components/header/components/version.d.ts +0 -10
- package/dist/components/header/index.d.ts +0 -3
- package/dist/components/header/types.d.ts +0 -10
- package/dist/components/header/utils/formatter.d.ts +0 -2
- package/dist/components/image/__stories__/image.stories.d.ts +0 -9
- package/dist/components/image/index.d.ts +0 -1
- package/dist/components/index.d.ts +0 -34
- package/dist/components/layouting/index.d.ts +0 -1
- package/dist/components/list/index.d.ts +0 -1
- package/dist/components/loader/__stories__/loader.stories.d.ts +0 -9
- package/dist/components/loader/components/loader.d.ts +0 -10
- package/dist/components/loader/index.d.ts +0 -3
- package/dist/components/modal/__stories__/modal.stories.d.ts +0 -7
- package/dist/components/modal/components/modal-body.d.ts +0 -4
- package/dist/components/modal/components/modal-close-button.d.ts +0 -4
- package/dist/components/modal/components/modal-footer.d.ts +0 -4
- package/dist/components/modal/components/modal-header.d.ts +0 -4
- package/dist/components/modal/index.d.ts +0 -5
- package/dist/components/navigation/__stories__/navigation.stories.d.ts +0 -8
- package/dist/components/navigation/components/customer-icon.d.ts +0 -2
- package/dist/components/navigation/components/mapping-icon.d.ts +0 -2
- package/dist/components/navigation/components/navigation-bar.d.ts +0 -12
- package/dist/components/navigation/components/navigation.d.ts +0 -11
- package/dist/components/navigation/index.d.ts +0 -4
- package/dist/components/navigation/types.d.ts +0 -24
- package/dist/components/pagination/__stories__/pagination.stories.d.ts +0 -10
- package/dist/components/pagination/components/pagination-button-trigger.d.ts +0 -10
- package/dist/components/pagination/components/pagination-button.d.ts +0 -6
- package/dist/components/pagination/components/pagination-detail.d.ts +0 -10
- package/dist/components/pagination/components/pagination-filter.d.ts +0 -13
- package/dist/components/pagination/components/pagination.d.ts +0 -16
- package/dist/components/pagination/index.d.ts +0 -6
- package/dist/components/popover/index.d.ts +0 -1
- package/dist/components/radio/__stories__/radio.stories.d.ts +0 -13
- package/dist/components/radio/components/radio-group.d.ts +0 -18
- package/dist/components/radio/components/radio.d.ts +0 -17
- package/dist/components/radio/index.d.ts +0 -3
- package/dist/components/rating/__stories__/rating.stories.d.ts +0 -7
- package/dist/components/rating/components/rating.d.ts +0 -6
- package/dist/components/rating/index.d.ts +0 -2
- package/dist/components/select/__stories__/select.stories.d.ts +0 -10
- package/dist/components/select/components/select-async-creatable.d.ts +0 -5
- package/dist/components/select/components/select-async.d.ts +0 -6
- package/dist/components/select/components/select-creatable.d.ts +0 -5
- package/dist/components/select/components/select-wrapper.d.ts +0 -6
- package/dist/components/select/components/select.d.ts +0 -5
- package/dist/components/select/components/types/select.types.d.ts +0 -3
- package/dist/components/select/components/utils.d.ts +0 -26
- package/dist/components/select/index.d.ts +0 -8
- package/dist/components/switch/__stories__/switch.stories.d.ts +0 -10
- package/dist/components/switch/components/switch.d.ts +0 -18
- package/dist/components/switch/index.d.ts +0 -2
- package/dist/components/table/index.d.ts +0 -1
- package/dist/components/tabs/__stories__/tabs.stories.d.ts +0 -8
- package/dist/components/tabs/components/tab.d.ts +0 -12
- package/dist/components/tabs/index.d.ts +0 -2
- package/dist/components/text/index.d.ts +0 -1
- package/dist/components/toast/__stories__/toast.stories.d.ts +0 -12
- package/dist/components/toast/components/toast.d.ts +0 -21
- package/dist/components/toast/index.d.ts +0 -1
- package/dist/components/tooltip/__stories__/tooltip.stories.d.ts +0 -7
- package/dist/components/tooltip/index.d.ts +0 -1
- package/dist/components/uploader/__stories__/uploader.stories.d.ts +0 -9
- package/dist/components/uploader/components/uploader.d.ts +0 -12
- package/dist/components/uploader/constants.d.ts +0 -8
- package/dist/components/uploader/index.d.ts +0 -2
- package/dist/config/__stories__/foundations.stories.d.ts +0 -15
- package/dist/config/__stories__/globals.stories.d.ts +0 -10
- package/dist/config/index.d.ts +0 -1
- package/dist/config/theme/components/accordion.d.ts +0 -53
- package/dist/config/theme/components/alert.d.ts +0 -69
- package/dist/config/theme/components/badge.d.ts +0 -3
- package/dist/config/theme/components/button.d.ts +0 -3
- package/dist/config/theme/components/card.d.ts +0 -18
- package/dist/config/theme/components/checkbox.d.ts +0 -101
- package/dist/config/theme/components/chips.d.ts +0 -34
- package/dist/config/theme/components/form-label.d.ts +0 -20
- package/dist/config/theme/components/index.d.ts +0 -16
- package/dist/config/theme/components/input.d.ts +0 -101
- package/dist/config/theme/components/loader.d.ts +0 -85
- package/dist/config/theme/components/popover.d.ts +0 -3
- package/dist/config/theme/components/radio.d.ts +0 -102
- package/dist/config/theme/components/switch.d.ts +0 -75
- package/dist/config/theme/components/table.d.ts +0 -180
- package/dist/config/theme/components/tabs.d.ts +0 -30
- package/dist/config/theme/components/textarea.d.ts +0 -55
- package/dist/config/theme/foundations/index.d.ts +0 -5
- package/dist/config/theme/foundations/radius.d.ts +0 -8
- package/dist/config/theme/foundations/shadows.d.ts +0 -15
- package/dist/config/theme/foundations/sizes.d.ts +0 -66
- package/dist/config/theme/foundations/spacing.d.ts +0 -42
- package/dist/config/theme/foundations/typography.d.ts +0 -191
- package/dist/config/theme/index.d.ts +0 -1
- package/dist/config/theme/themeConfiguration.d.ts +0 -6
- package/dist/hooks/index.d.ts +0 -2
- package/dist/hooks/useFetcher.d.ts +0 -4
- package/dist/interfaces/common.d.ts +0 -17
- package/dist/internal-ui.cjs.development.js +0 -6119
- package/dist/internal-ui.cjs.development.js.map +0 -1
- package/dist/internal-ui.cjs.production.min.js +0 -38
- package/dist/internal-ui.cjs.production.min.js.map +0 -1
- package/dist/internal-ui.esm.js +0 -5082
- package/dist/internal-ui.esm.js.map +0 -1
- package/dist/provider/__stories__/provider.stories.d.ts +0 -13
- package/dist/provider/components/provider.d.ts +0 -7
- package/dist/provider/index.d.ts +0 -3
- package/dist/provider/types.d.ts +0 -14
@@ -1,5 +0,0 @@
|
|
1
|
-
import type { GroupBase, Props as ReactSelectProps } from 'react-select';
|
2
|
-
import type { ExtendedSelectProps } from './types/select.types';
|
3
|
-
export declare type SelectProps<Option = unknown, IsMulti extends boolean = boolean, Group extends GroupBase<Option> = GroupBase<Option>> = ReactSelectProps<Option, IsMulti, Group> & ExtendedSelectProps;
|
4
|
-
declare function Select<OptionType, Group extends GroupBase<OptionType>, IsMulti extends boolean = false>({ styles, isError, ...rest }: SelectProps<OptionType, IsMulti, Group>): JSX.Element;
|
5
|
-
export default Select;
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import type { ColorMode } from '@chakra-ui/system';
|
2
|
-
import type { GroupBase, StylesConfig, Theme } from 'react-select';
|
3
|
-
export declare function selectStyles<OptionType = unknown, IsMulti extends boolean = boolean, Group extends GroupBase<OptionType> = GroupBase<OptionType>>(colorMode: ColorMode, _isError: boolean): StylesConfig<OptionType, IsMulti, Group> | undefined;
|
4
|
-
export declare const themeSelect: (theme: Theme) => {
|
5
|
-
colors: {
|
6
|
-
primary: string;
|
7
|
-
primary25: string;
|
8
|
-
primary50: string;
|
9
|
-
primary75: string;
|
10
|
-
danger: string;
|
11
|
-
dangerLight: string;
|
12
|
-
neutral0: string;
|
13
|
-
neutral5: string;
|
14
|
-
neutral10: string;
|
15
|
-
neutral20: string;
|
16
|
-
neutral30: string;
|
17
|
-
neutral40: string;
|
18
|
-
neutral50: string;
|
19
|
-
neutral60: string;
|
20
|
-
neutral70: string;
|
21
|
-
neutral80: string;
|
22
|
-
neutral90: string;
|
23
|
-
};
|
24
|
-
borderRadius: number;
|
25
|
-
spacing: import("react-select").ThemeSpacing;
|
26
|
-
};
|
@@ -1,8 +0,0 @@
|
|
1
|
-
export { default as Select } from './components/select';
|
2
|
-
export * from './components/select';
|
3
|
-
export { default as SelectAsync } from './components/select-async';
|
4
|
-
export * from './components/select-async';
|
5
|
-
export { default as SelectAsyncCreatable } from './components/select-async-creatable';
|
6
|
-
export * from './components/select-async-creatable';
|
7
|
-
export { default as SelectCreatable } from './components/select-creatable';
|
8
|
-
export * from './components/select-creatable';
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
declare const _default: {
|
3
|
-
title: string;
|
4
|
-
decorators: ((Story: React.ElementType) => JSX.Element)[];
|
5
|
-
};
|
6
|
-
export default _default;
|
7
|
-
export declare const Default: () => JSX.Element;
|
8
|
-
export declare const Disabled: () => JSX.Element;
|
9
|
-
export declare const Size: () => JSX.Element;
|
10
|
-
export declare const WithLabel: () => JSX.Element;
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import type { HTMLChakraProps, SystemProps, ThemingProps, UseCheckboxProps } from '@chakra-ui/react';
|
2
|
-
export interface SwitchProps extends Omit<UseCheckboxProps, 'isIndeterminate'>, Omit<HTMLChakraProps<'label'>, keyof UseCheckboxProps>, ThemingProps<'Switch'> {
|
3
|
-
/**
|
4
|
-
* The spacing between the switch and its label text
|
5
|
-
* @default 0.5rem
|
6
|
-
* @type SystemProps["marginLeft"]
|
7
|
-
*/
|
8
|
-
spacing?: SystemProps['marginLeft'];
|
9
|
-
size?: 'sm' | 'md' | 'lg';
|
10
|
-
}
|
11
|
-
/**
|
12
|
-
* The `Switch` component is used as an alternative for the checkbox component for switching between "enabled" and "disabled" states.
|
13
|
-
*
|
14
|
-
* @see Docs https://chakra-ui.com/docs/components/switch
|
15
|
-
* @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/switch/
|
16
|
-
*/
|
17
|
-
declare const Switch: import("@chakra-ui/system/dist/system.types").ComponentWithAs<"input", SwitchProps>;
|
18
|
-
export default Switch;
|
@@ -1 +0,0 @@
|
|
1
|
-
export { Table as ChakraTable, TableBodyProps, TableCellProps, TableColumnHeaderProps, TableHeadProps, TableProps, TableRowProps, Tbody, Td, Th, Thead, Tr, } from '@chakra-ui/react';
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
declare const _default: {
|
3
|
-
title: string;
|
4
|
-
decorators: ((Story: React.ElementType) => JSX.Element)[];
|
5
|
-
};
|
6
|
-
export default _default;
|
7
|
-
export declare const TabsDefault: () => JSX.Element;
|
8
|
-
export declare const TabsWithPills: () => JSX.Element;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import type { TabProps as ChakraTabProps } from '@chakra-ui/react';
|
2
|
-
import * as React from 'react';
|
3
|
-
declare type AddonProps = {
|
4
|
-
isSelected: boolean;
|
5
|
-
};
|
6
|
-
declare type TabProps = ChakraTabProps & {
|
7
|
-
'data-test-id'?: string;
|
8
|
-
leftAddon?({ isSelected }: AddonProps): React.ReactNode;
|
9
|
-
rightAddon?({ isSelected }: AddonProps): React.ReactNode;
|
10
|
-
};
|
11
|
-
declare const Tab: import("@chakra-ui/system/dist/system.types").ComponentWithAs<"button", TabProps>;
|
12
|
-
export default Tab;
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export { default as Tab } from './components/tab';
|
2
|
-
export { TabIndicator, TabIndicatorProps, TabList, TabListProps, TabPanel, TabPanelProps, TabPanels, TabPanelsProps, TabProps, Tabs, TabsDescendantsProvider, TabsProps, TabsProvider, useTab, useTabIndicator, useTabList, UseTabListProps, UseTabListReturn, UseTabOptions, useTabPanel, useTabPanels, UseTabPanelsProps, UseTabProps, useTabs, useTabsContext, useTabsDescendant, useTabsDescendants, useTabsDescendantsContext, UseTabsProps, UseTabsReturn, useTabsStyles, } from '@chakra-ui/react';
|
@@ -1 +0,0 @@
|
|
1
|
-
export { Code, CodeProps, Heading, HeadingProps, Link, LinkProps, Text, TextProps } from '@chakra-ui/react';
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
declare const _default: {
|
3
|
-
title: string;
|
4
|
-
decorators: ((Story: React.ElementType) => JSX.Element)[];
|
5
|
-
};
|
6
|
-
export default _default;
|
7
|
-
export declare const ToastPosition: () => JSX.Element;
|
8
|
-
export declare const ToastVariant: () => JSX.Element;
|
9
|
-
export declare const ToastIcon: () => JSX.Element;
|
10
|
-
export declare const ToastLink: () => JSX.Element;
|
11
|
-
export declare const ToastIconAndLink: () => JSX.Element;
|
12
|
-
export declare const ToastCustomColor: () => JSX.Element;
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import 'react-toastify/dist/ReactToastify.css';
|
2
|
-
import '@fontsource/poppins/400.css';
|
3
|
-
import type { ToastOptions } from 'react-toastify';
|
4
|
-
import type { ToastIcon } from 'react-toastify/dist/types';
|
5
|
-
interface CustomToastOptions extends Omit<ToastOptions, 'icon'> {
|
6
|
-
icon?: ToastIcon;
|
7
|
-
link?: {
|
8
|
-
url: string;
|
9
|
-
label: string;
|
10
|
-
};
|
11
|
-
}
|
12
|
-
declare const useToast: () => {
|
13
|
-
primary: (message: string, options?: CustomToastOptions | undefined) => void;
|
14
|
-
neutral: (message: string, options?: CustomToastOptions | undefined) => void;
|
15
|
-
success: (message: string, options?: CustomToastOptions | undefined) => void;
|
16
|
-
error: (message: string, options?: CustomToastOptions | undefined) => void;
|
17
|
-
warning: (message: string, options?: CustomToastOptions | undefined) => void;
|
18
|
-
info: (message: string, options?: CustomToastOptions | undefined) => void;
|
19
|
-
custom: (message: string, options?: CustomToastOptions | undefined) => void;
|
20
|
-
};
|
21
|
-
export default useToast;
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default as Toast } from './components/toast';
|
@@ -1 +0,0 @@
|
|
1
|
-
export { Tooltip, TooltipProps } from '@chakra-ui/react';
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
declare const _default: {
|
3
|
-
title: string;
|
4
|
-
decorators: ((Story: React.ElementType) => JSX.Element)[];
|
5
|
-
};
|
6
|
-
export default _default;
|
7
|
-
export declare const UploaderDefault: () => JSX.Element;
|
8
|
-
export declare const UploaderWithValidation: () => JSX.Element;
|
9
|
-
export declare const UploaderMultiple: () => JSX.Element;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import type { FlexProps } from '@chakra-ui/react';
|
2
|
-
import * as React from 'react';
|
3
|
-
import type { DropzoneOptions, DropzoneState, FileRejection } from 'react-dropzone';
|
4
|
-
export declare type UploaderProps = FlexProps & DropzoneOptions & {
|
5
|
-
onHandleUploadFile?: (res: File[]) => void;
|
6
|
-
onHandleRejections?: (rejections: FileRejection[]) => void;
|
7
|
-
renderError?: (rejections: FileRejection[]) => React.ReactNode;
|
8
|
-
selected?: boolean;
|
9
|
-
};
|
10
|
-
export declare type UploaderState = DropzoneState;
|
11
|
-
declare const Uploader: React.FC<UploaderProps>;
|
12
|
-
export default Uploader;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
declare const _default: {
|
2
|
-
title: string;
|
3
|
-
parameters: {
|
4
|
-
controls: {
|
5
|
-
disabled: boolean;
|
6
|
-
};
|
7
|
-
};
|
8
|
-
};
|
9
|
-
export default _default;
|
10
|
-
export declare const Color: () => JSX.Element;
|
11
|
-
export declare const Typography: () => JSX.Element;
|
12
|
-
export declare const Radius: () => JSX.Element;
|
13
|
-
export declare const Shadow: () => JSX.Element;
|
14
|
-
export declare const Spacing: () => JSX.Element;
|
15
|
-
export declare const Sizes: () => JSX.Element;
|
package/dist/config/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './theme';
|
@@ -1,53 +0,0 @@
|
|
1
|
-
declare const accordionTheme: {
|
2
|
-
baseStyle?: {
|
3
|
-
container: {
|
4
|
-
border: string;
|
5
|
-
};
|
6
|
-
button: {
|
7
|
-
height: number;
|
8
|
-
transitionProperty: string;
|
9
|
-
transitionDuration: string;
|
10
|
-
gap: number;
|
11
|
-
fontSize: string;
|
12
|
-
bg: string;
|
13
|
-
_focusVisible: {
|
14
|
-
bg: string;
|
15
|
-
};
|
16
|
-
_hover: {
|
17
|
-
bg: string;
|
18
|
-
};
|
19
|
-
_disabled: {
|
20
|
-
opacity: number;
|
21
|
-
cursor: string;
|
22
|
-
};
|
23
|
-
py: number;
|
24
|
-
px: number;
|
25
|
-
position: string;
|
26
|
-
};
|
27
|
-
panel: {
|
28
|
-
pt: string;
|
29
|
-
px: string;
|
30
|
-
pb: string;
|
31
|
-
};
|
32
|
-
icon: {
|
33
|
-
fontSize: string;
|
34
|
-
};
|
35
|
-
} | undefined;
|
36
|
-
sizes?: {
|
37
|
-
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
38
|
-
keys: ("container" | "root" | "button" | "panel" | "icon")[];
|
39
|
-
}>;
|
40
|
-
} | undefined;
|
41
|
-
variants?: {
|
42
|
-
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
43
|
-
keys: ("container" | "root" | "button" | "panel" | "icon")[];
|
44
|
-
}>;
|
45
|
-
} | undefined;
|
46
|
-
defaultProps?: {
|
47
|
-
size?: string | number | undefined;
|
48
|
-
variant?: string | number | undefined;
|
49
|
-
colorScheme?: string | undefined;
|
50
|
-
} | undefined;
|
51
|
-
parts: ("container" | "root" | "button" | "panel" | "icon")[];
|
52
|
-
};
|
53
|
-
export default accordionTheme;
|
@@ -1,69 +0,0 @@
|
|
1
|
-
import type { StyleFunctionProps } from '@chakra-ui/styled-system';
|
2
|
-
declare const alertTheme: {
|
3
|
-
baseStyle?: ((props: StyleFunctionProps) => {
|
4
|
-
container: {
|
5
|
-
bg: string;
|
6
|
-
px: string;
|
7
|
-
py: string;
|
8
|
-
borderRadius: string;
|
9
|
-
};
|
10
|
-
title: {
|
11
|
-
fontWeight: string;
|
12
|
-
textStyle: string;
|
13
|
-
marginEnd: string;
|
14
|
-
};
|
15
|
-
description: {
|
16
|
-
lineHeight: string;
|
17
|
-
};
|
18
|
-
icon: {
|
19
|
-
color: string;
|
20
|
-
flexShrink: number;
|
21
|
-
marginEnd: string;
|
22
|
-
w: string;
|
23
|
-
h: string;
|
24
|
-
};
|
25
|
-
action: {
|
26
|
-
color: string;
|
27
|
-
'& +.chakra-alert__close': {
|
28
|
-
ml: string;
|
29
|
-
};
|
30
|
-
};
|
31
|
-
close: {
|
32
|
-
color: string;
|
33
|
-
w: string;
|
34
|
-
h: string;
|
35
|
-
};
|
36
|
-
spinner: {
|
37
|
-
color: string;
|
38
|
-
flexShrink: number;
|
39
|
-
marginEnd: string;
|
40
|
-
w: string;
|
41
|
-
h: string;
|
42
|
-
};
|
43
|
-
}) | undefined;
|
44
|
-
sizes?: {
|
45
|
-
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
46
|
-
keys: ("container" | "icon" | "title" | "description" | "spinner")[];
|
47
|
-
}>;
|
48
|
-
} | undefined;
|
49
|
-
variants?: {
|
50
|
-
light: (props: StyleFunctionProps) => {
|
51
|
-
container: {
|
52
|
-
[x: string]: string;
|
53
|
-
color: string;
|
54
|
-
};
|
55
|
-
};
|
56
|
-
solid: (props: StyleFunctionProps) => {
|
57
|
-
container: {
|
58
|
-
[x: string]: string;
|
59
|
-
};
|
60
|
-
};
|
61
|
-
} | undefined;
|
62
|
-
defaultProps?: {
|
63
|
-
size?: string | number | undefined;
|
64
|
-
variant?: "light" | "solid" | undefined;
|
65
|
-
colorScheme?: string | undefined;
|
66
|
-
} | undefined;
|
67
|
-
parts: ("container" | "icon" | "title" | "description" | "spinner")[];
|
68
|
-
};
|
69
|
-
export default alertTheme;
|
@@ -1,18 +0,0 @@
|
|
1
|
-
declare const CardStyle: {
|
2
|
-
baseStyle?: ((props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
|
3
|
-
shadow: string;
|
4
|
-
borderRadius: string;
|
5
|
-
}) | undefined;
|
6
|
-
sizes?: {
|
7
|
-
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
8
|
-
} | undefined;
|
9
|
-
variants?: {
|
10
|
-
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
11
|
-
} | undefined;
|
12
|
-
defaultProps?: {
|
13
|
-
size?: string | number | undefined;
|
14
|
-
variant?: string | number | undefined;
|
15
|
-
colorScheme?: string | undefined;
|
16
|
-
} | undefined;
|
17
|
-
};
|
18
|
-
export default CardStyle;
|
@@ -1,101 +0,0 @@
|
|
1
|
-
declare const Checkbox: {
|
2
|
-
baseStyle?: {
|
3
|
-
control: {
|
4
|
-
borderRadius: string;
|
5
|
-
w: number;
|
6
|
-
h: number;
|
7
|
-
border: string;
|
8
|
-
};
|
9
|
-
icon: {
|
10
|
-
color: string;
|
11
|
-
};
|
12
|
-
label: {
|
13
|
-
textStyle: string;
|
14
|
-
color: string;
|
15
|
-
ml: number;
|
16
|
-
};
|
17
|
-
_disabled: {
|
18
|
-
background: string;
|
19
|
-
border: string;
|
20
|
-
borderColor: string;
|
21
|
-
cursor: string;
|
22
|
-
};
|
23
|
-
} | undefined;
|
24
|
-
sizes?: {
|
25
|
-
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
26
|
-
keys: ("container" | "icon" | "label" | "control")[];
|
27
|
-
}>;
|
28
|
-
} | undefined;
|
29
|
-
variants?: {
|
30
|
-
errors: {
|
31
|
-
control: {
|
32
|
-
borderColor: string;
|
33
|
-
_checked: {
|
34
|
-
borderColor: string;
|
35
|
-
backgroundColor: string;
|
36
|
-
_hover: {
|
37
|
-
borderColor: string;
|
38
|
-
backgroundColor: string;
|
39
|
-
};
|
40
|
-
};
|
41
|
-
_indeterminate: {
|
42
|
-
borderColor: string;
|
43
|
-
backgroundColor: string;
|
44
|
-
};
|
45
|
-
};
|
46
|
-
label: {
|
47
|
-
textStyle: string;
|
48
|
-
};
|
49
|
-
icon: {
|
50
|
-
fontSize: string;
|
51
|
-
};
|
52
|
-
};
|
53
|
-
unstyled: {
|
54
|
-
control: {
|
55
|
-
borderColor: string;
|
56
|
-
_checked: {
|
57
|
-
borderColor: string;
|
58
|
-
backgroundColor: string;
|
59
|
-
_hover: {
|
60
|
-
borderColor: string;
|
61
|
-
backgroundColor: string;
|
62
|
-
};
|
63
|
-
_disabled: {
|
64
|
-
backgroundColor: string;
|
65
|
-
borderColor: string;
|
66
|
-
opacity: number;
|
67
|
-
};
|
68
|
-
};
|
69
|
-
_disabled: {
|
70
|
-
backgroundColor: string;
|
71
|
-
borderColor: string;
|
72
|
-
};
|
73
|
-
_indeterminate: {
|
74
|
-
borderColor: string;
|
75
|
-
backgroundColor: string;
|
76
|
-
_disabled: {
|
77
|
-
backgroundColor: string;
|
78
|
-
borderColor: string;
|
79
|
-
opacity: number;
|
80
|
-
};
|
81
|
-
};
|
82
|
-
};
|
83
|
-
label: {
|
84
|
-
textStyle: string;
|
85
|
-
_disabled: {
|
86
|
-
opacity: number;
|
87
|
-
};
|
88
|
-
};
|
89
|
-
icon: {
|
90
|
-
fontSize: string;
|
91
|
-
};
|
92
|
-
};
|
93
|
-
} | undefined;
|
94
|
-
defaultProps?: {
|
95
|
-
size?: string | number | undefined;
|
96
|
-
variant?: "unstyled" | "errors" | undefined;
|
97
|
-
colorScheme?: string | undefined;
|
98
|
-
} | undefined;
|
99
|
-
parts: ("container" | "icon" | "label" | "control")[];
|
100
|
-
};
|
101
|
-
export default Checkbox;
|
@@ -1,34 +0,0 @@
|
|
1
|
-
declare const Chips: {
|
2
|
-
baseStyle?: ((props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
|
3
|
-
color: string;
|
4
|
-
textStyle: string;
|
5
|
-
borderRadius: string;
|
6
|
-
borderWidth: string;
|
7
|
-
borderColor: string;
|
8
|
-
bg: string;
|
9
|
-
px: number;
|
10
|
-
py: number;
|
11
|
-
cursor: string;
|
12
|
-
_hover: {
|
13
|
-
bg: string;
|
14
|
-
};
|
15
|
-
}) | undefined;
|
16
|
-
sizes?: {
|
17
|
-
sm: {
|
18
|
-
textStyle: string;
|
19
|
-
};
|
20
|
-
md: {
|
21
|
-
textStyle: string;
|
22
|
-
py: number;
|
23
|
-
};
|
24
|
-
} | undefined;
|
25
|
-
variants?: {
|
26
|
-
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
27
|
-
} | undefined;
|
28
|
-
defaultProps?: {
|
29
|
-
size?: "sm" | "md" | undefined;
|
30
|
-
variant?: string | number | undefined;
|
31
|
-
colorScheme?: string | undefined;
|
32
|
-
} | undefined;
|
33
|
-
};
|
34
|
-
export default Chips;
|
@@ -1,20 +0,0 @@
|
|
1
|
-
declare const FormLabel: {
|
2
|
-
baseStyle?: {
|
3
|
-
fontSize: string;
|
4
|
-
fontWeight: string;
|
5
|
-
marginEnd: number;
|
6
|
-
mb: number;
|
7
|
-
} | undefined;
|
8
|
-
sizes?: {
|
9
|
-
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
10
|
-
} | undefined;
|
11
|
-
variants?: {
|
12
|
-
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
13
|
-
} | undefined;
|
14
|
-
defaultProps?: {
|
15
|
-
size?: string | number | undefined;
|
16
|
-
variant?: string | number | undefined;
|
17
|
-
colorScheme?: string | undefined;
|
18
|
-
} | undefined;
|
19
|
-
};
|
20
|
-
export default FormLabel;
|
@@ -1,16 +0,0 @@
|
|
1
|
-
export { default as Accordion } from './accordion';
|
2
|
-
export { default as Alert } from './alert';
|
3
|
-
export { default as Badge } from './badge';
|
4
|
-
export { default as Button } from './button';
|
5
|
-
export { default as Card } from './card';
|
6
|
-
export { default as Checkbox } from './checkbox';
|
7
|
-
export { default as Chips } from './chips';
|
8
|
-
export { default as FormLabel } from './form-label';
|
9
|
-
export { default as Input } from './input';
|
10
|
-
export { default as LoaderStyle } from './loader';
|
11
|
-
export { default as Popover } from './popover';
|
12
|
-
export { default as Radio } from './radio';
|
13
|
-
export { default as Switch } from './switch';
|
14
|
-
export { default as Table } from './table';
|
15
|
-
export { default as Tabs } from './tabs';
|
16
|
-
export { default as Textarea } from './textarea';
|