@arclux/arc-ui-html 1.1.0 → 1.2.0
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/css/arc-ui.css +15 -0
- package/css/button.css +15 -0
- package/package.json +1 -1
package/css/arc-ui.css
CHANGED
|
@@ -2084,6 +2084,21 @@
|
|
|
2084
2084
|
/* Disabled */
|
|
2085
2085
|
.arc-button[disabled] .btn { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
|
|
2086
2086
|
|
|
2087
|
+
/* Prefix / Suffix */
|
|
2088
|
+
.arc-button .btn__prefix,
|
|
2089
|
+
.arc-button .btn__suffix {
|
|
2090
|
+
display: inline-flex;
|
|
2091
|
+
align-items: center;
|
|
2092
|
+
}
|
|
2093
|
+
|
|
2094
|
+
.arc-button .btn__prefix--empty,
|
|
2095
|
+
.arc-button .btn__suffix--empty { display: none; }
|
|
2096
|
+
|
|
2097
|
+
::slotted([slot="prefix"]),
|
|
2098
|
+
::slotted([slot="suffix"]) {
|
|
2099
|
+
display: flex;
|
|
2100
|
+
}
|
|
2101
|
+
|
|
2087
2102
|
@media (prefers-reduced-motion: reduce) {
|
|
2088
2103
|
.arc-button *,
|
|
2089
2104
|
.arc-button *::before,
|
package/css/button.css
CHANGED
|
@@ -83,6 +83,21 @@
|
|
|
83
83
|
/* Disabled */
|
|
84
84
|
.arc-button[disabled] .btn { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
|
|
85
85
|
|
|
86
|
+
/* Prefix / Suffix */
|
|
87
|
+
.arc-button .btn__prefix,
|
|
88
|
+
.arc-button .btn__suffix {
|
|
89
|
+
display: inline-flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.arc-button .btn__prefix--empty,
|
|
94
|
+
.arc-button .btn__suffix--empty { display: none; }
|
|
95
|
+
|
|
96
|
+
::slotted([slot="prefix"]),
|
|
97
|
+
::slotted([slot="suffix"]) {
|
|
98
|
+
display: flex;
|
|
99
|
+
}
|
|
100
|
+
|
|
86
101
|
@media (prefers-reduced-motion: reduce) {
|
|
87
102
|
.arc-button *,
|
|
88
103
|
.arc-button *::before,
|