@rufous/ui 0.0.1

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 (101) hide show
  1. package/README.md +69 -0
  2. package/dist/Buttons/Button.cjs +42 -0
  3. package/dist/Buttons/Button.d.cjs +17 -0
  4. package/dist/Buttons/Button.d.cts +10 -0
  5. package/dist/Buttons/Button.d.d.cts +10 -0
  6. package/dist/Buttons/Button.d.d.ts +10 -0
  7. package/dist/Buttons/Button.d.js +0 -0
  8. package/dist/Buttons/Button.d.ts +10 -0
  9. package/dist/Buttons/Button.js +6 -0
  10. package/dist/CheckBoxes/CheckBox.cjs +62 -0
  11. package/dist/CheckBoxes/CheckBox.d.cjs +17 -0
  12. package/dist/CheckBoxes/CheckBox.d.cts +15 -0
  13. package/dist/CheckBoxes/CheckBox.d.d.cts +15 -0
  14. package/dist/CheckBoxes/CheckBox.d.d.ts +15 -0
  15. package/dist/CheckBoxes/CheckBox.d.js +0 -0
  16. package/dist/CheckBoxes/CheckBox.d.ts +15 -0
  17. package/dist/CheckBoxes/CheckBox.js +6 -0
  18. package/dist/Contexts/rufousThemeProvider.cjs +177 -0
  19. package/dist/Contexts/rufousThemeProvider.d.cjs +17 -0
  20. package/dist/Contexts/rufousThemeProvider.d.cts +28 -0
  21. package/dist/Contexts/rufousThemeProvider.d.d.cts +28 -0
  22. package/dist/Contexts/rufousThemeProvider.d.d.ts +28 -0
  23. package/dist/Contexts/rufousThemeProvider.d.js +0 -0
  24. package/dist/Contexts/rufousThemeProvider.d.ts +28 -0
  25. package/dist/Contexts/rufousThemeProvider.js +9 -0
  26. package/dist/TextFields/FloatingInput.cjs +65 -0
  27. package/dist/TextFields/FloatingInput.d.cjs +17 -0
  28. package/dist/TextFields/FloatingInput.d.cts +23 -0
  29. package/dist/TextFields/FloatingInput.d.d.cts +23 -0
  30. package/dist/TextFields/FloatingInput.d.d.ts +23 -0
  31. package/dist/TextFields/FloatingInput.d.js +0 -0
  32. package/dist/TextFields/FloatingInput.d.ts +23 -0
  33. package/dist/TextFields/FloatingInput.js +6 -0
  34. package/dist/chunk-2FHTGYR4.js +83 -0
  35. package/dist/chunk-3IBCGGN3.js +48 -0
  36. package/dist/chunk-5VDW4EZK.js +71 -0
  37. package/dist/chunk-6FEUS4CQ.js +41 -0
  38. package/dist/chunk-73G3VTVS.js +48 -0
  39. package/dist/chunk-ASP3DBRX.js +9 -0
  40. package/dist/chunk-AWA5Y5LH.js +32 -0
  41. package/dist/chunk-D7SFBVJY.js +155 -0
  42. package/dist/chunk-H372BAXA.js +42 -0
  43. package/dist/chunk-PULIGWAP.js +62 -0
  44. package/dist/chunk-QJPQC544.js +29 -0
  45. package/dist/chunk-QKDJLUKZ.js +29 -0
  46. package/dist/chunk-QZFGQ5JM.js +157 -0
  47. package/dist/chunk-WZAU77G7.js +55 -0
  48. package/dist/chunk-ZZ37BKUK.js +0 -0
  49. package/dist/icons/archivedIcon.cjs +77 -0
  50. package/dist/icons/archivedIcon.d.cts +8 -0
  51. package/dist/icons/archivedIcon.d.ts +8 -0
  52. package/dist/icons/archivedIcon.js +6 -0
  53. package/dist/icons/copyIcon.cjs +70 -0
  54. package/dist/icons/copyIcon.d.cts +8 -0
  55. package/dist/icons/copyIcon.d.ts +8 -0
  56. package/dist/icons/copyIcon.js +6 -0
  57. package/dist/icons/editIcon.cjs +71 -0
  58. package/dist/icons/editIcon.d.cts +8 -0
  59. package/dist/icons/editIcon.d.ts +8 -0
  60. package/dist/icons/editIcon.js +6 -0
  61. package/dist/icons/helpOutlinedIcon.cjs +91 -0
  62. package/dist/icons/helpOutlinedIcon.d.cts +8 -0
  63. package/dist/icons/helpOutlinedIcon.d.ts +8 -0
  64. package/dist/icons/helpOutlinedIcon.js +6 -0
  65. package/dist/icons/hierarchyIcon.cjs +84 -0
  66. package/dist/icons/hierarchyIcon.d.cts +8 -0
  67. package/dist/icons/hierarchyIcon.d.ts +8 -0
  68. package/dist/icons/hierarchyIcon.js +6 -0
  69. package/dist/icons/index.cjs +664 -0
  70. package/dist/icons/index.d.cts +10 -0
  71. package/dist/icons/index.d.ts +10 -0
  72. package/dist/icons/index.js +39 -0
  73. package/dist/icons/nineDotMenuIcon.cjs +184 -0
  74. package/dist/icons/nineDotMenuIcon.d.cts +8 -0
  75. package/dist/icons/nineDotMenuIcon.d.ts +8 -0
  76. package/dist/icons/nineDotMenuIcon.js +6 -0
  77. package/dist/icons/rufousLauncherBird.cjs +186 -0
  78. package/dist/icons/rufousLauncherBird.d.cts +8 -0
  79. package/dist/icons/rufousLauncherBird.d.ts +8 -0
  80. package/dist/icons/rufousLauncherBird.js +6 -0
  81. package/dist/icons/unArchivedIcon.cjs +77 -0
  82. package/dist/icons/unArchivedIcon.d.cts +8 -0
  83. package/dist/icons/unArchivedIcon.d.ts +8 -0
  84. package/dist/icons/unArchivedIcon.js +6 -0
  85. package/dist/icons/workItemIcon.cjs +58 -0
  86. package/dist/icons/workItemIcon.d.cts +8 -0
  87. package/dist/icons/workItemIcon.d.ts +8 -0
  88. package/dist/icons/workItemIcon.js +6 -0
  89. package/dist/main.cjs +874 -0
  90. package/dist/main.css +244 -0
  91. package/dist/main.d.cts +15 -0
  92. package/dist/main.d.ts +15 -0
  93. package/dist/main.js +61 -0
  94. package/dist/style.css +244 -0
  95. package/dist/style.d.cts +2 -0
  96. package/dist/style.d.ts +2 -0
  97. package/dist/utils/constants.cjs +106 -0
  98. package/dist/utils/constants.d.cts +80 -0
  99. package/dist/utils/constants.d.ts +80 -0
  100. package/dist/utils/constants.js +6 -0
  101. package/package.json +58 -0
package/dist/main.css ADDED
@@ -0,0 +1,244 @@
1
+ /* lib/style.css */
2
+ .form__group {
3
+ position: relative;
4
+ padding: 15px 0 0;
5
+ margin-top: 10px;
6
+ width: 100%;
7
+ }
8
+ .form__field {
9
+ font-family: inherit;
10
+ width: 100%;
11
+ border: none;
12
+ border-bottom: 2px solid #9b9b9b;
13
+ outline: 0;
14
+ font-size: 16px;
15
+ color: #000;
16
+ padding: 7px 0;
17
+ background: transparent;
18
+ transition: border-color 0.2s;
19
+ }
20
+ .theme-rufous {
21
+ background: #000;
22
+ }
23
+ .theme-default {
24
+ background: rgba(252, 229, 175, 1);
25
+ }
26
+ .theme-default .form__field {
27
+ border-bottom: 2px solid #9b9b9b;
28
+ color: #000;
29
+ }
30
+ .theme-rufous .form__field {
31
+ border-bottom: 2px solid #230202;
32
+ color: #fff;
33
+ }
34
+ .form__field::placeholder {
35
+ color: transparent;
36
+ }
37
+ .form__field:placeholder-shown ~ .form__label {
38
+ font-size: 16px;
39
+ cursor: text;
40
+ top: 22px;
41
+ }
42
+ .form__label {
43
+ position: absolute;
44
+ top: 0;
45
+ display: block;
46
+ transition: 0.2s;
47
+ font-size: 14px;
48
+ color: #9b9b9b;
49
+ }
50
+ .form__field:focus {
51
+ border-bottom: 2px solid #000;
52
+ }
53
+ .form__field:focus ~ .form__label,
54
+ .form__field:not(:placeholder-shown) ~ .form__label {
55
+ top: 0;
56
+ font-size: 12px;
57
+ color: #000;
58
+ }
59
+ .theme-default .btn {
60
+ background: #707070;
61
+ border: 1px solid #707070;
62
+ color: #ffffff;
63
+ }
64
+ .theme-default .btn:hover,
65
+ .theme-default .btn:active {
66
+ background-color: initial;
67
+ color: #707070;
68
+ }
69
+ .theme-default .btn:active {
70
+ opacity: 0.5;
71
+ }
72
+ .theme-default .form__field {
73
+ border-bottom: 2px solid #ccc;
74
+ color: #2d2d2d;
75
+ }
76
+ .theme-default .form__field::placeholder {
77
+ color: #999;
78
+ }
79
+ .theme-default .form__label {
80
+ color: #999;
81
+ }
82
+ .theme-default .form__field:focus {
83
+ border-bottom: 2px solid #707070;
84
+ }
85
+ .theme-default .form__field:focus ~ .form__label,
86
+ .theme-default .form__field:not(:placeholder-shown) ~ .form__label {
87
+ color: #2d2d2d;
88
+ }
89
+ .theme-rufous .btn {
90
+ background: #a81c08;
91
+ border: 1px solid #a81c08;
92
+ color: #ffffff;
93
+ }
94
+ .theme-rufous .btn:hover,
95
+ .theme-rufous .btn:active {
96
+ background-color: initial;
97
+ color: #a81c08;
98
+ }
99
+ .theme-rufous .btn:active {
100
+ opacity: 0.5;
101
+ }
102
+ .theme-rufous .form__field::placeholder {
103
+ color: #fff;
104
+ }
105
+ .theme-rufous .form__label {
106
+ color: #fff;
107
+ }
108
+ .theme-rufous .form__field:focus {
109
+ border-bottom: 2px solid #a81c08;
110
+ }
111
+ .theme-rufous .form__field:focus ~ .form__label,
112
+ .theme-rufous .form__field:not(:placeholder-shown) ~ .form__label {
113
+ color: #fff;
114
+ }
115
+ .theme-rufous .component-section h2 {
116
+ color: antiquewhite;
117
+ }
118
+ pre {
119
+ padding: 1rem;
120
+ overflow-x: auto;
121
+ border-radius: 8px;
122
+ font-size: 0.9rem;
123
+ }
124
+ .theme-default pre {
125
+ background-color: #222222;
126
+ color: #ffedde;
127
+ }
128
+ .theme-rufous pre {
129
+ background-color: #f5f5f5;
130
+ color: #2d2d2d;
131
+ }
132
+ @supports (-webkit-appearance: none) or (-moz-appearance: none) {
133
+ .theme-default .checkbox-wrapper-13 input[type=checkbox] {
134
+ --active: #275efe;
135
+ --border-hover: #275efe;
136
+ }
137
+ .theme-rufous .checkbox-wrapper-13 input[type=checkbox] {
138
+ --active: rgb(168, 28, 8);
139
+ --border-hover: rgb(168, 28, 8);
140
+ }
141
+ .checkbox-wrapper-13 input[type=checkbox] {
142
+ --active-inner: #fff;
143
+ --focus: 2px rgba(39, 94, 254, 0.3);
144
+ --border: #bbc1e1;
145
+ --background: #fff;
146
+ --disabled: #f6f8ff;
147
+ --disabled-inner: #e1e6f9;
148
+ -webkit-appearance: none;
149
+ -moz-appearance: none;
150
+ height: 21px;
151
+ outline: none;
152
+ display: inline-block;
153
+ vertical-align: top;
154
+ position: relative;
155
+ margin: 0;
156
+ cursor: pointer;
157
+ border: 1px solid var(--bc, var(--border));
158
+ background: var(--b, var(--background));
159
+ transition:
160
+ background 0.3s,
161
+ border-color 0.3s,
162
+ box-shadow 0.2s;
163
+ }
164
+ .checkbox-wrapper-13 input[type=checkbox]:after {
165
+ content: "";
166
+ display: block;
167
+ left: 0;
168
+ top: 0;
169
+ position: absolute;
170
+ transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
171
+ }
172
+ .checkbox-wrapper-13 input[type=checkbox]:checked {
173
+ --b: var(--active);
174
+ --bc: var(--active);
175
+ --d-o: 0.3s;
176
+ --d-t: 0.6s;
177
+ --d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
178
+ }
179
+ .checkbox-wrapper-13 input[type=checkbox]:disabled {
180
+ --b: var(--disabled);
181
+ cursor: not-allowed;
182
+ opacity: 0.9;
183
+ }
184
+ .checkbox-wrapper-13 input[type=checkbox]:disabled:checked {
185
+ --b: var(--disabled-inner);
186
+ --bc: var(--border);
187
+ }
188
+ .checkbox-wrapper-13 input[type=checkbox]:disabled + label {
189
+ cursor: not-allowed;
190
+ }
191
+ .checkbox-wrapper-13 input[type=checkbox]:hover:not(:checked):not(:disabled) {
192
+ --bc: var(--border-hover);
193
+ }
194
+ .checkbox-wrapper-13 input[type=checkbox]:focus {
195
+ box-shadow: 0 0 0 var(--focus);
196
+ }
197
+ .checkbox-wrapper-13 input[type=checkbox]:not(.switch) {
198
+ width: 21px;
199
+ }
200
+ .checkbox-wrapper-13 input[type=checkbox]:not(.switch):after {
201
+ opacity: var(--o, 0);
202
+ }
203
+ .checkbox-wrapper-13 input[type=checkbox]:not(.switch):checked {
204
+ --o: 1;
205
+ }
206
+ .theme-rufous .checkbox-wrapper-13 span {
207
+ color: #fff;
208
+ }
209
+ .checkbox-wrapper-13 input[type=checkbox] + label {
210
+ display: inline-block;
211
+ vertical-align: middle;
212
+ cursor: pointer;
213
+ margin-left: 4px;
214
+ }
215
+ .checkbox-wrapper-13 input[type=checkbox]:not(.switch) {
216
+ border-radius: 7px;
217
+ }
218
+ .checkbox-wrapper-13 input[type=checkbox]:not(.switch):after {
219
+ width: 5px;
220
+ height: 9px;
221
+ border: 2px solid var(--active-inner);
222
+ border-top: 0;
223
+ border-left: 0;
224
+ left: 7px;
225
+ top: 4px;
226
+ transform: rotate(var(--r, 20deg));
227
+ }
228
+ .checkbox-wrapper-13 input[type=checkbox]:not(.switch):checked {
229
+ --r: 43deg;
230
+ }
231
+ }
232
+ .checkbox-wrapper-13 * {
233
+ box-sizing: inherit;
234
+ }
235
+ .checkbox-wrapper-13 *:before,
236
+ .checkbox-wrapper-13 *:after {
237
+ box-sizing: inherit;
238
+ }
239
+ .theme-rufous .act-icon svg {
240
+ color: #a81c08 !important;
241
+ }
242
+ .theme-default .act-icon svg {
243
+ color: #707070 !important;
244
+ }
@@ -0,0 +1,15 @@
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
+ export { APP_THEMES } from './utils/constants.cjs';
5
+ export { default as ArchivedIcon } from './icons/archivedIcon.cjs';
6
+ export { default as CopyIcon } from './icons/copyIcon.cjs';
7
+ export { default as EditIcon } from './icons/editIcon.cjs';
8
+ export { default as HelpOutlinedIcon } from './icons/helpOutlinedIcon.cjs';
9
+ export { default as HierarchyIcon } from './icons/hierarchyIcon.cjs';
10
+ export { default as NineDotMenuIcon } from './icons/nineDotMenuIcon.cjs';
11
+ export { default as RufousLauncherIcon } from './icons/rufousLauncherBird.cjs';
12
+ export { default as UnArchivedIcon } from './icons/unArchivedIcon.cjs';
13
+ export { default as WorkItemIcon } from './icons/workItemIcon.cjs';
14
+ export { RufousThemeProvider, useRufousTheme } from './Contexts/rufousThemeProvider.d.cjs';
15
+ import 'react';
package/dist/main.d.ts ADDED
@@ -0,0 +1,15 @@
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
+ export { APP_THEMES } from './utils/constants.js';
5
+ export { default as ArchivedIcon } from './icons/archivedIcon.js';
6
+ export { default as CopyIcon } from './icons/copyIcon.js';
7
+ export { default as EditIcon } from './icons/editIcon.js';
8
+ export { default as HelpOutlinedIcon } from './icons/helpOutlinedIcon.js';
9
+ export { default as HierarchyIcon } from './icons/hierarchyIcon.js';
10
+ export { default as NineDotMenuIcon } from './icons/nineDotMenuIcon.js';
11
+ export { default as RufousLauncherIcon } from './icons/rufousLauncherBird.js';
12
+ export { default as UnArchivedIcon } from './icons/unArchivedIcon.js';
13
+ export { default as WorkItemIcon } from './icons/workItemIcon.js';
14
+ export { RufousThemeProvider, useRufousTheme } from './Contexts/rufousThemeProvider.d.js';
15
+ import 'react';
package/dist/main.js ADDED
@@ -0,0 +1,61 @@
1
+ import "./chunk-ZZ37BKUK.js";
2
+ import {
3
+ nineDotMenuIcon_default
4
+ } from "./chunk-D7SFBVJY.js";
5
+ import {
6
+ rufousLauncherBird_default
7
+ } from "./chunk-QZFGQ5JM.js";
8
+ import {
9
+ unArchivedIcon_default
10
+ } from "./chunk-73G3VTVS.js";
11
+ import {
12
+ workItemIcon_default
13
+ } from "./chunk-QJPQC544.js";
14
+ import {
15
+ FloatingInput
16
+ } from "./chunk-AWA5Y5LH.js";
17
+ import {
18
+ archivedIcon_default
19
+ } from "./chunk-3IBCGGN3.js";
20
+ import {
21
+ copyIcon_default
22
+ } from "./chunk-6FEUS4CQ.js";
23
+ import {
24
+ editIcon_default
25
+ } from "./chunk-H372BAXA.js";
26
+ import {
27
+ helpOutlinedIcon_default
28
+ } from "./chunk-PULIGWAP.js";
29
+ import {
30
+ hierarchyIcon_default
31
+ } from "./chunk-WZAU77G7.js";
32
+ import {
33
+ Button
34
+ } from "./chunk-ASP3DBRX.js";
35
+ import {
36
+ RufousThemeProvider,
37
+ useRufousTheme
38
+ } from "./chunk-5VDW4EZK.js";
39
+ import {
40
+ APP_THEMES
41
+ } from "./chunk-2FHTGYR4.js";
42
+ import {
43
+ Checkbox
44
+ } from "./chunk-QKDJLUKZ.js";
45
+ export {
46
+ APP_THEMES,
47
+ archivedIcon_default as ArchivedIcon,
48
+ Button,
49
+ Checkbox,
50
+ copyIcon_default as CopyIcon,
51
+ editIcon_default as EditIcon,
52
+ FloatingInput,
53
+ helpOutlinedIcon_default as HelpOutlinedIcon,
54
+ hierarchyIcon_default as HierarchyIcon,
55
+ nineDotMenuIcon_default as NineDotMenuIcon,
56
+ rufousLauncherBird_default as RufousLauncherIcon,
57
+ RufousThemeProvider,
58
+ unArchivedIcon_default as UnArchivedIcon,
59
+ workItemIcon_default as WorkItemIcon,
60
+ useRufousTheme
61
+ };
package/dist/style.css ADDED
@@ -0,0 +1,244 @@
1
+ /* lib/style.css */
2
+ .form__group {
3
+ position: relative;
4
+ padding: 15px 0 0;
5
+ margin-top: 10px;
6
+ width: 100%;
7
+ }
8
+ .form__field {
9
+ font-family: inherit;
10
+ width: 100%;
11
+ border: none;
12
+ border-bottom: 2px solid #9b9b9b;
13
+ outline: 0;
14
+ font-size: 16px;
15
+ color: #000;
16
+ padding: 7px 0;
17
+ background: transparent;
18
+ transition: border-color 0.2s;
19
+ }
20
+ .theme-rufous {
21
+ background: #000;
22
+ }
23
+ .theme-default {
24
+ background: rgba(252, 229, 175, 1);
25
+ }
26
+ .theme-default .form__field {
27
+ border-bottom: 2px solid #9b9b9b;
28
+ color: #000;
29
+ }
30
+ .theme-rufous .form__field {
31
+ border-bottom: 2px solid #230202;
32
+ color: #fff;
33
+ }
34
+ .form__field::placeholder {
35
+ color: transparent;
36
+ }
37
+ .form__field:placeholder-shown ~ .form__label {
38
+ font-size: 16px;
39
+ cursor: text;
40
+ top: 22px;
41
+ }
42
+ .form__label {
43
+ position: absolute;
44
+ top: 0;
45
+ display: block;
46
+ transition: 0.2s;
47
+ font-size: 14px;
48
+ color: #9b9b9b;
49
+ }
50
+ .form__field:focus {
51
+ border-bottom: 2px solid #000;
52
+ }
53
+ .form__field:focus ~ .form__label,
54
+ .form__field:not(:placeholder-shown) ~ .form__label {
55
+ top: 0;
56
+ font-size: 12px;
57
+ color: #000;
58
+ }
59
+ .theme-default .btn {
60
+ background: #707070;
61
+ border: 1px solid #707070;
62
+ color: #ffffff;
63
+ }
64
+ .theme-default .btn:hover,
65
+ .theme-default .btn:active {
66
+ background-color: initial;
67
+ color: #707070;
68
+ }
69
+ .theme-default .btn:active {
70
+ opacity: 0.5;
71
+ }
72
+ .theme-default .form__field {
73
+ border-bottom: 2px solid #ccc;
74
+ color: #2d2d2d;
75
+ }
76
+ .theme-default .form__field::placeholder {
77
+ color: #999;
78
+ }
79
+ .theme-default .form__label {
80
+ color: #999;
81
+ }
82
+ .theme-default .form__field:focus {
83
+ border-bottom: 2px solid #707070;
84
+ }
85
+ .theme-default .form__field:focus ~ .form__label,
86
+ .theme-default .form__field:not(:placeholder-shown) ~ .form__label {
87
+ color: #2d2d2d;
88
+ }
89
+ .theme-rufous .btn {
90
+ background: #a81c08;
91
+ border: 1px solid #a81c08;
92
+ color: #ffffff;
93
+ }
94
+ .theme-rufous .btn:hover,
95
+ .theme-rufous .btn:active {
96
+ background-color: initial;
97
+ color: #a81c08;
98
+ }
99
+ .theme-rufous .btn:active {
100
+ opacity: 0.5;
101
+ }
102
+ .theme-rufous .form__field::placeholder {
103
+ color: #fff;
104
+ }
105
+ .theme-rufous .form__label {
106
+ color: #fff;
107
+ }
108
+ .theme-rufous .form__field:focus {
109
+ border-bottom: 2px solid #a81c08;
110
+ }
111
+ .theme-rufous .form__field:focus ~ .form__label,
112
+ .theme-rufous .form__field:not(:placeholder-shown) ~ .form__label {
113
+ color: #fff;
114
+ }
115
+ .theme-rufous .component-section h2 {
116
+ color: antiquewhite;
117
+ }
118
+ pre {
119
+ padding: 1rem;
120
+ overflow-x: auto;
121
+ border-radius: 8px;
122
+ font-size: 0.9rem;
123
+ }
124
+ .theme-default pre {
125
+ background-color: #222222;
126
+ color: #ffedde;
127
+ }
128
+ .theme-rufous pre {
129
+ background-color: #f5f5f5;
130
+ color: #2d2d2d;
131
+ }
132
+ @supports (-webkit-appearance: none) or (-moz-appearance: none) {
133
+ .theme-default .checkbox-wrapper-13 input[type=checkbox] {
134
+ --active: #275efe;
135
+ --border-hover: #275efe;
136
+ }
137
+ .theme-rufous .checkbox-wrapper-13 input[type=checkbox] {
138
+ --active: rgb(168, 28, 8);
139
+ --border-hover: rgb(168, 28, 8);
140
+ }
141
+ .checkbox-wrapper-13 input[type=checkbox] {
142
+ --active-inner: #fff;
143
+ --focus: 2px rgba(39, 94, 254, 0.3);
144
+ --border: #bbc1e1;
145
+ --background: #fff;
146
+ --disabled: #f6f8ff;
147
+ --disabled-inner: #e1e6f9;
148
+ -webkit-appearance: none;
149
+ -moz-appearance: none;
150
+ height: 21px;
151
+ outline: none;
152
+ display: inline-block;
153
+ vertical-align: top;
154
+ position: relative;
155
+ margin: 0;
156
+ cursor: pointer;
157
+ border: 1px solid var(--bc, var(--border));
158
+ background: var(--b, var(--background));
159
+ transition:
160
+ background 0.3s,
161
+ border-color 0.3s,
162
+ box-shadow 0.2s;
163
+ }
164
+ .checkbox-wrapper-13 input[type=checkbox]:after {
165
+ content: "";
166
+ display: block;
167
+ left: 0;
168
+ top: 0;
169
+ position: absolute;
170
+ transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
171
+ }
172
+ .checkbox-wrapper-13 input[type=checkbox]:checked {
173
+ --b: var(--active);
174
+ --bc: var(--active);
175
+ --d-o: 0.3s;
176
+ --d-t: 0.6s;
177
+ --d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
178
+ }
179
+ .checkbox-wrapper-13 input[type=checkbox]:disabled {
180
+ --b: var(--disabled);
181
+ cursor: not-allowed;
182
+ opacity: 0.9;
183
+ }
184
+ .checkbox-wrapper-13 input[type=checkbox]:disabled:checked {
185
+ --b: var(--disabled-inner);
186
+ --bc: var(--border);
187
+ }
188
+ .checkbox-wrapper-13 input[type=checkbox]:disabled + label {
189
+ cursor: not-allowed;
190
+ }
191
+ .checkbox-wrapper-13 input[type=checkbox]:hover:not(:checked):not(:disabled) {
192
+ --bc: var(--border-hover);
193
+ }
194
+ .checkbox-wrapper-13 input[type=checkbox]:focus {
195
+ box-shadow: 0 0 0 var(--focus);
196
+ }
197
+ .checkbox-wrapper-13 input[type=checkbox]:not(.switch) {
198
+ width: 21px;
199
+ }
200
+ .checkbox-wrapper-13 input[type=checkbox]:not(.switch):after {
201
+ opacity: var(--o, 0);
202
+ }
203
+ .checkbox-wrapper-13 input[type=checkbox]:not(.switch):checked {
204
+ --o: 1;
205
+ }
206
+ .theme-rufous .checkbox-wrapper-13 span {
207
+ color: #fff;
208
+ }
209
+ .checkbox-wrapper-13 input[type=checkbox] + label {
210
+ display: inline-block;
211
+ vertical-align: middle;
212
+ cursor: pointer;
213
+ margin-left: 4px;
214
+ }
215
+ .checkbox-wrapper-13 input[type=checkbox]:not(.switch) {
216
+ border-radius: 7px;
217
+ }
218
+ .checkbox-wrapper-13 input[type=checkbox]:not(.switch):after {
219
+ width: 5px;
220
+ height: 9px;
221
+ border: 2px solid var(--active-inner);
222
+ border-top: 0;
223
+ border-left: 0;
224
+ left: 7px;
225
+ top: 4px;
226
+ transform: rotate(var(--r, 20deg));
227
+ }
228
+ .checkbox-wrapper-13 input[type=checkbox]:not(.switch):checked {
229
+ --r: 43deg;
230
+ }
231
+ }
232
+ .checkbox-wrapper-13 * {
233
+ box-sizing: inherit;
234
+ }
235
+ .checkbox-wrapper-13 *:before,
236
+ .checkbox-wrapper-13 *:after {
237
+ box-sizing: inherit;
238
+ }
239
+ .theme-rufous .act-icon svg {
240
+ color: #a81c08 !important;
241
+ }
242
+ .theme-default .act-icon svg {
243
+ color: #707070 !important;
244
+ }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,106 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // lib/utils/constants.ts
20
+ var constants_exports = {};
21
+ __export(constants_exports, {
22
+ APP_THEMES: () => APP_THEMES
23
+ });
24
+ module.exports = __toCommonJS(constants_exports);
25
+ var APP_THEMES = {
26
+ default: {
27
+ name: "Default",
28
+ primaryColor: "#707070",
29
+ secondaryColor: "#e0e0e0",
30
+ backgroundColor: "#f5f5f5",
31
+ surfaceColor: "#ffffff",
32
+ iconColor: "#707070",
33
+ textColor: "#2d2d2d",
34
+ textSecondaryColor: "#6f6f6f",
35
+ borderColor: "#dcdcdc",
36
+ hoverColor: "#d4d4d4",
37
+ activeColor: "#5a5a5a",
38
+ button: {
39
+ background: "#707070",
40
+ text: "#ffffff",
41
+ hoverBackground: "#5f5f5f",
42
+ disabledBackground: "#cfcfcf"
43
+ },
44
+ input: {
45
+ background: "#ffffff",
46
+ text: "#2d2d2d",
47
+ border: "#ccc",
48
+ placeholder: "#999",
49
+ focusBorder: "#707070"
50
+ },
51
+ card: {
52
+ background: "#ffffff",
53
+ shadow: "0 1px 3px rgba(0,0,0,0.1)"
54
+ },
55
+ sidebar: {
56
+ background: "#e8e8e8",
57
+ text: "#2d2d2d",
58
+ hover: "#dcdcdc"
59
+ },
60
+ success: "#4CAF50",
61
+ warning: "#FFC107",
62
+ error: "#F44336"
63
+ },
64
+ rufous: {
65
+ name: "Rufous",
66
+ primaryColor: "#a81c08",
67
+ secondaryColor: "#f7d4cc",
68
+ backgroundColor: "#fff8f7",
69
+ surfaceColor: "#fff",
70
+ iconColor: "#a81c08",
71
+ textColor: "#2d2d2d",
72
+ textSecondaryColor: "#6f6f6f",
73
+ borderColor: "#e5e5e5",
74
+ hoverColor: "#f3c2b9",
75
+ activeColor: "#c01708",
76
+ button: {
77
+ background: "#a81c08",
78
+ text: "#ffffff",
79
+ hoverBackground: "#8f1907",
80
+ disabledBackground: "#f4cccc"
81
+ },
82
+ input: {
83
+ background: "#ffffff",
84
+ text: "#2d2d2d",
85
+ border: "#ccc",
86
+ placeholder: "#999",
87
+ focusBorder: "#a81c08"
88
+ },
89
+ card: {
90
+ background: "#ffffff",
91
+ shadow: "0 1px 3px rgba(0,0,0,0.1)"
92
+ },
93
+ sidebar: {
94
+ background: "#fff0ed",
95
+ text: "#2d2d2d",
96
+ hover: "#f5e0dc"
97
+ },
98
+ success: "#4CAF50",
99
+ warning: "#FFC107",
100
+ error: "#F44336"
101
+ }
102
+ };
103
+ // Annotate the CommonJS export names for ESM import in node:
104
+ 0 && (module.exports = {
105
+ APP_THEMES
106
+ });