@atproto/oauth-provider-ui 0.0.2 → 0.1.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 (182) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/{src/authorization-page.html → authorization-page.html} +36 -33
  3. package/{src/error-page.html → error-page.html} +17 -24
  4. package/package.json +28 -37
  5. package/src/authorization-page.tsx +21 -27
  6. package/src/components/forms/button.tsx +8 -8
  7. package/src/components/forms/fieldset.tsx +1 -1
  8. package/src/components/forms/form-card-async.tsx +1 -1
  9. package/src/components/forms/form-card.tsx +1 -1
  10. package/src/components/forms/input-checkbox.tsx +3 -3
  11. package/src/components/forms/input-container.tsx +12 -12
  12. package/src/components/forms/input-text.tsx +2 -2
  13. package/src/components/forms/wizard-card.tsx +2 -2
  14. package/src/components/layouts/layout-title-page.tsx +9 -8
  15. package/src/components/layouts/layout-welcome.tsx +21 -16
  16. package/src/components/utils/account-image.tsx +2 -2
  17. package/src/components/utils/admonition.tsx +5 -5
  18. package/src/components/utils/client-name.tsx +30 -4
  19. package/src/components/utils/error-card.tsx +1 -1
  20. package/src/components/utils/help-card.tsx +3 -3
  21. package/src/components/utils/multi-lang-string.tsx +14 -8
  22. package/src/components/utils/password-strength-meter.tsx +3 -3
  23. package/src/components/utils/url-viewer.tsx +1 -1
  24. package/src/error-page.tsx +8 -14
  25. package/src/hooks/use-api.ts +65 -45
  26. package/src/hydration-data.d.ts +42 -0
  27. package/src/lib/api.ts +12 -21
  28. package/src/{cookies.ts → lib/cookies.ts} +8 -2
  29. package/src/lib/json-client.ts +62 -18
  30. package/src/lib/util.ts +2 -1
  31. package/src/locales/an/messages.po +35 -28
  32. package/src/locales/ast/messages.po +35 -28
  33. package/src/locales/ca/messages.po +35 -28
  34. package/src/locales/da/messages.po +35 -28
  35. package/src/locales/de/messages.po +35 -28
  36. package/src/locales/el/messages.po +35 -28
  37. package/src/locales/en/messages.po +35 -28
  38. package/src/locales/en-GB/messages.po +35 -28
  39. package/src/locales/es/messages.po +35 -28
  40. package/src/locales/eu/messages.po +35 -28
  41. package/src/locales/fi/messages.po +35 -28
  42. package/src/locales/fr/messages.po +35 -28
  43. package/src/locales/ga/messages.po +35 -28
  44. package/src/locales/gl/messages.po +35 -28
  45. package/src/locales/hi/messages.po +35 -28
  46. package/src/locales/hu/messages.po +35 -28
  47. package/src/locales/ia/messages.po +35 -28
  48. package/src/locales/id/messages.po +35 -28
  49. package/src/locales/it/messages.po +35 -28
  50. package/src/locales/ja/messages.po +35 -28
  51. package/src/locales/km/messages.po +35 -28
  52. package/src/locales/ko/messages.po +35 -28
  53. package/src/locales/locale-provider.tsx +55 -59
  54. package/src/locales/locale-selector.tsx +13 -14
  55. package/src/locales/locales.ts +161 -146
  56. package/src/locales/ne/messages.po +35 -28
  57. package/src/locales/nl/messages.po +35 -28
  58. package/src/locales/pl/messages.po +35 -28
  59. package/src/locales/pt-BR/messages.po +35 -28
  60. package/src/locales/ro/messages.po +35 -28
  61. package/src/locales/ru/messages.po +35 -28
  62. package/src/locales/sv/messages.po +35 -28
  63. package/src/locales/th/messages.po +35 -28
  64. package/src/locales/tr/messages.po +35 -28
  65. package/src/locales/uk/messages.po +35 -28
  66. package/src/locales/vi/messages.po +35 -28
  67. package/src/locales/zh-CN/messages.po +35 -28
  68. package/src/locales/zh-HK/messages.po +35 -28
  69. package/src/locales/zh-TW/messages.po +35 -28
  70. package/src/style.css +219 -0
  71. package/src/views/authorize/accept/accept-form.tsx +11 -6
  72. package/src/views/authorize/authorize-view.tsx +13 -10
  73. package/src/views/authorize/reset-password/reset-password-view.tsx +2 -2
  74. package/src/views/authorize/sign-in/sign-in-form.tsx +39 -41
  75. package/src/views/authorize/sign-in/sign-in-picker.tsx +3 -3
  76. package/src/views/authorize/sign-up/sign-up-disclaimer.tsx +3 -3
  77. package/src/views/authorize/sign-up/sign-up-handle-form.tsx +6 -6
  78. package/src/views/authorize/sign-up/sign-up-view.tsx +3 -3
  79. package/src/views/authorize/welcome/welcome-view.tsx +5 -5
  80. package/tsconfig.json +1 -2
  81. package/{tsconfig.frontend.json → tsconfig.src.json} +4 -1
  82. package/tsconfig.src.tsbuildinfo +1 -0
  83. package/tsconfig.tools.json +1 -1
  84. package/tsconfig.tools.tsbuildinfo +1 -1
  85. package/vite.config.mjs +38 -7
  86. package/dist/assets/COdVzed-.css +0 -3
  87. package/dist/assets/COdVzed-.js +0 -100
  88. package/dist/assets/COdVzed-.js.map +0 -1
  89. package/dist/assets/Cqnfnbvc.js +0 -6
  90. package/dist/assets/Cqnfnbvc.js.map +0 -1
  91. package/dist/assets/bundle-manifest.json +0 -630
  92. package/dist/assets/error-view-Bu4y7Nd8.js +0 -208
  93. package/dist/assets/error-view-Bu4y7Nd8.js.map +0 -1
  94. package/dist/assets/index-DXlCRM6V.js +0 -36
  95. package/dist/assets/index-DXlCRM6V.js.map +0 -1
  96. package/dist/assets/messages-2GoTm2qL.js +0 -4
  97. package/dist/assets/messages-2GoTm2qL.js.map +0 -1
  98. package/dist/assets/messages-6Cn2Jbhw.js +0 -4
  99. package/dist/assets/messages-6Cn2Jbhw.js.map +0 -1
  100. package/dist/assets/messages-75hFgOK2.js +0 -4
  101. package/dist/assets/messages-75hFgOK2.js.map +0 -1
  102. package/dist/assets/messages-B3OK4k0O.js +0 -4
  103. package/dist/assets/messages-B3OK4k0O.js.map +0 -1
  104. package/dist/assets/messages-BNXlPzKV.js +0 -4
  105. package/dist/assets/messages-BNXlPzKV.js.map +0 -1
  106. package/dist/assets/messages-BUygB8mD.js +0 -4
  107. package/dist/assets/messages-BUygB8mD.js.map +0 -1
  108. package/dist/assets/messages-BVPPcwNr.js +0 -4
  109. package/dist/assets/messages-BVPPcwNr.js.map +0 -1
  110. package/dist/assets/messages-BbbWUQS8.js +0 -4
  111. package/dist/assets/messages-BbbWUQS8.js.map +0 -1
  112. package/dist/assets/messages-BibKCYyW.js +0 -4
  113. package/dist/assets/messages-BibKCYyW.js.map +0 -1
  114. package/dist/assets/messages-BlPrr9_7.js +0 -4
  115. package/dist/assets/messages-BlPrr9_7.js.map +0 -1
  116. package/dist/assets/messages-ByVCw40U.js +0 -4
  117. package/dist/assets/messages-ByVCw40U.js.map +0 -1
  118. package/dist/assets/messages-C5DU1neP.js +0 -4
  119. package/dist/assets/messages-C5DU1neP.js.map +0 -1
  120. package/dist/assets/messages-C6IgUtbX.js +0 -4
  121. package/dist/assets/messages-C6IgUtbX.js.map +0 -1
  122. package/dist/assets/messages-C92Zzt2o.js +0 -4
  123. package/dist/assets/messages-C92Zzt2o.js.map +0 -1
  124. package/dist/assets/messages-CGZqYT14.js +0 -4
  125. package/dist/assets/messages-CGZqYT14.js.map +0 -1
  126. package/dist/assets/messages-CGlsy4wt.js +0 -4
  127. package/dist/assets/messages-CGlsy4wt.js.map +0 -1
  128. package/dist/assets/messages-CPT1nd0u.js +0 -4
  129. package/dist/assets/messages-CPT1nd0u.js.map +0 -1
  130. package/dist/assets/messages-CTTdXyw_.js +0 -4
  131. package/dist/assets/messages-CTTdXyw_.js.map +0 -1
  132. package/dist/assets/messages-ChK_C_Pj.js +0 -4
  133. package/dist/assets/messages-ChK_C_Pj.js.map +0 -1
  134. package/dist/assets/messages-CjJbk7Uf.js +0 -4
  135. package/dist/assets/messages-CjJbk7Uf.js.map +0 -1
  136. package/dist/assets/messages-CoiLjLYO.js +0 -4
  137. package/dist/assets/messages-CoiLjLYO.js.map +0 -1
  138. package/dist/assets/messages-Cwx6B4Ti.js +0 -4
  139. package/dist/assets/messages-Cwx6B4Ti.js.map +0 -1
  140. package/dist/assets/messages-D0uXAp_H.js +0 -4
  141. package/dist/assets/messages-D0uXAp_H.js.map +0 -1
  142. package/dist/assets/messages-DG0_arU0.js +0 -4
  143. package/dist/assets/messages-DG0_arU0.js.map +0 -1
  144. package/dist/assets/messages-DOXFJh9K.js +0 -4
  145. package/dist/assets/messages-DOXFJh9K.js.map +0 -1
  146. package/dist/assets/messages-DPK7nOoC.js +0 -4
  147. package/dist/assets/messages-DPK7nOoC.js.map +0 -1
  148. package/dist/assets/messages-Duccgtu0.js +0 -4
  149. package/dist/assets/messages-Duccgtu0.js.map +0 -1
  150. package/dist/assets/messages-DxTqgsHq.js +0 -4
  151. package/dist/assets/messages-DxTqgsHq.js.map +0 -1
  152. package/dist/assets/messages-E5_lTg7A.js +0 -4
  153. package/dist/assets/messages-E5_lTg7A.js.map +0 -1
  154. package/dist/assets/messages-UhunAjh1.js +0 -4
  155. package/dist/assets/messages-UhunAjh1.js.map +0 -1
  156. package/dist/assets/messages-Xg_3YLGw.js +0 -4
  157. package/dist/assets/messages-Xg_3YLGw.js.map +0 -1
  158. package/dist/assets/messages-iliBQHY2.js +0 -4
  159. package/dist/assets/messages-iliBQHY2.js.map +0 -1
  160. package/dist/assets/messages-lRprpIl-.js +0 -4
  161. package/dist/assets/messages-lRprpIl-.js.map +0 -1
  162. package/dist/assets/messages-pbPHQbz1.js +0 -4
  163. package/dist/assets/messages-pbPHQbz1.js.map +0 -1
  164. package/dist/assets/messages-q-O7ZQGs.js +0 -4
  165. package/dist/assets/messages-q-O7ZQGs.js.map +0 -1
  166. package/dist/lib/index.d.ts +0 -19
  167. package/dist/lib/index.d.ts.map +0 -1
  168. package/dist/lib/index.js +0 -47
  169. package/dist/lib/index.js.map +0 -1
  170. package/dist/tsconfig.backend.tsbuildinfo +0 -1
  171. package/lib/index.ts +0 -72
  172. package/rollup.config.js +0 -102
  173. package/src/backend-data.ts +0 -35
  174. package/src/hooks/use-csrf-token.ts +0 -5
  175. package/src/lib/backend-data.ts +0 -6
  176. package/src/lib/clsx.ts +0 -6
  177. package/src/locales/locale-context.ts +0 -19
  178. package/src/styles.css +0 -33
  179. package/tailwind.config.js +0 -31
  180. package/tsconfig.backend.json +0 -8
  181. package/tsconfig.frontend.tsbuildinfo +0 -1
  182. /package/{src/index.html → index.html} +0 -0
package/lib/index.ts DELETED
@@ -1,72 +0,0 @@
1
- // This file allows exposing the result of the build of the `../src` folder as
2
- // assets that can be used from a backend service. Specifically, the assets map
3
- // bellow exposes both the asset items from their manifest, as well as a method
4
- // to get the stream data (as a Readable stream) of the asset.
5
-
6
- // When this library is used as a NodeJS dependency (typically from
7
- // node_modules), the assets will simply read on disk from the node_modules
8
- // directory. However, if this file is bundled (e.g. via rollup), the assets
9
- // need to be copied to the bundler's output directory for the code bellow to
10
- // work. Most bundlers support this (webpack, rollup, etc.) by re-writing `new
11
- // URL('./path', import.meta.url)` calls to point to the correct output
12
- // directory.
13
-
14
- // However, that syntax only works in ESM modules. Atproto uses CJS modules, so,
15
- // at the moment, the logic bellow is **not** compatible with bundlers. To allow
16
- // bundling this file as a CJS module, the code bellow should not be dependent
17
- // on reading the files on disk. This can be done by modifying the build system
18
- // to embed the asset bytes directly into the bundle-manifest.json (see the
19
- // `data` option of "@atproto-labs/rollup-plugin-bundle-manifest" in
20
- // rollup.config.js).
21
-
22
- // https://github.com/evanw/esbuild/issues/795
23
- // https://www.npmjs.com/package/@web/rollup-plugin-import-meta-assets
24
-
25
- // Note that the bundle-manifest -- being a JSON file -- can be imported
26
- // directly without any special handling. This is because both bundlers and
27
- // NodeJS, support JSON imports out of the box.
28
-
29
- import { createReadStream } from 'node:fs'
30
- import { join } from 'node:path'
31
- import { Readable } from 'node:stream'
32
- import type { ManifestItem } from '@atproto-labs/rollup-plugin-bundle-manifest'
33
- // @ts-expect-error: This file is generated at build time
34
- // eslint-disable-next-line import/no-unresolved
35
- import bundleManifest from '../assets/bundle-manifest.json'
36
-
37
- // @NOTE Not relying on ManifestItem to describe this type to avoid dependency
38
- // of built code on '@atproto-labs/rollup-plugin-bundle-manifest'.
39
- export type Asset =
40
- | {
41
- type: 'asset'
42
- mime?: string
43
- sha256: string
44
- stream: () => Readable
45
- }
46
- | {
47
- type: 'chunk'
48
- mime: string
49
- sha256: string
50
- dynamicImports: string[]
51
- isDynamicEntry: boolean
52
- isEntry: boolean
53
- isImplicitEntry: boolean
54
- name: string
55
- stream: () => Readable
56
- }
57
-
58
- export const assets = new Map<string, Asset>(
59
- Object.entries<ManifestItem>(bundleManifest).map(
60
- ([filename, { data, ...item }]) => {
61
- const buffer = data ? Buffer.from(data, 'base64') : null
62
- const stream = buffer
63
- ? () => Readable.from(buffer)
64
- : () =>
65
- // ESM version:
66
- // createReadStream(new URL(`../assets/${filename}`, import.meta.url))
67
- // CJS version:
68
- createReadStream(join(__dirname, '..', 'assets', filename))
69
- return [filename, { ...item, stream }]
70
- },
71
- ),
72
- )
package/rollup.config.js DELETED
@@ -1,102 +0,0 @@
1
- /* eslint-env node */
2
-
3
- const { default: commonjs } = require('@rollup/plugin-commonjs')
4
- const {
5
- default: dynamicImportVars,
6
- } = require('@rollup/plugin-dynamic-import-vars')
7
- const { default: nodeResolve } = require('@rollup/plugin-node-resolve')
8
- const { default: swc } = require('@rollup/plugin-swc')
9
- const {
10
- default: manifest,
11
- } = require('@atproto-labs/rollup-plugin-bundle-manifest')
12
- const postcss = ((m) => m.default || m)(require('rollup-plugin-postcss'))
13
-
14
- /**
15
- * @type {import('rollup').RollupOptionsFunction}
16
- */
17
- module.exports = (commandLineArguments) => {
18
- const NODE_ENV =
19
- process.env['NODE_ENV'] ??
20
- (commandLineArguments.watch ? 'development' : 'production')
21
-
22
- const devMode = NODE_ENV === 'development'
23
-
24
- return {
25
- input: [`src/authorization-page.tsx`, `src/error-page.tsx`],
26
- output: {
27
- manualChunks: undefined,
28
- sourcemap: true,
29
- dir: 'dist/assets',
30
- format: 'module',
31
- entryFileNames: devMode ? '[name]-[hash].js' : '[hash].js',
32
- },
33
- plugins: [
34
- {
35
- name: 'resolve-swc-helpers',
36
- resolveId(src) {
37
- // For some reason, "nodeResolve" doesn't resolve these:
38
- if (src.startsWith('@swc/helpers/')) return require.resolve(src)
39
- },
40
- },
41
- nodeResolve({
42
- preferBuiltins: false,
43
- browser: true,
44
- exportConditions: ['browser', 'module', 'import', 'default'],
45
- }),
46
- commonjs(),
47
- postcss({ config: true, extract: true, minimize: !devMode }),
48
- swc({
49
- swc: {
50
- swcrc: false,
51
- configFile: false,
52
- sourceMaps: true,
53
- minify: !devMode,
54
- jsc: {
55
- experimental: {
56
- // @NOTE Because of the experimental nature of SWC plugins, A
57
- // very particular version of @swc/core needs to be used. The
58
- // link below allows to determine with version of @swc/core is
59
- // compatible based on the version of @lingui/swc-plugin used
60
- // (click on the swc_core version in the right column to see
61
- // which version of the @swc/core is compatible)
62
- //
63
- // https://github.com/lingui/swc-plugin?tab=readme-ov-file#compatibility
64
- plugins: [['@lingui/swc-plugin', {}]],
65
- },
66
- minify: {
67
- compress: true,
68
- mangle: true,
69
- },
70
- externalHelpers: true,
71
- target: 'es2020',
72
- parser: { syntax: 'typescript', tsx: true },
73
- transform: {
74
- useDefineForClassFields: true,
75
- react: { runtime: 'automatic' },
76
- optimizer: {
77
- simplify: true,
78
- globals: {
79
- vars: {
80
- 'process.env.NODE_ENV': JSON.stringify(NODE_ENV),
81
- },
82
- },
83
- },
84
- },
85
- },
86
- },
87
- }),
88
- dynamicImportVars({ errorWhenNoFilesFound: true }),
89
-
90
- // Change `data` to `true` to include assets data in the manifest,
91
- // allowing for easier bundling of the backend code (eg. using esbuild) as
92
- // bundlers know how to bundle JSON files but not how to bundle assets
93
- // referenced at runtime.
94
- manifest({ data: false }),
95
- ],
96
- onwarn(warning, warn) {
97
- // 'use client' directives are fine
98
- if (warning.code === 'MODULE_LEVEL_DIRECTIVE') return
99
- warn(warning)
100
- },
101
- }
102
- }
@@ -1,35 +0,0 @@
1
- import type {
2
- AuthorizeData,
3
- AvailableLocales,
4
- CustomizationData,
5
- ErrorData,
6
- } from '@atproto/oauth-provider-api'
7
-
8
- function readBackendData<T>(key: string, required: true): T
9
- function readBackendData<T>(key: string, requires?: false): T | undefined
10
- function readBackendData<T>(key: string, required = false): T | undefined {
11
- const value = window[key] as T | undefined
12
- delete window[key] // Prevent accidental usage / potential leaks to dependencies
13
- if (required && value === undefined) {
14
- throw new TypeError(`Backend data "${key}" is missing`)
15
- }
16
- return value
17
- }
18
-
19
- // These values are injected by the backend when it builds the
20
- // page HTML. See "declareBackendData()" in the backend.
21
-
22
- /** @deprecated Do not import directly. Only import this from main.tsx */
23
- export const availableLocales = readBackendData<AvailableLocales>(
24
- '__availableLocales',
25
- true,
26
- )
27
- /** @deprecated Do not import directly. Only import this from main.tsx */
28
- export const customizationData = readBackendData<CustomizationData>(
29
- '__customizationData',
30
- true,
31
- )
32
- /** @deprecated Do not import directly. Only import this from main.tsx */
33
- export const errorData = readBackendData<ErrorData>('__errorData')
34
- /** @deprecated Do not import directly. Only import this from main.tsx */
35
- export const authorizeData = readBackendData<AuthorizeData>('__authorizeData')
@@ -1,5 +0,0 @@
1
- import { cookies } from '../cookies.ts'
2
-
3
- export function useCsrfToken(cookieName: string) {
4
- return cookies[cookieName]
5
- }
@@ -1,6 +0,0 @@
1
- export function readBackendData<T>(key: string): T {
2
- const value = window[key] as T | undefined
3
- delete window[key] // Prevent accidental usage / potential leaks to dependencies
4
- if (value !== undefined) return value
5
- throw new TypeError(`Backend data "${key}" is missing`)
6
- }
package/src/lib/clsx.ts DELETED
@@ -1,6 +0,0 @@
1
- type ClsxArg = string | false | undefined
2
-
3
- export function clsx(...args: [ClsxArg, ...ClsxArg[]]): string | undefined {
4
- const filtered = args.filter(Boolean) as string[]
5
- return filtered.length > 0 ? filtered.join(' ') : undefined
6
- }
@@ -1,19 +0,0 @@
1
- import { createContext, useContext } from 'react'
2
- // @NOTE run "pnpm run po:compile" to compile the messages from the PO files
3
- import { KnownLocale } from './locales.ts'
4
-
5
- export type LocaleContextValue = {
6
- locale: string
7
- locales: Partial<Record<KnownLocale, { name: string; flag?: string }>>
8
- setLocale: (locale: KnownLocale) => void
9
- }
10
-
11
- export const LocaleContext = createContext<LocaleContextValue | null>(null)
12
-
13
- export function useLocaleContext(): LocaleContextValue {
14
- const context = useContext(LocaleContext)
15
- if (!context) {
16
- throw new Error('useLocaleContext must be used within a LocaleProvider')
17
- }
18
- return context
19
- }
package/src/styles.css DELETED
@@ -1,33 +0,0 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
4
-
5
- /*
6
- * These are the default branding variables for the oauth authorization page.
7
- * The colors below are in the R G B format, with values ranging from 0 to 255.
8
- *
9
- * The variables defined here are typically overridden by the backend, based on
10
- * the provided branding colors configuration, if any, by injecting a <style>
11
- * tag into the head of the document. Any missing color from the branding config
12
- * will result in the values defined here to be used.
13
- *
14
- * The variables suffixed with "-c" are the contrasting colors for the
15
- * corresponding color name. The backend will automatically compute & inject
16
- * those values for defined branding configuration colors.
17
- *
18
- * The colors names used here match those defined in tailwind.config.js,
19
- * allowing to use these color names with tailwind classes (e.g. `bg-brand
20
- * text-brand-c`).
21
- */
22
- @layer base {
23
- :root {
24
- --color-brand: 255 115 179;
25
- --color-brand-c: 0 0 0;
26
- --color-error: 218 44 67;
27
- --color-error-c: 255 255 255;
28
- --color-warning: 255 201 73;
29
- --color-warning-c: 0 0 0;
30
- --color-success: 0 191 165;
31
- --color-success-c: 255 255 255;
32
- }
33
- }
@@ -1,31 +0,0 @@
1
- /** @type {import('tailwindcss').Config} */
2
- export default {
3
- content: ['src/**/*.{js,ts,jsx,tsx}'],
4
- theme: {
5
- fontFamily: {
6
- sans: [
7
- '-apple-system',
8
- 'BlinkMacSystemFont',
9
- '"Segoe UI"',
10
- 'Roboto',
11
- 'Helvetica',
12
- 'Arial',
13
- 'sans-serif',
14
- ],
15
- mono: ['Monaco', 'mono'],
16
- },
17
- extend: {
18
- colors: {
19
- brand: 'rgb(var(--color-brand) / <alpha-value>)',
20
- 'brand-c': 'rgb(var(--color-brand-c) / <alpha-value>)',
21
- error: 'rgb(var(--color-error) / <alpha-value>)',
22
- 'error-c': 'rgb(var(--color-error-c) / <alpha-value>)',
23
- warning: 'rgb(var(--color-warning) / <alpha-value>)',
24
- 'warning-c': 'rgb(var(--color-warning-c) / <alpha-value>)',
25
- success: 'rgb(var(--color-success) / <alpha-value>)',
26
- 'success-c': 'rgb(var(--color-success-c) / <alpha-value>)',
27
- },
28
- },
29
- },
30
- plugins: [],
31
- }
@@ -1,8 +0,0 @@
1
- {
2
- "extends": ["../../../tsconfig/nodenext.json"],
3
- "compilerOptions": {
4
- "outDir": "dist/lib",
5
- "rootDir": "lib"
6
- },
7
- "include": ["lib/**/*.ts"]
8
- }
@@ -1 +0,0 @@
1
- {"root":["./src/backend-data.ts","./src/cookies.ts","./src/hooks/use-api.ts","./src/hooks/use-async-action.ts","./src/hooks/use-bound-dispatch.ts","./src/hooks/use-browser-color-scheme.ts","./src/hooks/use-csrf-token.ts","./src/hooks/use-random-string.ts","./src/hooks/use-stepper.ts","./src/lib/api.ts","./src/lib/backend-data.ts","./src/lib/clsx.ts","./src/lib/json-client.ts","./src/lib/password.ts","./src/lib/ref.ts","./src/lib/util.ts","./src/locales/load.ts","./src/locales/locale-context.ts","./src/locales/locales.ts","./src/locales/an/messages.ts","./src/locales/ast/messages.ts","./src/locales/ca/messages.ts","./src/locales/da/messages.ts","./src/locales/de/messages.ts","./src/locales/el/messages.ts","./src/locales/en/messages.ts","./src/locales/en-GB/messages.ts","./src/locales/es/messages.ts","./src/locales/eu/messages.ts","./src/locales/fi/messages.ts","./src/locales/fr/messages.ts","./src/locales/ga/messages.ts","./src/locales/gl/messages.ts","./src/locales/hi/messages.ts","./src/locales/hu/messages.ts","./src/locales/ia/messages.ts","./src/locales/id/messages.ts","./src/locales/it/messages.ts","./src/locales/ja/messages.ts","./src/locales/km/messages.ts","./src/locales/ko/messages.ts","./src/locales/ne/messages.ts","./src/locales/nl/messages.ts","./src/locales/pl/messages.ts","./src/locales/pt-BR/messages.ts","./src/locales/ro/messages.ts","./src/locales/ru/messages.ts","./src/locales/sv/messages.ts","./src/locales/th/messages.ts","./src/locales/tr/messages.ts","./src/locales/uk/messages.ts","./src/locales/vi/messages.ts","./src/locales/zh-CN/messages.ts","./src/locales/zh-HK/messages.ts","./src/locales/zh-TW/messages.ts","./src/authorization-page.tsx","./src/error-page.tsx","./src/components/forms/button-toggle-visibility.tsx","./src/components/forms/button.tsx","./src/components/forms/fieldset.tsx","./src/components/forms/form-card-async.tsx","./src/components/forms/form-card.tsx","./src/components/forms/input-checkbox.tsx","./src/components/forms/input-container.tsx","./src/components/forms/input-email-address.tsx","./src/components/forms/input-new-password.tsx","./src/components/forms/input-password.tsx","./src/components/forms/input-text.tsx","./src/components/forms/input-token.tsx","./src/components/forms/wizard-card.tsx","./src/components/layouts/layout-title-page.tsx","./src/components/layouts/layout-welcome.tsx","./src/components/utils/account-identifier.tsx","./src/components/utils/account-image.tsx","./src/components/utils/admonition.tsx","./src/components/utils/client-name.tsx","./src/components/utils/error-card.tsx","./src/components/utils/error-message.tsx","./src/components/utils/help-card.tsx","./src/components/utils/icons.tsx","./src/components/utils/link-anchor.tsx","./src/components/utils/link-title.tsx","./src/components/utils/multi-lang-string.tsx","./src/components/utils/password-strength-label.tsx","./src/components/utils/password-strength-meter.tsx","./src/components/utils/url-viewer.tsx","./src/locales/locale-provider.tsx","./src/locales/locale-selector.tsx","./src/views/authorize/authorize-view.tsx","./src/views/authorize/accept/accept-form.tsx","./src/views/authorize/accept/accept-view.tsx","./src/views/authorize/reset-password/reset-password-confirm-form.tsx","./src/views/authorize/reset-password/reset-password-request-form.tsx","./src/views/authorize/reset-password/reset-password-view.tsx","./src/views/authorize/sign-in/sign-in-form.tsx","./src/views/authorize/sign-in/sign-in-picker.tsx","./src/views/authorize/sign-in/sign-in-view.tsx","./src/views/authorize/sign-up/sign-up-account-form.tsx","./src/views/authorize/sign-up/sign-up-disclaimer.tsx","./src/views/authorize/sign-up/sign-up-handle-form.tsx","./src/views/authorize/sign-up/sign-up-hcaptcha-form.tsx","./src/views/authorize/sign-up/sign-up-view.tsx","./src/views/authorize/welcome/welcome-view.tsx","./src/views/error/error-view.tsx"],"version":"5.6.3"}
File without changes