@equinor/fusion-components-react 0.0.0-trusted-publishing.0 → 0.1.0-preview.1
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/LICENSE +21 -0
- package/dist/a2ui/index.d.ts +2 -0
- package/dist/a2ui/index.d.ts.map +1 -0
- package/dist/a2ui/index.js +2 -0
- package/dist/a2ui/index.js.map +1 -0
- package/dist/a2ui/surface.d.ts +10 -0
- package/dist/a2ui/surface.d.ts.map +1 -0
- package/dist/a2ui/surface.js +15 -0
- package/dist/a2ui/surface.js.map +1 -0
- package/dist/avatar/index.d.ts +9 -0
- package/dist/avatar/index.d.ts.map +1 -0
- package/dist/avatar/index.js +12 -0
- package/dist/avatar/index.js.map +1 -0
- package/dist/badge/index.d.ts +4 -0
- package/dist/badge/index.d.ts.map +1 -0
- package/dist/badge/index.js +9 -0
- package/dist/badge/index.js.map +1 -0
- package/dist/banner/index.d.ts +20 -0
- package/dist/banner/index.d.ts.map +1 -0
- package/dist/banner/index.js +30 -0
- package/dist/banner/index.js.map +1 -0
- package/dist/button/index.d.ts +8 -0
- package/dist/button/index.d.ts.map +1 -0
- package/dist/button/index.js +17 -0
- package/dist/button/index.js.map +1 -0
- package/dist/card/index.d.ts +19 -0
- package/dist/card/index.d.ts.map +1 -0
- package/dist/card/index.js +42 -0
- package/dist/card/index.js.map +1 -0
- package/dist/checkbox/index.d.ts +7 -0
- package/dist/checkbox/index.d.ts.map +1 -0
- package/dist/checkbox/index.js +12 -0
- package/dist/checkbox/index.js.map +1 -0
- package/dist/chip/index.d.ts +8 -0
- package/dist/chip/index.d.ts.map +1 -0
- package/dist/chip/index.js +13 -0
- package/dist/chip/index.js.map +1 -0
- package/dist/date/index.d.ts +5 -0
- package/dist/date/index.d.ts.map +1 -0
- package/dist/date/index.js +14 -0
- package/dist/date/index.js.map +1 -0
- package/dist/dialog/index.d.ts +36 -0
- package/dist/dialog/index.d.ts.map +1 -0
- package/dist/dialog/index.js +55 -0
- package/dist/dialog/index.js.map +1 -0
- package/dist/divider/index.d.ts +4 -0
- package/dist/divider/index.d.ts.map +1 -0
- package/dist/divider/index.js +9 -0
- package/dist/divider/index.js.map +1 -0
- package/dist/formfield/index.d.ts +3 -0
- package/dist/formfield/index.d.ts.map +1 -0
- package/dist/formfield/index.js +9 -0
- package/dist/formfield/index.js.map +1 -0
- package/dist/icon/index.d.ts +4 -0
- package/dist/icon/index.d.ts.map +1 -0
- package/dist/icon/index.js +10 -0
- package/dist/icon/index.js.map +1 -0
- package/dist/icon-button/index.d.ts +12 -0
- package/dist/icon-button/index.d.ts.map +1 -0
- package/dist/icon-button/index.js +20 -0
- package/dist/icon-button/index.js.map +1 -0
- package/dist/index.d.ts +35 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +35 -0
- package/dist/index.js.map +1 -0
- package/dist/intersection/index.d.ts +7 -0
- package/dist/intersection/index.d.ts.map +1 -0
- package/dist/intersection/index.js +12 -0
- package/dist/intersection/index.js.map +1 -0
- package/dist/layout/index.d.ts +3 -0
- package/dist/layout/index.d.ts.map +1 -0
- package/dist/layout/index.js +9 -0
- package/dist/layout/index.js.map +1 -0
- package/dist/list/index.d.ts +15 -0
- package/dist/list/index.d.ts.map +1 -0
- package/dist/list/index.js +28 -0
- package/dist/list/index.js.map +1 -0
- package/dist/menu/index.d.ts +10 -0
- package/dist/menu/index.d.ts.map +1 -0
- package/dist/menu/index.js +14 -0
- package/dist/menu/index.js.map +1 -0
- package/dist/page/index.d.ts +4 -0
- package/dist/page/index.d.ts.map +1 -0
- package/dist/page/index.js +14 -0
- package/dist/page/index.js.map +1 -0
- package/dist/people/index.d.ts +14 -0
- package/dist/people/index.d.ts.map +1 -0
- package/dist/people/index.js +24 -0
- package/dist/people/index.js.map +1 -0
- package/dist/person/index.d.ts +12 -0
- package/dist/person/index.d.ts.map +1 -0
- package/dist/person/index.js +37 -0
- package/dist/person/index.js.map +1 -0
- package/dist/picture/index.d.ts +3 -0
- package/dist/picture/index.d.ts.map +1 -0
- package/dist/picture/index.js +9 -0
- package/dist/picture/index.js.map +1 -0
- package/dist/popover/index.d.ts +8 -0
- package/dist/popover/index.d.ts.map +1 -0
- package/dist/popover/index.js +13 -0
- package/dist/popover/index.js.map +1 -0
- package/dist/progress-indicator/index.d.ts +6 -0
- package/dist/progress-indicator/index.d.ts.map +1 -0
- package/dist/progress-indicator/index.js +19 -0
- package/dist/progress-indicator/index.js.map +1 -0
- package/dist/radio/index.d.ts +7 -0
- package/dist/radio/index.d.ts.map +1 -0
- package/dist/radio/index.js +12 -0
- package/dist/radio/index.js.map +1 -0
- package/dist/ripple/index.d.ts +3 -0
- package/dist/ripple/index.d.ts.map +1 -0
- package/dist/ripple/index.js +9 -0
- package/dist/ripple/index.js.map +1 -0
- package/dist/searchable-dropdown/index.d.ts +8 -0
- package/dist/searchable-dropdown/index.d.ts.map +1 -0
- package/dist/searchable-dropdown/index.js +17 -0
- package/dist/searchable-dropdown/index.js.map +1 -0
- package/dist/select/index.d.ts +13 -0
- package/dist/select/index.d.ts.map +1 -0
- package/dist/select/index.js +13 -0
- package/dist/select/index.js.map +1 -0
- package/dist/side-sheet/index.d.ts +46 -0
- package/dist/side-sheet/index.d.ts.map +1 -0
- package/dist/side-sheet/index.js +77 -0
- package/dist/side-sheet/index.js.map +1 -0
- package/dist/skeleton/index.d.ts +4 -0
- package/dist/skeleton/index.d.ts.map +1 -0
- package/dist/skeleton/index.js +9 -0
- package/dist/skeleton/index.js.map +1 -0
- package/dist/switch/index.d.ts +7 -0
- package/dist/switch/index.d.ts.map +1 -0
- package/dist/switch/index.js +12 -0
- package/dist/switch/index.js.map +1 -0
- package/dist/textarea/index.d.ts +8 -0
- package/dist/textarea/index.d.ts.map +1 -0
- package/dist/textarea/index.js +13 -0
- package/dist/textarea/index.js.map +1 -0
- package/dist/textinput/index.d.ts +8 -0
- package/dist/textinput/index.d.ts.map +1 -0
- package/dist/textinput/index.js +13 -0
- package/dist/textinput/index.js.map +1 -0
- package/dist/theme/index.d.ts +4 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/index.js +9 -0
- package/dist/theme/index.js.map +1 -0
- package/dist/typography/index.d.ts +4 -0
- package/dist/typography/index.d.ts.map +1 -0
- package/dist/typography/index.js +9 -0
- package/dist/typography/index.js.map +1 -0
- package/package.json +182 -4
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FusionSelect } from '@equinor/fusion-components-web/select';
|
|
2
|
+
import { type EventName } from '@lit/react';
|
|
3
|
+
export declare const Select: import("@lit/react").ReactWebComponent<FusionSelect, {
|
|
4
|
+
onSelected: EventName<CustomEvent<{
|
|
5
|
+
value: string;
|
|
6
|
+
index: number;
|
|
7
|
+
}>>;
|
|
8
|
+
onChange: EventName<CustomEvent<{
|
|
9
|
+
value: string;
|
|
10
|
+
index: number;
|
|
11
|
+
}>>;
|
|
12
|
+
}>;
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAG7D,eAAO,MAAM,MAAM;gBAKW,SAAS,CAAC,WAAW,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;cAC5D,SAAS,CAAC,WAAW,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;EAEhF,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FUSION_SELECT_TAG, FusionSelect } from '@equinor/fusion-components-web/select';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export const Select = /* @__PURE__ */ createComponent({
|
|
5
|
+
tagName: FUSION_SELECT_TAG,
|
|
6
|
+
elementClass: FusionSelect,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onSelected: 'selected',
|
|
10
|
+
onChange: 'change',
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EAAE,eAAe,EAAkB,MAAM,YAAY,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,CAAC,MAAM,MAAM,GAAG,eAAe,CAAC,eAAe,CAAC;IACpD,OAAO,EAAE,iBAAiB;IAC1B,YAAY,EAAE,YAAY;IAC1B,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE;QACN,UAAU,EAAE,UAAsE;QAClF,QAAQ,EAAE,QAAoE;KAC/E;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { FusionSideSheet, type FusionSideSheetCloseDetail, type FusionSideSheetCloseReason, type FusionSideSheetResizeDetail } from '@equinor/fusion-components-web/side-sheet';
|
|
2
|
+
import { type EventName } from '@lit/react';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
declare const BaseSideSheet: import("@lit/react").ReactWebComponent<FusionSideSheet, {
|
|
5
|
+
onClose: EventName<CustomEvent<FusionSideSheetCloseDetail>>;
|
|
6
|
+
onFusionClose: EventName<CustomEvent<FusionSideSheetCloseDetail>>;
|
|
7
|
+
onResize: EventName<CustomEvent<FusionSideSheetResizeDetail>>;
|
|
8
|
+
onFusionResize: EventName<CustomEvent<FusionSideSheetResizeDetail>>;
|
|
9
|
+
}>;
|
|
10
|
+
export type SideSheetProps = Omit<React.ComponentProps<typeof BaseSideSheet>, 'animated'> & {
|
|
11
|
+
/** Enables slide-in and scrim fade animations (maps to `animated` on `<fwc-side-sheet>`). */
|
|
12
|
+
animate?: boolean;
|
|
13
|
+
/** Alias for `animate`. */
|
|
14
|
+
animated?: boolean;
|
|
15
|
+
};
|
|
16
|
+
export interface SideSheetTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
|
|
17
|
+
/** Title string (matching `@equinor/fusion-react-side-sheet` `SideSheet.Title`). */
|
|
18
|
+
title?: string;
|
|
19
|
+
}
|
|
20
|
+
/** Header title slotted into `slot="title"`. */
|
|
21
|
+
export declare function SideSheetTitle({ title, children, style, ...rest }: SideSheetTitleProps): React.ReactElement;
|
|
22
|
+
export interface SideSheetSubTitleProps extends React.HTMLAttributes<HTMLParagraphElement> {
|
|
23
|
+
/** Subtitle string (matching `@equinor/fusion-react-side-sheet` `SideSheet.SubTitle`). */
|
|
24
|
+
subTitle?: string;
|
|
25
|
+
}
|
|
26
|
+
/** Header subtitle slotted into `slot="subtitle"`. */
|
|
27
|
+
export declare function SideSheetSubTitle({ subTitle, children, style, ...rest }: SideSheetSubTitleProps): React.ReactElement;
|
|
28
|
+
/** Header action controls slotted into `slot="actions"`. */
|
|
29
|
+
export declare function SideSheetActions({ children, style, ...rest }: React.HTMLAttributes<HTMLDivElement>): React.ReactElement;
|
|
30
|
+
/** Scrollable content wrapper rendered in the default slot. */
|
|
31
|
+
export declare function SideSheetContent({ children, ...rest }: React.HTMLAttributes<HTMLDivElement>): React.ReactElement;
|
|
32
|
+
export interface SideSheetIndicatorProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
33
|
+
/** Accent bar color (e.g. hex or EDS token). */
|
|
34
|
+
color?: string;
|
|
35
|
+
}
|
|
36
|
+
/** Colored vertical accent bar slotted into `slot="indicator"`. */
|
|
37
|
+
export declare function SideSheetIndicator({ color, style, ...rest }: SideSheetIndicatorProps): React.ReactElement;
|
|
38
|
+
export declare const SideSheet: React.ForwardRefExoticComponent<Omit<SideSheetProps, "ref"> & React.RefAttributes<FusionSideSheet>> & {
|
|
39
|
+
Title: typeof SideSheetTitle;
|
|
40
|
+
SubTitle: typeof SideSheetSubTitle;
|
|
41
|
+
Actions: typeof SideSheetActions;
|
|
42
|
+
Content: typeof SideSheetContent;
|
|
43
|
+
Indicator: typeof SideSheetIndicator;
|
|
44
|
+
};
|
|
45
|
+
export type { FusionSideSheetCloseDetail, FusionSideSheetCloseReason, FusionSideSheetResizeDetail };
|
|
46
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/side-sheet/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,EACf,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EACjC,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,QAAA,MAAM,aAAa;aAMK,SAAS,CAAC,WAAW,CAAC,0BAA0B,CAAC,CAAC;mBAErC,SAAS,CAAC,WAAW,CAAC,0BAA0B,CAAC,CAAC;cAE7D,SAAS,CAAC,WAAW,CAAC,2BAA2B,CAAC,CAAC;oBAEtC,SAAS,CAAC,WAAW,CAAC,2BAA2B,CAAC,CAAC;EAExF,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,EAAE,UAAU,CAAC,GAAG;IAC1F,6FAA6F;IAC7F,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AASF,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC;IACnF,oFAAoF;IACpF,KAAK,CAAC,EAAE,MAAM,CA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, } from '@equinor/fusion-components-web/side-sheet';
|
|
3
|
+
import { createComponent } from '@lit/react';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
const BaseSideSheet = /* @__PURE__ */ createComponent({
|
|
6
|
+
tagName: FUSION_SIDE_SHEET_TAG,
|
|
7
|
+
elementClass: FusionSideSheet,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
// EventName casts are required by @lit/react to type custom element event handlers.
|
|
11
|
+
onClose: 'close',
|
|
12
|
+
// EventName casts are required by @lit/react to type custom element event handlers.
|
|
13
|
+
onFusionClose: 'fusion-close',
|
|
14
|
+
// EventName casts are required by @lit/react to type custom element event handlers.
|
|
15
|
+
onResize: 'resize',
|
|
16
|
+
// EventName casts are required by @lit/react to type custom element event handlers.
|
|
17
|
+
onFusionResize: 'fusion-resize',
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
const SideSheetRoot = /* @__PURE__ */ React.forwardRef(function SideSheet({ animate, animated, ...rest }, ref) {
|
|
21
|
+
const shouldAnimate = animate ?? animated;
|
|
22
|
+
return _jsx(BaseSideSheet, { ref: ref, ...rest, animated: shouldAnimate });
|
|
23
|
+
});
|
|
24
|
+
/** Header title slotted into `slot="title"`. */
|
|
25
|
+
export function SideSheetTitle({ title, children, style, ...rest }) {
|
|
26
|
+
return (_jsx("h2", { slot: "title", style: {
|
|
27
|
+
margin: 0,
|
|
28
|
+
fontSize: '1.25rem',
|
|
29
|
+
fontWeight: 500,
|
|
30
|
+
lineHeight: 1.3,
|
|
31
|
+
...style,
|
|
32
|
+
}, ...rest, children: title ?? children }));
|
|
33
|
+
}
|
|
34
|
+
/** Header subtitle slotted into `slot="subtitle"`. */
|
|
35
|
+
export function SideSheetSubTitle({ subTitle, children, style, ...rest }) {
|
|
36
|
+
return (_jsx("p", { slot: "subtitle", style: {
|
|
37
|
+
margin: 0,
|
|
38
|
+
fontSize: '0.75rem',
|
|
39
|
+
lineHeight: 1.4,
|
|
40
|
+
color: 'var(--eds-color-text-neutral-subtle, #565656)',
|
|
41
|
+
...style,
|
|
42
|
+
}, ...rest, children: subTitle ?? children }));
|
|
43
|
+
}
|
|
44
|
+
/** Header action controls slotted into `slot="actions"`. */
|
|
45
|
+
export function SideSheetActions({ children, style, ...rest }) {
|
|
46
|
+
return (_jsx("div", { slot: "actions", style: {
|
|
47
|
+
display: 'inline-flex',
|
|
48
|
+
alignItems: 'center',
|
|
49
|
+
gap: 'var(--eds-spacing-horizontal-3xs, 4px)',
|
|
50
|
+
...style,
|
|
51
|
+
}, ...rest, children: children }));
|
|
52
|
+
}
|
|
53
|
+
/** Scrollable content wrapper rendered in the default slot. */
|
|
54
|
+
export function SideSheetContent({ children, ...rest }) {
|
|
55
|
+
return _jsx("div", { ...rest, children: children });
|
|
56
|
+
}
|
|
57
|
+
/** Colored vertical accent bar slotted into `slot="indicator"`. */
|
|
58
|
+
export function SideSheetIndicator({ color, style, ...rest }) {
|
|
59
|
+
return (_jsx("span", { slot: "indicator", style: {
|
|
60
|
+
display: 'block',
|
|
61
|
+
width: '8px',
|
|
62
|
+
height: '3rem',
|
|
63
|
+
marginInlineEnd: 'var(--eds-spacing-horizontal-md, 1rem)',
|
|
64
|
+
borderRadius: '2px',
|
|
65
|
+
backgroundColor: color ?? 'var(--eds-color-bg-accent-fill-emphasis-default, #007079)',
|
|
66
|
+
flexShrink: 0,
|
|
67
|
+
...style,
|
|
68
|
+
}, ...rest }));
|
|
69
|
+
}
|
|
70
|
+
export const SideSheet = /* @__PURE__ */ Object.assign(SideSheetRoot, {
|
|
71
|
+
Title: SideSheetTitle,
|
|
72
|
+
SubTitle: SideSheetSubTitle,
|
|
73
|
+
Actions: SideSheetActions,
|
|
74
|
+
Content: SideSheetContent,
|
|
75
|
+
Indicator: SideSheetIndicator,
|
|
76
|
+
});
|
|
77
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/side-sheet/index.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EAAE,iBAAiB;IAC3B,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,gBAAgB;IACzB,SAAS,EAAE,kBAAkB;CAC9B,CAAC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { FusionSkeleton, type FusionSkeletonSize, type FusionSkeletonVariant } from '@equinor/fusion-components-web/skeleton';
|
|
2
|
+
export declare const Skeleton: import("@lit/react").ReactWebComponent<FusionSkeleton, {}>;
|
|
3
|
+
export type { FusionSkeletonSize, FusionSkeletonVariant };
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/skeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,cAAc,EACd,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC3B,MAAM,yCAAyC,CAAC;AAIjD,eAAO,MAAM,QAAQ,4DAInB,CAAC;AAEH,YAAY,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FUSION_SKELETON_TAG, FusionSkeleton, } from '@equinor/fusion-components-web/skeleton';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export const Skeleton = /* @__PURE__ */ createComponent({
|
|
5
|
+
tagName: FUSION_SKELETON_TAG,
|
|
6
|
+
elementClass: FusionSkeleton,
|
|
7
|
+
react: React,
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/skeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,cAAc,GAGf,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAC,eAAe,CAAC;IACtD,OAAO,EAAE,mBAAmB;IAC5B,YAAY,EAAE,cAAc;IAC5B,KAAK,EAAE,KAAK;CACb,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FusionSwitch, type FusionSwitchChangeDetail } from '@equinor/fusion-components-web/switch';
|
|
2
|
+
import { type EventName } from '@lit/react';
|
|
3
|
+
export declare const Switch: import("@lit/react").ReactWebComponent<FusionSwitch, {
|
|
4
|
+
onFusionChange: EventName<CustomEvent<FusionSwitchChangeDetail>>;
|
|
5
|
+
}>;
|
|
6
|
+
export type { FusionSwitchChangeDetail };
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EACZ,KAAK,wBAAwB,EAC9B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAG7D,eAAO,MAAM,MAAM;oBAKoB,SAAS,CAAC,WAAW,CAAC,wBAAwB,CAAC,CAAC;EAErF,CAAC;AAEH,YAAY,EAAE,wBAAwB,EAAE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FUSION_SWITCH_TAG, FusionSwitch, } from '@equinor/fusion-components-web/switch';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export const Switch = /* @__PURE__ */ createComponent({
|
|
5
|
+
tagName: FUSION_SWITCH_TAG,
|
|
6
|
+
elementClass: FusionSwitch,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onFusionChange: 'fusion-change',
|
|
10
|
+
},
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,YAAY,GAEb,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAkB,MAAM,YAAY,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,CAAC,MAAM,MAAM,GAAG,eAAe,CAAC,eAAe,CAAC;IACpD,OAAO,EAAE,iBAAiB;IAC1B,YAAY,EAAE,YAAY;IAC1B,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE;QACN,cAAc,EAAE,eAAmE;KACpF;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FusionTextArea, type FusionTextAreaDetail, type FusionTextAreaResize, type FusionTextAreaVariant } from '@equinor/fusion-components-web/textarea';
|
|
2
|
+
import { type EventName } from '@lit/react';
|
|
3
|
+
export declare const TextArea: import("@lit/react").ReactWebComponent<FusionTextArea, {
|
|
4
|
+
onFusionInput: EventName<CustomEvent<FusionTextAreaDetail>>;
|
|
5
|
+
onFusionChange: EventName<CustomEvent<FusionTextAreaDetail>>;
|
|
6
|
+
}>;
|
|
7
|
+
export type { FusionTextAreaDetail, FusionTextAreaResize, FusionTextAreaVariant };
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/textarea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,cAAc,EACd,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC3B,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAG7D,eAAO,MAAM,QAAQ;mBAKgB,SAAS,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;oBAC1C,SAAS,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;EAEjF,CAAC;AAEH,YAAY,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FUSION_TEXTAREA_TAG, FusionTextArea, } from '@equinor/fusion-components-web/textarea';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export const TextArea = /* @__PURE__ */ createComponent({
|
|
5
|
+
tagName: FUSION_TEXTAREA_TAG,
|
|
6
|
+
elementClass: FusionTextArea,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onFusionInput: 'fusion-input',
|
|
10
|
+
onFusionChange: 'fusion-change',
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/textarea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,cAAc,GAIf,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,eAAe,EAAkB,MAAM,YAAY,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAC,eAAe,CAAC;IACtD,OAAO,EAAE,mBAAmB;IAC5B,YAAY,EAAE,cAAc;IAC5B,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE;QACN,aAAa,EAAE,cAA8D;QAC7E,cAAc,EAAE,eAA+D;KAChF;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FusionTextInput, type FusionTextInputDetail, type FusionTextInputType, type FusionTextInputVariant } from '@equinor/fusion-components-web/textinput';
|
|
2
|
+
import { type EventName } from '@lit/react';
|
|
3
|
+
export declare const TextInput: import("@lit/react").ReactWebComponent<FusionTextInput, {
|
|
4
|
+
onFusionInput: EventName<CustomEvent<FusionTextInputDetail>>;
|
|
5
|
+
onFusionChange: EventName<CustomEvent<FusionTextInputDetail>>;
|
|
6
|
+
}>;
|
|
7
|
+
export type { FusionTextInputDetail, FusionTextInputType, FusionTextInputVariant };
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/textinput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,EACf,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC5B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAG7D,eAAO,MAAM,SAAS;mBAKe,SAAS,CAAC,WAAW,CAAC,qBAAqB,CAAC,CAAC;oBAC3C,SAAS,CAAC,WAAW,CAAC,qBAAqB,CAAC,CAAC;EAElF,CAAC;AAEH,YAAY,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FUSION_TEXTINPUT_TAG, FusionTextInput, } from '@equinor/fusion-components-web/textinput';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export const TextInput = /* @__PURE__ */ createComponent({
|
|
5
|
+
tagName: FUSION_TEXTINPUT_TAG,
|
|
6
|
+
elementClass: FusionTextInput,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onFusionInput: 'fusion-input',
|
|
10
|
+
onFusionChange: 'fusion-change',
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/textinput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,eAAe,GAIhB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,eAAe,EAAkB,MAAM,YAAY,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,CAAC,MAAM,SAAS,GAAG,eAAe,CAAC,eAAe,CAAC;IACvD,OAAO,EAAE,oBAAoB;IAC7B,YAAY,EAAE,eAAe;IAC7B,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE;QACN,aAAa,EAAE,cAA+D;QAC9E,cAAc,EAAE,eAAgE;KACjF;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type FusionColorScheme, FusionTheme, type FusionThemeDensity } from '@equinor/fusion-components-web/theme';
|
|
2
|
+
export declare const Theme: import("@lit/react").ReactWebComponent<FusionTheme, {}>;
|
|
3
|
+
export type { FusionColorScheme, FusionThemeDensity };
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,iBAAiB,EACtB,WAAW,EACX,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAI9C,eAAO,MAAM,KAAK,yDAIhB,CAAC;AAEH,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FUSION_THEME_TAG, FusionTheme, } from '@equinor/fusion-components-web/theme';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export const Theme = /* @__PURE__ */ createComponent({
|
|
5
|
+
tagName: FUSION_THEME_TAG,
|
|
6
|
+
elementClass: FusionTheme,
|
|
7
|
+
react: React,
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAEhB,WAAW,GAEZ,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,CAAC,MAAM,KAAK,GAAG,eAAe,CAAC,eAAe,CAAC;IACnD,OAAO,EAAE,gBAAgB;IACzB,YAAY,EAAE,WAAW;IACzB,KAAK,EAAE,KAAK;CACb,CAAC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { FusionTypography, type FusionTypographyAs, type FusionTypographyColor, type FusionTypographyTone, type FusionTypographyVariant } from '@equinor/fusion-components-web/typography';
|
|
2
|
+
export declare const Typography: import("@lit/react").ReactWebComponent<FusionTypography, {}>;
|
|
3
|
+
export type { FusionTypographyAs, FusionTypographyColor, FusionTypographyTone, FusionTypographyVariant, };
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,gBAAgB,EAChB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC7B,MAAM,2CAA2C,CAAC;AAInD,eAAO,MAAM,UAAU,8DAIrB,CAAC;AAEH,YAAY,EACV,kBAAkB,EAClB,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,GACxB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FUSION_TYPOGRAPHY_TAG, FusionTypography, } from '@equinor/fusion-components-web/typography';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export const Typography = /* @__PURE__ */ createComponent({
|
|
5
|
+
tagName: FUSION_TYPOGRAPHY_TAG,
|
|
6
|
+
elementClass: FusionTypography,
|
|
7
|
+
react: React,
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,gBAAgB,GAKjB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,CAAC,MAAM,UAAU,GAAG,eAAe,CAAC,eAAe,CAAC;IACxD,OAAO,EAAE,qBAAqB;IAC9B,YAAY,EAAE,gBAAgB;IAC9B,KAAK,EAAE,KAAK;CACb,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,189 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/fusion-components-react",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.0-preview.1",
|
|
4
|
+
"description": "React wrappers for Fusion Web Components and A2UI surfaces built with @lit/react and EDS",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"repository": {
|
|
7
8
|
"type": "git",
|
|
8
|
-
"url": "
|
|
9
|
+
"url": "https://github.com/equinor/fusion-components.git",
|
|
9
10
|
"directory": "packages/react"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
15
|
+
"sideEffects": false,
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./avatar": {
|
|
22
|
+
"types": "./dist/avatar/index.d.ts",
|
|
23
|
+
"import": "./dist/avatar/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./badge": {
|
|
26
|
+
"types": "./dist/badge/index.d.ts",
|
|
27
|
+
"import": "./dist/badge/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./banner": {
|
|
30
|
+
"types": "./dist/banner/index.d.ts",
|
|
31
|
+
"import": "./dist/banner/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./button": {
|
|
34
|
+
"types": "./dist/button/index.d.ts",
|
|
35
|
+
"import": "./dist/button/index.js"
|
|
36
|
+
},
|
|
37
|
+
"./card": {
|
|
38
|
+
"types": "./dist/card/index.d.ts",
|
|
39
|
+
"import": "./dist/card/index.js"
|
|
40
|
+
},
|
|
41
|
+
"./checkbox": {
|
|
42
|
+
"types": "./dist/checkbox/index.d.ts",
|
|
43
|
+
"import": "./dist/checkbox/index.js"
|
|
44
|
+
},
|
|
45
|
+
"./chip": {
|
|
46
|
+
"types": "./dist/chip/index.d.ts",
|
|
47
|
+
"import": "./dist/chip/index.js"
|
|
48
|
+
},
|
|
49
|
+
"./date": {
|
|
50
|
+
"types": "./dist/date/index.d.ts",
|
|
51
|
+
"import": "./dist/date/index.js"
|
|
52
|
+
},
|
|
53
|
+
"./dialog": {
|
|
54
|
+
"types": "./dist/dialog/index.d.ts",
|
|
55
|
+
"import": "./dist/dialog/index.js"
|
|
56
|
+
},
|
|
57
|
+
"./divider": {
|
|
58
|
+
"types": "./dist/divider/index.d.ts",
|
|
59
|
+
"import": "./dist/divider/index.js"
|
|
60
|
+
},
|
|
61
|
+
"./formfield": {
|
|
62
|
+
"types": "./dist/formfield/index.d.ts",
|
|
63
|
+
"import": "./dist/formfield/index.js"
|
|
64
|
+
},
|
|
65
|
+
"./icon": {
|
|
66
|
+
"types": "./dist/icon/index.d.ts",
|
|
67
|
+
"import": "./dist/icon/index.js"
|
|
68
|
+
},
|
|
69
|
+
"./icon-button": {
|
|
70
|
+
"types": "./dist/icon-button/index.d.ts",
|
|
71
|
+
"import": "./dist/icon-button/index.js"
|
|
72
|
+
},
|
|
73
|
+
"./intersection": {
|
|
74
|
+
"types": "./dist/intersection/index.d.ts",
|
|
75
|
+
"import": "./dist/intersection/index.js"
|
|
76
|
+
},
|
|
77
|
+
"./layout": {
|
|
78
|
+
"types": "./dist/layout/index.d.ts",
|
|
79
|
+
"import": "./dist/layout/index.js"
|
|
80
|
+
},
|
|
81
|
+
"./list": {
|
|
82
|
+
"types": "./dist/list/index.d.ts",
|
|
83
|
+
"import": "./dist/list/index.js"
|
|
84
|
+
},
|
|
85
|
+
"./menu": {
|
|
86
|
+
"types": "./dist/menu/index.d.ts",
|
|
87
|
+
"import": "./dist/menu/index.js"
|
|
88
|
+
},
|
|
89
|
+
"./page": {
|
|
90
|
+
"types": "./dist/page/index.d.ts",
|
|
91
|
+
"import": "./dist/page/index.js"
|
|
92
|
+
},
|
|
93
|
+
"./people": {
|
|
94
|
+
"types": "./dist/people/index.d.ts",
|
|
95
|
+
"import": "./dist/people/index.js"
|
|
96
|
+
},
|
|
97
|
+
"./person": {
|
|
98
|
+
"types": "./dist/person/index.d.ts",
|
|
99
|
+
"import": "./dist/person/index.js"
|
|
100
|
+
},
|
|
101
|
+
"./picture": {
|
|
102
|
+
"types": "./dist/picture/index.d.ts",
|
|
103
|
+
"import": "./dist/picture/index.js"
|
|
104
|
+
},
|
|
105
|
+
"./popover": {
|
|
106
|
+
"types": "./dist/popover/index.d.ts",
|
|
107
|
+
"import": "./dist/popover/index.js"
|
|
108
|
+
},
|
|
109
|
+
"./progress-indicator": {
|
|
110
|
+
"types": "./dist/progress-indicator/index.d.ts",
|
|
111
|
+
"import": "./dist/progress-indicator/index.js"
|
|
112
|
+
},
|
|
113
|
+
"./radio": {
|
|
114
|
+
"types": "./dist/radio/index.d.ts",
|
|
115
|
+
"import": "./dist/radio/index.js"
|
|
116
|
+
},
|
|
117
|
+
"./ripple": {
|
|
118
|
+
"types": "./dist/ripple/index.d.ts",
|
|
119
|
+
"import": "./dist/ripple/index.js"
|
|
120
|
+
},
|
|
121
|
+
"./searchable-dropdown": {
|
|
122
|
+
"types": "./dist/searchable-dropdown/index.d.ts",
|
|
123
|
+
"import": "./dist/searchable-dropdown/index.js"
|
|
124
|
+
},
|
|
125
|
+
"./select": {
|
|
126
|
+
"types": "./dist/select/index.d.ts",
|
|
127
|
+
"import": "./dist/select/index.js"
|
|
128
|
+
},
|
|
129
|
+
"./side-sheet": {
|
|
130
|
+
"types": "./dist/side-sheet/index.d.ts",
|
|
131
|
+
"import": "./dist/side-sheet/index.js"
|
|
132
|
+
},
|
|
133
|
+
"./skeleton": {
|
|
134
|
+
"types": "./dist/skeleton/index.d.ts",
|
|
135
|
+
"import": "./dist/skeleton/index.js"
|
|
136
|
+
},
|
|
137
|
+
"./switch": {
|
|
138
|
+
"types": "./dist/switch/index.d.ts",
|
|
139
|
+
"import": "./dist/switch/index.js"
|
|
140
|
+
},
|
|
141
|
+
"./textarea": {
|
|
142
|
+
"types": "./dist/textarea/index.d.ts",
|
|
143
|
+
"import": "./dist/textarea/index.js"
|
|
144
|
+
},
|
|
145
|
+
"./textinput": {
|
|
146
|
+
"types": "./dist/textinput/index.d.ts",
|
|
147
|
+
"import": "./dist/textinput/index.js"
|
|
148
|
+
},
|
|
149
|
+
"./theme": {
|
|
150
|
+
"types": "./dist/theme/index.d.ts",
|
|
151
|
+
"import": "./dist/theme/index.js"
|
|
152
|
+
},
|
|
153
|
+
"./typography": {
|
|
154
|
+
"types": "./dist/typography/index.d.ts",
|
|
155
|
+
"import": "./dist/typography/index.js"
|
|
156
|
+
},
|
|
157
|
+
"./a2ui": {
|
|
158
|
+
"types": "./dist/a2ui/index.d.ts",
|
|
159
|
+
"import": "./dist/a2ui/index.js"
|
|
160
|
+
},
|
|
161
|
+
"./a2ui/surface": {
|
|
162
|
+
"types": "./dist/a2ui/surface.d.ts",
|
|
163
|
+
"import": "./dist/a2ui/surface.js"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"publishConfig": {
|
|
167
|
+
"access": "public"
|
|
168
|
+
},
|
|
169
|
+
"dependencies": {
|
|
170
|
+
"@lit/react": "^1.0.8",
|
|
171
|
+
"@equinor/fusion-components-web-a2ui": "0.1.0-preview.1",
|
|
172
|
+
"@equinor/fusion-components-web": "0.1.0-preview.1"
|
|
173
|
+
},
|
|
174
|
+
"peerDependencies": {
|
|
175
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
176
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
177
|
+
},
|
|
178
|
+
"devDependencies": {
|
|
179
|
+
"@types/react": "^19.3.3",
|
|
180
|
+
"@types/react-dom": "^19.3.0",
|
|
181
|
+
"react": "^19.3.1",
|
|
182
|
+
"react-dom": "^19.3.1"
|
|
183
|
+
},
|
|
184
|
+
"scripts": {
|
|
185
|
+
"build": "tsc -p tsconfig.build.json",
|
|
186
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
187
|
+
"test": "vitest run"
|
|
10
188
|
}
|
|
11
|
-
}
|
|
189
|
+
}
|