@arkitektbedriftene/fe-lib 5.11.2 → 6.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.
- package/README.md +44 -3
- package/dist/fonts.css +1 -1
- package/dist/oidc/AuthManager.d.ts +53 -0
- package/dist/oidc/oidc.d.ts +1 -0
- package/dist/oidc.es.js +202 -109
- package/dist/rich-text/styles.d.ts +3 -3
- package/dist/rich-text.es.js +1 -1
- package/dist/{stitches.config-DTq6WSgP.js → stitches.config-gk2-nbbz.js} +3 -3
- package/dist/system.css +1 -1
- package/dist/ui/components/Alert.d.ts +3 -3
- package/dist/ui/components/Avatar.d.ts +3 -3
- package/dist/ui/components/Badge.d.ts +3 -3
- package/dist/ui/components/Box.d.ts +3 -3
- package/dist/ui/components/Button.d.ts +3 -3
- package/dist/ui/components/Card.d.ts +3 -3
- package/dist/ui/components/Dialog.d.ts +9 -9
- package/dist/ui/components/Form/Checkbox.d.ts +3 -3
- package/dist/ui/components/Form/Switch.d.ts +6 -6
- package/dist/ui/components/Form/TextArea.d.ts +3 -3
- package/dist/ui/components/Form/TextInput.d.ts +3 -3
- package/dist/ui/components/Form/text.d.ts +6 -6
- package/dist/ui/components/Menu/DropdownMenu.d.ts +9 -9
- package/dist/ui/components/Menu/Menu.d.ts +9 -9
- package/dist/ui/components/NavBar.d.ts +3 -3
- package/dist/ui/components/OverlayCard.d.ts +3 -3
- package/dist/ui/components/Spinner.d.ts +3 -3
- package/dist/ui/components/Stack.d.ts +3 -3
- package/dist/ui/components/Toolbar.d.ts +12 -12
- package/dist/ui/stitches.config.d.ts +18 -18
- package/dist/ui.es.js +2 -2
- package/package.json +1 -7
- package/dist/normalize.css +0 -1
- package/dist/normalize.css.d.ts +0 -1
- package/dist/ui.css +0 -1
- package/dist/ui.css.d.ts +0 -1
package/README.md
CHANGED
|
@@ -1,7 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
### 1. Innstallér pakken
|
|
1
|
+
# Design system
|
|
4
2
|
|
|
5
3
|
```
|
|
6
4
|
npm install @arkitektbedriftene/fe-lib
|
|
7
5
|
```
|
|
6
|
+
|
|
7
|
+
### @arkitektbedriftene/fe-lib/ui
|
|
8
|
+
|
|
9
|
+
The **UI design system** was built with **Stitches (CSS-in-JS)** and is based on the old visual profile.
|
|
10
|
+
|
|
11
|
+
Stitches is now discontinued, so this design system should be considered **legacy**. However, it is still widely used and must continue to live **in parallel with the new Tailwind-based system**.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
### @arkitektbedriftene/fe-lib/system
|
|
16
|
+
|
|
17
|
+
The **System design system** is built with **Tailwind** and is based on the **new visual profile**.
|
|
18
|
+
It is a **work in progress (WIP)** and was created in connection with the new website.
|
|
19
|
+
|
|
20
|
+
Most services now use **/ui** and **/system** in parallel.
|
|
21
|
+
|
|
22
|
+
## Usage
|
|
23
|
+
|
|
24
|
+
##### app.css
|
|
25
|
+
```css
|
|
26
|
+
@import "tailwindcss";
|
|
27
|
+
|
|
28
|
+
/* Import System base styles and Fonts */
|
|
29
|
+
@source "@arkitektbedriftene/fe-lib/dist/system";
|
|
30
|
+
@import "@arkitektbedriftene/fe-lib/dist/fonts.css";
|
|
31
|
+
@import "@arkitektbedriftene/fe-lib/dist/system.css";
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
##### App.tsx
|
|
35
|
+
```javascript
|
|
36
|
+
import { Button as UIButton } from "@arkitektbedriftene/fe-lib/ui"
|
|
37
|
+
import { Button as SystemButton } from "@arkitektbedriftene/fe-lib/system/Button"
|
|
38
|
+
|
|
39
|
+
const App = () => {
|
|
40
|
+
return (
|
|
41
|
+
<>
|
|
42
|
+
<UIButton>UI button</UIButton>
|
|
43
|
+
<SystemButton>System button</SystemButton>
|
|
44
|
+
<button className="btn">System button</button>
|
|
45
|
+
</>
|
|
46
|
+
)
|
|
47
|
+
}
|
|
48
|
+
```
|
package/dist/fonts.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@font-face{font-family:STKBureauSans;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSans-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:STKBureauSans;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSans-Italic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:STKBureauSans;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSans-Bold.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:STKBureauSans;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSans-BoldItalic.woff2) format("woff2");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:STKBureauSerif;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSerif-Book.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}:root{--font-stk-bureau-sans: "STKBureauSans", sans-serif;--font-stk-bureau-serif: "STKBureauSerif", serif}
|
|
1
|
+
@font-face{font-family:STKBureauSans;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSans-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:STKBureauSans;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSans-Italic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:STKBureauSans;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSans-Bold.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:STKBureauSans;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSans-BoldItalic.woff2) format("woff2");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:STKBureauSerif;src:url(https://www.arkitektbedriftene.no/fonts/STKBureauSerif-Book.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}:root{--font-stk-bureau-sans: "STKBureauSans", sans-serif;--font-stk-bureau-serif: "STKBureauSerif", serif}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { SigninPopupArgs, SigninRedirectArgs, SigninSilentArgs, SignoutRedirectArgs, User, UserManagerSettings } from 'oidc-client-ts';
|
|
2
|
+
export type UserInfo = {
|
|
3
|
+
email: string;
|
|
4
|
+
firmaccess: string;
|
|
5
|
+
firstname: string;
|
|
6
|
+
lastname: string;
|
|
7
|
+
username: string;
|
|
8
|
+
fc: string;
|
|
9
|
+
externalid: string;
|
|
10
|
+
role: string;
|
|
11
|
+
};
|
|
12
|
+
export type ImpersonationData = {
|
|
13
|
+
impersonatedUser: UserInfo;
|
|
14
|
+
impersonationToken: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* A simpler wrapper around UserManager that combines normal authentication
|
|
18
|
+
* with impersonation functionality without React context dependency.
|
|
19
|
+
*/
|
|
20
|
+
export declare class AuthManager {
|
|
21
|
+
private userManager;
|
|
22
|
+
private storageKey;
|
|
23
|
+
constructor(settings: UserManagerSettings);
|
|
24
|
+
/**
|
|
25
|
+
* Get impersonation user from localStorage
|
|
26
|
+
*/
|
|
27
|
+
getImpersonationData(): ImpersonationData | null;
|
|
28
|
+
/**
|
|
29
|
+
* Get the current user, preferring impersonated user if available
|
|
30
|
+
*/
|
|
31
|
+
getUser(): Promise<({
|
|
32
|
+
access_token: string;
|
|
33
|
+
profile: UserInfo;
|
|
34
|
+
impersonating: boolean;
|
|
35
|
+
}) | null>;
|
|
36
|
+
signinRedirect(args?: SigninRedirectArgs): Promise<void>;
|
|
37
|
+
signinPopup(args?: SigninPopupArgs): Promise<User>;
|
|
38
|
+
signinSilent(args?: SigninSilentArgs): Promise<User | null>;
|
|
39
|
+
signinCallback(): Promise<User | null>;
|
|
40
|
+
signoutRedirect(args?: SignoutRedirectArgs): Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
* Set impersonation with access token
|
|
43
|
+
*/
|
|
44
|
+
setImpersonation(accessToken: string): void;
|
|
45
|
+
/**
|
|
46
|
+
* Clear impersonation and return to normal user
|
|
47
|
+
*/
|
|
48
|
+
clearImpersonation(): void;
|
|
49
|
+
/**
|
|
50
|
+
* Handle impersonation callback from URL parameters
|
|
51
|
+
*/
|
|
52
|
+
handleImpersonationCallback(urlStr: string): void;
|
|
53
|
+
}
|
package/dist/oidc/oidc.d.ts
CHANGED
package/dist/oidc.es.js
CHANGED
|
@@ -1,235 +1,328 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
var v = Object.defineProperty;
|
|
2
|
+
var R = (t, e, r) => e in t ? v(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
|
+
var g = (t, e, r) => R(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
|
+
import { jsx as A } from "react/jsx-runtime";
|
|
5
|
+
import { createContext as I, useContext as k, useMemo as U, useEffect as f, useState as L, useRef as x, useCallback as d } from "react";
|
|
6
|
+
import { UserManager as P } from "oidc-client-ts";
|
|
3
7
|
export * from "oidc-client-ts";
|
|
4
|
-
import
|
|
5
|
-
import { jwtDecode as
|
|
6
|
-
const
|
|
8
|
+
import T from "use-local-storage-state";
|
|
9
|
+
import { jwtDecode as y } from "jwt-decode";
|
|
10
|
+
const E = I(
|
|
7
11
|
null
|
|
8
|
-
),
|
|
9
|
-
const t = E
|
|
12
|
+
), b = () => {
|
|
13
|
+
const t = k(E);
|
|
10
14
|
if (!t)
|
|
11
15
|
throw new Error(
|
|
12
16
|
"useImpersonationContext must be used within a ImpersonationContextProvider"
|
|
13
17
|
);
|
|
14
18
|
return t;
|
|
15
|
-
},
|
|
19
|
+
}, V = ({
|
|
16
20
|
children: t
|
|
17
21
|
}) => {
|
|
18
|
-
const [e,
|
|
22
|
+
const [e, r] = T("impersonationState", {
|
|
19
23
|
defaultValue: {}
|
|
20
|
-
}), s =
|
|
24
|
+
}), s = U(() => ({
|
|
21
25
|
accessToken: e == null ? void 0 : e.accessToken,
|
|
22
26
|
userInfo: e == null ? void 0 : e.userInfo,
|
|
23
|
-
setImpersonation: (
|
|
24
|
-
|
|
27
|
+
setImpersonation: (o, i) => {
|
|
28
|
+
r({ accessToken: o, userInfo: i });
|
|
25
29
|
}
|
|
26
30
|
}), []);
|
|
27
|
-
return /* @__PURE__ */
|
|
28
|
-
},
|
|
29
|
-
const { setImpersonation: e } =
|
|
30
|
-
|
|
31
|
-
const { search:
|
|
31
|
+
return /* @__PURE__ */ A(E.Provider, { value: s, children: t });
|
|
32
|
+
}, q = (t) => {
|
|
33
|
+
const { setImpersonation: e } = b();
|
|
34
|
+
f(() => {
|
|
35
|
+
const { search: r } = window.location, s = new URLSearchParams(r).get(
|
|
32
36
|
"impersonateAccessToken"
|
|
33
37
|
);
|
|
34
38
|
if (s && e) {
|
|
35
|
-
const
|
|
36
|
-
e(s,
|
|
39
|
+
const o = y(s);
|
|
40
|
+
e(s, o), t();
|
|
37
41
|
}
|
|
38
42
|
}, []);
|
|
39
43
|
};
|
|
40
|
-
function
|
|
44
|
+
function B(t) {
|
|
41
45
|
return JSON.parse(t).map((s) => {
|
|
42
46
|
const [
|
|
43
|
-
n,
|
|
44
47
|
o,
|
|
45
|
-
u,
|
|
46
48
|
i,
|
|
49
|
+
u,
|
|
50
|
+
a,
|
|
47
51
|
l
|
|
48
|
-
] = s.split("|"), m =
|
|
52
|
+
] = s.split("|"), m = a.split(",");
|
|
49
53
|
return {
|
|
50
|
-
CustomerExternalId:
|
|
51
|
-
CustomerFirmId:
|
|
54
|
+
CustomerExternalId: o,
|
|
55
|
+
CustomerFirmId: i,
|
|
52
56
|
CustomerFirmName: u,
|
|
53
57
|
CustomerUserRoles: m,
|
|
54
58
|
CustomerUserIsAdmin: l === "True" || l === "1"
|
|
55
59
|
};
|
|
56
60
|
});
|
|
57
61
|
}
|
|
58
|
-
const
|
|
62
|
+
const G = [
|
|
59
63
|
"97",
|
|
60
64
|
"131",
|
|
61
65
|
"132",
|
|
62
66
|
"141"
|
|
63
|
-
],
|
|
67
|
+
], H = [
|
|
64
68
|
"3"
|
|
65
|
-
],
|
|
69
|
+
], Q = [
|
|
66
70
|
"0"
|
|
67
|
-
]
|
|
71
|
+
];
|
|
72
|
+
class W {
|
|
73
|
+
constructor(e) {
|
|
74
|
+
g(this, "userManager");
|
|
75
|
+
g(this, "storageKey", "impersonationState");
|
|
76
|
+
this.userManager = new P(e);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Get impersonation user from localStorage
|
|
80
|
+
*/
|
|
81
|
+
getImpersonationData() {
|
|
82
|
+
try {
|
|
83
|
+
const e = localStorage.getItem(this.storageKey);
|
|
84
|
+
if (e) {
|
|
85
|
+
const r = JSON.parse(e);
|
|
86
|
+
if (r.impersonationToken && r.impersonatedUser)
|
|
87
|
+
return r;
|
|
88
|
+
}
|
|
89
|
+
} catch (e) {
|
|
90
|
+
console.error("Failed to load impersonation from storage:", e);
|
|
91
|
+
}
|
|
92
|
+
return null;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Get the current user, preferring impersonated user if available
|
|
96
|
+
*/
|
|
97
|
+
async getUser() {
|
|
98
|
+
const e = this.getImpersonationData();
|
|
99
|
+
if (e)
|
|
100
|
+
return {
|
|
101
|
+
access_token: e.impersonationToken,
|
|
102
|
+
profile: e.impersonatedUser,
|
|
103
|
+
impersonating: !0
|
|
104
|
+
};
|
|
105
|
+
const r = await this.userManager.getUser();
|
|
106
|
+
return !r || r.expired ? null : {
|
|
107
|
+
access_token: r.access_token,
|
|
108
|
+
profile: r.profile,
|
|
109
|
+
impersonating: !1
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
async signinRedirect(e) {
|
|
113
|
+
await this.userManager.signinRedirect(e);
|
|
114
|
+
}
|
|
115
|
+
async signinPopup(e) {
|
|
116
|
+
return await this.userManager.signinPopup(e);
|
|
117
|
+
}
|
|
118
|
+
async signinSilent(e) {
|
|
119
|
+
return await this.userManager.signinSilent(e);
|
|
120
|
+
}
|
|
121
|
+
async signinCallback() {
|
|
122
|
+
const e = await this.userManager.signinCallback();
|
|
123
|
+
return e || null;
|
|
124
|
+
}
|
|
125
|
+
async signoutRedirect(e) {
|
|
126
|
+
this.clearImpersonation(), await this.userManager.signoutRedirect(e);
|
|
127
|
+
}
|
|
128
|
+
// Impersonation methods
|
|
129
|
+
/**
|
|
130
|
+
* Set impersonation with access token
|
|
131
|
+
*/
|
|
132
|
+
setImpersonation(e) {
|
|
133
|
+
try {
|
|
134
|
+
const s = {
|
|
135
|
+
impersonatedUser: y(e),
|
|
136
|
+
impersonationToken: e
|
|
137
|
+
};
|
|
138
|
+
localStorage.setItem(this.storageKey, JSON.stringify(s));
|
|
139
|
+
} catch (r) {
|
|
140
|
+
console.error("Failed to decode impersonation token:", r);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Clear impersonation and return to normal user
|
|
145
|
+
*/
|
|
146
|
+
clearImpersonation() {
|
|
147
|
+
localStorage.removeItem(this.storageKey);
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Handle impersonation callback from URL parameters
|
|
151
|
+
*/
|
|
152
|
+
handleImpersonationCallback(e) {
|
|
153
|
+
const s = new URL(e).searchParams.get("impersonateAccessToken");
|
|
154
|
+
if (!s)
|
|
155
|
+
throw new Error("Missing url param 'impersonateAccessToken'");
|
|
156
|
+
this.setImpersonation(s);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
const O = ({
|
|
68
160
|
userManager: t,
|
|
69
161
|
context: e,
|
|
70
|
-
children:
|
|
162
|
+
children: r
|
|
71
163
|
}) => {
|
|
72
|
-
const [s,
|
|
164
|
+
const [s, o] = L({
|
|
73
165
|
user: null,
|
|
74
166
|
isLoading: !0,
|
|
75
167
|
isAuthenticated: !1,
|
|
76
168
|
isError: !1,
|
|
77
169
|
error: null
|
|
78
|
-
}),
|
|
79
|
-
|
|
80
|
-
|
|
170
|
+
}), i = x(!1);
|
|
171
|
+
f(() => {
|
|
172
|
+
i.current || (i.current = !0, (async () => {
|
|
81
173
|
try {
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
user:
|
|
174
|
+
const n = await t.getUser();
|
|
175
|
+
o({
|
|
176
|
+
user: n,
|
|
85
177
|
isLoading: !1,
|
|
86
|
-
isAuthenticated:
|
|
178
|
+
isAuthenticated: n ? !n.expired : !1,
|
|
87
179
|
isError: !1,
|
|
88
180
|
error: null
|
|
89
181
|
});
|
|
90
|
-
} catch (
|
|
91
|
-
|
|
182
|
+
} catch (n) {
|
|
183
|
+
o({
|
|
92
184
|
user: null,
|
|
93
185
|
isLoading: !1,
|
|
94
186
|
isAuthenticated: !1,
|
|
95
187
|
isError: !0,
|
|
96
|
-
error:
|
|
188
|
+
error: n instanceof Error ? n : new Error("Unknown error during auth")
|
|
97
189
|
});
|
|
98
190
|
}
|
|
99
191
|
})());
|
|
100
|
-
}, [t]),
|
|
101
|
-
const
|
|
102
|
-
|
|
103
|
-
user:
|
|
192
|
+
}, [t]), f(() => {
|
|
193
|
+
const n = (p) => {
|
|
194
|
+
o({
|
|
195
|
+
user: p,
|
|
104
196
|
isLoading: !1,
|
|
105
|
-
isAuthenticated: !
|
|
197
|
+
isAuthenticated: !p.expired,
|
|
106
198
|
isError: !1,
|
|
107
199
|
error: null
|
|
108
200
|
});
|
|
109
201
|
};
|
|
110
|
-
t.events.addUserLoaded(
|
|
111
|
-
const
|
|
112
|
-
|
|
202
|
+
t.events.addUserLoaded(n);
|
|
203
|
+
const c = () => {
|
|
204
|
+
o({
|
|
113
205
|
...s,
|
|
114
206
|
user: null,
|
|
115
207
|
isAuthenticated: !1
|
|
116
208
|
});
|
|
117
209
|
};
|
|
118
|
-
t.events.addUserUnloaded(
|
|
119
|
-
const w = (
|
|
120
|
-
|
|
210
|
+
t.events.addUserUnloaded(c);
|
|
211
|
+
const w = (p) => {
|
|
212
|
+
o({
|
|
121
213
|
...s,
|
|
122
214
|
isLoading: !1,
|
|
123
215
|
isError: !0,
|
|
124
|
-
error:
|
|
216
|
+
error: p
|
|
125
217
|
});
|
|
126
218
|
};
|
|
127
219
|
return t.events.addSilentRenewError(w), () => {
|
|
128
|
-
t.events.removeUserLoaded(
|
|
220
|
+
t.events.removeUserLoaded(n), t.events.removeUserUnloaded(c), t.events.removeSilentRenewError(w);
|
|
129
221
|
};
|
|
130
222
|
}, [t]);
|
|
131
223
|
const u = d(async () => {
|
|
132
|
-
const
|
|
133
|
-
return
|
|
134
|
-
user:
|
|
224
|
+
const n = await t.signinCallback();
|
|
225
|
+
return o({
|
|
226
|
+
user: n ?? null,
|
|
135
227
|
isLoading: !1,
|
|
136
|
-
isAuthenticated:
|
|
228
|
+
isAuthenticated: n ? !n.expired : !1,
|
|
137
229
|
isError: !1,
|
|
138
230
|
error: null
|
|
139
|
-
}),
|
|
140
|
-
}, [t]),
|
|
141
|
-
async (
|
|
231
|
+
}), n ?? void 0;
|
|
232
|
+
}, [t]), a = d(
|
|
233
|
+
async (n) => {
|
|
142
234
|
try {
|
|
143
|
-
await t.signinRedirect(
|
|
144
|
-
} catch (
|
|
145
|
-
console.error(
|
|
235
|
+
await t.signinRedirect(n);
|
|
236
|
+
} catch (c) {
|
|
237
|
+
console.error(c);
|
|
146
238
|
}
|
|
147
239
|
},
|
|
148
240
|
[t]
|
|
149
241
|
), l = d(
|
|
150
|
-
async (
|
|
242
|
+
async (n) => await t.signinPopup(n),
|
|
151
243
|
[t]
|
|
152
244
|
), m = d(
|
|
153
|
-
async (
|
|
245
|
+
async (n) => {
|
|
154
246
|
try {
|
|
155
|
-
return await t.signinSilent(
|
|
156
|
-
} catch (
|
|
157
|
-
return
|
|
247
|
+
return await t.signinSilent(n);
|
|
248
|
+
} catch (c) {
|
|
249
|
+
return o({
|
|
158
250
|
user: null,
|
|
159
251
|
isLoading: !1,
|
|
160
252
|
isAuthenticated: !1,
|
|
161
253
|
isError: !0,
|
|
162
|
-
error:
|
|
254
|
+
error: c instanceof Error ? c : new Error("Unknown error during silent signin")
|
|
163
255
|
}), null;
|
|
164
256
|
}
|
|
165
257
|
},
|
|
166
258
|
[t]
|
|
167
|
-
),
|
|
168
|
-
async (
|
|
259
|
+
), h = d(
|
|
260
|
+
async (n) => {
|
|
169
261
|
try {
|
|
170
|
-
await t.signoutRedirect(
|
|
171
|
-
} catch (
|
|
172
|
-
console.error(
|
|
262
|
+
await t.signoutRedirect(n);
|
|
263
|
+
} catch (c) {
|
|
264
|
+
console.error(c);
|
|
173
265
|
}
|
|
174
266
|
},
|
|
175
267
|
[t]
|
|
176
|
-
), S =
|
|
268
|
+
), S = U(
|
|
177
269
|
() => ({
|
|
178
270
|
state: s,
|
|
179
271
|
handleSigninCallback: u,
|
|
180
|
-
redirectToSignin:
|
|
272
|
+
redirectToSignin: a,
|
|
181
273
|
signinSilent: m,
|
|
182
274
|
signinPopup: l,
|
|
183
|
-
logout:
|
|
275
|
+
logout: h
|
|
184
276
|
}),
|
|
185
277
|
[
|
|
186
278
|
s,
|
|
187
279
|
u,
|
|
188
|
-
|
|
280
|
+
a,
|
|
189
281
|
m,
|
|
190
282
|
l,
|
|
191
|
-
|
|
283
|
+
h
|
|
192
284
|
]
|
|
193
285
|
);
|
|
194
|
-
return /* @__PURE__ */
|
|
195
|
-
},
|
|
196
|
-
const e =
|
|
286
|
+
return /* @__PURE__ */ A(e.Provider, { value: S, children: r });
|
|
287
|
+
}, C = (t) => {
|
|
288
|
+
const e = k(t);
|
|
197
289
|
if (!e)
|
|
198
290
|
throw new Error("useAuthContext must be used within an AuthProvider");
|
|
199
291
|
return e;
|
|
200
|
-
},
|
|
201
|
-
const { state: e } =
|
|
292
|
+
}, F = (t) => {
|
|
293
|
+
const { state: e } = C(t);
|
|
202
294
|
return e;
|
|
203
|
-
},
|
|
204
|
-
const { state:
|
|
205
|
-
return
|
|
206
|
-
|
|
207
|
-
(
|
|
208
|
-
(u) => setTimeout(() => u(
|
|
295
|
+
}, K = (t, e) => {
|
|
296
|
+
const { state: r, handleSigninCallback: s } = C(t), o = x(!1);
|
|
297
|
+
return f(() => {
|
|
298
|
+
o.current || (o.current = !0, s().then(
|
|
299
|
+
(i) => new Promise(
|
|
300
|
+
(u) => setTimeout(() => u(i), 0)
|
|
209
301
|
)
|
|
210
|
-
).then((
|
|
211
|
-
}, [s]),
|
|
212
|
-
},
|
|
213
|
-
const e =
|
|
302
|
+
).then((i) => e == null ? void 0 : e(i)));
|
|
303
|
+
}, [s]), r;
|
|
304
|
+
}, X = (t) => {
|
|
305
|
+
const e = I(null);
|
|
214
306
|
return {
|
|
215
307
|
AuthContext: e,
|
|
216
|
-
AuthProvider: ({ children:
|
|
217
|
-
useAuthContext: () =>
|
|
218
|
-
useAuthState: () =>
|
|
219
|
-
useSigninCallback: (
|
|
308
|
+
AuthProvider: ({ children: a }) => /* @__PURE__ */ A(O, { userManager: t, context: e, children: a }),
|
|
309
|
+
useAuthContext: () => C(e),
|
|
310
|
+
useAuthState: () => F(e),
|
|
311
|
+
useSigninCallback: (a) => K(e, a),
|
|
220
312
|
getAccessToken: async () => {
|
|
221
|
-
const
|
|
222
|
-
return
|
|
313
|
+
const a = await t.getUser();
|
|
314
|
+
return a ? a.access_token : null;
|
|
223
315
|
}
|
|
224
316
|
};
|
|
225
317
|
};
|
|
226
318
|
export {
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
319
|
+
W as AuthManager,
|
|
320
|
+
V as ImpersonationContextProvider,
|
|
321
|
+
G as ROLESAdminInCompany,
|
|
322
|
+
Q as ROLESAnsatt,
|
|
323
|
+
H as ROLESMAKSAdministrator,
|
|
324
|
+
X as createAuthContext,
|
|
325
|
+
B as parseUserProfileFCString,
|
|
326
|
+
q as useImpersonationCallback,
|
|
327
|
+
b as useImpersonationContext
|
|
235
328
|
};
|
|
@@ -306,9 +306,9 @@ export declare const richTextCss: import('@stitches/react/types/styled-component
|
|
|
306
306
|
"3xl": "1.875rem";
|
|
307
307
|
};
|
|
308
308
|
fontWeights: {
|
|
309
|
-
normal: "var(--ui-font-weight-normal)";
|
|
310
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
311
|
-
bold: "var(--ui-font-weight-bold)";
|
|
309
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
310
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
311
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
312
312
|
};
|
|
313
313
|
space: {
|
|
314
314
|
1: "0.25rem";
|
package/dist/rich-text.es.js
CHANGED
|
@@ -21,7 +21,7 @@ import { RichTextPlugin as mr } from "@lexical/react/LexicalRichTextPlugin.js";
|
|
|
21
21
|
import { LexicalErrorBoundary as fr } from "@lexical/react/LexicalErrorBoundary.js";
|
|
22
22
|
import { useFloating as Ct, autoUpdate as ie, size as kr, flip as br, offset as oe, shift as Cr, useInteractions as ae, useRole as le, FloatingPortal as se, inline as vr, useDismiss as xr } from "@floating-ui/react";
|
|
23
23
|
import { G as f } from "./iconBase-LROS5hdG.js";
|
|
24
|
-
import { s as Tr, c as Mr } from "./stitches.config-
|
|
24
|
+
import { s as Tr, c as Mr } from "./stitches.config-gk2-nbbz.js";
|
|
25
25
|
import { ListPlugin as Lr } from "@lexical/react/LexicalListPlugin.js";
|
|
26
26
|
import { HistoryPlugin as wr } from "@lexical/react/LexicalHistoryPlugin.js";
|
|
27
27
|
import { TablePlugin as _r } from "@lexical/react/LexicalTablePlugin.js";
|
|
@@ -96,9 +96,9 @@ const r = () => (e--, e), { styled: g, css: d, keyframes: s, globalCss: o, getCs
|
|
|
96
96
|
// 30px
|
|
97
97
|
},
|
|
98
98
|
fontWeights: {
|
|
99
|
-
normal: "var(--ui-font-weight-normal)",
|
|
100
|
-
medium: "var(--ui-font-weight-semibold)",
|
|
101
|
-
bold: "var(--ui-font-weight-bold)"
|
|
99
|
+
normal: "var(--ui-font-weight-normal, 400)",
|
|
100
|
+
medium: "var(--ui-font-weight-semibold, 500)",
|
|
101
|
+
bold: "var(--ui-font-weight-bold, 700)"
|
|
102
102
|
},
|
|
103
103
|
space: {
|
|
104
104
|
1: "0.25rem",
|
package/dist/system.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@theme{--*: initial; --default-transition-duration: .2s; --breakpoint-sm: 40rem; --breakpoint-md: 54rem; --breakpoint-lg: 64rem; --breakpoint-xl: 74rem; --spacing: 4px; --font-serif: var(--font-stk-bureau-serif); --font-sans-serif: var(--font-stk-bureau-sans); --font-weight-bold: 700; --color-black: #1d1d1d; --color-white: #ffffff; --color-blue: #4184cd; --color-flask: #122a0d; --color-flask-hover: #173611; --color-flask-light: #1e4216; --color-flask-light-hover: #28571d; --color-clay: #eee6d3; --color-clay-hover: #d6c9b6; --color-sand: #f3f1eb; --color-sand-hover: #e6dfce; --color-warning: #FFE1C3; --color-warning-light: #FFF8F2; --color-warning-dark: #9E5400; --color-danger: #FFC5C1; --color-danger-light: #FEF3F2; --color-danger-dark: #C72619; --color-success: #B8E0B0; --color-success-light: #ECFDF3; --color-success-dark: #2D6D20; --color-info: #C1D4FF; --color-info-light: #F2F6FE; --color-info-dark: #1946C7; --text-xs: clamp(.6944rem,.6856rem + .0444vw,.72rem); --text-sm: clamp(.8333rem,.8101rem + .1159vw,.9rem); --text-base: clamp(1rem,.9565rem + .2174vw,1.125rem); --text-md: clamp(1.2rem,1.1283rem + .3587vw,1.4063rem); --text-lg: clamp(1.44rem,1.3295rem + .5527vw,1.7578rem); --text-xl: clamp(1.728rem,1.5648rem + .8161vw,2.1973rem); --text-2xl: clamp(2.0736rem,1.8395rem + 1.1704vw,2.7466rem); --text-3xl: clamp(2.4883rem,2.1597rem + 1.6433vw,3.4332rem); --text-xs--line-height: 1.7; --text-sm--line-height: 1.6; --text-base--line-height: 1.5; --text-lg--line-height: 1.4; --text-xl--line-height: 1.3; --text-2xl--line-height: 1.2; --text-3xl--line-height: 1.1; --container-page: calc(var(--page-width) * 1px); --container-article: 800px; --container-event: 1300px; --radius-sm: .25rem; --radius-md: .5rem; --blur-md: .2rem; --blur-lg: .4rem; --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1),0 2px 4px -2px rgb(0 0 0 / .1); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1),0 4px 6px -4px rgb(0 0 0 / .1); --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1),0 8px 10px -6px rgb(0 0 0 / .1); --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / .25); --aspect-video: 16 / 9; @keyframes spinner-logo {0% {transform: scale(.95) rotate(-15deg); opacity: 0;} 20% {transform: scale(1) rotate(0deg); opacity: 1;} 70% {transform: scale(1) rotate(0deg); opacity: 1;} 100% {transform: scale(.95) rotate(-15deg); opacity: 0;}} @keyframes spinner-logo-letter {0% {transform: translateY(-8px) rotate(-25deg) scale(.8); opacity: 0;} 6% {opacity: .3;} 20% {transform: translateY(0px) rotate(0deg) scale(1); opacity: 1;} 70% {transform: translateY(0px) rotate(0deg) scale(1); opacity: 1;} 100% {transform: translateY(-8px) rotate(-25deg) scale(.8); opacity: 0;}} --animate-spinner-logo: spinner-logo 3s cubic-bezier(.25,.46,.45,.94) infinite; --animate-spinner-logo-letter: spinner-logo-letter 3s cubic-bezier(.34,1.56,.64,1) infinite; @keyframes spinner {0% {transform: rotate(0deg);} 100% {transform: rotate(360deg);}} @keyframes spinner-circle {0% {stroke-dashoffset: 600;} 100% {stroke-dashoffset: 0;}} --animate-spinner: spinner 2s linear infinite; --animate-spinner-circle: spinner-circle 1.6s cubic-bezier(.4,.15,.6,.85) infinite;}@layer components{.btn{@apply bg-flask-light;@apply text-white;@apply px-4;@apply text-sm;@apply h-[2rem];@apply w-fit;@apply inline-flex;@apply items-center;@apply justify-center;@apply gap-x-2;@apply rounded-md;@apply transition-colors;@apply cursor-pointer;@variant focus{@apply ring ring-offset-2 ring-clay;}@variant hover{@apply bg-flask-light-hover;}@variant disabled{&:not([data-loading=true]) {@apply opacity-60; @apply cursor-not-allowed;}}}.btn>svg{@apply shrink-0;}.btn.btn-secondary{@apply bg-clay;@apply text-black;@variant hover{@apply bg-clay-hover;}}.btn.btn-tertiary{@apply bg-sand;@apply text-black;@variant hover{@apply bg-sand-hover;}}.btn.btn-danger{@apply bg-danger-dark;@apply text-danger-light;@variant hover{@apply bg-danger-dark/70;}}.btn.btn-warning{@apply bg-warning-dark;@apply text-warning-light;@variant hover{@apply bg-warning-dark/70;}}.btn.btn-success{@apply bg-success-dark;@apply text-success-light;@variant hover{@apply bg-success-dark/70;}}.btn.btn-outline{@apply bg-transparent;@apply text-black;@apply ring-2;@apply ring-inset;@apply ring-flask-light;@variant hover{@apply bg-flask-light; @apply text-white;}}.btn.btn-outline.btn-secondary{@apply ring-clay;@variant hover{@apply bg-clay; @apply text-black;}}.btn.btn-outline.btn-danger{@apply ring-danger-dark;@apply text-danger-dark;@variant hover{@apply bg-danger-dark; @apply text-danger-light;}}.btn.btn-transparent{@apply bg-transparent;@apply text-black;@variant hover{@apply bg-flask-light; @apply text-white;}}.btn.btn-transparent.btn-secondary{@variant hover{@apply bg-clay; @apply text-black;}}.btn.btn-transparent.btn-tertiary{@variant hover{@apply bg-sand; @apply text-black;}}.dropdown{@apply rounded-md bg-white p-1 shadow-lg;}.dropdown-separator{height:1px;@apply bg-sand my-1;}.dropdown-item{@apply flex items-center w-full px-4 py-2 text-sm cursor-pointer transition-colors;@apply rounded-md;@apply text-left;@apply text-black;@variant hover{@apply bg-sand;}}.dropdown-item-icon-right{@apply pr-3;}.input{@apply bg-sand;@apply rounded-sm;@apply px-4;@apply py-2;@apply text-sm;@apply inline-flex;@apply transition-colors;@variant focus{@apply ring-2 ring-offset-2 ring-clay; @apply outline-none;}}.link{@apply text-black underline;}.alert{@apply px-3;@apply py-2;@apply rounded-md;@apply text-sm;@apply inline-flex;@apply items-center;@apply gap-x-2;}.alert.alert-warning{@apply bg-warning-light;@apply text-warning-dark;@apply border border-warning;}.alert.alert-danger{@apply bg-danger-light;@apply text-danger-dark;@apply border border-danger;}.alert.alert-info{@apply bg-info-light;@apply text-info-dark;@apply border border-info;}.alert.alert-success{@apply bg-success-light;@apply text-success-dark;@apply border border-success;}.tbl{@apply w-full;@apply border-collapse;@apply bg-white;@apply text-black;@apply text-sm;@apply border border-black;}.tbl th{@apply font-bold;@apply text-left;}.tbl td,.tbl th{@apply px-4;@apply py-3;@apply border-b border-black;@apply border-r border-black;}.tbl tbody tr{@apply transition-colors;@variant hover{@apply bg-sand;}}.tabs{@apply flex border-b-2 border-clay;@apply gap-x-2;@apply pb-1;}.tab{@apply px-4 py-2;@apply rounded-md;@apply font-bold;@apply text-sm;@apply transition;@apply cursor-pointer;@apply flex items-center;}.tab:hover{@apply bg-clay/70;}.tab.active{@apply bg-clay;}.input-radio{@apply accent-flask;}.form-label{@apply block;@apply text-base;@apply mb-1;}.spinner-logo{animation:var(--animate-spinner-logo)}.spinner-logo>svg>path{transform-origin:center center;opacity:0;animation:var(--animate-spinner-logo-letter)}.spinner-logo>svg>path:nth-child(1){animation-delay:.1s}.spinner-logo>svg>path:nth-child(2){animation-delay:.2s}.spinner-logo>svg>path:nth-child(3){animation-delay:.3s}.spinner-logo>svg>path:nth-child(4){animation-delay:.4s}.spinner-logo>svg>path:nth-child(5){animation-delay:.5s}.spinner-logo>svg>path:nth-child(6){animation-delay:.6s}}@utility btn-icon{@apply px-0; @apply w-[2rem];}
|
|
1
|
+
@theme{--*: initial; --default-transition-duration: .2s; --breakpoint-sm: 40rem; --breakpoint-md: 54rem; --breakpoint-lg: 64rem; --breakpoint-xl: 74rem; --spacing: 4px; --font-serif: var(--font-stk-bureau-serif, serif); --font-sans-serif: var(--font-stk-bureau-sans, sans-serif); --font-weight-bold: 700; --color-black: #1d1d1d; --color-white: #ffffff; --color-blue: #4184cd; --color-flask: #122a0d; --color-flask-hover: #173611; --color-flask-light: #1e4216; --color-flask-light-hover: #28571d; --color-clay: #eee6d3; --color-clay-hover: #d6c9b6; --color-sand: #f3f1eb; --color-sand-hover: #e6dfce; --color-warning: #FFE1C3; --color-warning-light: #FFF8F2; --color-warning-dark: #9E5400; --color-danger: #FFC5C1; --color-danger-light: #FEF3F2; --color-danger-dark: #C72619; --color-success: #B8E0B0; --color-success-light: #ECFDF3; --color-success-dark: #2D6D20; --color-info: #C1D4FF; --color-info-light: #F2F6FE; --color-info-dark: #1946C7; --text-xs: clamp(.6944rem,.6856rem + .0444vw,.72rem); --text-sm: clamp(.8333rem,.8101rem + .1159vw,.9rem); --text-base: clamp(1rem,.9565rem + .2174vw,1.125rem); --text-md: clamp(1.2rem,1.1283rem + .3587vw,1.4063rem); --text-lg: clamp(1.44rem,1.3295rem + .5527vw,1.7578rem); --text-xl: clamp(1.728rem,1.5648rem + .8161vw,2.1973rem); --text-2xl: clamp(2.0736rem,1.8395rem + 1.1704vw,2.7466rem); --text-3xl: clamp(2.4883rem,2.1597rem + 1.6433vw,3.4332rem); --text-xs--line-height: 1.7; --text-sm--line-height: 1.6; --text-base--line-height: 1.5; --text-lg--line-height: 1.4; --text-xl--line-height: 1.3; --text-2xl--line-height: 1.2; --text-3xl--line-height: 1.1; --container-page: calc(var(--page-width) * 1px); --container-article: 800px; --container-event: 1300px; --radius-sm: .25rem; --radius-md: .5rem; --blur-md: .2rem; --blur-lg: .4rem; --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1),0 2px 4px -2px rgb(0 0 0 / .1); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1),0 4px 6px -4px rgb(0 0 0 / .1); --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1),0 8px 10px -6px rgb(0 0 0 / .1); --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / .25); --aspect-video: 16 / 9; @keyframes spinner-logo {0% {transform: scale(.95) rotate(-15deg); opacity: 0;} 20% {transform: scale(1) rotate(0deg); opacity: 1;} 70% {transform: scale(1) rotate(0deg); opacity: 1;} 100% {transform: scale(.95) rotate(-15deg); opacity: 0;}} @keyframes spinner-logo-letter {0% {transform: translateY(-8px) rotate(-25deg) scale(.8); opacity: 0;} 6% {opacity: .3;} 20% {transform: translateY(0px) rotate(0deg) scale(1); opacity: 1;} 70% {transform: translateY(0px) rotate(0deg) scale(1); opacity: 1;} 100% {transform: translateY(-8px) rotate(-25deg) scale(.8); opacity: 0;}} --animate-spinner-logo: spinner-logo 3s cubic-bezier(.25,.46,.45,.94) infinite; --animate-spinner-logo-letter: spinner-logo-letter 3s cubic-bezier(.34,1.56,.64,1) infinite; @keyframes spinner {0% {transform: rotate(0deg);} 100% {transform: rotate(360deg);}} @keyframes spinner-circle {0% {stroke-dashoffset: 600;} 100% {stroke-dashoffset: 0;}} --animate-spinner: spinner 2s linear infinite; --animate-spinner-circle: spinner-circle 1.6s cubic-bezier(.4,.15,.6,.85) infinite;}@layer components{.btn{@apply bg-flask-light;@apply text-white;@apply px-4;@apply text-sm;@apply h-[2rem];@apply w-fit;@apply inline-flex;@apply items-center;@apply justify-center;@apply gap-x-2;@apply rounded-md;@apply transition-colors;@apply cursor-pointer;@variant focus{@apply ring ring-offset-2 ring-clay;}@variant hover{@apply bg-flask-light-hover;}@variant disabled{&:not([data-loading=true]) {@apply opacity-60; @apply cursor-not-allowed;}}}.btn>svg{@apply shrink-0;}.btn.btn-secondary{@apply bg-clay;@apply text-black;@variant hover{@apply bg-clay-hover;}}.btn.btn-tertiary{@apply bg-sand;@apply text-black;@variant hover{@apply bg-sand-hover;}}.btn.btn-danger{@apply bg-danger-dark;@apply text-danger-light;@variant hover{@apply bg-danger-dark/70;}}.btn.btn-warning{@apply bg-warning-dark;@apply text-warning-light;@variant hover{@apply bg-warning-dark/70;}}.btn.btn-success{@apply bg-success-dark;@apply text-success-light;@variant hover{@apply bg-success-dark/70;}}.btn.btn-outline{@apply bg-transparent;@apply text-black;@apply ring-2;@apply ring-inset;@apply ring-flask-light;@variant hover{@apply bg-flask-light; @apply text-white;}}.btn.btn-outline.btn-secondary{@apply ring-clay;@variant hover{@apply bg-clay; @apply text-black;}}.btn.btn-outline.btn-danger{@apply ring-danger-dark;@apply text-danger-dark;@variant hover{@apply bg-danger-dark; @apply text-danger-light;}}.btn.btn-transparent{@apply bg-transparent;@apply text-black;@variant hover{@apply bg-flask-light; @apply text-white;}}.btn.btn-transparent.btn-secondary{@variant hover{@apply bg-clay; @apply text-black;}}.btn.btn-transparent.btn-tertiary{@variant hover{@apply bg-sand; @apply text-black;}}.dropdown{@apply rounded-md bg-white p-1 shadow-lg;}.dropdown-separator{height:1px;@apply bg-sand my-1;}.dropdown-item{@apply flex items-center w-full px-4 py-2 text-sm cursor-pointer transition-colors;@apply rounded-md;@apply text-left;@apply text-black;@variant hover{@apply bg-sand;}}.dropdown-item-icon-right{@apply pr-3;}.input{@apply bg-sand;@apply rounded-sm;@apply px-4;@apply py-2;@apply text-sm;@apply inline-flex;@apply transition-colors;@variant focus{@apply ring-2 ring-offset-2 ring-clay; @apply outline-none;}}.link{@apply text-black underline;}.alert{@apply px-3;@apply py-2;@apply rounded-md;@apply text-sm;@apply inline-flex;@apply items-center;@apply gap-x-2;}.alert.alert-warning{@apply bg-warning-light;@apply text-warning-dark;@apply border border-warning;}.alert.alert-danger{@apply bg-danger-light;@apply text-danger-dark;@apply border border-danger;}.alert.alert-info{@apply bg-info-light;@apply text-info-dark;@apply border border-info;}.alert.alert-success{@apply bg-success-light;@apply text-success-dark;@apply border border-success;}.tbl{@apply w-full;@apply border-collapse;@apply bg-white;@apply text-black;@apply text-sm;@apply border border-black;}.tbl th{@apply font-bold;@apply text-left;}.tbl td,.tbl th{@apply px-4;@apply py-3;@apply border-b border-black;@apply border-r border-black;}.tbl tbody tr{@apply transition-colors;@variant hover{@apply bg-sand;}}.tabs{@apply flex border-b-2 border-clay;@apply gap-x-2;@apply pb-1;}.tab{@apply px-4 py-2;@apply rounded-md;@apply font-bold;@apply text-sm;@apply transition;@apply cursor-pointer;@apply flex items-center;}.tab:hover{@apply bg-clay/70;}.tab.active{@apply bg-clay;}.input-radio{@apply accent-flask;}.form-label{@apply block;@apply text-base;@apply mb-1;}.spinner-logo{animation:var(--animate-spinner-logo)}.spinner-logo>svg>path{transform-origin:center center;opacity:0;animation:var(--animate-spinner-logo-letter)}.spinner-logo>svg>path:nth-child(1){animation-delay:.1s}.spinner-logo>svg>path:nth-child(2){animation-delay:.2s}.spinner-logo>svg>path:nth-child(3){animation-delay:.3s}.spinner-logo>svg>path:nth-child(4){animation-delay:.4s}.spinner-logo>svg>path:nth-child(5){animation-delay:.5s}.spinner-logo>svg>path:nth-child(6){animation-delay:.6s}}@utility btn-icon{@apply px-0; @apply w-[2rem];}body{@apply font-sans-serif;@apply antialiased;}
|
|
@@ -95,9 +95,9 @@ declare const AlertStyled: import('@stitches/react/types/styled-component').Styl
|
|
|
95
95
|
"3xl": "1.875rem";
|
|
96
96
|
};
|
|
97
97
|
fontWeights: {
|
|
98
|
-
normal: "var(--ui-font-weight-normal)";
|
|
99
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
100
|
-
bold: "var(--ui-font-weight-bold)";
|
|
98
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
99
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
100
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
101
101
|
};
|
|
102
102
|
space: {
|
|
103
103
|
1: "0.25rem";
|
|
@@ -95,9 +95,9 @@ declare const AvatarCircle: import('@stitches/react/types/styled-component').Sty
|
|
|
95
95
|
"3xl": "1.875rem";
|
|
96
96
|
};
|
|
97
97
|
fontWeights: {
|
|
98
|
-
normal: "var(--ui-font-weight-normal)";
|
|
99
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
100
|
-
bold: "var(--ui-font-weight-bold)";
|
|
98
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
99
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
100
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
101
101
|
};
|
|
102
102
|
space: {
|
|
103
103
|
1: "0.25rem";
|
|
@@ -94,9 +94,9 @@ export declare const Badge: import('@stitches/react/types/styled-component').Sty
|
|
|
94
94
|
"3xl": "1.875rem";
|
|
95
95
|
};
|
|
96
96
|
fontWeights: {
|
|
97
|
-
normal: "var(--ui-font-weight-normal)";
|
|
98
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
99
|
-
bold: "var(--ui-font-weight-bold)";
|
|
97
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
98
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
99
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
100
100
|
};
|
|
101
101
|
space: {
|
|
102
102
|
1: "0.25rem";
|
|
@@ -92,9 +92,9 @@ export declare const Box: import('@stitches/react/types/styled-component').Style
|
|
|
92
92
|
"3xl": "1.875rem";
|
|
93
93
|
};
|
|
94
94
|
fontWeights: {
|
|
95
|
-
normal: "var(--ui-font-weight-normal)";
|
|
96
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
97
|
-
bold: "var(--ui-font-weight-bold)";
|
|
95
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
96
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
97
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
98
98
|
};
|
|
99
99
|
space: {
|
|
100
100
|
1: "0.25rem";
|
|
@@ -97,9 +97,9 @@ declare const ButtonStyled: import('@stitches/react/types/styled-component').Sty
|
|
|
97
97
|
"3xl": "1.875rem";
|
|
98
98
|
};
|
|
99
99
|
fontWeights: {
|
|
100
|
-
normal: "var(--ui-font-weight-normal)";
|
|
101
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
102
|
-
bold: "var(--ui-font-weight-bold)";
|
|
100
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
101
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
102
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
103
103
|
};
|
|
104
104
|
space: {
|
|
105
105
|
1: "0.25rem";
|
|
@@ -97,9 +97,9 @@ export declare const Card: import('@stitches/react/types/styled-component').Styl
|
|
|
97
97
|
"3xl": "1.875rem";
|
|
98
98
|
};
|
|
99
99
|
fontWeights: {
|
|
100
|
-
normal: "var(--ui-font-weight-normal)";
|
|
101
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
102
|
-
bold: "var(--ui-font-weight-bold)";
|
|
100
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
101
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
102
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
103
103
|
};
|
|
104
104
|
space: {
|
|
105
105
|
1: "0.25rem";
|
|
@@ -94,9 +94,9 @@ declare const DialogContent: import('@stitches/react/types/styled-component').St
|
|
|
94
94
|
"3xl": "1.875rem";
|
|
95
95
|
};
|
|
96
96
|
fontWeights: {
|
|
97
|
-
normal: "var(--ui-font-weight-normal)";
|
|
98
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
99
|
-
bold: "var(--ui-font-weight-bold)";
|
|
97
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
98
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
99
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
100
100
|
};
|
|
101
101
|
space: {
|
|
102
102
|
1: "0.25rem";
|
|
@@ -227,9 +227,9 @@ export declare const DialogHeader: import('@stitches/react/types/styled-componen
|
|
|
227
227
|
"3xl": "1.875rem";
|
|
228
228
|
};
|
|
229
229
|
fontWeights: {
|
|
230
|
-
normal: "var(--ui-font-weight-normal)";
|
|
231
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
232
|
-
bold: "var(--ui-font-weight-bold)";
|
|
230
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
231
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
232
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
233
233
|
};
|
|
234
234
|
space: {
|
|
235
235
|
1: "0.25rem";
|
|
@@ -352,9 +352,9 @@ export declare const DialogActions: import('@stitches/react/types/styled-compone
|
|
|
352
352
|
"3xl": "1.875rem";
|
|
353
353
|
};
|
|
354
354
|
fontWeights: {
|
|
355
|
-
normal: "var(--ui-font-weight-normal)";
|
|
356
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
357
|
-
bold: "var(--ui-font-weight-bold)";
|
|
355
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
356
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
357
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
358
358
|
};
|
|
359
359
|
space: {
|
|
360
360
|
1: "0.25rem";
|
|
@@ -97,9 +97,9 @@ declare const Root: import('@stitches/react/types/styled-component').StyledCompo
|
|
|
97
97
|
"3xl": "1.875rem";
|
|
98
98
|
};
|
|
99
99
|
fontWeights: {
|
|
100
|
-
normal: "var(--ui-font-weight-normal)";
|
|
101
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
102
|
-
bold: "var(--ui-font-weight-bold)";
|
|
100
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
101
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
102
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
103
103
|
};
|
|
104
104
|
space: {
|
|
105
105
|
1: "0.25rem";
|
|
@@ -95,9 +95,9 @@ declare const Root: import('@stitches/react/types/styled-component').StyledCompo
|
|
|
95
95
|
"3xl": "1.875rem";
|
|
96
96
|
};
|
|
97
97
|
fontWeights: {
|
|
98
|
-
normal: "var(--ui-font-weight-normal)";
|
|
99
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
100
|
-
bold: "var(--ui-font-weight-bold)";
|
|
98
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
99
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
100
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
101
101
|
};
|
|
102
102
|
space: {
|
|
103
103
|
1: "0.25rem";
|
|
@@ -222,9 +222,9 @@ declare const Label: import('@stitches/react/types/styled-component').StyledComp
|
|
|
222
222
|
"3xl": "1.875rem";
|
|
223
223
|
};
|
|
224
224
|
fontWeights: {
|
|
225
|
-
normal: "var(--ui-font-weight-normal)";
|
|
226
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
227
|
-
bold: "var(--ui-font-weight-bold)";
|
|
225
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
226
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
227
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
228
228
|
};
|
|
229
229
|
space: {
|
|
230
230
|
1: "0.25rem";
|
|
@@ -93,9 +93,9 @@ declare const Input: import('@stitches/react/types/styled-component').StyledComp
|
|
|
93
93
|
"3xl": "1.875rem";
|
|
94
94
|
};
|
|
95
95
|
fontWeights: {
|
|
96
|
-
normal: "var(--ui-font-weight-normal)";
|
|
97
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
98
|
-
bold: "var(--ui-font-weight-bold)";
|
|
96
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
97
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
98
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
99
99
|
};
|
|
100
100
|
space: {
|
|
101
101
|
1: "0.25rem";
|
|
@@ -93,9 +93,9 @@ declare const Input: import('@stitches/react/types/styled-component').StyledComp
|
|
|
93
93
|
"3xl": "1.875rem";
|
|
94
94
|
};
|
|
95
95
|
fontWeights: {
|
|
96
|
-
normal: "var(--ui-font-weight-normal)";
|
|
97
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
98
|
-
bold: "var(--ui-font-weight-bold)";
|
|
96
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
97
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
98
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
99
99
|
};
|
|
100
100
|
space: {
|
|
101
101
|
1: "0.25rem";
|
|
@@ -92,9 +92,9 @@ export declare const textCss: import('@stitches/react/types/styled-component').C
|
|
|
92
92
|
"3xl": "1.875rem";
|
|
93
93
|
};
|
|
94
94
|
fontWeights: {
|
|
95
|
-
normal: "var(--ui-font-weight-normal)";
|
|
96
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
97
|
-
bold: "var(--ui-font-weight-bold)";
|
|
95
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
96
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
97
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
98
98
|
};
|
|
99
99
|
space: {
|
|
100
100
|
1: "0.25rem";
|
|
@@ -219,9 +219,9 @@ export declare const textWrapperCss: import('@stitches/react/types/styled-compon
|
|
|
219
219
|
"3xl": "1.875rem";
|
|
220
220
|
};
|
|
221
221
|
fontWeights: {
|
|
222
|
-
normal: "var(--ui-font-weight-normal)";
|
|
223
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
224
|
-
bold: "var(--ui-font-weight-bold)";
|
|
222
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
223
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
224
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
225
225
|
};
|
|
226
226
|
space: {
|
|
227
227
|
1: "0.25rem";
|
|
@@ -103,9 +103,9 @@ export declare const DropdownMenuSeparator: import('@stitches/react/types/styled
|
|
|
103
103
|
"3xl": "1.875rem";
|
|
104
104
|
};
|
|
105
105
|
fontWeights: {
|
|
106
|
-
normal: "var(--ui-font-weight-normal)";
|
|
107
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
108
|
-
bold: "var(--ui-font-weight-bold)";
|
|
106
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
107
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
108
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
109
109
|
};
|
|
110
110
|
space: {
|
|
111
111
|
1: "0.25rem";
|
|
@@ -228,9 +228,9 @@ export declare const DropdownMenuItem: import('@stitches/react/types/styled-comp
|
|
|
228
228
|
"3xl": "1.875rem";
|
|
229
229
|
};
|
|
230
230
|
fontWeights: {
|
|
231
|
-
normal: "var(--ui-font-weight-normal)";
|
|
232
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
233
|
-
bold: "var(--ui-font-weight-bold)";
|
|
231
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
232
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
233
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
234
234
|
};
|
|
235
235
|
space: {
|
|
236
236
|
1: "0.25rem";
|
|
@@ -353,9 +353,9 @@ export declare const DropdownMenuIconItem: import('@stitches/react/types/styled-
|
|
|
353
353
|
"3xl": "1.875rem";
|
|
354
354
|
};
|
|
355
355
|
fontWeights: {
|
|
356
|
-
normal: "var(--ui-font-weight-normal)";
|
|
357
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
358
|
-
bold: "var(--ui-font-weight-bold)";
|
|
356
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
357
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
358
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
359
359
|
};
|
|
360
360
|
space: {
|
|
361
361
|
1: "0.25rem";
|
|
@@ -92,9 +92,9 @@ export declare const MenuOverlayCard: import('@stitches/react/types/styled-compo
|
|
|
92
92
|
"3xl": "1.875rem";
|
|
93
93
|
};
|
|
94
94
|
fontWeights: {
|
|
95
|
-
normal: "var(--ui-font-weight-normal)";
|
|
96
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
97
|
-
bold: "var(--ui-font-weight-bold)";
|
|
95
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
96
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
97
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
98
98
|
};
|
|
99
99
|
space: {
|
|
100
100
|
1: "0.25rem";
|
|
@@ -216,9 +216,9 @@ export declare const MenuOverlayCard: import('@stitches/react/types/styled-compo
|
|
|
216
216
|
"3xl": "1.875rem";
|
|
217
217
|
};
|
|
218
218
|
fontWeights: {
|
|
219
|
-
normal: "var(--ui-font-weight-normal)";
|
|
220
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
221
|
-
bold: "var(--ui-font-weight-bold)";
|
|
219
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
220
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
221
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
222
222
|
};
|
|
223
223
|
space: {
|
|
224
224
|
1: "0.25rem";
|
|
@@ -341,9 +341,9 @@ export declare const menuItemStyles: import('@stitches/react/types/styled-compon
|
|
|
341
341
|
"3xl": "1.875rem";
|
|
342
342
|
};
|
|
343
343
|
fontWeights: {
|
|
344
|
-
normal: "var(--ui-font-weight-normal)";
|
|
345
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
346
|
-
bold: "var(--ui-font-weight-bold)";
|
|
344
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
345
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
346
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
347
347
|
};
|
|
348
348
|
space: {
|
|
349
349
|
1: "0.25rem";
|
|
@@ -94,9 +94,9 @@ declare const Bar: import('@stitches/react/types/styled-component').StyledCompon
|
|
|
94
94
|
"3xl": "1.875rem";
|
|
95
95
|
};
|
|
96
96
|
fontWeights: {
|
|
97
|
-
normal: "var(--ui-font-weight-normal)";
|
|
98
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
99
|
-
bold: "var(--ui-font-weight-bold)";
|
|
97
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
98
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
99
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
100
100
|
};
|
|
101
101
|
space: {
|
|
102
102
|
1: "0.25rem";
|
|
@@ -92,9 +92,9 @@ export declare const OverlayCard: import('@stitches/react/types/styled-component
|
|
|
92
92
|
"3xl": "1.875rem";
|
|
93
93
|
};
|
|
94
94
|
fontWeights: {
|
|
95
|
-
normal: "var(--ui-font-weight-normal)";
|
|
96
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
97
|
-
bold: "var(--ui-font-weight-bold)";
|
|
95
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
96
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
97
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
98
98
|
};
|
|
99
99
|
space: {
|
|
100
100
|
1: "0.25rem";
|
|
@@ -96,9 +96,9 @@ export declare const Spinner: import('react').ForwardRefExoticComponent<Omit<Omi
|
|
|
96
96
|
"3xl": "1.875rem";
|
|
97
97
|
};
|
|
98
98
|
fontWeights: {
|
|
99
|
-
normal: "var(--ui-font-weight-normal)";
|
|
100
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
101
|
-
bold: "var(--ui-font-weight-bold)";
|
|
99
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
100
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
101
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
102
102
|
};
|
|
103
103
|
space: {
|
|
104
104
|
1: "0.25rem";
|
|
@@ -96,9 +96,9 @@ export declare const Stack: import('@stitches/react/types/styled-component').Sty
|
|
|
96
96
|
"3xl": "1.875rem";
|
|
97
97
|
};
|
|
98
98
|
fontWeights: {
|
|
99
|
-
normal: "var(--ui-font-weight-normal)";
|
|
100
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
101
|
-
bold: "var(--ui-font-weight-bold)";
|
|
99
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
100
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
101
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
102
102
|
};
|
|
103
103
|
space: {
|
|
104
104
|
1: "0.25rem";
|
|
@@ -93,9 +93,9 @@ export declare const Toolbar: import('@stitches/react/types/styled-component').S
|
|
|
93
93
|
"3xl": "1.875rem";
|
|
94
94
|
};
|
|
95
95
|
fontWeights: {
|
|
96
|
-
normal: "var(--ui-font-weight-normal)";
|
|
97
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
98
|
-
bold: "var(--ui-font-weight-bold)";
|
|
96
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
97
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
98
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
99
99
|
};
|
|
100
100
|
space: {
|
|
101
101
|
1: "0.25rem";
|
|
@@ -218,9 +218,9 @@ export declare const ToolbarToggleGroup: import('@stitches/react/types/styled-co
|
|
|
218
218
|
"3xl": "1.875rem";
|
|
219
219
|
};
|
|
220
220
|
fontWeights: {
|
|
221
|
-
normal: "var(--ui-font-weight-normal)";
|
|
222
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
223
|
-
bold: "var(--ui-font-weight-bold)";
|
|
221
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
222
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
223
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
224
224
|
};
|
|
225
225
|
space: {
|
|
226
226
|
1: "0.25rem";
|
|
@@ -343,9 +343,9 @@ export declare const ToolbarSeparator: import('@stitches/react/types/styled-comp
|
|
|
343
343
|
"3xl": "1.875rem";
|
|
344
344
|
};
|
|
345
345
|
fontWeights: {
|
|
346
|
-
normal: "var(--ui-font-weight-normal)";
|
|
347
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
348
|
-
bold: "var(--ui-font-weight-bold)";
|
|
346
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
347
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
348
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
349
349
|
};
|
|
350
350
|
space: {
|
|
351
351
|
1: "0.25rem";
|
|
@@ -474,9 +474,9 @@ export declare const ButtonInToolbar: import('react').ForwardRefExoticComponent<
|
|
|
474
474
|
"3xl": "1.875rem";
|
|
475
475
|
};
|
|
476
476
|
fontWeights: {
|
|
477
|
-
normal: "var(--ui-font-weight-normal)";
|
|
478
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
479
|
-
bold: "var(--ui-font-weight-bold)";
|
|
477
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
478
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
479
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
480
480
|
};
|
|
481
481
|
space: {
|
|
482
482
|
1: "0.25rem";
|
|
@@ -91,9 +91,9 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
91
91
|
"3xl": "1.875rem";
|
|
92
92
|
};
|
|
93
93
|
fontWeights: {
|
|
94
|
-
normal: "var(--ui-font-weight-normal)";
|
|
95
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
96
|
-
bold: "var(--ui-font-weight-bold)";
|
|
94
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
95
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
96
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
97
97
|
};
|
|
98
98
|
space: {
|
|
99
99
|
1: "0.25rem";
|
|
@@ -226,9 +226,9 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
226
226
|
"3xl": "1.875rem";
|
|
227
227
|
};
|
|
228
228
|
fontWeights: {
|
|
229
|
-
normal: "var(--ui-font-weight-normal)";
|
|
230
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
231
|
-
bold: "var(--ui-font-weight-bold)";
|
|
229
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
230
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
231
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
232
232
|
};
|
|
233
233
|
space: {
|
|
234
234
|
1: "0.25rem";
|
|
@@ -348,9 +348,9 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
348
348
|
"3xl": "1.875rem";
|
|
349
349
|
};
|
|
350
350
|
fontWeights: {
|
|
351
|
-
normal: "var(--ui-font-weight-normal)";
|
|
352
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
353
|
-
bold: "var(--ui-font-weight-bold)";
|
|
351
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
352
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
353
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
354
354
|
};
|
|
355
355
|
space: {
|
|
356
356
|
1: "0.25rem";
|
|
@@ -484,9 +484,9 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
484
484
|
"3xl": "1.875rem";
|
|
485
485
|
};
|
|
486
486
|
fontWeights: {
|
|
487
|
-
normal: "var(--ui-font-weight-normal)";
|
|
488
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
489
|
-
bold: "var(--ui-font-weight-bold)";
|
|
487
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
488
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
489
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
490
490
|
};
|
|
491
491
|
space: {
|
|
492
492
|
1: "0.25rem";
|
|
@@ -614,9 +614,9 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
614
614
|
"3xl": "1.875rem";
|
|
615
615
|
};
|
|
616
616
|
fontWeights: {
|
|
617
|
-
normal: "var(--ui-font-weight-normal)";
|
|
618
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
619
|
-
bold: "var(--ui-font-weight-bold)";
|
|
617
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
618
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
619
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
620
620
|
};
|
|
621
621
|
space: {
|
|
622
622
|
1: "0.25rem";
|
|
@@ -735,9 +735,9 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
735
735
|
"3xl": "1.875rem";
|
|
736
736
|
};
|
|
737
737
|
fontWeights: {
|
|
738
|
-
normal: "var(--ui-font-weight-normal)";
|
|
739
|
-
medium: "var(--ui-font-weight-semibold)";
|
|
740
|
-
bold: "var(--ui-font-weight-bold)";
|
|
738
|
+
normal: "var(--ui-font-weight-normal, 400)";
|
|
739
|
+
medium: "var(--ui-font-weight-semibold, 500)";
|
|
740
|
+
bold: "var(--ui-font-weight-bold, 700)";
|
|
741
741
|
};
|
|
742
742
|
space: {
|
|
743
743
|
1: "0.25rem";
|
package/dist/ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as h, s as n, c as f } from "./stitches.config-
|
|
2
|
-
import { a as Pe, g as Ae } from "./stitches.config-
|
|
1
|
+
import { k as h, s as n, c as f } from "./stitches.config-gk2-nbbz.js";
|
|
2
|
+
import { a as Pe, g as Ae } from "./stitches.config-gk2-nbbz.js";
|
|
3
3
|
import { jsx as t, jsxs as c, Fragment as K } from "react/jsx-runtime";
|
|
4
4
|
import { forwardRef as u, createContext as U, useMemo as k, useContext as D, isValidElement as _, cloneElement as q, useState as J, useId as w } from "react";
|
|
5
5
|
import { useFloating as Q, autoUpdate as Z, offset as oo, flip as eo, shift as ro, useTransitionStyles as to, useClick as no, useHover as ao, safePolygon as io, useDismiss as so, useRole as lo, useInteractions as co, FloatingPortal as $o } from "@floating-ui/react";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arkitektbedriftene/fe-lib",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./oidc": {
|
|
@@ -32,12 +32,6 @@
|
|
|
32
32
|
},
|
|
33
33
|
"./fonts.css": {
|
|
34
34
|
"import": "./dist/fonts.css"
|
|
35
|
-
},
|
|
36
|
-
"./ui/normalize.css": {
|
|
37
|
-
"import": "./dist/normalize.css"
|
|
38
|
-
},
|
|
39
|
-
"./ui/ui.css": {
|
|
40
|
-
"import": "./dist/ui.css"
|
|
41
35
|
}
|
|
42
36
|
},
|
|
43
37
|
"files": [
|
package/dist/normalize.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! modern-normalize v2.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */*,:before,:after{box-sizing:border-box}html{font-family:system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";line-height:1.15;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4}body{margin:0}hr{height:0;color:inherit}abbr[title]{text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}[role=button]{cursor:pointer}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}table{text-indent:0;border-color:inherit;border-collapse:collapse}hr{height:0;color:inherit;border-top-width:1px}
|
package/dist/normalize.css.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {}
|
package/dist/ui.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--ui-font-family: system-ui, sans-serif;--ui-font-weight-normal: 400;--ui-font-weight-semibold: 500;--ui-font-weight-bold: 700}
|
package/dist/ui.css.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {}
|