@arkitektbedriftene/fe-lib 0.4.27 → 0.4.28

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.
@@ -3515,12 +3515,13 @@ const Q = W("div"), Et = Nn(
3515
3515
  open: t,
3516
3516
  onOpenChange: n,
3517
3517
  trigger: o,
3518
- css: r
3518
+ css: r,
3519
+ contentProps: i
3519
3520
  }) => /* @__PURE__ */ te(Ne.Root, { open: t, onOpenChange: n, children: [
3520
3521
  o && /* @__PURE__ */ M(Ne.Trigger, { asChild: !0, children: o }),
3521
3522
  /* @__PURE__ */ te(Ne.Portal, { children: [
3522
3523
  /* @__PURE__ */ M(Ri, {}),
3523
- /* @__PURE__ */ M(Ci, { css: r, children: e })
3524
+ /* @__PURE__ */ M(Ci, { css: r, ...i, children: e })
3524
3525
  ] })
3525
3526
  ] }), us = W("h2", {
3526
3527
  fontSize: "$xl",
@@ -11,7 +11,7 @@ import { HeadingNode as ae, QuoteNode as le, $isHeadingNode as se, $createHeadin
11
11
  import { TableNode as ue, TableRowNode as he, TableCellNode as pe, INSERT_TABLE_COMMAND as ge, $getTableCellNodeFromLexicalNode as fe, $deleteTableColumn__EXPERIMENTAL as me, $deleteTableRow__EXPERIMENTAL as ke, $insertTableColumn__EXPERIMENTAL as lt, $insertTableRow__EXPERIMENTAL as st } from "@lexical/table";
12
12
  import { jsx as n, jsxs as g, Fragment as K } from "react/jsx-runtime";
13
13
  import { createContext as be, useState as b, useRef as Z, useCallback as v, useContext as ve, useEffect as x, useMemo as Mt, useLayoutEffect as Me } from "react";
14
- import { s as Ct, D as tt, T as Tt, a as C, B as D, b as Lt, c as I, u as et, d as xt, e as Ce, f as Te, o as yt, g as Le, h as Nt, i as St, F as Et, O as wt, j as xe, k as ye, S as Ne, l as Se, m as O, n as _, p as ct, q as Ee, N as we, r as dt, t as Re, v as Rt, C as _e, w as Ie, x as ze } from "./Checkbox-48d88d36.js";
14
+ import { s as Ct, D as tt, T as Tt, a as C, B as D, b as Lt, c as I, u as et, d as xt, e as Ce, f as Te, o as yt, g as Le, h as Nt, i as St, F as Et, O as wt, j as xe, k as ye, S as Ne, l as Se, m as O, n as _, p as ct, q as Ee, N as we, r as dt, t as Re, v as Rt, C as _e, w as Ie, x as ze } from "./Checkbox-0c1030b1.js";
15
15
  import "react-select";
16
16
  import { LexicalComposer as Oe } from "@lexical/react/LexicalComposer.js";
17
17
  import { RichTextPlugin as $e } from "@lexical/react/LexicalRichTextPlugin.js";
@@ -115,12 +115,129 @@ declare const DialogContent: import("@stitches/react/types/styled-component").St
115
115
  overlayCard: number;
116
116
  };
117
117
  }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
118
- export declare const Dialog: ({ children, open, onOpenChange, trigger, css, }: {
118
+ export declare const Dialog: ({ children, open, onOpenChange, trigger, css, contentProps, }: {
119
119
  children: ReactNode;
120
120
  open: boolean;
121
121
  onOpenChange: (bool: boolean) => void;
122
122
  trigger?: ReactNode;
123
123
  css?: ComponentProps<typeof DialogContent>["css"];
124
+ contentProps?: (Omit<RDialog.DialogContentProps & import("react").RefAttributes<HTMLDivElement>, "css"> & import("@stitches/react/types/styled-component").TransformProps<{}, {
125
+ lg: "(min-width: 1200px)";
126
+ print: "print";
127
+ }> & {
128
+ css?: import("@stitches/react/types/css-util").CSS<{
129
+ lg: "(min-width: 1200px)";
130
+ print: "print";
131
+ }, {
132
+ colors: {
133
+ gray50: string;
134
+ gray100: string;
135
+ gray200: string;
136
+ gray300: string;
137
+ gray400: string;
138
+ gray500: string;
139
+ gray600: string;
140
+ gray700: string;
141
+ gray800: string;
142
+ gray900: string;
143
+ blue50: string;
144
+ blue100: string;
145
+ blue200: string;
146
+ blue300: string;
147
+ blue400: string;
148
+ blue500: string;
149
+ blue600: string;
150
+ blue700: string;
151
+ blue800: string;
152
+ blue900: string;
153
+ yellow50: string;
154
+ yellow100: string;
155
+ yellow200: string;
156
+ yellow300: string;
157
+ yellow400: string;
158
+ yellow500: string;
159
+ yellow600: string;
160
+ yellow700: string;
161
+ yellow800: string;
162
+ yellow900: string;
163
+ orange500: string;
164
+ red50: string;
165
+ red100: string;
166
+ red200: string;
167
+ red300: string;
168
+ red400: string;
169
+ red500: string;
170
+ red600: string;
171
+ red700: string;
172
+ red800: string;
173
+ red900: string;
174
+ green50: string;
175
+ green100: string;
176
+ green200: string;
177
+ green300: string;
178
+ green400: string;
179
+ green500: string;
180
+ green600: string;
181
+ green700: string;
182
+ green800: string;
183
+ green900: string;
184
+ primaryTextOnLightBg: string;
185
+ primaryBg: string;
186
+ primaryBgHover: string;
187
+ primaryTextOnWhite: string;
188
+ bodyGray: string;
189
+ hoverDarker: string;
190
+ borderDarker: string;
191
+ selectedDarker: string;
192
+ selectedOnBodyGray: string;
193
+ darkGrayBg: string;
194
+ border: string;
195
+ text: string;
196
+ secondaryText: string;
197
+ focusRing: string;
198
+ };
199
+ fontSizes: {
200
+ xs: string;
201
+ sm: string;
202
+ md: string;
203
+ lg: string;
204
+ xl: string;
205
+ "2xl": string;
206
+ "3xl": string;
207
+ };
208
+ fontWeights: {
209
+ normal: string;
210
+ medium: string;
211
+ bold: string;
212
+ };
213
+ space: {
214
+ 1: string;
215
+ 2: string;
216
+ 3: string;
217
+ 4: string;
218
+ 6: string;
219
+ 8: string;
220
+ };
221
+ shadows: {
222
+ xs: string;
223
+ sm: string;
224
+ md: string;
225
+ lg: string;
226
+ overlayCard: string;
227
+ };
228
+ radii: {
229
+ xs: string;
230
+ sm: string;
231
+ md: string;
232
+ mdmd: string;
233
+ full: string;
234
+ };
235
+ zIndices: {
236
+ toast: number;
237
+ overlayCard: number;
238
+ };
239
+ }, import("@stitches/react/types/config").DefaultThemeMap, {}> | undefined;
240
+ }) | undefined;
124
241
  }) => JSX.Element;
125
242
  export declare const DialogHeader: import("@stitches/react/types/styled-component").StyledComponent<"h2", {}, {
126
243
  lg: "(min-width: 1200px)";
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-48d88d36.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 j, L as N, 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, j as Y, T as F, k as Z, b as _, c as oo, l as ao, G as so, E as eo, A as ro, V as to, s as no } from "./Checkbox-48d88d36.js";
1
+ import { P as l, y as p, z as i, B as t, R as m } from "./Checkbox-0c1030b1.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 j, L as N, 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, j as Y, T as F, k as Z, b as _, c as oo, l as ao, G as so, E as eo, A as ro, V as to, s as no } from "./Checkbox-0c1030b1.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.27",
3
+ "version": "0.4.28",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {