@rufous/ui 0.1.18 → 0.1.22

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 (59) hide show
  1. package/dist/Buttons/{Button.cjs → addButton.cjs} +9 -12
  2. package/dist/Buttons/addButton.d.cts +8 -0
  3. package/dist/Buttons/addButton.d.ts +8 -0
  4. package/dist/Buttons/addButton.js +6 -0
  5. package/dist/Buttons/cancelButton.cjs +37 -0
  6. package/dist/Buttons/cancelButton.d.cts +8 -0
  7. package/dist/Buttons/cancelButton.d.ts +8 -0
  8. package/dist/Buttons/cancelButton.js +6 -0
  9. package/dist/Buttons/index.cjs +75 -0
  10. package/dist/Buttons/index.d.cts +4 -0
  11. package/dist/Buttons/index.d.ts +4 -0
  12. package/dist/Buttons/index.js +15 -0
  13. package/dist/Buttons/submitButton.cjs +53 -0
  14. package/dist/Buttons/submitButton.d.cts +11 -0
  15. package/dist/Buttons/submitButton.d.ts +11 -0
  16. package/dist/Buttons/submitButton.js +6 -0
  17. package/dist/CheckBoxes/CheckBox.js +25 -3
  18. package/dist/TextFields/FloatingInput.js +28 -3
  19. package/dist/chunk-5TL73FV7.js +10 -0
  20. package/dist/chunk-5UEJAVFK.js +10 -0
  21. package/dist/chunk-7DL4MCF7.js +24 -0
  22. package/dist/chunk-GESVGIAP.js +10 -0
  23. package/dist/chunk-QIEQRNBE.js +10 -0
  24. package/dist/chunk-UF3Q3GWG.js +8 -0
  25. package/dist/icons/helpOutlinedIcon.cjs +1 -53
  26. package/dist/icons/helpOutlinedIcon.js +1 -1
  27. package/dist/icons/index.cjs +3 -200
  28. package/dist/icons/index.js +35 -35
  29. package/dist/icons/nineDotMenuIcon.cjs +1 -146
  30. package/dist/icons/nineDotMenuIcon.js +1 -1
  31. package/dist/icons/notificationIcon.cjs +1 -1
  32. package/dist/icons/notificationIcon.js +1 -1
  33. package/dist/icons/rufousAiIcon.cjs +37 -0
  34. package/dist/icons/rufousAiIcon.d.cts +8 -0
  35. package/dist/icons/rufousAiIcon.d.ts +8 -0
  36. package/dist/icons/rufousAiIcon.js +7 -0
  37. package/dist/main.cjs +210 -435
  38. package/dist/main.css +69 -0
  39. package/dist/main.d.cts +3 -3
  40. package/dist/main.d.ts +3 -3
  41. package/dist/main.js +50 -49
  42. package/dist/style.css +69 -0
  43. package/dist/styles/button.css +68 -0
  44. package/dist/styles/button.d.cts +2 -0
  45. package/dist/styles/button.d.ts +2 -0
  46. package/package.json +1 -1
  47. package/dist/Buttons/Button.d.cjs +0 -17
  48. package/dist/Buttons/Button.d.cts +0 -10
  49. package/dist/Buttons/Button.d.d.cts +0 -10
  50. package/dist/Buttons/Button.d.d.ts +0 -10
  51. package/dist/Buttons/Button.d.ts +0 -10
  52. package/dist/Buttons/Button.js +0 -6
  53. package/dist/chunk-ASP3DBRX.js +0 -9
  54. package/dist/chunk-AWA5Y5LH.js +0 -32
  55. package/dist/chunk-D7SFBVJY.js +0 -155
  56. package/dist/chunk-MWCKUVQG.js +0 -10
  57. package/dist/chunk-PULIGWAP.js +0 -62
  58. package/dist/chunk-QKDJLUKZ.js +0 -29
  59. /package/dist/{Buttons/Button.d.js → chunk-JSGUIKOH.js} +0 -0
package/dist/main.css CHANGED
@@ -1,3 +1,72 @@
1
+ /* lib/styles/button.css */
2
+ .cancel-btn {
3
+ text-transform: uppercase;
4
+ min-width: 84px;
5
+ font-weight: normal;
6
+ font-size: 12px;
7
+ padding: 7px 10px;
8
+ border: 1px solid rgb(164, 27, 6);
9
+ border-radius: 34px;
10
+ background: #fff;
11
+ color: rgb(164, 27, 6);
12
+ cursor: pointer;
13
+ transition:
14
+ background-color 250ms,
15
+ box-shadow 250ms,
16
+ border-color 250ms,
17
+ color 250ms;
18
+ box-shadow:
19
+ rgba(0, 0, 0, 0.2) 0px 3px 1px -2px,
20
+ rgba(0, 0, 0, 0.14) 0px 2px 2px 0px,
21
+ rgba(0, 0, 0, 0.12) 0px 1px 5px 0px;
22
+ }
23
+ .cancel-btn:hover {
24
+ box-shadow:
25
+ rgba(0, 0, 0, 0.2) 0px 2px 4px -1px,
26
+ rgba(0, 0, 0, 0.14) 0px 4px 5px 0px,
27
+ rgba(0, 0, 0, 0.12) 0px 1px 10px 0px;
28
+ }
29
+ .cancel-btn:disabled {
30
+ background-color: #e0e0e0;
31
+ cursor: not-allowed;
32
+ }
33
+ .submit-btn {
34
+ background-color: #9b1906;
35
+ color: #fff;
36
+ font-size: 12px;
37
+ text-transform: uppercase;
38
+ min-width: 92px;
39
+ height: 38px;
40
+ border: none;
41
+ border-radius: 6px;
42
+ cursor: pointer;
43
+ transition: background-color 250ms ease-in-out;
44
+ }
45
+ .submit-btn:hover {
46
+ background-color: #9b1906;
47
+ }
48
+ .submit-btn:disabled {
49
+ background-color: #e0e0e0;
50
+ cursor: not-allowed;
51
+ }
52
+ .add-btn {
53
+ background: #ffffff;
54
+ border: 1px solid #a41b06;
55
+ border-radius: 34px;
56
+ font-weight: normal;
57
+ font-size: 12px;
58
+ padding: 7px 12px;
59
+ color: #a41b06;
60
+ cursor: pointer;
61
+ transition: all 0.25s ease-in-out;
62
+ text-transform: uppercase;
63
+ box-shadow: none;
64
+ }
65
+ .add-btn:hover {
66
+ background: #a41b06;
67
+ color: #ffffff;
68
+ }
69
+
1
70
  /* lib/style.css */
2
71
  .theme-rufous .act-icon svg {
3
72
  color: #a81c08 !important;
package/dist/main.d.cts CHANGED
@@ -1,6 +1,3 @@
1
- export { Button } from './Buttons/Button.d.cjs';
2
- export { FloatingInput } from './TextFields/FloatingInput.d.cjs';
3
- export { Checkbox } from './CheckBoxes/CheckBox.d.cjs';
4
1
  export { APP_THEMES } from './utils/constants.cjs';
5
2
  export { default as ArchivedIcon } from './icons/archivedIcon.cjs';
6
3
  export { default as CopyIcon } from './icons/copyIcon.cjs';
@@ -51,5 +48,8 @@ export { default as IndustryIcon } from './icons/industryIcon.cjs';
51
48
  export { default as MinExperienceIcon } from './icons/minExperienceIcon.cjs';
52
49
  export { default as ProjectIcon } from './icons/projectIcon.cjs';
53
50
  export { default as RolesIcon } from './icons/rolesIcon.cjs';
51
+ export { default as AddButton } from './Buttons/addButton.cjs';
52
+ export { default as SubmitButton } from './Buttons/submitButton.cjs';
53
+ export { default as CancelButton } from './Buttons/cancelButton.cjs';
54
54
  export { RufousThemeProvider, useRufousTheme } from './Contexts/rufousThemeProvider.cjs';
55
55
  import 'react';
package/dist/main.d.ts CHANGED
@@ -1,6 +1,3 @@
1
- export { Button } from './Buttons/Button.d.js';
2
- export { FloatingInput } from './TextFields/FloatingInput.d.js';
3
- export { Checkbox } from './CheckBoxes/CheckBox.d.js';
4
1
  export { APP_THEMES } from './utils/constants.js';
5
2
  export { default as ArchivedIcon } from './icons/archivedIcon.js';
6
3
  export { default as CopyIcon } from './icons/copyIcon.js';
@@ -51,5 +48,8 @@ export { default as IndustryIcon } from './icons/industryIcon.js';
51
48
  export { default as MinExperienceIcon } from './icons/minExperienceIcon.js';
52
49
  export { default as ProjectIcon } from './icons/projectIcon.js';
53
50
  export { default as RolesIcon } from './icons/rolesIcon.js';
51
+ export { default as AddButton } from './Buttons/addButton.js';
52
+ export { default as SubmitButton } from './Buttons/submitButton.js';
53
+ export { default as CancelButton } from './Buttons/cancelButton.js';
54
54
  export { RufousThemeProvider, useRufousTheme } from './Contexts/rufousThemeProvider.js';
55
55
  import 'react';
package/dist/main.js CHANGED
@@ -1,4 +1,13 @@
1
1
  import "./chunk-CC7BNJL3.js";
2
+ import {
3
+ unArchivedIcon_default
4
+ } from "./chunk-ZJAV3FEQ.js";
5
+ import {
6
+ unsubscribeIcon_default
7
+ } from "./chunk-NMMC4ATV.js";
8
+ import {
9
+ uploadIcon_default
10
+ } from "./chunk-DXJ745NZ.js";
2
11
  import {
3
12
  userAssignIcon_default
4
13
  } from "./chunk-BH53P2UM.js";
@@ -8,6 +17,15 @@ import {
8
17
  import {
9
18
  workItemIcon_default
10
19
  } from "./chunk-QJPQC544.js";
20
+ import {
21
+ rufousBirdIcon_default
22
+ } from "./chunk-DMP72IAP.js";
23
+ import {
24
+ rufousLauncherBird_default
25
+ } from "./chunk-QZFGQ5JM.js";
26
+ import {
27
+ sidebarIcon_default
28
+ } from "./chunk-CSKTBLQQ.js";
11
29
  import {
12
30
  subscribeIcon_default
13
31
  } from "./chunk-ZDVP4SUD.js";
@@ -24,14 +42,11 @@ import {
24
42
  trashIcon_default
25
43
  } from "./chunk-6KIFTMUN.js";
26
44
  import {
27
- unArchivedIcon_default
28
- } from "./chunk-ZJAV3FEQ.js";
29
- import {
30
- unsubscribeIcon_default
31
- } from "./chunk-NMMC4ATV.js";
45
+ questionTypeCodingIcon_default
46
+ } from "./chunk-FOUXNPQA.js";
32
47
  import {
33
- uploadIcon_default
34
- } from "./chunk-DXJ745NZ.js";
48
+ questionTypeDescriptiveIcon_default
49
+ } from "./chunk-C7B23GTE.js";
35
50
  import {
36
51
  questionTypeMultipleIcon_default
37
52
  } from "./chunk-XCLXQOLP.js";
@@ -48,17 +63,14 @@ import {
48
63
  rolesIcon_default
49
64
  } from "./chunk-RJ43D3XB.js";
50
65
  import {
51
- rufousBirdIcon_default
52
- } from "./chunk-DMP72IAP.js";
53
- import {
54
- rufousLauncherBird_default
55
- } from "./chunk-QZFGQ5JM.js";
66
+ minExperienceIcon_default
67
+ } from "./chunk-MKK7M3BH.js";
56
68
  import {
57
- sidebarIcon_default
58
- } from "./chunk-CSKTBLQQ.js";
69
+ nineDotMenuIcon_default
70
+ } from "./chunk-GESVGIAP.js";
59
71
  import {
60
72
  notificationIcon_default
61
- } from "./chunk-MWCKUVQG.js";
73
+ } from "./chunk-QIEQRNBE.js";
62
74
  import {
63
75
  projectIcon_default
64
76
  } from "./chunk-BYJP2WNC.js";
@@ -75,11 +87,11 @@ import {
75
87
  questionTypeAllIcon_default
76
88
  } from "./chunk-WHGVO3HV.js";
77
89
  import {
78
- questionTypeCodingIcon_default
79
- } from "./chunk-FOUXNPQA.js";
90
+ functionIcon_default
91
+ } from "./chunk-ZAYWFYP4.js";
80
92
  import {
81
- questionTypeDescriptiveIcon_default
82
- } from "./chunk-C7B23GTE.js";
93
+ helpOutlinedIcon_default
94
+ } from "./chunk-5UEJAVFK.js";
83
95
  import {
84
96
  hierarchyIcon_default
85
97
  } from "./chunk-WZAU77G7.js";
@@ -96,11 +108,11 @@ import {
96
108
  logsIcon_default
97
109
  } from "./chunk-N4EJKMJK.js";
98
110
  import {
99
- minExperienceIcon_default
100
- } from "./chunk-MKK7M3BH.js";
111
+ difficultyEasyIcon_default
112
+ } from "./chunk-JI5XMLWT.js";
101
113
  import {
102
- nineDotMenuIcon_default
103
- } from "./chunk-D7SFBVJY.js";
114
+ difficultyHardIcon_default
115
+ } from "./chunk-WXANSSXF.js";
104
116
  import {
105
117
  difficultyMediumIcon_default
106
118
  } from "./chunk-XPJVVKOU.js";
@@ -120,14 +132,12 @@ import {
120
132
  engagementIcon_default
121
133
  } from "./chunk-FSRABKKC.js";
122
134
  import {
123
- functionIcon_default
124
- } from "./chunk-ZAYWFYP4.js";
125
- import {
126
- helpOutlinedIcon_default
127
- } from "./chunk-PULIGWAP.js";
135
+ RufousThemeProvider,
136
+ useRufousTheme
137
+ } from "./chunk-BCGCLMKA.js";
128
138
  import {
129
- FloatingInput
130
- } from "./chunk-AWA5Y5LH.js";
139
+ APP_THEMES
140
+ } from "./chunk-2FHTGYR4.js";
131
141
  import {
132
142
  activateUserIcon_default
133
143
  } from "./chunk-AH6RCYDL.js";
@@ -143,32 +153,23 @@ import {
143
153
  import {
144
154
  difficultyAllIcon_default
145
155
  } from "./chunk-PPNZC5ZQ.js";
156
+ import "./chunk-JSGUIKOH.js";
146
157
  import {
147
- difficultyEasyIcon_default
148
- } from "./chunk-JI5XMLWT.js";
149
- import {
150
- difficultyHardIcon_default
151
- } from "./chunk-WXANSSXF.js";
152
- import {
153
- Button
154
- } from "./chunk-ASP3DBRX.js";
158
+ addButton_default
159
+ } from "./chunk-5TL73FV7.js";
155
160
  import {
156
- Checkbox
157
- } from "./chunk-QKDJLUKZ.js";
161
+ cancelButton_default
162
+ } from "./chunk-UF3Q3GWG.js";
158
163
  import {
159
- RufousThemeProvider,
160
- useRufousTheme
161
- } from "./chunk-BCGCLMKA.js";
162
- import {
163
- APP_THEMES
164
- } from "./chunk-2FHTGYR4.js";
164
+ submitButton_default
165
+ } from "./chunk-7DL4MCF7.js";
165
166
  export {
166
167
  APP_THEMES,
167
168
  activateUserIcon_default as ActivateUserIcon,
169
+ addButton_default as AddButton,
168
170
  archivedIcon_default as ArchivedIcon,
169
171
  assignGroupIcon_default as AssignGroupIcon,
170
- Button,
171
- Checkbox,
172
+ cancelButton_default as CancelButton,
172
173
  copyIcon_default as CopyIcon,
173
174
  difficultyAllIcon_default as DifficultyAllIcon,
174
175
  difficultyEasyIcon_default as DifficultyEasyIcon,
@@ -179,7 +180,6 @@ export {
179
180
  editChatIcon_default as EditChatIcon,
180
181
  editIcon_default as EditIcon,
181
182
  engagementIcon_default as EngagementIcon,
182
- FloatingInput,
183
183
  functionIcon_default as FunctionIcon,
184
184
  helpOutlinedIcon_default as HelpOutlinedIcon,
185
185
  hierarchyIcon_default as HierarchyIcon,
@@ -206,6 +206,7 @@ export {
206
206
  rufousLauncherBird_default as RufousLauncherIcon,
207
207
  RufousThemeProvider,
208
208
  sidebarIcon_default as SidebarIcon,
209
+ submitButton_default as SubmitButton,
209
210
  subscribeIcon_default as SubscribeIcon,
210
211
  suspendUserIcon_default as SuspendUserIcon,
211
212
  tickIcon_default as TickIcon,
package/dist/style.css CHANGED
@@ -1,3 +1,72 @@
1
+ /* lib/styles/button.css */
2
+ .cancel-btn {
3
+ text-transform: uppercase;
4
+ min-width: 84px;
5
+ font-weight: normal;
6
+ font-size: 12px;
7
+ padding: 7px 10px;
8
+ border: 1px solid rgb(164, 27, 6);
9
+ border-radius: 34px;
10
+ background: #fff;
11
+ color: rgb(164, 27, 6);
12
+ cursor: pointer;
13
+ transition:
14
+ background-color 250ms,
15
+ box-shadow 250ms,
16
+ border-color 250ms,
17
+ color 250ms;
18
+ box-shadow:
19
+ rgba(0, 0, 0, 0.2) 0px 3px 1px -2px,
20
+ rgba(0, 0, 0, 0.14) 0px 2px 2px 0px,
21
+ rgba(0, 0, 0, 0.12) 0px 1px 5px 0px;
22
+ }
23
+ .cancel-btn:hover {
24
+ box-shadow:
25
+ rgba(0, 0, 0, 0.2) 0px 2px 4px -1px,
26
+ rgba(0, 0, 0, 0.14) 0px 4px 5px 0px,
27
+ rgba(0, 0, 0, 0.12) 0px 1px 10px 0px;
28
+ }
29
+ .cancel-btn:disabled {
30
+ background-color: #e0e0e0;
31
+ cursor: not-allowed;
32
+ }
33
+ .submit-btn {
34
+ background-color: #9b1906;
35
+ color: #fff;
36
+ font-size: 12px;
37
+ text-transform: uppercase;
38
+ min-width: 92px;
39
+ height: 38px;
40
+ border: none;
41
+ border-radius: 6px;
42
+ cursor: pointer;
43
+ transition: background-color 250ms ease-in-out;
44
+ }
45
+ .submit-btn:hover {
46
+ background-color: #9b1906;
47
+ }
48
+ .submit-btn:disabled {
49
+ background-color: #e0e0e0;
50
+ cursor: not-allowed;
51
+ }
52
+ .add-btn {
53
+ background: #ffffff;
54
+ border: 1px solid #a41b06;
55
+ border-radius: 34px;
56
+ font-weight: normal;
57
+ font-size: 12px;
58
+ padding: 7px 12px;
59
+ color: #a41b06;
60
+ cursor: pointer;
61
+ transition: all 0.25s ease-in-out;
62
+ text-transform: uppercase;
63
+ box-shadow: none;
64
+ }
65
+ .add-btn:hover {
66
+ background: #a41b06;
67
+ color: #ffffff;
68
+ }
69
+
1
70
  /* lib/style.css */
2
71
  .theme-rufous .act-icon svg {
3
72
  color: #a81c08 !important;
@@ -0,0 +1,68 @@
1
+ /* lib/styles/button.css */
2
+ .cancel-btn {
3
+ text-transform: uppercase;
4
+ min-width: 84px;
5
+ font-weight: normal;
6
+ font-size: 12px;
7
+ padding: 7px 10px;
8
+ border: 1px solid rgb(164, 27, 6);
9
+ border-radius: 34px;
10
+ background: #fff;
11
+ color: rgb(164, 27, 6);
12
+ cursor: pointer;
13
+ transition:
14
+ background-color 250ms,
15
+ box-shadow 250ms,
16
+ border-color 250ms,
17
+ color 250ms;
18
+ box-shadow:
19
+ rgba(0, 0, 0, 0.2) 0px 3px 1px -2px,
20
+ rgba(0, 0, 0, 0.14) 0px 2px 2px 0px,
21
+ rgba(0, 0, 0, 0.12) 0px 1px 5px 0px;
22
+ }
23
+ .cancel-btn:hover {
24
+ box-shadow:
25
+ rgba(0, 0, 0, 0.2) 0px 2px 4px -1px,
26
+ rgba(0, 0, 0, 0.14) 0px 4px 5px 0px,
27
+ rgba(0, 0, 0, 0.12) 0px 1px 10px 0px;
28
+ }
29
+ .cancel-btn:disabled {
30
+ background-color: #e0e0e0;
31
+ cursor: not-allowed;
32
+ }
33
+ .submit-btn {
34
+ background-color: #9b1906;
35
+ color: #fff;
36
+ font-size: 12px;
37
+ text-transform: uppercase;
38
+ min-width: 92px;
39
+ height: 38px;
40
+ border: none;
41
+ border-radius: 6px;
42
+ cursor: pointer;
43
+ transition: background-color 250ms ease-in-out;
44
+ }
45
+ .submit-btn:hover {
46
+ background-color: #9b1906;
47
+ }
48
+ .submit-btn:disabled {
49
+ background-color: #e0e0e0;
50
+ cursor: not-allowed;
51
+ }
52
+ .add-btn {
53
+ background: #ffffff;
54
+ border: 1px solid #a41b06;
55
+ border-radius: 34px;
56
+ font-weight: normal;
57
+ font-size: 12px;
58
+ padding: 7px 12px;
59
+ color: #a41b06;
60
+ cursor: pointer;
61
+ transition: all 0.25s ease-in-out;
62
+ text-transform: uppercase;
63
+ box-shadow: none;
64
+ }
65
+ .add-btn:hover {
66
+ background: #a41b06;
67
+ color: #ffffff;
68
+ }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rufous/ui",
3
3
  "private": false,
4
- "version": "0.1.18",
4
+ "version": "0.1.22",
5
5
  "type": "module",
6
6
  "style": "./dist/style.css",
7
7
  "files": [
@@ -1,17 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from === "object" || typeof from === "function") {
7
- for (let key of __getOwnPropNames(from))
8
- if (!__hasOwnProp.call(to, key) && key !== except)
9
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
- }
11
- return to;
12
- };
13
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
-
15
- // lib/Buttons/Button.d.ts
16
- var Button_d_exports = {};
17
- module.exports = __toCommonJS(Button_d_exports);
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface ButtonProps {
4
- children: React.ReactNode;
5
- onClick?: () => void;
6
- }
7
-
8
- declare const Button: React.FC<ButtonProps>;
9
-
10
- export { Button, type ButtonProps };
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface ButtonProps {
4
- children: React.ReactNode;
5
- onClick?: () => void;
6
- }
7
-
8
- declare const Button: React.FC<ButtonProps>;
9
-
10
- export { Button, type ButtonProps };
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface ButtonProps {
4
- children: React.ReactNode;
5
- onClick?: () => void;
6
- }
7
-
8
- declare const Button: React.FC<ButtonProps>;
9
-
10
- export { Button, type ButtonProps };
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface ButtonProps {
4
- children: React.ReactNode;
5
- onClick?: () => void;
6
- }
7
-
8
- declare const Button: React.FC<ButtonProps>;
9
-
10
- export { Button, type ButtonProps };
@@ -1,6 +0,0 @@
1
- import {
2
- Button
3
- } from "../chunk-ASP3DBRX.js";
4
- export {
5
- Button
6
- };
@@ -1,9 +0,0 @@
1
- // lib/Buttons/Button.jsx
2
- import React from "react";
3
- var Button = ({ children, onClick, ...props }) => {
4
- return /* @__PURE__ */ React.createElement("button", { className: "btn", onClick, ...props }, children);
5
- };
6
-
7
- export {
8
- Button
9
- };
@@ -1,32 +0,0 @@
1
- // lib/TextFields/FloatingInput.jsx
2
- import React from "react";
3
- var FloatingInput = ({
4
- label,
5
- name,
6
- id,
7
- type = "text",
8
- value,
9
- onChange,
10
- required = false,
11
- placeholder,
12
- className = "",
13
- ...props
14
- }) => {
15
- return /* @__PURE__ */ React.createElement("div", { className: `form__group field ${className}`, ...props }, /* @__PURE__ */ React.createElement(
16
- "input",
17
- {
18
- type,
19
- className: "form__field",
20
- placeholder: placeholder || label,
21
- name,
22
- id: id || name,
23
- value,
24
- onChange,
25
- required
26
- }
27
- ), /* @__PURE__ */ React.createElement("label", { htmlFor: id || name, className: "form__label" }, label));
28
- };
29
-
30
- export {
31
- FloatingInput
32
- };