@arkitektbedriftene/fe-lib 0.4.21 → 0.4.22

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.
@@ -3781,19 +3781,7 @@ const ge = W("div"), Ct = Fn(
3781
3781
  [t]
3782
3782
  );
3783
3783
  return /* @__PURE__ */ L(Kn, { components: i, styles: r, ...o });
3784
- }, bs = ({
3785
- clearable: e = !0,
3786
- multi: t = !1,
3787
- ...n
3788
- }) => (e = t ? !1 : e, /* @__PURE__ */ L(
3789
- Pi,
3790
- {
3791
- ...n,
3792
- isClearable: e,
3793
- isMulti: t,
3794
- isSearchable: !0
3795
- }
3796
- )), Ai = Ve({
3784
+ }, bs = (e) => /* @__PURE__ */ L(Pi, { ...e, isSearchable: !0 }), Ai = Ve({
3797
3785
  display: "block",
3798
3786
  width: "100%",
3799
3787
  padding: "0.5rem 0.75rem",
@@ -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 _, 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 It, k as ye, l as xe, S as Se, m as $, n as I, p as ut, q as Ee, N as we, r as ht, t as Re, v as _t, C as Ie, w as _e, x as ze } from "./Checkbox-a342242a.js";
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 _, 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 It, k as ye, l as xe, S as Se, m as $, n as I, p as ut, q as Ee, N as we, r as ht, t as Re, v as _t, C as Ie, w as _e, x as ze } from "./Checkbox-8b8c360d.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";
@@ -120,123 +120,7 @@ export declare const Dialog: ({ children, open, onOpenChange, trigger, css, }: {
120
120
  open: boolean;
121
121
  onOpenChange: (bool: boolean) => void;
122
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;
123
+ css?: ComponentProps<typeof DialogContent>["css"];
240
124
  }) => JSX.Element;
241
125
  export declare const DialogHeader: import("@stitches/react/types/styled-component").StyledComponent<"h2", {}, {
242
126
  lg: "(min-width: 1200px)";
@@ -1,7 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { ReactSelect } from "./ReactSelect";
3
- export type ComboboxProps = {
4
- clearable?: boolean;
5
- multi?: boolean;
6
- } & Omit<React.ComponentProps<typeof ReactSelect>, "isMulti" | "isClearable" | "isSearchable">;
7
- export declare const Combobox: ({ clearable, multi, ...props }: ComboboxProps) => JSX.Element;
2
+ import type { GroupBase, Props } from "react-select";
3
+ export declare const Combobox: <Option, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>>(props: Omit<Props<Option, IsMulti, Group>, "isSearchable">) => JSX.Element;
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-a342242a.js";
2
- import { H as D, Q as M, I as $, m as k, J as w, K as A, X 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, 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-a342242a.js";
1
+ import { P as l, y as p, z as i, B as t, R as m } from "./Checkbox-8b8c360d.js";
2
+ import { H as D, Q as M, I as $, m as k, J as w, K as A, X 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, 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-8b8c360d.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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkitektbedriftene/fe-lib",
3
- "version": "0.4.21",
3
+ "version": "0.4.22",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {