@deepnoid/ui 0.1.12 → 0.1.14

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 (112) hide show
  1. package/.turbo/turbo-build.log +166 -156
  2. package/dist/{chunk-LHDOM76J.mjs → chunk-2KAR2PTQ.mjs} +1 -1
  3. package/dist/{chunk-QYJORE4E.mjs → chunk-4GLKWK3Z.mjs} +1 -1
  4. package/dist/{chunk-H5DOTBKA.mjs → chunk-56RN6YOP.mjs} +1 -1
  5. package/dist/{chunk-RMTHVIPI.mjs → chunk-57WBWSSL.mjs} +2 -2
  6. package/dist/{chunk-ILFY6MZ6.mjs → chunk-6G7GOPSB.mjs} +5 -5
  7. package/dist/{chunk-G3LQ3ZX6.mjs → chunk-72JRFZCH.mjs} +4 -4
  8. package/dist/{chunk-PI6Q5JDU.mjs → chunk-7R4NOC2G.mjs} +11 -11
  9. package/dist/{chunk-6BBDU4HW.mjs → chunk-7R4QY3TA.mjs} +1 -1
  10. package/dist/{chunk-M5KV3WZ2.mjs → chunk-A7OXEUCC.mjs} +29 -37
  11. package/dist/{chunk-W55GVLPJ.mjs → chunk-AHTNXGAY.mjs} +1 -1
  12. package/dist/{chunk-M2IRRTFM.mjs → chunk-D7WPZ5C6.mjs} +17 -14
  13. package/dist/{chunk-RRI3I435.mjs → chunk-DADMVOYI.mjs} +1 -1
  14. package/dist/{chunk-ASQAVFM5.mjs → chunk-GQS6V47G.mjs} +1 -1
  15. package/dist/{chunk-C62UPLCC.mjs → chunk-GXWSYM7Z.mjs} +2 -2
  16. package/dist/{chunk-OHDRKCOC.mjs → chunk-KFBG45BI.mjs} +43 -26
  17. package/dist/chunk-KSZEUKBY.mjs +143 -0
  18. package/dist/{chunk-KHI2DZTG.mjs → chunk-LP724WOP.mjs} +4 -4
  19. package/dist/{chunk-BWURZ3WF.mjs → chunk-NEUCUEIG.mjs} +2 -2
  20. package/dist/{chunk-DPCE4DLW.mjs → chunk-NJ4PBW65.mjs} +1 -1
  21. package/dist/chunk-QRAHATAM.mjs +380 -0
  22. package/dist/{chunk-N4F3R6HG.mjs → chunk-WB24YDE2.mjs} +1 -1
  23. package/dist/{chunk-N4UFXIUC.mjs → chunk-YQGZRSUQ.mjs} +1 -1
  24. package/dist/components/avatar/avatar.js +29 -37
  25. package/dist/components/avatar/avatar.mjs +2 -2
  26. package/dist/components/avatar/index.js +29 -37
  27. package/dist/components/avatar/index.mjs +2 -2
  28. package/dist/components/breadcrumb/breadcrumb.d.mts +0 -3
  29. package/dist/components/breadcrumb/breadcrumb.d.ts +0 -3
  30. package/dist/components/breadcrumb/breadcrumb.js +257 -66
  31. package/dist/components/breadcrumb/breadcrumb.mjs +13 -3
  32. package/dist/components/breadcrumb/index.js +257 -66
  33. package/dist/components/breadcrumb/index.mjs +13 -3
  34. package/dist/components/button/button-group.js +1 -1
  35. package/dist/components/button/button-group.mjs +1 -1
  36. package/dist/components/button/button.js +29 -37
  37. package/dist/components/button/button.mjs +4 -4
  38. package/dist/components/button/icon-button.d.mts +157 -0
  39. package/dist/components/button/icon-button.d.ts +157 -0
  40. package/dist/components/button/icon-button.js +4674 -0
  41. package/dist/components/button/icon-button.mjs +16 -0
  42. package/dist/components/button/index.d.mts +5 -0
  43. package/dist/components/button/index.d.ts +5 -0
  44. package/dist/components/button/index.js +566 -45
  45. package/dist/components/button/index.mjs +16 -7
  46. package/dist/components/button/text-button.d.mts +146 -0
  47. package/dist/components/button/text-button.d.ts +146 -0
  48. package/dist/components/button/text-button.js +507 -0
  49. package/dist/components/button/text-button.mjs +11 -0
  50. package/dist/components/chip/chip.js +29 -37
  51. package/dist/components/chip/chip.mjs +3 -3
  52. package/dist/components/chip/index.js +29 -37
  53. package/dist/components/chip/index.mjs +3 -3
  54. package/dist/components/dateTimePicker/calendar.js +29 -37
  55. package/dist/components/dateTimePicker/calendar.mjs +3 -3
  56. package/dist/components/dateTimePicker/dateTimePicker.js +29 -37
  57. package/dist/components/dateTimePicker/dateTimePicker.mjs +7 -7
  58. package/dist/components/dateTimePicker/index.js +29 -37
  59. package/dist/components/dateTimePicker/index.mjs +7 -7
  60. package/dist/components/dateTimePicker/timePicker.js +29 -37
  61. package/dist/components/dateTimePicker/timePicker.mjs +5 -5
  62. package/dist/components/icon/Icon.d.mts +4 -4
  63. package/dist/components/icon/Icon.d.ts +4 -4
  64. package/dist/components/icon/Icon.js +29 -37
  65. package/dist/components/icon/Icon.mjs +2 -2
  66. package/dist/components/icon/index.js +29 -37
  67. package/dist/components/icon/index.mjs +2 -2
  68. package/dist/components/icon/template.d.mts +1 -1
  69. package/dist/components/icon/template.d.ts +1 -1
  70. package/dist/components/icon/template.js +29 -37
  71. package/dist/components/icon/template.mjs +1 -1
  72. package/dist/components/input/index.js +29 -37
  73. package/dist/components/input/index.mjs +3 -3
  74. package/dist/components/input/input.js +29 -37
  75. package/dist/components/input/input.mjs +3 -3
  76. package/dist/components/list/index.js +29 -37
  77. package/dist/components/list/index.mjs +4 -4
  78. package/dist/components/list/listItem.js +29 -37
  79. package/dist/components/list/listItem.mjs +4 -4
  80. package/dist/components/modal/index.js +29 -37
  81. package/dist/components/modal/index.mjs +10 -7
  82. package/dist/components/modal/modal.js +29 -37
  83. package/dist/components/modal/modal.mjs +10 -7
  84. package/dist/components/pagination/index.js +36 -44
  85. package/dist/components/pagination/index.mjs +5 -5
  86. package/dist/components/pagination/pagination.js +36 -44
  87. package/dist/components/pagination/pagination.mjs +5 -5
  88. package/dist/components/ripple/index.mjs +3 -3
  89. package/dist/components/select/index.js +29 -37
  90. package/dist/components/select/index.mjs +4 -4
  91. package/dist/components/select/option.js +29 -37
  92. package/dist/components/select/option.mjs +3 -3
  93. package/dist/components/select/select.js +29 -37
  94. package/dist/components/select/select.mjs +4 -4
  95. package/dist/components/table/index.js +55 -60
  96. package/dist/components/table/index.mjs +7 -7
  97. package/dist/components/table/table-body.js +17 -14
  98. package/dist/components/table/table-body.mjs +1 -1
  99. package/dist/components/table/table.js +55 -60
  100. package/dist/components/table/table.mjs +7 -7
  101. package/dist/components/toast/index.js +29 -37
  102. package/dist/components/toast/index.mjs +4 -4
  103. package/dist/components/toast/toast.js +29 -37
  104. package/dist/components/toast/toast.mjs +3 -3
  105. package/dist/components/toast/use-toast.js +29 -37
  106. package/dist/components/toast/use-toast.mjs +4 -4
  107. package/dist/index.d.mts +2 -0
  108. package/dist/index.d.ts +2 -0
  109. package/dist/index.js +1115 -619
  110. package/dist/index.mjs +48 -40
  111. package/package.json +1 -1
  112. /package/dist/{chunk-VUYUQGLF.mjs → chunk-MY5U63QO.mjs} +0 -0
@@ -1,21 +1,30 @@
1
1
  "use client";
2
- import "../../chunk-VUYUQGLF.mjs";
2
+ import "../../chunk-MY5U63QO.mjs";
3
3
  import {
4
4
  button_group_default
5
- } from "../../chunk-N4F3R6HG.mjs";
5
+ } from "../../chunk-WB24YDE2.mjs";
6
6
  import {
7
7
  button_default
8
- } from "../../chunk-KHI2DZTG.mjs";
8
+ } from "../../chunk-LP724WOP.mjs";
9
+ import {
10
+ icon_button_default
11
+ } from "../../chunk-QRAHATAM.mjs";
9
12
  import "../../chunk-6WSACUIB.mjs";
10
- import "../../chunk-LXHUO6VM.mjs";
11
13
  import "../../chunk-6PNKRBUT.mjs";
14
+ import "../../chunk-LXHUO6VM.mjs";
15
+ import {
16
+ text_button_default
17
+ } from "../../chunk-KSZEUKBY.mjs";
12
18
  import "../../chunk-ZYIIXWVY.mjs";
13
- import "../../chunk-RRI3I435.mjs";
14
- import "../../chunk-M5KV3WZ2.mjs";
19
+ import "../../chunk-DADMVOYI.mjs";
20
+ import "../../chunk-A7OXEUCC.mjs";
15
21
  import "../../chunk-2ZT6V4QR.mjs";
22
+ import "../../chunk-27Y6K5NK.mjs";
16
23
  import "../../chunk-E3G5QXSH.mjs";
17
24
  import "../../chunk-AC6TWLRT.mjs";
18
25
  export {
19
26
  button_default as Button,
20
- button_group_default as ButtonGroup
27
+ button_group_default as ButtonGroup,
28
+ icon_button_default as IconButton,
29
+ text_button_default as TextButton
21
30
  };
@@ -0,0 +1,146 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+ import * as react from 'react';
4
+ import { ButtonHTMLAttributes, ReactNode } from 'react';
5
+ import { SlotsToClasses } from '../../utils/types.mjs';
6
+
7
+ interface Props extends ButtonHTMLAttributes<HTMLButtonElement> {
8
+ children: ReactNode;
9
+ startContent?: ReactNode;
10
+ endContent?: ReactNode;
11
+ classNames?: SlotsToClasses<TextButtonSlots>;
12
+ }
13
+ type TextButtonProps = Props & TextButtonVariantProps;
14
+ declare const TextButton: react.ForwardRefExoticComponent<Props & TextButtonVariantProps & react.RefAttributes<HTMLButtonElement>>;
15
+
16
+ declare const textButtonStyle: tailwind_variants.TVReturnType<{
17
+ variant: {
18
+ "non-under": never[];
19
+ underline: never[];
20
+ };
21
+ color: {
22
+ primary: never[];
23
+ secondary: never[];
24
+ neutral: never[];
25
+ };
26
+ size: {
27
+ sm: {
28
+ base: string[];
29
+ underline: string[];
30
+ };
31
+ md: {
32
+ base: string[];
33
+ underline: string[];
34
+ };
35
+ lg: {
36
+ base: string[];
37
+ underline: string[];
38
+ };
39
+ xl: {
40
+ base: string[];
41
+ underline: string[];
42
+ };
43
+ };
44
+ isDisabled: {
45
+ true: {
46
+ base: string[];
47
+ };
48
+ };
49
+ isInGroup: {
50
+ true: {
51
+ base: string[];
52
+ };
53
+ };
54
+ }, {
55
+ base: string[];
56
+ content: never[];
57
+ underline: string[];
58
+ }, undefined, {
59
+ variant: {
60
+ "non-under": never[];
61
+ underline: never[];
62
+ };
63
+ color: {
64
+ primary: never[];
65
+ secondary: never[];
66
+ neutral: never[];
67
+ };
68
+ size: {
69
+ sm: {
70
+ base: string[];
71
+ underline: string[];
72
+ };
73
+ md: {
74
+ base: string[];
75
+ underline: string[];
76
+ };
77
+ lg: {
78
+ base: string[];
79
+ underline: string[];
80
+ };
81
+ xl: {
82
+ base: string[];
83
+ underline: string[];
84
+ };
85
+ };
86
+ isDisabled: {
87
+ true: {
88
+ base: string[];
89
+ };
90
+ };
91
+ isInGroup: {
92
+ true: {
93
+ base: string[];
94
+ };
95
+ };
96
+ }, {
97
+ base: string[];
98
+ content: never[];
99
+ underline: string[];
100
+ }, tailwind_variants.TVReturnType<{
101
+ variant: {
102
+ "non-under": never[];
103
+ underline: never[];
104
+ };
105
+ color: {
106
+ primary: never[];
107
+ secondary: never[];
108
+ neutral: never[];
109
+ };
110
+ size: {
111
+ sm: {
112
+ base: string[];
113
+ underline: string[];
114
+ };
115
+ md: {
116
+ base: string[];
117
+ underline: string[];
118
+ };
119
+ lg: {
120
+ base: string[];
121
+ underline: string[];
122
+ };
123
+ xl: {
124
+ base: string[];
125
+ underline: string[];
126
+ };
127
+ };
128
+ isDisabled: {
129
+ true: {
130
+ base: string[];
131
+ };
132
+ };
133
+ isInGroup: {
134
+ true: {
135
+ base: string[];
136
+ };
137
+ };
138
+ }, {
139
+ base: string[];
140
+ content: never[];
141
+ underline: string[];
142
+ }, undefined, unknown, unknown, undefined>>;
143
+ type TextButtonVariantProps = VariantProps<typeof textButtonStyle>;
144
+ type TextButtonSlots = keyof ReturnType<typeof textButtonStyle>;
145
+
146
+ export { type Props, type TextButtonProps, TextButton as default };
@@ -0,0 +1,146 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+ import * as react from 'react';
4
+ import { ButtonHTMLAttributes, ReactNode } from 'react';
5
+ import { SlotsToClasses } from '../../utils/types.js';
6
+
7
+ interface Props extends ButtonHTMLAttributes<HTMLButtonElement> {
8
+ children: ReactNode;
9
+ startContent?: ReactNode;
10
+ endContent?: ReactNode;
11
+ classNames?: SlotsToClasses<TextButtonSlots>;
12
+ }
13
+ type TextButtonProps = Props & TextButtonVariantProps;
14
+ declare const TextButton: react.ForwardRefExoticComponent<Props & TextButtonVariantProps & react.RefAttributes<HTMLButtonElement>>;
15
+
16
+ declare const textButtonStyle: tailwind_variants.TVReturnType<{
17
+ variant: {
18
+ "non-under": never[];
19
+ underline: never[];
20
+ };
21
+ color: {
22
+ primary: never[];
23
+ secondary: never[];
24
+ neutral: never[];
25
+ };
26
+ size: {
27
+ sm: {
28
+ base: string[];
29
+ underline: string[];
30
+ };
31
+ md: {
32
+ base: string[];
33
+ underline: string[];
34
+ };
35
+ lg: {
36
+ base: string[];
37
+ underline: string[];
38
+ };
39
+ xl: {
40
+ base: string[];
41
+ underline: string[];
42
+ };
43
+ };
44
+ isDisabled: {
45
+ true: {
46
+ base: string[];
47
+ };
48
+ };
49
+ isInGroup: {
50
+ true: {
51
+ base: string[];
52
+ };
53
+ };
54
+ }, {
55
+ base: string[];
56
+ content: never[];
57
+ underline: string[];
58
+ }, undefined, {
59
+ variant: {
60
+ "non-under": never[];
61
+ underline: never[];
62
+ };
63
+ color: {
64
+ primary: never[];
65
+ secondary: never[];
66
+ neutral: never[];
67
+ };
68
+ size: {
69
+ sm: {
70
+ base: string[];
71
+ underline: string[];
72
+ };
73
+ md: {
74
+ base: string[];
75
+ underline: string[];
76
+ };
77
+ lg: {
78
+ base: string[];
79
+ underline: string[];
80
+ };
81
+ xl: {
82
+ base: string[];
83
+ underline: string[];
84
+ };
85
+ };
86
+ isDisabled: {
87
+ true: {
88
+ base: string[];
89
+ };
90
+ };
91
+ isInGroup: {
92
+ true: {
93
+ base: string[];
94
+ };
95
+ };
96
+ }, {
97
+ base: string[];
98
+ content: never[];
99
+ underline: string[];
100
+ }, tailwind_variants.TVReturnType<{
101
+ variant: {
102
+ "non-under": never[];
103
+ underline: never[];
104
+ };
105
+ color: {
106
+ primary: never[];
107
+ secondary: never[];
108
+ neutral: never[];
109
+ };
110
+ size: {
111
+ sm: {
112
+ base: string[];
113
+ underline: string[];
114
+ };
115
+ md: {
116
+ base: string[];
117
+ underline: string[];
118
+ };
119
+ lg: {
120
+ base: string[];
121
+ underline: string[];
122
+ };
123
+ xl: {
124
+ base: string[];
125
+ underline: string[];
126
+ };
127
+ };
128
+ isDisabled: {
129
+ true: {
130
+ base: string[];
131
+ };
132
+ };
133
+ isInGroup: {
134
+ true: {
135
+ base: string[];
136
+ };
137
+ };
138
+ }, {
139
+ base: string[];
140
+ content: never[];
141
+ underline: string[];
142
+ }, undefined, unknown, unknown, undefined>>;
143
+ type TextButtonVariantProps = VariantProps<typeof textButtonStyle>;
144
+ type TextButtonSlots = keyof ReturnType<typeof textButtonStyle>;
145
+
146
+ export { type Props, type TextButtonProps, TextButton as default };