@authdog/react-elements 0.0.44 → 0.0.45
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/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +6 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +13 -20
- package/package.json +2 -2
- package/src/components/core/navbar.tsx +5 -3
package/dist/styles.css
CHANGED
|
@@ -572,6 +572,19 @@ video {
|
|
|
572
572
|
color: hsl(var(--foreground));
|
|
573
573
|
font-feature-settings: "rlig" 1, "calt" 1;
|
|
574
574
|
}
|
|
575
|
+
.container {
|
|
576
|
+
width: 100%;
|
|
577
|
+
margin-right: auto;
|
|
578
|
+
margin-left: auto;
|
|
579
|
+
padding-right: 2rem;
|
|
580
|
+
padding-left: 2rem;
|
|
581
|
+
}
|
|
582
|
+
@media (min-width: 1400px) {
|
|
583
|
+
|
|
584
|
+
.container {
|
|
585
|
+
max-width: 1400px;
|
|
586
|
+
}
|
|
587
|
+
}
|
|
575
588
|
.sr-only {
|
|
576
589
|
position: absolute;
|
|
577
590
|
width: 1px;
|
|
@@ -633,9 +646,6 @@ video {
|
|
|
633
646
|
.top-4 {
|
|
634
647
|
top: 1rem;
|
|
635
648
|
}
|
|
636
|
-
.z-40 {
|
|
637
|
-
z-index: 40;
|
|
638
|
-
}
|
|
639
649
|
.z-50 {
|
|
640
650
|
z-index: 50;
|
|
641
651
|
}
|
|
@@ -1132,9 +1142,6 @@ video {
|
|
|
1132
1142
|
.bg-background {
|
|
1133
1143
|
background-color: hsl(var(--background));
|
|
1134
1144
|
}
|
|
1135
|
-
.bg-background\/80 {
|
|
1136
|
-
background-color: hsl(var(--background) / 0.8);
|
|
1137
|
-
}
|
|
1138
1145
|
.bg-black\/50 {
|
|
1139
1146
|
background-color: rgb(0 0 0 / 0.5);
|
|
1140
1147
|
}
|
|
@@ -1593,10 +1600,6 @@ video {
|
|
|
1593
1600
|
-webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
1594
1601
|
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
1595
1602
|
}
|
|
1596
|
-
.backdrop-filter {
|
|
1597
|
-
-webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
1598
|
-
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
1599
|
-
}
|
|
1600
1603
|
.transition {
|
|
1601
1604
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
|
1602
1605
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
@@ -1958,12 +1961,6 @@ video {
|
|
|
1958
1961
|
.group[data-disabled="true"] .group-data-\[disabled\=true\]\:opacity-50 {
|
|
1959
1962
|
opacity: 0.5;
|
|
1960
1963
|
}
|
|
1961
|
-
@supports ((-webkit-backdrop-filter: var(--tw)) or (backdrop-filter: var(--tw))) {
|
|
1962
|
-
|
|
1963
|
-
.supports-\[backdrop-filter\]\:bg-background\/60 {
|
|
1964
|
-
background-color: hsl(var(--background) / 0.6);
|
|
1965
|
-
}
|
|
1966
|
-
}
|
|
1967
1964
|
.dark\:border-amber-400\/40:is(.dark *) {
|
|
1968
1965
|
border-color: rgb(251 191 36 / 0.4);
|
|
1969
1966
|
}
|
|
@@ -2117,10 +2114,6 @@ video {
|
|
|
2117
2114
|
}
|
|
2118
2115
|
@media (min-width: 1024px) {
|
|
2119
2116
|
|
|
2120
|
-
.lg\:max-w-\[80vw\] {
|
|
2121
|
-
max-width: 80vw;
|
|
2122
|
-
}
|
|
2123
|
-
|
|
2124
2117
|
.lg\:grid-cols-4 {
|
|
2125
2118
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
2126
2119
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@authdog/react-elements",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.45",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.mts",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"autoprefixer": "^10",
|
|
21
21
|
"css-loader": "^6.8.1",
|
|
22
22
|
"eslint-plugin-storybook": "^10.1.3",
|
|
23
|
-
"next": "15.
|
|
23
|
+
"next": "15.4.8",
|
|
24
24
|
"postcss": "^8",
|
|
25
25
|
"postcss-cli": "^11.0.1",
|
|
26
26
|
"postcss-import": "^16.1.0",
|
|
@@ -79,14 +79,16 @@ export function Navbar({
|
|
|
79
79
|
return (
|
|
80
80
|
<header
|
|
81
81
|
className={cn(
|
|
82
|
-
|
|
82
|
+
// Keep the navbar simple and predictable so host apps can style around it.
|
|
83
|
+
// We avoid sticky positioning, backdrop filters, and custom width constraints.
|
|
84
|
+
"w-full border-b bg-background",
|
|
83
85
|
className,
|
|
84
86
|
)}
|
|
85
87
|
>
|
|
86
88
|
<div
|
|
87
89
|
className={cn(
|
|
88
|
-
|
|
89
|
-
"w-full
|
|
90
|
+
// Basic centered container with horizontal padding.
|
|
91
|
+
"mx-auto flex h-16 w-full max-w-6xl items-center justify-between px-4 md:px-6",
|
|
90
92
|
)}
|
|
91
93
|
>
|
|
92
94
|
<div className="flex items-center gap-3 md:gap-4">
|