@elliemae/ds-separator 3.0.0-alpha.0 → 3.0.0-alpha.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/DSSeparator.js
CHANGED
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
var __create = Object.create;
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defProps = Object.defineProperties;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
8
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
9
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
11
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
12
|
+
var __spreadValues = (a, b) => {
|
|
13
|
+
for (var prop in b || (b = {}))
|
|
14
|
+
if (__hasOwnProp.call(b, prop))
|
|
15
|
+
__defNormalProp(a, prop, b[prop]);
|
|
16
|
+
if (__getOwnPropSymbols)
|
|
17
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
18
|
+
if (__propIsEnum.call(b, prop))
|
|
19
|
+
__defNormalProp(a, prop, b[prop]);
|
|
20
|
+
}
|
|
21
|
+
return a;
|
|
22
|
+
};
|
|
23
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
7
24
|
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
25
|
var __export = (target, all) => {
|
|
9
26
|
for (var name in all)
|
|
@@ -69,8 +86,7 @@ const DSSeparator = ({
|
|
|
69
86
|
position,
|
|
70
87
|
className,
|
|
71
88
|
style
|
|
72
|
-
}) => /* @__PURE__ */ import_react.default.createElement(SeparatorWrapper, {
|
|
73
|
-
...containerProps,
|
|
89
|
+
}) => /* @__PURE__ */ import_react.default.createElement(SeparatorWrapper, __spreadProps(__spreadValues({}, containerProps), {
|
|
74
90
|
className,
|
|
75
91
|
classProps: {
|
|
76
92
|
margin,
|
|
@@ -79,7 +95,7 @@ const DSSeparator = ({
|
|
|
79
95
|
position
|
|
80
96
|
},
|
|
81
97
|
style
|
|
82
|
-
}, /* @__PURE__ */ import_react.default.createElement(Separator, {
|
|
98
|
+
}), /* @__PURE__ */ import_react.default.createElement(Separator, {
|
|
83
99
|
classProps: {
|
|
84
100
|
dashed,
|
|
85
101
|
margin,
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/DSSeparator.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
4
|
"sourcesContent": ["import React from 'react';\nimport { PropTypes, describe } from 'react-desc';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\n\nconst blockName = 'separator';\n\nconst MARGIN_SIZE = {\n S: 's',\n M: 'm',\n L: 'l',\n none: 'none',\n};\n\nconst POSITION = {\n INITIAL: 'initial',\n CENTER: 'center',\n END: 'end',\n};\n\nconst SeparatorWrapper = aggregatedClasses('div')(\n 'separator-wrapper',\n null,\n ({ margin, orientation, dashed, position }) => ({\n dashed,\n [margin]: margin,\n [orientation]: orientation,\n [position]: position,\n }),\n);\n\nconst Separator = aggregatedClasses('div')(\n blockName,\n null,\n ({ dashed, margin, orientation, type }) => ({\n dashed,\n [margin]: margin,\n [orientation]: orientation,\n [type]: type,\n }),\n);\n\nconst types = ['category-level', 'group-level', 'non-form'];\n\nconst DSSeparator = ({\n containerProps,\n dashed,\n margin,\n orientation,\n type,\n position,\n className,\n style,\n}) => (\n <SeparatorWrapper\n {...containerProps}\n className={className}\n classProps={{\n margin,\n orientation,\n dashed,\n position,\n }}\n style={style}\n >\n <Separator\n classProps={{\n dashed,\n margin,\n orientation,\n type,\n }}\n />\n </SeparatorWrapper>\n);\n\nDSSeparator.defaultProps = {\n containerProps: {},\n dashed: false,\n margin: MARGIN_SIZE.S,\n orientation: 'horizontal',\n type: 'category-level',\n position: POSITION.INITIAL,\n};\n\nconst props = {\n /** class for separator */\n className: PropTypes.string.description('class for separator'),\n /** style object for separator */\n style: PropTypes.object.description('style object for separator'),\n /** Injected props to wrapper element of component */\n containerProps: PropTypes.object.description(\n 'Injected props to wrapper element of component',\n ),\n /**\n * If the separator has to be dashed or solid\n */\n dashed: PropTypes.bool.description(\n 'If the separator has to be dashed or solid',\n ),\n /**\n * Amount of margin to be added to the separator\n */\n margin: PropTypes.oneOf(['s', 'm', 'l', 'none']).description(\n 'Amount of margin to be added to the separator',\n ),\n /**\n * Orientation 'horizontal' or 'vertical'\n */\n orientation: PropTypes.string.description(\n \"Orientation 'horizontal' or 'vertical'\",\n ),\n /**\n * ['category-level', 'group-level', 'non-form']\n */\n type: PropTypes.oneOf(types).description(\n \"['category-level', 'group-level', 'non-form']\",\n ),\n /**\n * ['initial', 'center', 'end']\n */\n position: PropTypes.oneOf(['initial', 'center', 'end']).description(\n \"['initial', 'center', 'end']\",\n ),\n};\n\nDSSeparator.propTypes = props;\n\nconst DSSeparatorWithSchema = describe(DSSeparator);\n\nDSSeparatorWithSchema.propTypes = props;\n\nexport { DSSeparator, DSSeparatorWithSchema };\nexport default DSSeparator;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,wBAAoC;AACpC,2BAAkC;AAElC,MAAM,YAAY;AAElB,MAAM,cAAc;AAAA,EAClB,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,MAAM;AAAA;AAGR,MAAM,WAAW;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UAAU,4BAAU,MAAM,CAAC,WAAW,UAAU,QAAQ,YACtD;AAAA;AAIJ,YAAY,YAAY;AAExB,MAAM,wBAAwB,gCAAS;AAEvC,sBAAsB,YAAY;AAGlC,IAAO,sBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/DSSeparator.js
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defProps = Object.defineProperties;
|
|
3
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __spreadValues = (a, b) => {
|
|
9
|
+
for (var prop in b || (b = {}))
|
|
10
|
+
if (__hasOwnProp.call(b, prop))
|
|
11
|
+
__defNormalProp(a, prop, b[prop]);
|
|
12
|
+
if (__getOwnPropSymbols)
|
|
13
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
+
if (__propIsEnum.call(b, prop))
|
|
15
|
+
__defNormalProp(a, prop, b[prop]);
|
|
16
|
+
}
|
|
17
|
+
return a;
|
|
18
|
+
};
|
|
19
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
1
20
|
import * as React from "react";
|
|
2
21
|
import React2 from "react";
|
|
3
22
|
import { PropTypes, describe } from "react-desc";
|
|
@@ -36,8 +55,7 @@ const DSSeparator = ({
|
|
|
36
55
|
position,
|
|
37
56
|
className,
|
|
38
57
|
style
|
|
39
|
-
}) => /* @__PURE__ */ React2.createElement(SeparatorWrapper, {
|
|
40
|
-
...containerProps,
|
|
58
|
+
}) => /* @__PURE__ */ React2.createElement(SeparatorWrapper, __spreadProps(__spreadValues({}, containerProps), {
|
|
41
59
|
className,
|
|
42
60
|
classProps: {
|
|
43
61
|
margin,
|
|
@@ -46,7 +64,7 @@ const DSSeparator = ({
|
|
|
46
64
|
position
|
|
47
65
|
},
|
|
48
66
|
style
|
|
49
|
-
}, /* @__PURE__ */ React2.createElement(Separator, {
|
|
67
|
+
}), /* @__PURE__ */ React2.createElement(Separator, {
|
|
50
68
|
classProps: {
|
|
51
69
|
dashed,
|
|
52
70
|
margin,
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/DSSeparator.tsx"],
|
|
4
4
|
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { PropTypes, describe } from 'react-desc';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\n\nconst blockName = 'separator';\n\nconst MARGIN_SIZE = {\n S: 's',\n M: 'm',\n L: 'l',\n none: 'none',\n};\n\nconst POSITION = {\n INITIAL: 'initial',\n CENTER: 'center',\n END: 'end',\n};\n\nconst SeparatorWrapper = aggregatedClasses('div')(\n 'separator-wrapper',\n null,\n ({ margin, orientation, dashed, position }) => ({\n dashed,\n [margin]: margin,\n [orientation]: orientation,\n [position]: position,\n }),\n);\n\nconst Separator = aggregatedClasses('div')(\n blockName,\n null,\n ({ dashed, margin, orientation, type }) => ({\n dashed,\n [margin]: margin,\n [orientation]: orientation,\n [type]: type,\n }),\n);\n\nconst types = ['category-level', 'group-level', 'non-form'];\n\nconst DSSeparator = ({\n containerProps,\n dashed,\n margin,\n orientation,\n type,\n position,\n className,\n style,\n}) => (\n <SeparatorWrapper\n {...containerProps}\n className={className}\n classProps={{\n margin,\n orientation,\n dashed,\n position,\n }}\n style={style}\n >\n <Separator\n classProps={{\n dashed,\n margin,\n orientation,\n type,\n }}\n />\n </SeparatorWrapper>\n);\n\nDSSeparator.defaultProps = {\n containerProps: {},\n dashed: false,\n margin: MARGIN_SIZE.S,\n orientation: 'horizontal',\n type: 'category-level',\n position: POSITION.INITIAL,\n};\n\nconst props = {\n /** class for separator */\n className: PropTypes.string.description('class for separator'),\n /** style object for separator */\n style: PropTypes.object.description('style object for separator'),\n /** Injected props to wrapper element of component */\n containerProps: PropTypes.object.description(\n 'Injected props to wrapper element of component',\n ),\n /**\n * If the separator has to be dashed or solid\n */\n dashed: PropTypes.bool.description(\n 'If the separator has to be dashed or solid',\n ),\n /**\n * Amount of margin to be added to the separator\n */\n margin: PropTypes.oneOf(['s', 'm', 'l', 'none']).description(\n 'Amount of margin to be added to the separator',\n ),\n /**\n * Orientation 'horizontal' or 'vertical'\n */\n orientation: PropTypes.string.description(\n \"Orientation 'horizontal' or 'vertical'\",\n ),\n /**\n * ['category-level', 'group-level', 'non-form']\n */\n type: PropTypes.oneOf(types).description(\n \"['category-level', 'group-level', 'non-form']\",\n ),\n /**\n * ['initial', 'center', 'end']\n */\n position: PropTypes.oneOf(['initial', 'center', 'end']).description(\n \"['initial', 'center', 'end']\",\n ),\n};\n\nDSSeparator.propTypes = props;\n\nconst DSSeparatorWithSchema = describe(DSSeparator);\n\nDSSeparatorWithSchema.propTypes = props;\n\nexport { DSSeparator, DSSeparatorWithSchema };\nexport default DSSeparator;\n"],
|
|
5
|
-
"mappings": "AAAA;ACAA;AACA;AACA;AAEA,MAAM,YAAY;AAElB,MAAM,cAAc;AAAA,EAClB,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,MAAM;AAAA;AAGR,MAAM,WAAW;AAAA,EACf,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,KAAK;AAAA;AAGP,MAAM,mBAAmB,kBAAkB,OACzC,qBACA,MACA,CAAC,EAAE,QAAQ,aAAa,QAAQ,eAAgB;AAAA,EAC9C;AAAA,GACC,SAAS;AAAA,GACT,cAAc;AAAA,GACd,WAAW;AAAA;AAIhB,MAAM,YAAY,kBAAkB,OAClC,WACA,MACA,CAAC,EAAE,QAAQ,Q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zB,gBAAgB;AAAA,EAChB,QAAQ;AAAA,EACR,QAAQ,YAAY;AAAA,EACpB,aAAa;AAAA,EACb,MAAM;AAAA,EACN,UAAU,SAAS;AAAA;AAGrB,MAAM,QAAQ;AAAA,EAEZ,WAAW,UAAU,OAAO,YAAY;AAAA,EAExC,OAAO,UAAU,OAAO,YAAY;AAAA,EAEpC,gBAAgB,UAAU,OAAO,YAC/B;AAAA,EAKF,QAAQ,UAAU,KAAK,YACrB;AAAA,EAKF,QAAQ,UAAU,MAAM,CAAC,KAAK,KAAK,KAAK,SAAS,YAC/C;AAAA,EAKF,aAAa,UAAU,OAAO,YAC5B;AAAA,EAKF,MAAM,UAAU,MAAM,OAAO,YAC3B;AAAA,EAKF,UAAU,UAAU,MAAM,CAAC,WAAW,UAAU,QAAQ,YACtD;AAAA;AAIJ,YAAY,YAAY;AAExB,MAAM,wBAAwB,SAAS;AAEvC,sBAAsB,YAAY;AAGlC,IAAO,sBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-separator",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Separator",
|
|
6
6
|
"files": [
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"indent": 4
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@elliemae/ds-classnames": "3.0.0-alpha.
|
|
42
|
+
"@elliemae/ds-classnames": "3.0.0-alpha.1",
|
|
43
43
|
"react-desc": "~4.1.3"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"dev": "cross-env NODE_ENV=development node ../../scripts/build/build.mjs --watch",
|
|
55
55
|
"test": "node ../../scripts/testing/test.mjs",
|
|
56
56
|
"lint": "node ../../scripts/lint.mjs",
|
|
57
|
+
"dts": "node ../../scripts/dts.mjs",
|
|
57
58
|
"build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs"
|
|
58
59
|
}
|
|
59
60
|
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
declare const DSSeparator: {
|
|
4
|
-
({ containerProps, dashed, margin, orientation, type, position, className, style, }: {
|
|
5
|
-
containerProps: any;
|
|
6
|
-
dashed: any;
|
|
7
|
-
margin: any;
|
|
8
|
-
orientation: any;
|
|
9
|
-
type: any;
|
|
10
|
-
position: any;
|
|
11
|
-
className: any;
|
|
12
|
-
style: any;
|
|
13
|
-
}): JSX.Element;
|
|
14
|
-
defaultProps: {
|
|
15
|
-
containerProps: {};
|
|
16
|
-
dashed: boolean;
|
|
17
|
-
margin: string;
|
|
18
|
-
orientation: string;
|
|
19
|
-
type: string;
|
|
20
|
-
position: string;
|
|
21
|
-
};
|
|
22
|
-
propTypes: {
|
|
23
|
-
/** class for separator */
|
|
24
|
-
className: {
|
|
25
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
26
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
27
|
-
};
|
|
28
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
29
|
-
};
|
|
30
|
-
/** style object for separator */
|
|
31
|
-
style: {
|
|
32
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
33
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
34
|
-
};
|
|
35
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
36
|
-
};
|
|
37
|
-
/** Injected props to wrapper element of component */
|
|
38
|
-
containerProps: {
|
|
39
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
40
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
41
|
-
};
|
|
42
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* If the separator has to be dashed or solid
|
|
46
|
-
*/
|
|
47
|
-
dashed: {
|
|
48
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
49
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
50
|
-
};
|
|
51
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* Amount of margin to be added to the separator
|
|
55
|
-
*/
|
|
56
|
-
margin: {
|
|
57
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
58
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
59
|
-
};
|
|
60
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* Orientation 'horizontal' or 'vertical'
|
|
64
|
-
*/
|
|
65
|
-
orientation: {
|
|
66
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
67
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
68
|
-
};
|
|
69
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* ['category-level', 'group-level', 'non-form']
|
|
73
|
-
*/
|
|
74
|
-
type: {
|
|
75
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
76
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
77
|
-
};
|
|
78
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
79
|
-
};
|
|
80
|
-
/**
|
|
81
|
-
* ['initial', 'center', 'end']
|
|
82
|
-
*/
|
|
83
|
-
position: {
|
|
84
|
-
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
85
|
-
deprecated: import("react-desc").PropTypesDescValidator;
|
|
86
|
-
};
|
|
87
|
-
isRequired: import("react-desc").PropTypesDescValue;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
declare const DSSeparatorWithSchema: {
|
|
92
|
-
(props?: unknown): JSX.Element;
|
|
93
|
-
propTypes: unknown;
|
|
94
|
-
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
95
|
-
};
|
|
96
|
-
export { DSSeparator, DSSeparatorWithSchema };
|
|
97
|
-
export default DSSeparator;
|
package/dist/types/index.d.ts
DELETED