@patterninc/pattern-ui 0.0.0-main.202610080442.f227f6fcab21 → 0.0.0-main.202610080447.adc51530aa9f
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.
|
@@ -38,7 +38,7 @@ function SourceCollected(t0) {
|
|
|
38
38
|
const t3 = isActive && "border-depth-black-4 bg-depth-black-4";
|
|
39
39
|
let t4;
|
|
40
40
|
if ($[7] !== className || $[8] !== t3) {
|
|
41
|
-
t4 = cn("inline-flex items-center justify-center gap-1 rounded-
|
|
41
|
+
t4 = cn("inline-flex items-center justify-center gap-1 rounded-10 p-2", "border border-transparent outline-hidden focus-visible:shadow-outline-primary", "backdrop-blur-xs transition-all", "hover:bg-depth-black-4", "active:scale-95 active:bg-depth-black-4", t3, className);
|
|
42
42
|
$[7] = className;
|
|
43
43
|
$[8] = t3;
|
|
44
44
|
$[9] = t4;
|
package/package.json
CHANGED
|
@@ -34,9 +34,10 @@ export function SourceCollected({
|
|
|
34
34
|
<button
|
|
35
35
|
type='button'
|
|
36
36
|
className={cn(
|
|
37
|
-
'inline-flex items-center justify-center gap-1 rounded-
|
|
38
|
-
'border border-transparent outline-
|
|
39
|
-
|
|
37
|
+
'inline-flex items-center justify-center gap-1 rounded-10 p-2',
|
|
38
|
+
'border border-transparent outline-hidden focus-visible:shadow-outline-primary',
|
|
39
|
+
// Standard blur scale: `backdrop-blur-xs` = 4px.
|
|
40
|
+
'backdrop-blur-xs transition-all',
|
|
40
41
|
'hover:bg-depth-black-4',
|
|
41
42
|
'active:scale-95 active:bg-depth-black-4',
|
|
42
43
|
isActive && 'border-depth-black-4 bg-depth-black-4',
|