@react5/ui 1.0.24 → 1.0.26

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react5/ui",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "description": "A React UI library.",
5
5
  "homepage": "https://github.com/react5com/ui#readme",
6
6
  "bugs": {
@@ -81,12 +81,6 @@
81
81
  .r5ui-button:not(:disabled):hover {
82
82
  color: var(--primary_text_color_highlight, #F06060);
83
83
  }
84
- .r5ui-button__disabled {
85
- background-color: var(--disabled_bg_color, #e0e0e0);
86
- color: var(--disabled_text_color, #b0b0b0);
87
- border-color: var(--disabled_border_color, #d0d0d0);
88
- cursor: not-allowed;
89
- }
90
84
  .r5ui-button__primary {
91
85
  background-color: var(--primary_bg_color, #675143);
92
86
  color: var(--primary_text_color, #ffffff);
@@ -97,6 +91,12 @@
97
91
  color: var(--secondary_text_color, #5C4B51);
98
92
  border-color: var(--secondary_border_color, #ccc);
99
93
  }
94
+ .r5ui-button__disabled {
95
+ background-color: var(--disabled_bg_color, #e0e0e0);
96
+ color: var(--disabled_text_color, #b0b0b0);
97
+ border-color: var(--disabled_border_color, #d0d0d0);
98
+ cursor: not-allowed;
99
+ }
100
100
  .r5ui-button__link {
101
101
  background: none;
102
102
  border: none;
@@ -109,6 +109,14 @@
109
109
  color: var(--link_color_highlight, #26274c);
110
110
  text-decoration: underline;
111
111
  }
112
+ .r5ui-button__disabled {
113
+ color: var(--disabled_text_color, #b0b0b0);
114
+ cursor: not-allowed;
115
+ }
116
+ .r5ui-button__disabled:hover {
117
+ color: var(--disabled_text_color, #b0b0b0);
118
+ text-decoration: none;
119
+ }
112
120
 
113
121
  .r5ui-buttons-group {
114
122
  display: flex;
@@ -146,12 +146,6 @@ $title_font: var(--title_font, 'Poppins', serif);
146
146
  color: $primary_text_color_highlight;
147
147
  }
148
148
 
149
- &__disabled {
150
- background-color: $disabled_bg_color;
151
- color: $disabled_text_color;
152
- border-color: $disabled_border_color;
153
- cursor: not-allowed;
154
- }
155
149
  &__primary {
156
150
  background-color: $primary_bg_color;
157
151
  color: $primary_text_color;
@@ -162,6 +156,12 @@ $title_font: var(--title_font, 'Poppins', serif);
162
156
  color: $secondary_text_color;
163
157
  border-color: $secondary_border_color;
164
158
  }
159
+ &__disabled {
160
+ background-color: $disabled_bg_color;
161
+ color: $disabled_text_color;
162
+ border-color: $disabled_border_color;
163
+ cursor: not-allowed;
164
+ }
165
165
  &__link {
166
166
  background: none;
167
167
  border: none;
@@ -175,6 +175,14 @@ $title_font: var(--title_font, 'Poppins', serif);
175
175
  text-decoration: underline;
176
176
  }
177
177
  }
178
+ &__disabled {
179
+ color: $disabled_text_color;
180
+ cursor: not-allowed;
181
+ &:hover {
182
+ color: $disabled_text_color;
183
+ text-decoration: none;
184
+ }
185
+ }
178
186
  }
179
187
  .r5ui-buttons-group {
180
188
  display: flex;
@@ -81,12 +81,6 @@
81
81
  .r5ui-button:not(:disabled):hover {
82
82
  color: var(--primary_text_color_highlight, #F06060);
83
83
  }
84
- .r5ui-button__disabled {
85
- background-color: var(--disabled_bg_color, #e0e0e0);
86
- color: var(--disabled_text_color, #b0b0b0);
87
- border-color: var(--disabled_border_color, #d0d0d0);
88
- cursor: not-allowed;
89
- }
90
84
  .r5ui-button__primary {
91
85
  background-color: var(--primary_bg_color, #675143);
92
86
  color: var(--primary_text_color, #ffffff);
@@ -97,6 +91,12 @@
97
91
  color: var(--secondary_text_color, #5C4B51);
98
92
  border-color: var(--secondary_border_color, #ccc);
99
93
  }
94
+ .r5ui-button__disabled {
95
+ background-color: var(--disabled_bg_color, #e0e0e0);
96
+ color: var(--disabled_text_color, #b0b0b0);
97
+ border-color: var(--disabled_border_color, #d0d0d0);
98
+ cursor: not-allowed;
99
+ }
100
100
  .r5ui-button__link {
101
101
  background: none;
102
102
  border: none;
@@ -109,6 +109,14 @@
109
109
  color: var(--link_color_highlight, #26274c);
110
110
  text-decoration: underline;
111
111
  }
112
+ .r5ui-button__disabled {
113
+ color: var(--disabled_text_color, #b0b0b0);
114
+ cursor: not-allowed;
115
+ }
116
+ .r5ui-button__disabled:hover {
117
+ color: var(--disabled_text_color, #b0b0b0);
118
+ text-decoration: none;
119
+ }
112
120
 
113
121
  .r5ui-buttons-group {
114
122
  display: flex;
@@ -146,12 +146,6 @@ $title_font: var(--title_font, 'Poppins', serif);
146
146
  color: $primary_text_color_highlight;
147
147
  }
148
148
 
149
- &__disabled {
150
- background-color: $disabled_bg_color;
151
- color: $disabled_text_color;
152
- border-color: $disabled_border_color;
153
- cursor: not-allowed;
154
- }
155
149
  &__primary {
156
150
  background-color: $primary_bg_color;
157
151
  color: $primary_text_color;
@@ -162,6 +156,12 @@ $title_font: var(--title_font, 'Poppins', serif);
162
156
  color: $secondary_text_color;
163
157
  border-color: $secondary_border_color;
164
158
  }
159
+ &__disabled {
160
+ background-color: $disabled_bg_color;
161
+ color: $disabled_text_color;
162
+ border-color: $disabled_border_color;
163
+ cursor: not-allowed;
164
+ }
165
165
  &__link {
166
166
  background: none;
167
167
  border: none;
@@ -175,6 +175,14 @@ $title_font: var(--title_font, 'Poppins', serif);
175
175
  text-decoration: underline;
176
176
  }
177
177
  }
178
+ &__disabled {
179
+ color: $disabled_text_color;
180
+ cursor: not-allowed;
181
+ &:hover {
182
+ color: $disabled_text_color;
183
+ text-decoration: none;
184
+ }
185
+ }
178
186
  }
179
187
  .r5ui-buttons-group {
180
188
  display: flex;
@@ -23,12 +23,6 @@
23
23
  color: $primary_text_color_highlight;
24
24
  }
25
25
 
26
- &__disabled {
27
- background-color: $disabled_bg_color;
28
- color: $disabled_text_color;
29
- border-color: $disabled_border_color;
30
- cursor: not-allowed;
31
- }
32
26
  &__primary {
33
27
  background-color: $primary_bg_color;
34
28
  color: $primary_text_color;
@@ -39,6 +33,12 @@
39
33
  color: $secondary_text_color;
40
34
  border-color: $secondary_border_color;
41
35
  }
36
+ &__disabled {
37
+ background-color: $disabled_bg_color;
38
+ color: $disabled_text_color;
39
+ border-color: $disabled_border_color;
40
+ cursor: not-allowed;
41
+ }
42
42
  &__link {
43
43
  background: none;
44
44
  border: none;
@@ -52,4 +52,12 @@
52
52
  text-decoration: underline;
53
53
  }
54
54
  }
55
+ &__disabled {
56
+ color: $disabled_text_color;
57
+ cursor: not-allowed;
58
+ &:hover {
59
+ color: $disabled_text_color;
60
+ text-decoration: none;
61
+ }
62
+ }
55
63
  }