@elliemae/ds-circular-progress-indicator 3.80.0-next.55 → 3.80.0-next.57
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/DSCircularProgressIndicator.js +60 -103
- package/dist/cjs/DSCircularProgressIndicator.js.map +2 -2
- package/dist/cjs/constants/index.js +158 -0
- package/dist/cjs/constants/index.js.map +7 -0
- package/dist/cjs/index.js +9 -6
- package/dist/cjs/index.js.map +3 -3
- package/dist/cjs/react-desc-prop-types.js +53 -0
- package/dist/cjs/react-desc-prop-types.js.map +7 -0
- package/dist/cjs/typescript-testing/slot-props.js +43 -0
- package/dist/cjs/typescript-testing/slot-props.js.map +7 -0
- package/dist/cjs/typescript-testing/typescript-circular-indeterminate-indicator-valid.js +108 -0
- package/dist/cjs/typescript-testing/typescript-circular-indeterminate-indicator-valid.js.map +7 -0
- package/dist/cjs/typescript-testing/typescript-circular-progress-indicator-valid.js +74 -0
- package/dist/cjs/typescript-testing/typescript-circular-progress-indicator-valid.js.map +7 -0
- package/dist/cjs/v2/DSCircularIndeterminateIndicator.js +22 -7
- package/dist/cjs/v2/DSCircularIndeterminateIndicator.js.map +2 -2
- package/dist/cjs/v2/index.js +0 -2
- package/dist/cjs/v2/index.js.map +2 -2
- package/dist/cjs/v2/react-desc-prop-types.js +6 -1
- package/dist/cjs/v2/react-desc-prop-types.js.map +2 -2
- package/dist/cjs/v2/styled.js +30 -8
- package/dist/cjs/v2/styled.js.map +2 -2
- package/dist/esm/DSCircularProgressIndicator.js +71 -104
- package/dist/esm/DSCircularProgressIndicator.js.map +2 -2
- package/dist/esm/constants/index.js +128 -0
- package/dist/esm/constants/index.js.map +7 -0
- package/dist/esm/index.js +11 -5
- package/dist/esm/index.js.map +3 -3
- package/dist/esm/react-desc-prop-types.js +23 -0
- package/dist/esm/react-desc-prop-types.js.map +7 -0
- package/dist/esm/typescript-testing/slot-props.js +20 -0
- package/dist/esm/typescript-testing/slot-props.js.map +7 -0
- package/dist/esm/typescript-testing/typescript-circular-indeterminate-indicator-valid.js +85 -0
- package/dist/esm/typescript-testing/typescript-circular-indeterminate-indicator-valid.js.map +7 -0
- package/dist/esm/typescript-testing/typescript-circular-progress-indicator-valid.js +51 -0
- package/dist/esm/typescript-testing/typescript-circular-progress-indicator-valid.js.map +7 -0
- package/dist/esm/v2/DSCircularIndeterminateIndicator.js +25 -9
- package/dist/esm/v2/DSCircularIndeterminateIndicator.js.map +2 -2
- package/dist/esm/v2/index.js +0 -1
- package/dist/esm/v2/index.js.map +2 -2
- package/dist/esm/v2/react-desc-prop-types.js +12 -2
- package/dist/esm/v2/react-desc-prop-types.js.map +2 -2
- package/dist/esm/v2/styled.js +31 -9
- package/dist/esm/v2/styled.js.map +2 -2
- package/dist/types/DSCircularProgressIndicator.d.ts +6 -26
- package/dist/types/constants/index.d.ts +83 -0
- package/dist/types/index.d.ts +5 -4
- package/dist/types/react-desc-prop-types.d.ts +22 -0
- package/dist/types/v2/index.d.ts +1 -1
- package/dist/types/v2/react-desc-prop-types.d.ts +17 -6
- package/package.json +10 -8
- package/dist/cjs/v2/constants.js +0 -80
- package/dist/cjs/v2/constants.js.map +0 -7
- package/dist/esm/v2/constants.js +0 -50
- package/dist/esm/v2/constants.js.map +0 -7
- package/dist/types/v2/constants.d.ts +0 -39
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
export declare const DSCircularIndeterminateIndicatorName = "DSCircularindeterminateindicator";
|
|
3
|
+
export declare const CIRCULAR_INDETERMINATE_INDICATOR_SLOTS: {
|
|
4
|
+
readonly ROOT: "root";
|
|
5
|
+
readonly SVG: "svg";
|
|
6
|
+
readonly LABEL: "label";
|
|
7
|
+
readonly CIRCLE: "circle";
|
|
8
|
+
readonly PATH: "path";
|
|
9
|
+
readonly RECT: "rect";
|
|
10
|
+
};
|
|
11
|
+
export declare const CIRCULAR_INDETERMINATE_INDICATOR_DATA_TESTID: {
|
|
12
|
+
readonly ROOT: "ds-circular-indeterminate-indicator-root";
|
|
13
|
+
readonly SVG: "ds-circularindeterminateindicator-svg";
|
|
14
|
+
readonly LABEL: "ds-circularindeterminateindicator-label";
|
|
15
|
+
readonly CIRCLE: "ds-circularindeterminateindicator-circle";
|
|
16
|
+
readonly PATH: "ds-circularindeterminateindicator-path";
|
|
17
|
+
readonly RECT: "ds-circularindeterminateindicator-rect";
|
|
18
|
+
};
|
|
19
|
+
export declare const DSCircularIndeterminateIndicatorSlots: {
|
|
20
|
+
readonly ROOT: "root";
|
|
21
|
+
readonly SVG: "svg";
|
|
22
|
+
readonly LABEL: "label";
|
|
23
|
+
readonly CIRCLE: "circle";
|
|
24
|
+
readonly PATH: "path";
|
|
25
|
+
readonly RECT: "rect";
|
|
26
|
+
};
|
|
27
|
+
export declare const DSCircularIndeterminateIndicatorDataTestIds: {
|
|
28
|
+
readonly ROOT: "ds-circularindeterminateindicator-root";
|
|
29
|
+
readonly SVG: "ds-circularindeterminateindicator-svg";
|
|
30
|
+
readonly LABEL: "ds-circularindeterminateindicator-label";
|
|
31
|
+
readonly CIRCLE: "ds-circularindeterminateindicator-circle";
|
|
32
|
+
readonly PATH: "ds-circularindeterminateindicator-path";
|
|
33
|
+
readonly RECT: "ds-circularindeterminateindicator-rect";
|
|
34
|
+
};
|
|
35
|
+
export declare const sizeToPx: {
|
|
36
|
+
xs: number;
|
|
37
|
+
s: number;
|
|
38
|
+
m: number;
|
|
39
|
+
l: number;
|
|
40
|
+
xl: number;
|
|
41
|
+
xxl: number;
|
|
42
|
+
};
|
|
43
|
+
export declare const sizeToWeight: {
|
|
44
|
+
xs: string;
|
|
45
|
+
s: string;
|
|
46
|
+
m: string;
|
|
47
|
+
l: string;
|
|
48
|
+
xl: string;
|
|
49
|
+
xxl: string;
|
|
50
|
+
};
|
|
51
|
+
export declare const colorToHex: {
|
|
52
|
+
light: string;
|
|
53
|
+
dark: string;
|
|
54
|
+
};
|
|
55
|
+
export declare const sizeToTextSize: {
|
|
56
|
+
xs: string;
|
|
57
|
+
s: string;
|
|
58
|
+
m: string;
|
|
59
|
+
l: string;
|
|
60
|
+
xl: string;
|
|
61
|
+
xxl: string;
|
|
62
|
+
};
|
|
63
|
+
export declare const DSCircularProgressIndicatorName = "CircularProgressIndicator";
|
|
64
|
+
export declare const CIRCULAR_PROGRESS_INDICATOR_DATA_TESTID: {
|
|
65
|
+
readonly INDICATOR: "circular-indicator";
|
|
66
|
+
readonly LABEL: "circular-indicator-label";
|
|
67
|
+
readonly BLUE_ARC: "circular-indicator-blue-arc";
|
|
68
|
+
};
|
|
69
|
+
export declare const CIRCULAR_PROGRESS_INDICATOR_TOOLTIP_ID = "circular-indicator-title";
|
|
70
|
+
interface LegacyGeometry {
|
|
71
|
+
sizePx?: number;
|
|
72
|
+
sizeLabel?: number;
|
|
73
|
+
strokeWidth: number;
|
|
74
|
+
trackWidth?: number;
|
|
75
|
+
markerHeight: string;
|
|
76
|
+
markerRefY: string;
|
|
77
|
+
grayArcStrokeDasharray: string;
|
|
78
|
+
grayArcStrokeDashoffset: string;
|
|
79
|
+
}
|
|
80
|
+
export declare const legacyBaseGeometry: LegacyGeometry;
|
|
81
|
+
export declare const legacyGeometryBySize: Record<string, Partial<LegacyGeometry>>;
|
|
82
|
+
export declare const legacyInheritedTypography: CSSProperties;
|
|
83
|
+
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import DSCircularProgressIndicator from './DSCircularProgressIndicator.js';
|
|
2
|
-
export { CircularProgressIndicatorWithSchema } from './DSCircularProgressIndicator.js';
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
1
|
+
import { DSCircularProgressIndicator } from './DSCircularProgressIndicator.js';
|
|
2
|
+
export { DSCircularProgressIndicator, CircularProgressIndicatorWithSchema } from './DSCircularProgressIndicator.js';
|
|
3
|
+
export { type DSCircularProgressIndicatorT } from './react-desc-prop-types.js';
|
|
4
|
+
export { DSCircularIndeterminateIndicator, DSCircularIndeterminateIndicatorWithSchema, type DSCircularIndeterminateIndicatorT, } from './v2/index.js';
|
|
5
|
+
export { DSCircularIndeterminateIndicatorName, CIRCULAR_INDETERMINATE_INDICATOR_SLOTS, CIRCULAR_INDETERMINATE_INDICATOR_DATA_TESTID, DSCircularIndeterminateIndicatorSlots, DSCircularIndeterminateIndicatorDataTestIds, } from './constants/index.js';
|
|
5
6
|
export default DSCircularProgressIndicator;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { DSPropTypesSchema, ValidationMap } from '@elliemae/ds-props-helpers';
|
|
2
|
+
export declare namespace DSCircularProgressIndicatorT {
|
|
3
|
+
type TShirtSizes = 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl' | 'xxxl';
|
|
4
|
+
interface DefaultProps {
|
|
5
|
+
size: TShirtSizes | Uppercase<TShirtSizes>;
|
|
6
|
+
showLabel: boolean;
|
|
7
|
+
showTooltip: boolean;
|
|
8
|
+
waiting: boolean;
|
|
9
|
+
loading: boolean;
|
|
10
|
+
}
|
|
11
|
+
interface OptionalProps {
|
|
12
|
+
}
|
|
13
|
+
interface RequiredProps {
|
|
14
|
+
}
|
|
15
|
+
interface Props extends Partial<DefaultProps>, OptionalProps, RequiredProps {
|
|
16
|
+
}
|
|
17
|
+
interface InternalProps extends DefaultProps, OptionalProps, RequiredProps {
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export declare const defaultProps: DSCircularProgressIndicatorT.DefaultProps;
|
|
21
|
+
export declare const DSCircularProgressIndicatorPropTypes: DSPropTypesSchema<DSCircularProgressIndicatorT.Props>;
|
|
22
|
+
export declare const DSCircularProgressIndicatorPropTypesSchema: ValidationMap<DSCircularProgressIndicatorT.Props>;
|
package/dist/types/v2/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { DSCircularIndeterminateIndicator, DSCircularIndeterminateIndicatorWithSchema, } from './DSCircularIndeterminateIndicator.js';
|
|
2
|
-
export
|
|
2
|
+
export { type DSCircularIndeterminateIndicatorT } from './react-desc-prop-types.js';
|
|
@@ -1,9 +1,18 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { DSPropTypesSchema, GlobalAttributesT, ValidationMap, XstyledProps } from '@elliemae/ds-props-helpers';
|
|
2
|
+
import { type TypescriptHelpersT } from '@elliemae/ds-typescript-helpers';
|
|
2
3
|
import { type DSTooltipV3T } from '@elliemae/ds-tooltip-v3';
|
|
3
|
-
|
|
4
|
+
import { DSCircularIndeterminateIndicatorName, CIRCULAR_INDETERMINATE_INDICATOR_SLOTS } from '../constants/index.js';
|
|
4
5
|
export declare namespace DSCircularIndeterminateIndicatorT {
|
|
5
6
|
type TShirtSizes = 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';
|
|
6
7
|
type SupportedColors = 'light' | 'dark';
|
|
8
|
+
type SlotFunctionArguments = {
|
|
9
|
+
dsCircularindeterminateindicatorRoot: () => object;
|
|
10
|
+
dsCircularindeterminateindicatorSvg: () => object;
|
|
11
|
+
dsCircularindeterminateindicatorLabel: () => object;
|
|
12
|
+
dsCircularindeterminateindicatorCircle: () => object;
|
|
13
|
+
dsCircularindeterminateindicatorPath: () => object;
|
|
14
|
+
dsCircularindeterminateindicatorRect: () => object;
|
|
15
|
+
};
|
|
7
16
|
interface DefaultProps {
|
|
8
17
|
size: TShirtSizes;
|
|
9
18
|
color: SupportedColors;
|
|
@@ -13,13 +22,15 @@ export declare namespace DSCircularIndeterminateIndicatorT {
|
|
|
13
22
|
inline: boolean;
|
|
14
23
|
tooltipStartPlacementPreference: DSTooltipV3T.Placement;
|
|
15
24
|
}
|
|
16
|
-
interface OptionalProps {
|
|
25
|
+
interface OptionalProps extends TypescriptHelpersT.PropsForGlobalOnSlots<typeof DSCircularIndeterminateIndicatorName, typeof CIRCULAR_INDETERMINATE_INDICATOR_SLOTS> {
|
|
17
26
|
}
|
|
18
27
|
interface RequiredProps {
|
|
19
28
|
}
|
|
20
|
-
interface Props extends Partial<DefaultProps>, OptionalProps, Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps>, XstyledProps, RequiredProps {
|
|
29
|
+
interface Props extends Partial<DefaultProps>, OptionalProps, Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof OptionalProps>, XstyledProps, RequiredProps {
|
|
21
30
|
}
|
|
22
|
-
interface InternalProps extends DefaultProps, OptionalProps, Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps>, XstyledProps, RequiredProps {
|
|
31
|
+
interface InternalProps extends DefaultProps, OptionalProps, Omit<GlobalAttributesT<HTMLButtonElement>, keyof DefaultProps | keyof OptionalProps>, XstyledProps, RequiredProps {
|
|
23
32
|
}
|
|
24
33
|
}
|
|
25
|
-
export declare const
|
|
34
|
+
export declare const defaultProps: DSCircularIndeterminateIndicatorT.DefaultProps;
|
|
35
|
+
export declare const CircularIndeterminateIndicatorPropTypes: DSPropTypesSchema<DSCircularIndeterminateIndicatorT.Props>;
|
|
36
|
+
export declare const CircularIndeterminateIndicatorPropTypesSchema: ValidationMap<DSCircularIndeterminateIndicatorT.Props>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-circular-progress-indicator",
|
|
3
|
-
"version": "3.80.0-next.
|
|
3
|
+
"version": "3.80.0-next.57",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Circular progress indicator",
|
|
6
6
|
"files": [
|
|
@@ -36,17 +36,19 @@
|
|
|
36
36
|
"indent": 4
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@elliemae/ds-classnames": "3.80.0-next.
|
|
40
|
-
"@elliemae/ds-grid": "3.80.0-next.
|
|
41
|
-
"@elliemae/ds-props-helpers": "3.80.0-next.
|
|
42
|
-
"@elliemae/ds-system": "3.80.0-next.
|
|
43
|
-
"@elliemae/ds-tooltip-v3": "3.80.0-next.
|
|
39
|
+
"@elliemae/ds-classnames": "3.80.0-next.57",
|
|
40
|
+
"@elliemae/ds-grid": "3.80.0-next.57",
|
|
41
|
+
"@elliemae/ds-props-helpers": "3.80.0-next.57",
|
|
42
|
+
"@elliemae/ds-system": "3.80.0-next.57",
|
|
43
|
+
"@elliemae/ds-tooltip-v3": "3.80.0-next.57",
|
|
44
|
+
"@elliemae/ds-typescript-helpers": "3.80.0-next.57",
|
|
45
|
+
"@elliemae/ds-typography": "3.80.0-next.57",
|
|
44
46
|
"styled-components": "~5.3.11",
|
|
45
47
|
"uid": "^2.0.2"
|
|
46
48
|
},
|
|
47
49
|
"devDependencies": {
|
|
48
|
-
"@elliemae/ds-monorepo-devops": "3.80.0-next.
|
|
49
|
-
"@elliemae/ds-test-utils": "3.80.0-next.
|
|
50
|
+
"@elliemae/ds-monorepo-devops": "3.80.0-next.57",
|
|
51
|
+
"@elliemae/ds-test-utils": "3.80.0-next.57",
|
|
50
52
|
"jest": "^30.0.0"
|
|
51
53
|
},
|
|
52
54
|
"peerDependencies": {
|
package/dist/cjs/v2/constants.js
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var constants_exports = {};
|
|
30
|
-
__export(constants_exports, {
|
|
31
|
-
DSCircularIndeterminateIndicatorDataTestIds: () => DSCircularIndeterminateIndicatorDataTestIds,
|
|
32
|
-
DSCircularIndeterminateIndicatorName: () => DSCircularIndeterminateIndicatorName,
|
|
33
|
-
DSCircularIndeterminateIndicatorSlots: () => DSCircularIndeterminateIndicatorSlots,
|
|
34
|
-
colorToHex: () => colorToHex,
|
|
35
|
-
sizeToPx: () => sizeToPx,
|
|
36
|
-
sizeToTextSize: () => sizeToTextSize,
|
|
37
|
-
sizeToWeight: () => sizeToWeight
|
|
38
|
-
});
|
|
39
|
-
module.exports = __toCommonJS(constants_exports);
|
|
40
|
-
var React = __toESM(require("react"));
|
|
41
|
-
var import_ds_system = require("@elliemae/ds-system");
|
|
42
|
-
const DSCircularIndeterminateIndicatorName = "DSCircularindeterminateindicator";
|
|
43
|
-
const DSCircularIndeterminateIndicatorSlots = {
|
|
44
|
-
ROOT: "root",
|
|
45
|
-
SVG: "svg",
|
|
46
|
-
LABEL: "label"
|
|
47
|
-
};
|
|
48
|
-
const sizeToPx = {
|
|
49
|
-
xs: 16,
|
|
50
|
-
s: 24,
|
|
51
|
-
m: 32,
|
|
52
|
-
l: 48,
|
|
53
|
-
xl: 56,
|
|
54
|
-
xxl: 64
|
|
55
|
-
};
|
|
56
|
-
const sizeToWeight = {
|
|
57
|
-
xs: "3px",
|
|
58
|
-
s: "3px",
|
|
59
|
-
m: "3px",
|
|
60
|
-
l: "4px",
|
|
61
|
-
xl: "5px",
|
|
62
|
-
xxl: "6px"
|
|
63
|
-
};
|
|
64
|
-
const colorToHex = {
|
|
65
|
-
light: "#EBF6FF",
|
|
66
|
-
dark: "#1394E5"
|
|
67
|
-
};
|
|
68
|
-
const sizeToTextSize = {
|
|
69
|
-
xs: "12px",
|
|
70
|
-
s: "12px",
|
|
71
|
-
m: "12px",
|
|
72
|
-
l: "13px",
|
|
73
|
-
xl: "14px",
|
|
74
|
-
xxl: "16px"
|
|
75
|
-
};
|
|
76
|
-
const DSCircularIndeterminateIndicatorDataTestIds = (0, import_ds_system.slotObjectToDataTestIds)(
|
|
77
|
-
DSCircularIndeterminateIndicatorName,
|
|
78
|
-
DSCircularIndeterminateIndicatorSlots
|
|
79
|
-
);
|
|
80
|
-
//# sourceMappingURL=constants.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/v2/constants.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import { slotObjectToDataTestIds } from '@elliemae/ds-system';\n\nexport const DSCircularIndeterminateIndicatorName = 'DSCircularindeterminateindicator';\n\nexport const DSCircularIndeterminateIndicatorSlots = {\n ROOT: 'root',\n SVG: 'svg',\n LABEL: 'label',\n};\n\nexport const sizeToPx = {\n xs: 16,\n s: 24,\n m: 32,\n l: 48,\n xl: 56,\n xxl: 64,\n};\n\nexport const sizeToWeight = {\n xs: '3px',\n s: '3px',\n m: '3px',\n l: '4px',\n xl: '5px',\n xxl: '6px',\n};\n\nexport const colorToHex = {\n light: '#EBF6FF',\n dark: '#1394E5',\n};\n\nexport const sizeToTextSize = {\n xs: '12px',\n s: '12px',\n m: '12px',\n l: '13px',\n xl: '14px',\n xxl: '16px',\n};\n\nexport const DSCircularIndeterminateIndicatorDataTestIds = slotObjectToDataTestIds(\n DSCircularIndeterminateIndicatorName,\n DSCircularIndeterminateIndicatorSlots,\n);\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAwC;AAEjC,MAAM,uCAAuC;AAE7C,MAAM,wCAAwC;AAAA,EACnD,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AACT;AAEO,MAAM,WAAW;AAAA,EACtB,IAAI;AAAA,EACJ,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,KAAK;AACP;AAEO,MAAM,eAAe;AAAA,EAC1B,IAAI;AAAA,EACJ,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,KAAK;AACP;AAEO,MAAM,aAAa;AAAA,EACxB,OAAO;AAAA,EACP,MAAM;AACR;AAEO,MAAM,iBAAiB;AAAA,EAC5B,IAAI;AAAA,EACJ,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,KAAK;AACP;AAEO,MAAM,kDAA8C;AAAA,EACzD;AAAA,EACA;AACF;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
package/dist/esm/v2/constants.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { slotObjectToDataTestIds } from "@elliemae/ds-system";
|
|
3
|
-
const DSCircularIndeterminateIndicatorName = "DSCircularindeterminateindicator";
|
|
4
|
-
const DSCircularIndeterminateIndicatorSlots = {
|
|
5
|
-
ROOT: "root",
|
|
6
|
-
SVG: "svg",
|
|
7
|
-
LABEL: "label"
|
|
8
|
-
};
|
|
9
|
-
const sizeToPx = {
|
|
10
|
-
xs: 16,
|
|
11
|
-
s: 24,
|
|
12
|
-
m: 32,
|
|
13
|
-
l: 48,
|
|
14
|
-
xl: 56,
|
|
15
|
-
xxl: 64
|
|
16
|
-
};
|
|
17
|
-
const sizeToWeight = {
|
|
18
|
-
xs: "3px",
|
|
19
|
-
s: "3px",
|
|
20
|
-
m: "3px",
|
|
21
|
-
l: "4px",
|
|
22
|
-
xl: "5px",
|
|
23
|
-
xxl: "6px"
|
|
24
|
-
};
|
|
25
|
-
const colorToHex = {
|
|
26
|
-
light: "#EBF6FF",
|
|
27
|
-
dark: "#1394E5"
|
|
28
|
-
};
|
|
29
|
-
const sizeToTextSize = {
|
|
30
|
-
xs: "12px",
|
|
31
|
-
s: "12px",
|
|
32
|
-
m: "12px",
|
|
33
|
-
l: "13px",
|
|
34
|
-
xl: "14px",
|
|
35
|
-
xxl: "16px"
|
|
36
|
-
};
|
|
37
|
-
const DSCircularIndeterminateIndicatorDataTestIds = slotObjectToDataTestIds(
|
|
38
|
-
DSCircularIndeterminateIndicatorName,
|
|
39
|
-
DSCircularIndeterminateIndicatorSlots
|
|
40
|
-
);
|
|
41
|
-
export {
|
|
42
|
-
DSCircularIndeterminateIndicatorDataTestIds,
|
|
43
|
-
DSCircularIndeterminateIndicatorName,
|
|
44
|
-
DSCircularIndeterminateIndicatorSlots,
|
|
45
|
-
colorToHex,
|
|
46
|
-
sizeToPx,
|
|
47
|
-
sizeToTextSize,
|
|
48
|
-
sizeToWeight
|
|
49
|
-
};
|
|
50
|
-
//# sourceMappingURL=constants.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/v2/constants.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { slotObjectToDataTestIds } from '@elliemae/ds-system';\n\nexport const DSCircularIndeterminateIndicatorName = 'DSCircularindeterminateindicator';\n\nexport const DSCircularIndeterminateIndicatorSlots = {\n ROOT: 'root',\n SVG: 'svg',\n LABEL: 'label',\n};\n\nexport const sizeToPx = {\n xs: 16,\n s: 24,\n m: 32,\n l: 48,\n xl: 56,\n xxl: 64,\n};\n\nexport const sizeToWeight = {\n xs: '3px',\n s: '3px',\n m: '3px',\n l: '4px',\n xl: '5px',\n xxl: '6px',\n};\n\nexport const colorToHex = {\n light: '#EBF6FF',\n dark: '#1394E5',\n};\n\nexport const sizeToTextSize = {\n xs: '12px',\n s: '12px',\n m: '12px',\n l: '13px',\n xl: '14px',\n xxl: '16px',\n};\n\nexport const DSCircularIndeterminateIndicatorDataTestIds = slotObjectToDataTestIds(\n DSCircularIndeterminateIndicatorName,\n DSCircularIndeterminateIndicatorSlots,\n);\n"],
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,+BAA+B;AAEjC,MAAM,uCAAuC;AAE7C,MAAM,wCAAwC;AAAA,EACnD,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AACT;AAEO,MAAM,WAAW;AAAA,EACtB,IAAI;AAAA,EACJ,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,KAAK;AACP;AAEO,MAAM,eAAe;AAAA,EAC1B,IAAI;AAAA,EACJ,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,KAAK;AACP;AAEO,MAAM,aAAa;AAAA,EACxB,OAAO;AAAA,EACP,MAAM;AACR;AAEO,MAAM,iBAAiB;AAAA,EAC5B,IAAI;AAAA,EACJ,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,KAAK;AACP;AAEO,MAAM,8CAA8C;AAAA,EACzD;AAAA,EACA;AACF;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export declare const DSCircularIndeterminateIndicatorName = "DSCircularindeterminateindicator";
|
|
2
|
-
export declare const DSCircularIndeterminateIndicatorSlots: {
|
|
3
|
-
ROOT: string;
|
|
4
|
-
SVG: string;
|
|
5
|
-
LABEL: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const sizeToPx: {
|
|
8
|
-
xs: number;
|
|
9
|
-
s: number;
|
|
10
|
-
m: number;
|
|
11
|
-
l: number;
|
|
12
|
-
xl: number;
|
|
13
|
-
xxl: number;
|
|
14
|
-
};
|
|
15
|
-
export declare const sizeToWeight: {
|
|
16
|
-
xs: string;
|
|
17
|
-
s: string;
|
|
18
|
-
m: string;
|
|
19
|
-
l: string;
|
|
20
|
-
xl: string;
|
|
21
|
-
xxl: string;
|
|
22
|
-
};
|
|
23
|
-
export declare const colorToHex: {
|
|
24
|
-
light: string;
|
|
25
|
-
dark: string;
|
|
26
|
-
};
|
|
27
|
-
export declare const sizeToTextSize: {
|
|
28
|
-
xs: string;
|
|
29
|
-
s: string;
|
|
30
|
-
m: string;
|
|
31
|
-
l: string;
|
|
32
|
-
xl: string;
|
|
33
|
-
xxl: string;
|
|
34
|
-
};
|
|
35
|
-
export declare const DSCircularIndeterminateIndicatorDataTestIds: {
|
|
36
|
-
ROOT: `ds-circularindeterminateindicator-${string}`;
|
|
37
|
-
SVG: `ds-circularindeterminateindicator-${string}`;
|
|
38
|
-
LABEL: `ds-circularindeterminateindicator-${string}`;
|
|
39
|
-
};
|