Skip to content

Commit ac31ab4

Browse files
Merge pull request #251 from auth0/chore/update-shadcn-registry-ea
chore(registry): update shadcn registry to v1.0.0
2 parents dd70ec0 + e6ba650 commit ac31ab4

15 files changed

Lines changed: 800 additions & 1387 deletions

docs-site/public/r/domain-table.json

Lines changed: 5 additions & 97 deletions
Large diffs are not rendered by default.

docs-site/public/r/organization-details-edit.json

Lines changed: 4 additions & 103 deletions
Large diffs are not rendered by default.

docs-site/public/r/sso-provider-create.json

Lines changed: 4 additions & 78 deletions
Large diffs are not rendered by default.

docs-site/public/r/sso-provider-edit.json

Lines changed: 6 additions & 79 deletions
Large diffs are not rendered by default.

docs-site/public/r/sso-provider-table.json

Lines changed: 4 additions & 111 deletions
Large diffs are not rendered by default.

docs-site/public/r/user-mfa-management.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"title": "User MFA management container(logic) component",
66
"description": "Handles loading factors, enroll/delete flows, and UI state.",
77
"dependencies": [
8-
"@auth0/universal-components-core@1.0.0-beta.25",
8+
"@auth0/universal-components-core@1.0.0",
99
"@auth0/auth0-react@^2.15.1",
1010
"@hookform/resolvers@^5.1.0",
1111
"@radix-ui/react-dialog@^1.1.14",
@@ -97,7 +97,7 @@
9797
},
9898
{
9999
"path": "src/components/auth0/shared/styled-scope.tsx",
100-
"content": "/**\n * Auth0Scope component — CSS scope root and portal container for lib components.\n * @module auth0-scope\n * @internal\n */\n\n'use client';\n\nimport * as React from 'react';\n\nimport { cn } from '@/lib/utils';\nimport { ThemeContext } from '@/providers/theme-provider';\n\nexport interface StyledScopeProps {\n children: React.ReactNode;\n style?: React.CSSProperties;\n}\n\n/**\n * CSS scope root for lib components. Handles dark-mode class and theme attribute.\n *\n * @param props - Component props.\n * @param props.children - Content to render inside the scope root.\n * @param props.style - Optional inline CSS styles.\n * @returns A scoped wrapper div with dark-mode and theme attributes applied.\n * @internal\n */\nexport const StyledScope: React.FC<StyledScopeProps> = ({ children, style }) => {\n const { theme = 'default', isDarkMode } = React.useContext(ThemeContext);\n\n return (\n <div className={cn('auth0-universal', isDarkMode && 'dark')} data-theme={theme} style={style}>\n {children}\n </div>\n );\n};\n",
100+
"content": "/**\n * Auth0Scope component — CSS scope root and portal container for lib components.\n * @module auth0-scope\n * @internal\n */\n\n'use client';\n\nimport { getCoreStyles } from '@auth0/universal-components-core';\nimport * as React from 'react';\n\nimport { cn } from '@/lib/utils';\nimport { ThemeContext } from '@/providers/theme-provider';\n\nexport interface StyledScopeProps {\n children: React.ReactNode;\n style?: React.CSSProperties;\n}\n\n/**\n * CSS scope root for lib components. Handles dark-mode class and theme attribute.\n *\n * @param props - Component props.\n * @param props.children - Content to render inside the scope root.\n * @param props.style - Optional inline CSS styles\n * @returns A scoped wrapper div with dark-mode and theme attributes applied.\n * @internal\n */\nexport const StyledScope: React.FC<StyledScopeProps> = ({ children, style }) => {\n const { theme = 'default', isDarkMode, variables } = React.useContext(ThemeContext);\n\n const mergedStyle = React.useMemo(() => {\n const providerVars = getCoreStyles(variables, isDarkMode).variables;\n return { ...providerVars, ...style };\n }, [variables, isDarkMode, style]);\n\n return (\n <div\n className={cn('auth0-universal', isDarkMode && 'dark')}\n data-theme={theme}\n style={mergedStyle}\n >\n {children}\n </div>\n );\n};\n",
101101
"type": "registry:component",
102102
"target": "components/auth0/shared/styled-scope.tsx"
103103
},
@@ -367,6 +367,6 @@
367367
}
368368
],
369369
"meta": {
370-
"coreVersion": "1.0.0-beta.25"
370+
"coreVersion": "1.0.0"
371371
}
372372
}

docs-site/public/r/v1/1.0.0-beta.11/my-account/user-mfa-management.json renamed to docs-site/public/r/v1/1.0.0/my-account/user-mfa-management.json

Lines changed: 59 additions & 47 deletions
Large diffs are not rendered by default.

docs-site/public/r/v1/1.0.0-beta.11/my-organization/domain-table.json renamed to docs-site/public/r/v1/1.0.0/my-organization/domain-table.json

Lines changed: 73 additions & 61 deletions
Large diffs are not rendered by default.

docs-site/public/r/v1/1.0.0-beta.11/my-organization/organization-details-edit.json renamed to docs-site/public/r/v1/1.0.0/my-organization/organization-details-edit.json

Lines changed: 68 additions & 50 deletions
Large diffs are not rendered by default.

docs-site/public/r/v1/1.0.0-beta.11/my-organization/sso-provider-create.json renamed to docs-site/public/r/v1/1.0.0/my-organization/sso-provider-create.json

Lines changed: 79 additions & 55 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)