@deepnoid/ui 0.1.19 → 0.1.20

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 (136) hide show
  1. package/.turbo/turbo-build.log +199 -170
  2. package/dist/assets/images/cogwheel.d.mts +2 -0
  3. package/dist/assets/images/cogwheel.d.ts +2 -0
  4. package/dist/assets/images/cogwheel.js +4 -0
  5. package/dist/assets/images/cogwheel.mjs +8 -0
  6. package/dist/assets/images/folder.d.mts +2 -0
  7. package/dist/assets/images/folder.d.ts +2 -0
  8. package/dist/assets/images/folder.js +4 -0
  9. package/dist/assets/images/folder.mjs +8 -0
  10. package/dist/chunk-3BKCODIL.mjs +49 -0
  11. package/dist/{chunk-A7OXEUCC.mjs → chunk-3IU2RPSM.mjs} +75 -9
  12. package/dist/{chunk-BFM3LPBK.mjs → chunk-6HX3PPL6.mjs} +1 -1
  13. package/dist/{chunk-RPDPB4JP.mjs → chunk-6KXBXGYR.mjs} +3 -3
  14. package/dist/chunk-7USF56CT.mjs +8 -0
  15. package/dist/chunk-BPVRXFIC.mjs +82 -0
  16. package/dist/{chunk-MJT6ZW4C.mjs → chunk-BXXAMH3R.mjs} +4 -4
  17. package/dist/{chunk-UHFJ7ZFM.mjs → chunk-EGHTZLZJ.mjs} +2 -2
  18. package/dist/{chunk-QIDZXCYP.mjs → chunk-EYVRTVRM.mjs} +3 -3
  19. package/dist/{chunk-DADMVOYI.mjs → chunk-HWL7TPUN.mjs} +1 -1
  20. package/dist/chunk-IZM66FHP.mjs +8 -0
  21. package/dist/{chunk-7TXQPX4O.mjs → chunk-JOCMCOEK.mjs} +2 -2
  22. package/dist/{chunk-3TJAGKKY.mjs → chunk-LNYMVBV5.mjs} +1 -1
  23. package/dist/chunk-MBLZYQCN.mjs +1 -0
  24. package/dist/{chunk-P6NVCCBZ.mjs → chunk-OF3X4BXG.mjs} +1 -1
  25. package/dist/chunk-OUAKGMDW.mjs +168 -0
  26. package/dist/{chunk-AG7AWQKH.mjs → chunk-OWG4RL2T.mjs} +3 -3
  27. package/dist/{chunk-7A5M7DRD.mjs → chunk-PNRS23HE.mjs} +4 -4
  28. package/dist/{chunk-FONJYZKH.mjs → chunk-PZIVMTKX.mjs} +4 -4
  29. package/dist/{chunk-5ANQDLRS.mjs → chunk-Q72LZAPG.mjs} +1 -1
  30. package/dist/{chunk-K7Z6PVXE.mjs → chunk-VQROXH43.mjs} +4 -4
  31. package/dist/{chunk-UYPVP36M.mjs → chunk-XQGD4ZIX.mjs} +1 -1
  32. package/dist/chunk-YBDA3WQP.mjs +71 -0
  33. package/dist/chunk-ZUSUVPYV.mjs +135 -0
  34. package/dist/cogwheel-U2B3CWEL.png +0 -0
  35. package/dist/components/avatar/avatar.js +75 -9
  36. package/dist/components/avatar/avatar.mjs +2 -2
  37. package/dist/components/avatar/index.js +75 -9
  38. package/dist/components/avatar/index.mjs +2 -2
  39. package/dist/components/breadcrumb/breadcrumb.js +75 -9
  40. package/dist/components/breadcrumb/breadcrumb.mjs +7 -7
  41. package/dist/components/breadcrumb/index.js +75 -9
  42. package/dist/components/breadcrumb/index.mjs +7 -7
  43. package/dist/components/button/button.js +75 -9
  44. package/dist/components/button/button.mjs +4 -4
  45. package/dist/components/button/icon-button.js +75 -9
  46. package/dist/components/button/icon-button.mjs +4 -4
  47. package/dist/components/button/index.js +75 -9
  48. package/dist/components/button/index.mjs +6 -6
  49. package/dist/components/chip/chip.js +75 -9
  50. package/dist/components/chip/chip.mjs +3 -3
  51. package/dist/components/chip/index.js +75 -9
  52. package/dist/components/chip/index.mjs +3 -3
  53. package/dist/components/dateTimePicker/calendar.js +75 -9
  54. package/dist/components/dateTimePicker/calendar.mjs +3 -3
  55. package/dist/components/dateTimePicker/dateTimePicker.js +75 -9
  56. package/dist/components/dateTimePicker/dateTimePicker.mjs +7 -7
  57. package/dist/components/dateTimePicker/index.js +75 -9
  58. package/dist/components/dateTimePicker/index.mjs +7 -7
  59. package/dist/components/dateTimePicker/timePicker.js +75 -9
  60. package/dist/components/dateTimePicker/timePicker.mjs +5 -5
  61. package/dist/components/icon/Icon.d.mts +6 -2
  62. package/dist/components/icon/Icon.d.ts +6 -2
  63. package/dist/components/icon/Icon.js +75 -9
  64. package/dist/components/icon/Icon.mjs +2 -2
  65. package/dist/components/icon/index.js +75 -9
  66. package/dist/components/icon/index.mjs +2 -2
  67. package/dist/components/icon/template.d.mts +2 -1
  68. package/dist/components/icon/template.d.ts +2 -1
  69. package/dist/components/icon/template.js +75 -9
  70. package/dist/components/icon/template.mjs +1 -1
  71. package/dist/components/input/index.js +76 -10
  72. package/dist/components/input/index.mjs +3 -3
  73. package/dist/components/input/input.js +76 -10
  74. package/dist/components/input/input.mjs +3 -3
  75. package/dist/components/list/index.js +75 -9
  76. package/dist/components/list/index.mjs +6 -6
  77. package/dist/components/list/listItem.js +75 -9
  78. package/dist/components/list/listItem.mjs +4 -4
  79. package/dist/components/modal/index.d.mts +0 -3
  80. package/dist/components/modal/index.d.ts +0 -3
  81. package/dist/components/modal/index.js +205 -158
  82. package/dist/components/modal/index.mjs +9 -7
  83. package/dist/components/modal/modal.d.mts +43 -105
  84. package/dist/components/modal/modal.d.ts +43 -105
  85. package/dist/components/modal/modal.js +206 -164
  86. package/dist/components/modal/modal.mjs +10 -10
  87. package/dist/components/pagination/index.js +76 -10
  88. package/dist/components/pagination/index.mjs +4 -4
  89. package/dist/components/pagination/pagination.js +76 -10
  90. package/dist/components/pagination/pagination.mjs +4 -4
  91. package/dist/components/ripple/index.mjs +3 -3
  92. package/dist/components/select/index.js +75 -9
  93. package/dist/components/select/index.mjs +4 -4
  94. package/dist/components/select/option.js +75 -9
  95. package/dist/components/select/option.mjs +3 -3
  96. package/dist/components/select/select.js +75 -9
  97. package/dist/components/select/select.mjs +4 -4
  98. package/dist/components/table/form-table.d.mts +52 -0
  99. package/dist/components/table/form-table.d.ts +52 -0
  100. package/dist/components/table/form-table.js +365 -0
  101. package/dist/components/table/form-table.mjs +9 -0
  102. package/dist/components/table/index.d.mts +2 -0
  103. package/dist/components/table/index.d.ts +2 -0
  104. package/dist/components/table/index.js +119 -10
  105. package/dist/components/table/index.mjs +11 -7
  106. package/dist/components/table/table.js +76 -10
  107. package/dist/components/table/table.mjs +6 -6
  108. package/dist/components/toast/index.js +239 -97
  109. package/dist/components/toast/index.mjs +5 -4
  110. package/dist/components/toast/toast.d.mts +40 -81
  111. package/dist/components/toast/toast.d.ts +40 -81
  112. package/dist/components/toast/toast.js +210 -56
  113. package/dist/components/toast/toast.mjs +4 -3
  114. package/dist/components/toast/use-toast.d.mts +6 -10
  115. package/dist/components/toast/use-toast.d.ts +6 -10
  116. package/dist/components/toast/use-toast.js +239 -97
  117. package/dist/components/toast/use-toast.mjs +5 -4
  118. package/dist/components/tree/index.d.mts +2 -0
  119. package/dist/components/tree/index.d.ts +2 -0
  120. package/dist/components/tree/index.js +4371 -0
  121. package/dist/components/tree/index.mjs +15 -0
  122. package/dist/components/tree/tree.d.mts +20 -0
  123. package/dist/components/tree/tree.d.ts +20 -0
  124. package/dist/components/tree/tree.js +4365 -0
  125. package/dist/components/tree/tree.mjs +14 -0
  126. package/dist/folder-RO3QTLGS.svg +9 -0
  127. package/dist/index.d.mts +3 -0
  128. package/dist/index.d.ts +3 -0
  129. package/dist/index.js +574 -434
  130. package/dist/index.mjs +63 -52
  131. package/package.json +1 -1
  132. package/types/images.d.ts +14 -0
  133. package/dist/chunk-5OBP42D6.mjs +0 -117
  134. package/dist/chunk-HDNQOLUJ.mjs +0 -83
  135. package/dist/chunk-RXIFDECK.mjs +0 -213
  136. /package/dist/{chunk-2UUH2MBF.mjs → chunk-DX3KXNP6.mjs} +0 -0
@@ -1,141 +1,79 @@
1
1
  import * as tailwind_variants from 'tailwind-variants';
2
2
  import { VariantProps } from 'tailwind-variants';
3
- import react__default, { JSX, ReactNode } from 'react';
3
+ import * as react from 'react';
4
+ import { ReactNode } from 'react';
4
5
  import { SlotsToClasses } from '../../utils/types.mjs';
5
- import { IconName } from '../icon/Icon.mjs';
6
- import 'react/jsx-runtime';
7
- import '../icon/template.mjs';
8
6
 
9
- interface Props {
10
- color?: "primary" | "secondary" | "neutral" | "success" | "info" | "warning" | "danger";
11
- classNames?: SlotsToClasses<ModalSlots>;
7
+ interface ModalProps extends VariantProps<typeof modal> {
12
8
  isOpen?: boolean;
13
- icon?: IconName | JSX.Element;
9
+ color?: "primary" | "secondary" | "neutral" | "success" | "info" | "warning" | "danger";
14
10
  title?: string;
15
- subTitle?: string;
16
11
  content?: ReactNode | string;
17
12
  confirmButtonText?: string;
18
13
  cancelButtonText?: string;
19
14
  showCloseButton?: boolean;
20
- isDismissable?: boolean;
21
15
  isKeyboardDismissDisabled?: boolean;
22
16
  onConfirm?: () => void;
23
17
  onCancel?: () => void;
18
+ classNames?: SlotsToClasses<ModalSlots>;
24
19
  }
25
- type ModalProps = Props & ModalVariantProps;
26
- declare const Modal: react__default.ForwardRefExoticComponent<Props & ModalVariantProps & react__default.RefAttributes<HTMLDivElement>>;
20
+ declare const Modal: react.ForwardRefExoticComponent<ModalProps & react.RefAttributes<HTMLDivElement>>;
27
21
 
28
22
  declare const modal: tailwind_variants.TVReturnType<{
29
23
  color: {
30
- primary: {
31
- icon: string;
32
- };
33
- secondary: {
34
- icon: string;
35
- };
36
- neutral: {
37
- icon: string;
38
- };
39
- success: {
40
- icon: string;
41
- };
42
- info: {
43
- icon: string;
44
- };
45
- warning: {
46
- icon: string;
47
- };
48
- danger: {
49
- icon: string;
50
- };
24
+ primary: {};
25
+ secondary: {};
26
+ neutral: {};
27
+ success: {};
28
+ info: {};
29
+ warning: {};
30
+ danger: {};
51
31
  };
52
32
  }, {
53
- backdrop: string[];
33
+ base: string[];
54
34
  modalWrapper: string[];
55
- icon: string[];
56
- closeIcon: string[];
57
- titleWrapper: string[];
58
- title: string;
59
- subTitle: string;
60
- bodyWrapper: string[];
61
- body: string[];
35
+ wrapper: string[];
36
+ title: string[];
62
37
  content: string[];
63
- footerWrapper: string[];
38
+ footer: string[];
39
+ closeIcon: string[];
64
40
  }, undefined, {
65
41
  color: {
66
- primary: {
67
- icon: string;
68
- };
69
- secondary: {
70
- icon: string;
71
- };
72
- neutral: {
73
- icon: string;
74
- };
75
- success: {
76
- icon: string;
77
- };
78
- info: {
79
- icon: string;
80
- };
81
- warning: {
82
- icon: string;
83
- };
84
- danger: {
85
- icon: string;
86
- };
42
+ primary: {};
43
+ secondary: {};
44
+ neutral: {};
45
+ success: {};
46
+ info: {};
47
+ warning: {};
48
+ danger: {};
87
49
  };
88
50
  }, {
89
- backdrop: string[];
51
+ base: string[];
90
52
  modalWrapper: string[];
91
- icon: string[];
92
- closeIcon: string[];
93
- titleWrapper: string[];
94
- title: string;
95
- subTitle: string;
96
- bodyWrapper: string[];
97
- body: string[];
53
+ wrapper: string[];
54
+ title: string[];
98
55
  content: string[];
99
- footerWrapper: string[];
56
+ footer: string[];
57
+ closeIcon: string[];
100
58
  }, tailwind_variants.TVReturnType<{
101
59
  color: {
102
- primary: {
103
- icon: string;
104
- };
105
- secondary: {
106
- icon: string;
107
- };
108
- neutral: {
109
- icon: string;
110
- };
111
- success: {
112
- icon: string;
113
- };
114
- info: {
115
- icon: string;
116
- };
117
- warning: {
118
- icon: string;
119
- };
120
- danger: {
121
- icon: string;
122
- };
60
+ primary: {};
61
+ secondary: {};
62
+ neutral: {};
63
+ success: {};
64
+ info: {};
65
+ warning: {};
66
+ danger: {};
123
67
  };
124
68
  }, {
125
- backdrop: string[];
69
+ base: string[];
126
70
  modalWrapper: string[];
127
- icon: string[];
128
- closeIcon: string[];
129
- titleWrapper: string[];
130
- title: string;
131
- subTitle: string;
132
- bodyWrapper: string[];
133
- body: string[];
71
+ wrapper: string[];
72
+ title: string[];
134
73
  content: string[];
135
- footerWrapper: string[];
74
+ footer: string[];
75
+ closeIcon: string[];
136
76
  }, undefined, unknown, unknown, undefined>>;
137
- type ModalVariantProps = VariantProps<typeof modal>;
138
77
  type ModalSlots = keyof ReturnType<typeof modal>;
139
- type ModalReturnType = ReturnType<typeof modal>;
140
78
 
141
- export { type ModalProps, type ModalReturnType, type ModalSlots, type ModalVariantProps, type Props, Modal as default, modal };
79
+ export { type ModalProps, Modal as default };
@@ -1,141 +1,79 @@
1
1
  import * as tailwind_variants from 'tailwind-variants';
2
2
  import { VariantProps } from 'tailwind-variants';
3
- import react__default, { JSX, ReactNode } from 'react';
3
+ import * as react from 'react';
4
+ import { ReactNode } from 'react';
4
5
  import { SlotsToClasses } from '../../utils/types.js';
5
- import { IconName } from '../icon/Icon.js';
6
- import 'react/jsx-runtime';
7
- import '../icon/template.js';
8
6
 
9
- interface Props {
10
- color?: "primary" | "secondary" | "neutral" | "success" | "info" | "warning" | "danger";
11
- classNames?: SlotsToClasses<ModalSlots>;
7
+ interface ModalProps extends VariantProps<typeof modal> {
12
8
  isOpen?: boolean;
13
- icon?: IconName | JSX.Element;
9
+ color?: "primary" | "secondary" | "neutral" | "success" | "info" | "warning" | "danger";
14
10
  title?: string;
15
- subTitle?: string;
16
11
  content?: ReactNode | string;
17
12
  confirmButtonText?: string;
18
13
  cancelButtonText?: string;
19
14
  showCloseButton?: boolean;
20
- isDismissable?: boolean;
21
15
  isKeyboardDismissDisabled?: boolean;
22
16
  onConfirm?: () => void;
23
17
  onCancel?: () => void;
18
+ classNames?: SlotsToClasses<ModalSlots>;
24
19
  }
25
- type ModalProps = Props & ModalVariantProps;
26
- declare const Modal: react__default.ForwardRefExoticComponent<Props & ModalVariantProps & react__default.RefAttributes<HTMLDivElement>>;
20
+ declare const Modal: react.ForwardRefExoticComponent<ModalProps & react.RefAttributes<HTMLDivElement>>;
27
21
 
28
22
  declare const modal: tailwind_variants.TVReturnType<{
29
23
  color: {
30
- primary: {
31
- icon: string;
32
- };
33
- secondary: {
34
- icon: string;
35
- };
36
- neutral: {
37
- icon: string;
38
- };
39
- success: {
40
- icon: string;
41
- };
42
- info: {
43
- icon: string;
44
- };
45
- warning: {
46
- icon: string;
47
- };
48
- danger: {
49
- icon: string;
50
- };
24
+ primary: {};
25
+ secondary: {};
26
+ neutral: {};
27
+ success: {};
28
+ info: {};
29
+ warning: {};
30
+ danger: {};
51
31
  };
52
32
  }, {
53
- backdrop: string[];
33
+ base: string[];
54
34
  modalWrapper: string[];
55
- icon: string[];
56
- closeIcon: string[];
57
- titleWrapper: string[];
58
- title: string;
59
- subTitle: string;
60
- bodyWrapper: string[];
61
- body: string[];
35
+ wrapper: string[];
36
+ title: string[];
62
37
  content: string[];
63
- footerWrapper: string[];
38
+ footer: string[];
39
+ closeIcon: string[];
64
40
  }, undefined, {
65
41
  color: {
66
- primary: {
67
- icon: string;
68
- };
69
- secondary: {
70
- icon: string;
71
- };
72
- neutral: {
73
- icon: string;
74
- };
75
- success: {
76
- icon: string;
77
- };
78
- info: {
79
- icon: string;
80
- };
81
- warning: {
82
- icon: string;
83
- };
84
- danger: {
85
- icon: string;
86
- };
42
+ primary: {};
43
+ secondary: {};
44
+ neutral: {};
45
+ success: {};
46
+ info: {};
47
+ warning: {};
48
+ danger: {};
87
49
  };
88
50
  }, {
89
- backdrop: string[];
51
+ base: string[];
90
52
  modalWrapper: string[];
91
- icon: string[];
92
- closeIcon: string[];
93
- titleWrapper: string[];
94
- title: string;
95
- subTitle: string;
96
- bodyWrapper: string[];
97
- body: string[];
53
+ wrapper: string[];
54
+ title: string[];
98
55
  content: string[];
99
- footerWrapper: string[];
56
+ footer: string[];
57
+ closeIcon: string[];
100
58
  }, tailwind_variants.TVReturnType<{
101
59
  color: {
102
- primary: {
103
- icon: string;
104
- };
105
- secondary: {
106
- icon: string;
107
- };
108
- neutral: {
109
- icon: string;
110
- };
111
- success: {
112
- icon: string;
113
- };
114
- info: {
115
- icon: string;
116
- };
117
- warning: {
118
- icon: string;
119
- };
120
- danger: {
121
- icon: string;
122
- };
60
+ primary: {};
61
+ secondary: {};
62
+ neutral: {};
63
+ success: {};
64
+ info: {};
65
+ warning: {};
66
+ danger: {};
123
67
  };
124
68
  }, {
125
- backdrop: string[];
69
+ base: string[];
126
70
  modalWrapper: string[];
127
- icon: string[];
128
- closeIcon: string[];
129
- titleWrapper: string[];
130
- title: string;
131
- subTitle: string;
132
- bodyWrapper: string[];
133
- body: string[];
71
+ wrapper: string[];
72
+ title: string[];
134
73
  content: string[];
135
- footerWrapper: string[];
74
+ footer: string[];
75
+ closeIcon: string[];
136
76
  }, undefined, unknown, unknown, undefined>>;
137
- type ModalVariantProps = VariantProps<typeof modal>;
138
77
  type ModalSlots = keyof ReturnType<typeof modal>;
139
- type ModalReturnType = ReturnType<typeof modal>;
140
78
 
141
- export { type ModalProps, type ModalReturnType, type ModalSlots, type ModalVariantProps, type Props, Modal as default, modal };
79
+ export { type ModalProps, Modal as default };