@equinor/apollo-components 3.7.8 → 4.0.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/dist/index.js +1 -2
- package/dist/index.mjs +2 -3
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1686,14 +1686,13 @@ function EditableTextAreaCell(_a) {
|
|
|
1686
1686
|
children: [
|
|
1687
1687
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_eds_core_react26.Dialog.Header, { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_eds_core_react26.Dialog.Title, { children: title }) }),
|
|
1688
1688
|
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_eds_core_react26.Dialog.Content, { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
1689
|
-
import_eds_core_react26.
|
|
1689
|
+
import_eds_core_react26.Textarea,
|
|
1690
1690
|
{
|
|
1691
1691
|
style: {
|
|
1692
1692
|
maxWidth: "100%",
|
|
1693
1693
|
marginTop: "1rem"
|
|
1694
1694
|
},
|
|
1695
1695
|
id: field.name + "modal",
|
|
1696
|
-
multiline: true,
|
|
1697
1696
|
rows: 8,
|
|
1698
1697
|
name: field.name + "modal",
|
|
1699
1698
|
value: textareaValue,
|
package/dist/index.mjs
CHANGED
|
@@ -1553,7 +1553,7 @@ var InlineTextField2 = styled18(TextField2)`
|
|
|
1553
1553
|
`;
|
|
1554
1554
|
|
|
1555
1555
|
// src/form-cells/EditableTextAreaCell.tsx
|
|
1556
|
-
import { Button as Button5, Dialog as EDS, Icon as Icon8, TextField as TextField3 } from "@equinor/eds-core-react";
|
|
1556
|
+
import { Button as Button5, Dialog as EDS, Icon as Icon8, Textarea, TextField as TextField3 } from "@equinor/eds-core-react";
|
|
1557
1557
|
import { arrow_up } from "@equinor/eds-icons";
|
|
1558
1558
|
import { useState as useState7 } from "react";
|
|
1559
1559
|
import { Controller as Controller5 } from "react-hook-form";
|
|
@@ -1619,14 +1619,13 @@ function EditableTextAreaCell(_a) {
|
|
|
1619
1619
|
children: [
|
|
1620
1620
|
/* @__PURE__ */ jsx27(EDS.Header, { children: /* @__PURE__ */ jsx27(EDS.Title, { children: title }) }),
|
|
1621
1621
|
/* @__PURE__ */ jsx27(EDS.Content, { children: /* @__PURE__ */ jsx27(
|
|
1622
|
-
|
|
1622
|
+
Textarea,
|
|
1623
1623
|
{
|
|
1624
1624
|
style: {
|
|
1625
1625
|
maxWidth: "100%",
|
|
1626
1626
|
marginTop: "1rem"
|
|
1627
1627
|
},
|
|
1628
1628
|
id: field.name + "modal",
|
|
1629
|
-
multiline: true,
|
|
1630
1629
|
rows: 8,
|
|
1631
1630
|
name: field.name + "modal",
|
|
1632
1631
|
value: textareaValue,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/apollo-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"lodash": "^4.17.21"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@equinor/eds-core-react": "
|
|
20
|
+
"@equinor/eds-core-react": "2.2.0",
|
|
21
21
|
"@storybook/react": "^9.1.1",
|
|
22
22
|
"@types/lodash": "^4.17.15",
|
|
23
23
|
"@types/react": "^18.3.18",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"styled-components": "^6.1.14",
|
|
31
31
|
"tsup": "^8.3.6",
|
|
32
32
|
"type-fest": "^4.33.0",
|
|
33
|
-
"@equinor/cpl-eslint-config": "0.0
|
|
33
|
+
"@equinor/cpl-eslint-config": "1.0.0",
|
|
34
34
|
"@equinor/cpl-typescript-config": "0.0.2"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@equinor/eds-core-react": ">=
|
|
37
|
+
"@equinor/eds-core-react": ">=2.2.0",
|
|
38
38
|
"react": "^18.2.0",
|
|
39
39
|
"react-dom": "^18.2.0",
|
|
40
40
|
"react-hook-form": "^7.43.8",
|