@myxtra/authentication-green 1.7.4 → 1.7.6

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/style.css CHANGED
@@ -1 +1 @@
1
- .button--authentication{position:relative;display:flex;width:auto;width:fit-content;padding:var(--spacing-2);border:none;border-radius:var(--border-radius-sm);font:var(--subtext-medium);gap:0}.button--authentication .button__label{display:none}.button--authentication .button__icon{position:relative;width:24px;height:24px}.button--authentication--authenticated{padding:var(--spacing-2)}.button--authentication--unauthenticated{display:none}@media screen and (min-width: 64rem){.menu--unauthenticated{display:none}.button--authentication{gap:var(--spacing-2)}.button--authentication--unauthenticated{display:flex}.button--authentication:not(.button--authentication--authenticated){padding:var(--spacing-2) var(--spacing-6)}.button--authentication .button__label{display:inline}.button--authentication:not(.button--authentication--authenticated)>.button__icon-right{display:none}}@media (prefers-reduced-motion: no-preference){.spinner:after{position:absolute;width:16px;height:16px;border:4px solid transparent;border-radius:50%;border-top-color:transparent;border-top-color:var(--primary-500);margin:auto;animation:spin 1s ease infinite;content:"";inset:0}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}}
1
+ .button--authentication{position:relative;display:flex;width:auto;width:fit-content;align-items:center;padding:var(--spacing-2);border:none;border-radius:var(--border-radius-sm);font:var(--subtext-medium);gap:0}.button--authentication .button__label{display:none}.button--authentication .button__icon{position:relative;width:24px;height:24px}.button--authentication--authenticated{padding:var(--spacing-2)}.button--authentication--unauthenticated{display:none}@media screen and (min-width: 64rem){.menu--unauthenticated{display:none}.button--authentication{gap:var(--spacing-2)}.button--authentication--unauthenticated{display:flex}.button--authentication:not(.button--authentication--authenticated){padding:var(--spacing-2) var(--spacing-6)}.button--authentication .button__label{display:inline}.button--authentication:not(.button--authentication--authenticated)>.button__icon-right{display:none}}@media (prefers-reduced-motion: no-preference){.spinner:after{position:absolute;width:16px;height:16px;border:4px solid transparent;border-radius:50%;border-top-color:transparent;border-top-color:var(--primary-500);margin:auto;animation:spin 1s ease infinite;content:"";inset:0}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}}
@@ -1,4 +1,4 @@
1
- import { c as f } from "./index-7c8ad3aa.mjs";
1
+ import { c as f } from "./index-ca34452c.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myxtra/authentication-green",
3
- "version": "1.7.4",
3
+ "version": "1.7.6",
4
4
  "main": "./dist/xtra-authentication.mjs",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "scripts": {
13
13
  "dev": "vite",
14
- "build": "tsc && vite build",
14
+ "build": "tsc -p tsconfig.production.json && vite build",
15
15
  "lint": "eslint --fix --ext .tsx,.ts src/",
16
16
  "stylelint": "stylelint --fix 'src/**/*.css'",
17
17
  "test": "vitest",
@@ -19,10 +19,10 @@
19
19
  "translations:pull": "crowdin pull && prettier --write './src/assets/locales'"
20
20
  },
21
21
  "dependencies": {
22
- "@myxtra/authentication-react": "1.7.2",
23
- "@myxtra/shared": "1.7.2",
24
- "@myxtra/ui-react": "1.7.2",
25
- "@tanstack/react-query": "^4.32.0",
22
+ "@myxtra/authentication-react": "1.8.0-alpha.0",
23
+ "@myxtra/shared": "1.8.0-alpha.0",
24
+ "@myxtra/ui-react": "1.8.0-alpha.0",
25
+ "@tanstack/react-query": "^4.33.0",
26
26
  "clsx": "^2.0.0",
27
27
  "i18next": "^22.5.1",
28
28
  "i18next-browser-languagedetector": "^7.1.0",
@@ -33,25 +33,25 @@
33
33
  },
34
34
  "devDependencies": {
35
35
  "@crowdin/cli": "^3.13.0",
36
- "@myxtra/eslint-config-react": "1.7.2",
37
- "@myxtra/stylelint-config": "1.7.2",
36
+ "@myxtra/eslint-config-react": "1.8.0-alpha.0",
37
+ "@myxtra/stylelint-config": "1.8.0-alpha.0",
38
38
  "@testing-library/dom": "^9.3.1",
39
- "@testing-library/jest-dom": "^5.17.0",
39
+ "@testing-library/jest-dom": "^6.0.1",
40
40
  "@testing-library/react": "^14.0.0",
41
41
  "@testing-library/user-event": "^14.4.3",
42
42
  "@types/js-cookie": "^3.0.3",
43
- "@types/react": "^18.2.15",
43
+ "@types/react": "^18.2.20",
44
44
  "@types/react-dom": "^18.2.7",
45
- "@vitejs/plugin-react": "^4.0.3",
45
+ "@vitejs/plugin-react": "^4.0.4",
46
46
  "@vitest/coverage-istanbul": "^0.33.0",
47
- "eslint": "^8.45.0",
47
+ "eslint": "^8.47.0",
48
48
  "happy-dom": "^6.0.4",
49
49
  "msw": "^0.49.3",
50
- "prettier": "^3.0.0",
50
+ "prettier": "^3.0.2",
51
51
  "rollup-plugin-visualizer": "^5.9.2",
52
- "stylelint": "^15.10.2",
52
+ "stylelint": "^15.10.3",
53
53
  "typescript": "^5.1.6",
54
- "vite": "^4.4.6",
54
+ "vite": "^4.4.9",
55
55
  "vite-tsconfig-paths": "^4.2.0",
56
56
  "vitest": "^0.33.0"
57
57
  }