@arkitektbedriftene/fe-lib 0.4.16 → 0.4.17
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.
|
@@ -3514,12 +3514,13 @@ const ge = W("div"), Rt = Ln(
|
|
|
3514
3514
|
children: e,
|
|
3515
3515
|
open: t,
|
|
3516
3516
|
onOpenChange: n,
|
|
3517
|
-
trigger: o
|
|
3517
|
+
trigger: o,
|
|
3518
|
+
css: r
|
|
3518
3519
|
}) => /* @__PURE__ */ ee(Ne.Root, { open: t, onOpenChange: n, children: [
|
|
3519
3520
|
o && /* @__PURE__ */ L(Ne.Trigger, { asChild: !0, children: o }),
|
|
3520
3521
|
/* @__PURE__ */ ee(Ne.Portal, { children: [
|
|
3521
3522
|
/* @__PURE__ */ L($i, {}),
|
|
3522
|
-
/* @__PURE__ */ L(wi, { children: e })
|
|
3523
|
+
/* @__PURE__ */ L(wi, { css: r, children: e })
|
|
3523
3524
|
] })
|
|
3524
3525
|
] }), ls = W("h2", {
|
|
3525
3526
|
fontSize: "$xl",
|
package/dist/rich-text.es.js
CHANGED
|
@@ -11,7 +11,7 @@ import { HeadingNode as le, QuoteNode as se, $isHeadingNode as ce, $createHeadin
|
|
|
11
11
|
import { TableNode as he, TableRowNode as pe, TableCellNode as ge, INSERT_TABLE_COMMAND as fe, $getTableCellNodeFromLexicalNode as me, $deleteTableColumn__EXPERIMENTAL as ke, $deleteTableRow__EXPERIMENTAL as be, $insertTableColumn__EXPERIMENTAL as ct, $insertTableRow__EXPERIMENTAL as dt } from "@lexical/table";
|
|
12
12
|
import { jsx as n, jsxs as f, Fragment as Y } from "react/jsx-runtime";
|
|
13
13
|
import { createContext as ve, useState as b, useRef as et, useCallback as v, useContext as Ce, useEffect as N, useMemo as Lt, useLayoutEffect as Me } from "react";
|
|
14
|
-
import { c as O, s as Tt, D as rt, T as Nt, a as M, B as P, b as yt, d as z, u as nt, e as xt, f as Le, g as Te, o as Et, h as Ne, i as St, j as wt, F as Rt, O as It, k as ye, l as xe, S as Ee, m as $, n as I, p as ut, q as Se, N as we, r as ht, t as Re, v as zt, C as Ie, w as ze, x as _e } from "./Checkbox-
|
|
14
|
+
import { c as O, s as Tt, D as rt, T as Nt, a as M, B as P, b as yt, d as z, u as nt, e as xt, f as Le, g as Te, o as Et, h as Ne, i as St, j as wt, F as Rt, O as It, k as ye, l as xe, S as Ee, m as $, n as I, p as ut, q as Se, N as we, r as ht, t as Re, v as zt, C as Ie, w as ze, x as _e } from "./Checkbox-22bb995a.js";
|
|
15
15
|
import "react-select";
|
|
16
16
|
import { LexicalComposer as $e } from "@lexical/react/LexicalComposer.js";
|
|
17
17
|
import { RichTextPlugin as Oe } from "@lexical/react/LexicalRichTextPlugin.js";
|
|
@@ -1,9 +1,242 @@
|
|
|
1
|
-
import type { ReactNode } from "react";
|
|
2
|
-
|
|
1
|
+
import type { ComponentProps, ReactNode } from "react";
|
|
2
|
+
import * as RDialog from "@radix-ui/react-dialog";
|
|
3
|
+
declare const DialogContent: import("@stitches/react/types/styled-component").StyledComponent<import("react").ForwardRefExoticComponent<RDialog.DialogContentProps & import("react").RefAttributes<HTMLDivElement>>, {}, {
|
|
4
|
+
lg: "(min-width: 1200px)";
|
|
5
|
+
print: "print";
|
|
6
|
+
}, import("@stitches/react/types/css-util").CSS<{
|
|
7
|
+
lg: "(min-width: 1200px)";
|
|
8
|
+
print: "print";
|
|
9
|
+
}, {
|
|
10
|
+
colors: {
|
|
11
|
+
gray50: string;
|
|
12
|
+
gray100: string;
|
|
13
|
+
gray200: string;
|
|
14
|
+
gray300: string;
|
|
15
|
+
gray400: string;
|
|
16
|
+
gray500: string;
|
|
17
|
+
gray600: string;
|
|
18
|
+
gray700: string;
|
|
19
|
+
gray800: string;
|
|
20
|
+
gray900: string;
|
|
21
|
+
blue50: string;
|
|
22
|
+
blue100: string;
|
|
23
|
+
blue200: string;
|
|
24
|
+
blue300: string;
|
|
25
|
+
blue400: string;
|
|
26
|
+
blue500: string;
|
|
27
|
+
blue600: string;
|
|
28
|
+
blue700: string;
|
|
29
|
+
blue800: string;
|
|
30
|
+
blue900: string;
|
|
31
|
+
yellow50: string;
|
|
32
|
+
yellow100: string;
|
|
33
|
+
yellow200: string;
|
|
34
|
+
yellow300: string;
|
|
35
|
+
yellow400: string;
|
|
36
|
+
yellow500: string;
|
|
37
|
+
yellow600: string;
|
|
38
|
+
yellow700: string;
|
|
39
|
+
yellow800: string;
|
|
40
|
+
yellow900: string;
|
|
41
|
+
orange500: string;
|
|
42
|
+
red50: string;
|
|
43
|
+
red100: string;
|
|
44
|
+
red200: string;
|
|
45
|
+
red300: string;
|
|
46
|
+
red400: string;
|
|
47
|
+
red500: string;
|
|
48
|
+
red600: string;
|
|
49
|
+
red700: string;
|
|
50
|
+
red800: string;
|
|
51
|
+
red900: string;
|
|
52
|
+
green50: string;
|
|
53
|
+
green100: string;
|
|
54
|
+
green200: string;
|
|
55
|
+
green300: string;
|
|
56
|
+
green400: string;
|
|
57
|
+
green500: string;
|
|
58
|
+
green600: string;
|
|
59
|
+
green700: string;
|
|
60
|
+
green800: string;
|
|
61
|
+
green900: string;
|
|
62
|
+
primaryTextOnLightBg: string;
|
|
63
|
+
primaryBg: string;
|
|
64
|
+
primaryBgHover: string;
|
|
65
|
+
primaryTextOnWhite: string;
|
|
66
|
+
bodyGray: string;
|
|
67
|
+
hoverDarker: string;
|
|
68
|
+
borderDarker: string;
|
|
69
|
+
selectedDarker: string;
|
|
70
|
+
selectedOnBodyGray: string;
|
|
71
|
+
darkGrayBg: string;
|
|
72
|
+
border: string;
|
|
73
|
+
text: string;
|
|
74
|
+
secondaryText: string;
|
|
75
|
+
focusRing: string;
|
|
76
|
+
};
|
|
77
|
+
fontSizes: {
|
|
78
|
+
xs: string;
|
|
79
|
+
sm: string;
|
|
80
|
+
md: string;
|
|
81
|
+
lg: string;
|
|
82
|
+
xl: string;
|
|
83
|
+
"2xl": string;
|
|
84
|
+
"3xl": string;
|
|
85
|
+
};
|
|
86
|
+
fontWeights: {
|
|
87
|
+
normal: string;
|
|
88
|
+
medium: string;
|
|
89
|
+
bold: string;
|
|
90
|
+
};
|
|
91
|
+
space: {
|
|
92
|
+
1: string;
|
|
93
|
+
2: string;
|
|
94
|
+
3: string;
|
|
95
|
+
4: string;
|
|
96
|
+
6: string;
|
|
97
|
+
8: string;
|
|
98
|
+
};
|
|
99
|
+
shadows: {
|
|
100
|
+
xs: string;
|
|
101
|
+
sm: string;
|
|
102
|
+
md: string;
|
|
103
|
+
lg: string;
|
|
104
|
+
overlayCard: string;
|
|
105
|
+
};
|
|
106
|
+
radii: {
|
|
107
|
+
xs: string;
|
|
108
|
+
sm: string;
|
|
109
|
+
md: string;
|
|
110
|
+
mdmd: string;
|
|
111
|
+
full: string;
|
|
112
|
+
};
|
|
113
|
+
zIndices: {
|
|
114
|
+
toast: number;
|
|
115
|
+
overlayCard: number;
|
|
116
|
+
};
|
|
117
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
118
|
+
export declare const Dialog: ({ children, open, onOpenChange, trigger, css, }: {
|
|
3
119
|
children: ReactNode;
|
|
4
120
|
open: boolean;
|
|
5
121
|
onOpenChange: (bool: boolean) => void;
|
|
6
122
|
trigger?: ReactNode;
|
|
123
|
+
css?: Pick<Omit<RDialog.DialogContentProps & import("react").RefAttributes<HTMLDivElement>, "css"> & import("@stitches/react/types/styled-component").TransformProps<{}, {
|
|
124
|
+
lg: "(min-width: 1200px)";
|
|
125
|
+
print: "print";
|
|
126
|
+
}> & {
|
|
127
|
+
css?: import("@stitches/react/types/css-util").CSS<{
|
|
128
|
+
lg: "(min-width: 1200px)";
|
|
129
|
+
print: "print";
|
|
130
|
+
}, {
|
|
131
|
+
colors: {
|
|
132
|
+
gray50: string;
|
|
133
|
+
gray100: string;
|
|
134
|
+
gray200: string;
|
|
135
|
+
gray300: string;
|
|
136
|
+
gray400: string;
|
|
137
|
+
gray500: string;
|
|
138
|
+
gray600: string;
|
|
139
|
+
gray700: string;
|
|
140
|
+
gray800: string;
|
|
141
|
+
gray900: string;
|
|
142
|
+
blue50: string;
|
|
143
|
+
blue100: string;
|
|
144
|
+
blue200: string;
|
|
145
|
+
blue300: string;
|
|
146
|
+
blue400: string;
|
|
147
|
+
blue500: string;
|
|
148
|
+
blue600: string;
|
|
149
|
+
blue700: string;
|
|
150
|
+
blue800: string;
|
|
151
|
+
blue900: string;
|
|
152
|
+
yellow50: string;
|
|
153
|
+
yellow100: string;
|
|
154
|
+
yellow200: string;
|
|
155
|
+
yellow300: string;
|
|
156
|
+
yellow400: string;
|
|
157
|
+
yellow500: string;
|
|
158
|
+
yellow600: string;
|
|
159
|
+
yellow700: string;
|
|
160
|
+
yellow800: string;
|
|
161
|
+
yellow900: string;
|
|
162
|
+
orange500: string;
|
|
163
|
+
red50: string;
|
|
164
|
+
red100: string;
|
|
165
|
+
red200: string;
|
|
166
|
+
red300: string;
|
|
167
|
+
red400: string;
|
|
168
|
+
red500: string;
|
|
169
|
+
red600: string;
|
|
170
|
+
red700: string;
|
|
171
|
+
red800: string;
|
|
172
|
+
red900: string;
|
|
173
|
+
green50: string;
|
|
174
|
+
green100: string;
|
|
175
|
+
green200: string;
|
|
176
|
+
green300: string;
|
|
177
|
+
green400: string;
|
|
178
|
+
green500: string;
|
|
179
|
+
green600: string;
|
|
180
|
+
green700: string;
|
|
181
|
+
green800: string;
|
|
182
|
+
green900: string;
|
|
183
|
+
primaryTextOnLightBg: string;
|
|
184
|
+
primaryBg: string;
|
|
185
|
+
primaryBgHover: string;
|
|
186
|
+
primaryTextOnWhite: string;
|
|
187
|
+
bodyGray: string;
|
|
188
|
+
hoverDarker: string;
|
|
189
|
+
borderDarker: string;
|
|
190
|
+
selectedDarker: string;
|
|
191
|
+
selectedOnBodyGray: string;
|
|
192
|
+
darkGrayBg: string;
|
|
193
|
+
border: string;
|
|
194
|
+
text: string;
|
|
195
|
+
secondaryText: string;
|
|
196
|
+
focusRing: string;
|
|
197
|
+
};
|
|
198
|
+
fontSizes: {
|
|
199
|
+
xs: string;
|
|
200
|
+
sm: string;
|
|
201
|
+
md: string;
|
|
202
|
+
lg: string;
|
|
203
|
+
xl: string;
|
|
204
|
+
"2xl": string;
|
|
205
|
+
"3xl": string;
|
|
206
|
+
};
|
|
207
|
+
fontWeights: {
|
|
208
|
+
normal: string;
|
|
209
|
+
medium: string;
|
|
210
|
+
bold: string;
|
|
211
|
+
};
|
|
212
|
+
space: {
|
|
213
|
+
1: string;
|
|
214
|
+
2: string;
|
|
215
|
+
3: string;
|
|
216
|
+
4: string;
|
|
217
|
+
6: string;
|
|
218
|
+
8: string;
|
|
219
|
+
};
|
|
220
|
+
shadows: {
|
|
221
|
+
xs: string;
|
|
222
|
+
sm: string;
|
|
223
|
+
md: string;
|
|
224
|
+
lg: string;
|
|
225
|
+
overlayCard: string;
|
|
226
|
+
};
|
|
227
|
+
radii: {
|
|
228
|
+
xs: string;
|
|
229
|
+
sm: string;
|
|
230
|
+
md: string;
|
|
231
|
+
mdmd: string;
|
|
232
|
+
full: string;
|
|
233
|
+
};
|
|
234
|
+
zIndices: {
|
|
235
|
+
toast: number;
|
|
236
|
+
overlayCard: number;
|
|
237
|
+
};
|
|
238
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {}> | undefined;
|
|
239
|
+
}, "css"> | undefined;
|
|
7
240
|
}) => JSX.Element;
|
|
8
241
|
export declare const DialogHeader: import("@stitches/react/types/styled-component").StyledComponent<"h2", {}, {
|
|
9
242
|
lg: "(min-width: 1200px)";
|
|
@@ -235,3 +468,4 @@ export declare const DialogActions: import("@stitches/react/types/styled-compone
|
|
|
235
468
|
overlayCard: number;
|
|
236
469
|
};
|
|
237
470
|
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
|
|
471
|
+
export {};
|
package/dist/ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as l, y as p, z as i, B as r, R as m } from "./Checkbox-
|
|
2
|
-
import { H as y, Q as M, I as k, m as w, J as A, K as O, X as P, C as $, q as z, v as N, L as j, D as G, W as H, a as R, n as q, p as E, U as J, N as K, r as L, O as Q, S as U, M as V, t as W, k as X, T as F, l as Y, b as Z, d as _, c as oo, G as ao, E as so, A as eo, V as ro, s as to } from "./Checkbox-
|
|
1
|
+
import { P as l, y as p, z as i, B as r, R as m } from "./Checkbox-22bb995a.js";
|
|
2
|
+
import { H as y, Q as M, I as k, m as w, J as A, K as O, X as P, C as $, q as z, v as N, L as j, D as G, W as H, a as R, n as q, p as E, U as J, N as K, r as L, O as Q, S as U, M as V, t as W, k as X, T as F, l as Y, b as Z, d as _, c as oo, G as ao, E as so, A as eo, V as ro, s as to } from "./Checkbox-22bb995a.js";
|
|
3
3
|
import { jsxs as t, jsx as a } from "react/jsx-runtime";
|
|
4
4
|
import { useState as c } from "react";
|
|
5
5
|
import "react-dom";
|