@jbpark/ui-kit 1.1.4 → 1.1.5

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-Bis4UfFa.mjs";
1
+ import { a as findKey, i as MenuProps, n as Menu, r as MenuItem, t as ClickEventHandler } from "./index-B9mWYXv2.mjs";
2
2
  export { ClickEventHandler, MenuItem, MenuProps, Menu as default, findKey };
package/dist/Menu.mjs CHANGED
@@ -1,5 +1,8 @@
1
1
  'use client';
2
2
 
3
- import { n as findKey, t as Menu_default } from "./Menu-Du6xCBZw.mjs";
3
+ import { l as Menu_default, u as findKey } from "./src-BWzCs5T7.mjs";
4
+ import "./utils-DEenfsJ-.mjs";
5
+ import "./Typography-LYvEW-c8.mjs";
6
+ import "./Reveals-BpnYZJUk.mjs";
4
7
 
5
8
  export { Menu_default as default, findKey };
@@ -1,4 +1,4 @@
1
- import { cn } from "@repo/ui/utils";
1
+ import { t as cn } from "./utils-DEenfsJ-.mjs";
2
2
  import { Children } from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { motion } from "motion/react";
@@ -1,2 +1,2 @@
1
- import { a as Reveals, i as Props, n as DELAY, o as Item, r as DURATION, s as ItemProps, t as CASCADE } from "./index-CMqaIny4.mjs";
1
+ import { a as Reveals, i as Props, n as DELAY, o as Item, r as DURATION, s as ItemProps, t as CASCADE } from "./index-DS-PGSIg.mjs";
2
2
  export { CASCADE, DELAY, DURATION, Item, ItemProps, Props as RevealsProps, Reveals as default };
package/dist/Reveals.mjs CHANGED
@@ -1,3 +1,4 @@
1
- import { a as Item_default, i as Reveals_default, n as DELAY, r as DURATION, t as CASCADE } from "./Reveals-BC-bFyOg.mjs";
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";
2
3
 
3
4
  export { CASCADE, DELAY, DURATION, Item_default as Item, Reveals_default as default };
@@ -1,6 +1,6 @@
1
- import { cn } from "@repo/ui/utils";
1
+ import { t as cn } from "./utils-DEenfsJ-.mjs";
2
+ import { t as TEXT_LEVELS } from "./enums-HFC1lmIX.mjs";
2
3
  import { jsx } from "react/jsx-runtime";
3
- import { TEXT_LEVELS } from "@repo/ui/enums";
4
4
 
5
5
  //#region src/components/atoms/Typography/Link/index.tsx
6
6
  const Link = ({ children, className, level, ...props }) => {
@@ -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-DdrnJwDC.mjs";
1
+ import { a as Paragraph, i as Text, n as TypographyProps, o as Link, r as Title, t as Typography } from "./index-D-PIa92o.mjs";
2
2
  export { Link, Paragraph, Text, Title, TypographyProps, Typography as default };
@@ -1,3 +1,4 @@
1
- import { a as Link_default, i as Paragraph_default, n as Title_default, r as Text_default, t as Typography_default } from "./Typography-waEo2g0S.mjs";
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";
2
3
 
3
4
  export { Link_default as Link, Paragraph_default as Paragraph, Text_default as Text, Title_default as Title, Typography_default as default };
@@ -0,0 +1,12 @@
1
+ //#region src/lib/enums/index.ts
2
+ const TEXT_LEVELS = {
3
+ 1: "text-2xl",
4
+ 2: "text-xl",
5
+ 3: "text-lg",
6
+ 4: "text-base",
7
+ 5: "text-sm",
8
+ 6: "text-xs"
9
+ };
10
+
11
+ //#endregion
12
+ export { TEXT_LEVELS as t };
package/dist/enums.mjs CHANGED
@@ -1,12 +1,3 @@
1
- //#region src/lib/enums/index.ts
2
- const TEXT_LEVELS = {
3
- 1: "text-2xl",
4
- 2: "text-xl",
5
- 3: "text-lg",
6
- 4: "text-base",
7
- 5: "text-sm",
8
- 6: "text-xs"
9
- };
1
+ import { t as TEXT_LEVELS } from "./enums-HFC1lmIX.mjs";
10
2
 
11
- //#endregion
12
3
  export { TEXT_LEVELS };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime6 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime4 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/molecules/Menu/index.d.ts
4
4
  interface MenuItem {
@@ -54,6 +54,6 @@ declare const Menu: ({
54
54
  inlineOffset,
55
55
  onClick,
56
56
  ...props
57
- }: MenuProps) => react_jsx_runtime6.JSX.Element;
57
+ }: MenuProps) => react_jsx_runtime4.JSX.Element;
58
58
  //#endregion
59
59
  export { findKey as a, MenuProps as i, Menu as n, MenuItem as r, ClickEventHandler as t };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime9 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime10 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_runtime9.JSX.Element;
12
+ }: Props$3) => react_jsx_runtime10.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_runtime9.JSX.Element;
21
+ }: Props$2) => react_jsx_runtime10.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_runtime9.JSX.Element;
35
+ }: Props$1) => react_jsx_runtime10.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_runtime9.JSX.Element;
44
+ }: Props) => react_jsx_runtime10.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_runtime9.JSX.Element;
54
+ }: TypographyProps): react_jsx_runtime10.JSX.Element;
55
55
  Link: ({
56
56
  children,
57
57
  className,
58
58
  level,
59
59
  ...props
60
- }: Props$3) => react_jsx_runtime9.JSX.Element;
60
+ }: Props$3) => react_jsx_runtime10.JSX.Element;
61
61
  Paragraph: ({
62
62
  children,
63
63
  className,
64
64
  level,
65
65
  ...props
66
- }: Props$2) => react_jsx_runtime9.JSX.Element;
66
+ }: Props$2) => react_jsx_runtime10.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_runtime9.JSX.Element;
74
+ }: Props$1) => react_jsx_runtime10.JSX.Element;
75
75
  Title: ({
76
76
  children,
77
77
  level,
78
78
  className,
79
79
  ...props
80
- }: Props) => react_jsx_runtime9.JSX.Element;
80
+ }: Props) => react_jsx_runtime10.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 };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime7 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime11 from "react/jsx-runtime";
2
2
  import { MotionProps } from "motion/react";
3
3
 
4
4
  //#region src/components/molecules/Reveals/Item/index.d.ts
@@ -54,7 +54,7 @@ declare const Item: ({
54
54
  transition,
55
55
  className,
56
56
  ...props
57
- }: ItemProps) => react_jsx_runtime7.JSX.Element;
57
+ }: ItemProps) => react_jsx_runtime11.JSX.Element;
58
58
  //#endregion
59
59
  //#region src/components/molecules/Reveals/index.d.ts
60
60
  interface Props extends React.HTMLAttributes<HTMLDivElement>, ItemProps {
@@ -79,7 +79,7 @@ declare const Reveals: {
79
79
  duration,
80
80
  delay,
81
81
  ...props
82
- }: Props): react_jsx_runtime7.JSX.Element;
82
+ }: Props): react_jsx_runtime11.JSX.Element;
83
83
  Item: ({
84
84
  effect,
85
85
  children,
@@ -91,7 +91,7 @@ declare const Reveals: {
91
91
  transition,
92
92
  className,
93
93
  ...props
94
- }: ItemProps) => react_jsx_runtime7.JSX.Element;
94
+ }: ItemProps) => react_jsx_runtime11.JSX.Element;
95
95
  };
96
96
  //#endregion
97
97
  export { Reveals as a, Props as i, DELAY as n, Item as o, DURATION as r, ItemProps as s, CASCADE as t };
package/dist/index.d.mts CHANGED
@@ -1,10 +1,10 @@
1
- import { t as Typography } from "./index-DdrnJwDC.mjs";
2
- import { i as MenuProps, n as Menu } from "./index-Bis4UfFa.mjs";
3
- import { a as Reveals } from "./index-CMqaIny4.mjs";
1
+ import { t as Typography } from "./index-D-PIa92o.mjs";
2
+ import { i as MenuProps, n as Menu } from "./index-B9mWYXv2.mjs";
3
+ import { a as Reveals } from "./index-DS-PGSIg.mjs";
4
4
  import * as React$2 from "react";
5
5
  import React$1, { HTMLAttributes, MouseEvent } from "react";
6
6
  import { VariantProps } from "class-variance-authority";
7
- import * as react_jsx_runtime23 from "react/jsx-runtime";
7
+ import * as react_jsx_runtime17 from "react/jsx-runtime";
8
8
  import * as swiper_react0 from "swiper/react";
9
9
  import { SwiperProps } from "swiper/react";
10
10
  import "swiper/css";
@@ -18,7 +18,7 @@ import { SwiperOptions } from "swiper/types";
18
18
  //#region src/core/button.d.ts
19
19
  declare const buttonVariants: (props?: ({
20
20
  variant?: "outline" | "link" | "default" | "destructive" | "secondary" | "ghost" | null | undefined;
21
- size?: "default" | "icon" | "sm" | "lg" | null | undefined;
21
+ size?: "icon" | "default" | "sm" | "lg" | null | undefined;
22
22
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
23
23
  type Props$21 = React$2.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
24
24
  asChild?: boolean;
@@ -50,7 +50,7 @@ declare const Button: ({
50
50
  children,
51
51
  onMouseDown,
52
52
  ...props
53
- }: Props$20) => react_jsx_runtime23.JSX.Element;
53
+ }: Props$20) => react_jsx_runtime17.JSX.Element;
54
54
  //#endregion
55
55
  //#region src/components/atoms/Checkbox/Group/index.d.ts
56
56
  type Option = {
@@ -90,7 +90,7 @@ declare const Checkbox: {
90
90
  checked: _checked,
91
91
  onChange: _onChange,
92
92
  ...props
93
- }: Props$18): react_jsx_runtime23.JSX.Element;
93
+ }: Props$18): react_jsx_runtime17.JSX.Element;
94
94
  Group: ({
95
95
  direction,
96
96
  placement,
@@ -98,7 +98,7 @@ declare const Checkbox: {
98
98
  classNames,
99
99
  options: _options,
100
100
  onChange
101
- }: Props$19) => react_jsx_runtime23.JSX.Element;
101
+ }: Props$19) => react_jsx_runtime17.JSX.Element;
102
102
  };
103
103
  //#endregion
104
104
  //#region src/components/atoms/FloatButton/BackTop/index.d.ts
@@ -114,13 +114,13 @@ declare const FloatButton: {
114
114
  className,
115
115
  children,
116
116
  ...props
117
- }: Props$16): react_jsx_runtime23.JSX.Element;
117
+ }: Props$16): react_jsx_runtime17.JSX.Element;
118
118
  BackTop: ({
119
119
  visibilityHeight,
120
120
  className,
121
121
  onClick,
122
122
  ...props
123
- }: Props$17) => react_jsx_runtime23.JSX.Element;
123
+ }: Props$17) => react_jsx_runtime17.JSX.Element;
124
124
  };
125
125
  //#endregion
126
126
  //#region src/components/atoms/Progress/index.d.ts
@@ -137,7 +137,7 @@ declare const Progress: ({
137
137
  className,
138
138
  direction,
139
139
  classNames
140
- }: Props$15) => react_jsx_runtime23.JSX.Element;
140
+ }: Props$15) => react_jsx_runtime17.JSX.Element;
141
141
  //#endregion
142
142
  //#region src/components/atoms/Skeleton/index.d.ts
143
143
  interface Props$14 extends React.HTMLAttributes<HTMLDivElement> {
@@ -172,15 +172,15 @@ declare const Skeleton: {
172
172
  height,
173
173
  children,
174
174
  ...props
175
- }: 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_runtime23.JSX.Element | null | undefined;
175
+ }: 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_runtime17.JSX.Element | null | undefined;
176
176
  Button: ({
177
177
  className,
178
178
  ...props
179
- }: Props$14) => react_jsx_runtime23.JSX.Element;
179
+ }: Props$14) => react_jsx_runtime17.JSX.Element;
180
180
  Node: ({
181
181
  className,
182
182
  ...props
183
- }: Props$14) => react_jsx_runtime23.JSX.Element;
183
+ }: Props$14) => react_jsx_runtime17.JSX.Element;
184
184
  };
185
185
  //#endregion
186
186
  //#region src/components/atoms/Spin/index.d.ts
@@ -191,7 +191,7 @@ declare const Spin: ({
191
191
  spinning,
192
192
  className,
193
193
  ...props
194
- }: Props$13) => react_jsx_runtime23.JSX.Element | null;
194
+ }: Props$13) => react_jsx_runtime17.JSX.Element | null;
195
195
  //#endregion
196
196
  //#region src/components/atoms/Switch/index.d.ts
197
197
  interface Props$12 extends Omit<React.HTMLAttributes<HTMLElement>, 'onChange'> {
@@ -208,7 +208,7 @@ declare const Switch: ({
208
208
  className,
209
209
  classNames,
210
210
  ...props
211
- }: Props$12) => react_jsx_runtime23.JSX.Element;
211
+ }: Props$12) => react_jsx_runtime17.JSX.Element;
212
212
  //#endregion
213
213
  //#region src/components/molecules/Card/index.d.ts
214
214
  interface Props$11 extends Omit<React.HTMLProps<HTMLDivElement>, 'title'> {
@@ -226,7 +226,7 @@ declare const Card: ({
226
226
  classNames,
227
227
  variant,
228
228
  ...props
229
- }: Props$11) => react_jsx_runtime23.JSX.Element;
229
+ }: Props$11) => react_jsx_runtime17.JSX.Element;
230
230
  //#endregion
231
231
  //#region src/components/molecules/Collapse/index.d.ts
232
232
  interface Item {
@@ -253,7 +253,7 @@ declare const Collapse: ({
253
253
  className,
254
254
  classNames,
255
255
  defaultActiveKey
256
- }: Props$10) => react_jsx_runtime23.JSX.Element;
256
+ }: Props$10) => react_jsx_runtime17.JSX.Element;
257
257
  //#endregion
258
258
  //#region src/components/molecules/Dropdown/index.d.ts
259
259
  type ChangeEventHandler = (open: boolean) => void;
@@ -271,7 +271,7 @@ declare const Dropdown: ({
271
271
  open: _open,
272
272
  onOpenChange,
273
273
  ...props
274
- }: Props$9) => react_jsx_runtime23.JSX.Element;
274
+ }: Props$9) => react_jsx_runtime17.JSX.Element;
275
275
  //#endregion
276
276
  //#region src/components/molecules/Marquees/Item/index.d.ts
277
277
  interface ItemProps {
@@ -301,7 +301,7 @@ declare const Marquees: {
301
301
  pauseOnHover,
302
302
  autoFill,
303
303
  ...props
304
- }: Props$7): react_jsx_runtime23.JSX.Element;
304
+ }: Props$7): react_jsx_runtime17.JSX.Element;
305
305
  Item: ({
306
306
  width: _width,
307
307
  speed,
@@ -309,7 +309,7 @@ declare const Marquees: {
309
309
  pause: _pause,
310
310
  pauseOnHover,
311
311
  children
312
- }: Props$8) => react_jsx_runtime23.JSX.Element;
312
+ }: Props$8) => react_jsx_runtime17.JSX.Element;
313
313
  };
314
314
  //#endregion
315
315
  //#region src/components/molecules/Space/index.d.ts
@@ -340,7 +340,7 @@ declare const Space: ({
340
340
  hidden,
341
341
  style,
342
342
  ...props
343
- }: Props$6) => react_jsx_runtime23.JSX.Element;
343
+ }: Props$6) => react_jsx_runtime17.JSX.Element;
344
344
  //#endregion
345
345
  //#region src/components/organisms/Drawer/index.d.ts
346
346
  interface Props$5 {
@@ -390,7 +390,7 @@ declare const Drawer: ({
390
390
  container,
391
391
  onClose,
392
392
  ...props
393
- }: Props$5) => react_jsx_runtime23.JSX.Element | null;
393
+ }: Props$5) => react_jsx_runtime17.JSX.Element | null;
394
394
  //#endregion
395
395
  //#region src/components/organisms/List/index.d.ts
396
396
  interface Props$4<T> extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'title'> {
@@ -429,12 +429,12 @@ declare const List: {
429
429
  classNames,
430
430
  renderItem,
431
431
  ...props
432
- }: 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_runtime23.JSX.Element;
432
+ }: 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_runtime17.JSX.Element;
433
433
  Item: ({
434
434
  children,
435
435
  className,
436
436
  ...props
437
- }: React$1.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime23.JSX.Element;
437
+ }: React$1.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime17.JSX.Element;
438
438
  };
439
439
  //#endregion
440
440
  //#region src/components/organisms/Modal/index.d.ts
@@ -488,7 +488,7 @@ declare const Modal: {
488
488
  onOk,
489
489
  onCancel,
490
490
  ...props
491
- }: Props$3): react_jsx_runtime23.JSX.Element | null;
491
+ }: Props$3): react_jsx_runtime17.JSX.Element | null;
492
492
  destroy(id?: string): void;
493
493
  destroyAll(): void;
494
494
  info(props: StaticProps): string | undefined;
@@ -517,13 +517,13 @@ declare const Swiper: {
517
517
  renderItem,
518
518
  loadingClassName,
519
519
  ...props
520
- }: Props$2<T>): react_jsx_runtime23.JSX.Element;
520
+ }: Props$2<T>): react_jsx_runtime17.JSX.Element;
521
521
  Slide: {
522
522
  ({
523
523
  children,
524
524
  className,
525
525
  ...props
526
- }: swiper_react0.SwiperSlideProps): react_jsx_runtime23.JSX.Element;
526
+ }: swiper_react0.SwiperSlideProps): react_jsx_runtime17.JSX.Element;
527
527
  displayName: string;
528
528
  };
529
529
  };
@@ -538,27 +538,27 @@ declare const Layout: {
538
538
  children,
539
539
  className,
540
540
  ...props
541
- }: Props): react_jsx_runtime23.JSX.Element;
541
+ }: Props): react_jsx_runtime17.JSX.Element;
542
542
  Content: ({
543
543
  children,
544
544
  className,
545
545
  ...props
546
- }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime23.JSX.Element;
546
+ }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime17.JSX.Element;
547
547
  Footer: ({
548
548
  children,
549
549
  className,
550
550
  ...props
551
- }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime23.JSX.Element;
551
+ }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime17.JSX.Element;
552
552
  Header: ({
553
553
  children,
554
554
  className,
555
555
  ...props
556
- }: Props$1) => react_jsx_runtime23.JSX.Element;
556
+ }: Props$1) => react_jsx_runtime17.JSX.Element;
557
557
  Sider: ({
558
558
  children,
559
559
  className,
560
560
  ...props
561
- }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime23.JSX.Element;
561
+ }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime17.JSX.Element;
562
562
  };
563
563
  //#endregion
564
564
  export { Button, Card, Checkbox, Collapse, Drawer, Dropdown, FloatButton, Layout, List, Marquees, Menu, Modal, Progress, Reveals, Skeleton, Space, Spin, Swiper, Switch, Typography };