@edu-tosel/design 1.0.59 → 1.0.61

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 (50) hide show
  1. package/README.md +42 -42
  2. package/asset/SVG.tsx +27 -27
  3. package/asset/svg/Close.tsx +32 -32
  4. package/asset/svg/Direction.tsx +36 -36
  5. package/asset/svg/Email.tsx +20 -20
  6. package/asset/svg/Icon.tsx +186 -186
  7. package/asset/svg/Image.tsx +24 -24
  8. package/asset/svg/Notification.tsx +34 -34
  9. package/asset/svg/Operation.tsx +130 -130
  10. package/asset/svg/Phone.tsx +20 -20
  11. package/asset/svg/Profile.tsx +27 -27
  12. package/asset/svg/Symbol.tsx +60 -60
  13. package/asset/svg/TOSEL.tsx +63 -63
  14. package/card/design/NavCard.design.js +5 -6
  15. package/globals.css +226 -226
  16. package/interface/Action.d.ts +4 -3
  17. package/interface/Board.d.ts +4 -4
  18. package/interface/Card.d.ts +7 -5
  19. package/interface/Color.d.ts +3 -0
  20. package/interface/Color.js +7 -0
  21. package/interface/Layout.d.ts +4 -3
  22. package/interface/Modal.d.ts +2 -1
  23. package/interface/Overlay.d.ts +3 -3
  24. package/interface/Property.d.ts +2 -2
  25. package/interface/index.d.ts +2 -2
  26. package/interface/index.js +2 -2
  27. package/interface/widget/index.d.ts +55 -0
  28. package/interface/widget/index.js +7 -0
  29. package/layout/design/Row.design.d.ts +1 -1
  30. package/layout/design/Row.design.js +6 -5
  31. package/layout/template/Row.d.ts +3 -3
  32. package/layout/template/Row.js +6 -6
  33. package/layout/widget/sign/WithTitle.d.ts +2 -2
  34. package/modal/template/Confirm/Input.d.ts +2 -2
  35. package/package.json +1 -1
  36. package/tailwind.config.ts +619 -619
  37. package/version.txt +1 -1
  38. package/widget/CheckBox.d.ts +2 -2
  39. package/widget/DatePicker.d.ts +2 -2
  40. package/widget/EmailInput.d.ts +2 -2
  41. package/widget/EmailInput.js +1 -1
  42. package/widget/Toggle.d.ts +2 -2
  43. package/widget/design/Label.design.d.ts +2 -2
  44. package/widget/template/Input.d.ts +3 -3
  45. package/widget/template/Label.d.ts +3 -3
  46. package/widget/template/Select/Select.LG.d.ts +2 -2
  47. package/widget/template/Select/Select.d.ts +2 -2
  48. package/widget/template/Switch/Switch.d.ts +1 -1
  49. package/interface/HTMLElement.d.ts +0 -56
  50. package/interface/HTMLElement.js +0 -7
package/globals.css CHANGED
@@ -1,226 +1,226 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
4
-
5
- @font-face {
6
- font-family: "Pretendard-Medium";
7
- src: url("./asset/fonts/Pretendard-Medium.otf") format("opentype");
8
- }
9
-
10
- @font-face {
11
- font-family: "Pretendard-Bold";
12
- src: url("./asset/fonts/Pretendard-Bold.otf") format("opentype");
13
- }
14
-
15
- @font-face {
16
- font-family: "Pretendard-Light";
17
- src: url("./asset/fonts/Pretendard-Light.otf") format("opentype");
18
- }
19
-
20
- @font-face {
21
- font-family: "Kostar";
22
- src: url("./asset/fonts/Kostar.ttf") format("truetype");
23
- }
24
-
25
- @font-face {
26
- font-family: "NicoMoji";
27
- src: url("./asset/fonts/NicoMoji.ttf") format("truetype");
28
- }
29
-
30
- @font-face {
31
- font-family: "Megrim";
32
- src: url("./asset/fonts/Megrim.ttf") format("truetype");
33
- }
34
-
35
- @font-face {
36
- font-family: "Times-Newer-Roman-Bold";
37
- src: url("./asset/fonts/TimesNewerRoman-Bold.otf") format("opentype");
38
- }
39
-
40
- @font-face {
41
- font-family: "Times-Newer-Roman-BoldItalic";
42
- src: url("./asset/fonts/TimesNewerRoman-BoldItalic.otf") format("opentype");
43
- }
44
-
45
- input[type="date"]::-webkit-inner-spin-button,
46
- input[type="date"]::-webkit-calendar-picker-indicator {
47
- display: none;
48
- -webkit-appearance: none;
49
- }
50
-
51
- ::-webkit-scrollbar {
52
- width: 3px;
53
- padding-right: 10px;
54
- }
55
-
56
- ::-webkit-scrollbar-track {
57
- background-color: transparent;
58
- }
59
- ::-webkit-scrollbar-thumb {
60
- background-color: #808080;
61
- opacity: 0.5;
62
- border-radius: 10px;
63
- }
64
-
65
- .box-shadow {
66
- box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
67
- }
68
-
69
- .box-shadow-sm {
70
- box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
71
- }
72
-
73
- .border-gradient-green-to-red {
74
- }
75
-
76
- .x-shape {
77
- position: relative;
78
- width: 0.83625rem;
79
- height: 0.83625rem;
80
- }
81
-
82
- .x-shape::before,
83
- .x-shape::after {
84
- content: "";
85
- position: absolute;
86
- top: 50%;
87
- left: 50%;
88
- width: 2.5px;
89
- border-radius: 2px;
90
- height: 100%;
91
- background-color: white;
92
- transform-origin: center;
93
- }
94
-
95
- .x-shape::before {
96
- transform: translate(-50%, -50%) rotate(45deg);
97
- }
98
-
99
- .x-shape::after {
100
- transform: translate(-50%, -50%) rotate(-45deg);
101
- }
102
-
103
- .border-inner {
104
- box-shadow: 0 0 0 1px #e5e7eb inset, 0 4px 6px -1px rgba(0, 0, 0, 0.1),
105
- 0 2px 4px -1px rgba(0, 0, 0, 0.06);
106
- }
107
- .box-shadow-focus:focus {
108
- box-shadow: 0 0 0 1px #e5e7eb inset, 0 4px 6px -1px rgba(0, 0, 0, 0.1),
109
- 0 2px 4px -1px rgba(0, 0, 0, 0.06);
110
- }
111
- .box-shadow-focus-red:focus {
112
- box-shadow: 0px 0px 10px 0px #ff8383;
113
- }
114
- .box-green {
115
- background: rgba(16, 86, 82, 0.1);
116
- color: #105652;
117
- }
118
- .box-green-focus:focus {
119
- background: white;
120
- color: black;
121
- box-shadow: 0px 0px 10px 0px rgba(16, 86, 82, 0.38);
122
- }
123
- /* box-shadow: 0px 0px 10px 0px rgba(16, 86, 82, 0.38); */
124
- .box-inner-shadow:hover {
125
- box-shadow: 0 0 0 1px #e5e7eb inset, 0 4px 6px -1px rgba(0, 0, 0, 0.1),
126
- 0 2px 4px -1px rgba(0, 0, 0, 0.06);
127
- }
128
- /* Date Picker Css */
129
- .react-datepicker__day--selected {
130
- background-color: #105652 !important;
131
- }
132
- .react-datepicker__header {
133
- background: white !important;
134
- border: none !important;
135
- }
136
- .react-datepicker {
137
- box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15) !important;
138
- border-radius: 0.375rem !important;
139
- border: none !important;
140
- }
141
- .react-datepicker__day--keyboard-selected {
142
- background-color: white !important;
143
- color: black !important;
144
- }
145
- .react-datepicker__day--outside-month {
146
- color: rgb(161 161 170) !important;
147
- }
148
- .react-datepicker__month-container {
149
- padding-top: 1rem;
150
- padding-left: 1rem;
151
- padding-right: 1rem;
152
- padding-bottom: 0.5rem;
153
- }
154
- .react-datepicker-popper {
155
- transform: translate(0px 295px) !important;
156
- }
157
- .react-datepicker__input-container {
158
- text-align: center !important;
159
- border-radius: 0.375rem !important;
160
- transition: all 0.3s;
161
- }
162
- .react-datepicker__input-container > input {
163
- cursor: pointer !important;
164
- }
165
- .react-datepicker__input-container:hover {
166
- box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15) !important;
167
- }
168
- .react-datepicker__navigation {
169
- top: 18px !important;
170
- }
171
- .react-datepicker__navigation--next {
172
- right: 20px !important;
173
- }
174
- .react-datepicker__navigation--previous {
175
- left: 182px !important;
176
- }
177
- .react-datepicker__current-month {
178
- text-align: left !important;
179
- margin-left: 16px !important;
180
- }
181
- .react-datepicker__triangle {
182
- display: none !important;
183
- }
184
- .react-datepicker__children-container {
185
- width: 16rem !important;
186
- }
187
- /* toggle button */
188
- .toggle[type="checkbox"]::before {
189
- content: "";
190
- position: absolute;
191
- left: 1px;
192
- top: 1px;
193
- width: 1.1rem;
194
- height: 1.1rem;
195
- border-radius: 50%;
196
- transform: scale(0.9);
197
- background-color: white;
198
- transition: left 100ms linear;
199
- }
200
- .toggle[type="checkbox"]:checked::before {
201
- background-color: white;
202
- left: 1.32rem;
203
- }
204
- .toggle[type="checkbox"]:checked {
205
- background-color: #105652;
206
- }
207
- .toggle[type="checkbox"]:disabled {
208
- opacity: 0.3;
209
- cursor: not-allowed;
210
- }
211
- .toggle[type="checkbox"]:disabled + span {
212
- opacity: 0.3;
213
- cursor: not-allowed;
214
- }
215
-
216
- /* checkbox */
217
- .check-box[type="checkbox"]:checked {
218
- border-color: transparent;
219
- background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3e%3c/svg%3e");
220
- background-size: 150%;
221
- background-position: 50%;
222
- background-repeat: no-repeat;
223
- }
224
- .check-box[type="checkbox"]:disabled {
225
- background-color: #7f7f7f;
226
- }
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ @font-face {
6
+ font-family: "Pretendard-Medium";
7
+ src: url("./asset/fonts/Pretendard-Medium.otf") format("opentype");
8
+ }
9
+
10
+ @font-face {
11
+ font-family: "Pretendard-Bold";
12
+ src: url("./asset/fonts/Pretendard-Bold.otf") format("opentype");
13
+ }
14
+
15
+ @font-face {
16
+ font-family: "Pretendard-Light";
17
+ src: url("./asset/fonts/Pretendard-Light.otf") format("opentype");
18
+ }
19
+
20
+ @font-face {
21
+ font-family: "Kostar";
22
+ src: url("./asset/fonts/Kostar.ttf") format("truetype");
23
+ }
24
+
25
+ @font-face {
26
+ font-family: "NicoMoji";
27
+ src: url("./asset/fonts/NicoMoji.ttf") format("truetype");
28
+ }
29
+
30
+ @font-face {
31
+ font-family: "Megrim";
32
+ src: url("./asset/fonts/Megrim.ttf") format("truetype");
33
+ }
34
+
35
+ @font-face {
36
+ font-family: "Times-Newer-Roman-Bold";
37
+ src: url("./asset/fonts/TimesNewerRoman-Bold.otf") format("opentype");
38
+ }
39
+
40
+ @font-face {
41
+ font-family: "Times-Newer-Roman-BoldItalic";
42
+ src: url("./asset/fonts/TimesNewerRoman-BoldItalic.otf") format("opentype");
43
+ }
44
+
45
+ input[type="date"]::-webkit-inner-spin-button,
46
+ input[type="date"]::-webkit-calendar-picker-indicator {
47
+ display: none;
48
+ -webkit-appearance: none;
49
+ }
50
+
51
+ ::-webkit-scrollbar {
52
+ width: 3px;
53
+ padding-right: 10px;
54
+ }
55
+
56
+ ::-webkit-scrollbar-track {
57
+ background-color: transparent;
58
+ }
59
+ ::-webkit-scrollbar-thumb {
60
+ background-color: #808080;
61
+ opacity: 0.5;
62
+ border-radius: 10px;
63
+ }
64
+
65
+ .box-shadow {
66
+ box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15);
67
+ }
68
+
69
+ .box-shadow-sm {
70
+ box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
71
+ }
72
+
73
+ .border-gradient-green-to-red {
74
+ }
75
+
76
+ .x-shape {
77
+ position: relative;
78
+ width: 0.83625rem;
79
+ height: 0.83625rem;
80
+ }
81
+
82
+ .x-shape::before,
83
+ .x-shape::after {
84
+ content: "";
85
+ position: absolute;
86
+ top: 50%;
87
+ left: 50%;
88
+ width: 2.5px;
89
+ border-radius: 2px;
90
+ height: 100%;
91
+ background-color: white;
92
+ transform-origin: center;
93
+ }
94
+
95
+ .x-shape::before {
96
+ transform: translate(-50%, -50%) rotate(45deg);
97
+ }
98
+
99
+ .x-shape::after {
100
+ transform: translate(-50%, -50%) rotate(-45deg);
101
+ }
102
+
103
+ .border-inner {
104
+ box-shadow: 0 0 0 1px #e5e7eb inset, 0 4px 6px -1px rgba(0, 0, 0, 0.1),
105
+ 0 2px 4px -1px rgba(0, 0, 0, 0.06);
106
+ }
107
+ .box-shadow-focus:focus {
108
+ box-shadow: 0 0 0 1px #e5e7eb inset, 0 4px 6px -1px rgba(0, 0, 0, 0.1),
109
+ 0 2px 4px -1px rgba(0, 0, 0, 0.06);
110
+ }
111
+ .box-shadow-focus-red:focus {
112
+ box-shadow: 0px 0px 10px 0px #ff8383;
113
+ }
114
+ .box-green {
115
+ background: rgba(16, 86, 82, 0.1);
116
+ color: #105652;
117
+ }
118
+ .box-green-focus:focus {
119
+ background: white;
120
+ color: black;
121
+ box-shadow: 0px 0px 10px 0px rgba(16, 86, 82, 0.38);
122
+ }
123
+ /* box-shadow: 0px 0px 10px 0px rgba(16, 86, 82, 0.38); */
124
+ .box-inner-shadow:hover {
125
+ box-shadow: 0 0 0 1px #e5e7eb inset, 0 4px 6px -1px rgba(0, 0, 0, 0.1),
126
+ 0 2px 4px -1px rgba(0, 0, 0, 0.06);
127
+ }
128
+ /* Date Picker Css */
129
+ .react-datepicker__day--selected {
130
+ background-color: #105652 !important;
131
+ }
132
+ .react-datepicker__header {
133
+ background: white !important;
134
+ border: none !important;
135
+ }
136
+ .react-datepicker {
137
+ box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15) !important;
138
+ border-radius: 0.375rem !important;
139
+ border: none !important;
140
+ }
141
+ .react-datepicker__day--keyboard-selected {
142
+ background-color: white !important;
143
+ color: black !important;
144
+ }
145
+ .react-datepicker__day--outside-month {
146
+ color: rgb(161 161 170) !important;
147
+ }
148
+ .react-datepicker__month-container {
149
+ padding-top: 1rem;
150
+ padding-left: 1rem;
151
+ padding-right: 1rem;
152
+ padding-bottom: 0.5rem;
153
+ }
154
+ .react-datepicker-popper {
155
+ transform: translate(0px 295px) !important;
156
+ }
157
+ .react-datepicker__input-container {
158
+ text-align: center !important;
159
+ border-radius: 0.375rem !important;
160
+ transition: all 0.3s;
161
+ }
162
+ .react-datepicker__input-container > input {
163
+ cursor: pointer !important;
164
+ }
165
+ .react-datepicker__input-container:hover {
166
+ box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.15) !important;
167
+ }
168
+ .react-datepicker__navigation {
169
+ top: 18px !important;
170
+ }
171
+ .react-datepicker__navigation--next {
172
+ right: 20px !important;
173
+ }
174
+ .react-datepicker__navigation--previous {
175
+ left: 182px !important;
176
+ }
177
+ .react-datepicker__current-month {
178
+ text-align: left !important;
179
+ margin-left: 16px !important;
180
+ }
181
+ .react-datepicker__triangle {
182
+ display: none !important;
183
+ }
184
+ .react-datepicker__children-container {
185
+ width: 16rem !important;
186
+ }
187
+ /* toggle button */
188
+ .toggle[type="checkbox"]::before {
189
+ content: "";
190
+ position: absolute;
191
+ left: 1px;
192
+ top: 1px;
193
+ width: 1.1rem;
194
+ height: 1.1rem;
195
+ border-radius: 50%;
196
+ transform: scale(0.9);
197
+ background-color: white;
198
+ transition: left 100ms linear;
199
+ }
200
+ .toggle[type="checkbox"]:checked::before {
201
+ background-color: white;
202
+ left: 1.32rem;
203
+ }
204
+ .toggle[type="checkbox"]:checked {
205
+ background-color: #105652;
206
+ }
207
+ .toggle[type="checkbox"]:disabled {
208
+ opacity: 0.3;
209
+ cursor: not-allowed;
210
+ }
211
+ .toggle[type="checkbox"]:disabled + span {
212
+ opacity: 0.3;
213
+ cursor: not-allowed;
214
+ }
215
+
216
+ /* checkbox */
217
+ .check-box[type="checkbox"]:checked {
218
+ border-color: transparent;
219
+ background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3e%3c/svg%3e");
220
+ background-size: 150%;
221
+ background-position: 50%;
222
+ background-repeat: no-repeat;
223
+ }
224
+ .check-box[type="checkbox"]:disabled {
225
+ background-color: #7f7f7f;
226
+ }
@@ -1,5 +1,6 @@
1
- import { HTMLLabelElement } from "./HTMLElement";
1
+ import { LabelWidget } from "./widget";
2
2
  import { DataField, OnClick } from "./Property";
3
+ import { Color } from "./Color";
3
4
  export interface ActionEvent {
4
5
  event: string;
5
6
  type: "view" | "modal";
@@ -38,8 +39,8 @@ export interface RowProps<T> {
38
39
  item: T;
39
40
  dataField?: DataField<T>;
40
41
  onClick?: OnClick<T>;
41
- buttons?: HTMLLabelElement[];
42
- flag?: boolean;
42
+ buttons?: LabelWidget[];
43
+ dot?: Color;
43
44
  options?: {
44
45
  height?: string;
45
46
  size?: string;
@@ -1,6 +1,6 @@
1
1
  import { DataField, DataSet, Size, Titles } from "./Property";
2
2
  import { EventsProps } from "./Action";
3
- import { HTMLInput, HTMLLabelElement, HTMLSelectElement } from "./HTMLElement";
3
+ import { InputWidget, LabelWidget, SelectWidget } from "./widget";
4
4
  interface OptionsProps {
5
5
  className?: string;
6
6
  width?: Size;
@@ -18,15 +18,15 @@ export interface BoardProps<B> {
18
18
  action?: EventsProps;
19
19
  options?: OptionsProps;
20
20
  debug?: string;
21
- buttons?: HTMLLabelElement[];
21
+ buttons?: LabelWidget[];
22
22
  }
23
23
  export interface BoardHeaderProps<B> {
24
24
  titles?: Omit<Titles, "subtitle"> & {
25
25
  icon?: string;
26
26
  };
27
27
  tag?: {
28
- selects?: HTMLSelectElement<B>[];
29
- inputs?: HTMLInput[];
28
+ selects?: SelectWidget<B>[];
29
+ inputs?: InputWidget[];
30
30
  };
31
31
  options?: {
32
32
  titleBorder?: string;
@@ -1,4 +1,4 @@
1
- import { Button, DataField, DataSet, Disabled, ImageSize, OnClick, Size, State, Titles } from "./Property";
1
+ import { Button, DataField, DataSet, Disabled, OnClick, Size, State, Titles } from "./Property";
2
2
  import { Flexify } from "./UtilityType";
3
3
  interface CardOptions {
4
4
  className?: string;
@@ -52,14 +52,16 @@ export interface ButtonInLay {
52
52
  background?: string;
53
53
  text?: string;
54
54
  }
55
+ interface NavCardImage {
56
+ path: string;
57
+ size?: string;
58
+ position?: string;
59
+ }
55
60
  export interface NavCardProps extends Omit<CardProps, "children"> {
56
61
  titles: Titles;
57
62
  options?: CardOptions & {
58
63
  buttonInLay?: ButtonInLay;
59
- image?: {
60
- path: string;
61
- size?: ImageSize;
62
- };
64
+ image?: NavCardImage;
63
65
  };
64
66
  }
65
67
  export interface NavCardBannerProps extends NavCardProps {
@@ -0,0 +1,3 @@
1
+ export type Color = "red" | "green" | "blue" | "yellow";
2
+ declare const ColorSet: Record<Color, string>;
3
+ export { ColorSet };
@@ -0,0 +1,7 @@
1
+ const ColorSet = {
2
+ red: "bg-red-500",
3
+ green: "bg-green-500",
4
+ blue: "bg-blue-500",
5
+ yellow: "bg-yellow-500",
6
+ };
7
+ export { ColorSet };
@@ -1,3 +1,4 @@
1
+ import { ReactNode } from "react";
1
2
  import { OnClick, State } from "./Property";
2
3
  import { ShowAction } from "./Action";
3
4
  interface Notification {
@@ -29,7 +30,7 @@ export interface MenuProps {
29
30
  }
30
31
  export interface DashboardHeaderProps {
31
32
  title: string;
32
- logo?: React.ReactNode;
33
+ logo?: ReactNode;
33
34
  notification: NotificationProps;
34
35
  menu?: MenuProps;
35
36
  options?: {
@@ -40,8 +41,8 @@ export interface DashboardHeaderProps {
40
41
  }
41
42
  export interface DashboardProps {
42
43
  header: DashboardHeaderProps;
43
- navigations: React.ReactNode[];
44
- children: React.ReactNode;
44
+ navigations: ReactNode[];
45
+ children: ReactNode;
45
46
  options?: {
46
47
  background?: string;
47
48
  };
@@ -1,3 +1,4 @@
1
+ import { ReactNode } from "react";
1
2
  import { Button, Scripts, Size, State, Titles } from "./Property";
2
3
  import { ShowAction } from "./Action";
3
4
  interface Options {
@@ -12,7 +13,7 @@ interface Options {
12
13
  }
13
14
  interface ModalProps {
14
15
  titles: Titles;
15
- children: React.ReactNode;
16
+ children: ReactNode;
16
17
  showAction?: ShowAction;
17
18
  className?: string;
18
19
  options?: Partial<Options>;
@@ -1,4 +1,4 @@
1
- import { HTMLElementFrame, HTMLLabelElement } from "./HTMLElement";
1
+ import { WidgetFrame, LabelWidget } from "./widget";
2
2
  import { Titles } from "./Property";
3
3
  import { ShowAction } from "./Action";
4
4
  export interface OverlayProps {
@@ -9,6 +9,6 @@ export interface OverlayProps {
9
9
  export interface InfoOverlayProps extends OverlayProps {
10
10
  }
11
11
  export interface ManageOverlayProps extends OverlayProps {
12
- elements?: HTMLElementFrame[];
13
- buttons?: HTMLLabelElement[];
12
+ elements?: WidgetFrame[];
13
+ buttons?: LabelWidget[];
14
14
  }
@@ -1,6 +1,6 @@
1
1
  import { Dispatch, SetStateAction } from "react";
2
2
  import { Replace } from "./Action";
3
- import { HTMLLabelElement } from "./HTMLElement";
3
+ import { LabelWidget } from "./widget";
4
4
  /**
5
5
  * State type for the React component
6
6
  * @template T
@@ -37,7 +37,7 @@ export type Size = "4xs" | "3xs" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2
37
37
  * @property {"full"} full - Full size
38
38
  */
39
39
  export type OnClick<Request = unknown, Response = unknown> = (prop?: Request) => Response | ((prop?: Request) => Promise<Response>);
40
- export interface Button extends HTMLLabelElement {
40
+ export interface Button extends LabelWidget {
41
41
  }
42
42
  export type FileRead = string | ArrayBuffer | null;
43
43
  export type Disabled = boolean | OnClick;
@@ -1,9 +1,9 @@
1
1
  export * from "./Action";
2
2
  export * from "./Card";
3
- export * from "./HTMLElement";
3
+ export * from "./Color";
4
+ export * from "./widget";
4
5
  export * from "./Layout";
5
6
  export * from "./Overlay";
6
7
  export * from "./Property";
7
8
  export * from "./Theme";
8
9
  export * from "./Shelf";
9
- export * from "./widget";
@@ -1,9 +1,9 @@
1
1
  export * from "./Action";
2
2
  export * from "./Card";
3
- export * from "./HTMLElement";
3
+ export * from "./Color";
4
+ export * from "./widget";
4
5
  export * from "./Layout";
5
6
  export * from "./Overlay";
6
7
  export * from "./Property";
7
8
  export * from "./Theme";
8
9
  export * from "./Shelf";
9
- export * from "./widget";