@smudi/designsystem 2.0.1 → 2.1.0
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/@smudi/components/actionbar/actionbar.d.ts +71 -0
- package/@smudi/components/actionbar/actionbar.d.ts.map +1 -0
- package/@smudi/components/actionbar/actionbar.types.d.ts +11 -0
- package/@smudi/components/actionbar/actionbar.types.d.ts.map +1 -0
- package/@smudi/components/actionbar/use-actionbar-button-count-warning.d.ts +9 -0
- package/@smudi/components/actionbar/use-actionbar-button-count-warning.d.ts.map +1 -0
- package/@smudi/components/actionbar/use-actionbar-missing-focusable-content-warning.d.ts +12 -0
- package/@smudi/components/actionbar/use-actionbar-missing-focusable-content-warning.d.ts.map +1 -0
- package/@smudi/components/file-upload/file-upload.d.ts +3 -1
- package/@smudi/components/file-upload/file-upload.d.ts.map +1 -1
- package/@smudi/components/file-upload/file-upload.js +6 -4
- package/@smudi/components/header/header.d.ts +1 -1
- package/@smudi/components/header/header.d.ts.map +1 -1
- package/@smudi/components/layout-components/box-layouts/box-layout.d.ts +1 -1
- package/@smudi/components/layout-components/box-layouts/box-layout.d.ts.map +1 -1
- package/@smudi/components/layout-components/center-layouts/center-layout.d.ts +1 -1
- package/@smudi/components/layout-components/center-layouts/center-layout.d.ts.map +1 -1
- package/@smudi/components/layout-components/cluster-layouts/cluster-layout.d.ts +1 -1
- package/@smudi/components/layout-components/cluster-layouts/cluster-layout.d.ts.map +1 -1
- package/@smudi/components/layout-components/grid-layouts/grid-layout.d.ts +1 -1
- package/@smudi/components/layout-components/grid-layouts/grid-layout.d.ts.map +1 -1
- package/@smudi/components/layout-components/split-view/split-view-divider.d.ts +1 -1
- package/@smudi/components/layout-components/split-view/split-view-divider.d.ts.map +1 -1
- package/@smudi/components/layout-components/split-view/split-view-panel.d.ts +1 -1
- package/@smudi/components/layout-components/split-view/split-view-panel.d.ts.map +1 -1
- package/@smudi/components/layout-components/stack-layouts/stack-layout.d.ts +1 -1
- package/@smudi/components/layout-components/stack-layouts/stack-layout.d.ts.map +1 -1
- package/@smudi/components/layout-components/wrapper-layouts/wrapper-layout.d.ts +1 -1
- package/@smudi/components/select/select.d.ts +0 -7
- package/@smudi/components/select/select.d.ts.map +1 -1
- package/@smudi/components/select/select.js +28 -13
- package/@smudi/components/toast/toast.d.ts +1 -1
- package/@smudi/components/toast/toast.d.ts.map +1 -1
- package/@smudi/components/typography/heading/heading.d.ts +6 -3
- package/@smudi/components/typography/heading/heading.d.ts.map +1 -1
- package/@smudi/components/typography/heading/heading.js +10 -4
- package/@smudi/components/utils/is-dev-environment.d.ts +2 -0
- package/@smudi/components/utils/is-dev-environment.d.ts.map +1 -0
- package/@smudi/react.js +94 -93
- package/@smudi/smudi/react.d.ts +1 -1
- package/@smudi/smudi/react.d.ts.map +1 -1
- package/@smudi/styles.css +1 -1
- package/README.md +7 -6
- package/package.json +30 -21
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { ForwardRefExoticComponent, HTMLAttributes, MouseEvent, ReactNode, RefAttributes } from 'react';
|
|
2
|
+
import { ButtonProps } from '../button/button';
|
|
3
|
+
import { ActionbarColor, ActionbarId, ActionbarNonHoverBehavior, ActionbarSize, ActionbarVisibility } from './actionbar.types';
|
|
4
|
+
export type { ActionbarColor, ActionbarId, ActionbarNonHoverBehavior, ActionbarSize, ActionbarVisibility, } from './actionbar.types';
|
|
5
|
+
/** Payload emitted from `Actionbar.Button` click handlers. */
|
|
6
|
+
export interface ActionbarButtonClickEvent {
|
|
7
|
+
itemId: ActionbarId;
|
|
8
|
+
event: MouseEvent<HTMLButtonElement>;
|
|
9
|
+
}
|
|
10
|
+
export interface ActionbarHostProps extends HTMLAttributes<HTMLDivElement> {
|
|
11
|
+
/** Application-specific identifier for the element owning this actionbar. */
|
|
12
|
+
itemId: ActionbarId;
|
|
13
|
+
/** Visibility behavior for hover/focus-capable and touch/coarse-pointer devices. */
|
|
14
|
+
visibility?: ActionbarVisibility;
|
|
15
|
+
/** Visibility behavior on devices that do not support hover. */
|
|
16
|
+
nonHoverBehavior?: ActionbarNonHoverBehavior;
|
|
17
|
+
/** Controls visibility state from outside (controlled mode). */
|
|
18
|
+
open?: boolean;
|
|
19
|
+
/** Initial visibility in uncontrolled mode. */
|
|
20
|
+
defaultOpen?: boolean;
|
|
21
|
+
/** Called whenever visibility changes, both controlled and uncontrolled. */
|
|
22
|
+
onOpenChange?: (open: boolean) => void;
|
|
23
|
+
/** Host content and its attached actionbar. */
|
|
24
|
+
children: ReactNode;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Wraps an element and controls visibility/interaction state for its Actionbar.
|
|
28
|
+
*/
|
|
29
|
+
export declare const ActionbarHost: ForwardRefExoticComponent<ActionbarHostProps & RefAttributes<HTMLDivElement>>;
|
|
30
|
+
export interface ActionbarProps extends Omit<HTMLAttributes<HTMLDivElement>, "aria-label" | "data-color" | "data-size"> {
|
|
31
|
+
/** Accessible name for the toolbar. */
|
|
32
|
+
"aria-label": string;
|
|
33
|
+
/** Group-level color variant. */
|
|
34
|
+
"data-color"?: ActionbarColor;
|
|
35
|
+
/** Shared size for toolbar container and action buttons. */
|
|
36
|
+
"data-size"?: ActionbarSize;
|
|
37
|
+
}
|
|
38
|
+
type ForwardedActionbar = ForwardRefExoticComponent<ActionbarProps & RefAttributes<HTMLDivElement>>;
|
|
39
|
+
declare const ActionbarRoot: ForwardedActionbar;
|
|
40
|
+
export interface ActionbarButtonProps extends Omit<ButtonProps, "children" | "icon" | "onClick" | "data-color"> {
|
|
41
|
+
/** Click handler receiving both host id and native click event. */
|
|
42
|
+
onClick?: (event: ActionbarButtonClickEvent) => void;
|
|
43
|
+
/** Icon content for the icon-only action button. */
|
|
44
|
+
children: ReactNode;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Icon-only action button used inside `Actionbar`.
|
|
48
|
+
*/
|
|
49
|
+
export declare const ActionbarButton: ForwardRefExoticComponent<ActionbarButtonProps & RefAttributes<HTMLButtonElement>>;
|
|
50
|
+
type ActionbarComponent = typeof ActionbarRoot & {
|
|
51
|
+
Host: typeof ActionbarHost;
|
|
52
|
+
Button: typeof ActionbarButton;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Toolbar component for compact, contextual actions.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* ```tsx
|
|
59
|
+
* <Actionbar.Host itemId="entry-1" visibility="hover-focus">
|
|
60
|
+
* <Card>...</Card>
|
|
61
|
+
* <Actionbar aria-label="Handlinger" data-color="primary" data-size="md">
|
|
62
|
+
* <Actionbar.Button aria-label="Rediger">
|
|
63
|
+
* <PencilIcon aria-hidden />
|
|
64
|
+
* </Actionbar.Button>
|
|
65
|
+
* </Actionbar>
|
|
66
|
+
* </Actionbar.Host>
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
declare const Actionbar: ActionbarComponent;
|
|
70
|
+
export { Actionbar };
|
|
71
|
+
//# sourceMappingURL=actionbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionbar.d.ts","sourceRoot":"","sources":["../../../components/actionbar/actionbar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAUL,KAAK,yBAAyB,EAC9B,KAAK,cAAc,EACnB,KAAK,UAAU,EAEf,KAAK,SAAS,EACd,KAAK,aAAa,EACnB,MAAM,OAAO,CAAC;AACf,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAI5D,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,yBAAyB,EAC9B,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACzB,MAAM,mBAAmB,CAAC;AAI3B,YAAY,EACV,cAAc,EACd,WAAW,EACX,yBAAyB,EACzB,aAAa,EACb,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAE3B,8DAA8D;AAC9D,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,WAAW,CAAC;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B,CAAC;AAIH,KAAK,kBAAkB,GAAG,OAAO,aAAa,GAAG;IAC/C,IAAI,EAAE,OAAO,aAAa,CAAC;IAC3B,MAAM,EAAE,OAAO,eAAe,CAAC;CAChC,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,SAAS,EAGT,kBAAkB,CAAC;AAEzB,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** Identifier forwarded from host to button click handlers. */
|
|
2
|
+
export type ActionbarId = string | number;
|
|
3
|
+
/** Controls when the actionbar should be visible. */
|
|
4
|
+
export type ActionbarVisibility = "always" | "hover-focus";
|
|
5
|
+
/** Controls actionbar visibility on devices without hover support. */
|
|
6
|
+
export type ActionbarNonHoverBehavior = "show" | "hide";
|
|
7
|
+
/** Group-level color variant for all actions in the bar. */
|
|
8
|
+
export type ActionbarColor = "primary" | "neutral";
|
|
9
|
+
/** Size variant shared by actionbar and its buttons. */
|
|
10
|
+
export type ActionbarSize = "sm" | "md" | "lg";
|
|
11
|
+
//# sourceMappingURL=actionbar.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionbar.types.d.ts","sourceRoot":"","sources":["../../../components/actionbar/actionbar.types.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,CAAC;AAE1C,qDAAqD;AACrD,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,aAAa,CAAC;AAE3D,sEAAsE;AACtE,MAAM,MAAM,yBAAyB,GAAG,MAAM,GAAG,MAAM,CAAC;AAExD,4DAA4D;AAC5D,MAAM,MAAM,cAAc,GACtB,SAAS,GACT,SAAS,CAAC;AAEd,wDAAwD;AACxD,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactNode, RefObject } from 'react';
|
|
2
|
+
interface UseActionbarButtonCountWarningParams {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
rootRef: RefObject<HTMLDivElement | null>;
|
|
5
|
+
}
|
|
6
|
+
/** Warns in development when an Actionbar has an unusual number of buttons. */
|
|
7
|
+
export declare function useActionbarButtonCountWarning({ children, rootRef, }: UseActionbarButtonCountWarningParams): void;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=use-actionbar-button-count-warning.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-actionbar-button-count-warning.d.ts","sourceRoot":"","sources":["../../../components/actionbar/use-actionbar-button-count-warning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAM1E,UAAU,oCAAoC;IAC5C,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CAC3C;AAED,+EAA+E;AAC/E,wBAAgB,8BAA8B,CAAC,EAC7C,QAAQ,EACR,OAAO,GACR,EAAE,oCAAoC,QA6BtC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode, RefObject } from 'react';
|
|
2
|
+
import { ActionbarVisibility } from './actionbar.types';
|
|
3
|
+
interface UseActionbarMissingFocusableContentWarningParams {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
hostRef: RefObject<HTMLDivElement | null>;
|
|
6
|
+
supportsHoverReveal: boolean;
|
|
7
|
+
visibility: ActionbarVisibility;
|
|
8
|
+
}
|
|
9
|
+
/** Throws in development when hover-focus mode has no focusable host content. */
|
|
10
|
+
export declare function useActionbarMissingFocusableContentWarning({ children, hostRef, supportsHoverReveal, visibility, }: UseActionbarMissingFocusableContentWarningParams): void;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=use-actionbar-missing-focusable-content-warning.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-actionbar-missing-focusable-content-warning.d.ts","sourceRoot":"","sources":["../../../components/actionbar/use-actionbar-missing-focusable-content-warning.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAwC7D,UAAU,gDAAgD;IACxD,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC1C,mBAAmB,EAAE,OAAO,CAAC;IAC7B,UAAU,EAAE,mBAAmB,CAAC;CACjC;AAED,iFAAiF;AACjF,wBAAgB,0CAA0C,CAAC,EACzD,QAAQ,EACR,OAAO,EACP,mBAAmB,EACnB,UAAU,GACX,EAAE,gDAAgD,QAwBlD"}
|
|
@@ -2,5 +2,7 @@ import { EXPERIMENTAL_FileUpload as FileUploadRoot, FileUploadProps } from '@dig
|
|
|
2
2
|
type FileUpload = typeof FileUploadRoot;
|
|
3
3
|
declare const FileUploadComponent: FileUpload;
|
|
4
4
|
export type { FileUploadProps };
|
|
5
|
-
export { FileUploadComponent as
|
|
5
|
+
export { FileUploadComponent as FileUpload };
|
|
6
|
+
/** @deprecated Use FileUpload instead. */
|
|
7
|
+
export declare const EXPERIMENTAL_FileUpload: FileUpload;
|
|
6
8
|
//# sourceMappingURL=file-upload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-upload.d.ts","sourceRoot":"","sources":["../../../components/file-upload/file-upload.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,IAAI,cAAc,EACzC,KAAK,eAAe,EACrB,MAAM,8BAA8B,CAAC;AAEtC,KAAK,UAAU,GAAG,OAAO,cAAc,CAAC;AAExC,QAAA,MAAM,mBAAmB,EAAE,UAA2B,CAAC;AAIvD,YAAY,EAAE,eAAe,EAAE,CAAC;AAChC,OAAO,EAAE,mBAAmB,IAAI,uBAAuB,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"file-upload.d.ts","sourceRoot":"","sources":["../../../components/file-upload/file-upload.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,IAAI,cAAc,EACzC,KAAK,eAAe,EACrB,MAAM,8BAA8B,CAAC;AAEtC,KAAK,UAAU,GAAG,OAAO,cAAc,CAAC;AAExC,QAAA,MAAM,mBAAmB,EAAE,UAA2B,CAAC;AAIvD,YAAY,EAAE,eAAe,EAAE,CAAC;AAChC,OAAO,EAAE,mBAAmB,IAAI,UAAU,EAAE,CAAC;AAE7C,0CAA0C;AAC1C,eAAO,MAAM,uBAAuB,EAAE,UAAgC,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { EXPERIMENTAL_FileUpload as
|
|
3
|
-
const
|
|
4
|
-
|
|
2
|
+
import { EXPERIMENTAL_FileUpload as o } from "@digdir/designsystemet-react";
|
|
3
|
+
const l = o;
|
|
4
|
+
l.displayName = "FileUpload";
|
|
5
|
+
const a = l;
|
|
5
6
|
export {
|
|
6
|
-
|
|
7
|
+
a as EXPERIMENTAL_FileUpload,
|
|
8
|
+
l as FileUpload
|
|
7
9
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
export declare const UDILogo: () =>
|
|
2
|
+
export declare const UDILogo: () => React.JSX.Element;
|
|
3
3
|
export type HeaderProps = HTMLAttributes<HTMLElement> & {
|
|
4
4
|
/**
|
|
5
5
|
* Name of the team, shown on the left in the header instead of the UDI
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../components/header/header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMtE,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../components/header/header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMtE,eAAO,MAAM,OAAO,yBAOnB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,WAAW,CAAC,GAAG;IACtD;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;;OAKG;IACH,oBAAoB,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC7C;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kDAAkD;IAClD,QAAQ,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACrC;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC/B;;;OAGG;IACH,YAAY,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,MAAM;IAtDjB;;;;OAIG;eACQ,SAAS;IACpB;;;;;OAKG;2BACoB,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC;IAC5C;;;;;OAKG;eACQ,MAAM,GAAG,OAAO,GAAG,IAAI;IAClC;;;;OAIG;gBACS,MAAM;IAClB,kDAAkD;eACvC,aAAa,CAAC,UAAU,CAAC;IACpC;;;OAGG;cACO,SAAS,GAAG,QAAQ;IAC9B;;;OAGG;mBACY,SAAS,GAAG,SAAS;qCA6IpC,CAAC"}
|
|
@@ -33,5 +33,5 @@ export type BoxLayoutProps<TComponent extends OtherGenericComponent & ElementTyp
|
|
|
33
33
|
* </BoxLayout>
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
36
|
-
export declare const BoxLayout: <TDefaultElementType extends OtherGenericComponent & ElementType = "div">(boxLayoutProps: BoxLayoutProps<TDefaultElementType>) =>
|
|
36
|
+
export declare const BoxLayout: <TDefaultElementType extends OtherGenericComponent & ElementType = "div">(boxLayoutProps: BoxLayoutProps<TDefaultElementType>) => React.JSX.Element;
|
|
37
37
|
//# sourceMappingURL=box-layout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box-layout.d.ts","sourceRoot":"","sources":["../../../../components/layout-components/box-layouts/box-layout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAiB,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACnE,OAAO,KAAK,EACV,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,oCAAoC,CAAC;AAG5C,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC/D,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACvE,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;AAmC7D,MAAM,MAAM,cAAc,CACxB,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,IAC5D,yBAAyB,CAC3B,UAAU,EACV;IACE,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,iBAAiB,CAAC,EAAE,aAAa,CAAC;IAClC,eAAe,CAAC,EAAE,aAAa,CAAC;IAChC,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,gBAAgB,CAAC,EAAE,aAAa,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,qBAAqB,CAAC;IACrC,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,SAAS,CAAC;CACrB,CACF,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,SAAS,GACpB,mBAAmB,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,EAEvE,gBAAgB,cAAc,CAAC,mBAAmB,CAAC,
|
|
1
|
+
{"version":3,"file":"box-layout.d.ts","sourceRoot":"","sources":["../../../../components/layout-components/box-layouts/box-layout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAiB,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACnE,OAAO,KAAK,EACV,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,oCAAoC,CAAC;AAG5C,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC/D,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACvE,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;AAmC7D,MAAM,MAAM,cAAc,CACxB,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,IAC5D,yBAAyB,CAC3B,UAAU,EACV;IACE,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,iBAAiB,CAAC,EAAE,aAAa,CAAC;IAClC,eAAe,CAAC,EAAE,aAAa,CAAC;IAChC,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,gBAAgB,CAAC,EAAE,aAAa,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,qBAAqB,CAAC;IACrC,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,SAAS,CAAC;CACrB,CACF,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,SAAS,GACpB,mBAAmB,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,EAEvE,gBAAgB,cAAc,CAAC,mBAAmB,CAAC,sBAgEpD,CAAC"}
|
|
@@ -26,5 +26,5 @@ export type CenterLayoutProps<TComponent extends OtherGenericComponent & Element
|
|
|
26
26
|
* </WrapperLayout>
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
|
-
export declare const CenterLayout: <TComponent extends OtherGenericComponent & ElementType = "div">(centerLayoutProps: CenterLayoutProps<TComponent>) =>
|
|
29
|
+
export declare const CenterLayout: <TComponent extends OtherGenericComponent & ElementType = "div">(centerLayoutProps: CenterLayoutProps<TComponent>) => React.JSX.Element;
|
|
30
30
|
//# sourceMappingURL=center-layout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"center-layout.d.ts","sourceRoot":"","sources":["../../../../components/layout-components/center-layouts/center-layout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,KAAK,EACV,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,oCAAoC,CAAC;AAG5C,MAAM,MAAM,iBAAiB,CAC3B,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,IAC5D,yBAAyB,CAC3B,UAAU,EACV;IACE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACvC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,EAAE,SAAS,CAAC;CACrB,CACF,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,YAAY,GACvB,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,EAE9D,mBAAmB,iBAAiB,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"center-layout.d.ts","sourceRoot":"","sources":["../../../../components/layout-components/center-layouts/center-layout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,KAAK,EACV,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,oCAAoC,CAAC;AAG5C,MAAM,MAAM,iBAAiB,CAC3B,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,IAC5D,yBAAyB,CAC3B,UAAU,EACV;IACE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACvC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,EAAE,SAAS,CAAC;CACrB,CACF,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,YAAY,GACvB,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,EAE9D,mBAAmB,iBAAiB,CAAC,UAAU,CAAC,sBA8BjD,CAAC"}
|
|
@@ -29,5 +29,5 @@ export type ClusterLayoutProps<TComponent extends OtherGenericComponent & Elemen
|
|
|
29
29
|
* </ClusterLayout>
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
|
-
export declare const ClusterLayout: <TComponent extends OtherGenericComponent & ElementType = "div">(clusterLayoutProps: ClusterLayoutProps<TComponent>) =>
|
|
32
|
+
export declare const ClusterLayout: <TComponent extends OtherGenericComponent & ElementType = "div">(clusterLayoutProps: ClusterLayoutProps<TComponent>) => React.JSX.Element;
|
|
33
33
|
//# sourceMappingURL=cluster-layout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster-layout.d.ts","sourceRoot":"","sources":["../../../../components/layout-components/cluster-layouts/cluster-layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,yBAAyB,EAC1B,MAAM,oCAAoC,CAAC;AAE5C,OAAO,KAAK,EAAiB,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEnE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,CAAC;AAE7C,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpD,MAAM,MAAM,kBAAkB,CAC5B,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,IAC5D,yBAAyB,CAC3B,UAAU,EACV;IACE,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,SAAS,CAAC;CACrB,CACF,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,aAAa,GACxB,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,EAE9D,oBAAoB,kBAAkB,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"cluster-layout.d.ts","sourceRoot":"","sources":["../../../../components/layout-components/cluster-layouts/cluster-layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,yBAAyB,EAC1B,MAAM,oCAAoC,CAAC;AAE5C,OAAO,KAAK,EAAiB,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEnE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,CAAC;AAE7C,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpD,MAAM,MAAM,kBAAkB,CAC5B,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,IAC5D,yBAAyB,CAC3B,UAAU,EACV;IACE,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,SAAS,CAAC;CACrB,CACF,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,aAAa,GACxB,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,EAE9D,oBAAoB,kBAAkB,CAAC,UAAU,CAAC,sBAkCnD,CAAC"}
|
|
@@ -35,5 +35,5 @@ export type GridLayoutProps<TComponent extends OtherGenericComponent & ElementTy
|
|
|
35
35
|
* </GridLayout>
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
38
|
-
export declare const GridLayout: <TComponent extends OtherGenericComponent & ElementType = "div">(gridLayoutProps: GridLayoutProps<TComponent>) =>
|
|
38
|
+
export declare const GridLayout: <TComponent extends OtherGenericComponent & ElementType = "div">(gridLayoutProps: GridLayoutProps<TComponent>) => React.JSX.Element;
|
|
39
39
|
//# sourceMappingURL=grid-layout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-layout.d.ts","sourceRoot":"","sources":["../../../../components/layout-components/grid-layouts/grid-layout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAiB,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACnE,OAAO,KAAK,EACV,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,oCAAoC,CAAC;AAG5C,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACjE,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,MAAM,CAAC;AAiCjD,MAAM,MAAM,eAAe,CACzB,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,IAC5D,yBAAyB,CAC3B,UAAU,EACV;IACE;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB,CACF,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,UAAU,GACrB,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,EAE9D,iBAAiB,eAAe,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"grid-layout.d.ts","sourceRoot":"","sources":["../../../../components/layout-components/grid-layouts/grid-layout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAiB,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACnE,OAAO,KAAK,EACV,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,oCAAoC,CAAC;AAG5C,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACjE,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,MAAM,CAAC;AAiCjD,MAAM,MAAM,eAAe,CACzB,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,IAC5D,yBAAyB,CAC3B,UAAU,EACV;IACE;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB,CACF,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,UAAU,GACrB,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,EAE9D,iBAAiB,eAAe,CAAC,UAAU,CAAC,sBA8B7C,CAAC"}
|
|
@@ -3,6 +3,6 @@ type Props = ComponentProps<"button"> & {
|
|
|
3
3
|
handleKeyResize: (event: KeyboardEvent) => void;
|
|
4
4
|
handleDragResize: () => void;
|
|
5
5
|
};
|
|
6
|
-
export declare function SplitViewDivider({ className, handleKeyResize, handleDragResize, ...rest }: Props):
|
|
6
|
+
export declare function SplitViewDivider({ className, handleKeyResize, handleDragResize, ...rest }: Props): React.JSX.Element;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=split-view-divider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"split-view-divider.d.ts","sourceRoot":"","sources":["../../../../components/layout-components/split-view/split-view-divider.tsx"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAK3D,KAAK,KAAK,GAAG,cAAc,CAAC,QAAQ,CAAC,GAAG;IACtC,eAAe,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAChD,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,GAAG,IAAI,EACR,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"split-view-divider.d.ts","sourceRoot":"","sources":["../../../../components/layout-components/split-view/split-view-divider.tsx"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAK3D,KAAK,KAAK,GAAG,cAAc,CAAC,QAAQ,CAAC,GAAG;IACtC,eAAe,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAChD,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,GAAG,IAAI,EACR,EAAE,KAAK,qBAyBP"}
|
|
@@ -19,5 +19,5 @@ export type SplitViewPanelProps = PropsWithChildren & {
|
|
|
19
19
|
* rendered as-is; the width props are read by `SplitView` (via the
|
|
20
20
|
* `useResize` hook) to compute the panel's starting/min/max width.
|
|
21
21
|
*/
|
|
22
|
-
export declare function SplitViewPanel({ children }: SplitViewPanelProps):
|
|
22
|
+
export declare function SplitViewPanel({ children }: SplitViewPanelProps): React.JSX.Element;
|
|
23
23
|
//# sourceMappingURL=split-view-panel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"split-view-panel.d.ts","sourceRoot":"","sources":["../../../../components/layout-components/split-view/split-view-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,MAAM,MAAM,mBAAmB,GAAG,iBAAiB,GAAG;IACpD;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"split-view-panel.d.ts","sourceRoot":"","sources":["../../../../components/layout-components/split-view/split-view-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,MAAM,MAAM,mBAAmB,GAAG,iBAAiB,GAAG;IACpD;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,EAAE,mBAAmB,qBAE/D"}
|
|
@@ -26,6 +26,6 @@ export type StackLayoutProps<TComponent extends OtherGenericComponent & ElementT
|
|
|
26
26
|
* </StackLayout>
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
|
-
export declare const StackLayout: <TComponent extends OtherGenericComponent & ElementType = "div">(stackLayoutProps: StackLayoutProps<TComponent>) =>
|
|
29
|
+
export declare const StackLayout: <TComponent extends OtherGenericComponent & ElementType = "div">(stackLayoutProps: StackLayoutProps<TComponent>) => React.JSX.Element;
|
|
30
30
|
export {};
|
|
31
31
|
//# sourceMappingURL=stack-layout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack-layout.d.ts","sourceRoot":"","sources":["../../../../components/layout-components/stack-layouts/stack-layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,yBAAyB,EAC1B,MAAM,oCAAoC,CAAC;AAE5C,OAAO,KAAK,EAAiB,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGnE,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAClE,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC;AAuBtE,KAAK,mBAAmB,GAAG;IACzB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,gBAAgB,CAC1B,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,IAC5D,yBAAyB,CAAC,UAAU,EAAE,mBAAmB,CAAC,CAAC;AAE/D;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,WAAW,GACtB,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,EAE9D,kBAAkB,gBAAgB,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"stack-layout.d.ts","sourceRoot":"","sources":["../../../../components/layout-components/stack-layouts/stack-layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,yBAAyB,EAC1B,MAAM,oCAAoC,CAAC;AAE5C,OAAO,KAAK,EAAiB,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGnE,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAClE,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC;AAuBtE,KAAK,mBAAmB,GAAG;IACzB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,gBAAgB,CAC1B,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,IAC5D,yBAAyB,CAAC,UAAU,EAAE,mBAAmB,CAAC,CAAC;AAE/D;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,WAAW,GACtB,UAAU,SAAS,qBAAqB,GAAG,WAAW,GAAG,KAAK,EAE9D,kBAAkB,gBAAgB,CAAC,UAAU,CAAC,sBAkC/C,CAAC"}
|
|
@@ -27,7 +27,7 @@ export type WrapperLayoutProps<TComponent extends OtherGenericComponent & Elemen
|
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
29
|
declare const WrapperLayout: {
|
|
30
|
-
<TDefaultElementType extends OtherGenericComponent & ElementType = "div">(wrapperLayoutProps: WrapperLayoutProps<TDefaultElementType>):
|
|
30
|
+
<TDefaultElementType extends OtherGenericComponent & ElementType = "div">(wrapperLayoutProps: WrapperLayoutProps<TDefaultElementType>): React.JSX.Element;
|
|
31
31
|
displayName: string;
|
|
32
32
|
};
|
|
33
33
|
export default WrapperLayout;
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
import { Select as SelectRoot, SelectProps } from '@digdir/designsystemet-react';
|
|
2
|
-
declare module "react/jsx-runtime" {
|
|
3
|
-
namespace JSX {
|
|
4
|
-
interface IntrinsicElements {
|
|
5
|
-
selectedcontent: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
2
|
type Select = typeof SelectRoot;
|
|
10
3
|
declare const SelectComponent: Select;
|
|
11
4
|
export type { SelectProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../components/select/select.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,MAAM,IAAI,UAAU,EACpB,KAAK,WAAW,EACjB,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../components/select/select.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,MAAM,IAAI,UAAU,EACpB,KAAK,WAAW,EACjB,MAAM,8BAA8B,CAAC;AAEtC,KAAK,MAAM,GAAG,OAAO,UAAU,CAAC;AAqEhC,QAAA,MAAM,eAAe,EAAE,MAGA,CAAC;AAIxB,YAAY,EAAE,WAAW,EAAE,CAAC;AAC5B,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,CAAC"}
|
|
@@ -1,17 +1,32 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import { forwardRef as p } from "react";
|
|
4
|
-
import { Select as
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef as p, useRef as u, useEffect as i } from "react";
|
|
4
|
+
import { Select as c } from "@digdir/designsystemet-react";
|
|
5
|
+
const a = p(function({ children: o, ...l }, n) {
|
|
6
|
+
const r = u(null);
|
|
7
|
+
return i(() => {
|
|
8
|
+
const e = r.current;
|
|
9
|
+
if (!e || typeof CSS > "u" || !CSS.supports("appearance", "base-select") || e.querySelector("[data-smudi-select-trigger]"))
|
|
10
|
+
return;
|
|
11
|
+
const t = document.createElement("button");
|
|
12
|
+
t.type = "button", t.tabIndex = -1, t.dataset.smudiSelectTrigger = "", t.appendChild(document.createElement("selectedcontent")), e.insertBefore(t, e.firstChild);
|
|
13
|
+
}, []), /* @__PURE__ */ s("span", { className: "smudi-select-wrapper", children: /* @__PURE__ */ s(
|
|
14
|
+
c,
|
|
15
|
+
{
|
|
16
|
+
...l,
|
|
17
|
+
ref: (e) => {
|
|
18
|
+
if (r.current = e, typeof n == "function")
|
|
19
|
+
return n(e);
|
|
20
|
+
n && (n.current = e);
|
|
21
|
+
},
|
|
22
|
+
children: o
|
|
23
|
+
}
|
|
24
|
+
) });
|
|
25
|
+
}), m = Object.assign(a, {
|
|
26
|
+
Option: c.Option,
|
|
27
|
+
Optgroup: c.Optgroup
|
|
13
28
|
});
|
|
14
|
-
|
|
29
|
+
m.displayName = "Select";
|
|
15
30
|
export {
|
|
16
|
-
|
|
31
|
+
m as Select
|
|
17
32
|
};
|
|
@@ -79,6 +79,6 @@ type ToastProviderProps = {
|
|
|
79
79
|
* </ToastProvider>
|
|
80
80
|
* ```
|
|
81
81
|
*/
|
|
82
|
-
export declare function ToastProvider({ children }: ToastProviderProps):
|
|
82
|
+
export declare function ToastProvider({ children }: ToastProviderProps): React.JSX.Element;
|
|
83
83
|
export {};
|
|
84
84
|
//# sourceMappingURL=toast.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../components/toast/toast.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AAIf,KAAK,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;AACxE,KAAK,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpC,MAAM,MAAM,YAAY,GAAG;IACzB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC1B,mDAAmD;IACnD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,+DAA+D;IAC/D,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,iCAAiC;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,wBAAwB;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OAAO,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,WAAW,CAAC;IACrE,MAAM,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,WAAW,CAAC;IACpE,IAAI,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,WAAW,CAAC;IAClE,OAAO,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,WAAW,CAAC;IACrE,OAAO,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,WAAW,CAAC;IACrE,OAAO,EAAE,CAAC,CAAC,EACT,MAAM,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EACxB,OAAO,EAAE,mBAAmB,KACzB,OAAO,CAAC,CAAC,CAAC,CAAC;CACjB,CAAC;AA2IF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,KAAK,eAOjB,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,yFAAyF;IACzF,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAkIF;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE,kBAAkB,qBAqN7D"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { HeadingProps } from '@digdir/designsystemet-react';
|
|
2
|
+
declare const HeadingComponent: React.ForwardRefExoticComponent<{
|
|
3
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
4
|
+
'data-size'?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
5
|
+
asChild?: boolean;
|
|
6
|
+
} & React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
4
7
|
export type { HeadingProps };
|
|
5
8
|
export { HeadingComponent as Heading };
|
|
6
9
|
//# sourceMappingURL=heading.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../../components/typography/heading/heading.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../../components/typography/heading/heading.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,YAAY,EAClB,MAAM,8BAA8B,CAAC;AAEtC,QAAA,MAAM,gBAAgB;;;;uFAIrB,CAAC;AAIF,YAAY,EAAE,YAAY,EAAE,CAAC;AAC7B,OAAO,EAAE,gBAAgB,IAAI,OAAO,EAAE,CAAC"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef as i } from "react";
|
|
4
|
+
import { Heading as t } from "@digdir/designsystemet-react";
|
|
5
|
+
const r = i(
|
|
6
|
+
function({ "data-size": e = "sm", ...n }, o) {
|
|
7
|
+
return /* @__PURE__ */ a(t, { ...n, "data-size": e, ref: o });
|
|
8
|
+
}
|
|
9
|
+
);
|
|
10
|
+
r.displayName = "Heading";
|
|
5
11
|
export {
|
|
6
|
-
|
|
12
|
+
r as Heading
|
|
7
13
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-dev-environment.d.ts","sourceRoot":"","sources":["../../../components/utils/is-dev-environment.ts"],"names":[],"mappings":"AAAA,wBAAgB,gBAAgB,YAa/B"}
|