@arkitektbedriftene/fe-lib 0.4.23 → 0.4.24
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/{Checkbox-8b8c360d.js → Checkbox-404e0375.js} +710 -654
- package/dist/rich-text.es.js +1 -1
- package/dist/ui/components/Form/TextArea.d.ts +125 -0
- package/dist/ui/components/Form/TextInput.d.ts +123 -11
- package/dist/ui/ui.d.ts +1 -0
- package/dist/ui.es.js +16 -15
- package/package.json +1 -1
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 I, u as nt, e as xt, f as Le, g as Te, o as St, h as Ne, i as Et, j as wt, F as Rt, O as _t, k as ye, l as xe, S as Se, m as $, n as _, p as ut, q as Ee, N as we, r as ht, t as Re, v as It, C as _e, w as Ie, x as ze } 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 I, u as nt, e as xt, f as Le, g as Te, o as St, h as Ne, i as Et, j as wt, F as Rt, O as _t, k as ye, l as xe, S as Se, m as $, n as _, p as ut, q as Ee, N as we, r as ht, t as Re, v as It, C as _e, w as Ie, x as ze } from "./Checkbox-404e0375.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";
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { CSS } from "@stitches/react";
|
|
3
|
+
declare const Input: import("@stitches/react/types/styled-component").StyledComponent<"textarea", {}, {
|
|
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
|
+
type TextInputProps = React.ComponentProps<typeof Input> & {
|
|
119
|
+
error?: boolean | string;
|
|
120
|
+
css?: CSS;
|
|
121
|
+
suffix?: string;
|
|
122
|
+
label?: string;
|
|
123
|
+
};
|
|
124
|
+
export declare const TextArea: import("react").ForwardRefExoticComponent<Omit<TextInputProps, "ref"> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
125
|
+
export {};
|
|
@@ -1,13 +1,125 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { CSS } from "@stitches/react";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
declare const Input: import("@stitches/react/types/styled-component").StyledComponent<"input", {}, {
|
|
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
|
+
type TextInputProps = React.ComponentProps<typeof Input> & {
|
|
119
|
+
error?: boolean | string;
|
|
120
|
+
css?: CSS;
|
|
121
|
+
suffix?: string;
|
|
122
|
+
label?: string;
|
|
123
|
+
};
|
|
124
|
+
export declare const TextInput: import("react").ForwardRefExoticComponent<Omit<TextInputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
125
|
+
export {};
|
package/dist/ui/ui.d.ts
CHANGED
|
@@ -18,4 +18,5 @@ export * from './components/Menu/DropdownMenu';
|
|
|
18
18
|
export * from './components/Form/Combobox';
|
|
19
19
|
export * from './components/Form/Select';
|
|
20
20
|
export * from './components/Form/TextInput';
|
|
21
|
+
export * from './components/Form/TextArea';
|
|
21
22
|
export * from './components/Form/Checkbox';
|
package/dist/ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as l, y as p, z as i, B as t, R as m } from "./Checkbox-
|
|
2
|
-
import { H as D, Q as M, I as $, m as k, J as
|
|
1
|
+
import { P as l, y as p, z as i, B as t, R as m } from "./Checkbox-404e0375.js";
|
|
2
|
+
import { H as D, Q as M, I as $, m as k, J as A, K as w, Y as O, C as P, 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, X as W, t as X, k as Y, T as F, l as Z, b as _, d as oo, c as ao, G as so, E as eo, A as ro, V as to, s as no } from "./Checkbox-404e0375.js";
|
|
3
3
|
import { jsxs as n, jsx as a } from "react/jsx-runtime";
|
|
4
4
|
import { useState as c } from "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -68,8 +68,8 @@ export {
|
|
|
68
68
|
$ as Badge,
|
|
69
69
|
t as Box,
|
|
70
70
|
k as Button,
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
A as ButtonInToolbar,
|
|
72
|
+
w as Card,
|
|
73
73
|
O as Checkbox,
|
|
74
74
|
P as Combobox,
|
|
75
75
|
z as Dialog,
|
|
@@ -90,17 +90,18 @@ export {
|
|
|
90
90
|
I as Select,
|
|
91
91
|
U as Spinner,
|
|
92
92
|
V as Stack,
|
|
93
|
-
W as
|
|
94
|
-
X as
|
|
93
|
+
W as TextArea,
|
|
94
|
+
X as TextInput,
|
|
95
|
+
Y as Toolbar,
|
|
95
96
|
F as ToolbarButton,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
Z as ToolbarSeparator,
|
|
98
|
+
_ as ToolbarToggleGroup,
|
|
99
|
+
oo as ToolbarToggleItem,
|
|
99
100
|
h as Tooltip,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
101
|
+
ao as css,
|
|
102
|
+
so as getCssText,
|
|
103
|
+
eo as globalCss,
|
|
104
|
+
ro as keyframes,
|
|
105
|
+
to as menuItemStyles,
|
|
106
|
+
no as styled
|
|
106
107
|
};
|