@elliemae/ds-form-input-textarea 3.1.0-next.2 → 3.1.0-next.5

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.
@@ -27,7 +27,6 @@ __export(styles_exports, {
27
27
  module.exports = __toCommonJS(styles_exports);
28
28
  var React = __toESM(require("react"));
29
29
  var import_ds_system = require("@elliemae/ds-system");
30
- var import_styled_components = require("@xstyled/styled-components");
31
30
  var import_exported_related = require("./exported-related");
32
31
  const StyledContainer = (0, import_ds_system.styled)("div", {
33
32
  name: import_exported_related.DSControlledLargeTextInputName,
@@ -37,9 +36,9 @@ const StyledContainer = (0, import_ds_system.styled)("div", {
37
36
  grid-gap: 4px;
38
37
  grid-template-rows: auto auto;
39
38
  grid-template-columns: fit-content;
40
- ${import_styled_components.layout}
41
- ${import_styled_components.space}
42
- ${import_styled_components.sizing}
39
+ ${import_ds_system.layout}
40
+ ${import_ds_system.space}
41
+ ${import_ds_system.sizing}
43
42
  `;
44
43
  const StyledCharCounter = (0, import_ds_system.styled)("span", {
45
44
  name: import_exported_related.DSControlledLargeTextInputName,
@@ -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 } from '@elliemae/ds-system';\nimport { layout, space, sizing } from '@xstyled/styled-components';\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 ${layout}\n ${space}\n ${sizing}\n`;\n\nexport const StyledCharCounter = styled('span', {\n name: DSControlledLargeTextInputName,\n slot: DSControlledLargeTextInputSlots.CHAR_COUNTER,\n})`\n justify-self: flex-end;\n`;\n\nexport const StyledTextArea = styled('textarea', {\n name: DSControlledLargeTextInputName,\n slot: DSControlledLargeTextInputSlots.INPUT,\n})<StyledTextAreaT>`\n width: 100%;\n ${({ resizable }) => (resizable ? `` : `resize: none;`)}\n &:disabled {\n &:hover {\n cursor: not-allowed;\n }\n }\n\n ${({ hasError }) => (hasError ? `border: 1px solid red;` : ``)}\n`;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAuB;AACvB,+BAAsC;AACtC,8BAAgF;AAOzE,MAAM,kBAAkB,6BAAO,OAAO;AAAA,EAC3C,MAAM;AAAA,EACN,MAAM,wDAAgC;AACxC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,IAKG;AAAA,IACA;AAAA,IACA;AAAA;AAGG,MAAM,oBAAoB,6BAAO,QAAQ;AAAA,EAC9C,MAAM;AAAA,EACN,MAAM,wDAAgC;AACxC,CAAC;AAAA;AAAA;AAIM,MAAM,iBAAiB,6BAAO,YAAY;AAAA,EAC/C,MAAM;AAAA,EACN,MAAM,wDAAgC;AACxC,CAAC;AAAA;AAAA,IAEG,CAAC,EAAE,gBAAiB,YAAY,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOrC,CAAC,EAAE,eAAgB,WAAW,2BAA2B;AAAA;",
4
+ "sourcesContent": ["import { styled, layout, space, sizing } 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 ${layout}\n ${space}\n ${sizing}\n`;\n\nexport const StyledCharCounter = styled('span', {\n name: DSControlledLargeTextInputName,\n slot: DSControlledLargeTextInputSlots.CHAR_COUNTER,\n})`\n justify-self: flex-end;\n`;\n\nexport const StyledTextArea = styled('textarea', {\n name: DSControlledLargeTextInputName,\n slot: DSControlledLargeTextInputSlots.INPUT,\n})<StyledTextAreaT>`\n width: 100%;\n ${({ resizable }) => (resizable ? `` : `resize: none;`)}\n &:disabled {\n &:hover {\n cursor: not-allowed;\n }\n }\n\n ${({ hasError }) => (hasError ? `border: 1px solid red;` : ``)}\n`;\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAA8C;AAC9C,8BAAgF;AAOzE,MAAM,kBAAkB,6BAAO,OAAO;AAAA,EAC3C,MAAM;AAAA,EACN,MAAM,wDAAgC;AACxC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,IAKG;AAAA,IACA;AAAA,IACA;AAAA;AAGG,MAAM,oBAAoB,6BAAO,QAAQ;AAAA,EAC9C,MAAM;AAAA,EACN,MAAM,wDAAgC;AACxC,CAAC;AAAA;AAAA;AAIM,MAAM,iBAAiB,6BAAO,YAAY;AAAA,EAC/C,MAAM;AAAA,EACN,MAAM,wDAAgC;AACxC,CAAC;AAAA;AAAA,IAEG,CAAC,EAAE,gBAAiB,YAAY,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOrC,CAAC,EAAE,eAAgB,WAAW,2BAA2B;AAAA;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,5 @@
1
1
  import * as React from "react";
2
- import { styled } from "@elliemae/ds-system";
3
- import { layout, space, sizing } from "@xstyled/styled-components";
2
+ import { styled, layout, space, sizing } from "@elliemae/ds-system";
4
3
  import { DSControlledLargeTextInputName, DSControlledLargeTextInputSlots } from "./exported-related";
5
4
  const StyledContainer = styled("div", {
6
5
  name: DSControlledLargeTextInputName,
@@ -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 } from '@elliemae/ds-system';\nimport { layout, space, sizing } from '@xstyled/styled-components';\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 ${layout}\n ${space}\n ${sizing}\n`;\n\nexport const StyledCharCounter = styled('span', {\n name: DSControlledLargeTextInputName,\n slot: DSControlledLargeTextInputSlots.CHAR_COUNTER,\n})`\n justify-self: flex-end;\n`;\n\nexport const StyledTextArea = styled('textarea', {\n name: DSControlledLargeTextInputName,\n slot: DSControlledLargeTextInputSlots.INPUT,\n})<StyledTextAreaT>`\n width: 100%;\n ${({ resizable }) => (resizable ? `` : `resize: none;`)}\n &:disabled {\n &:hover {\n cursor: not-allowed;\n }\n }\n\n ${({ hasError }) => (hasError ? `border: 1px solid red;` : ``)}\n`;\n"],
5
- "mappings": "AAAA;ACAA;AACA;AACA;AAOO,MAAM,kBAAkB,OAAO,OAAO;AAAA,EAC3C,MAAM;AAAA,EACN,MAAM,gCAAgC;AACxC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,IAKG;AAAA,IACA;AAAA,IACA;AAAA;AAGG,MAAM,oBAAoB,OAAO,QAAQ;AAAA,EAC9C,MAAM;AAAA,EACN,MAAM,gCAAgC;AACxC,CAAC;AAAA;AAAA;AAIM,MAAM,iBAAiB,OAAO,YAAY;AAAA,EAC/C,MAAM;AAAA,EACN,MAAM,gCAAgC;AACxC,CAAC;AAAA;AAAA,IAEG,CAAC,EAAE,gBAAiB,YAAY,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOrC,CAAC,EAAE,eAAgB,WAAW,2BAA2B;AAAA;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { styled, layout, space, sizing } 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 ${layout}\n ${space}\n ${sizing}\n`;\n\nexport const StyledCharCounter = styled('span', {\n name: DSControlledLargeTextInputName,\n slot: DSControlledLargeTextInputSlots.CHAR_COUNTER,\n})`\n justify-self: flex-end;\n`;\n\nexport const StyledTextArea = styled('textarea', {\n name: DSControlledLargeTextInputName,\n slot: DSControlledLargeTextInputSlots.INPUT,\n})<StyledTextAreaT>`\n width: 100%;\n ${({ resizable }) => (resizable ? `` : `resize: none;`)}\n &:disabled {\n &:hover {\n cursor: not-allowed;\n }\n }\n\n ${({ hasError }) => (hasError ? `border: 1px solid red;` : ``)}\n`;\n"],
5
+ "mappings": "AAAA;ACAA;AACA;AAOO,MAAM,kBAAkB,OAAO,OAAO;AAAA,EAC3C,MAAM;AAAA,EACN,MAAM,gCAAgC;AACxC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,IAKG;AAAA,IACA;AAAA,IACA;AAAA;AAGG,MAAM,oBAAoB,OAAO,QAAQ;AAAA,EAC9C,MAAM;AAAA,EACN,MAAM,gCAAgC;AACxC,CAAC;AAAA;AAAA;AAIM,MAAM,iBAAiB,OAAO,YAAY;AAAA,EAC/C,MAAM;AAAA,EACN,MAAM,gCAAgC;AACxC,CAAC;AAAA;AAAA,IAEG,CAAC,EAAE,gBAAiB,YAAY,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOrC,CAAC,EAAE,eAAgB,WAAW,2BAA2B;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.1.0-next.2",
3
+ "version": "3.1.0-next.5",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Controlled Form Input Textarea",
6
6
  "files": [
@@ -34,18 +34,10 @@
34
34
  "reportFile": "tests.xml",
35
35
  "indent": 4
36
36
  },
37
- "scripts": {
38
- "dev": "cross-env NODE_ENV=development node ../../scripts/build/build.mjs --watch",
39
- "test": "node ../../scripts/testing/test.mjs",
40
- "lint": "node ../../scripts/lint.mjs",
41
- "dts": "node ../../scripts/dts.mjs",
42
- "build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs"
43
- },
44
37
  "dependencies": {
45
- "@elliemae/ds-system": "3.1.0-next.2",
46
- "@elliemae/ds-utilities": "3.1.0-next.2",
47
- "@xstyled/styled-components": "~3.1.2",
48
- "uid": "~2.0.0"
38
+ "@elliemae/ds-system": "3.1.0-next.5",
39
+ "@elliemae/ds-utilities": "3.1.0-next.5",
40
+ "@xstyled/styled-components": "~3.1.2"
49
41
  },
50
42
  "devDependencies": {
51
43
  "@elliemae/pui-theme": "~2.5.0",
@@ -53,8 +45,7 @@
53
45
  "@testing-library/jest-dom": "~5.16.2",
54
46
  "@testing-library/react": "~12.1.2",
55
47
  "@testing-library/user-event": "~13.5.0",
56
- "styled-components": "~5.3.3",
57
- "styled-system": "~5.1.5"
48
+ "styled-components": "~5.3.3"
58
49
  },
59
50
  "peerDependencies": {
60
51
  "@elliemae/pui-theme": "~2.5.0",
@@ -66,5 +57,13 @@
66
57
  "publishConfig": {
67
58
  "access": "public",
68
59
  "typeSafety": false
60
+ },
61
+ "scripts": {
62
+ "dev": "cross-env NODE_ENV=development node ../../scripts/build/build.mjs --watch",
63
+ "test": "node ../../scripts/testing/test.mjs",
64
+ "lint": "node ../../scripts/lint.mjs",
65
+ "dts": "node ../../scripts/dts.mjs",
66
+ "build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs",
67
+ "checkDeps": "npx -yes ../ds-codemods check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
69
68
  }
70
- }
69
+ }