kui-basic 1.0.40 → 1.0.42
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/dist/index.d.ts +49 -2
- package/dist/index.es.js +431 -134
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +451 -134
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { HTMLInputTypeAttribute, ReactElement, SyntheticEvent } from 'react';
|
|
2
|
+
import { HTMLInputTypeAttribute, ReactElement, SyntheticEvent, RefObject, ReactNode } from 'react';
|
|
3
3
|
|
|
4
4
|
interface BrandColors {
|
|
5
5
|
main: string
|
|
@@ -747,4 +747,51 @@ type IconButtonType = (props: IconButtonProps) => React.ReactElement
|
|
|
747
747
|
|
|
748
748
|
declare const IconButton: IconButtonType
|
|
749
749
|
|
|
750
|
-
|
|
750
|
+
type PopperPlacements =
|
|
751
|
+
| "right"
|
|
752
|
+
| "left"
|
|
753
|
+
| "topStart"
|
|
754
|
+
| "topMiddle"
|
|
755
|
+
| "topEnd"
|
|
756
|
+
| "bottomStart"
|
|
757
|
+
| "bottomMiddle"
|
|
758
|
+
| "bottomEnd"
|
|
759
|
+
|
|
760
|
+
type PopperBaseProps = {
|
|
761
|
+
open?: boolean
|
|
762
|
+
placement?: PopperPlacements
|
|
763
|
+
withArrow?: boolean
|
|
764
|
+
spacing?: string
|
|
765
|
+
className?: string
|
|
766
|
+
} & React.HTMLAttributes<HTMLDivElement>
|
|
767
|
+
|
|
768
|
+
type PopperProps = {
|
|
769
|
+
contentRef: RefObject<HTMLDivElement>
|
|
770
|
+
} & PopperBaseProps
|
|
771
|
+
|
|
772
|
+
type PopperSizeParams = {
|
|
773
|
+
width: number
|
|
774
|
+
height: number
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
declare const Popper: (props: PopperProps) => React.ReactElement
|
|
778
|
+
|
|
779
|
+
type TooltipProps = {
|
|
780
|
+
onOpen?: () => void
|
|
781
|
+
onClose?: () => void
|
|
782
|
+
content: ReactNode
|
|
783
|
+
open?: boolean
|
|
784
|
+
placement?: PopperPlacements
|
|
785
|
+
withArrow?: boolean
|
|
786
|
+
cursor?: "pointer" | "auto"
|
|
787
|
+
spacing?: string
|
|
788
|
+
} & React.HTMLAttributes<HTMLDivElement>
|
|
789
|
+
|
|
790
|
+
type TooltipStylesProps = {
|
|
791
|
+
cursor?: "pointer" | "auto"
|
|
792
|
+
spacing?: string
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
declare const Tooltip: (props: TooltipProps) => React.ReactElement
|
|
796
|
+
|
|
797
|
+
export { Accordion, AccordionDetails, AccordionDetailsType, AccordionProps, AccordionSummary, AccordionSummaryProps, AccordionSummaryType, AccordionType, AppBar, AppBarProps, AppBarType, BackgroundColors, BackgroundColorsType, Box, BoxProps, BoxSizing, BoxType, BrandColors, BreakpointsType, Button, ButtonBorder, ButtonProps, ButtonSizes, ButtonThemes, ButtonType, ButtonTypes, Caption, CaptionAlign, CaptionColorGroups, CaptionColors, CaptionProps, CaptionSizes, CaptionType, CaptionWeight, Checkbox, CheckboxProps, CheckboxType, CircularProgress, CircularProgressType, ColorOption, ColorsType, Container, ContainerType, CountryItem, Divider, DividerProps, DividerType, ErrorColorsType, GreyColors, Grid, GridAlignItems, GridDirections, GridJustify, GridProps, GridSizing, GridType, GridWrap, Heading, HeadingColorGroups, HeadingColors, HeadingProps, HeadingSizes, HeadingType, IconButton, IconButtonProps, IconButtonType, InfoColorsType, Input, InputFile, InputFileProps, InputFileType, InputMessage, InputMessageProps, InputMessageType, InputMessageVariant, InputProps, InputType, InputWithAdornments, InputWithAdornmentsProps, InputWithAdornmentsType, InputWithCountryDropdown, InputWithCountryDropdownProps, InputWithCountryDropdownType, InputWithMask, InputWithMaskProps, InputWithMaskType, LinearProgress, LinearProgressType, MenuPanel, MenuPanelProps, MenuPanelType, Modal, ModalProps, ModalSizes, ModalType, Palette, Popper, PopperProps, PopperSizeParams, PrimaryColorsType, PurpleColorsType, Radio, RadioProps, RadioType, SecondaryColorsType, SettingsType, ShadowsType, Skeleton, SkeletonType, SuccessColorsType, Switch, SwitchProps, SwitchSizes, SwitchType, Tab, TabChangeHandlerType, TabProps, TabType, Tabs, TabsIndicatorPositions, TabsPanel, TabsPanelProps, TabsPanelType, TabsProps, TabsType, Text, TextColors, TextProps, TextSizes, TextType, TextWeight, ThemeInterface, ThemeType, ToolBar, ToolBarType, Tooltip, TooltipProps, TooltipStylesProps, theme, themeOld };
|