@arkitektbedriftene/fe-lib 5.2.1 → 5.2.3
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/rich-text/styles.d.ts +2 -0
- package/dist/rich-text.es.js +1 -1
- package/dist/{stitches.config-DWJUNIbU.js → stitches.config-DTq6WSgP.js} +2 -0
- package/dist/ui/components/Alert.d.ts +2 -0
- package/dist/ui/components/Avatar.d.ts +2 -0
- package/dist/ui/components/Badge.d.ts +2 -0
- package/dist/ui/components/Box.d.ts +2 -0
- package/dist/ui/components/Button.d.ts +2 -0
- package/dist/ui/components/Card.d.ts +2 -0
- package/dist/ui/components/Dialog.d.ts +6 -0
- package/dist/ui/components/Form/Checkbox.d.ts +2 -0
- package/dist/ui/components/Form/Switch.d.ts +4 -0
- package/dist/ui/components/Form/TextArea.d.ts +2 -0
- package/dist/ui/components/Form/TextInput.d.ts +2 -0
- package/dist/ui/components/Form/text.d.ts +4 -0
- package/dist/ui/components/Menu/DropdownMenu.d.ts +6 -0
- package/dist/ui/components/Menu/Menu.d.ts +6 -0
- package/dist/ui/components/NavBar.d.ts +2 -0
- package/dist/ui/components/OverlayCard.d.ts +2 -0
- package/dist/ui/components/Spinner.d.ts +2 -0
- package/dist/ui/components/Stack.d.ts +2 -0
- package/dist/ui/components/Toolbar.d.ts +8 -0
- package/dist/ui/stitches.config.d.ts +12 -0
- package/dist/ui.es.js +10 -3
- package/package.json +1 -1
package/dist/rich-text.es.js
CHANGED
|
@@ -20,7 +20,7 @@ import { LexicalComposer as mr } from "@lexical/react/LexicalComposer.js";
|
|
|
20
20
|
import { RichTextPlugin as fr } from "@lexical/react/LexicalRichTextPlugin.js";
|
|
21
21
|
import { LexicalErrorBoundary as kr } from "@lexical/react/LexicalErrorBoundary.js";
|
|
22
22
|
import { useFloating as Ct, autoUpdate as oe, size as br, flip as Cr, offset as ie, shift as vr, useInteractions as ae, useRole as le, FloatingPortal as se, inline as Mr, useDismiss as xr } from "@floating-ui/react";
|
|
23
|
-
import { s as Tr, c as Lr } from "./stitches.config-
|
|
23
|
+
import { s as Tr, c as Lr } from "./stitches.config-DTq6WSgP.js";
|
|
24
24
|
import { ListPlugin as wr } from "@lexical/react/LexicalListPlugin.js";
|
|
25
25
|
import { HistoryPlugin as _r } from "@lexical/react/LexicalHistoryPlugin.js";
|
|
26
26
|
import { TablePlugin as yr } from "@lexical/react/LexicalTablePlugin.js";
|
|
@@ -10,6 +10,8 @@ declare const DialogContent: import('@stitches/react/types/styled-component').St
|
|
|
10
10
|
print: "print";
|
|
11
11
|
}, {
|
|
12
12
|
colors: {
|
|
13
|
+
black: "#1d1d1d";
|
|
14
|
+
white: "#fff";
|
|
13
15
|
gray50: "#F9FAFA";
|
|
14
16
|
gray100: "#EBEEEE";
|
|
15
17
|
gray200: "#CFD6D7";
|
|
@@ -141,6 +143,8 @@ export declare const DialogHeader: import('@stitches/react/types/styled-componen
|
|
|
141
143
|
print: "print";
|
|
142
144
|
}, {
|
|
143
145
|
colors: {
|
|
146
|
+
black: "#1d1d1d";
|
|
147
|
+
white: "#fff";
|
|
144
148
|
gray50: "#F9FAFA";
|
|
145
149
|
gray100: "#EBEEEE";
|
|
146
150
|
gray200: "#CFD6D7";
|
|
@@ -264,6 +268,8 @@ export declare const DialogActions: import('@stitches/react/types/styled-compone
|
|
|
264
268
|
print: "print";
|
|
265
269
|
}, {
|
|
266
270
|
colors: {
|
|
271
|
+
black: "#1d1d1d";
|
|
272
|
+
white: "#fff";
|
|
267
273
|
gray50: "#F9FAFA";
|
|
268
274
|
gray100: "#EBEEEE";
|
|
269
275
|
gray200: "#CFD6D7";
|
|
@@ -11,6 +11,8 @@ declare const Root: import('@stitches/react/types/styled-component').StyledCompo
|
|
|
11
11
|
print: "print";
|
|
12
12
|
}, {
|
|
13
13
|
colors: {
|
|
14
|
+
black: "#1d1d1d";
|
|
15
|
+
white: "#fff";
|
|
14
16
|
gray50: "#F9FAFA";
|
|
15
17
|
gray100: "#EBEEEE";
|
|
16
18
|
gray200: "#CFD6D7";
|
|
@@ -136,6 +138,8 @@ declare const Label: import('@stitches/react/types/styled-component').StyledComp
|
|
|
136
138
|
print: "print";
|
|
137
139
|
}, {
|
|
138
140
|
colors: {
|
|
141
|
+
black: "#1d1d1d";
|
|
142
|
+
white: "#fff";
|
|
139
143
|
gray50: "#F9FAFA";
|
|
140
144
|
gray100: "#EBEEEE";
|
|
141
145
|
gray200: "#CFD6D7";
|
|
@@ -8,6 +8,8 @@ export declare const textCss: import('@stitches/react/types/styled-component').C
|
|
|
8
8
|
print: "print";
|
|
9
9
|
}, {
|
|
10
10
|
colors: {
|
|
11
|
+
black: "#1d1d1d";
|
|
12
|
+
white: "#fff";
|
|
11
13
|
gray50: "#F9FAFA";
|
|
12
14
|
gray100: "#EBEEEE";
|
|
13
15
|
gray200: "#CFD6D7";
|
|
@@ -133,6 +135,8 @@ export declare const textWrapperCss: import('@stitches/react/types/styled-compon
|
|
|
133
135
|
print: "print";
|
|
134
136
|
}, {
|
|
135
137
|
colors: {
|
|
138
|
+
black: "#1d1d1d";
|
|
139
|
+
white: "#fff";
|
|
136
140
|
gray50: "#F9FAFA";
|
|
137
141
|
gray100: "#EBEEEE";
|
|
138
142
|
gray200: "#CFD6D7";
|
|
@@ -19,6 +19,8 @@ export declare const DropdownMenuSeparator: import('@stitches/react/types/styled
|
|
|
19
19
|
print: "print";
|
|
20
20
|
}, {
|
|
21
21
|
colors: {
|
|
22
|
+
black: "#1d1d1d";
|
|
23
|
+
white: "#fff";
|
|
22
24
|
gray50: "#F9FAFA";
|
|
23
25
|
gray100: "#EBEEEE";
|
|
24
26
|
gray200: "#CFD6D7";
|
|
@@ -142,6 +144,8 @@ export declare const DropdownMenuItem: import('@stitches/react/types/styled-comp
|
|
|
142
144
|
print: "print";
|
|
143
145
|
}, {
|
|
144
146
|
colors: {
|
|
147
|
+
black: "#1d1d1d";
|
|
148
|
+
white: "#fff";
|
|
145
149
|
gray50: "#F9FAFA";
|
|
146
150
|
gray100: "#EBEEEE";
|
|
147
151
|
gray200: "#CFD6D7";
|
|
@@ -265,6 +269,8 @@ export declare const DropdownMenuIconItem: import('@stitches/react/types/styled-
|
|
|
265
269
|
print: "print";
|
|
266
270
|
}, {
|
|
267
271
|
colors: {
|
|
272
|
+
black: "#1d1d1d";
|
|
273
|
+
white: "#fff";
|
|
268
274
|
gray50: "#F9FAFA";
|
|
269
275
|
gray100: "#EBEEEE";
|
|
270
276
|
gray200: "#CFD6D7";
|
|
@@ -8,6 +8,8 @@ export declare const MenuOverlayCard: import('@stitches/react/types/styled-compo
|
|
|
8
8
|
print: "print";
|
|
9
9
|
}, {
|
|
10
10
|
colors: {
|
|
11
|
+
black: "#1d1d1d";
|
|
12
|
+
white: "#fff";
|
|
11
13
|
gray50: "#F9FAFA";
|
|
12
14
|
gray100: "#EBEEEE";
|
|
13
15
|
gray200: "#CFD6D7";
|
|
@@ -130,6 +132,8 @@ export declare const MenuOverlayCard: import('@stitches/react/types/styled-compo
|
|
|
130
132
|
print: "print";
|
|
131
133
|
}, {
|
|
132
134
|
colors: {
|
|
135
|
+
black: "#1d1d1d";
|
|
136
|
+
white: "#fff";
|
|
133
137
|
gray50: "#F9FAFA";
|
|
134
138
|
gray100: "#EBEEEE";
|
|
135
139
|
gray200: "#CFD6D7";
|
|
@@ -253,6 +257,8 @@ export declare const menuItemStyles: import('@stitches/react/types/styled-compon
|
|
|
253
257
|
print: "print";
|
|
254
258
|
}, {
|
|
255
259
|
colors: {
|
|
260
|
+
black: "#1d1d1d";
|
|
261
|
+
white: "#fff";
|
|
256
262
|
gray50: "#F9FAFA";
|
|
257
263
|
gray100: "#EBEEEE";
|
|
258
264
|
gray200: "#CFD6D7";
|
|
@@ -9,6 +9,8 @@ export declare const Toolbar: import('@stitches/react/types/styled-component').S
|
|
|
9
9
|
print: "print";
|
|
10
10
|
}, {
|
|
11
11
|
colors: {
|
|
12
|
+
black: "#1d1d1d";
|
|
13
|
+
white: "#fff";
|
|
12
14
|
gray50: "#F9FAFA";
|
|
13
15
|
gray100: "#EBEEEE";
|
|
14
16
|
gray200: "#CFD6D7";
|
|
@@ -132,6 +134,8 @@ export declare const ToolbarToggleGroup: import('@stitches/react/types/styled-co
|
|
|
132
134
|
print: "print";
|
|
133
135
|
}, {
|
|
134
136
|
colors: {
|
|
137
|
+
black: "#1d1d1d";
|
|
138
|
+
white: "#fff";
|
|
135
139
|
gray50: "#F9FAFA";
|
|
136
140
|
gray100: "#EBEEEE";
|
|
137
141
|
gray200: "#CFD6D7";
|
|
@@ -255,6 +259,8 @@ export declare const ToolbarSeparator: import('@stitches/react/types/styled-comp
|
|
|
255
259
|
print: "print";
|
|
256
260
|
}, {
|
|
257
261
|
colors: {
|
|
262
|
+
black: "#1d1d1d";
|
|
263
|
+
white: "#fff";
|
|
258
264
|
gray50: "#F9FAFA";
|
|
259
265
|
gray100: "#EBEEEE";
|
|
260
266
|
gray200: "#CFD6D7";
|
|
@@ -384,6 +390,8 @@ export declare const ButtonInToolbar: import('react').ForwardRefExoticComponent<
|
|
|
384
390
|
print: "print";
|
|
385
391
|
}, {
|
|
386
392
|
colors: {
|
|
393
|
+
black: "#1d1d1d";
|
|
394
|
+
white: "#fff";
|
|
387
395
|
gray50: "#F9FAFA";
|
|
388
396
|
gray100: "#EBEEEE";
|
|
389
397
|
gray200: "#CFD6D7";
|
|
@@ -7,6 +7,8 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
7
7
|
print: "print";
|
|
8
8
|
}, {
|
|
9
9
|
colors: {
|
|
10
|
+
black: "#1d1d1d";
|
|
11
|
+
white: "#fff";
|
|
10
12
|
gray50: "#F9FAFA";
|
|
11
13
|
gray100: "#EBEEEE";
|
|
12
14
|
gray200: "#CFD6D7";
|
|
@@ -140,6 +142,8 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
140
142
|
print: "print";
|
|
141
143
|
}, {
|
|
142
144
|
colors: {
|
|
145
|
+
black: "#1d1d1d";
|
|
146
|
+
white: "#fff";
|
|
143
147
|
gray50: "#F9FAFA";
|
|
144
148
|
gray100: "#EBEEEE";
|
|
145
149
|
gray200: "#CFD6D7";
|
|
@@ -260,6 +264,8 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
260
264
|
print: "print";
|
|
261
265
|
}, {
|
|
262
266
|
colors: {
|
|
267
|
+
black: "#1d1d1d";
|
|
268
|
+
white: "#fff";
|
|
263
269
|
gray50: "#F9FAFA";
|
|
264
270
|
gray100: "#EBEEEE";
|
|
265
271
|
gray200: "#CFD6D7";
|
|
@@ -394,6 +400,8 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
394
400
|
print: "print";
|
|
395
401
|
}, {
|
|
396
402
|
colors: {
|
|
403
|
+
black: "#1d1d1d";
|
|
404
|
+
white: "#fff";
|
|
397
405
|
gray50: "#F9FAFA";
|
|
398
406
|
gray100: "#EBEEEE";
|
|
399
407
|
gray200: "#CFD6D7";
|
|
@@ -522,6 +530,8 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
522
530
|
print: "print";
|
|
523
531
|
}, {
|
|
524
532
|
colors: {
|
|
533
|
+
black: "#1d1d1d";
|
|
534
|
+
white: "#fff";
|
|
525
535
|
gray50: "#F9FAFA";
|
|
526
536
|
gray100: "#EBEEEE";
|
|
527
537
|
gray200: "#CFD6D7";
|
|
@@ -641,6 +651,8 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | React.C
|
|
|
641
651
|
print: "print";
|
|
642
652
|
}, {
|
|
643
653
|
colors: {
|
|
654
|
+
black: "#1d1d1d";
|
|
655
|
+
white: "#fff";
|
|
644
656
|
gray50: "#F9FAFA";
|
|
645
657
|
gray100: "#EBEEEE";
|
|
646
658
|
gray200: "#CFD6D7";
|
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 Me, g as Pe } from "./stitches.config-
|
|
1
|
+
import { k as h, s as n, c as f } from "./stitches.config-DTq6WSgP.js";
|
|
2
|
+
import { a as Me, g as Pe } from "./stitches.config-DTq6WSgP.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";
|
|
@@ -132,6 +132,7 @@ const bo = h({
|
|
|
132
132
|
primary: {
|
|
133
133
|
$$solid: "$colors$blue600",
|
|
134
134
|
$$solidHover: "$colors$blue700",
|
|
135
|
+
$$text: "$colors$white",
|
|
135
136
|
$$outline: "$colors$blue600",
|
|
136
137
|
$$outlineHover: "$colors$blue100",
|
|
137
138
|
$$outlineText: "$colors$blue600",
|
|
@@ -140,6 +141,7 @@ const bo = h({
|
|
|
140
141
|
secondary: {
|
|
141
142
|
$$solid: "$colors$gray600",
|
|
142
143
|
$$solidHover: "$colors$gray700",
|
|
144
|
+
$$text: "$colors$white",
|
|
143
145
|
$$outline: "$colors$gray400",
|
|
144
146
|
$$outlineHover: "$colors$gray100",
|
|
145
147
|
$$outlineText: "$colors$gray600",
|
|
@@ -148,6 +150,7 @@ const bo = h({
|
|
|
148
150
|
success: {
|
|
149
151
|
$$solid: "$colors$green600",
|
|
150
152
|
$$solidHover: "$colors$green700",
|
|
153
|
+
$$text: "$colors$white",
|
|
151
154
|
$$outline: "$colors$green600",
|
|
152
155
|
$$outlineHover: "$colors$green100",
|
|
153
156
|
$$outlineText: "$colors$green600",
|
|
@@ -156,6 +159,7 @@ const bo = h({
|
|
|
156
159
|
danger: {
|
|
157
160
|
$$solid: "$colors$red600",
|
|
158
161
|
$$solidHover: "$colors$red700",
|
|
162
|
+
$$text: "$colors$white",
|
|
159
163
|
$$outline: "$colors$red600",
|
|
160
164
|
$$outlineHover: "$colors$red100",
|
|
161
165
|
$$outlineText: "$colors$red600",
|
|
@@ -164,6 +168,7 @@ const bo = h({
|
|
|
164
168
|
warning: {
|
|
165
169
|
$$solid: "$colors$yellow600",
|
|
166
170
|
$$solidHover: "$colors$yellow700",
|
|
171
|
+
$$text: "$colors$white",
|
|
167
172
|
$$outline: "$colors$yellow400",
|
|
168
173
|
$$outlineHover: "$colors$yellow50",
|
|
169
174
|
$$outlineText: "$colors$yellow600",
|
|
@@ -172,6 +177,7 @@ const bo = h({
|
|
|
172
177
|
NEW_primary: {
|
|
173
178
|
$$solid: "$colors$flask",
|
|
174
179
|
$$solidHover: "$colors$flaskHover",
|
|
180
|
+
$$text: "$colors$white",
|
|
175
181
|
$$outline: "$colors$flask",
|
|
176
182
|
$$outlineHover: "$colors$flaskHover",
|
|
177
183
|
$$outlineText: "$colors$flask",
|
|
@@ -180,6 +186,7 @@ const bo = h({
|
|
|
180
186
|
NEW_tertiary: {
|
|
181
187
|
$$solid: "$colors$sand",
|
|
182
188
|
$$solidHover: "$colors$sandHover",
|
|
189
|
+
$$text: "$colors$black",
|
|
183
190
|
$$outline: "$colors$sand",
|
|
184
191
|
$$outlineHover: "$colors$sandHover",
|
|
185
192
|
$$outlineText: "$colors$black",
|
|
@@ -206,7 +213,7 @@ const bo = h({
|
|
|
206
213
|
variant: {
|
|
207
214
|
primary: {
|
|
208
215
|
background: "$$solid",
|
|
209
|
-
color: "
|
|
216
|
+
color: "$$text",
|
|
210
217
|
"&:hover:not(:disabled)": {
|
|
211
218
|
backgroundColor: "$$solidHover"
|
|
212
219
|
},
|