@authdog/react-elements 0.0.50 → 0.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/dist/components/ui/alert.d.mts +12 -0
- package/dist/components/ui/alert.d.ts +12 -0
- package/dist/components/ui/alert.js.map +1 -1
- package/dist/components/ui/alert.mjs.map +1 -1
- package/dist/components/ui/avatar.d.mts +8 -0
- package/dist/components/ui/avatar.d.ts +8 -0
- package/dist/components/ui/avatar.js.map +1 -1
- package/dist/components/ui/avatar.mjs.map +1 -1
- package/dist/components/ui/badge.d.mts +12 -0
- package/dist/components/ui/badge.d.ts +12 -0
- package/dist/components/ui/badge.js.map +1 -1
- package/dist/components/ui/badge.mjs.map +1 -1
- package/dist/components/ui/button.d.mts +14 -0
- package/dist/components/ui/button.d.ts +14 -0
- package/dist/components/ui/button.js.map +1 -1
- package/dist/components/ui/button.mjs.map +1 -1
- package/dist/components/ui/card.d.mts +11 -0
- package/dist/components/ui/card.d.ts +11 -0
- package/dist/components/ui/card.js.map +1 -1
- package/dist/components/ui/card.mjs.map +1 -1
- package/dist/components/ui/dropdown-menu.d.mts +27 -0
- package/dist/components/ui/dropdown-menu.d.ts +27 -0
- package/dist/components/ui/dropdown-menu.js.map +1 -1
- package/dist/components/ui/dropdown-menu.mjs.map +1 -1
- package/dist/components/ui/input.d.mts +5 -0
- package/dist/components/ui/input.d.ts +5 -0
- package/dist/components/ui/input.js.map +1 -1
- package/dist/components/ui/input.mjs.map +1 -1
- package/dist/components/ui/label.d.mts +6 -0
- package/dist/components/ui/label.d.ts +6 -0
- package/dist/components/ui/label.js.map +1 -1
- package/dist/components/ui/label.mjs.map +1 -1
- package/dist/components/ui/separator.d.mts +6 -0
- package/dist/components/ui/separator.d.ts +6 -0
- package/dist/components/ui/separator.js.map +1 -1
- package/dist/components/ui/separator.mjs.map +1 -1
- package/dist/components/ui/sheet.d.mts +15 -0
- package/dist/components/ui/sheet.d.ts +15 -0
- package/dist/components/ui/sheet.js.map +1 -1
- package/dist/components/ui/sheet.mjs.map +1 -1
- package/dist/components/ui/theme-toggle.d.mts +5 -0
- package/dist/components/ui/theme-toggle.d.ts +5 -0
- package/dist/components/ui/theme-toggle.js.map +1 -1
- package/dist/components/ui/theme-toggle.mjs.map +1 -1
- package/dist/index.d.mts +12 -21
- package/dist/index.d.ts +12 -21
- 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/lib/utils.d.mts +5 -0
- package/dist/lib/utils.d.ts +5 -0
- package/dist/lib/utils.js.map +1 -1
- package/dist/lib/utils.mjs.map +1 -1
- package/dist/styles.css +1 -4
- package/package.json +40 -25
- package/.eslintrc.js +0 -9
- package/.storybook/main.ts +0 -21
- package/.storybook/preview.ts +0 -17
- package/.storybook/vitest.setup.ts +0 -7
- package/.turbo/turbo-build.log +0 -77
- package/CHANGELOG.md +0 -292
- package/components.json +0 -20
- package/postcss.config.mjs +0 -11
- package/src/components/core/client-only.tsx +0 -15
- package/src/components/core/navbar.tsx +0 -312
- package/src/components/core/placeholder-alert.tsx +0 -23
- package/src/components/core/user-dropdown.tsx +0 -160
- package/src/components/core/user-profile.tsx +0 -521
- package/src/components/flow/login.tsx +0 -167
- package/src/components/flow/totp-validator.tsx +0 -252
- package/src/components/icons.tsx +0 -30
- package/src/components/ui/alert.tsx +0 -66
- package/src/components/ui/avatar.tsx +0 -53
- package/src/components/ui/badge.tsx +0 -46
- package/src/components/ui/button.tsx +0 -56
- package/src/components/ui/card.tsx +0 -92
- package/src/components/ui/dropdown-menu.tsx +0 -265
- package/src/components/ui/input.tsx +0 -21
- package/src/components/ui/label.tsx +0 -24
- package/src/components/ui/separator.tsx +0 -28
- package/src/components/ui/sheet.tsx +0 -142
- package/src/components/ui/theme-toggle.tsx +0 -56
- package/src/global.css +0 -81
- package/src/index.ts +0 -8
- package/src/lib/utils.ts +0 -6
- package/src/stories/core/Navbar.stories.tsx +0 -93
- package/src/stories/core/PlaceholderAlert.stories.tsx +0 -23
- package/src/stories/core/UserDropdown.stories.tsx +0 -56
- package/src/stories/core/UserProfile.stories.tsx +0 -47
- package/src/stories/flow/LoginForm.stories.tsx +0 -20
- package/src/stories/flow/TotpValidator.stories.tsx +0 -23
- package/src/stories/showcase/Landing.stories.tsx +0 -376
- package/src/stories/ui/Button.stories.tsx +0 -45
- package/src/types.ts +0 -0
- package/tailwind.config.ts +0 -82
- package/tsconfig.json +0 -11
- package/tsup.config.ts +0 -31
- package/vitest.config.ts +0 -39
- package/vitest.shims.d.ts +0 -1
- package/wrangler.prod.toml +0 -4
package/dist/styles.css
CHANGED
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
--tw-contain-paint: ;
|
|
106
106
|
--tw-contain-style: ;
|
|
107
107
|
}/*
|
|
108
|
-
! tailwindcss v3.4.
|
|
108
|
+
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
|
|
109
109
|
*//*
|
|
110
110
|
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
111
111
|
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
|
@@ -1603,13 +1603,10 @@ video {
|
|
|
1603
1603
|
}
|
|
1604
1604
|
.backdrop-blur {
|
|
1605
1605
|
--tw-backdrop-blur: blur(8px);
|
|
1606
|
-
-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);
|
|
1607
1606
|
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);
|
|
1608
1607
|
}
|
|
1609
1608
|
.transition {
|
|
1610
|
-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
|
1611
1609
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
1612
|
-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
|
|
1613
1610
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
1614
1611
|
transition-duration: 150ms;
|
|
1615
1612
|
}
|
package/package.json
CHANGED
|
@@ -1,15 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@authdog/react-elements",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
|
-
"types": "./dist/index.d.
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist/"
|
|
9
|
+
],
|
|
10
|
+
"sideEffects": [
|
|
11
|
+
"./dist/global.css",
|
|
12
|
+
"./dist/styles.css"
|
|
13
|
+
],
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/authdog-labs/web-sdk.git",
|
|
17
|
+
"directory": "packages/react-elements"
|
|
18
|
+
},
|
|
19
|
+
"homepage": "https://github.com/authdog-labs/web-sdk/tree/main/packages/react-elements#readme",
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/authdog-labs/web-sdk/issues"
|
|
22
|
+
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"ui": "bunx shadcn@latest",
|
|
25
|
+
"lint": "eslint .",
|
|
26
|
+
"build:styles": "postcss src/global.css -o dist/styles.css",
|
|
27
|
+
"build": "tsup && bun run build:styles",
|
|
28
|
+
"storybook": "storybook dev -p 7007",
|
|
29
|
+
"build-storybook": "storybook build",
|
|
30
|
+
"deploy-docs": "bun run build-storybook && cp wrangler.prod.toml wrangler.toml && wrangler pages deploy"
|
|
31
|
+
},
|
|
7
32
|
"peerDependencies": {
|
|
8
|
-
"react": "19.0.0",
|
|
9
|
-
"react-dom": "19.0.0"
|
|
33
|
+
"react": "^18.2.0 || ^19.0.0",
|
|
34
|
+
"react-dom": "^18.2.0 || ^19.0.0"
|
|
10
35
|
},
|
|
11
36
|
"devDependencies": {
|
|
37
|
+
"@authdog/eslint-config": "workspace:*",
|
|
38
|
+
"@authdog/typescript-config": "workspace:*",
|
|
12
39
|
"@storybook/addon-a11y": "^10.1.3",
|
|
40
|
+
"eslint": "^9.15.0",
|
|
13
41
|
"@storybook/addon-docs": "10.1.3",
|
|
14
42
|
"@storybook/addon-links": "^10.1.3",
|
|
15
43
|
"@storybook/react-vite": "^10.1.3",
|
|
@@ -20,23 +48,20 @@
|
|
|
20
48
|
"autoprefixer": "^10",
|
|
21
49
|
"css-loader": "^6.8.1",
|
|
22
50
|
"eslint-plugin-storybook": "^10.1.3",
|
|
23
|
-
"next": "15.
|
|
51
|
+
"next": "15.5.11",
|
|
24
52
|
"postcss": "^8",
|
|
25
53
|
"postcss-cli": "^11.0.1",
|
|
26
54
|
"postcss-import": "^16.1.0",
|
|
27
55
|
"postcss-load-config": "^6",
|
|
28
56
|
"react": "19.0.0",
|
|
29
57
|
"react-dom": "19.0.0",
|
|
30
|
-
"react-tweet": "^3.2.1",
|
|
31
58
|
"storybook": "^10.1.3",
|
|
32
59
|
"style-loader": "^3.3.3",
|
|
33
|
-
"tailwindcss": "3.4.
|
|
60
|
+
"tailwindcss": "3.4.19",
|
|
34
61
|
"ts-loader": "^9.5.1",
|
|
35
62
|
"typescript": "5.7.3",
|
|
36
63
|
"vite": "^5.0.0",
|
|
37
|
-
"webpack": "^5.89.0"
|
|
38
|
-
"@authdog/eslint-config": "0.0.0",
|
|
39
|
-
"@authdog/typescript-config": "0.0.0"
|
|
64
|
+
"webpack": "^5.89.0"
|
|
40
65
|
},
|
|
41
66
|
"dependencies": {
|
|
42
67
|
"@radix-ui/react-avatar": "^1.1.9",
|
|
@@ -53,7 +78,7 @@
|
|
|
53
78
|
},
|
|
54
79
|
"exports": {
|
|
55
80
|
".": {
|
|
56
|
-
"types": "./dist/index.d.
|
|
81
|
+
"types": "./dist/index.d.ts",
|
|
57
82
|
"import": "./dist/index.mjs",
|
|
58
83
|
"require": "./dist/index.js"
|
|
59
84
|
},
|
|
@@ -61,29 +86,19 @@
|
|
|
61
86
|
"./postcss.config": "./dist/postcss.config.mjs",
|
|
62
87
|
"./tailwind.config": "./dist/tailwind.config.ts",
|
|
63
88
|
"./lib/*": {
|
|
64
|
-
"types": "./dist/lib/*.d.
|
|
89
|
+
"types": "./dist/lib/*.d.ts",
|
|
65
90
|
"import": "./dist/lib/*.mjs",
|
|
66
91
|
"require": "./dist/lib/*.js"
|
|
67
92
|
},
|
|
68
|
-
"./components/*": {
|
|
69
|
-
"types": "./dist/components/ui/*.d.
|
|
93
|
+
"./components/ui/*": {
|
|
94
|
+
"types": "./dist/components/ui/*.d.ts",
|
|
70
95
|
"import": "./dist/components/ui/*.mjs",
|
|
71
96
|
"require": "./dist/components/ui/*.js"
|
|
72
97
|
},
|
|
73
|
-
"./tailwind.preset": "./dist/tailwind.preset.js",
|
|
74
98
|
"./styles.css": "./dist/styles.css"
|
|
75
99
|
},
|
|
76
100
|
"publishConfig": {
|
|
77
101
|
"registry": "https://registry.npmjs.org/",
|
|
78
102
|
"access": "public"
|
|
79
|
-
},
|
|
80
|
-
"scripts": {
|
|
81
|
-
"ui": "pnpm dlx shadcn@latest",
|
|
82
|
-
"lint": "eslint .",
|
|
83
|
-
"build:styles": "postcss src/global.css -o dist/styles.css",
|
|
84
|
-
"build": "pnpm tsup && pnpm build:styles",
|
|
85
|
-
"storybook": "storybook dev -p 7007",
|
|
86
|
-
"build-storybook": "storybook build",
|
|
87
|
-
"deploy-docs": "pnpm build-storybook && cp wrangler.prod.toml wrangler.toml && wrangler pages deploy"
|
|
88
103
|
}
|
|
89
|
-
}
|
|
104
|
+
}
|
package/.eslintrc.js
DELETED
package/.storybook/main.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { StorybookConfig } from "@storybook/react-vite";
|
|
2
|
-
|
|
3
|
-
const config: StorybookConfig = {
|
|
4
|
-
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
|
|
5
|
-
addons: [
|
|
6
|
-
"@storybook/addon-links",
|
|
7
|
-
"storybook/essentials",
|
|
8
|
-
"@storybook/addon-a11y",
|
|
9
|
-
"@storybook/addon-docs",
|
|
10
|
-
],
|
|
11
|
-
framework: {
|
|
12
|
-
name: "@storybook/react-vite",
|
|
13
|
-
options: {},
|
|
14
|
-
},
|
|
15
|
-
docs: {
|
|
16
|
-
autodocs: "tag",
|
|
17
|
-
renderer: "@storybook/react",
|
|
18
|
-
},
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export default config;
|
package/.storybook/preview.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Preview } from "@storybook/react";
|
|
2
|
-
|
|
3
|
-
import "../src/global.css";
|
|
4
|
-
|
|
5
|
-
const preview: Preview = {
|
|
6
|
-
parameters: {
|
|
7
|
-
controls: {
|
|
8
|
-
matchers: {
|
|
9
|
-
color: /(background|color)$/i,
|
|
10
|
-
date: /Date$/i,
|
|
11
|
-
},
|
|
12
|
-
},
|
|
13
|
-
layout: "centered",
|
|
14
|
-
},
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export default preview;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as a11yAddonAnnotations from "@storybook/addon-a11y/preview";
|
|
2
|
-
import { setProjectAnnotations } from "@storybook/nextjs-vite";
|
|
3
|
-
import * as projectAnnotations from "./preview";
|
|
4
|
-
|
|
5
|
-
// This is an important step to apply the right configuration when testing your stories.
|
|
6
|
-
// More info at: https://storybook.js.org/docs/api/portable-stories/portable-stories-vitest#setprojectannotations
|
|
7
|
-
setProjectAnnotations([a11yAddonAnnotations, projectAnnotations]);
|
package/.turbo/turbo-build.log
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> @authdog/react-elements@0.0.50 build /home/runner/work/web-sdk/web-sdk/packages/react-elements
|
|
3
|
-
> pnpm tsup && pnpm build:styles
|
|
4
|
-
|
|
5
|
-
[34mCLI[39m Building entry: src/index.ts, src/lib/utils.ts, src/components/ui/alert.tsx, src/components/ui/avatar.tsx, src/components/ui/badge.tsx, src/components/ui/button.tsx, src/components/ui/card.tsx, src/components/ui/dropdown-menu.tsx, src/components/ui/input.tsx, src/components/ui/label.tsx, src/components/ui/separator.tsx, src/components/ui/sheet.tsx, src/components/ui/theme-toggle.tsx
|
|
6
|
-
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
|
-
[34mCLI[39m tsup v8.5.0
|
|
8
|
-
[34mCLI[39m Using tsup config: /home/runner/work/web-sdk/web-sdk/packages/react-elements/tsup.config.ts
|
|
9
|
-
[34mCLI[39m Target: es2020
|
|
10
|
-
[34mCLI[39m Cleaning output folder
|
|
11
|
-
[34mESM[39m Build start
|
|
12
|
-
[34mCJS[39m Build start
|
|
13
|
-
[32mCJS[39m [1mdist/index.js [22m[32m35.20 KB[39m
|
|
14
|
-
[32mCJS[39m [1mdist/lib/utils.js [22m[32m620.00 B[39m
|
|
15
|
-
[32mCJS[39m [1mdist/components/ui/alert.js [22m[32m1.65 KB[39m
|
|
16
|
-
[32mCJS[39m [1mdist/components/ui/avatar.js [22m[32m1.34 KB[39m
|
|
17
|
-
[32mCJS[39m [1mdist/components/ui/badge.js [22m[32m1.78 KB[39m
|
|
18
|
-
[32mCJS[39m [1mdist/components/ui/button.js [22m[32m1.94 KB[39m
|
|
19
|
-
[32mCJS[39m [1mdist/components/ui/card.js [22m[32m1.85 KB[39m
|
|
20
|
-
[32mCJS[39m [1mdist/components/ui/dropdown-menu.js [22m[32m6.77 KB[39m
|
|
21
|
-
[32mCJS[39m [1mdist/components/ui/input.js [22m[32m1.37 KB[39m
|
|
22
|
-
[32mCJS[39m [1mdist/components/ui/label.js [22m[32m1.14 KB[39m
|
|
23
|
-
[32mCJS[39m [1mdist/components/ui/separator.js [22m[32m1.18 KB[39m
|
|
24
|
-
[32mCJS[39m [1mdist/components/ui/sheet.js [22m[32m3.36 KB[39m
|
|
25
|
-
[32mCJS[39m [1mdist/components/ui/theme-toggle.js [22m[32m2.72 KB[39m
|
|
26
|
-
[32mCJS[39m [1mdist/index.js.map [22m[32m100.38 KB[39m
|
|
27
|
-
[32mCJS[39m [1mdist/lib/utils.js.map [22m[32m518.00 B[39m
|
|
28
|
-
[32mCJS[39m [1mdist/components/ui/alert.js.map [22m[32m3.00 KB[39m
|
|
29
|
-
[32mCJS[39m [1mdist/components/ui/avatar.js.map [22m[32m2.30 KB[39m
|
|
30
|
-
[32mCJS[39m [1mdist/components/ui/badge.js.map [22m[32m2.77 KB[39m
|
|
31
|
-
[32mCJS[39m [1mdist/components/ui/button.js.map [22m[32m3.17 KB[39m
|
|
32
|
-
[32mCJS[39m [1mdist/components/ui/card.js.map [22m[32m3.80 KB[39m
|
|
33
|
-
[32mCJS[39m [1mdist/components/ui/dropdown-menu.js.map [22m[32m14.87 KB[39m
|
|
34
|
-
[32mCJS[39m [1mdist/components/ui/input.js.map [22m[32m1.78 KB[39m
|
|
35
|
-
[32mCJS[39m [1mdist/components/ui/label.js.map [22m[32m1.43 KB[39m
|
|
36
|
-
[32mCJS[39m [1mdist/components/ui/separator.js.map [22m[32m1.63 KB[39m
|
|
37
|
-
[32mCJS[39m [1mdist/components/ui/sheet.js.map [22m[32m6.76 KB[39m
|
|
38
|
-
[32mCJS[39m [1mdist/components/ui/theme-toggle.js.map [22m[32m5.62 KB[39m
|
|
39
|
-
[32mCJS[39m ⚡️ Build success in 364ms
|
|
40
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m32.70 KB[39m
|
|
41
|
-
[32mESM[39m [1mdist/lib/utils.mjs [22m[32m166.00 B[39m
|
|
42
|
-
[32mESM[39m [1mdist/components/ui/alert.mjs [22m[32m1.19 KB[39m
|
|
43
|
-
[32mESM[39m [1mdist/components/ui/avatar.mjs [22m[32m749.00 B[39m
|
|
44
|
-
[32mESM[39m [1mdist/components/ui/badge.mjs [22m[32m1.34 KB[39m
|
|
45
|
-
[32mESM[39m [1mdist/components/ui/button.mjs [22m[32m1.36 KB[39m
|
|
46
|
-
[32mESM[39m [1mdist/components/ui/card.mjs [22m[32m1.35 KB[39m
|
|
47
|
-
[32mESM[39m [1mdist/components/ui/dropdown-menu.mjs [22m[32m6.02 KB[39m
|
|
48
|
-
[32mESM[39m [1mdist/components/ui/input.mjs [22m[32m949.00 B[39m
|
|
49
|
-
[32mESM[39m [1mdist/components/ui/label.mjs [22m[32m566.00 B[39m
|
|
50
|
-
[32mESM[39m [1mdist/components/ui/separator.mjs [22m[32m604.00 B[39m
|
|
51
|
-
[32mESM[39m [1mdist/components/ui/sheet.mjs [22m[32m2.68 KB[39m
|
|
52
|
-
[32mESM[39m [1mdist/components/ui/theme-toggle.mjs [22m[32m2.13 KB[39m
|
|
53
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[32m100.97 KB[39m
|
|
54
|
-
[32mESM[39m [1mdist/lib/utils.mjs.map [22m[32m413.00 B[39m
|
|
55
|
-
[32mESM[39m [1mdist/components/ui/alert.mjs.map [22m[32m2.81 KB[39m
|
|
56
|
-
[32mESM[39m [1mdist/components/ui/avatar.mjs.map [22m[32m2.12 KB[39m
|
|
57
|
-
[32mESM[39m [1mdist/components/ui/badge.mjs.map [22m[32m2.62 KB[39m
|
|
58
|
-
[32mESM[39m [1mdist/components/ui/button.mjs.map [22m[32m3.01 KB[39m
|
|
59
|
-
[32mESM[39m [1mdist/components/ui/card.mjs.map [22m[32m3.54 KB[39m
|
|
60
|
-
[32mESM[39m [1mdist/components/ui/dropdown-menu.mjs.map [22m[32m14.41 KB[39m
|
|
61
|
-
[32mESM[39m [1mdist/components/ui/input.mjs.map [22m[32m1.65 KB[39m
|
|
62
|
-
[32mESM[39m [1mdist/components/ui/label.mjs.map [22m[32m1.31 KB[39m
|
|
63
|
-
[32mESM[39m [1mdist/components/ui/separator.mjs.map [22m[32m1.50 KB[39m
|
|
64
|
-
[32mESM[39m [1mdist/components/ui/sheet.mjs.map [22m[32m6.49 KB[39m
|
|
65
|
-
[32mESM[39m [1mdist/components/ui/theme-toggle.mjs.map [22m[32m5.56 KB[39m
|
|
66
|
-
[32mESM[39m ⚡️ Build success in 371ms
|
|
67
|
-
[34mDTS[39m Build start
|
|
68
|
-
[32mDTS[39m ⚡️ Build success in 15759ms
|
|
69
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m4.66 KB[39m
|
|
70
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m4.66 KB[39m
|
|
71
|
-
|
|
72
|
-
> @authdog/react-elements@0.0.50 build:styles /home/runner/work/web-sdk/web-sdk/packages/react-elements
|
|
73
|
-
> postcss src/global.css -o dist/styles.css
|
|
74
|
-
|
|
75
|
-
Browserslist: browsers data (caniuse-lite) is 6 months old. Please run:
|
|
76
|
-
npx update-browserslist-db@latest
|
|
77
|
-
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
package/CHANGELOG.md
DELETED
|
@@ -1,292 +0,0 @@
|
|
|
1
|
-
# @authdog/react-elements
|
|
2
|
-
|
|
3
|
-
## 0.0.50
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- b2a7971: Adding loader avatar
|
|
8
|
-
|
|
9
|
-
## 0.0.49
|
|
10
|
-
|
|
11
|
-
### Patch Changes
|
|
12
|
-
|
|
13
|
-
- 8d39e01: Fix display avatar menu
|
|
14
|
-
|
|
15
|
-
## 0.0.48
|
|
16
|
-
|
|
17
|
-
### Patch Changes
|
|
18
|
-
|
|
19
|
-
- 1be5751: Fix cursor nav elements
|
|
20
|
-
- 3c9f2fc: Enhance display dropdown avatar
|
|
21
|
-
|
|
22
|
-
## 0.0.47
|
|
23
|
-
|
|
24
|
-
### Patch Changes
|
|
25
|
-
|
|
26
|
-
- f71033d: Make avatar links customizable
|
|
27
|
-
|
|
28
|
-
## 0.0.46
|
|
29
|
-
|
|
30
|
-
### Patch Changes
|
|
31
|
-
|
|
32
|
-
- 25cc8b1: Enhance customization navbar logo
|
|
33
|
-
|
|
34
|
-
## 0.0.45
|
|
35
|
-
|
|
36
|
-
### Patch Changes
|
|
37
|
-
|
|
38
|
-
- 7f8b341: Improve navbar
|
|
39
|
-
|
|
40
|
-
## 0.0.44
|
|
41
|
-
|
|
42
|
-
### Patch Changes
|
|
43
|
-
|
|
44
|
-
- cf3409c: add navbar with logo story
|
|
45
|
-
|
|
46
|
-
## 0.0.43
|
|
47
|
-
|
|
48
|
-
### Patch Changes
|
|
49
|
-
|
|
50
|
-
- 648d361: enhance navbar element
|
|
51
|
-
- 21efe8c: Improve navbar display
|
|
52
|
-
|
|
53
|
-
## 0.0.42
|
|
54
|
-
|
|
55
|
-
### Patch Changes
|
|
56
|
-
|
|
57
|
-
- 1a0e603: Fix syntax
|
|
58
|
-
|
|
59
|
-
## 0.0.41
|
|
60
|
-
|
|
61
|
-
### Patch Changes
|
|
62
|
-
|
|
63
|
-
- 0354ca1: Minor syntax fix
|
|
64
|
-
|
|
65
|
-
## 0.0.40
|
|
66
|
-
|
|
67
|
-
### Patch Changes
|
|
68
|
-
|
|
69
|
-
- 624984c: Prettify
|
|
70
|
-
|
|
71
|
-
## 0.0.39
|
|
72
|
-
|
|
73
|
-
### Patch Changes
|
|
74
|
-
|
|
75
|
-
- b554d49: update profile component
|
|
76
|
-
|
|
77
|
-
## 0.0.38
|
|
78
|
-
|
|
79
|
-
### Patch Changes
|
|
80
|
-
|
|
81
|
-
- a7f7bdd: additional changes to modal setup
|
|
82
|
-
|
|
83
|
-
## 0.0.37
|
|
84
|
-
|
|
85
|
-
### Patch Changes
|
|
86
|
-
|
|
87
|
-
- fdb4af0: address shift behavior on profile trigger
|
|
88
|
-
|
|
89
|
-
## 0.0.36
|
|
90
|
-
|
|
91
|
-
### Patch Changes
|
|
92
|
-
|
|
93
|
-
- 7d2c857: enhance email management
|
|
94
|
-
- 6f3aa8c: fix display sign out
|
|
95
|
-
|
|
96
|
-
## 0.0.35
|
|
97
|
-
|
|
98
|
-
### Patch Changes
|
|
99
|
-
|
|
100
|
-
- 5248882: enhance verified email ui for user profile
|
|
101
|
-
|
|
102
|
-
## 0.0.34
|
|
103
|
-
|
|
104
|
-
### Patch Changes
|
|
105
|
-
|
|
106
|
-
- 2d78aba: scaffold tabs security and preferences in userprofile
|
|
107
|
-
|
|
108
|
-
## 0.0.33
|
|
109
|
-
|
|
110
|
-
### Patch Changes
|
|
111
|
-
|
|
112
|
-
- 94640cc: add user dropdown component
|
|
113
|
-
|
|
114
|
-
## 0.0.32
|
|
115
|
-
|
|
116
|
-
### Patch Changes
|
|
117
|
-
|
|
118
|
-
- ef53b12: fix text user-profile on dark mode
|
|
119
|
-
|
|
120
|
-
## 0.0.31
|
|
121
|
-
|
|
122
|
-
### Patch Changes
|
|
123
|
-
|
|
124
|
-
- 829c52a: fix padding user-profile
|
|
125
|
-
|
|
126
|
-
## 0.0.30
|
|
127
|
-
|
|
128
|
-
### Patch Changes
|
|
129
|
-
|
|
130
|
-
- 732d717: add totp validator component
|
|
131
|
-
|
|
132
|
-
## 0.0.29
|
|
133
|
-
|
|
134
|
-
### Patch Changes
|
|
135
|
-
|
|
136
|
-
- 83c8f6c: add client-only to react-elements
|
|
137
|
-
|
|
138
|
-
## 0.0.28
|
|
139
|
-
|
|
140
|
-
### Patch Changes
|
|
141
|
-
|
|
142
|
-
- 3d56a5d: handling auth session in remix sdk
|
|
143
|
-
|
|
144
|
-
## 0.0.27
|
|
145
|
-
|
|
146
|
-
### Patch Changes
|
|
147
|
-
|
|
148
|
-
- df1cbf4: handle photos, user payload in navbar and profile
|
|
149
|
-
|
|
150
|
-
## 0.0.26
|
|
151
|
-
|
|
152
|
-
### Patch Changes
|
|
153
|
-
|
|
154
|
-
- 799fb2e: display email/connected account in profile
|
|
155
|
-
|
|
156
|
-
## 0.0.25
|
|
157
|
-
|
|
158
|
-
### Patch Changes
|
|
159
|
-
|
|
160
|
-
- 1720b55: handle authenticated action
|
|
161
|
-
|
|
162
|
-
## 0.0.24
|
|
163
|
-
|
|
164
|
-
### Patch Changes
|
|
165
|
-
|
|
166
|
-
- 20ae693: handle user in navbar
|
|
167
|
-
|
|
168
|
-
## 0.0.23
|
|
169
|
-
|
|
170
|
-
### Patch Changes
|
|
171
|
-
|
|
172
|
-
- ad71221: fix authentication nextjs sample
|
|
173
|
-
|
|
174
|
-
## 0.0.22
|
|
175
|
-
|
|
176
|
-
### Patch Changes
|
|
177
|
-
|
|
178
|
-
- 5f63070: fix hydration icons
|
|
179
|
-
|
|
180
|
-
## 0.0.21
|
|
181
|
-
|
|
182
|
-
### Patch Changes
|
|
183
|
-
|
|
184
|
-
- 8283049: cleanup default options react-elements
|
|
185
|
-
|
|
186
|
-
## 0.0.20
|
|
187
|
-
|
|
188
|
-
### Patch Changes
|
|
189
|
-
|
|
190
|
-
- 9abef65: fix hydration
|
|
191
|
-
|
|
192
|
-
## 0.0.19
|
|
193
|
-
|
|
194
|
-
### Patch Changes
|
|
195
|
-
|
|
196
|
-
- bfbbef5: add placeholder-alert to exports
|
|
197
|
-
|
|
198
|
-
## 0.0.18
|
|
199
|
-
|
|
200
|
-
### Patch Changes
|
|
201
|
-
|
|
202
|
-
- 7fae1dc: define placeholder alert component
|
|
203
|
-
|
|
204
|
-
## 0.0.17
|
|
205
|
-
|
|
206
|
-
### Patch Changes
|
|
207
|
-
|
|
208
|
-
- 9ec3af6: adding basic navigation home onto navbar
|
|
209
|
-
|
|
210
|
-
## 0.0.16
|
|
211
|
-
|
|
212
|
-
### Patch Changes
|
|
213
|
-
|
|
214
|
-
- 6a9cb4f: cleanup navbar, handle router action via props
|
|
215
|
-
|
|
216
|
-
## 0.0.15
|
|
217
|
-
|
|
218
|
-
### Patch Changes
|
|
219
|
-
|
|
220
|
-
- 056c6b4: rollback dependencies react
|
|
221
|
-
|
|
222
|
-
## 0.0.14
|
|
223
|
-
|
|
224
|
-
### Patch Changes
|
|
225
|
-
|
|
226
|
-
- b8c6d45: add profile element, cleanup stories ladle
|
|
227
|
-
|
|
228
|
-
## 0.0.13
|
|
229
|
-
|
|
230
|
-
### Patch Changes
|
|
231
|
-
|
|
232
|
-
- eeca7af: minor changes, syntax/settings enhancements
|
|
233
|
-
|
|
234
|
-
## 0.0.12
|
|
235
|
-
|
|
236
|
-
### Patch Changes
|
|
237
|
-
|
|
238
|
-
- bffdb42: cleanup
|
|
239
|
-
|
|
240
|
-
## 0.0.12
|
|
241
|
-
|
|
242
|
-
### Patch Changes
|
|
243
|
-
|
|
244
|
-
- a897a13: add navbar to remix app
|
|
245
|
-
|
|
246
|
-
## 0.0.11
|
|
247
|
-
|
|
248
|
-
### Patch Changes
|
|
249
|
-
|
|
250
|
-
- 3734ad0: prototype navbar with shadcn/v0
|
|
251
|
-
|
|
252
|
-
## 0.0.10
|
|
253
|
-
|
|
254
|
-
### Patch Changes
|
|
255
|
-
|
|
256
|
-
- 5e3fbd8: add postcss cli to generate css bundle to be used in consumer app
|
|
257
|
-
|
|
258
|
-
## 0.0.9
|
|
259
|
-
|
|
260
|
-
### Patch Changes
|
|
261
|
-
|
|
262
|
-
- 352d31e: replace css filepath
|
|
263
|
-
|
|
264
|
-
## 0.0.8
|
|
265
|
-
|
|
266
|
-
### Patch Changes
|
|
267
|
-
|
|
268
|
-
- 57c41ef: add publish config
|
|
269
|
-
|
|
270
|
-
## 0.0.8
|
|
271
|
-
|
|
272
|
-
### Patch Changes
|
|
273
|
-
|
|
274
|
-
- 30fdfe6: bump
|
|
275
|
-
|
|
276
|
-
## 0.0.7
|
|
277
|
-
|
|
278
|
-
### Patch Changes
|
|
279
|
-
|
|
280
|
-
- 6c41c4d: bump version
|
|
281
|
-
|
|
282
|
-
## 0.0.2
|
|
283
|
-
|
|
284
|
-
### Patch Changes
|
|
285
|
-
|
|
286
|
-
- d6ac8e7: ensure all exports are available
|
|
287
|
-
|
|
288
|
-
## 0.0.1
|
|
289
|
-
|
|
290
|
-
### Patch Changes
|
|
291
|
-
|
|
292
|
-
- 8d5f1a9: adjust config to export tailwinded components and style
|
package/components.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://ui.shadcn.com/schema.json",
|
|
3
|
-
"style": "default",
|
|
4
|
-
"rsc": true,
|
|
5
|
-
"tsx": true,
|
|
6
|
-
"tailwind": {
|
|
7
|
-
"config": "tailwind.config.ts",
|
|
8
|
-
"css": "src/globals.css",
|
|
9
|
-
"baseColor": "zinc",
|
|
10
|
-
"cssVariables": true,
|
|
11
|
-
"prefix": ""
|
|
12
|
-
},
|
|
13
|
-
"aliases": {
|
|
14
|
-
"components": "@authdog/react-elements/components",
|
|
15
|
-
"ui": "@authdog/react-elements/components/ui",
|
|
16
|
-
"utils": "@authdog/react-elements/lib/utils",
|
|
17
|
-
"lib": "@authdog/react-elements/lib",
|
|
18
|
-
"hooks": "@authdog/react-elements/hooks"
|
|
19
|
-
}
|
|
20
|
-
}
|
package/postcss.config.mjs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { useEffect, useState, type ReactNode } from "react";
|
|
2
|
-
|
|
3
|
-
export const ClientOnly = ({ children }: { children: ReactNode }) => {
|
|
4
|
-
const [mounted, setMounted] = useState(false);
|
|
5
|
-
|
|
6
|
-
useEffect(() => {
|
|
7
|
-
setMounted(true);
|
|
8
|
-
}, []);
|
|
9
|
-
|
|
10
|
-
if (!mounted) {
|
|
11
|
-
return null;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
return <>{children}</>;
|
|
15
|
-
};
|