@myxtra/authentication-green 1.9.7 → 1.10.0-alpha.1

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.
@@ -1,4 +1,4 @@
1
- import { r as d, j as n, g as _t, u as H, a as He, b as St, E as Et } from "./index-379e9807.mjs";
1
+ import { r as d, j as n, g as _t, u as H, a as He, b as St, E as Et } from "./index-66467a79.mjs";
2
2
  class G {
3
3
  constructor() {
4
4
  this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
@@ -2800,10 +2800,11 @@ var ft = d.createContext(void 0), wr = ({
2800
2800
  case "ArrowLeft":
2801
2801
  return v.preventDefault(), l(o ? Math.max(0, o - 1) : 0);
2802
2802
  case "ArrowDown":
2803
- case "ArrowRight":
2803
+ case "ArrowRight": {
2804
2804
  v.preventDefault();
2805
2805
  const x = o !== void 0 ? o + 1 : 0;
2806
2806
  return l(Math.min(y, x));
2807
+ }
2807
2808
  case "Home":
2808
2809
  return v.preventDefault(), l(0);
2809
2810
  case "End":
@@ -8462,7 +8462,7 @@ class Am extends HTMLElement {
8462
8462
  async connectedCallback() {
8463
8463
  const t = this.attachShadow({ mode: "open" });
8464
8464
  Ym(t);
8465
- const n = qc(t), i = (await import("./App-160e2e80.mjs")).default;
8465
+ const n = qc(t), i = (await import("./App-540c6a00.mjs")).default;
8466
8466
  n.render(
8467
8467
  /* @__PURE__ */ zn.jsx(
8468
8468
  i,
package/dist/style.css CHANGED
@@ -1 +1 @@
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
+ .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:"";top:0;right:0;bottom:0;left:0}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}}
@@ -1,4 +1,4 @@
1
- import { c as f } from "./index-379e9807.mjs";
1
+ import { c as f } from "./index-66467a79.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.9.7",
3
+ "version": "1.10.0-alpha.1",
4
4
  "main": "./dist/xtra-authentication.mjs",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -16,12 +16,13 @@
16
16
  "stylelint": "stylelint --fix 'src/**/*.css'",
17
17
  "test": "vitest",
18
18
  "test:coverage": "vitest run --coverage --reporter=junit",
19
- "translations:pull": "crowdin pull && prettier --write './src/assets/locales'"
19
+ "translations:pull": "crowdin pull && prettier --write './src/assets/locales'",
20
+ "typecheck": "tsc --noEmit"
20
21
  },
21
22
  "dependencies": {
22
- "@myxtra/authentication-react": "1.10.0-alpha.0",
23
- "@myxtra/shared": "1.9.5",
24
- "@myxtra/ui-react": "1.10.0-alpha.0",
23
+ "@myxtra/authentication-react": "1.10.0-alpha.2",
24
+ "@myxtra/shared": "1.10.0-alpha.0",
25
+ "@myxtra/ui-react": "1.10.0-alpha.2",
25
26
  "@tanstack/react-query": "^4.35.3",
26
27
  "clsx": "^2.0.0",
27
28
  "i18next": "^23.5.1",
@@ -33,8 +34,8 @@
33
34
  },
34
35
  "devDependencies": {
35
36
  "@crowdin/cli": "^3.14.0",
36
- "@myxtra/eslint-config-react": "1.10.0-alpha.0",
37
- "@myxtra/stylelint-config": "1.10.0-alpha.0",
37
+ "@myxtra/eslint-config": "1.10.0-alpha.1",
38
+ "@myxtra/stylelint-config": "1.10.0-alpha.2",
38
39
  "@testing-library/dom": "^9.3.3",
39
40
  "@testing-library/jest-dom": "^6.1.3",
40
41
  "@testing-library/react": "^14.0.0",
@@ -42,10 +43,10 @@
42
43
  "@types/js-cookie": "^3.0.4",
43
44
  "@types/react": "^18.2.22",
44
45
  "@types/react-dom": "^18.2.7",
45
- "@vitejs/plugin-react": "^4.0.4",
46
- "@vitest/coverage-istanbul": "^0.34.4",
47
- "eslint": "^8.49.0",
48
- "happy-dom": "^12.1.5",
46
+ "@vitejs/plugin-react": "^4.1.0",
47
+ "@vitest/coverage-istanbul": "^0.34.5",
48
+ "eslint": "^8.50.0",
49
+ "happy-dom": "^12.1.6",
49
50
  "msw": "0.0.0-fetch.rc-20",
50
51
  "prettier": "^3.0.3",
51
52
  "rollup-plugin-visualizer": "^5.9.2",
@@ -53,6 +54,6 @@
53
54
  "typescript": "^5.2.2",
54
55
  "vite": "^4.4.9",
55
56
  "vite-tsconfig-paths": "^4.2.1",
56
- "vitest": "^0.34.4"
57
+ "vitest": "^0.34.5"
57
58
  }
58
59
  }