@linzjs/lui 17.5.8 → 17.5.11
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/CHANGELOG.md +16 -0
- package/dist/assets/icons/add_multiple.svg +1 -1
- package/dist/assets/svg-content.tsx +1 -1
- package/dist/components/LuiSearchBox/LuiSearchBox.d.ts +2 -1
- package/dist/components/LuiSearchInput/LuiSearchInput.d.ts +1 -0
- package/dist/index.js +23 -3
- package/dist/index.js.map +1 -1
- package/dist/lui.css +1 -1
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +23 -3
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Elements/Buttons/buttons.scss +28 -22
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ $strokeWeight: 1px;
|
|
|
11
11
|
$reversed-btn-active-txt: rgba(255, 255, 255, 0.6);
|
|
12
12
|
$reversed-no-bg-btn-active-txt: rgba(255, 255, 255, 0.8);
|
|
13
13
|
$disabled-reversed-no-bg-btn-txt: rgba(255, 255, 255, 0.4);
|
|
14
|
-
$btnLine-height: 24px;
|
|
14
|
+
$btnLine-height: 24px;
|
|
15
15
|
|
|
16
16
|
// reset buttons and base styling for all
|
|
17
17
|
|
|
@@ -20,7 +20,7 @@ $btnLine-height: 24px;
|
|
|
20
20
|
font-size: 1rem;
|
|
21
21
|
line-height: $btnLine-height;
|
|
22
22
|
margin: 0;
|
|
23
|
-
padding: rem(7px) spacing.$unit-xs *2; //magic number to allow for 1px border to add to height
|
|
23
|
+
padding: rem(7px) spacing.$unit-xs * 2; //magic number to allow for 1px border to add to height
|
|
24
24
|
border: none;
|
|
25
25
|
border-radius: misc.$borderRadius;
|
|
26
26
|
transition: background-color 0.3s, color 0.3s, height 0.3s, border 0.3s,
|
|
@@ -133,7 +133,8 @@ a.lui-button {
|
|
|
133
133
|
text-align: center;
|
|
134
134
|
|
|
135
135
|
&.lui-button-icon-right {
|
|
136
|
-
padding: spacing.$unit-xxs spacing.$unit-xs spacing.$unit-xs
|
|
136
|
+
padding: spacing.$unit-xxs spacing.$unit-xs spacing.$unit-xs
|
|
137
|
+
spacing.$unit-sm; // magic numbers to account for border
|
|
137
138
|
|
|
138
139
|
.LuiIcon {
|
|
139
140
|
margin: 3px 0 -7px 12px; // magic numbers to allow the resize to work but to be fixed by future LUI buttons
|
|
@@ -194,24 +195,30 @@ a.lui-button {
|
|
|
194
195
|
}
|
|
195
196
|
|
|
196
197
|
&:hover i {
|
|
197
|
-
color:
|
|
198
|
+
color: colors.$sea;
|
|
198
199
|
}
|
|
199
200
|
}
|
|
200
201
|
|
|
201
202
|
&-tertiary {
|
|
202
|
-
@include button-builder(
|
|
203
|
+
@include button-builder(
|
|
204
|
+
colors.$sea,
|
|
205
|
+
transparent,
|
|
206
|
+
transparent,
|
|
207
|
+
0px,
|
|
208
|
+
$btnLine-height - 2px
|
|
209
|
+
);
|
|
203
210
|
@include button-states-builder(
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
211
|
+
colors.$sea,
|
|
212
|
+
colors.$tertiary-hover-btn,
|
|
213
|
+
#fff,
|
|
214
|
+
$reversed-btn-active-txt,
|
|
215
|
+
colors.$tertiary-active-btn,
|
|
216
|
+
#fff
|
|
210
217
|
);
|
|
211
218
|
@include fonts.font-regular();
|
|
212
219
|
|
|
213
220
|
border: none;
|
|
214
|
-
margin: 2px;
|
|
221
|
+
margin: 2px; //account for the slightly smaller button size;
|
|
215
222
|
|
|
216
223
|
&:hover {
|
|
217
224
|
border: none;
|
|
@@ -240,17 +247,17 @@ a.lui-button {
|
|
|
240
247
|
}
|
|
241
248
|
}
|
|
242
249
|
|
|
243
|
-
&-success{
|
|
250
|
+
&-success {
|
|
244
251
|
// var $btnTxtCol, $btnBgCol, $borderCol, $myStrokeWeight : 2px, $myBtnLineHeight : 40px
|
|
245
252
|
@include button-builder(#fff, colors.$green-btn, colors.$green-btn);
|
|
246
253
|
// var $btnTxtColHover, $btnBgColHover, $borderColHover, $btnTxtColActive, $btnBgColActive, $borderColActive
|
|
247
254
|
@include button-states-builder(
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
255
|
+
#fff,
|
|
256
|
+
colors.$green-hover,
|
|
257
|
+
colors.$green-hover,
|
|
258
|
+
$reversed-btn-active-txt,
|
|
259
|
+
colors.$green-active,
|
|
260
|
+
colors.$green-active
|
|
254
261
|
);
|
|
255
262
|
}
|
|
256
263
|
|
|
@@ -348,7 +355,6 @@ a.lui-button {
|
|
|
348
355
|
//border: 0;
|
|
349
356
|
text-decoration: underline;
|
|
350
357
|
|
|
351
|
-
|
|
352
358
|
&:hover {
|
|
353
359
|
cursor: not-allowed;
|
|
354
360
|
}
|
|
@@ -444,7 +450,8 @@ a.lui-button {
|
|
|
444
450
|
svg * {
|
|
445
451
|
color: #fff;
|
|
446
452
|
}
|
|
447
|
-
&:disabled,
|
|
453
|
+
&:disabled,
|
|
454
|
+
&:disabled:hover {
|
|
448
455
|
color: $disabled-reversed-no-bg-btn-txt;
|
|
449
456
|
|
|
450
457
|
i,
|
|
@@ -672,7 +679,6 @@ a.lui-button {
|
|
|
672
679
|
color: colors.$disabled-color;
|
|
673
680
|
cursor: not-allowed;
|
|
674
681
|
}
|
|
675
|
-
|
|
676
682
|
}
|
|
677
683
|
|
|
678
684
|
&--radio {
|
package/package.json
CHANGED