@elliemae/ds-wysiwygeditor 2.3.0-alpha.4 → 2.3.0-alpha.9
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/{cjs → dist/cjs}/DSWYSIWYGEditor.js +0 -0
- package/{cjs → dist/cjs}/DSWYSIWYGEditor.js.map +0 -0
- package/{cjs → dist/cjs}/components/CustomImageUploader.js +0 -0
- package/{cjs → dist/cjs}/components/CustomImageUploader.js.map +0 -0
- package/{cjs → dist/cjs}/components/CustomToolbar.js +0 -0
- package/{cjs → dist/cjs}/components/CustomToolbar.js.map +0 -0
- package/{cjs → dist/cjs}/components/DSWYSIWYGEditorImpl.js +0 -0
- package/{cjs → dist/cjs}/components/DSWYSIWYGEditorImpl.js.map +0 -0
- package/{cjs → dist/cjs}/components/ImageLibraryModal.js +0 -0
- package/{cjs → dist/cjs}/components/ImageLibraryModal.js.map +0 -0
- package/{cjs → dist/cjs}/components/InsertFieldModal.js +0 -0
- package/{cjs → dist/cjs}/components/InsertFieldModal.js.map +0 -0
- package/{cjs → dist/cjs}/components/TippedButton.js +2 -1
- package/{cjs → dist/cjs}/components/TippedButton.js.map +2 -2
- package/{cjs → dist/cjs}/components/TippedSelect.js +2 -1
- package/{cjs → dist/cjs}/components/TippedSelect.js.map +2 -2
- package/{cjs → dist/cjs}/components/colors.js +0 -0
- package/{cjs → dist/cjs}/components/colors.js.map +0 -0
- package/{cjs → dist/cjs}/components/customFields.js +0 -0
- package/{cjs → dist/cjs}/components/customFields.js.map +0 -0
- package/{cjs → dist/cjs}/constants.js +0 -0
- package/{cjs → dist/cjs}/constants.js.map +0 -0
- package/{cjs → dist/cjs}/index.js +0 -0
- package/{cjs → dist/cjs}/index.js.map +0 -0
- package/{cjs → dist/cjs}/quillMatchers/clipboardLinkWithTagMatcher.js +0 -0
- package/{cjs → dist/cjs}/quillMatchers/clipboardLinkWithTagMatcher.js.map +0 -0
- package/{cjs → dist/cjs}/quillOverrides/IndentStyle.js +0 -0
- package/{cjs → dist/cjs}/quillOverrides/IndentStyle.js.map +0 -0
- package/{cjs → dist/cjs}/quillOverrides/LinkFormat.js +0 -0
- package/{cjs → dist/cjs}/quillOverrides/LinkFormat.js.map +0 -0
- package/{cjs → dist/cjs}/quillOverrides/PlainClipboard.js +0 -0
- package/{cjs → dist/cjs}/quillOverrides/PlainClipboard.js.map +0 -0
- package/{cjs → dist/cjs}/utils.js +0 -0
- package/{cjs → dist/cjs}/utils.js.map +0 -0
- package/{esm → dist/esm}/DSWYSIWYGEditor.js +0 -0
- package/{esm → dist/esm}/DSWYSIWYGEditor.js.map +0 -0
- package/{esm → dist/esm}/components/CustomImageUploader.js +0 -0
- package/{esm → dist/esm}/components/CustomImageUploader.js.map +0 -0
- package/{esm → dist/esm}/components/CustomToolbar.js +0 -0
- package/{esm → dist/esm}/components/CustomToolbar.js.map +0 -0
- package/{esm → dist/esm}/components/DSWYSIWYGEditorImpl.js +0 -0
- package/{esm → dist/esm}/components/DSWYSIWYGEditorImpl.js.map +0 -0
- package/{esm → dist/esm}/components/ImageLibraryModal.js +0 -0
- package/{esm → dist/esm}/components/ImageLibraryModal.js.map +0 -0
- package/{esm → dist/esm}/components/InsertFieldModal.js +0 -0
- package/{esm → dist/esm}/components/InsertFieldModal.js.map +0 -0
- package/{esm → dist/esm}/components/TippedButton.js +2 -1
- package/{esm → dist/esm}/components/TippedButton.js.map +2 -2
- package/{esm → dist/esm}/components/TippedSelect.js +2 -1
- package/{esm → dist/esm}/components/TippedSelect.js.map +2 -2
- package/{esm → dist/esm}/components/colors.js +0 -0
- package/{esm → dist/esm}/components/colors.js.map +0 -0
- package/{esm → dist/esm}/components/customFields.js +0 -0
- package/{esm → dist/esm}/components/customFields.js.map +0 -0
- package/{esm → dist/esm}/constants.js +0 -0
- package/{esm → dist/esm}/constants.js.map +0 -0
- package/{esm → dist/esm}/index.js +0 -0
- package/{esm → dist/esm}/index.js.map +0 -0
- package/{esm → dist/esm}/quillMatchers/clipboardLinkWithTagMatcher.js +0 -0
- package/{esm → dist/esm}/quillMatchers/clipboardLinkWithTagMatcher.js.map +0 -0
- package/{esm → dist/esm}/quillOverrides/IndentStyle.js +0 -0
- package/{esm → dist/esm}/quillOverrides/IndentStyle.js.map +0 -0
- package/{esm → dist/esm}/quillOverrides/LinkFormat.js +0 -0
- package/{esm → dist/esm}/quillOverrides/LinkFormat.js.map +0 -0
- package/{esm → dist/esm}/quillOverrides/PlainClipboard.js +0 -0
- package/{esm → dist/esm}/quillOverrides/PlainClipboard.js.map +0 -0
- package/{esm → dist/esm}/utils.js +0 -0
- package/{esm → dist/esm}/utils.js.map +0 -0
- package/{types → dist/types}/DSWYSIWYGEditor.d.ts +0 -0
- package/{types → dist/types}/components/CustomImageUploader.d.ts +0 -0
- package/{types → dist/types}/components/CustomToolbar.d.ts +0 -0
- package/{types → dist/types}/components/DSWYSIWYGEditorImpl.d.ts +0 -0
- package/{types → dist/types}/components/ImageLibraryModal.d.ts +0 -0
- package/{types → dist/types}/components/InsertFieldModal.d.ts +0 -0
- package/{types → dist/types}/components/TippedButton.d.ts +0 -0
- package/{types → dist/types}/components/TippedSelect.d.ts +0 -0
- package/{types → dist/types}/components/colors.d.ts +0 -0
- package/{types → dist/types}/components/customFields.d.ts +0 -0
- package/{types → dist/types}/constants.d.ts +0 -0
- package/{types → dist/types}/index.d.ts +0 -0
- package/{types → dist/types}/quillMatchers/clipboardLinkWithTagMatcher.d.ts +0 -0
- package/{types → dist/types}/quillOverrides/IndentStyle.d.ts +0 -0
- package/{types → dist/types}/quillOverrides/LinkFormat.d.ts +0 -0
- package/{types → dist/types}/quillOverrides/PlainClipboard.d.ts +0 -0
- package/{types → dist/types}/utils.d.ts +0 -0
- package/package.json +58 -56
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -43,7 +43,8 @@ const TippedButton = ({
|
|
|
43
43
|
className: "tooltip"
|
|
44
44
|
}, /* @__PURE__ */ import_react.default.createElement(import_ds_tooltip.DSTooltipV3, {
|
|
45
45
|
text: tip,
|
|
46
|
-
zIndex
|
|
46
|
+
zIndex,
|
|
47
|
+
withoutPortal: false
|
|
47
48
|
}, /* @__PURE__ */ import_react.default.createElement("button", {
|
|
48
49
|
type: "button",
|
|
49
50
|
className,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/TippedButton.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { DSTooltipV3 } from '@elliemae/ds-tooltip';\n\ninterface TippedButtonPropsT {\n tip: string;\n zIndex: number;\n onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;\n children?: React.ReactNode;\n style?: React.CSSProperties;\n className?: string;\n value?: string;\n}\n\nexport const TippedButton = ({\n className,\n tip,\n children,\n onClick = () => null,\n zIndex = 1,\n ...rest\n}: TippedButtonPropsT): JSX.Element => (\n <div className=\"tooltip\">\n <DSTooltipV3 text={tip} zIndex={zIndex}>\n <button\n type=\"button\"\n className={className}\n onClick={(e) => {\n e.preventDefault();\n onClick(e);\n }}\n {...rest}\n >\n {children}\n </button>\n </DSTooltipV3>\n </div>\n);\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,wBAA4B;AAYrB,MAAM,eAAe,CAAC;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AAAA,EACA,UAAU,MAAM;AAAA,EAChB,SAAS;AAAA,KACN;AAAA,MAEH,mDAAC,OAAD;AAAA,EAAK,WAAU;AAAA,GACb,mDAAC,+BAAD;AAAA,EAAa,MAAM;AAAA,EAAK;AAAA,
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { DSTooltipV3 } from '@elliemae/ds-tooltip';\n\ninterface TippedButtonPropsT {\n tip: string;\n zIndex: number;\n onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;\n children?: React.ReactNode;\n style?: React.CSSProperties;\n className?: string;\n value?: string;\n}\n\nexport const TippedButton = ({\n className,\n tip,\n children,\n onClick = () => null,\n zIndex = 1,\n ...rest\n}: TippedButtonPropsT): JSX.Element => (\n <div className=\"tooltip\">\n <DSTooltipV3 text={tip} zIndex={zIndex} withoutPortal={false}>\n <button\n type=\"button\"\n className={className}\n onClick={(e) => {\n e.preventDefault();\n onClick(e);\n }}\n {...rest}\n >\n {children}\n </button>\n </DSTooltipV3>\n </div>\n);\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,wBAA4B;AAYrB,MAAM,eAAe,CAAC;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AAAA,EACA,UAAU,MAAM;AAAA,EAChB,SAAS;AAAA,KACN;AAAA,MAEH,mDAAC,OAAD;AAAA,EAAK,WAAU;AAAA,GACb,mDAAC,+BAAD;AAAA,EAAa,MAAM;AAAA,EAAK;AAAA,EAAgB,eAAe;AAAA,GACrD,mDAAC,UAAD;AAAA,EACE,MAAK;AAAA,EACL;AAAA,EACA,SAAS,CAAC,MAAM;AACd,MAAE;AACF,YAAQ;AAAA;AAAA,KAEN;AAAA,GAEH;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -42,7 +42,8 @@ const TippedSelect = (props) => {
|
|
|
42
42
|
className: "tooltip"
|
|
43
43
|
}, /* @__PURE__ */ import_react.default.createElement(import_ds_tooltip.DSTooltipV3, {
|
|
44
44
|
text: tip,
|
|
45
|
-
zIndex
|
|
45
|
+
zIndex,
|
|
46
|
+
withoutPortal: false
|
|
46
47
|
}, /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("select", {
|
|
47
48
|
className,
|
|
48
49
|
defaultValue,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/TippedSelect.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { DSTooltipV3 } from '@elliemae/ds-tooltip';\n\ninterface TippedSelectPropsT {\n tip: string;\n onChange?: (e: React.ChangeEvent<HTMLSelectElement>) => void;\n className?: string;\n options?: string[];\n defaultValue?: string;\n values?: string[];\n zIndex?: number;\n children?: React.ReactNode;\n}\n\nexport const TippedSelect = (props: TippedSelectPropsT): JSX.Element => {\n const { tip, onChange = () => null, className, options, defaultValue = '', values, zIndex, children } = props;\n const fallBackChildren =\n values &&\n values.map((value, index) => (\n <option key={value} value={value === 'normal' ? '' : value}>\n {options ? options[index] : null}\n </option>\n ));\n\n return (\n <div className=\"tooltip\">\n <DSTooltipV3 text={tip} zIndex={zIndex}>\n <div>\n <select\n className={className}\n defaultValue={defaultValue}\n onChange={(e) => {\n e.persist();\n onChange(e);\n }}\n >\n {children || fallBackChildren}\n </select>\n </div>\n </DSTooltipV3>\n </div>\n );\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,wBAA4B;AAarB,MAAM,eAAe,CAAC,UAA2C;AACtE,QAAM,EAAE,KAAK,WAAW,MAAM,MAAM,WAAW,SAAS,eAAe,IAAI,QAAQ,QAAQ,aAAa;AACxG,QAAM,mBACJ,UACA,OAAO,IAAI,CAAC,OAAO,UACjB,mDAAC,UAAD;AAAA,IAAQ,KAAK;AAAA,IAAO,OAAO,UAAU,WAAW,KAAK;AAAA,KAClD,UAAU,QAAQ,SAAS;AAIlC,SACE,mDAAC,OAAD;AAAA,IAAK,WAAU;AAAA,KACb,mDAAC,+BAAD;AAAA,IAAa,MAAM;AAAA,IAAK;AAAA,
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { DSTooltipV3 } from '@elliemae/ds-tooltip';\n\ninterface TippedSelectPropsT {\n tip: string;\n onChange?: (e: React.ChangeEvent<HTMLSelectElement>) => void;\n className?: string;\n options?: string[];\n defaultValue?: string;\n values?: string[];\n zIndex?: number;\n children?: React.ReactNode;\n}\n\nexport const TippedSelect = (props: TippedSelectPropsT): JSX.Element => {\n const { tip, onChange = () => null, className, options, defaultValue = '', values, zIndex, children } = props;\n const fallBackChildren =\n values &&\n values.map((value, index) => (\n <option key={value} value={value === 'normal' ? '' : value}>\n {options ? options[index] : null}\n </option>\n ));\n\n return (\n <div className=\"tooltip\">\n <DSTooltipV3 text={tip} zIndex={zIndex} withoutPortal={false}>\n <div>\n <select\n className={className}\n defaultValue={defaultValue}\n onChange={(e) => {\n e.persist();\n onChange(e);\n }}\n >\n {children || fallBackChildren}\n </select>\n </div>\n </DSTooltipV3>\n </div>\n );\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,wBAA4B;AAarB,MAAM,eAAe,CAAC,UAA2C;AACtE,QAAM,EAAE,KAAK,WAAW,MAAM,MAAM,WAAW,SAAS,eAAe,IAAI,QAAQ,QAAQ,aAAa;AACxG,QAAM,mBACJ,UACA,OAAO,IAAI,CAAC,OAAO,UACjB,mDAAC,UAAD;AAAA,IAAQ,KAAK;AAAA,IAAO,OAAO,UAAU,WAAW,KAAK;AAAA,KAClD,UAAU,QAAQ,SAAS;AAIlC,SACE,mDAAC,OAAD;AAAA,IAAK,WAAU;AAAA,KACb,mDAAC,+BAAD;AAAA,IAAa,MAAM;AAAA,IAAK;AAAA,IAAgB,eAAe;AAAA,KACrD,mDAAC,OAAD,MACE,mDAAC,UAAD;AAAA,IACE;AAAA,IACA;AAAA,IACA,UAAU,CAAC,MAAM;AACf,QAAE;AACF,eAAS;AAAA;AAAA,KAGV,YAAY;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/TippedButton.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { DSTooltipV3 } from '@elliemae/ds-tooltip';\n\ninterface TippedButtonPropsT {\n tip: string;\n zIndex: number;\n onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;\n children?: React.ReactNode;\n style?: React.CSSProperties;\n className?: string;\n value?: string;\n}\n\nexport const TippedButton = ({\n className,\n tip,\n children,\n onClick = () => null,\n zIndex = 1,\n ...rest\n}: TippedButtonPropsT): JSX.Element => (\n <div className=\"tooltip\">\n <DSTooltipV3 text={tip} zIndex={zIndex}>\n <button\n type=\"button\"\n className={className}\n onClick={(e) => {\n e.preventDefault();\n onClick(e);\n }}\n {...rest}\n >\n {children}\n </button>\n </DSTooltipV3>\n </div>\n);\n"],
|
|
5
|
-
"mappings": "AAAA;ACAA;AACA;AAYO,MAAM,eAAe,CAAC;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AAAA,EACA,UAAU,MAAM;AAAA,EAChB,SAAS;AAAA,KACN;AAAA,MAEH,qCAAC,OAAD;AAAA,EAAK,WAAU;AAAA,GACb,qCAAC,aAAD;AAAA,EAAa,MAAM;AAAA,EAAK;AAAA,
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { DSTooltipV3 } from '@elliemae/ds-tooltip';\n\ninterface TippedButtonPropsT {\n tip: string;\n zIndex: number;\n onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;\n children?: React.ReactNode;\n style?: React.CSSProperties;\n className?: string;\n value?: string;\n}\n\nexport const TippedButton = ({\n className,\n tip,\n children,\n onClick = () => null,\n zIndex = 1,\n ...rest\n}: TippedButtonPropsT): JSX.Element => (\n <div className=\"tooltip\">\n <DSTooltipV3 text={tip} zIndex={zIndex} withoutPortal={false}>\n <button\n type=\"button\"\n className={className}\n onClick={(e) => {\n e.preventDefault();\n onClick(e);\n }}\n {...rest}\n >\n {children}\n </button>\n </DSTooltipV3>\n </div>\n);\n"],
|
|
5
|
+
"mappings": "AAAA;ACAA;AACA;AAYO,MAAM,eAAe,CAAC;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AAAA,EACA,UAAU,MAAM;AAAA,EAChB,SAAS;AAAA,KACN;AAAA,MAEH,qCAAC,OAAD;AAAA,EAAK,WAAU;AAAA,GACb,qCAAC,aAAD;AAAA,EAAa,MAAM;AAAA,EAAK;AAAA,EAAgB,eAAe;AAAA,GACrD,qCAAC,UAAD;AAAA,EACE,MAAK;AAAA,EACL;AAAA,EACA,SAAS,CAAC,MAAM;AACd,MAAE;AACF,YAAQ;AAAA;AAAA,KAEN;AAAA,GAEH;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -11,7 +11,8 @@ const TippedSelect = (props) => {
|
|
|
11
11
|
className: "tooltip"
|
|
12
12
|
}, /* @__PURE__ */ React2.createElement(DSTooltipV3, {
|
|
13
13
|
text: tip,
|
|
14
|
-
zIndex
|
|
14
|
+
zIndex,
|
|
15
|
+
withoutPortal: false
|
|
15
16
|
}, /* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement("select", {
|
|
16
17
|
className,
|
|
17
18
|
defaultValue,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/TippedSelect.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { DSTooltipV3 } from '@elliemae/ds-tooltip';\n\ninterface TippedSelectPropsT {\n tip: string;\n onChange?: (e: React.ChangeEvent<HTMLSelectElement>) => void;\n className?: string;\n options?: string[];\n defaultValue?: string;\n values?: string[];\n zIndex?: number;\n children?: React.ReactNode;\n}\n\nexport const TippedSelect = (props: TippedSelectPropsT): JSX.Element => {\n const { tip, onChange = () => null, className, options, defaultValue = '', values, zIndex, children } = props;\n const fallBackChildren =\n values &&\n values.map((value, index) => (\n <option key={value} value={value === 'normal' ? '' : value}>\n {options ? options[index] : null}\n </option>\n ));\n\n return (\n <div className=\"tooltip\">\n <DSTooltipV3 text={tip} zIndex={zIndex}>\n <div>\n <select\n className={className}\n defaultValue={defaultValue}\n onChange={(e) => {\n e.persist();\n onChange(e);\n }}\n >\n {children || fallBackChildren}\n </select>\n </div>\n </DSTooltipV3>\n </div>\n );\n};\n"],
|
|
5
|
-
"mappings": "AAAA;ACAA;AACA;AAaO,MAAM,eAAe,CAAC,UAA2C;AACtE,QAAM,EAAE,KAAK,WAAW,MAAM,MAAM,WAAW,SAAS,eAAe,IAAI,QAAQ,QAAQ,aAAa;AACxG,QAAM,mBACJ,UACA,OAAO,IAAI,CAAC,OAAO,UACjB,qCAAC,UAAD;AAAA,IAAQ,KAAK;AAAA,IAAO,OAAO,UAAU,WAAW,KAAK;AAAA,KAClD,UAAU,QAAQ,SAAS;AAIlC,SACE,qCAAC,OAAD;AAAA,IAAK,WAAU;AAAA,KACb,qCAAC,aAAD;AAAA,IAAa,MAAM;AAAA,IAAK;AAAA,
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { DSTooltipV3 } from '@elliemae/ds-tooltip';\n\ninterface TippedSelectPropsT {\n tip: string;\n onChange?: (e: React.ChangeEvent<HTMLSelectElement>) => void;\n className?: string;\n options?: string[];\n defaultValue?: string;\n values?: string[];\n zIndex?: number;\n children?: React.ReactNode;\n}\n\nexport const TippedSelect = (props: TippedSelectPropsT): JSX.Element => {\n const { tip, onChange = () => null, className, options, defaultValue = '', values, zIndex, children } = props;\n const fallBackChildren =\n values &&\n values.map((value, index) => (\n <option key={value} value={value === 'normal' ? '' : value}>\n {options ? options[index] : null}\n </option>\n ));\n\n return (\n <div className=\"tooltip\">\n <DSTooltipV3 text={tip} zIndex={zIndex} withoutPortal={false}>\n <div>\n <select\n className={className}\n defaultValue={defaultValue}\n onChange={(e) => {\n e.persist();\n onChange(e);\n }}\n >\n {children || fallBackChildren}\n </select>\n </div>\n </DSTooltipV3>\n </div>\n );\n};\n"],
|
|
5
|
+
"mappings": "AAAA;ACAA;AACA;AAaO,MAAM,eAAe,CAAC,UAA2C;AACtE,QAAM,EAAE,KAAK,WAAW,MAAM,MAAM,WAAW,SAAS,eAAe,IAAI,QAAQ,QAAQ,aAAa;AACxG,QAAM,mBACJ,UACA,OAAO,IAAI,CAAC,OAAO,UACjB,qCAAC,UAAD;AAAA,IAAQ,KAAK;AAAA,IAAO,OAAO,UAAU,WAAW,KAAK;AAAA,KAClD,UAAU,QAAQ,SAAS;AAIlC,SACE,qCAAC,OAAD;AAAA,IAAK,WAAU;AAAA,KACb,qCAAC,aAAD;AAAA,IAAa,MAAM;AAAA,IAAK;AAAA,IAAgB,eAAe;AAAA,KACrD,qCAAC,OAAD,MACE,qCAAC,UAAD;AAAA,IACE;AAAA,IACA;AAAA,IACA,UAAU,CAAC,MAAM;AACf,QAAE;AACF,eAAS;AAAA;AAAA,KAGV,YAAY;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,79 +1,82 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-wysiwygeditor",
|
|
3
|
-
"version": "2.3.0-alpha.
|
|
3
|
+
"version": "2.3.0-alpha.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - WYSIWYG Editor",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"module": "./dist/esm/index.js",
|
|
10
|
+
"main": "./dist/cjs/index.js",
|
|
11
|
+
"types": "./dist/types/index.d.ts",
|
|
9
12
|
"exports": {
|
|
10
13
|
".": {
|
|
11
|
-
"import": "./esm/index.js",
|
|
12
|
-
"require": "./cjs/index.js"
|
|
14
|
+
"import": "./dist/esm/index.js",
|
|
15
|
+
"require": "./dist/cjs/index.js"
|
|
13
16
|
},
|
|
14
17
|
"./utils": {
|
|
15
|
-
"import": "./esm/utils.js",
|
|
16
|
-
"require": "./cjs/utils.js"
|
|
18
|
+
"import": "./dist/esm/utils.js",
|
|
19
|
+
"require": "./dist/cjs/utils.js"
|
|
17
20
|
},
|
|
18
21
|
"./quillOverrides/PlainClipboard": {
|
|
19
|
-
"import": "./esm/quillOverrides/PlainClipboard.js",
|
|
20
|
-
"require": "./cjs/quillOverrides/PlainClipboard.js"
|
|
22
|
+
"import": "./dist/esm/quillOverrides/PlainClipboard.js",
|
|
23
|
+
"require": "./dist/cjs/quillOverrides/PlainClipboard.js"
|
|
21
24
|
},
|
|
22
25
|
"./quillOverrides/LinkFormat": {
|
|
23
|
-
"import": "./esm/quillOverrides/LinkFormat.js",
|
|
24
|
-
"require": "./cjs/quillOverrides/LinkFormat.js"
|
|
26
|
+
"import": "./dist/esm/quillOverrides/LinkFormat.js",
|
|
27
|
+
"require": "./dist/cjs/quillOverrides/LinkFormat.js"
|
|
25
28
|
},
|
|
26
29
|
"./quillOverrides/IndentStyle": {
|
|
27
|
-
"import": "./esm/quillOverrides/IndentStyle.js",
|
|
28
|
-
"require": "./cjs/quillOverrides/IndentStyle.js"
|
|
30
|
+
"import": "./dist/esm/quillOverrides/IndentStyle.js",
|
|
31
|
+
"require": "./dist/cjs/quillOverrides/IndentStyle.js"
|
|
29
32
|
},
|
|
30
33
|
"./quillMatchers/clipboardLinkWithTagMatcher": {
|
|
31
|
-
"import": "./esm/quillMatchers/clipboardLinkWithTagMatcher.js",
|
|
32
|
-
"require": "./cjs/quillMatchers/clipboardLinkWithTagMatcher.js"
|
|
34
|
+
"import": "./dist/esm/quillMatchers/clipboardLinkWithTagMatcher.js",
|
|
35
|
+
"require": "./dist/cjs/quillMatchers/clipboardLinkWithTagMatcher.js"
|
|
33
36
|
},
|
|
34
37
|
"./DSWYSIWYGEditor": {
|
|
35
|
-
"import": "./esm/DSWYSIWYGEditor.js",
|
|
36
|
-
"require": "./cjs/DSWYSIWYGEditor.js"
|
|
38
|
+
"import": "./dist/esm/DSWYSIWYGEditor.js",
|
|
39
|
+
"require": "./dist/cjs/DSWYSIWYGEditor.js"
|
|
37
40
|
},
|
|
38
41
|
"./constants": {
|
|
39
|
-
"import": "./esm/constants.js",
|
|
40
|
-
"require": "./cjs/constants.js"
|
|
42
|
+
"import": "./dist/esm/constants.js",
|
|
43
|
+
"require": "./dist/cjs/constants.js"
|
|
41
44
|
},
|
|
42
45
|
"./components/TippedSelect": {
|
|
43
|
-
"import": "./esm/components/TippedSelect.js",
|
|
44
|
-
"require": "./cjs/components/TippedSelect.js"
|
|
46
|
+
"import": "./dist/esm/components/TippedSelect.js",
|
|
47
|
+
"require": "./dist/cjs/components/TippedSelect.js"
|
|
45
48
|
},
|
|
46
49
|
"./components/TippedButton": {
|
|
47
|
-
"import": "./esm/components/TippedButton.js",
|
|
48
|
-
"require": "./cjs/components/TippedButton.js"
|
|
50
|
+
"import": "./dist/esm/components/TippedButton.js",
|
|
51
|
+
"require": "./dist/cjs/components/TippedButton.js"
|
|
49
52
|
},
|
|
50
53
|
"./components/InsertFieldModal": {
|
|
51
|
-
"import": "./esm/components/InsertFieldModal.js",
|
|
52
|
-
"require": "./cjs/components/InsertFieldModal.js"
|
|
54
|
+
"import": "./dist/esm/components/InsertFieldModal.js",
|
|
55
|
+
"require": "./dist/cjs/components/InsertFieldModal.js"
|
|
53
56
|
},
|
|
54
57
|
"./components/ImageLibraryModal": {
|
|
55
|
-
"import": "./esm/components/ImageLibraryModal.js",
|
|
56
|
-
"require": "./cjs/components/ImageLibraryModal.js"
|
|
58
|
+
"import": "./dist/esm/components/ImageLibraryModal.js",
|
|
59
|
+
"require": "./dist/cjs/components/ImageLibraryModal.js"
|
|
57
60
|
},
|
|
58
61
|
"./components/DSWYSIWYGEditorImpl": {
|
|
59
|
-
"import": "./esm/components/DSWYSIWYGEditorImpl.js",
|
|
60
|
-
"require": "./cjs/components/DSWYSIWYGEditorImpl.js"
|
|
62
|
+
"import": "./dist/esm/components/DSWYSIWYGEditorImpl.js",
|
|
63
|
+
"require": "./dist/cjs/components/DSWYSIWYGEditorImpl.js"
|
|
61
64
|
},
|
|
62
65
|
"./components/CustomToolbar": {
|
|
63
|
-
"import": "./esm/components/CustomToolbar.js",
|
|
64
|
-
"require": "./cjs/components/CustomToolbar.js"
|
|
66
|
+
"import": "./dist/esm/components/CustomToolbar.js",
|
|
67
|
+
"require": "./dist/cjs/components/CustomToolbar.js"
|
|
65
68
|
},
|
|
66
69
|
"./components/CustomImageUploader": {
|
|
67
|
-
"import": "./esm/components/CustomImageUploader.js",
|
|
68
|
-
"require": "./cjs/components/CustomImageUploader.js"
|
|
70
|
+
"import": "./dist/esm/components/CustomImageUploader.js",
|
|
71
|
+
"require": "./dist/cjs/components/CustomImageUploader.js"
|
|
69
72
|
},
|
|
70
73
|
"./components/customFields": {
|
|
71
|
-
"import": "./esm/components/customFields.js",
|
|
72
|
-
"require": "./cjs/components/customFields.js"
|
|
74
|
+
"import": "./dist/esm/components/customFields.js",
|
|
75
|
+
"require": "./dist/cjs/components/customFields.js"
|
|
73
76
|
},
|
|
74
77
|
"./components/colors": {
|
|
75
|
-
"import": "./esm/components/colors.js",
|
|
76
|
-
"require": "./cjs/components/colors.js"
|
|
78
|
+
"import": "./dist/esm/components/colors.js",
|
|
79
|
+
"require": "./dist/cjs/components/colors.js"
|
|
77
80
|
}
|
|
78
81
|
},
|
|
79
82
|
"sideEffects": [
|
|
@@ -85,25 +88,19 @@
|
|
|
85
88
|
"url": "https://git.elliemae.io/platform-ui/dimsum.git"
|
|
86
89
|
},
|
|
87
90
|
"engines": {
|
|
88
|
-
"
|
|
89
|
-
"node": ">=
|
|
91
|
+
"pnpm": ">=6",
|
|
92
|
+
"node": ">=16"
|
|
90
93
|
},
|
|
91
94
|
"author": "ICE MT",
|
|
92
|
-
"scripts": {
|
|
93
|
-
"dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
|
|
94
|
-
"prebuild": "exit 0",
|
|
95
|
-
"predev": "exit 0",
|
|
96
|
-
"build": "node ../../scripts/build/build.js"
|
|
97
|
-
},
|
|
98
95
|
"dependencies": {
|
|
99
|
-
"@elliemae/ds-button": "2.3.0-alpha.
|
|
100
|
-
"@elliemae/ds-dropdownmenu": "2.3.0-alpha.
|
|
101
|
-
"@elliemae/ds-icons": "2.3.0-alpha.
|
|
102
|
-
"@elliemae/ds-imagelibrarymodal": "2.3.0-alpha.
|
|
103
|
-
"@elliemae/ds-modal": "2.3.0-alpha.
|
|
104
|
-
"@elliemae/ds-shared": "2.3.0-alpha.
|
|
105
|
-
"@elliemae/ds-tooltip": "2.3.0-alpha.
|
|
106
|
-
"@elliemae/ds-uploader": "2.3.0-alpha.
|
|
96
|
+
"@elliemae/ds-button": "2.3.0-alpha.9",
|
|
97
|
+
"@elliemae/ds-dropdownmenu": "2.3.0-alpha.9",
|
|
98
|
+
"@elliemae/ds-icons": "2.3.0-alpha.9",
|
|
99
|
+
"@elliemae/ds-imagelibrarymodal": "2.3.0-alpha.9",
|
|
100
|
+
"@elliemae/ds-modal": "2.3.0-alpha.9",
|
|
101
|
+
"@elliemae/ds-shared": "2.3.0-alpha.9",
|
|
102
|
+
"@elliemae/ds-tooltip": "2.3.0-alpha.9",
|
|
103
|
+
"@elliemae/ds-uploader": "2.3.0-alpha.9",
|
|
107
104
|
"prop-types": "~15.7.2",
|
|
108
105
|
"quill-blot-formatter": "~1.0.5",
|
|
109
106
|
"quill-delta": "4.2.2",
|
|
@@ -112,12 +109,17 @@
|
|
|
112
109
|
},
|
|
113
110
|
"publishConfig": {
|
|
114
111
|
"access": "public",
|
|
115
|
-
"
|
|
116
|
-
"generateSubmodules": true
|
|
112
|
+
"typeSafety": false
|
|
117
113
|
},
|
|
118
114
|
"peerDependencies": {
|
|
119
115
|
"lodash": "^4.17.21",
|
|
120
116
|
"react": "~17.0.2",
|
|
121
117
|
"react-dom": "^17.0.2"
|
|
118
|
+
},
|
|
119
|
+
"scripts": {
|
|
120
|
+
"dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
|
|
121
|
+
"prebuild": "exit 0",
|
|
122
|
+
"predev": "exit 0",
|
|
123
|
+
"build": "node ../../scripts/build/build.js"
|
|
122
124
|
}
|
|
123
125
|
}
|