@arclux/arc-ui-html 1.1.0 → 1.3.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 +19 -4
- package/css/badge.css +4 -4
- package/css/button.css +15 -0
- package/package.json +1 -1
package/css/arc-ui.css
CHANGED
|
@@ -352,11 +352,11 @@
|
|
|
352
352
|
display: inline-flex;
|
|
353
353
|
align-items: center;
|
|
354
354
|
gap: var(--space-xs);
|
|
355
|
-
font-family: var(--font-
|
|
356
|
-
font-weight:
|
|
355
|
+
font-family: var(--font-mono);
|
|
356
|
+
font-weight: 500;
|
|
357
357
|
font-size: var(--text-xs);
|
|
358
|
-
letter-spacing:
|
|
359
|
-
text-transform:
|
|
358
|
+
letter-spacing: normal;
|
|
359
|
+
text-transform: none;
|
|
360
360
|
color: var(--text-muted);
|
|
361
361
|
padding: var(--space-xs) var(--space-sm);
|
|
362
362
|
border: 1px solid var(--border-default);
|
|
@@ -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/badge.css
CHANGED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
display: inline-flex;
|
|
8
8
|
align-items: center;
|
|
9
9
|
gap: var(--space-xs);
|
|
10
|
-
font-family: var(--font-
|
|
11
|
-
font-weight:
|
|
10
|
+
font-family: var(--font-mono);
|
|
11
|
+
font-weight: 500;
|
|
12
12
|
font-size: var(--text-xs);
|
|
13
|
-
letter-spacing:
|
|
14
|
-
text-transform:
|
|
13
|
+
letter-spacing: normal;
|
|
14
|
+
text-transform: none;
|
|
15
15
|
color: var(--text-muted);
|
|
16
16
|
padding: var(--space-xs) var(--space-sm);
|
|
17
17
|
border: 1px solid var(--border-default);
|
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,
|