@odx/ui 2.12.0 → 2.12.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.
package/CHANGELOG.md
CHANGED
package/core-theme.css
CHANGED
|
@@ -2568,6 +2568,22 @@ html body .odx-fs-italic {
|
|
|
2568
2568
|
background-color: var(--odx-c-confirmation-disabled);
|
|
2569
2569
|
color: var(--odx-c-confirmation-text-disabled);
|
|
2570
2570
|
}
|
|
2571
|
+
.odx-button--warning {
|
|
2572
|
+
background-color: var(--odx-c-warning);
|
|
2573
|
+
color: var(--odx-c-warning-text);
|
|
2574
|
+
}
|
|
2575
|
+
@media (hover: hover){
|
|
2576
|
+
.odx-button--warning:hover {
|
|
2577
|
+
background-color: var(--odx-c-warning-hover);
|
|
2578
|
+
}
|
|
2579
|
+
}
|
|
2580
|
+
.odx-button--warning.odx-dropdown-host[aria-expanded=true], .odx-button--warning.is-active, .odx-button--warning:active {
|
|
2581
|
+
background-color: var(--odx-c-warning-active);
|
|
2582
|
+
}
|
|
2583
|
+
.odx-button--warning:disabled, .odx-button--warning.is-disabled {
|
|
2584
|
+
background-color: var(--odx-c-warning-disabled);
|
|
2585
|
+
color: var(--odx-c-warning-text-disabled);
|
|
2586
|
+
}
|
|
2571
2587
|
.odx-button--ghost, .odx-main-menu__close, .odx-main-menu-button, .odx-action-group > .odx-button:not(.odx-button--primary, .odx-button--success, .odx-button--danger, .odx-button--confirmation, .odx-auth-sign-in) {
|
|
2572
2588
|
outline: var(--odx-v-outline-width) solid transparent;
|
|
2573
2589
|
outline-offset: calc(-1 * var(--odx-v-outline-width));
|
|
@@ -3544,6 +3560,14 @@ body {
|
|
|
3544
3560
|
background-color: var(--odx-c-danger);
|
|
3545
3561
|
color: var(--odx-c-danger-text);
|
|
3546
3562
|
}
|
|
3563
|
+
.odx-chip--warning {
|
|
3564
|
+
background-color: var(--odx-c-warning);
|
|
3565
|
+
color: var(--odx-c-warning-text);
|
|
3566
|
+
}
|
|
3567
|
+
.odx-chip--confirmation {
|
|
3568
|
+
background-color: var(--odx-c-confirmation);
|
|
3569
|
+
color: var(--odx-c-confirmation-text);
|
|
3570
|
+
}
|
|
3547
3571
|
|
|
3548
3572
|
.odx-chip-list {
|
|
3549
3573
|
display: flex;
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
@use 'icon.component';
|
|
11
11
|
|
|
12
12
|
.odx-button {
|
|
13
|
-
$variants: secondary, primary, highlight, success, danger, confirmation;
|
|
13
|
+
$variants: secondary, primary, highlight, success, danger, confirmation, warning;
|
|
14
14
|
$icon-margin: 0.25;
|
|
15
15
|
|
|
16
16
|
@extend .odx-button--secondary;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
@use '../abstract/motion';
|
|
5
5
|
@use '../abstract/typography';
|
|
6
6
|
|
|
7
|
-
$sizes:
|
|
8
|
-
$variants:
|
|
7
|
+
$sizes: small 1 -1, medium 1.5 0;
|
|
8
|
+
$variants: secondary, highlight, success, danger, warning, confirmation;
|
|
9
9
|
|
|
10
10
|
.odx-chip {
|
|
11
11
|
$root: &;
|