@equinor/eds-core-react 0.43.0-dev-12102024 → 0.43.0-dev-01062025
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/eds-core-react.cjs +22 -45
- package/dist/esm/components/Accordion/AccordionHeader.js +2 -2
- package/dist/esm/components/Accordion/index.js +1 -0
- package/dist/esm/components/Banner/index.js +1 -0
- package/dist/esm/components/Breadcrumbs/index.js +1 -0
- package/dist/esm/components/Button/ToggleButton/ToggleButton.js +2 -2
- package/dist/esm/components/Button/index.js +1 -0
- package/dist/esm/components/Card/index.js +1 -0
- package/dist/esm/components/Dialog/index.js +1 -0
- package/dist/esm/components/Icon/Icon.js +6 -19
- package/dist/esm/components/Icon/library.js +1 -6
- package/dist/esm/components/Label/Label.js +10 -14
- package/dist/esm/components/List/index.js +1 -0
- package/dist/esm/components/Menu/MenuList.js +2 -2
- package/dist/esm/components/Menu/index.js +1 -0
- package/dist/esm/components/Popover/index.js +1 -0
- package/dist/esm/components/SideBar/index.js +1 -0
- package/dist/esm/components/Snackbar/index.js +1 -0
- package/dist/esm/components/Table/index.js +1 -0
- package/dist/esm/components/TableOfContents/index.js +1 -0
- package/dist/esm/components/Tabs/index.js +1 -0
- package/dist/esm/components/TopBar/index.js +1 -0
- package/dist/types/components/Icon/Icon.d.ts +1 -1
- package/dist/types/components/Icon/Icon.types.d.ts +1 -5
- package/dist/types/components/Icon/library.d.ts +2 -2
- package/package.json +34 -34
package/dist/eds-core-react.cjs
CHANGED
|
@@ -1285,7 +1285,7 @@ const ToggleButton = /*#__PURE__*/react.forwardRef(function ToggleButton({
|
|
|
1285
1285
|
}, [selectedIndexes]);
|
|
1286
1286
|
function updateProps(child, isSelected, index) {
|
|
1287
1287
|
const childElement = child;
|
|
1288
|
-
if (
|
|
1288
|
+
if (/*#__PURE__*/react.isValidElement(child)) {
|
|
1289
1289
|
const buttonProps = {
|
|
1290
1290
|
'aria-pressed': isSelected ? true : undefined,
|
|
1291
1291
|
variant: isSelected ? 'contained' : 'outlined',
|
|
@@ -1307,7 +1307,7 @@ const ToggleButton = /*#__PURE__*/react.forwardRef(function ToggleButton({
|
|
|
1307
1307
|
const updatedChildren = react.Children.map(children, (child, index) => {
|
|
1308
1308
|
const isSelected = pickedIndexes.includes(index);
|
|
1309
1309
|
const childElement = child;
|
|
1310
|
-
if (
|
|
1310
|
+
if (/*#__PURE__*/react.isValidElement(child) && child.type === Tooltip$2) {
|
|
1311
1311
|
const updatedGrandChildren = react.Children.map(childElement.props.children, grandChild => {
|
|
1312
1312
|
return updateProps(grandChild, isSelected, index);
|
|
1313
1313
|
});
|
|
@@ -2291,20 +2291,16 @@ const Label$3 = /*#__PURE__*/react.forwardRef(function Label(props, ref) {
|
|
|
2291
2291
|
disabled = false,
|
|
2292
2292
|
...other
|
|
2293
2293
|
} = props;
|
|
2294
|
-
return (
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
children:
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
children: meta
|
|
2305
|
-
})]
|
|
2306
|
-
})
|
|
2307
|
-
);
|
|
2294
|
+
return /*#__PURE__*/ /* @TODO: Other props spread has to be at the end for downshift to create the for attribute */jsxRuntime.jsxs(LabelBase, {
|
|
2295
|
+
ref: ref,
|
|
2296
|
+
$disabledText: disabled,
|
|
2297
|
+
...other,
|
|
2298
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(Text$3, {
|
|
2299
|
+
children: label
|
|
2300
|
+
}), meta && /*#__PURE__*/jsxRuntime.jsx(Text$3, {
|
|
2301
|
+
children: meta
|
|
2302
|
+
})]
|
|
2303
|
+
});
|
|
2308
2304
|
});
|
|
2309
2305
|
|
|
2310
2306
|
// Label.displayName = 'eds-text-field-label'
|
|
@@ -3094,7 +3090,6 @@ const TextField = /*#__PURE__*/react.forwardRef(function TextField({
|
|
|
3094
3090
|
});
|
|
3095
3091
|
|
|
3096
3092
|
let _icons = {};
|
|
3097
|
-
let count = 0;
|
|
3098
3093
|
/** Add icons to library to be used for rendering using name.
|
|
3099
3094
|
This needs to be done lonly once */
|
|
3100
3095
|
const add = icons => {
|
|
@@ -3104,11 +3099,7 @@ const add = icons => {
|
|
|
3104
3099
|
};
|
|
3105
3100
|
};
|
|
3106
3101
|
const get = name => {
|
|
3107
|
-
|
|
3108
|
-
return {
|
|
3109
|
-
icon: _icons[name],
|
|
3110
|
-
count
|
|
3111
|
-
};
|
|
3102
|
+
return _icons[name];
|
|
3112
3103
|
};
|
|
3113
3104
|
|
|
3114
3105
|
const StyledSvg = styled__default.default.svg.attrs(({
|
|
@@ -3139,24 +3130,14 @@ const StyledPath$2 = styled__default.default.path.attrs(({
|
|
|
3139
3130
|
displayName: "Icon__StyledPath",
|
|
3140
3131
|
componentId: "sc-6evbi1-1"
|
|
3141
3132
|
})([""]);
|
|
3142
|
-
const customIcon = icon => ({
|
|
3143
|
-
icon,
|
|
3144
|
-
count: Math.floor(Math.random() * 1000)
|
|
3145
|
-
});
|
|
3146
3133
|
const findIcon = (name, data, size) => {
|
|
3147
3134
|
// eslint-disable-next-line prefer-const
|
|
3148
|
-
|
|
3149
|
-
icon,
|
|
3150
|
-
count
|
|
3151
|
-
} = data ? customIcon(data) : get(name);
|
|
3135
|
+
const icon = data ?? get(name);
|
|
3152
3136
|
if (size < 24) {
|
|
3153
3137
|
// fallback to normal icon if small is not made yet
|
|
3154
|
-
|
|
3138
|
+
return icon.sizes?.small || icon;
|
|
3155
3139
|
}
|
|
3156
|
-
return
|
|
3157
|
-
icon,
|
|
3158
|
-
count
|
|
3159
|
-
};
|
|
3140
|
+
return icon;
|
|
3160
3141
|
};
|
|
3161
3142
|
const Icon$2 = /*#__PURE__*/react.forwardRef(function Icon({
|
|
3162
3143
|
size,
|
|
@@ -3168,10 +3149,7 @@ const Icon$2 = /*#__PURE__*/react.forwardRef(function Icon({
|
|
|
3168
3149
|
...rest
|
|
3169
3150
|
}, ref) {
|
|
3170
3151
|
// eslint-disable-next-line prefer-const
|
|
3171
|
-
const
|
|
3172
|
-
icon,
|
|
3173
|
-
count
|
|
3174
|
-
} = findIcon(name, data, size);
|
|
3152
|
+
const icon = findIcon(name, data, size);
|
|
3175
3153
|
if (typeof icon === 'undefined') {
|
|
3176
3154
|
throw Error(`Icon "${name}" not found. Have you added it using Icon.add() or using data props?`);
|
|
3177
3155
|
}
|
|
@@ -3192,9 +3170,8 @@ const Icon$2 = /*#__PURE__*/react.forwardRef(function Icon({
|
|
|
3192
3170
|
};
|
|
3193
3171
|
|
|
3194
3172
|
// Accessibility
|
|
3195
|
-
|
|
3173
|
+
const titleId = edsUtils.useId(null, `${icon.prefix}-${icon.name}`);
|
|
3196
3174
|
if (title) {
|
|
3197
|
-
titleId = `${icon.prefix}-${icon.name}-${count}`;
|
|
3198
3175
|
svgProps = {
|
|
3199
3176
|
...svgProps,
|
|
3200
3177
|
title,
|
|
@@ -3667,7 +3644,7 @@ const AccordionHeader$1 = /*#__PURE__*/react.forwardRef(function AccordionHeader
|
|
|
3667
3644
|
children: child
|
|
3668
3645
|
});
|
|
3669
3646
|
}
|
|
3670
|
-
if (
|
|
3647
|
+
if (/*#__PURE__*/react.isValidElement(child) && child.type === AccordionHeaderTitle) {
|
|
3671
3648
|
return /*#__PURE__*/react.cloneElement(child, {
|
|
3672
3649
|
isExpanded,
|
|
3673
3650
|
disabled
|
|
@@ -3679,7 +3656,7 @@ const AccordionHeader$1 = /*#__PURE__*/react.forwardRef(function AccordionHeader
|
|
|
3679
3656
|
return child;
|
|
3680
3657
|
});
|
|
3681
3658
|
const headerActions = react.Children.map(children, child => {
|
|
3682
|
-
if (
|
|
3659
|
+
if (/*#__PURE__*/react.isValidElement(child) && child.type === AccordionHeaderActions) {
|
|
3683
3660
|
return /*#__PURE__*/react.cloneElement(child, {
|
|
3684
3661
|
isExpanded,
|
|
3685
3662
|
disabled
|
|
@@ -7842,11 +7819,11 @@ const List = styled__default.default.div.withConfig({
|
|
|
7842
7819
|
componentId: "sc-104rzof-0"
|
|
7843
7820
|
})(["position:relative;list-style:none;display:flex;flex-direction:column;margin:0;", " li:first-child{z-index:3;}"], edsUtils.spacingsTemplate(menu.spacings));
|
|
7844
7821
|
function isIndexable(item) {
|
|
7845
|
-
if (
|
|
7822
|
+
if (/*#__PURE__*/react.isValidElement(item) && !item.props.disabled && item.type === MenuItem$1) return true;
|
|
7846
7823
|
return false;
|
|
7847
7824
|
}
|
|
7848
7825
|
function closeMenuOnClick(item) {
|
|
7849
|
-
if (
|
|
7826
|
+
if (/*#__PURE__*/react.isValidElement(item) && item.type === MenuItem$1 && item.props.closeMenuOnClick !== false) return true;
|
|
7850
7827
|
return false;
|
|
7851
7828
|
}
|
|
7852
7829
|
const MenuList = /*#__PURE__*/react.forwardRef(function MenuList({
|
|
@@ -123,7 +123,7 @@ const AccordionHeader = /*#__PURE__*/forwardRef(function AccordionHeader({
|
|
|
123
123
|
children: child
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
|
-
if (
|
|
126
|
+
if (/*#__PURE__*/isValidElement(child) && child.type === AccordionHeaderTitle) {
|
|
127
127
|
return /*#__PURE__*/cloneElement(child, {
|
|
128
128
|
isExpanded,
|
|
129
129
|
disabled
|
|
@@ -135,7 +135,7 @@ const AccordionHeader = /*#__PURE__*/forwardRef(function AccordionHeader({
|
|
|
135
135
|
return child;
|
|
136
136
|
});
|
|
137
137
|
const headerActions = Children.map(children, child => {
|
|
138
|
-
if (
|
|
138
|
+
if (/*#__PURE__*/isValidElement(child) && child.type === AccordionHeaderActions) {
|
|
139
139
|
return /*#__PURE__*/cloneElement(child, {
|
|
140
140
|
isExpanded,
|
|
141
141
|
disabled
|
|
@@ -18,7 +18,7 @@ const ToggleButton = /*#__PURE__*/forwardRef(function ToggleButton({
|
|
|
18
18
|
}, [selectedIndexes]);
|
|
19
19
|
function updateProps(child, isSelected, index) {
|
|
20
20
|
const childElement = child;
|
|
21
|
-
if (
|
|
21
|
+
if (/*#__PURE__*/isValidElement(child)) {
|
|
22
22
|
const buttonProps = {
|
|
23
23
|
'aria-pressed': isSelected ? true : undefined,
|
|
24
24
|
variant: isSelected ? 'contained' : 'outlined',
|
|
@@ -40,7 +40,7 @@ const ToggleButton = /*#__PURE__*/forwardRef(function ToggleButton({
|
|
|
40
40
|
const updatedChildren = Children.map(children, (child, index) => {
|
|
41
41
|
const isSelected = pickedIndexes.includes(index);
|
|
42
42
|
const childElement = child;
|
|
43
|
-
if (
|
|
43
|
+
if (/*#__PURE__*/isValidElement(child) && child.type === Tooltip) {
|
|
44
44
|
const updatedGrandChildren = Children.map(childElement.props.children, grandChild => {
|
|
45
45
|
return updateProps(grandChild, isSelected, index);
|
|
46
46
|
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { useId } from '@equinor/eds-utils';
|
|
1
2
|
import { forwardRef } from 'react';
|
|
2
3
|
import styled from 'styled-components';
|
|
3
4
|
import { get } from './library.js';
|
|
@@ -31,24 +32,14 @@ const StyledPath = styled.path.attrs(({
|
|
|
31
32
|
displayName: "Icon__StyledPath",
|
|
32
33
|
componentId: "sc-6evbi1-1"
|
|
33
34
|
})([""]);
|
|
34
|
-
const customIcon = icon => ({
|
|
35
|
-
icon,
|
|
36
|
-
count: Math.floor(Math.random() * 1000)
|
|
37
|
-
});
|
|
38
35
|
const findIcon = (name, data, size) => {
|
|
39
36
|
// eslint-disable-next-line prefer-const
|
|
40
|
-
|
|
41
|
-
icon,
|
|
42
|
-
count
|
|
43
|
-
} = data ? customIcon(data) : get(name);
|
|
37
|
+
const icon = data ?? get(name);
|
|
44
38
|
if (size < 24) {
|
|
45
39
|
// fallback to normal icon if small is not made yet
|
|
46
|
-
|
|
40
|
+
return icon.sizes?.small || icon;
|
|
47
41
|
}
|
|
48
|
-
return
|
|
49
|
-
icon,
|
|
50
|
-
count
|
|
51
|
-
};
|
|
42
|
+
return icon;
|
|
52
43
|
};
|
|
53
44
|
const Icon = /*#__PURE__*/forwardRef(function Icon({
|
|
54
45
|
size,
|
|
@@ -60,10 +51,7 @@ const Icon = /*#__PURE__*/forwardRef(function Icon({
|
|
|
60
51
|
...rest
|
|
61
52
|
}, ref) {
|
|
62
53
|
// eslint-disable-next-line prefer-const
|
|
63
|
-
const
|
|
64
|
-
icon,
|
|
65
|
-
count
|
|
66
|
-
} = findIcon(name, data, size);
|
|
54
|
+
const icon = findIcon(name, data, size);
|
|
67
55
|
if (typeof icon === 'undefined') {
|
|
68
56
|
throw Error(`Icon "${name}" not found. Have you added it using Icon.add() or using data props?`);
|
|
69
57
|
}
|
|
@@ -84,9 +72,8 @@ const Icon = /*#__PURE__*/forwardRef(function Icon({
|
|
|
84
72
|
};
|
|
85
73
|
|
|
86
74
|
// Accessibility
|
|
87
|
-
|
|
75
|
+
const titleId = useId(null, `${icon.prefix}-${icon.name}`);
|
|
88
76
|
if (title) {
|
|
89
|
-
titleId = `${icon.prefix}-${icon.name}-${count}`;
|
|
90
77
|
svgProps = {
|
|
91
78
|
...svgProps,
|
|
92
79
|
title,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
let _icons = {};
|
|
2
|
-
let count = 0;
|
|
3
2
|
/** Add icons to library to be used for rendering using name.
|
|
4
3
|
This needs to be done lonly once */
|
|
5
4
|
const add = icons => {
|
|
@@ -9,11 +8,7 @@ const add = icons => {
|
|
|
9
8
|
};
|
|
10
9
|
};
|
|
11
10
|
const get = name => {
|
|
12
|
-
|
|
13
|
-
return {
|
|
14
|
-
icon: _icons[name],
|
|
15
|
-
count
|
|
16
|
-
};
|
|
11
|
+
return _icons[name];
|
|
17
12
|
};
|
|
18
13
|
|
|
19
14
|
export { add, get };
|
|
@@ -21,20 +21,16 @@ const Label = /*#__PURE__*/forwardRef(function Label(props, ref) {
|
|
|
21
21
|
disabled = false,
|
|
22
22
|
...other
|
|
23
23
|
} = props;
|
|
24
|
-
return (
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
children:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
children: meta
|
|
35
|
-
})]
|
|
36
|
-
})
|
|
37
|
-
);
|
|
24
|
+
return /*#__PURE__*/ /* @TODO: Other props spread has to be at the end for downshift to create the for attribute */jsxs(LabelBase, {
|
|
25
|
+
ref: ref,
|
|
26
|
+
$disabledText: disabled,
|
|
27
|
+
...other,
|
|
28
|
+
children: [/*#__PURE__*/jsx(Text, {
|
|
29
|
+
children: label
|
|
30
|
+
}), meta && /*#__PURE__*/jsx(Text, {
|
|
31
|
+
children: meta
|
|
32
|
+
})]
|
|
33
|
+
});
|
|
38
34
|
});
|
|
39
35
|
|
|
40
36
|
// Label.displayName = 'eds-text-field-label'
|
|
@@ -12,11 +12,11 @@ const List = styled.div.withConfig({
|
|
|
12
12
|
componentId: "sc-104rzof-0"
|
|
13
13
|
})(["position:relative;list-style:none;display:flex;flex-direction:column;margin:0;", " li:first-child{z-index:3;}"], spacingsTemplate(menu.spacings));
|
|
14
14
|
function isIndexable(item) {
|
|
15
|
-
if (
|
|
15
|
+
if (/*#__PURE__*/isValidElement(item) && !item.props.disabled && item.type === MenuItem) return true;
|
|
16
16
|
return false;
|
|
17
17
|
}
|
|
18
18
|
function closeMenuOnClick(item) {
|
|
19
|
-
if (
|
|
19
|
+
if (/*#__PURE__*/isValidElement(item) && item.type === MenuItem && item.props.closeMenuOnClick !== false) return true;
|
|
20
20
|
return false;
|
|
21
21
|
}
|
|
22
22
|
const MenuList = /*#__PURE__*/forwardRef(function MenuList({
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { IconName } from '@equinor/eds-icons';
|
|
2
2
|
import { Icon } from './Icon';
|
|
3
3
|
import { add } from './library';
|
|
4
|
-
export type IconBasket = {
|
|
5
|
-
icon?: IconData;
|
|
6
|
-
count: number;
|
|
7
|
-
};
|
|
8
4
|
export type Name = IconName;
|
|
9
5
|
export type IconType = typeof Icon & {
|
|
10
6
|
add: typeof add;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { IconData } from '@equinor/eds-icons';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Name } from './Icon.types';
|
|
3
3
|
type IconRecord = Record<Name, IconData>;
|
|
4
4
|
/** Add icons to library to be used for rendering using name.
|
|
5
5
|
This needs to be done lonly once */
|
|
6
6
|
export declare const add: (icons: IconRecord) => void;
|
|
7
|
-
export declare const get: (name: Name) =>
|
|
7
|
+
export declare const get: (name: Name) => IconData | undefined;
|
|
8
8
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/eds-core-react",
|
|
3
|
-
"version": "0.43.0-dev-
|
|
3
|
+
"version": "0.43.0-dev-01062025",
|
|
4
4
|
"description": "The React implementation of the Equinor Design System",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"**/*.css"
|
|
@@ -33,23 +33,23 @@
|
|
|
33
33
|
],
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@rollup/plugin-babel": "^6.0.4",
|
|
36
|
-
"@rollup/plugin-commonjs": "^
|
|
37
|
-
"@rollup/plugin-node-resolve": "^
|
|
38
|
-
"@storybook/addon-a11y": "^8.
|
|
39
|
-
"@storybook/addon-actions": "^8.
|
|
40
|
-
"@storybook/addon-docs": "^8.
|
|
41
|
-
"@storybook/addon-essentials": "^8.
|
|
42
|
-
"@storybook/addon-links": "^8.
|
|
43
|
-
"@storybook/blocks": "^8.
|
|
44
|
-
"@storybook/preview-api": "^8.
|
|
45
|
-
"@storybook/react": "^8.
|
|
46
|
-
"@storybook/react-vite": "^8.
|
|
36
|
+
"@rollup/plugin-commonjs": "^28.0.2",
|
|
37
|
+
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
38
|
+
"@storybook/addon-a11y": "^8.4.7",
|
|
39
|
+
"@storybook/addon-actions": "^8.4.7",
|
|
40
|
+
"@storybook/addon-docs": "^8.4.7",
|
|
41
|
+
"@storybook/addon-essentials": "^8.4.7",
|
|
42
|
+
"@storybook/addon-links": "^8.4.7",
|
|
43
|
+
"@storybook/blocks": "^8.4.7",
|
|
44
|
+
"@storybook/preview-api": "^8.4.7",
|
|
45
|
+
"@storybook/react": "^8.4.7",
|
|
46
|
+
"@storybook/react-vite": "^8.4.7",
|
|
47
47
|
"@testing-library/dom": "^10.4.0",
|
|
48
|
-
"@testing-library/jest-dom": "^6.
|
|
49
|
-
"@testing-library/react": "16.
|
|
48
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
49
|
+
"@testing-library/react": "16.1.0",
|
|
50
50
|
"@testing-library/user-event": "14.5.2",
|
|
51
|
-
"@types/jest": "^29.5.
|
|
52
|
-
"@types/ramda": "^0.30.
|
|
51
|
+
"@types/jest": "^29.5.14",
|
|
52
|
+
"@types/ramda": "^0.30.2",
|
|
53
53
|
"@types/react": "^18.3.3",
|
|
54
54
|
"@types/react-dom": "^18.3.0",
|
|
55
55
|
"babel-plugin-styled-components": "^2.1.4",
|
|
@@ -57,20 +57,20 @@
|
|
|
57
57
|
"jest-environment-jsdom": "^29.7.0",
|
|
58
58
|
"jest-styled-components": "^7.2.0",
|
|
59
59
|
"js-file-download": "^0.4.12",
|
|
60
|
-
"postcss": "^8.4.
|
|
60
|
+
"postcss": "^8.4.49",
|
|
61
61
|
"ramda": "^0.30.1",
|
|
62
62
|
"react": "^18.3.1",
|
|
63
63
|
"react-dom": "^18.3.1",
|
|
64
|
-
"react-hook-form": "^7.
|
|
64
|
+
"react-hook-form": "^7.54.2",
|
|
65
65
|
"react-router-dom": "^6.26.0",
|
|
66
|
-
"rollup": "^4.
|
|
66
|
+
"rollup": "^4.29.1",
|
|
67
67
|
"rollup-plugin-delete": "^2.1.0",
|
|
68
68
|
"rollup-plugin-postcss": "^4.0.2",
|
|
69
69
|
"rollup-preserve-directives": "^1.1.3",
|
|
70
|
-
"storybook": "^8.
|
|
71
|
-
"styled-components": "6.1.
|
|
72
|
-
"tsc-watch": "^6.2.
|
|
73
|
-
"typescript": "^5.
|
|
70
|
+
"storybook": "^8.4.7",
|
|
71
|
+
"styled-components": "6.1.13",
|
|
72
|
+
"tsc-watch": "^6.2.1",
|
|
73
|
+
"typescript": "^5.7.2"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
76
|
"react": ">=16.8",
|
|
@@ -78,19 +78,19 @@
|
|
|
78
78
|
"styled-components": ">=5.1"
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@babel/runtime": "^7.
|
|
82
|
-
"@floating-ui/react": "^0.
|
|
83
|
-
"@internationalized/date": "^3.
|
|
84
|
-
"@react-aria/utils": "^3.
|
|
85
|
-
"@react-stately/calendar": "^3.
|
|
86
|
-
"@react-stately/datepicker": "^3.
|
|
87
|
-
"@react-types/shared": "^3.
|
|
88
|
-
"@tanstack/react-virtual": "3.11.
|
|
81
|
+
"@babel/runtime": "^7.26.0",
|
|
82
|
+
"@floating-ui/react": "^0.27.2",
|
|
83
|
+
"@internationalized/date": "^3.6.0",
|
|
84
|
+
"@react-aria/utils": "^3.26.0",
|
|
85
|
+
"@react-stately/calendar": "^3.6.0",
|
|
86
|
+
"@react-stately/datepicker": "^3.11.0",
|
|
87
|
+
"@react-types/shared": "^3.26.0",
|
|
88
|
+
"@tanstack/react-virtual": "3.11.2",
|
|
89
89
|
"downshift": "9.0.8",
|
|
90
|
-
"react-aria": "^3.
|
|
90
|
+
"react-aria": "^3.36.0",
|
|
91
91
|
"@equinor/eds-icons": "^0.21.0",
|
|
92
|
-
"@equinor/eds-
|
|
93
|
-
"@equinor/eds-
|
|
92
|
+
"@equinor/eds-utils": "0.8.5",
|
|
93
|
+
"@equinor/eds-tokens": "0.9.2"
|
|
94
94
|
},
|
|
95
95
|
"scripts": {
|
|
96
96
|
"build": "rollup -c --bundleConfigAsCjs && tsc -p tsconfig.build.json",
|