@designcrowd/fe-shared-lib 1.3.3-byologo-error-localization → 1.3.4-ML-signin-fixes-2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designcrowd/fe-shared-lib",
3
- "version": "1.3.3-byologo-error-localization",
3
+ "version": "1.3.4-ML-signin-fixes-2",
4
4
  "scripts": {
5
5
  "start": "run-p storybook watch:translation",
6
6
  "build": "npm run build:css --production",
@@ -150,7 +150,7 @@ export default {
150
150
  getRedirectToSignInUrl() {
151
151
  const url = new URL(`https://${window.location.host}${this.signInUrl}`);
152
152
  if (this.aEmail) {
153
- url.searchParams.append('initialUserName', this.aEmail);
153
+ url.searchParams.set('initialUserName', this.aEmail);
154
154
  }
155
155
  return url;
156
156
  },
@@ -1,13 +1,13 @@
1
1
  <template>
2
2
  <div :class="{ 'tw-mx-2 sm:tw-mx-8': !isModal }">
3
- <div v-if="helloBar" class="tw-text-left tw-mt-8">
3
+ <div v-if="helloBar" class="tw-text-left tw-mt-2 tw-mb-2">
4
4
  <HelloBar :label="helloBar.label" :description="helloBar.description" :variant="helloBar.variant">
5
5
  <template #cta>
6
6
  <Button
7
7
  v-if="recommendedActionLink"
8
8
  variant="secondary"
9
9
  size="small"
10
- label="RESET PASSWORD"
10
+ :label="resetPasswordButtonLabel"
11
11
  class="tw-hidden sm:tw-inline"
12
12
  :url="getRedirectToRecommendedActionUrl"
13
13
  />
@@ -15,7 +15,7 @@
15
15
  v-if="recommendedActionLink"
16
16
  variant="secondary"
17
17
  size="medium"
18
- label="RESET PASSWORD"
18
+ :label="resetPasswordButtonLabel"
19
19
  :full-width="true"
20
20
  class="sm:tw-hidden tw-mt-2"
21
21
  :url="getRedirectToRecommendedActionUrl"
@@ -63,7 +63,6 @@
63
63
  <input
64
64
  v-model="aUserName"
65
65
  name="userName"
66
- type="email"
67
66
  data-test-email-input
68
67
  aria-required="true"
69
68
  :aria-invalid="!!userNameError"
@@ -327,6 +326,7 @@ export default {
327
326
  emailPlaceholderLabel: this.signInContent.emailPlaceholderLabel ?? 'Email Address',
328
327
  passwordPlaceholderLabel: this.signInContent.passwordPlaceholderLabel ?? 'Password',
329
328
  forgotPasswordLabel: this.signInContent.forgotPasswordLabel ?? 'Forgot Password?',
329
+ resetPasswordButtonLabel: this.signInContent.resetPasswordButtonLabel ?? 'RESET PASSWORD',
330
330
  orLabel: this.signInContent.orLabel ?? 'or',
331
331
  signUpLabel: this.signInContent.signUpLabel ?? 'Sign Up',
332
332
  };
@@ -395,8 +395,10 @@ export default {
395
395
  this.clearErrorMessages();
396
396
  },
397
397
  initialUserName(newValue) {
398
- this.aUserName = newValue;
399
- },
398
+ if (newValue && newValue !== this.aUserName) {
399
+ this.aUserName = newValue;
400
+ }
401
+ }
400
402
  },
401
403
  methods: {
402
404
  validate(e) {
@@ -3,7 +3,6 @@ const bpTheme = require("./src/themes/bp");
3
3
  const dcTheme = require("./src/themes/dc");
4
4
  const cdTheme = require("./src/themes/cd");
5
5
  const dcomTheme = require("./src/themes/dcom");
6
- const frenchTheme = require("./src/themes/french");
7
6
  const viewports = require("./src/viewports");
8
7
 
9
8
  module.exports = {
@@ -13,7 +12,6 @@ module.exports = {
13
12
  crazyDomains: cdTheme,
14
13
  designCrowd: dcTheme,
15
14
  designCom: dcomTheme,
16
- french: frenchTheme,
17
15
  },
18
16
  viewports,
19
17
  };
@@ -1,96 +0,0 @@
1
- {
2
- "env": {
3
- "CLAUDE_CODE_USE_BEDROCK": "1",
4
- "AWS_PROFILE": "default",
5
- "AWS_REGION": "us-east-1",
6
- "ANTHROPIC_MODEL": "us.anthropic.claude-sonnet-4-20250514-v1:0",
7
- "CLAUDE_CODE_MAX_OUTPUT_TOKENS": "10000",
8
- "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
9
- },
10
- "permissions": {
11
- "allow": [
12
- "Bash(find:*)",
13
- "Bash(cat:*)",
14
- "mcp__seqthinking__sequentialthinking",
15
- "Bash(grep:*)",
16
- "Bash(sed:*)",
17
- "Bash(dotnet run:*)",
18
- "Bash(rm:*)",
19
- "Bash(jq:*)",
20
- "mcp__context7__sequentialthinking",
21
- "Bash(ls:*)",
22
- "Bash(/home/zknowles/ClaudeTools/src/Tools.Claude.MetaTranslations/bin/Debug/net8.0/Tools.Claude.MetaTranslations \"/home/zknowles/BrandCrowd.Net/BrandCrowd.Nuxt/src/server/pages/[maker]/home/i18n\")",
23
- "Bash(chmod:*)",
24
- "Bash(node:*)",
25
- "Bash(git checkout:*)",
26
- "Bash(python3:*)",
27
- "Bash(git restore:*)",
28
- "Bash(git merge:*)",
29
- "Bash(git add:*)",
30
- "Bash(npm install:*)",
31
- "Bash(npm uninstall:*)",
32
- "Bash(npm run lint)",
33
- "Bash(mkdir:*)",
34
- "Bash(curl:*)",
35
- "Bash(pkill:*)",
36
- "Bash(git stash:*)",
37
- "Bash(timeout 30s npm run watch:dcom)",
38
- "Bash(timeout 60s npm run watch:dcom:runtime)",
39
- "Bash(npm run watch:dcom:runtime:*)",
40
- "Bash(npm test:*)",
41
- "Bash(mv:*)",
42
- "Bash(dotnet test:*)",
43
- "Bash(dotnet build:*)",
44
- "Bash(git revert:*)",
45
- "mcp__read-website-fast__read_website",
46
- "Bash(rg:*)",
47
- "Bash(cp:*)",
48
- "Bash(npm run test:unit:*)",
49
- "Bash(npm run:*)",
50
- "Bash(npx vue-tsc:*)",
51
- "Bash(git reset:*)",
52
- "Bash(git fsck:*)",
53
- "Bash(git fetch:*)",
54
- "WebFetch(domain:github.com)",
55
- "WebFetch(domain:www.anthropic.com)",
56
- "WebFetch(domain:arxiv.org)",
57
- "WebFetch(domain:www.reddit.com)",
58
- "WebFetch(domain:docs.anthropic.com)",
59
- "Bash(mount)",
60
- "Bash(echo $WSLENV)",
61
- "Bash(echo $WSL_DISTRO_NAME)",
62
- "Bash(echo $UV_THREADPOOL_SIZE)",
63
- "Bash(env)",
64
- "Bash(npm --version)",
65
- "Bash(echo $NODE_ENV)",
66
- "Bash(echo $NUXT_IS_PRODUCTION)",
67
- "Bash(npm config:*)",
68
- "Bash(echo $PWD)",
69
- "Bash(echo $HOME)",
70
- "Bash(pnpm:*)",
71
- "Bash(yarn --version)",
72
- "Bash(echo:*)",
73
- "Bash(echo $CHROME_FLAGS)",
74
- "Bash(git config:*)",
75
- "Bash(echo $NODE_OPTIONS)",
76
- "Bash(npx vite-bundle-analyzer:*)",
77
- "Bash(source ~/.bashrc)",
78
- "Bash(sysctl:*)",
79
- "Bash(ss:*)",
80
- "mcp__ide__getDiagnostics",
81
- "Bash(timeout 10s npm run watch:ultra)",
82
- "Bash(timeout 5s npm run watch:ultra)",
83
- "Bash(gh pr view:*)",
84
- "Bash(touch:*)",
85
- "Bash(npx ts-node:*)",
86
- "Bash(npx tsc:*)",
87
- "Bash(docker:*)",
88
- "Bash(sqlcmd:*)",
89
- "Bash(code --version)",
90
- "Bash(aws:*)",
91
- "Bash(code:*)",
92
- "Bash(export PATH=\"$PATH:/opt/mssql-tools18/bin\")"
93
- ],
94
- "deny": []
95
- }
96
- }
Binary file
Binary file
Binary file
@@ -1,3 +0,0 @@
1
- ![alt text](image.png)
2
- ![alt text](image-1.png)
3
- ![alt text](image-2.png)
@@ -1,12 +0,0 @@
1
- /*
2
- Theme: French Locale (based on BrandCrowd)
3
- This theme is identical to BrandCrowd but forces French locale for translations
4
- */
5
-
6
- const bcTheme = require("./bc");
7
- const _ = require("lodash");
8
-
9
- module.exports = _.merge({}, bcTheme, {
10
- // Inherit all BrandCrowd styling but add locale identifier
11
- locale: "fr-FR",
12
- });