@lobehub/ui 4.1.8 → 4.2.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 (132) hide show
  1. package/es/Accordion/Accordion.d.mts +2 -2
  2. package/es/Accordion/AccordionItem.d.mts +2 -2
  3. package/es/ActionIcon/ActionIcon.d.mts +2 -2
  4. package/es/Alert/Alert.d.mts +2 -2
  5. package/es/AutoComplete/Select.d.mts +2 -2
  6. package/es/Avatar/AvatarGroup/index.d.mts +2 -2
  7. package/es/Burger/Burger.d.mts +2 -2
  8. package/es/Checkbox/Checkbox.d.mts +8 -0
  9. package/es/Checkbox/Checkbox.mjs +63 -0
  10. package/es/Checkbox/Checkbox.mjs.map +1 -0
  11. package/es/Checkbox/index.d.mts +3 -0
  12. package/es/Checkbox/index.d.ts +1 -0
  13. package/es/Checkbox/index.js +1 -0
  14. package/es/Checkbox/index.mjs +3 -0
  15. package/es/Checkbox/style.mjs +21 -0
  16. package/es/Checkbox/style.mjs.map +1 -0
  17. package/es/Checkbox/type.d.mts +31 -0
  18. package/es/CodeEditor/CodeEditor.d.mts +2 -2
  19. package/es/Collapse/Collapse.d.mts +2 -2
  20. package/es/ConfigProvider/index.d.mts +2 -2
  21. package/es/CopyButton/CopyButton.d.mts +2 -2
  22. package/es/DatePicker/DatePicker.d.mts +2 -2
  23. package/es/DraggablePanel/components/DraggablePanelBody.d.mts +2 -2
  24. package/es/DraggablePanel/components/DraggablePanelContainer.d.mts +2 -2
  25. package/es/DraggablePanel/components/DraggablePanelFooter.d.mts +2 -2
  26. package/es/DraggablePanel/components/DraggablePanelHeader.d.mts +2 -2
  27. package/es/DraggableSideNav/DraggableSideNav.d.mts +2 -2
  28. package/es/Drawer/Drawer.d.mts +2 -2
  29. package/es/Dropdown/Dropdown.d.mts +2 -2
  30. package/es/EditableText/EditableText.d.mts +2 -2
  31. package/es/EmojiPicker/EmojiPicker.d.mts +2 -2
  32. package/es/Flex/FlexBasic.d.mts +2 -2
  33. package/es/FontLoader/index.d.mts +2 -2
  34. package/es/Footer/Footer.d.mts +2 -2
  35. package/es/Form/components/FormGroup.d.mts +2 -2
  36. package/es/Form/components/FormItem.d.mts +2 -2
  37. package/es/Form/components/FormSubmitFooter.d.mts +2 -2
  38. package/es/FormModal/FormModal.d.mts +2 -2
  39. package/es/Header/Header.d.mts +2 -2
  40. package/es/Highlighter/Highlighter.d.mts +2 -2
  41. package/es/Highlighter/SyntaxHighlighter/index.d.mts +2 -2
  42. package/es/Hotkey/Hotkey.d.mts +2 -2
  43. package/es/HotkeyInput/HotkeyInput.d.mts +2 -2
  44. package/es/Icon/Icon.d.mts +2 -2
  45. package/es/Icon/components/IconProvider.d.mts +3 -3
  46. package/es/Image/PreviewGroup.d.mts +2 -2
  47. package/es/Input/Input.d.mts +2 -2
  48. package/es/Input/InputNumber.d.mts +2 -2
  49. package/es/Input/InputOPT.d.mts +2 -2
  50. package/es/Input/InputPassword.d.mts +2 -2
  51. package/es/Input/TextArea.d.mts +2 -2
  52. package/es/Layout/components/LayoutFooter.d.mts +2 -2
  53. package/es/Layout/components/LayoutHeader.d.mts +2 -2
  54. package/es/Layout/components/LayoutMain.d.mts +2 -2
  55. package/es/Layout/components/LayoutSidebar.d.mts +2 -2
  56. package/es/Layout/components/LayoutSidebarInner.d.mts +2 -2
  57. package/es/Layout/components/LayoutToc.d.mts +2 -2
  58. package/es/List/ListItem/index.d.mts +2 -2
  59. package/es/Markdown/Markdown.d.mts +2 -2
  60. package/es/Markdown/Typography.d.mts +2 -2
  61. package/es/Markdown/components/SearchResultCards/index.d.mts +2 -2
  62. package/es/MaskShadow/MaskShadow.d.mts +2 -2
  63. package/es/Menu/Menu.d.mts +2 -2
  64. package/es/Mermaid/Mermaid.d.mts +2 -2
  65. package/es/Mermaid/SyntaxMermaid/index.d.mts +2 -2
  66. package/es/Modal/Modal.d.mts +2 -2
  67. package/es/MotionProvider/index.d.mts +2 -2
  68. package/es/SearchBar/SearchBar.d.mts +2 -2
  69. package/es/Segmented/Segmented.d.mts +2 -2
  70. package/es/Select/Select.d.mts +2 -2
  71. package/es/SideNav/SideNav.d.mts +2 -2
  72. package/es/SliderWithInput/SliderWithInput.d.mts +2 -2
  73. package/es/SortableList/components/DragHandle.d.mts +2 -2
  74. package/es/SortableList/components/SortableItem.d.mts +2 -2
  75. package/es/ThemeProvider/ThemeProvider.d.mts +2 -2
  76. package/es/Toc/Toc.d.mts +2 -2
  77. package/es/Video/index.d.mts +2 -2
  78. package/es/awesome/AuroraBackground/AuroraBackground.d.mts +2 -2
  79. package/es/awesome/BottomGradientButton/BottomGradientButton.d.mts +2 -2
  80. package/es/awesome/Features/Features.d.mts +2 -2
  81. package/es/awesome/Giscus/Giscus.d.mts +2 -2
  82. package/es/awesome/GradientButton/GradientButton.d.mts +2 -2
  83. package/es/awesome/GridBackground/GridBackground.d.mts +2 -2
  84. package/es/awesome/GridBackground/GridShowcase.d.mts +2 -2
  85. package/es/awesome/Hero/Hero.d.mts +2 -2
  86. package/es/awesome/Spline/Spine.d.mts +2 -2
  87. package/es/awesome/Spotlight/Spotlight.d.mts +2 -2
  88. package/es/awesome/SpotlightCard/SpotlightCard.d.mts +2 -2
  89. package/es/awesome/TypewriterEffect/TypewriterEffect.d.mts +2 -2
  90. package/es/brand/BrandLoading/{style-Cof4dJBw.css → style-Ci5ZSi4a.css} +1 -1
  91. package/es/brand/BrandLoading/{style-Cof4dJBw.css.map → style-Ci5ZSi4a.css.map} +1 -1
  92. package/es/brand/LobeChat/index.d.mts +2 -2
  93. package/es/brand/LobeHub/index.d.mts +2 -2
  94. package/es/brand/LogoThree/LogoSpline.d.mts +2 -2
  95. package/es/brand/LogoThree/index.d.mts +2 -2
  96. package/es/chat/BackBottom/BackBottom.d.mts +2 -2
  97. package/es/chat/ChatInputArea/components/ChatInputAreaInner.d.mts +2 -2
  98. package/es/chat/ChatItem/ChatItem.d.mts +2 -2
  99. package/es/chat/ChatList/ChatList.d.mts +2 -2
  100. package/es/chat/EditableMessage/EditableMessage.d.mts +2 -2
  101. package/es/chat/EditableMessageList/EditableMessageList.d.mts +2 -2
  102. package/es/chat/MessageInput/MessageInput.d.mts +2 -2
  103. package/es/chat/MessageModal/MessageModal.d.mts +2 -2
  104. package/es/chat/TokenTag/TokenTag.mjs +27 -37
  105. package/es/chat/TokenTag/TokenTag.mjs.map +1 -1
  106. package/es/chat/TokenTag/type.d.mts +4 -7
  107. package/es/color/ColorScales/index.d.mts +2 -2
  108. package/es/i18n/context.d.mts +2 -2
  109. package/es/icons/lucideExtra/BotPromptIcon.d.mts +2 -2
  110. package/es/icons/lucideExtra/CreateBotIcon.d.mts +2 -2
  111. package/es/icons/lucideExtra/DiscordIcon.d.mts +3 -3
  112. package/es/icons/lucideExtra/GlobeOffIcon.d.mts +3 -3
  113. package/es/icons/lucideExtra/GroupBotIcon.d.mts +3 -3
  114. package/es/icons/lucideExtra/GroupBotSquareIcon.d.mts +3 -3
  115. package/es/icons/lucideExtra/LeftClickIcon.d.mts +3 -3
  116. package/es/icons/lucideExtra/LeftDoubleClickIcon.d.mts +3 -3
  117. package/es/icons/lucideExtra/McpIcon.d.mts +3 -3
  118. package/es/icons/lucideExtra/ProviderIcon.d.mts +3 -3
  119. package/es/icons/lucideExtra/RightClickIcon.d.mts +3 -3
  120. package/es/icons/lucideExtra/RightDoubleClickIcon.d.mts +3 -3
  121. package/es/icons/lucideExtra/ShapesUploadIcon.d.mts +3 -3
  122. package/es/icons/lucideExtra/TreeDownRightIcon.d.mts +3 -3
  123. package/es/icons/lucideExtra/TreeUpDownRightIcon.d.mts +3 -3
  124. package/es/index.d.mts +7 -4
  125. package/es/index.mjs +2 -1
  126. package/es/mdx/Mdx/index.d.mts +2 -2
  127. package/es/mobile/ChatHeader/ChatHeaderTitle.d.mts +2 -2
  128. package/es/mobile/TabBar/TabBar.d.mts +2 -2
  129. package/es/storybook/StoryBook/index.d.mts +2 -2
  130. package/package.json +1 -1
  131. package/es/chat/TokenTag/style.mjs +0 -34
  132. package/es/chat/TokenTag/style.mjs.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import { AccordionProps } from "./type.mjs";
2
- import * as react46 from "react";
2
+ import * as react13 from "react";
3
3
 
4
4
  //#region src/Accordion/Accordion.d.ts
5
- declare const Accordion: react46.NamedExoticComponent<AccordionProps>;
5
+ declare const Accordion: react13.NamedExoticComponent<AccordionProps>;
6
6
  //#endregion
7
7
  export { Accordion };
8
8
  //# sourceMappingURL=Accordion.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { AccordionItemProps } from "./type.mjs";
2
- import * as react45 from "react";
2
+ import * as react14 from "react";
3
3
 
4
4
  //#region src/Accordion/AccordionItem.d.ts
5
- declare const AccordionItem: react45.NamedExoticComponent<AccordionItemProps>;
5
+ declare const AccordionItem: react14.NamedExoticComponent<AccordionItemProps>;
6
6
  //#endregion
7
7
  export { AccordionItem };
8
8
  //# sourceMappingURL=AccordionItem.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { ActionIconProps } from "./type.mjs";
2
- import * as react44 from "react";
2
+ import * as react12 from "react";
3
3
 
4
4
  //#region src/ActionIcon/ActionIcon.d.ts
5
- declare const ActionIcon: react44.NamedExoticComponent<ActionIconProps>;
5
+ declare const ActionIcon: react12.NamedExoticComponent<ActionIconProps>;
6
6
  //#endregion
7
7
  export { ActionIcon };
8
8
  //# sourceMappingURL=ActionIcon.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { AlertProps } from "./type.mjs";
2
- import * as react2 from "react";
2
+ import * as react11 from "react";
3
3
 
4
4
  //#region src/Alert/Alert.d.ts
5
- declare const Alert: react2.NamedExoticComponent<AlertProps>;
5
+ declare const Alert: react11.NamedExoticComponent<AlertProps>;
6
6
  //#endregion
7
7
  export { Alert };
8
8
  //# sourceMappingURL=Alert.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { AutoCompleteProps } from "./type.mjs";
2
- import * as react12 from "react";
2
+ import * as react0 from "react";
3
3
 
4
4
  //#region src/AutoComplete/Select.d.ts
5
- declare const AutoComplete: react12.NamedExoticComponent<AutoCompleteProps>;
5
+ declare const AutoComplete: react0.NamedExoticComponent<AutoCompleteProps>;
6
6
  //#endregion
7
7
  export { AutoComplete };
8
8
  //# sourceMappingURL=Select.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { AvatarGroupProps } from "../type.mjs";
2
- import * as react9 from "react";
2
+ import * as react8 from "react";
3
3
 
4
4
  //#region src/Avatar/AvatarGroup/index.d.ts
5
- declare const AvatarGroup: react9.NamedExoticComponent<AvatarGroupProps>;
5
+ declare const AvatarGroup: react8.NamedExoticComponent<AvatarGroupProps>;
6
6
  //#endregion
7
7
  export { AvatarGroup };
8
8
  //# sourceMappingURL=index.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { BurgerProps } from "./type.mjs";
2
- import * as react10 from "react";
2
+ import * as react7 from "react";
3
3
 
4
4
  //#region src/Burger/Burger.d.ts
5
- declare const Burger: react10.NamedExoticComponent<BurgerProps>;
5
+ declare const Burger: react7.NamedExoticComponent<BurgerProps>;
6
6
  //#endregion
7
7
  export { Burger };
8
8
  //# sourceMappingURL=Burger.d.mts.map
@@ -0,0 +1,8 @@
1
+ import { CheckboxProps } from "./type.mjs";
2
+ import { FC } from "react";
3
+
4
+ //#region src/Checkbox/Checkbox.d.ts
5
+ declare const Checkbox: FC<CheckboxProps>;
6
+ //#endregion
7
+ export { Checkbox };
8
+ //# sourceMappingURL=Checkbox.d.mts.map
@@ -0,0 +1,63 @@
1
+ import FlexBasic_default from "../Flex/FlexBasic.mjs";
2
+ import Block_default from "../Block/Block.mjs";
3
+ import Text_default from "../Text/Text.mjs";
4
+ import { useStyles } from "./style.mjs";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ import useMergeState from "use-merge-value";
7
+ import { CheckIcon } from "lucide-react";
8
+
9
+ //#region src/Checkbox/Checkbox.tsx
10
+ const Checkbox = ({ checked, defaultChecked, onChange, size = 16, className, style, children, textProps, backgroundColor, classNames, styles: customStyles, shape = "square" }) => {
11
+ const { styles, cx } = useStyles();
12
+ const [value, setValue] = useMergeState(defaultChecked || false, {
13
+ defaultValue: defaultChecked,
14
+ onChange,
15
+ value: checked
16
+ });
17
+ const checkboxStyles = {
18
+ borderRadius: shape === "square" ? `max(4px, ${Math.round(size / 4)}px)` : "50%",
19
+ ...style,
20
+ ...customStyles?.checkbox
21
+ };
22
+ const checkIcon = /* @__PURE__ */ jsx(Block_default, {
23
+ align: "center",
24
+ className: cx(styles.root, value && styles.checked, className, classNames?.checkbox),
25
+ flex: "none",
26
+ height: size,
27
+ justify: "center",
28
+ onClick: () => setValue(!value),
29
+ style: backgroundColor && value ? {
30
+ backgroundColor,
31
+ borderColor: backgroundColor,
32
+ ...checkboxStyles
33
+ } : { ...checkboxStyles },
34
+ variant: "outlined",
35
+ width: size,
36
+ children: value ? /* @__PURE__ */ jsx(CheckIcon, {
37
+ size,
38
+ strokeWidth: 3,
39
+ style: { transform: `scale(${shape === "square" ? .75 : .66})` }
40
+ }) : null
41
+ });
42
+ if (!children) return checkIcon;
43
+ return /* @__PURE__ */ jsxs(FlexBasic_default, {
44
+ align: "center",
45
+ className: classNames?.wrapper,
46
+ gap: Math.floor(size / 2),
47
+ horizontal: true,
48
+ style: customStyles?.wrapper,
49
+ children: [checkIcon, /* @__PURE__ */ jsx(Text_default, {
50
+ as: "span",
51
+ className: cx(classNames?.text),
52
+ style: customStyles?.text,
53
+ ...textProps,
54
+ children
55
+ })]
56
+ });
57
+ };
58
+ Checkbox.displayName = "Checkbox";
59
+ var Checkbox_default = Checkbox;
60
+
61
+ //#endregion
62
+ export { Checkbox_default as default };
63
+ //# sourceMappingURL=Checkbox.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Checkbox.mjs","names":["Checkbox: FC<CheckboxProps>","checkboxStyles: CSSProperties","Block","Flexbox","Text"],"sources":["../../src/Checkbox/Checkbox.tsx"],"sourcesContent":["import { CheckIcon } from 'lucide-react';\nimport type { CSSProperties, FC } from 'react';\nimport useMergeState from 'use-merge-value';\n\nimport Block from '@/Block';\nimport { Flexbox } from '@/Flex';\nimport Text from '@/Text';\n\nimport { useStyles } from './style';\nimport type { CheckboxProps } from './type';\n\nconst Checkbox: FC<CheckboxProps> = ({\n checked,\n defaultChecked,\n onChange,\n size = 16,\n className,\n style,\n children,\n textProps,\n backgroundColor,\n classNames,\n styles: customStyles,\n shape = 'square',\n}) => {\n const { styles, cx } = useStyles();\n const [value, setValue] = useMergeState(defaultChecked || false, {\n defaultValue: defaultChecked,\n onChange,\n value: checked,\n });\n\n const checkboxStyles: CSSProperties = {\n borderRadius: shape === 'square' ? `max(4px, ${Math.round(size / 4)}px)` : '50%',\n ...style,\n ...customStyles?.checkbox,\n };\n\n const checkIcon = (\n <Block\n align={'center'}\n className={cx(styles.root, value && styles.checked, className, classNames?.checkbox)}\n flex={'none'}\n height={size}\n justify={'center'}\n onClick={() => setValue(!value)}\n style={\n backgroundColor && value\n ? { backgroundColor, borderColor: backgroundColor, ...checkboxStyles }\n : { ...checkboxStyles }\n }\n variant={'outlined'}\n width={size}\n >\n {value ? (\n <CheckIcon\n size={size}\n strokeWidth={3}\n style={{\n transform: `scale(${shape === 'square' ? 0.75 : 0.66})`,\n }}\n />\n ) : null}\n </Block>\n );\n\n if (!children) return checkIcon;\n\n return (\n <Flexbox\n align={'center'}\n className={classNames?.wrapper}\n gap={Math.floor(size / 2)}\n horizontal\n style={customStyles?.wrapper}\n >\n {checkIcon}\n <Text as={'span'} className={cx(classNames?.text)} style={customStyles?.text} {...textProps}>\n {children}\n </Text>\n </Flexbox>\n );\n};\n\nCheckbox.displayName = 'Checkbox';\n\nexport default Checkbox;\n"],"mappings":";;;;;;;;;AAWA,MAAMA,YAA+B,EACnC,SACA,gBACA,UACA,OAAO,IACP,WACA,OACA,UACA,WACA,iBACA,YACA,QAAQ,cACR,QAAQ,eACJ;CACJ,MAAM,EAAE,QAAQ,OAAO,WAAW;CAClC,MAAM,CAAC,OAAO,YAAY,cAAc,kBAAkB,OAAO;EAC/D,cAAc;EACd;EACA,OAAO;EACR,CAAC;CAEF,MAAMC,iBAAgC;EACpC,cAAc,UAAU,WAAW,YAAY,KAAK,MAAM,OAAO,EAAE,CAAC,OAAO;EAC3E,GAAG;EACH,GAAG,cAAc;EAClB;CAED,MAAM,YACJ,oBAACC;EACC,OAAO;EACP,WAAW,GAAG,OAAO,MAAM,SAAS,OAAO,SAAS,WAAW,YAAY,SAAS;EACpF,MAAM;EACN,QAAQ;EACR,SAAS;EACT,eAAe,SAAS,CAAC,MAAM;EAC/B,OACE,mBAAmB,QACf;GAAE;GAAiB,aAAa;GAAiB,GAAG;GAAgB,GACpE,EAAE,GAAG,gBAAgB;EAE3B,SAAS;EACT,OAAO;YAEN,QACC,oBAAC;GACO;GACN,aAAa;GACb,OAAO,EACL,WAAW,SAAS,UAAU,WAAW,MAAO,IAAK,IACtD;IACD,GACA;GACE;AAGV,KAAI,CAAC,SAAU,QAAO;AAEtB,QACE,qBAACC;EACC,OAAO;EACP,WAAW,YAAY;EACvB,KAAK,KAAK,MAAM,OAAO,EAAE;EACzB;EACA,OAAO,cAAc;aAEpB,WACD,oBAACC;GAAK,IAAI;GAAQ,WAAW,GAAG,YAAY,KAAK;GAAE,OAAO,cAAc;GAAM,GAAI;GAC/E;IACI;GACC;;AAId,SAAS,cAAc;AAEvB,uBAAe"}
@@ -0,0 +1,3 @@
1
+ import { CheckboxProps } from "./type.mjs";
2
+ import { Checkbox } from "./Checkbox.mjs";
3
+ export { CheckboxProps, Checkbox as default };
@@ -0,0 +1 @@
1
+ export * from './index.d.mts';
@@ -0,0 +1 @@
1
+ export * from './index.mjs';
@@ -0,0 +1,3 @@
1
+ import Checkbox_default from "./Checkbox.mjs";
2
+
3
+ export { Checkbox_default as default };
@@ -0,0 +1,21 @@
1
+ import { createStyles } from "antd-style";
2
+ import { readableColor } from "polished";
3
+
4
+ //#region src/Checkbox/style.ts
5
+ const useStyles = createStyles(({ css: css$1, token }) => {
6
+ return {
7
+ checked: css$1`
8
+ border-color: ${token.colorPrimary};
9
+ color: ${readableColor(token.colorPrimary)};
10
+ background-color: ${token.colorPrimary};
11
+ `,
12
+ root: css$1`
13
+ cursor: pointer;
14
+ display: inline-flex;
15
+ `
16
+ };
17
+ });
18
+
19
+ //#endregion
20
+ export { useStyles };
21
+ //# sourceMappingURL=style.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"style.mjs","names":[],"sources":["../../src/Checkbox/style.ts"],"sourcesContent":["import { createStyles } from 'antd-style';\nimport { readableColor } from 'polished';\n\nexport const useStyles = createStyles(({ css, token }) => {\n return {\n checked: css`\n border-color: ${token.colorPrimary};\n color: ${readableColor(token.colorPrimary)};\n background-color: ${token.colorPrimary};\n `,\n root: css`\n cursor: pointer;\n display: inline-flex;\n `,\n };\n});\n"],"mappings":";;;;AAGA,MAAa,YAAY,cAAc,EAAE,YAAK,YAAY;AACxD,QAAO;EACL,SAAS,KAAG;sBACM,MAAM,aAAa;eAC1B,cAAc,MAAM,aAAa,CAAC;0BACvB,MAAM,aAAa;;EAEzC,MAAM,KAAG;;;;EAIV;EACD"}
@@ -0,0 +1,31 @@
1
+ import { TextProps } from "../Text/type.mjs";
2
+ import "../Text/index.mjs";
3
+ import { CSSProperties, ReactNode } from "react";
4
+
5
+ //#region src/Checkbox/type.d.ts
6
+ interface CheckboxProps {
7
+ backgroundColor?: string;
8
+ checked?: boolean;
9
+ children?: ReactNode;
10
+ className?: string;
11
+ classNames?: {
12
+ checkbox?: string;
13
+ text?: string;
14
+ wrapper?: string;
15
+ };
16
+ defaultChecked?: boolean;
17
+ disabled?: boolean;
18
+ onChange?: (checked: boolean) => void;
19
+ shape?: 'square' | 'circle';
20
+ size?: number;
21
+ style?: CSSProperties;
22
+ styles?: {
23
+ checkbox?: CSSProperties;
24
+ text?: CSSProperties;
25
+ wrapper?: CSSProperties;
26
+ };
27
+ textProps?: Omit<TextProps, 'children' | 'className' | 'style'>;
28
+ }
29
+ //#endregion
30
+ export { CheckboxProps };
31
+ //# sourceMappingURL=type.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { CodeEditorProps } from "./type.mjs";
2
- import * as react41 from "react";
2
+ import * as react6 from "react";
3
3
 
4
4
  //#region src/CodeEditor/CodeEditor.d.ts
5
- declare const CodeEditor: react41.NamedExoticComponent<CodeEditorProps>;
5
+ declare const CodeEditor: react6.NamedExoticComponent<CodeEditorProps>;
6
6
  //#endregion
7
7
  export { CodeEditor };
8
8
  //# sourceMappingURL=CodeEditor.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { CollapseProps } from "./type.mjs";
2
- import * as react42 from "react";
2
+ import * as react5 from "react";
3
3
 
4
4
  //#region src/Collapse/Collapse.d.ts
5
- declare const Collapse: react42.NamedExoticComponent<CollapseProps>;
5
+ declare const Collapse: react5.NamedExoticComponent<CollapseProps>;
6
6
  //#endregion
7
7
  export { Collapse };
8
8
  //# sourceMappingURL=Collapse.d.mts.map
@@ -1,7 +1,7 @@
1
1
  import { MotionComponentType } from "../MotionProvider/index.mjs";
2
2
  import { TranslationResourcesInput } from "../i18n/types.mjs";
3
3
  import { CDN, CdnApi } from "../utils/genCdnUrl.mjs";
4
- import * as react64 from "react";
4
+ import * as react28 from "react";
5
5
  import { ElementType, ReactNode } from "react";
6
6
 
7
7
  //#region src/ConfigProvider/index.d.ts
@@ -19,7 +19,7 @@ interface ConfigProviderProps {
19
19
  motion: MotionComponentType;
20
20
  resources?: TranslationResourcesInput;
21
21
  }
22
- declare const ConfigProvider: react64.NamedExoticComponent<ConfigProviderProps>;
22
+ declare const ConfigProvider: react28.NamedExoticComponent<ConfigProviderProps>;
23
23
  type CdnFn = ({
24
24
  pkg,
25
25
  version,
@@ -1,8 +1,8 @@
1
1
  import { CopyButtonProps } from "./type.mjs";
2
- import * as react40 from "react";
2
+ import * as react4 from "react";
3
3
 
4
4
  //#region src/CopyButton/CopyButton.d.ts
5
- declare const CopyButton: react40.NamedExoticComponent<CopyButtonProps>;
5
+ declare const CopyButton: react4.NamedExoticComponent<CopyButtonProps>;
6
6
  //#endregion
7
7
  export { CopyButton };
8
8
  //# sourceMappingURL=CopyButton.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { DatePickerProps } from "./type.mjs";
2
- import * as react39 from "react";
2
+ import * as react67 from "react";
3
3
 
4
4
  //#region src/DatePicker/DatePicker.d.ts
5
- declare const DatePicker: react39.NamedExoticComponent<DatePickerProps>;
5
+ declare const DatePicker: react67.NamedExoticComponent<DatePickerProps>;
6
6
  //#endregion
7
7
  export { DatePicker };
8
8
  //# sourceMappingURL=DatePicker.d.mts.map
@@ -1,9 +1,9 @@
1
1
  import { DivProps } from "../../types/index.mjs";
2
- import * as react35 from "react";
2
+ import * as react61 from "react";
3
3
 
4
4
  //#region src/DraggablePanel/components/DraggablePanelBody.d.ts
5
5
  type DraggablePanelBodyProps = DivProps;
6
- declare const DraggablePanelBody: react35.NamedExoticComponent<DivProps>;
6
+ declare const DraggablePanelBody: react61.NamedExoticComponent<DivProps>;
7
7
  //#endregion
8
8
  export { DraggablePanelBody, DraggablePanelBodyProps };
9
9
  //# sourceMappingURL=DraggablePanelBody.d.mts.map
@@ -1,9 +1,9 @@
1
1
  import { DivProps } from "../../types/index.mjs";
2
- import * as react36 from "react";
2
+ import * as react63 from "react";
3
3
 
4
4
  //#region src/DraggablePanel/components/DraggablePanelContainer.d.ts
5
5
  type DraggablePanelContainerProps = DivProps;
6
- declare const DraggablePanelContainer: react36.NamedExoticComponent<DivProps>;
6
+ declare const DraggablePanelContainer: react63.NamedExoticComponent<DivProps>;
7
7
  //#endregion
8
8
  export { DraggablePanelContainer, DraggablePanelContainerProps };
9
9
  //# sourceMappingURL=DraggablePanelContainer.d.mts.map
@@ -1,9 +1,9 @@
1
1
  import { DivProps } from "../../types/index.mjs";
2
- import * as react37 from "react";
2
+ import * as react58 from "react";
3
3
 
4
4
  //#region src/DraggablePanel/components/DraggablePanelFooter.d.ts
5
5
  type DraggablePanelFooterProps = DivProps;
6
- declare const DraggablePanelFooter: react37.NamedExoticComponent<DivProps>;
6
+ declare const DraggablePanelFooter: react58.NamedExoticComponent<DivProps>;
7
7
  //#endregion
8
8
  export { DraggablePanelFooter, DraggablePanelFooterProps };
9
9
  //# sourceMappingURL=DraggablePanelFooter.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { DivProps } from "../../types/index.mjs";
2
- import * as react38 from "react";
2
+ import * as react59 from "react";
3
3
 
4
4
  //#region src/DraggablePanel/components/DraggablePanelHeader.d.ts
5
5
  interface DraggablePanelHeaderProps extends Omit<DivProps, 'children'> {
@@ -9,7 +9,7 @@ interface DraggablePanelHeaderProps extends Omit<DivProps, 'children'> {
9
9
  setPin?: (pin: boolean) => void;
10
10
  title?: string;
11
11
  }
12
- declare const DraggablePanelHeader: react38.NamedExoticComponent<DraggablePanelHeaderProps>;
12
+ declare const DraggablePanelHeader: react59.NamedExoticComponent<DraggablePanelHeaderProps>;
13
13
  //#endregion
14
14
  export { DraggablePanelHeader, DraggablePanelHeaderProps };
15
15
  //# sourceMappingURL=DraggablePanelHeader.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { DraggableSideNavProps } from "./type.mjs";
2
- import * as react34 from "react";
2
+ import * as react60 from "react";
3
3
 
4
4
  //#region src/DraggableSideNav/DraggableSideNav.d.ts
5
- declare const DraggableSideNav: react34.NamedExoticComponent<DraggableSideNavProps>;
5
+ declare const DraggableSideNav: react60.NamedExoticComponent<DraggableSideNavProps>;
6
6
  //#endregion
7
7
  export { DraggableSideNav };
8
8
  //# sourceMappingURL=DraggableSideNav.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { DrawerProps } from "./type.mjs";
2
- import * as react33 from "react";
2
+ import * as react57 from "react";
3
3
 
4
4
  //#region src/Drawer/Drawer.d.ts
5
- declare const Drawer: react33.NamedExoticComponent<DrawerProps>;
5
+ declare const Drawer: react57.NamedExoticComponent<DrawerProps>;
6
6
  //#endregion
7
7
  export { Drawer };
8
8
  //# sourceMappingURL=Drawer.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { DropdownProps } from "./type.mjs";
2
- import * as react32 from "react";
2
+ import * as react52 from "react";
3
3
 
4
4
  //#region src/Dropdown/Dropdown.d.ts
5
- declare const Dropdown: react32.NamedExoticComponent<DropdownProps>;
5
+ declare const Dropdown: react52.NamedExoticComponent<DropdownProps>;
6
6
  //#endregion
7
7
  export { Dropdown };
8
8
  //# sourceMappingURL=Dropdown.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { EditableTextProps } from "./type.mjs";
2
- import * as react29 from "react";
2
+ import * as react3 from "react";
3
3
 
4
4
  //#region src/EditableText/EditableText.d.ts
5
- declare const EditableText: react29.NamedExoticComponent<EditableTextProps>;
5
+ declare const EditableText: react3.NamedExoticComponent<EditableTextProps>;
6
6
  //#endregion
7
7
  export { EditableText };
8
8
  //# sourceMappingURL=EditableText.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { EmojiPickerProps } from "./type.mjs";
2
- import * as react30 from "react";
2
+ import * as react16 from "react";
3
3
 
4
4
  //#region src/EmojiPicker/EmojiPicker.d.ts
5
- declare const EmojiPicker: react30.NamedExoticComponent<EmojiPickerProps>;
5
+ declare const EmojiPicker: react16.NamedExoticComponent<EmojiPickerProps>;
6
6
  //#endregion
7
7
  export { EmojiPicker };
8
8
  //# sourceMappingURL=EmojiPicker.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { FlexBasicProps } from "./type.mjs";
2
- import * as react23 from "react";
2
+ import * as react69 from "react";
3
3
 
4
4
  //#region src/Flex/FlexBasic.d.ts
5
- declare const _default: react23.NamedExoticComponent<FlexBasicProps>;
5
+ declare const _default: react69.NamedExoticComponent<FlexBasicProps>;
6
6
  //#endregion
7
7
  export { _default };
8
8
  //# sourceMappingURL=FlexBasic.d.mts.map
@@ -1,10 +1,10 @@
1
- import * as react67 from "react";
1
+ import * as react31 from "react";
2
2
 
3
3
  //#region src/FontLoader/index.d.ts
4
4
  interface FontLoaderProps {
5
5
  url: string;
6
6
  }
7
- declare const FontLoader: react67.NamedExoticComponent<FontLoaderProps>;
7
+ declare const FontLoader: react31.NamedExoticComponent<FontLoaderProps>;
8
8
  //#endregion
9
9
  export { FontLoader, FontLoaderProps };
10
10
  //# sourceMappingURL=index.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { FooterProps } from "./type.mjs";
2
- import * as react28 from "react";
2
+ import * as react2 from "react";
3
3
 
4
4
  //#region src/Footer/Footer.d.ts
5
- declare const Footer: react28.NamedExoticComponent<FooterProps>;
5
+ declare const Footer: react2.NamedExoticComponent<FooterProps>;
6
6
  //#endregion
7
7
  export { Footer };
8
8
  //# sourceMappingURL=Footer.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { FormGroupProps } from "../type.mjs";
2
- import * as react24 from "react";
2
+ import * as react65 from "react";
3
3
 
4
4
  //#region src/Form/components/FormGroup.d.ts
5
- declare const FormGroup: react24.NamedExoticComponent<FormGroupProps>;
5
+ declare const FormGroup: react65.NamedExoticComponent<FormGroupProps>;
6
6
  //#endregion
7
7
  export { FormGroup };
8
8
  //# sourceMappingURL=FormGroup.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { FormItemProps } from "../type.mjs";
2
- import * as react25 from "react";
2
+ import * as react64 from "react";
3
3
 
4
4
  //#region src/Form/components/FormItem.d.ts
5
- declare const FormItem: react25.NamedExoticComponent<FormItemProps>;
5
+ declare const FormItem: react64.NamedExoticComponent<FormItemProps>;
6
6
  //#endregion
7
7
  export { FormItem };
8
8
  //# sourceMappingURL=FormItem.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { FormSubmitFooterProps } from "../type.mjs";
2
- import * as react26 from "react";
2
+ import * as react66 from "react";
3
3
 
4
4
  //#region src/Form/components/FormSubmitFooter.d.ts
5
- declare const FormSubmitFooter: react26.NamedExoticComponent<FormSubmitFooterProps>;
5
+ declare const FormSubmitFooter: react66.NamedExoticComponent<FormSubmitFooterProps>;
6
6
  //#endregion
7
7
  export { FormSubmitFooter };
8
8
  //# sourceMappingURL=FormSubmitFooter.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { FormModalProps } from "./type.mjs";
2
- import * as react27 from "react";
2
+ import * as react68 from "react";
3
3
 
4
4
  //#region src/FormModal/FormModal.d.ts
5
- declare const FormModal: react27.NamedExoticComponent<FormModalProps>;
5
+ declare const FormModal: react68.NamedExoticComponent<FormModalProps>;
6
6
  //#endregion
7
7
  export { FormModal };
8
8
  //# sourceMappingURL=FormModal.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { HeaderProps } from "./type.mjs";
2
- import * as react5 from "react";
2
+ import * as react25 from "react";
3
3
 
4
4
  //#region src/Header/Header.d.ts
5
- declare const Header: react5.NamedExoticComponent<HeaderProps>;
5
+ declare const Header: react25.NamedExoticComponent<HeaderProps>;
6
6
  //#endregion
7
7
  export { Header };
8
8
  //# sourceMappingURL=Header.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { HighlighterProps } from "./type.mjs";
2
- import * as react6 from "react";
2
+ import * as react9 from "react";
3
3
 
4
4
  //#region src/Highlighter/Highlighter.d.ts
5
- declare const Highlighter: react6.NamedExoticComponent<HighlighterProps>;
5
+ declare const Highlighter: react9.NamedExoticComponent<HighlighterProps>;
6
6
  //#endregion
7
7
  export { Highlighter };
8
8
  //# sourceMappingURL=Highlighter.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { SyntaxHighlighterProps } from "../type.mjs";
2
- import * as react7 from "react";
2
+ import * as react10 from "react";
3
3
 
4
4
  //#region src/Highlighter/SyntaxHighlighter/index.d.ts
5
- declare const SyntaxHighlighter: react7.NamedExoticComponent<SyntaxHighlighterProps>;
5
+ declare const SyntaxHighlighter: react10.NamedExoticComponent<SyntaxHighlighterProps>;
6
6
  //#endregion
7
7
  export { SyntaxHighlighter };
8
8
  //# sourceMappingURL=index.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { HotkeyProps } from "./type.mjs";
2
- import * as react4 from "react";
2
+ import * as react15 from "react";
3
3
 
4
4
  //#region src/Hotkey/Hotkey.d.ts
5
- declare const Hotkey: react4.NamedExoticComponent<HotkeyProps>;
5
+ declare const Hotkey: react15.NamedExoticComponent<HotkeyProps>;
6
6
  //#endregion
7
7
  export { Hotkey };
8
8
  //# sourceMappingURL=Hotkey.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { HotkeyInputProps } from "./type.mjs";
2
- import * as react22 from "react";
2
+ import * as react62 from "react";
3
3
 
4
4
  //#region src/HotkeyInput/HotkeyInput.d.ts
5
- declare const HotkeyInput: react22.NamedExoticComponent<HotkeyInputProps>;
5
+ declare const HotkeyInput: react62.NamedExoticComponent<HotkeyInputProps>;
6
6
  //#endregion
7
7
  export { HotkeyInput };
8
8
  //# sourceMappingURL=HotkeyInput.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { IconProps } from "./type.mjs";
2
- import * as react21 from "react";
2
+ import * as react56 from "react";
3
3
 
4
4
  //#region src/Icon/Icon.d.ts
5
- declare const Icon: react21.NamedExoticComponent<IconProps>;
5
+ declare const Icon: react56.NamedExoticComponent<IconProps>;
6
6
  //#endregion
7
7
  export { Icon };
8
8
  //# sourceMappingURL=Icon.d.mts.map
@@ -1,11 +1,11 @@
1
1
  import { IconProps } from "../type.mjs";
2
- import * as react19 from "react";
2
+ import * as react54 from "react";
3
3
  import { ReactNode } from "react";
4
4
 
5
5
  //#region src/Icon/components/IconProvider.d.ts
6
6
  type IconContentConfig = Omit<IconProps, 'icon' | 'ref'>;
7
- declare const IconContext: react19.Context<IconContentConfig>;
8
- declare const IconProvider: react19.NamedExoticComponent<{
7
+ declare const IconContext: react54.Context<IconContentConfig>;
8
+ declare const IconProvider: react54.NamedExoticComponent<{
9
9
  children: ReactNode;
10
10
  config?: IconContentConfig;
11
11
  }>;
@@ -1,8 +1,8 @@
1
1
  import { PreviewGroupProps } from "./type.mjs";
2
- import * as react17 from "react";
2
+ import * as react53 from "react";
3
3
 
4
4
  //#region src/Image/PreviewGroup.d.ts
5
- declare const PreviewGroup: react17.NamedExoticComponent<PreviewGroupProps>;
5
+ declare const PreviewGroup: react53.NamedExoticComponent<PreviewGroupProps>;
6
6
  //#endregion
7
7
  export { PreviewGroup };
8
8
  //# sourceMappingURL=PreviewGroup.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { InputProps } from "./type.mjs";
2
- import * as react129 from "react";
2
+ import * as react133 from "react";
3
3
 
4
4
  //#region src/Input/Input.d.ts
5
- declare const Input: react129.NamedExoticComponent<InputProps>;
5
+ declare const Input: react133.NamedExoticComponent<InputProps>;
6
6
  //#endregion
7
7
  export { Input };
8
8
  //# sourceMappingURL=Input.d.mts.map