@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.
Files changed (101) hide show
  1. package/dist/components/ui/alert.d.mts +12 -0
  2. package/dist/components/ui/alert.d.ts +12 -0
  3. package/dist/components/ui/alert.js.map +1 -1
  4. package/dist/components/ui/alert.mjs.map +1 -1
  5. package/dist/components/ui/avatar.d.mts +8 -0
  6. package/dist/components/ui/avatar.d.ts +8 -0
  7. package/dist/components/ui/avatar.js.map +1 -1
  8. package/dist/components/ui/avatar.mjs.map +1 -1
  9. package/dist/components/ui/badge.d.mts +12 -0
  10. package/dist/components/ui/badge.d.ts +12 -0
  11. package/dist/components/ui/badge.js.map +1 -1
  12. package/dist/components/ui/badge.mjs.map +1 -1
  13. package/dist/components/ui/button.d.mts +14 -0
  14. package/dist/components/ui/button.d.ts +14 -0
  15. package/dist/components/ui/button.js.map +1 -1
  16. package/dist/components/ui/button.mjs.map +1 -1
  17. package/dist/components/ui/card.d.mts +11 -0
  18. package/dist/components/ui/card.d.ts +11 -0
  19. package/dist/components/ui/card.js.map +1 -1
  20. package/dist/components/ui/card.mjs.map +1 -1
  21. package/dist/components/ui/dropdown-menu.d.mts +27 -0
  22. package/dist/components/ui/dropdown-menu.d.ts +27 -0
  23. package/dist/components/ui/dropdown-menu.js.map +1 -1
  24. package/dist/components/ui/dropdown-menu.mjs.map +1 -1
  25. package/dist/components/ui/input.d.mts +5 -0
  26. package/dist/components/ui/input.d.ts +5 -0
  27. package/dist/components/ui/input.js.map +1 -1
  28. package/dist/components/ui/input.mjs.map +1 -1
  29. package/dist/components/ui/label.d.mts +6 -0
  30. package/dist/components/ui/label.d.ts +6 -0
  31. package/dist/components/ui/label.js.map +1 -1
  32. package/dist/components/ui/label.mjs.map +1 -1
  33. package/dist/components/ui/separator.d.mts +6 -0
  34. package/dist/components/ui/separator.d.ts +6 -0
  35. package/dist/components/ui/separator.js.map +1 -1
  36. package/dist/components/ui/separator.mjs.map +1 -1
  37. package/dist/components/ui/sheet.d.mts +15 -0
  38. package/dist/components/ui/sheet.d.ts +15 -0
  39. package/dist/components/ui/sheet.js.map +1 -1
  40. package/dist/components/ui/sheet.mjs.map +1 -1
  41. package/dist/components/ui/theme-toggle.d.mts +5 -0
  42. package/dist/components/ui/theme-toggle.d.ts +5 -0
  43. package/dist/components/ui/theme-toggle.js.map +1 -1
  44. package/dist/components/ui/theme-toggle.mjs.map +1 -1
  45. package/dist/index.d.mts +12 -21
  46. package/dist/index.d.ts +12 -21
  47. package/dist/index.js +1 -1
  48. package/dist/index.js.map +1 -1
  49. package/dist/index.mjs +1 -1
  50. package/dist/index.mjs.map +1 -1
  51. package/dist/lib/utils.d.mts +5 -0
  52. package/dist/lib/utils.d.ts +5 -0
  53. package/dist/lib/utils.js.map +1 -1
  54. package/dist/lib/utils.mjs.map +1 -1
  55. package/dist/styles.css +1 -4
  56. package/package.json +40 -25
  57. package/.eslintrc.js +0 -9
  58. package/.storybook/main.ts +0 -21
  59. package/.storybook/preview.ts +0 -17
  60. package/.storybook/vitest.setup.ts +0 -7
  61. package/.turbo/turbo-build.log +0 -77
  62. package/CHANGELOG.md +0 -292
  63. package/components.json +0 -20
  64. package/postcss.config.mjs +0 -11
  65. package/src/components/core/client-only.tsx +0 -15
  66. package/src/components/core/navbar.tsx +0 -312
  67. package/src/components/core/placeholder-alert.tsx +0 -23
  68. package/src/components/core/user-dropdown.tsx +0 -160
  69. package/src/components/core/user-profile.tsx +0 -521
  70. package/src/components/flow/login.tsx +0 -167
  71. package/src/components/flow/totp-validator.tsx +0 -252
  72. package/src/components/icons.tsx +0 -30
  73. package/src/components/ui/alert.tsx +0 -66
  74. package/src/components/ui/avatar.tsx +0 -53
  75. package/src/components/ui/badge.tsx +0 -46
  76. package/src/components/ui/button.tsx +0 -56
  77. package/src/components/ui/card.tsx +0 -92
  78. package/src/components/ui/dropdown-menu.tsx +0 -265
  79. package/src/components/ui/input.tsx +0 -21
  80. package/src/components/ui/label.tsx +0 -24
  81. package/src/components/ui/separator.tsx +0 -28
  82. package/src/components/ui/sheet.tsx +0 -142
  83. package/src/components/ui/theme-toggle.tsx +0 -56
  84. package/src/global.css +0 -81
  85. package/src/index.ts +0 -8
  86. package/src/lib/utils.ts +0 -6
  87. package/src/stories/core/Navbar.stories.tsx +0 -93
  88. package/src/stories/core/PlaceholderAlert.stories.tsx +0 -23
  89. package/src/stories/core/UserDropdown.stories.tsx +0 -56
  90. package/src/stories/core/UserProfile.stories.tsx +0 -47
  91. package/src/stories/flow/LoginForm.stories.tsx +0 -20
  92. package/src/stories/flow/TotpValidator.stories.tsx +0 -23
  93. package/src/stories/showcase/Landing.stories.tsx +0 -376
  94. package/src/stories/ui/Button.stories.tsx +0 -45
  95. package/src/types.ts +0 -0
  96. package/tailwind.config.ts +0 -82
  97. package/tsconfig.json +0 -11
  98. package/tsup.config.ts +0 -31
  99. package/vitest.config.ts +0 -39
  100. package/vitest.shims.d.ts +0 -1
  101. 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.18 | MIT License | https://tailwindcss.com
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.50",
3
+ "version": "0.2.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
- "types": "./dist/index.d.mts",
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.4.8",
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.18",
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.mts",
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.mts",
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.mts",
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
@@ -1,9 +0,0 @@
1
- /** @type {import("eslint").Linter.Config} */
2
- module.exports = {
3
- root: true,
4
- extends: ['@authdog/eslint-config/react-internal.js', 'plugin:storybook/recommended'],
5
- parser: '@typescript-eslint/parser',
6
- rules: {
7
- 'no-redeclare': 'off',
8
- },
9
- };
@@ -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;
@@ -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]);
@@ -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
- CLI 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
- CLI Using tsconfig: tsconfig.json
7
- CLI tsup v8.5.0
8
- CLI Using tsup config: /home/runner/work/web-sdk/web-sdk/packages/react-elements/tsup.config.ts
9
- CLI Target: es2020
10
- CLI Cleaning output folder
11
- ESM Build start
12
- CJS Build start
13
- CJS dist/index.js 35.20 KB
14
- CJS dist/lib/utils.js 620.00 B
15
- CJS dist/components/ui/alert.js 1.65 KB
16
- CJS dist/components/ui/avatar.js 1.34 KB
17
- CJS dist/components/ui/badge.js 1.78 KB
18
- CJS dist/components/ui/button.js 1.94 KB
19
- CJS dist/components/ui/card.js 1.85 KB
20
- CJS dist/components/ui/dropdown-menu.js 6.77 KB
21
- CJS dist/components/ui/input.js 1.37 KB
22
- CJS dist/components/ui/label.js 1.14 KB
23
- CJS dist/components/ui/separator.js 1.18 KB
24
- CJS dist/components/ui/sheet.js 3.36 KB
25
- CJS dist/components/ui/theme-toggle.js 2.72 KB
26
- CJS dist/index.js.map 100.38 KB
27
- CJS dist/lib/utils.js.map 518.00 B
28
- CJS dist/components/ui/alert.js.map 3.00 KB
29
- CJS dist/components/ui/avatar.js.map 2.30 KB
30
- CJS dist/components/ui/badge.js.map 2.77 KB
31
- CJS dist/components/ui/button.js.map 3.17 KB
32
- CJS dist/components/ui/card.js.map 3.80 KB
33
- CJS dist/components/ui/dropdown-menu.js.map 14.87 KB
34
- CJS dist/components/ui/input.js.map 1.78 KB
35
- CJS dist/components/ui/label.js.map 1.43 KB
36
- CJS dist/components/ui/separator.js.map 1.63 KB
37
- CJS dist/components/ui/sheet.js.map 6.76 KB
38
- CJS dist/components/ui/theme-toggle.js.map 5.62 KB
39
- CJS ⚡️ Build success in 364ms
40
- ESM dist/index.mjs 32.70 KB
41
- ESM dist/lib/utils.mjs 166.00 B
42
- ESM dist/components/ui/alert.mjs 1.19 KB
43
- ESM dist/components/ui/avatar.mjs 749.00 B
44
- ESM dist/components/ui/badge.mjs 1.34 KB
45
- ESM dist/components/ui/button.mjs 1.36 KB
46
- ESM dist/components/ui/card.mjs 1.35 KB
47
- ESM dist/components/ui/dropdown-menu.mjs 6.02 KB
48
- ESM dist/components/ui/input.mjs 949.00 B
49
- ESM dist/components/ui/label.mjs 566.00 B
50
- ESM dist/components/ui/separator.mjs 604.00 B
51
- ESM dist/components/ui/sheet.mjs 2.68 KB
52
- ESM dist/components/ui/theme-toggle.mjs 2.13 KB
53
- ESM dist/index.mjs.map 100.97 KB
54
- ESM dist/lib/utils.mjs.map 413.00 B
55
- ESM dist/components/ui/alert.mjs.map 2.81 KB
56
- ESM dist/components/ui/avatar.mjs.map 2.12 KB
57
- ESM dist/components/ui/badge.mjs.map 2.62 KB
58
- ESM dist/components/ui/button.mjs.map 3.01 KB
59
- ESM dist/components/ui/card.mjs.map 3.54 KB
60
- ESM dist/components/ui/dropdown-menu.mjs.map 14.41 KB
61
- ESM dist/components/ui/input.mjs.map 1.65 KB
62
- ESM dist/components/ui/label.mjs.map 1.31 KB
63
- ESM dist/components/ui/separator.mjs.map 1.50 KB
64
- ESM dist/components/ui/sheet.mjs.map 6.49 KB
65
- ESM dist/components/ui/theme-toggle.mjs.map 5.56 KB
66
- ESM ⚡️ Build success in 371ms
67
- DTS Build start
68
- DTS ⚡️ Build success in 15759ms
69
- DTS dist/index.d.mts 4.66 KB
70
- DTS dist/index.d.ts 4.66 KB
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
- }
@@ -1,11 +0,0 @@
1
- /** @type {import('postcss-load-config').Config} */
2
- const config = {
3
- plugins: {
4
- 'postcss-import': {},
5
- 'tailwindcss/nesting': {},
6
- tailwindcss: {},
7
- autoprefixer: {},
8
- },
9
- };
10
-
11
- export default config;
@@ -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
- };