@rufous/ui 0.1.7 → 0.1.8

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 (98) hide show
  1. package/README.md +485 -158
  2. package/dist/{Buttons/Button.cjs → chunk-LI4N7JWK.js} +11 -14
  3. package/dist/esm-5T53WHPT.js +27362 -0
  4. package/dist/main.cjs +36982 -762
  5. package/dist/main.css +13256 -193
  6. package/dist/main.d.cts +1526 -15
  7. package/dist/main.d.ts +1526 -15
  8. package/dist/main.js +8039 -45
  9. package/package.json +14 -3
  10. package/dist/Buttons/Button.d.cjs +0 -17
  11. package/dist/Buttons/Button.d.cts +0 -10
  12. package/dist/Buttons/Button.d.d.cts +0 -10
  13. package/dist/Buttons/Button.d.d.ts +0 -10
  14. package/dist/Buttons/Button.d.js +0 -0
  15. package/dist/Buttons/Button.d.ts +0 -10
  16. package/dist/Buttons/Button.js +0 -6
  17. package/dist/CheckBoxes/CheckBox.cjs +0 -62
  18. package/dist/CheckBoxes/CheckBox.d.cjs +0 -17
  19. package/dist/CheckBoxes/CheckBox.d.cts +0 -15
  20. package/dist/CheckBoxes/CheckBox.d.d.cts +0 -15
  21. package/dist/CheckBoxes/CheckBox.d.d.ts +0 -15
  22. package/dist/CheckBoxes/CheckBox.d.js +0 -0
  23. package/dist/CheckBoxes/CheckBox.d.ts +0 -15
  24. package/dist/CheckBoxes/CheckBox.js +0 -6
  25. package/dist/Contexts/rufousThemeProvider.cjs +0 -177
  26. package/dist/Contexts/rufousThemeProvider.d.cts +0 -8
  27. package/dist/Contexts/rufousThemeProvider.d.ts +0 -8
  28. package/dist/Contexts/rufousThemeProvider.js +0 -9
  29. package/dist/TextFields/FloatingInput.cjs +0 -65
  30. package/dist/TextFields/FloatingInput.d.cjs +0 -17
  31. package/dist/TextFields/FloatingInput.d.cts +0 -23
  32. package/dist/TextFields/FloatingInput.d.d.cts +0 -23
  33. package/dist/TextFields/FloatingInput.d.d.ts +0 -23
  34. package/dist/TextFields/FloatingInput.d.js +0 -0
  35. package/dist/TextFields/FloatingInput.d.ts +0 -23
  36. package/dist/TextFields/FloatingInput.js +0 -6
  37. package/dist/chunk-2FHTGYR4.js +0 -83
  38. package/dist/chunk-3IBCGGN3.js +0 -48
  39. package/dist/chunk-6FEUS4CQ.js +0 -41
  40. package/dist/chunk-73G3VTVS.js +0 -48
  41. package/dist/chunk-ASP3DBRX.js +0 -9
  42. package/dist/chunk-AWA5Y5LH.js +0 -32
  43. package/dist/chunk-BCGCLMKA.js +0 -71
  44. package/dist/chunk-D7SFBVJY.js +0 -155
  45. package/dist/chunk-H372BAXA.js +0 -42
  46. package/dist/chunk-PULIGWAP.js +0 -62
  47. package/dist/chunk-QJPQC544.js +0 -29
  48. package/dist/chunk-QKDJLUKZ.js +0 -29
  49. package/dist/chunk-QZFGQ5JM.js +0 -157
  50. package/dist/chunk-WZAU77G7.js +0 -55
  51. package/dist/chunk-ZZ37BKUK.js +0 -0
  52. package/dist/icons/archivedIcon.cjs +0 -77
  53. package/dist/icons/archivedIcon.d.cts +0 -8
  54. package/dist/icons/archivedIcon.d.ts +0 -8
  55. package/dist/icons/archivedIcon.js +0 -6
  56. package/dist/icons/copyIcon.cjs +0 -70
  57. package/dist/icons/copyIcon.d.cts +0 -8
  58. package/dist/icons/copyIcon.d.ts +0 -8
  59. package/dist/icons/copyIcon.js +0 -6
  60. package/dist/icons/editIcon.cjs +0 -71
  61. package/dist/icons/editIcon.d.cts +0 -8
  62. package/dist/icons/editIcon.d.ts +0 -8
  63. package/dist/icons/editIcon.js +0 -6
  64. package/dist/icons/helpOutlinedIcon.cjs +0 -91
  65. package/dist/icons/helpOutlinedIcon.d.cts +0 -8
  66. package/dist/icons/helpOutlinedIcon.d.ts +0 -8
  67. package/dist/icons/helpOutlinedIcon.js +0 -6
  68. package/dist/icons/hierarchyIcon.cjs +0 -84
  69. package/dist/icons/hierarchyIcon.d.cts +0 -8
  70. package/dist/icons/hierarchyIcon.d.ts +0 -8
  71. package/dist/icons/hierarchyIcon.js +0 -6
  72. package/dist/icons/index.cjs +0 -664
  73. package/dist/icons/index.d.cts +0 -10
  74. package/dist/icons/index.d.ts +0 -10
  75. package/dist/icons/index.js +0 -39
  76. package/dist/icons/nineDotMenuIcon.cjs +0 -184
  77. package/dist/icons/nineDotMenuIcon.d.cts +0 -8
  78. package/dist/icons/nineDotMenuIcon.d.ts +0 -8
  79. package/dist/icons/nineDotMenuIcon.js +0 -6
  80. package/dist/icons/rufousLauncherBird.cjs +0 -186
  81. package/dist/icons/rufousLauncherBird.d.cts +0 -8
  82. package/dist/icons/rufousLauncherBird.d.ts +0 -8
  83. package/dist/icons/rufousLauncherBird.js +0 -6
  84. package/dist/icons/unArchivedIcon.cjs +0 -77
  85. package/dist/icons/unArchivedIcon.d.cts +0 -8
  86. package/dist/icons/unArchivedIcon.d.ts +0 -8
  87. package/dist/icons/unArchivedIcon.js +0 -6
  88. package/dist/icons/workItemIcon.cjs +0 -58
  89. package/dist/icons/workItemIcon.d.cts +0 -8
  90. package/dist/icons/workItemIcon.d.ts +0 -8
  91. package/dist/icons/workItemIcon.js +0 -6
  92. package/dist/style.css +0 -246
  93. package/dist/style.d.cts +0 -2
  94. package/dist/style.d.ts +0 -2
  95. package/dist/utils/constants.cjs +0 -106
  96. package/dist/utils/constants.d.cts +0 -80
  97. package/dist/utils/constants.d.ts +0 -80
  98. package/dist/utils/constants.js +0 -6
package/dist/style.css DELETED
@@ -1,246 +0,0 @@
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
- }
245
- .act-icon {
246
- }
package/dist/style.d.cts DELETED
@@ -1,2 +0,0 @@
1
-
2
- export { }
package/dist/style.d.ts DELETED
@@ -1,2 +0,0 @@
1
-
2
- export { }
@@ -1,106 +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 __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
- });
@@ -1,80 +0,0 @@
1
- declare const APP_THEMES: {
2
- default: {
3
- name: string;
4
- primaryColor: string;
5
- secondaryColor: string;
6
- backgroundColor: string;
7
- surfaceColor: string;
8
- iconColor: string;
9
- textColor: string;
10
- textSecondaryColor: string;
11
- borderColor: string;
12
- hoverColor: string;
13
- activeColor: string;
14
- button: {
15
- background: string;
16
- text: string;
17
- hoverBackground: string;
18
- disabledBackground: string;
19
- };
20
- input: {
21
- background: string;
22
- text: string;
23
- border: string;
24
- placeholder: string;
25
- focusBorder: string;
26
- };
27
- card: {
28
- background: string;
29
- shadow: string;
30
- };
31
- sidebar: {
32
- background: string;
33
- text: string;
34
- hover: string;
35
- };
36
- success: string;
37
- warning: string;
38
- error: string;
39
- };
40
- rufous: {
41
- name: string;
42
- primaryColor: string;
43
- secondaryColor: string;
44
- backgroundColor: string;
45
- surfaceColor: string;
46
- iconColor: string;
47
- textColor: string;
48
- textSecondaryColor: string;
49
- borderColor: string;
50
- hoverColor: string;
51
- activeColor: string;
52
- button: {
53
- background: string;
54
- text: string;
55
- hoverBackground: string;
56
- disabledBackground: string;
57
- };
58
- input: {
59
- background: string;
60
- text: string;
61
- border: string;
62
- placeholder: string;
63
- focusBorder: string;
64
- };
65
- card: {
66
- background: string;
67
- shadow: string;
68
- };
69
- sidebar: {
70
- background: string;
71
- text: string;
72
- hover: string;
73
- };
74
- success: string;
75
- warning: string;
76
- error: string;
77
- };
78
- };
79
-
80
- export { APP_THEMES };
@@ -1,80 +0,0 @@
1
- declare const APP_THEMES: {
2
- default: {
3
- name: string;
4
- primaryColor: string;
5
- secondaryColor: string;
6
- backgroundColor: string;
7
- surfaceColor: string;
8
- iconColor: string;
9
- textColor: string;
10
- textSecondaryColor: string;
11
- borderColor: string;
12
- hoverColor: string;
13
- activeColor: string;
14
- button: {
15
- background: string;
16
- text: string;
17
- hoverBackground: string;
18
- disabledBackground: string;
19
- };
20
- input: {
21
- background: string;
22
- text: string;
23
- border: string;
24
- placeholder: string;
25
- focusBorder: string;
26
- };
27
- card: {
28
- background: string;
29
- shadow: string;
30
- };
31
- sidebar: {
32
- background: string;
33
- text: string;
34
- hover: string;
35
- };
36
- success: string;
37
- warning: string;
38
- error: string;
39
- };
40
- rufous: {
41
- name: string;
42
- primaryColor: string;
43
- secondaryColor: string;
44
- backgroundColor: string;
45
- surfaceColor: string;
46
- iconColor: string;
47
- textColor: string;
48
- textSecondaryColor: string;
49
- borderColor: string;
50
- hoverColor: string;
51
- activeColor: string;
52
- button: {
53
- background: string;
54
- text: string;
55
- hoverBackground: string;
56
- disabledBackground: string;
57
- };
58
- input: {
59
- background: string;
60
- text: string;
61
- border: string;
62
- placeholder: string;
63
- focusBorder: string;
64
- };
65
- card: {
66
- background: string;
67
- shadow: string;
68
- };
69
- sidebar: {
70
- background: string;
71
- text: string;
72
- hover: string;
73
- };
74
- success: string;
75
- warning: string;
76
- error: string;
77
- };
78
- };
79
-
80
- export { APP_THEMES };
@@ -1,6 +0,0 @@
1
- import {
2
- APP_THEMES
3
- } from "../chunk-2FHTGYR4.js";
4
- export {
5
- APP_THEMES
6
- };