@clickhouse/click-ui 0.0.236 → 0.0.237-sc-deprecation.1
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/README.md +161 -20
- package/bin/README.md +178 -0
- package/bin/click-ui.config.example.ts +70 -0
- package/bin/click-ui.js +97 -0
- package/bin/commands/build-default-theme.ts +48 -0
- package/bin/commands/generate.js +117 -0
- package/bin/commands/init.js +110 -0
- package/bin/utils/config-loader.ts +61 -0
- package/bin/utils/css-generator.js +32 -0
- package/dist/click-ui.bundled.es.js +40911 -48911
- package/dist/click-ui.bundled.umd.js +79 -53054
- package/dist/click-ui.es.js +40771 -47603
- package/dist/click-ui.umd.js +79 -51885
- package/dist/components/Accordion/Accordion.d.ts +3 -3
- package/dist/components/AutoComplete/AutoComplete.d.ts +0 -1
- package/dist/components/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Badge/Badge.d.ts +1 -1
- package/dist/components/BigStat/BigStat.d.ts +1 -1
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/components/CardHorizontal/CardHorizontal.d.ts +1 -1
- package/dist/components/CardPrimary/CardPrimaryTopBadge.d.ts +14 -3
- package/dist/components/CardPromotion/CardPromotion.d.ts +1 -1
- package/dist/components/CardSecondary/CardSecondary.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/CodeBlock/CodeBlock.d.ts +1 -1
- package/dist/components/CodeBlock/useColorStyle.d.ts +1 -1
- package/dist/components/Collapsible/Collapsible.d.ts +3 -3
- package/dist/components/Container/Container.d.ts +5 -6
- package/dist/components/DatePicker/Common.d.ts +8 -3
- package/dist/components/Dialog/Dialog.d.ts +2 -2
- package/dist/components/EllipsisContent/EllipsisContent.d.ts +4 -6
- package/dist/components/FileTabs/FileTabs.d.ts +2 -2
- package/dist/components/Flyout/Flyout.d.ts +1 -1
- package/dist/components/GenericMenu.d.ts +22 -10
- package/dist/components/Grid/Cell.d.ts +2 -1
- package/dist/components/Grid/StyledCell.d.ts +5 -2
- package/dist/components/Grid/types.d.ts +1 -1
- package/dist/components/GridContainer/GridContainer.d.ts +4 -5
- package/dist/components/Icon/IconCommon.d.ts +4 -3
- package/dist/components/Icon/types.d.ts +3 -1
- package/dist/components/IconWrapper/IconWrapper.d.ts +2 -2
- package/dist/components/Input/InputWrapper.d.ts +25 -18
- package/dist/components/Link/Link.d.ts +4 -6
- package/dist/components/Link/linkStyles.d.ts +134 -0
- package/dist/components/Logos/Logo.d.ts +1 -1
- package/dist/components/MultiAccordion/MultiAccordion.d.ts +1 -1
- package/dist/components/Panel/Panel.d.ts +1 -1
- package/dist/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/components/Select/common/SelectStyled.d.ts +24 -26
- package/dist/components/Separator/Separator.d.ts +4 -3
- package/dist/components/SidebarNavigationItem/SidebarNavigationItem.d.ts +5 -9
- package/dist/components/SidebarNavigationTitle/SidebarNavigationTitle.d.ts +5 -7
- package/dist/components/Spacer/Spacer.d.ts +2 -1
- package/dist/components/SplitButton/SplitButton.d.ts +1 -1
- package/dist/components/Tabs/Tabs.d.ts +26 -24
- package/dist/components/ThemeToggle/ThemeToggle.d.ts +4 -0
- package/dist/components/Typography/Text/Text.d.ts +4 -5
- package/dist/components/VerticalStepper/VerticalStepper.d.ts +2 -2
- package/dist/components/commonElement.d.ts +21 -17
- package/dist/components/commonTypes.d.ts +1 -1
- package/dist/components/icons/DataLakes.d.ts +4 -0
- package/dist/components/icons/HorizontalLoading.d.ts +3 -1
- package/dist/components/icons/Loading.d.ts +1 -1
- package/dist/components/icons/LoadingAnimated.d.ts +3 -1
- package/dist/components/index.d.ts +6 -3
- package/dist/components/types.d.ts +51 -83
- package/dist/config/tokens/types.d.ts +15296 -0
- package/dist/config/tokens/types.d.ts.map +1 -0
- package/dist/config/tokens/types.js +2 -0
- package/dist/config/tokens/types.js.map +1 -0
- package/dist/config/types.d.ts +55 -0
- package/dist/config/types.d.ts.map +1 -0
- package/dist/config/types.js +2 -0
- package/dist/config/types.js.map +1 -0
- package/dist/config/utils/css-builder.d.ts +38 -0
- package/dist/config/utils/css-builder.d.ts.map +1 -0
- package/dist/config/utils/css-builder.js +56 -0
- package/dist/config/utils/css-builder.js.map +1 -0
- package/dist/config/utils/css-generator.d.ts +25 -0
- package/dist/config/utils/css-generator.d.ts.map +1 -0
- package/dist/config/utils/css-generator.js +151 -0
- package/dist/config/utils/css-generator.js.map +1 -0
- package/dist/config/utils/find-config.d.ts +17 -0
- package/dist/config/utils/find-config.d.ts.map +1 -0
- package/dist/config/utils/find-config.js +28 -0
- package/dist/config/utils/find-config.js.map +1 -0
- package/dist/cui-components.css +1 -0
- package/dist/cui-default-theme.css +1809 -0
- package/dist/cui.css +3 -0
- package/dist/index.d.ts +77 -1
- package/dist/stories/ChartColorComponent.d.ts +1 -0
- package/dist/stories/chart-examples/ChartTooltip.d.ts +12 -0
- package/dist/stories/chart-examples/ColorSwatchesChart.d.ts +1 -0
- package/dist/stories/chart-examples/GroupedBarChart.d.ts +1 -0
- package/dist/stories/chart-examples/MultiLineChart.d.ts +1 -0
- package/dist/stories/chart-examples/StackedAreaChart.d.ts +1 -0
- package/dist/stories/chart-examples/StackedBarChartDemo.d.ts +1 -0
- package/dist/theme/ClickUIProvider/ClickUIProvider.d.ts +5 -0
- package/dist/theme/ClickUIProvider/ServerClickUIProvider.d.ts +23 -0
- package/dist/theme/ClickUIProvider/context.d.ts +24 -0
- package/dist/theme/ClickUIProvider/hooks.d.ts +4 -0
- package/dist/theme/ClickUIProvider/index.d.ts +6 -0
- package/dist/theme/ClickUIProvider/types.d.ts +39 -0
- package/dist/theme/config.d.ts +22 -0
- package/dist/theme/hooks/useSystemColorSchemePreference.d.ts +7 -0
- package/dist/theme/index.d.ts +6 -12
- package/dist/{styles → theme/tokens}/types.d.ts +3 -3
- package/dist/{styles → theme/tokens}/variables.dark.json.d.ts +118 -117
- package/dist/{styles → theme/tokens}/variables.json.d.ts +10 -10
- package/dist/{styles → theme/tokens}/variables.light.json.d.ts +146 -145
- package/dist/theme/types.d.ts +54 -0
- package/dist/theme/utils/css-builder.d.ts +37 -0
- package/dist/theme/utils/css-generator.d.ts +25 -0
- package/dist/theme/utils/find-config.d.ts +16 -0
- package/dist/theme/utils/theme-attribute.d.ts +13 -0
- package/dist/theme/utils.d.ts +29 -0
- package/dist/utils/capitalize.d.ts +12 -0
- package/dist/utils/polymorphic/index.d.ts +48 -0
- package/dist/utils/test-utils.d.ts +1 -3
- package/package.json +49 -24
- package/dist/click-ui.bundled.es.js.map +0 -1
- package/dist/click-ui.bundled.umd.js.map +0 -1
- package/dist/click-ui.es.js.map +0 -1
- package/dist/click-ui.umd.js.map +0 -1
- package/dist/components/ClickUIProvider/ClickUIProvider.d.ts +0 -15
- package/dist/components/Link/common.d.ts +0 -7
- package/dist/styles/variables.classic.json.d.ts +0 -993
- package/dist/theme/theme.d.ts +0 -7
|
@@ -1,92 +1,60 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
import { AvatarProps } from './Avatar/Avatar';
|
|
25
|
-
import { AlertProps } from './Alert/Alert';
|
|
26
|
-
import { IconButtonProps } from './IconButton/IconButton';
|
|
27
|
-
import { SidebarNavigationTitleProps } from './SidebarNavigationTitle/SidebarNavigationTitle';
|
|
28
|
-
import { SidebarCollapsibleItemProps } from './SidebarCollapsibleItem/SidebarCollapsibleItem';
|
|
29
|
-
import { SidebarCollapsibleTitleProps } from './SidebarCollapsibleTitle/SidebarCollapsibleTitle';
|
|
30
|
-
|
|
31
|
-
export type { ImageName as IconName } from './Icon/types';
|
|
32
|
-
export type { Menu, SplitButtonProps } from './SplitButton/SplitButton';
|
|
33
|
-
export type { ToastProps } from './Toast/Toast';
|
|
34
|
-
export type { SelectOptionListItem } from './Select/common/types';
|
|
1
|
+
export type States = "default" | "active" | "disabled" | "error" | "hover";
|
|
2
|
+
export type HorizontalDirection = "start" | "end";
|
|
3
|
+
export type Orientation = "horizontal" | "vertical";
|
|
4
|
+
export type { AlertProps } from './Alert/Alert';
|
|
5
|
+
export type { AvatarProps } from './Avatar/Avatar';
|
|
6
|
+
export type { BadgeProps } from './Badge/Badge';
|
|
7
|
+
export type { BadgeState } from './CardSecondary/CardSecondary';
|
|
8
|
+
export type { ButtonProps, ButtonType } from './Button/Button';
|
|
9
|
+
export type { ButtonGroupProps } from './ButtonGroup/ButtonGroup';
|
|
10
|
+
export type { IconButtonProps } from './IconButton/IconButton';
|
|
11
|
+
export type { CardPrimaryProps } from './CardPrimary/CardPrimary';
|
|
12
|
+
export type { CardSecondaryProps } from './CardSecondary/CardSecondary';
|
|
13
|
+
export type { CardHorizontalProps } from './CardHorizontal/CardHorizontal';
|
|
14
|
+
export type { CardPromotionProps } from './CardPromotion/CardPromotion';
|
|
15
|
+
export type { CheckboxProps, CheckboxVariants } from './Checkbox/Checkbox';
|
|
16
|
+
export type { LabelProps } from './Label/Label';
|
|
17
|
+
export type { GenericLabelProps } from './GenericLabel/GenericLabel';
|
|
18
|
+
export type { RadioGroupProps, RadioGroupItemProps, } from './RadioGroup/RadioGroup';
|
|
19
|
+
export type { NumberFieldProps } from './Input/NumberField';
|
|
20
|
+
export type { PasswordFieldProps } from './Input/PasswordField';
|
|
21
|
+
export type { SearchFieldProps } from './Input/SearchField';
|
|
22
|
+
export type { TextAreaFieldProps } from './Input/TextArea';
|
|
23
|
+
export type { SelectProps } from './Select/SingleSelect';
|
|
35
24
|
export type { MultiSelectProps } from './Select/MultiSelect';
|
|
36
25
|
export type { CheckboxMultiSelectProps } from './Select/CheckboxMultiSelect';
|
|
26
|
+
export type { SelectOptionListItem, SelectGroupOptionItem, SelectOptionItem, } from './Select/common/types';
|
|
27
|
+
export type { ContainerProps } from './Container/Container';
|
|
28
|
+
export type { FormContainerProps } from './FormContainer/FormContainer';
|
|
29
|
+
export type { GridContainerProps } from './GridContainer/GridContainer';
|
|
37
30
|
export type { PanelProps } from './Panel/Panel';
|
|
38
|
-
export type {
|
|
31
|
+
export type { SpacerProps } from './Spacer/Spacer';
|
|
32
|
+
export type { SidebarNavigationItemProps } from './SidebarNavigationItem/SidebarNavigationItem';
|
|
33
|
+
export type { SidebarNavigationTitleProps } from './SidebarNavigationTitle/SidebarNavigationTitle';
|
|
34
|
+
export type { SidebarCollapsibleItemProps } from './SidebarCollapsibleItem/SidebarCollapsibleItem';
|
|
35
|
+
export type { SidebarCollapsibleTitleProps } from './SidebarCollapsibleTitle/SidebarCollapsibleTitle';
|
|
36
|
+
export type { PaginationProps } from './Pagination/Pagination';
|
|
37
|
+
export type { TextProps } from './Typography/Text/Text';
|
|
38
|
+
export type { TitleProps } from './Typography/Title/Title';
|
|
39
|
+
export type { TabsProps } from './Tabs/Tabs';
|
|
40
|
+
export type { TooltipProps } from './Tooltip/Tooltip';
|
|
41
|
+
export type { MultiAccordionProps } from './MultiAccordion/MultiAccordion';
|
|
42
|
+
export type { AutoCompleteProps, AutoCompleteOptionListItem, } from './AutoComplete/AutoComplete';
|
|
43
|
+
export type { BigStatProps } from './BigStat/BigStat';
|
|
44
|
+
export type { ContextMenuItemProps } from './ContextMenu/ContextMenu';
|
|
39
45
|
export type { DialogContentProps } from './Dialog/Dialog';
|
|
40
|
-
export type { DialogProps, DialogTriggerProps } from '@radix-ui/react-dialog';
|
|
41
46
|
export type { ConfirmationDialogProps } from './ConfirmationDialog/ConfirmationDialog';
|
|
47
|
+
export type { FlyoutProps, FlyoutFooterProps, FlyoutHeaderProps, } from './Flyout/Flyout';
|
|
42
48
|
export type { FileTabStatusType } from './FileTabs/FileTabs';
|
|
49
|
+
export type { GridProps, CellProps, SelectedRegion, SelectionFocus, SelectionPos, SelectionAction, GridContextMenuItemProps, Rectangle, } from './Grid/types';
|
|
50
|
+
export type { ProgressBarProps } from './ProgressBar/ProgressBar';
|
|
51
|
+
export type { Menu, SplitButtonProps } from './SplitButton/SplitButton';
|
|
43
52
|
export type { TableHeaderType, TableRowType, TableProps } from './Table/Table';
|
|
44
|
-
export type {
|
|
45
|
-
export type { TextAreaFieldProps } from './Input/TextArea';
|
|
53
|
+
export type { ToastProps } from './Toast/Toast';
|
|
46
54
|
export type { VerticalStepperProps, VerticalStepProps, } from './VerticalStepper/VerticalStepper';
|
|
47
|
-
export type {
|
|
48
|
-
export type {
|
|
49
|
-
export type {
|
|
50
|
-
export type {
|
|
51
|
-
export type {
|
|
52
|
-
export type States = "default" | "active" | "disabled" | "error" | "hover";
|
|
53
|
-
export type HorizontalDirection = "start" | "end";
|
|
54
|
-
export type Orientation = "horizontal" | "vertical";
|
|
55
|
-
export type { FormContainerProps } from './FormContainer/FormContainer';
|
|
56
|
-
export type { AutoCompleteProps, AutoCompleteOptionListItem, } from './AutoComplete/AutoComplete';
|
|
57
|
-
export type { PaginationProps } from './Pagination/Pagination';
|
|
58
|
-
export type { ContextMenuItemProps } from './ContextMenu/ContextMenu';
|
|
59
|
-
export type { GenericLabelProps } from './GenericLabel/GenericLabel';
|
|
60
|
-
export type { MultiAccordionProps } from './MultiAccordion/MultiAccordion';
|
|
61
|
-
export type { CheckboxVariants } from './Checkbox/Checkbox';
|
|
55
|
+
export type { PopoverProps } from '@radix-ui/react-popover';
|
|
56
|
+
export type { HoverCardProps } from '@radix-ui/react-hover-card';
|
|
57
|
+
export type { ContextMenuProps } from '@radix-ui/react-context-menu';
|
|
58
|
+
export type { DialogProps, DialogTriggerProps } from '@radix-ui/react-dialog';
|
|
59
|
+
export type { ImageName as IconName } from './Icon/types';
|
|
62
60
|
export type { CursorOptions } from './cursorOptions';
|
|
63
|
-
export type { SelectGroupOptionItem, SelectOptionItem } from './Select/common/types';
|
|
64
|
-
export type { IconButtonProps };
|
|
65
|
-
export type { AlertProps };
|
|
66
|
-
export type { AvatarProps };
|
|
67
|
-
export type { BadgeProps };
|
|
68
|
-
export type { ButtonGroupProps };
|
|
69
|
-
export type { ButtonProps, ButtonType };
|
|
70
|
-
export type { CardSecondaryProps, BadgeState };
|
|
71
|
-
export type { CardPrimaryProps };
|
|
72
|
-
export type { CheckboxProps };
|
|
73
|
-
export type { ContainerProps };
|
|
74
|
-
export type { ContextMenuProps };
|
|
75
|
-
export type { GridContainerProps };
|
|
76
|
-
export type { HoverCardProps };
|
|
77
|
-
export type { LabelProps };
|
|
78
|
-
export type { NumberFieldProps };
|
|
79
|
-
export type { PasswordFieldProps };
|
|
80
|
-
export type { PopoverProps };
|
|
81
|
-
export type { RadioGroupProps, RadioGroupItemProps };
|
|
82
|
-
export type { SearchFieldProps };
|
|
83
|
-
export type { SelectProps };
|
|
84
|
-
export type { SidebarNavigationItemProps };
|
|
85
|
-
export type { SidebarNavigationTitleProps };
|
|
86
|
-
export type { SidebarCollapsibleItemProps };
|
|
87
|
-
export type { SidebarCollapsibleTitleProps };
|
|
88
|
-
export type { SpacerProps };
|
|
89
|
-
export type { TabsProps };
|
|
90
|
-
export type { TextProps };
|
|
91
|
-
export type { TitleProps };
|
|
92
|
-
export type { TooltipProps };
|