@jbpark/ui-kit 2.0.0 → 2.1.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.
package/dist/Menu.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as findKey, i as MenuProps, n as Menu, r as MenuItem, t as ClickEventHandler } from "./index-BO7hcWjo.mjs";
2
- export { ClickEventHandler, MenuItem, MenuProps, Menu as default, findKey };
1
+ import { a as MenuProps, c as buildSelectionMap, i as MenuItem, l as findKey, n as MENU_CLASSNAMES, o as Props, r as Menu, s as SelectionMap, t as ClickEventHandler } from "./index-CbElazGe.mjs";
2
+ export { ClickEventHandler, MENU_CLASSNAMES, MenuItem, MenuProps, Props, SelectionMap, buildSelectionMap, Menu as default, findKey };
package/dist/Menu.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
 
3
- import { l as Menu_default, u as findKey } from "./src-C3CveHCK.mjs";
4
- import "./utils-DEenfsJ-.mjs";
5
- import "./Typography-LYvEW-c8.mjs";
6
- import "./Reveals-BpnYZJUk.mjs";
3
+ import { d as buildSelectionMap, f as findKey, l as MENU_CLASSNAMES, u as Menu_default } from "./src-Da3Y-f7V.mjs";
4
+ import "./utils-CssUrKWE.mjs";
5
+ import "./Typography-DJSakhLz.mjs";
6
+ import "./Reveals-BMHeo2nr.mjs";
7
7
 
8
- export { Menu_default as default, findKey };
8
+ export { MENU_CLASSNAMES, buildSelectionMap, Menu_default as default, findKey };
@@ -1,4 +1,4 @@
1
- import { t as cn } from "./utils-DEenfsJ-.mjs";
1
+ import { t as cn } from "./utils-CssUrKWE.mjs";
2
2
  import { Children } from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { motion } from "motion/react";
package/dist/Reveals.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import "./utils-DEenfsJ-.mjs";
2
- import { a as Item_default, i as Reveals_default, n as DELAY, r as DURATION, t as CASCADE } from "./Reveals-BpnYZJUk.mjs";
1
+ import "./utils-CssUrKWE.mjs";
2
+ import { a as Item_default, i as Reveals_default, n as DELAY, r as DURATION, t as CASCADE } from "./Reveals-BMHeo2nr.mjs";
3
3
 
4
4
  export { CASCADE, DELAY, DURATION, Item_default as Item, Reveals_default as default };
@@ -1,4 +1,4 @@
1
- import { t as cn } from "./utils-DEenfsJ-.mjs";
1
+ import { t as cn } from "./utils-CssUrKWE.mjs";
2
2
  import { t as TEXT_LEVELS } from "./enums-HFC1lmIX.mjs";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
 
@@ -1,2 +1,2 @@
1
- import { a as Paragraph, i as Text, n as TypographyProps, o as Link, r as Title, t as Typography } from "./index-BqaluEQ4.mjs";
1
+ import { a as Paragraph, i as Text, n as TypographyProps, o as Link, r as Title, t as Typography } from "./index-DX9rV4ki.mjs";
2
2
  export { Link, Paragraph, Text, Title, TypographyProps, Typography as default };
@@ -1,4 +1,4 @@
1
- import "./utils-DEenfsJ-.mjs";
2
- import { a as Link_default, i as Paragraph_default, n as Title_default, r as Text_default, t as Typography_default } from "./Typography-LYvEW-c8.mjs";
1
+ import "./utils-CssUrKWE.mjs";
2
+ import { a as Link_default, i as Paragraph_default, n as Title_default, r as Text_default, t as Typography_default } from "./Typography-DJSakhLz.mjs";
3
3
 
4
4
  export { Link_default as Link, Paragraph_default as Paragraph, Text_default as Text, Title_default as Title, Typography_default as default };
@@ -1,20 +1,18 @@
1
- import * as react_jsx_runtime6 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/molecules/Menu/index.d.ts
4
4
  interface MenuItem {
5
5
  label: React.ReactNode;
6
6
  key: React.Key;
7
7
  type?: string;
8
- itemKey?: React.Key;
9
- keyPath?: React.Key[];
10
8
  path?: string;
11
9
  children?: MenuItem[];
12
10
  }
13
11
  interface Props {
14
- fullSize?: boolean;
15
12
  mode?: 'horizontal' | 'vertical' | 'inline';
16
13
  selectedKeys?: React.Key[];
17
14
  defaultSelectedKeys?: React.Key[];
15
+ selectionMap?: SelectionMap;
18
16
  offset?: [number, number];
19
17
  inlineOffset?: number;
20
18
  classNames?: {
@@ -30,8 +28,9 @@ interface Props {
30
28
  label?: React.CSSProperties;
31
29
  };
32
30
  onClick?: ClickEventHandler;
31
+ onSelect?: ClickEventHandler;
33
32
  }
34
- interface MenuProps extends Props, Omit<React.HTMLAttributes<HTMLElement>, 'onClick'> {
33
+ interface MenuProps extends Props, Omit<React.HTMLAttributes<HTMLElement>, 'onClick' | 'onSelect'> {
35
34
  items?: MenuItem[];
36
35
  }
37
36
  type ClickEventHandler = (params: {
@@ -40,12 +39,14 @@ type ClickEventHandler = (params: {
40
39
  keyPath: React.Key[];
41
40
  item: MenuItem;
42
41
  }) => void;
43
- declare function findKey(menu: MenuItem, targetKeys: React.Key[]): boolean;
42
+ declare const MENU_CLASSNAMES: string[];
43
+ type SelectionMap = ReadonlyMap<React.Key, boolean>;
44
+ declare function buildSelectionMap(items: MenuItem[], selectedKeysSet: ReadonlySet<React.Key>): SelectionMap;
45
+ declare function findKey(menu: MenuItem, targetKeys: ReadonlySet<React.Key>): boolean;
44
46
  declare const Menu: ({
45
47
  items,
46
48
  mode,
47
- fullSize,
48
- defaultSelectedKeys: _defaultSelectedKeys,
49
+ defaultSelectedKeys,
49
50
  selectedKeys: _selectedKeys,
50
51
  className,
51
52
  classNames,
@@ -53,7 +54,8 @@ declare const Menu: ({
53
54
  offset,
54
55
  inlineOffset,
55
56
  onClick,
57
+ onSelect: _onSelect,
56
58
  ...props
57
- }: MenuProps) => react_jsx_runtime6.JSX.Element;
59
+ }: MenuProps) => react_jsx_runtime0.JSX.Element;
58
60
  //#endregion
59
- export { findKey as a, MenuProps as i, Menu as n, MenuItem as r, ClickEventHandler as t };
61
+ export { MenuProps as a, buildSelectionMap as c, MenuItem as i, findKey as l, MENU_CLASSNAMES as n, Props as o, Menu as r, SelectionMap as s, ClickEventHandler as t };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime8 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime7 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/atoms/Typography/Link/index.d.ts
4
4
  interface Props$3 extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
@@ -9,7 +9,7 @@ declare const Link: ({
9
9
  className,
10
10
  level,
11
11
  ...props
12
- }: Props$3) => react_jsx_runtime8.JSX.Element;
12
+ }: Props$3) => react_jsx_runtime7.JSX.Element;
13
13
  //#endregion
14
14
  //#region src/components/atoms/Typography/Paragraph/index.d.ts
15
15
  interface Props$2 extends TypographyProps {}
@@ -18,7 +18,7 @@ declare const Paragraph: ({
18
18
  className,
19
19
  level,
20
20
  ...props
21
- }: Props$2) => react_jsx_runtime8.JSX.Element;
21
+ }: Props$2) => react_jsx_runtime7.JSX.Element;
22
22
  //#endregion
23
23
  //#region src/components/atoms/Typography/Text/index.d.ts
24
24
  interface Props$1 extends TypographyProps {
@@ -32,7 +32,7 @@ declare const Text: ({
32
32
  className,
33
33
  level,
34
34
  ...props
35
- }: Props$1) => react_jsx_runtime8.JSX.Element;
35
+ }: Props$1) => react_jsx_runtime7.JSX.Element;
36
36
  //#endregion
37
37
  //#region src/components/atoms/Typography/Title/index.d.ts
38
38
  interface Props extends TypographyProps {}
@@ -41,7 +41,7 @@ declare const Title: ({
41
41
  level,
42
42
  className,
43
43
  ...props
44
- }: Props) => react_jsx_runtime8.JSX.Element;
44
+ }: Props) => react_jsx_runtime7.JSX.Element;
45
45
  //#endregion
46
46
  //#region src/components/atoms/Typography/index.d.ts
47
47
  interface TypographyProps extends React.HTMLAttributes<HTMLElement> {
@@ -51,19 +51,19 @@ declare const Typography: {
51
51
  ({
52
52
  children,
53
53
  ...props
54
- }: TypographyProps): react_jsx_runtime8.JSX.Element;
54
+ }: TypographyProps): react_jsx_runtime7.JSX.Element;
55
55
  Link: ({
56
56
  children,
57
57
  className,
58
58
  level,
59
59
  ...props
60
- }: Props$3) => react_jsx_runtime8.JSX.Element;
60
+ }: Props$3) => react_jsx_runtime7.JSX.Element;
61
61
  Paragraph: ({
62
62
  children,
63
63
  className,
64
64
  level,
65
65
  ...props
66
- }: Props$2) => react_jsx_runtime8.JSX.Element;
66
+ }: Props$2) => react_jsx_runtime7.JSX.Element;
67
67
  Text: ({
68
68
  children,
69
69
  underline,
@@ -71,13 +71,13 @@ declare const Typography: {
71
71
  className,
72
72
  level,
73
73
  ...props
74
- }: Props$1) => react_jsx_runtime8.JSX.Element;
74
+ }: Props$1) => react_jsx_runtime7.JSX.Element;
75
75
  Title: ({
76
76
  children,
77
77
  level,
78
78
  className,
79
79
  ...props
80
- }: Props) => react_jsx_runtime8.JSX.Element;
80
+ }: Props) => react_jsx_runtime7.JSX.Element;
81
81
  };
82
82
  //#endregion
83
83
  export { Paragraph as a, Text as i, TypographyProps as n, Link as o, Title as r, Typography as t };
package/dist/index.d.mts CHANGED
@@ -1,10 +1,18 @@
1
- import { t as Typography } from "./index-BqaluEQ4.mjs";
2
- import { i as MenuProps, n as Menu } from "./index-BO7hcWjo.mjs";
1
+ import { t as Typography } from "./index-DX9rV4ki.mjs";
2
+ import { a as MenuProps, r as Menu } from "./index-CbElazGe.mjs";
3
3
  import { a as Reveals } from "./index-DS-PGSIg.mjs";
4
4
  import * as React$2 from "react";
5
5
  import React$1, { ChangeEvent, HTMLAttributes, InputHTMLAttributes, MouseEvent } from "react";
6
+ import "@radix-ui/react-accordion";
7
+ import * as react_jsx_runtime13 from "react/jsx-runtime";
6
8
  import { VariantProps } from "class-variance-authority";
7
- import * as react_jsx_runtime18 from "react/jsx-runtime";
9
+ import "@radix-ui/react-checkbox";
10
+ import "@radix-ui/react-dialog";
11
+ import { Drawer as Drawer$1 } from "vaul";
12
+ import "@radix-ui/react-label";
13
+ import "@radix-ui/react-popover";
14
+ import "@radix-ui/react-progress";
15
+ import "@radix-ui/react-switch";
8
16
  import * as swiper_react0 from "swiper/react";
9
17
  import { SwiperProps } from "swiper/react";
10
18
  import "swiper/css";
@@ -18,15 +26,16 @@ import { SwiperOptions } from "swiper/types";
18
26
  //#region src/core/button.d.ts
19
27
  declare const buttonVariants: (props?: ({
20
28
  variant?: "outline" | "link" | "default" | "destructive" | "secondary" | "ghost" | null | undefined;
21
- size?: "default" | "icon" | "sm" | "lg" | null | undefined;
29
+ size?: "icon" | "default" | "sm" | "lg" | null | undefined;
22
30
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
23
- type Props$22 = React$2.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
31
+ type Props$23 = React$2.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
24
32
  asChild?: boolean;
25
33
  };
26
34
  //#endregion
27
35
  //#region src/components/atoms/Button/index.d.ts
36
+ type ButtonProps = Props$23;
28
37
  type PresetColors = 'blue' | 'purple' | 'cyan' | 'green' | 'magenta' | 'pink' | 'red' | 'orange' | 'yellow' | 'volcano' | 'geekblue' | 'lime' | 'gold';
29
- interface Props$21 extends Omit<Props$22, 'size' | 'variant'> {
38
+ interface Props$22 extends Omit<ButtonProps, 'size' | 'variant'> {
30
39
  icon?: React.ReactNode;
31
40
  block?: boolean;
32
41
  danger?: boolean;
@@ -51,7 +60,7 @@ declare const Button: ({
51
60
  children,
52
61
  onMouseDown,
53
62
  ...props
54
- }: Props$21) => react_jsx_runtime18.JSX.Element;
63
+ }: Props$22) => react_jsx_runtime13.JSX.Element;
55
64
  //#endregion
56
65
  //#region src/components/atoms/Checkbox/Group/index.d.ts
57
66
  type Option = {
@@ -60,7 +69,7 @@ type Option = {
60
69
  checked?: boolean;
61
70
  };
62
71
  type Options = string[] | number[] | boolean[] | Option[];
63
- interface Props$20 extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
72
+ interface Props$21 extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
64
73
  options?: Options;
65
74
  direction?: string;
66
75
  placement?: string;
@@ -70,7 +79,7 @@ interface Props$20 extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'
70
79
  //#endregion
71
80
  //#region src/components/atoms/Checkbox/index.d.ts
72
81
  type OptionValue = string | number | boolean;
73
- interface Props$19 extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
82
+ interface Props$20 extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {
74
83
  placement?: string;
75
84
  checked?: boolean;
76
85
  value?: OptionValue;
@@ -91,7 +100,7 @@ declare const Checkbox: {
91
100
  checked: _checked,
92
101
  onChange: _onChange,
93
102
  ...props
94
- }: Props$19): react_jsx_runtime18.JSX.Element;
103
+ }: Props$20): react_jsx_runtime13.JSX.Element;
95
104
  Group: ({
96
105
  direction,
97
106
  placement,
@@ -99,33 +108,33 @@ declare const Checkbox: {
99
108
  classNames,
100
109
  options: _options,
101
110
  onChange
102
- }: Props$20) => react_jsx_runtime18.JSX.Element;
111
+ }: Props$21) => react_jsx_runtime13.JSX.Element;
103
112
  };
104
113
  //#endregion
105
114
  //#region src/components/atoms/FloatButton/BackTop/index.d.ts
106
- interface Props$18 extends Props$21 {
115
+ interface Props$19 extends Props$22 {
107
116
  visibilityHeight?: number;
108
117
  onClick?: (e: MouseEvent<HTMLElement>) => void;
109
118
  }
110
119
  //#endregion
111
120
  //#region src/components/atoms/FloatButton/index.d.ts
112
- interface Props$17 extends Props$21 {}
121
+ interface Props$18 extends Props$22 {}
113
122
  declare const FloatButton: {
114
123
  ({
115
124
  className,
116
125
  children,
117
126
  ...props
118
- }: Props$17): react_jsx_runtime18.JSX.Element;
127
+ }: Props$18): react_jsx_runtime13.JSX.Element;
119
128
  BackTop: ({
120
129
  visibilityHeight,
121
130
  className,
122
131
  onClick,
123
132
  ...props
124
- }: Props$18) => react_jsx_runtime18.JSX.Element;
133
+ }: Props$19) => react_jsx_runtime13.JSX.Element;
125
134
  };
126
135
  //#endregion
127
136
  //#region src/components/atoms/Input/Search/index.d.ts
128
- interface Props$16 extends InputHTMLAttributes<HTMLInputElement> {
137
+ interface Props$17 extends InputHTMLAttributes<HTMLInputElement> {
129
138
  allowClear?: boolean;
130
139
  onChange: (e: ChangeEvent<HTMLInputElement> | {
131
140
  target: {
@@ -139,17 +148,32 @@ interface Props$16 extends InputHTMLAttributes<HTMLInputElement> {
139
148
  declare const Input: {
140
149
  ({
141
150
  ...props
142
- }: InputHTMLAttributes<HTMLInputElement>): react_jsx_runtime18.JSX.Element;
143
- Search: React$2.ForwardRefExoticComponent<Props$16 & React$2.RefAttributes<HTMLInputElement>>;
151
+ }: InputHTMLAttributes<HTMLInputElement>): react_jsx_runtime13.JSX.Element;
152
+ Search: React$2.ForwardRefExoticComponent<Props$17 & React$2.RefAttributes<HTMLInputElement>>;
144
153
  TextArea: ({
145
154
  className,
146
155
  ref,
147
156
  ...props
148
157
  }: React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
149
158
  ref?: React.Ref<HTMLTextAreaElement>;
150
- }) => react_jsx_runtime18.JSX.Element;
159
+ }) => react_jsx_runtime13.JSX.Element;
151
160
  };
152
161
  //#endregion
162
+ //#region src/components/atoms/Popover/index.d.ts
163
+ type Placement = 'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
164
+ interface Props$16 extends Omit<React.ComponentPropsWithoutRef<'div'>, 'title' | 'content'> {
165
+ title?: React.ReactNode;
166
+ placement?: Placement;
167
+ content: React.ReactNode;
168
+ }
169
+ declare const Popover: ({
170
+ title,
171
+ placement,
172
+ className,
173
+ content,
174
+ children
175
+ }: Props$16) => react_jsx_runtime13.JSX.Element;
176
+ //#endregion
153
177
  //#region src/components/atoms/Progress/index.d.ts
154
178
  interface Props$15 extends React.HTMLAttributes<HTMLElement> {
155
179
  value: number;
@@ -164,7 +188,7 @@ declare const Progress: ({
164
188
  className,
165
189
  direction,
166
190
  classNames
167
- }: Props$15) => react_jsx_runtime18.JSX.Element;
191
+ }: Props$15) => react_jsx_runtime13.JSX.Element;
168
192
  //#endregion
169
193
  //#region src/components/atoms/Skeleton/index.d.ts
170
194
  interface Props$14 extends React.HTMLAttributes<HTMLDivElement> {
@@ -199,15 +223,15 @@ declare const Skeleton: {
199
223
  height,
200
224
  children,
201
225
  ...props
202
- }: Props$14): string | number | bigint | boolean | Iterable<React$2.ReactNode> | Promise<string | number | bigint | boolean | React$2.ReactPortal | React$2.ReactElement<unknown, string | React$2.JSXElementConstructor<any>> | Iterable<React$2.ReactNode> | null | undefined> | react_jsx_runtime18.JSX.Element | null | undefined;
226
+ }: Props$14): string | number | bigint | boolean | react_jsx_runtime13.JSX.Element | Iterable<React$2.ReactNode> | Promise<string | number | bigint | boolean | React$2.ReactPortal | React$2.ReactElement<unknown, string | React$2.JSXElementConstructor<any>> | Iterable<React$2.ReactNode> | null | undefined> | null | undefined;
203
227
  Button: ({
204
228
  className,
205
229
  ...props
206
- }: Props$14) => react_jsx_runtime18.JSX.Element;
230
+ }: Props$14) => react_jsx_runtime13.JSX.Element;
207
231
  Node: ({
208
232
  className,
209
233
  ...props
210
- }: Props$14) => react_jsx_runtime18.JSX.Element;
234
+ }: Props$14) => react_jsx_runtime13.JSX.Element;
211
235
  };
212
236
  //#endregion
213
237
  //#region src/components/atoms/Spin/index.d.ts
@@ -218,7 +242,7 @@ declare const Spin: ({
218
242
  spinning,
219
243
  className,
220
244
  ...props
221
- }: Props$13) => react_jsx_runtime18.JSX.Element | null;
245
+ }: Props$13) => react_jsx_runtime13.JSX.Element | null;
222
246
  //#endregion
223
247
  //#region src/components/atoms/Switch/index.d.ts
224
248
  interface Props$12 extends Omit<React.HTMLAttributes<HTMLElement>, 'onChange'> {
@@ -235,7 +259,7 @@ declare const Switch: ({
235
259
  className,
236
260
  classNames,
237
261
  ...props
238
- }: Props$12) => react_jsx_runtime18.JSX.Element;
262
+ }: Props$12) => react_jsx_runtime13.JSX.Element;
239
263
  //#endregion
240
264
  //#region src/components/molecules/Card/index.d.ts
241
265
  interface Props$11 extends Omit<React.HTMLProps<HTMLDivElement>, 'title'> {
@@ -253,7 +277,7 @@ declare const Card: ({
253
277
  classNames,
254
278
  variant,
255
279
  ...props
256
- }: Props$11) => react_jsx_runtime18.JSX.Element;
280
+ }: Props$11) => react_jsx_runtime13.JSX.Element;
257
281
  //#endregion
258
282
  //#region src/components/molecules/Collapse/index.d.ts
259
283
  interface Item {
@@ -280,7 +304,7 @@ declare const Collapse: ({
280
304
  className,
281
305
  classNames,
282
306
  defaultActiveKey
283
- }: Props$10) => react_jsx_runtime18.JSX.Element;
307
+ }: Props$10) => react_jsx_runtime13.JSX.Element;
284
308
  //#endregion
285
309
  //#region src/components/molecules/Dropdown/index.d.ts
286
310
  type ChangeEventHandler = (open: boolean) => void;
@@ -298,7 +322,7 @@ declare const Dropdown: ({
298
322
  open: _open,
299
323
  onOpenChange,
300
324
  ...props
301
- }: Props$9) => react_jsx_runtime18.JSX.Element;
325
+ }: Props$9) => react_jsx_runtime13.JSX.Element;
302
326
  //#endregion
303
327
  //#region src/components/molecules/Marquees/Item/index.d.ts
304
328
  interface ItemProps {
@@ -328,7 +352,7 @@ declare const Marquees: {
328
352
  pauseOnHover,
329
353
  autoFill,
330
354
  ...props
331
- }: Props$7): react_jsx_runtime18.JSX.Element;
355
+ }: Props$7): react_jsx_runtime13.JSX.Element;
332
356
  Item: ({
333
357
  width: _width,
334
358
  speed,
@@ -336,7 +360,7 @@ declare const Marquees: {
336
360
  pause: _pause,
337
361
  pauseOnHover,
338
362
  children
339
- }: Props$8) => react_jsx_runtime18.JSX.Element;
363
+ }: Props$8) => react_jsx_runtime13.JSX.Element;
340
364
  };
341
365
  //#endregion
342
366
  //#region src/components/molecules/Space/index.d.ts
@@ -367,7 +391,7 @@ declare const Space: ({
367
391
  hidden,
368
392
  style,
369
393
  ...props
370
- }: Props$6) => react_jsx_runtime18.JSX.Element;
394
+ }: Props$6) => react_jsx_runtime13.JSX.Element;
371
395
  //#endregion
372
396
  //#region src/components/organisms/Drawer/index.d.ts
373
397
  interface Props$5 {
@@ -417,7 +441,7 @@ declare const Drawer: ({
417
441
  container,
418
442
  onClose,
419
443
  ...props
420
- }: Props$5) => react_jsx_runtime18.JSX.Element | null;
444
+ }: Props$5) => react_jsx_runtime13.JSX.Element | null;
421
445
  //#endregion
422
446
  //#region src/components/organisms/List/index.d.ts
423
447
  interface Props$4<T> extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'title'> {
@@ -456,12 +480,12 @@ declare const List: {
456
480
  classNames,
457
481
  renderItem,
458
482
  ...props
459
- }: Props$4<T>): string | number | bigint | true | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime18.JSX.Element;
483
+ }: Props$4<T>): string | number | bigint | true | react_jsx_runtime13.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined>;
460
484
  Item: ({
461
485
  children,
462
486
  className,
463
487
  ...props
464
- }: React$1.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime18.JSX.Element;
488
+ }: React$1.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime13.JSX.Element;
465
489
  };
466
490
  //#endregion
467
491
  //#region src/components/organisms/Modal/index.d.ts
@@ -515,7 +539,7 @@ declare const Modal: {
515
539
  onOk,
516
540
  onCancel,
517
541
  ...props
518
- }: Props$3): react_jsx_runtime18.JSX.Element | null;
542
+ }: Props$3): react_jsx_runtime13.JSX.Element | null;
519
543
  destroy(id?: string): void;
520
544
  destroyAll(): void;
521
545
  info(props: StaticProps): string | undefined;
@@ -544,13 +568,13 @@ declare const Swiper: {
544
568
  renderItem,
545
569
  loadingClassName,
546
570
  ...props
547
- }: Props$2<T>): react_jsx_runtime18.JSX.Element;
571
+ }: Props$2<T>): react_jsx_runtime13.JSX.Element;
548
572
  Slide: {
549
573
  ({
550
574
  children,
551
575
  className,
552
576
  ...props
553
- }: swiper_react0.SwiperSlideProps): react_jsx_runtime18.JSX.Element;
577
+ }: swiper_react0.SwiperSlideProps): react_jsx_runtime13.JSX.Element;
554
578
  displayName: string;
555
579
  };
556
580
  };
@@ -565,27 +589,27 @@ declare const Layout: {
565
589
  children,
566
590
  className,
567
591
  ...props
568
- }: Props): react_jsx_runtime18.JSX.Element;
592
+ }: Props): react_jsx_runtime13.JSX.Element;
569
593
  Content: ({
570
594
  children,
571
595
  className,
572
596
  ...props
573
- }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime18.JSX.Element;
597
+ }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime13.JSX.Element;
574
598
  Footer: ({
575
599
  children,
576
600
  className,
577
601
  ...props
578
- }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime18.JSX.Element;
602
+ }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime13.JSX.Element;
579
603
  Header: ({
580
604
  children,
581
605
  className,
582
606
  ...props
583
- }: Props$1) => react_jsx_runtime18.JSX.Element;
607
+ }: Props$1) => react_jsx_runtime13.JSX.Element;
584
608
  Sider: ({
585
609
  children,
586
610
  className,
587
611
  ...props
588
- }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime18.JSX.Element;
612
+ }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime13.JSX.Element;
589
613
  };
590
614
  //#endregion
591
- export { Button, Card, Checkbox, Collapse, Drawer, Dropdown, FloatButton, Input, Layout, List, Marquees, Menu, Modal, Progress, Reveals, Skeleton, Space, Spin, Swiper, Switch, Typography };
615
+ export { Button, Card, Checkbox, Collapse, Drawer, Dropdown, FloatButton, Input, Layout, List, Marquees, Menu, Modal, Popover, Progress, Reveals, Skeleton, Space, Spin, Swiper, Switch, Typography };
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { _ as Input_default, a as Drawer_default, b as Button_default, c as Dropdown_default, d as Collapse_default, f as Card_default, g as Progress_default, h as Skeleton_default, i as List_default, l as Menu_default, m as Spin_default, n as Swiper_default, o as Space_default, p as Switch_default, r as Modal_default, s as Marquees_default, t as Layout_default, v as FloatButton_default, y as Checkbox_default } from "./src-C3CveHCK.mjs";
2
- import "./utils-DEenfsJ-.mjs";
3
- import { t as Typography_default } from "./Typography-LYvEW-c8.mjs";
4
- import { i as Reveals_default } from "./Reveals-BpnYZJUk.mjs";
1
+ import { C as Button_default, S as Checkbox_default, _ as Skeleton_default, a as Drawer_default, b as Input_default, c as Dropdown_default, g as Spin_default, h as Switch_default, i as List_default, m as Card_default, n as Swiper_default, o as Space_default, p as Collapse_default, r as Modal_default, s as Marquees_default, t as Layout_default, u as Menu_default, v as Progress_default, x as FloatButton_default, y as Popover_default } from "./src-Da3Y-f7V.mjs";
2
+ import "./utils-CssUrKWE.mjs";
3
+ import { t as Typography_default } from "./Typography-DJSakhLz.mjs";
4
+ import { i as Reveals_default } from "./Reveals-BMHeo2nr.mjs";
5
5
 
6
- export { Button_default as Button, Card_default as Card, Checkbox_default as Checkbox, Collapse_default as Collapse, Drawer_default as Drawer, Dropdown_default as Dropdown, FloatButton_default as FloatButton, Input_default as Input, Layout_default as Layout, List_default as List, Marquees_default as Marquees, Menu_default as Menu, Modal_default as Modal, Progress_default as Progress, Reveals_default as Reveals, Skeleton_default as Skeleton, Space_default as Space, Spin_default as Spin, Swiper_default as Swiper, Switch_default as Switch, Typography_default as Typography };
6
+ export { Button_default as Button, Card_default as Card, Checkbox_default as Checkbox, Collapse_default as Collapse, Drawer_default as Drawer, Dropdown_default as Dropdown, FloatButton_default as FloatButton, Input_default as Input, Layout_default as Layout, List_default as List, Marquees_default as Marquees, Menu_default as Menu, Modal_default as Modal, Popover_default as Popover, Progress_default as Progress, Reveals_default as Reveals, Skeleton_default as Skeleton, Space_default as Space, Spin_default as Spin, Swiper_default as Swiper, Switch_default as Switch, Typography_default as Typography };