@elliemae/ds-form-input-textarea 3.12.0-rc.0 → 3.12.0-rc.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/dist/cjs/styles.js +2 -1
- package/dist/cjs/styles.js.map +2 -2
- package/dist/esm/styles.js +3 -2
- package/dist/esm/styles.js.map +2 -2
- package/package.json +5 -5
package/dist/cjs/styles.js
CHANGED
|
@@ -32,7 +32,7 @@ module.exports = __toCommonJS(styles_exports);
|
|
|
32
32
|
var React = __toESM(require("react"));
|
|
33
33
|
var import_ds_system = require("@elliemae/ds-system");
|
|
34
34
|
var import_exported_related = require("./exported-related");
|
|
35
|
-
const StyledContainer = (0, import_ds_system.styled)(
|
|
35
|
+
const StyledContainer = (0, import_ds_system.styled)("div", {
|
|
36
36
|
name: import_exported_related.DSControlledLargeTextInputName,
|
|
37
37
|
slot: import_exported_related.DSControlledLargeTextInputSlots.CONTAINER
|
|
38
38
|
})`
|
|
@@ -40,6 +40,7 @@ const StyledContainer = (0, import_ds_system.styled)(import_ds_system.XStyledWra
|
|
|
40
40
|
grid-gap: 4px;
|
|
41
41
|
grid-template-rows: auto auto;
|
|
42
42
|
grid-template-columns: fit-content;
|
|
43
|
+
${import_ds_system.xStyledCommonProps}
|
|
43
44
|
`;
|
|
44
45
|
const WrapperBorder = (0, import_ds_system.styled)("div")`
|
|
45
46
|
&:hover::after,
|
package/dist/cjs/styles.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/styles.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import { styled,
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,
|
|
4
|
+
"sourcesContent": ["import { styled, xStyledCommonProps } from '@elliemae/ds-system';\nimport { DSControlledLargeTextInputName, DSControlledLargeTextInputSlots } from './exported-related';\n\ninterface StyledTextAreaT {\n resizable: boolean;\n hasError: boolean;\n}\n\nexport const StyledContainer = styled('div', {\n name: DSControlledLargeTextInputName,\n slot: DSControlledLargeTextInputSlots.CONTAINER,\n})`\n display: grid;\n grid-gap: 4px;\n grid-template-rows: auto auto;\n grid-template-columns: fit-content;\n ${xStyledCommonProps}\n`;\n\nexport const WrapperBorder = styled('div')`\n &:hover::after,\n &:focus::after {\n content: ' ';\n position: absolute;\n inset: 0px;\n border: 2px solid brand-700;\n border-radius: inherit;\n pointer-events: none;\n z-index: 1;\n }\n &:hover,\n &:focus {\n border-color: transparent;\n }\n border: 1px solid neutral-400;\n border-radius: 2px;\n position: relative;\n box-sizing: content-box;\n ${({ $hasError }) => ($hasError ? `border: 2px solid red;` : ``)}\n`;\n\nexport const StyledTextArea = styled('textarea', {\n name: DSControlledLargeTextInputName,\n slot: DSControlledLargeTextInputSlots.INPUT,\n})<StyledTextAreaT>`\n line-height: 1;\n outline: none;\n width: 100%;\n border: none;\n padding: 8px;\n ${({ resizable }) => (resizable ? `` : `resize: none;`)}\n &:disabled {\n &:hover {\n cursor: not-allowed;\n }\n }\n ${({ $maxHeight }) => ($maxHeight ? `max-height: ${$maxHeight}px;` : ``)}\n ${({ $minHeight }) => ($minHeight ? `min-height: ${$minHeight}px;` : ``)}\n ${({ disabled }) => (disabled ? `overflow: hidden` : '')}\n`;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAA2C;AAC3C,8BAAgF;AAOzE,MAAM,sBAAkB,yBAAO,OAAO;AAAA,EAC3C,MAAM;AAAA,EACN,MAAM,wDAAgC;AACxC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,IAKG;AAAA;AAGG,MAAM,oBAAgB,yBAAO,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAmBrC,CAAC,EAAE,UAAU,MAAO,YAAY,2BAA2B;AAAA;AAGxD,MAAM,qBAAiB,yBAAO,YAAY;AAAA,EAC/C,MAAM;AAAA,EACN,MAAM,wDAAgC;AACxC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMG,CAAC,EAAE,UAAU,MAAO,YAAY,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMrC,CAAC,EAAE,WAAW,MAAO,aAAa,eAAe,kBAAkB;AAAA,IACnE,CAAC,EAAE,WAAW,MAAO,aAAa,eAAe,kBAAkB;AAAA,IACnE,CAAC,EAAE,SAAS,MAAO,WAAW,qBAAqB;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/styles.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { styled,
|
|
2
|
+
import { styled, xStyledCommonProps } from "@elliemae/ds-system";
|
|
3
3
|
import { DSControlledLargeTextInputName, DSControlledLargeTextInputSlots } from "./exported-related";
|
|
4
|
-
const StyledContainer = styled(
|
|
4
|
+
const StyledContainer = styled("div", {
|
|
5
5
|
name: DSControlledLargeTextInputName,
|
|
6
6
|
slot: DSControlledLargeTextInputSlots.CONTAINER
|
|
7
7
|
})`
|
|
@@ -9,6 +9,7 @@ const StyledContainer = styled(XStyledWrapper, {
|
|
|
9
9
|
grid-gap: 4px;
|
|
10
10
|
grid-template-rows: auto auto;
|
|
11
11
|
grid-template-columns: fit-content;
|
|
12
|
+
${xStyledCommonProps}
|
|
12
13
|
`;
|
|
13
14
|
const WrapperBorder = styled("div")`
|
|
14
15
|
&:hover::after,
|
package/dist/esm/styles.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/styles.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { styled,
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,QAAQ,
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { styled, xStyledCommonProps } from '@elliemae/ds-system';\nimport { DSControlledLargeTextInputName, DSControlledLargeTextInputSlots } from './exported-related';\n\ninterface StyledTextAreaT {\n resizable: boolean;\n hasError: boolean;\n}\n\nexport const StyledContainer = styled('div', {\n name: DSControlledLargeTextInputName,\n slot: DSControlledLargeTextInputSlots.CONTAINER,\n})`\n display: grid;\n grid-gap: 4px;\n grid-template-rows: auto auto;\n grid-template-columns: fit-content;\n ${xStyledCommonProps}\n`;\n\nexport const WrapperBorder = styled('div')`\n &:hover::after,\n &:focus::after {\n content: ' ';\n position: absolute;\n inset: 0px;\n border: 2px solid brand-700;\n border-radius: inherit;\n pointer-events: none;\n z-index: 1;\n }\n &:hover,\n &:focus {\n border-color: transparent;\n }\n border: 1px solid neutral-400;\n border-radius: 2px;\n position: relative;\n box-sizing: content-box;\n ${({ $hasError }) => ($hasError ? `border: 2px solid red;` : ``)}\n`;\n\nexport const StyledTextArea = styled('textarea', {\n name: DSControlledLargeTextInputName,\n slot: DSControlledLargeTextInputSlots.INPUT,\n})<StyledTextAreaT>`\n line-height: 1;\n outline: none;\n width: 100%;\n border: none;\n padding: 8px;\n ${({ resizable }) => (resizable ? `` : `resize: none;`)}\n &:disabled {\n &:hover {\n cursor: not-allowed;\n }\n }\n ${({ $maxHeight }) => ($maxHeight ? `max-height: ${$maxHeight}px;` : ``)}\n ${({ $minHeight }) => ($minHeight ? `min-height: ${$minHeight}px;` : ``)}\n ${({ disabled }) => (disabled ? `overflow: hidden` : '')}\n`;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,QAAQ,0BAA0B;AAC3C,SAAS,gCAAgC,uCAAuC;AAOzE,MAAM,kBAAkB,OAAO,OAAO;AAAA,EAC3C,MAAM;AAAA,EACN,MAAM,gCAAgC;AACxC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,IAKG;AAAA;AAGG,MAAM,gBAAgB,OAAO,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAmBrC,CAAC,EAAE,UAAU,MAAO,YAAY,2BAA2B;AAAA;AAGxD,MAAM,iBAAiB,OAAO,YAAY;AAAA,EAC/C,MAAM;AAAA,EACN,MAAM,gCAAgC;AACxC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMG,CAAC,EAAE,UAAU,MAAO,YAAY,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMrC,CAAC,EAAE,WAAW,MAAO,aAAa,eAAe,kBAAkB;AAAA,IACnE,CAAC,EAAE,WAAW,MAAO,aAAa,eAAe,kBAAkB;AAAA,IACnE,CAAC,EAAE,SAAS,MAAO,WAAW,qBAAqB;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-form-input-textarea",
|
|
3
|
-
"version": "3.12.0-rc.
|
|
3
|
+
"version": "3.12.0-rc.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Controlled Form Input Textarea",
|
|
6
6
|
"files": [
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"indent": 4
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@elliemae/ds-system": "3.12.0-rc.
|
|
39
|
-
"@elliemae/ds-utilities": "3.12.0-rc.
|
|
38
|
+
"@elliemae/ds-system": "3.12.0-rc.1",
|
|
39
|
+
"@elliemae/ds-utilities": "3.12.0-rc.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@elliemae/pui-theme": "~2.6.0",
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
"@testing-library/jest-dom": "~5.16.4",
|
|
45
45
|
"@testing-library/react": "~12.1.3",
|
|
46
46
|
"@testing-library/user-event": "~13.5.0",
|
|
47
|
-
"styled-components": "~5.3.
|
|
47
|
+
"styled-components": "~5.3.6"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@elliemae/pui-theme": "~2.6.0",
|
|
51
51
|
"react": "^17.0.2",
|
|
52
52
|
"react-dom": "^17.0.2",
|
|
53
|
-
"styled-components": "
|
|
53
|
+
"styled-components": "~5.3.6",
|
|
54
54
|
"styled-system": "^5.1.5"
|
|
55
55
|
},
|
|
56
56
|
"publishConfig": {
|