@draftbit/core 46.10.3-a0279d.2 → 46.10.3-af3058.2

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.
Files changed (33) hide show
  1. package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js +5 -23
  2. package/lib/commonjs/components/Checkbox/context.js +1 -1
  3. package/package.json +3 -3
  4. package/lib/commonjs/components/DeprecatedCardWrapper.js +0 -40
  5. package/lib/commonjs/components/DeprecatedFAB.js +0 -157
  6. package/lib/commonjs/components/ProgressIndicator.js +0 -55
  7. package/lib/commonjs/components/ResizeMode.js +0 -5
  8. package/lib/commonjs/mappings/ProgressIndicator.js +0 -188
  9. package/lib/module/components/DeprecatedCardWrapper.js +0 -32
  10. package/lib/module/components/DeprecatedFAB.js +0 -147
  11. package/lib/module/components/ProgressIndicator.js +0 -45
  12. package/lib/module/components/ResizeMode.js +0 -1
  13. package/lib/module/mappings/ProgressIndicator.js +0 -181
  14. package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts +0 -15
  15. package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts.map +0 -1
  16. package/lib/typescript/src/components/DeprecatedFAB.d.ts +0 -56
  17. package/lib/typescript/src/components/DeprecatedFAB.d.ts.map +0 -1
  18. package/lib/typescript/src/components/ProgressIndicator.d.ts +0 -24
  19. package/lib/typescript/src/components/ProgressIndicator.d.ts.map +0 -1
  20. package/lib/typescript/src/components/ResizeMode.d.ts +0 -2
  21. package/lib/typescript/src/components/ResizeMode.d.ts.map +0 -1
  22. package/lib/typescript/src/mappings/ProgressIndicator.d.ts +0 -181
  23. package/lib/typescript/src/mappings/ProgressIndicator.d.ts.map +0 -1
  24. package/src/components/DeprecatedCardWrapper.js +0 -18
  25. package/src/components/DeprecatedCardWrapper.tsx +0 -46
  26. package/src/components/DeprecatedFAB.js +0 -114
  27. package/src/components/DeprecatedFAB.tsx +0 -231
  28. package/src/components/ProgressIndicator.js +0 -27
  29. package/src/components/ProgressIndicator.tsx +0 -71
  30. package/src/components/ResizeMode.js +0 -1
  31. package/src/components/ResizeMode.ts +0 -7
  32. package/src/mappings/ProgressIndicator.js +0 -181
  33. package/src/mappings/ProgressIndicator.ts +0 -190
@@ -1,147 +0,0 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
- import * as React from "react";
3
- import { ActivityIndicator, View, StyleSheet, Pressable } from "react-native";
4
- import color from "color";
5
- import Config from "./Config";
6
- import Text from "./Text";
7
- import Elevation from "./Elevation";
8
- import { withTheme } from "../theming";
9
- const FAB = _ref => {
10
- let {
11
- Icon,
12
- icon,
13
- disabled = false,
14
- type = "solid",
15
- loading = false,
16
- color: colorOverride,
17
- label,
18
- onPress,
19
- elevation = 0,
20
- style,
21
- theme: {
22
- colors,
23
- disabledOpacity,
24
- roundness,
25
- typography
26
- },
27
- ...rest
28
- } = _ref;
29
- let backgroundColor, borderColor, textColor, borderWidth;
30
- const buttonColor = colorOverride || colors.primary;
31
- if (type === "standard" || type === "extended" || type === "fixed") {
32
- backgroundColor = buttonColor;
33
- if (disabled) {
34
- textColor = color(colors.surface).alpha(disabledOpacity).rgb().string();
35
- } else {
36
- textColor = colors.surface;
37
- }
38
- } else {
39
- backgroundColor = "transparent";
40
- if (disabled) {
41
- textColor = color(buttonColor).alpha(disabledOpacity).rgb().string();
42
- } else {
43
- textColor = buttonColor;
44
- }
45
- }
46
- if (type === "outline") {
47
- if (disabled) {
48
- borderColor = color(buttonColor).alpha(disabledOpacity).rgb().string();
49
- } else {
50
- borderColor = buttonColor;
51
- }
52
- borderWidth = StyleSheet.hairlineWidth;
53
- } else {
54
- borderColor = "transparent";
55
- borderWidth = 0;
56
- }
57
- const buttonStyle = {
58
- backgroundColor,
59
- borderColor,
60
- borderWidth,
61
- borderRadius: roundness,
62
- alignItems: "center",
63
- justifyContent: "center"
64
- };
65
- const buttonStyles = [styles.button, buttonStyle];
66
- const contentStyle = [styles.content];
67
- const textStyle = {
68
- textAlign: "center",
69
- color: textColor
70
- };
71
- const iconStyle = [styles.icon, {
72
- width: Config.buttonIconSize
73
- }];
74
- if (type === "standard" || type === "outline") {
75
- buttonStyle.width = Config.FABSize;
76
- buttonStyle.height = Config.FABSize;
77
- buttonStyle.borderRadius = Config.FABBorderRadius;
78
- contentStyle.push({
79
- width: Config.FABSize,
80
- height: Config.FABSize
81
- });
82
- }
83
- if (type === "extended" || type === "fixed") {
84
- iconStyle.push({
85
- marginLeft: 16,
86
- marginRight: -8
87
- });
88
- textStyle.margin = 16;
89
- }
90
- if (type === "fixed") {
91
- buttonStyles.push({
92
- height: Config.FABFixedHeight,
93
- alignSelf: "stretch"
94
- });
95
- }
96
- return /*#__PURE__*/React.createElement(Elevation, {
97
- style: [{
98
- elevation
99
- }, style]
100
- }, /*#__PURE__*/React.createElement(Pressable, _extends({}, rest, {
101
- onPress: onPress,
102
- accessibilityState: {
103
- disabled
104
- },
105
- accessibilityRole: "button",
106
- disabled: disabled || loading,
107
- style: buttonStyles
108
- }), /*#__PURE__*/React.createElement(View, {
109
- style: styles.content
110
- }, icon && loading !== true ? /*#__PURE__*/React.createElement(View, {
111
- style: iconStyle
112
- }, /*#__PURE__*/React.createElement(Icon, {
113
- name: icon,
114
- size: Config.buttonIconSize,
115
- color: textColor
116
- })) : null, loading ? /*#__PURE__*/React.createElement(ActivityIndicator, {
117
- size: "small",
118
- color: textColor,
119
- style: iconStyle
120
- }) : null, label ? /*#__PURE__*/React.createElement(Text, {
121
- numberOfLines: 1,
122
- style: [textStyle, typography.button]
123
- }, label) : null)));
124
- };
125
- const styles = StyleSheet.create({
126
- button: {
127
- borderStyle: "solid"
128
- },
129
- content: {
130
- flexDirection: "row",
131
- alignItems: "center",
132
- justifyContent: "center"
133
- },
134
- icon: {
135
- alignItems: "center",
136
- justifyContent: "center",
137
- width: Config.buttonIconSize
138
- },
139
- fixed: {
140
- left: 0,
141
- right: 0,
142
- bottom: 0,
143
- height: 64,
144
- borderRadius: 0
145
- }
146
- });
147
- export default withTheme(FAB);
@@ -1,45 +0,0 @@
1
- import * as React from "react";
2
- import StepIndicator from "./StepIndicator";
3
- import { withTheme } from "../theming";
4
- const ProgressIndicator = _ref => {
5
- let {
6
- numberOfSteps,
7
- currentStep,
8
- currentStepStrokeWidth = 3,
9
- stepStrokeCurrentColor = "primary",
10
- stepIndicatorSize,
11
- currentStepIndicatorSize,
12
- stepIndicatorCurrentColor,
13
- stepIndicatorLabelCurrentColor,
14
- stepIndicatorLabelFontSize = 12,
15
- stepNumberFinishedColor = "strongInverse",
16
- stepNumberUnfinishedColor = "primary",
17
- unfinishedColor = "light",
18
- finishedColor = "primary",
19
- theme
20
- } = _ref;
21
- const currentPosition = currentStep - 1;
22
- return /*#__PURE__*/React.createElement(StepIndicator, {
23
- stepCount: numberOfSteps,
24
- currentPosition: currentPosition,
25
- customStyles: {
26
- stepIndicatorSize,
27
- currentStepIndicatorSize: currentStepIndicatorSize ? currentStepIndicatorSize : stepIndicatorSize,
28
- stepStrokeFinishedColor: finishedColor,
29
- stepStrokeUnFinishedColor: unfinishedColor,
30
- separatorFinishedColor: finishedColor,
31
- separatorUnFinishedColor: unfinishedColor,
32
- stepIndicatorFinishedColor: finishedColor,
33
- stepIndicatorUnFinishedColor: unfinishedColor,
34
- currentStepStrokeWidth,
35
- stepStrokeCurrentColor: stepStrokeCurrentColor || stepIndicatorCurrentColor,
36
- stepIndicatorLabelUnFinishedColor: stepNumberUnfinishedColor,
37
- stepIndicatorLabelFinishedColor: stepNumberFinishedColor,
38
- stepIndicatorCurrentColor: stepIndicatorCurrentColor || unfinishedColor,
39
- stepIndicatorLabelCurrentColor: stepIndicatorLabelCurrentColor || stepNumberUnfinishedColor,
40
- stepIndicatorLabelFontSize,
41
- labelFontFamily: theme.typography.body1.fontFamily
42
- }
43
- });
44
- };
45
- export default withTheme(ProgressIndicator);
@@ -1 +0,0 @@
1
- export {};
@@ -1,181 +0,0 @@
1
- import { COMPONENT_TYPES, FORM_TYPES, GROUPS, PROP_TYPES, BLOCK_STYLES_SECTIONS } from "@draftbit/types";
2
- export const SEED_DATA = {
3
- name: "Progress Indicator",
4
- tag: "ProgressIndicator",
5
- description: "A component used to show current Step in a process",
6
- category: COMPONENT_TYPES.deprecated,
7
- stylesPanelSections: BLOCK_STYLES_SECTIONS,
8
- preview_image_url: "{CLOUDINARY_URL}/Control_Slider.png",
9
- supports_list_render: false,
10
- layout: {},
11
- props: {
12
- numberOfSteps: {
13
- group: GROUPS.data,
14
- label: "Number of Steps",
15
- description: "The border radius for the thumb",
16
- editable: true,
17
- required: false,
18
- formType: FORM_TYPES.number,
19
- propType: PROP_TYPES.NUMBER,
20
- min: 0,
21
- max: 10,
22
- step: 1,
23
- precision: 0,
24
- defaultValue: 5
25
- },
26
- currentStep: {
27
- group: GROUPS.data,
28
- label: "Current Step",
29
- description: "The step that the user is on",
30
- editable: true,
31
- required: false,
32
- formType: FORM_TYPES.number,
33
- propType: PROP_TYPES.NUMBER,
34
- min: 0,
35
- max: 10,
36
- step: 1,
37
- precision: 0,
38
- defaultValue: 5
39
- },
40
- stepIndicatorSize: {
41
- group: GROUPS.basic,
42
- label: "Step Size",
43
- description: "The size of the step circle",
44
- editable: true,
45
- required: false,
46
- formType: FORM_TYPES.number,
47
- propType: PROP_TYPES.NUMBER,
48
- min: 10,
49
- max: 100,
50
- step: 5,
51
- precision: 0,
52
- defaultValue: 25
53
- },
54
- stepIndicatorLabelFontSize: {
55
- group: GROUPS.basic,
56
- label: "Step Font Size",
57
- description: "The font size of the step number",
58
- editable: true,
59
- required: false,
60
- formType: FORM_TYPES.number,
61
- propType: PROP_TYPES.NUMBER,
62
- min: 6,
63
- max: 36,
64
- step: 1,
65
- precision: 0,
66
- defaultValue: 15
67
- },
68
- currentStepIndicatorLabelFontSize: {
69
- group: GROUPS.basic,
70
- label: "Current Step Font Size",
71
- description: "The font size of the current step number",
72
- editable: true,
73
- required: false,
74
- formType: FORM_TYPES.number,
75
- propType: PROP_TYPES.NUMBER,
76
- min: 6,
77
- max: 36,
78
- step: 1,
79
- precision: 0,
80
- defaultValue: 15
81
- },
82
- unfinishedColor: {
83
- group: GROUPS.basic,
84
- label: "Unfinished Color",
85
- description: "The color of the step and divider when the step is either not the current step or not finished",
86
- editable: true,
87
- required: false,
88
- formType: FORM_TYPES.color,
89
- propType: PROP_TYPES.THEME,
90
- defaultValue: null
91
- },
92
- finishedColor: {
93
- group: GROUPS.basic,
94
- label: "Finished Color",
95
- description: "The color of the step and divider when the step is the current step or finished",
96
- editable: true,
97
- required: false,
98
- formType: FORM_TYPES.color,
99
- propType: PROP_TYPES.THEME,
100
- defaultValue: null
101
- },
102
- stepNumberUnfinishedColor: {
103
- group: GROUPS.basic,
104
- label: "Unfinished Number Color",
105
- description: "The color of the number within the step when unfinished",
106
- editable: true,
107
- required: false,
108
- formType: FORM_TYPES.color,
109
- propType: PROP_TYPES.THEME,
110
- defaultValue: null
111
- },
112
- stepNumberFinishedColor: {
113
- group: GROUPS.basic,
114
- label: "Finished Number Color",
115
- description: "The color of the number within the step when finished",
116
- editable: true,
117
- required: false,
118
- formType: FORM_TYPES.color,
119
- propType: PROP_TYPES.THEME,
120
- defaultValue: null
121
- },
122
- stepIndicatorCurrentColor: {
123
- group: GROUPS.basic,
124
- label: "Current Step Color",
125
- description: "The color of current step circle",
126
- editable: true,
127
- required: false,
128
- formType: FORM_TYPES.color,
129
- propType: PROP_TYPES.THEME,
130
- defaultValue: null
131
- },
132
- stepIndicatorLabelCurrentColor: {
133
- group: GROUPS.basic,
134
- label: "Current Step Number Color",
135
- description: "The color of current number within the step circle",
136
- editable: true,
137
- required: false,
138
- formType: FORM_TYPES.color,
139
- propType: PROP_TYPES.THEME,
140
- defaultValue: null
141
- },
142
- stepStrokeCurrentColor: {
143
- group: GROUPS.basic,
144
- label: "Current Step Border Color",
145
- description: "The color of current border color of the step",
146
- editable: true,
147
- required: false,
148
- formType: FORM_TYPES.color,
149
- propType: PROP_TYPES.THEME,
150
- defaultValue: null
151
- },
152
- currentStepStrokeWidth: {
153
- group: GROUPS.basic,
154
- label: "Current Step Border Width",
155
- description: "The width of the border for the current step",
156
- editable: true,
157
- required: false,
158
- formType: FORM_TYPES.number,
159
- propType: PROP_TYPES.NUMBER,
160
- min: 1,
161
- max: 20,
162
- step: 1,
163
- precision: 0,
164
- defaultValue: 0
165
- },
166
- currentStepIndicatorSize: {
167
- group: GROUPS.basic,
168
- label: "Current Step Size",
169
- description: "The size of the current step circle",
170
- editable: true,
171
- required: false,
172
- formType: FORM_TYPES.number,
173
- propType: PROP_TYPES.NUMBER,
174
- min: 10,
175
- max: 100,
176
- step: 5,
177
- precision: 0,
178
- defaultValue: null
179
- }
180
- }
181
- };
@@ -1,15 +0,0 @@
1
- import React from "react";
2
- import { StyleProp, ViewStyle } from "react-native";
3
- import theme from "../styles/DefaultTheme";
4
- declare type Props = {
5
- numColumns?: number;
6
- children?: React.ReactNode;
7
- onPress?: () => void;
8
- style?: StyleProp<ViewStyle>;
9
- theme: typeof theme;
10
- };
11
- declare const _default: React.ComponentType<import("@draftbit/react-theme-provider").$Without<React.PropsWithChildren<Props>, "theme"> & {
12
- theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
13
- }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<React.PropsWithChildren<Props>> & React.FC<React.PropsWithChildren<Props>>, {}>;
14
- export default _default;
15
- //# sourceMappingURL=DeprecatedCardWrapper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DeprecatedCardWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/DeprecatedCardWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,MAAM,wBAAwB,CAAC;AAE3C,aAAK,KAAK,GAAG;IACX,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,KAAK,EAAE,OAAO,KAAK,CAAC;CACrB,CAAC;;;;AAiCF,wBAA+B"}
@@ -1,56 +0,0 @@
1
- import * as React from "react";
2
- import { StyleProp, ViewStyle, PressableProps } from "react-native";
3
- import type { Theme } from "../styles/DefaultTheme";
4
- import type { IconSlot } from "../interfaces/Icon";
5
- /**
6
- * A floating action button represents the primary action in an application.
7
- *
8
- * <div class="screenshots">
9
- * <img src="screenshots/fab-1.png" />
10
- * <img src="screenshots/fab-2.png" />
11
- * </div>
12
- *
13
- * ## Usage
14
- * ```js
15
- * import * as React from 'react';
16
- * import { StyleSheet } from 'react-native';
17
- * import { FAB } from '@draftbit/ui';
18
- *
19
- * const MyComponent = () => (
20
- * <FAB
21
- * style={styles.fab}
22
- * type="outline"
23
- * icon="add"
24
- * onPress={() => console.log('Pressed')}
25
- * />
26
- * );
27
- *
28
- * const styles = StyleSheet.create({
29
- * fab: {
30
- * position: 'absolute',
31
- * margin: 16,
32
- * right: 0,
33
- * bottom: 0,
34
- * },
35
- * })
36
- *
37
- * export default MyComponent;
38
- * ```
39
- */
40
- declare type Props = {
41
- disabled?: boolean;
42
- type?: "solid" | "extended" | "outline" | "fixed" | "standard";
43
- loading?: boolean;
44
- icon?: string;
45
- color?: string;
46
- label?: string;
47
- onPress: () => void;
48
- elevation?: number;
49
- theme: Theme;
50
- style?: StyleProp<ViewStyle>;
51
- } & PressableProps & IconSlot;
52
- declare const _default: React.ComponentType<import("@draftbit/react-theme-provider").$Without<React.PropsWithChildren<Props>, "theme"> & {
53
- theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
54
- }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<React.PropsWithChildren<Props>> & React.FC<React.PropsWithChildren<Props>>, {}>;
55
- export default _default;
56
- //# sourceMappingURL=DeprecatedFAB.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DeprecatedFAB.d.ts","sourceRoot":"","sources":["../../../../src/components/DeprecatedFAB.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAIL,SAAS,EACT,SAAS,EAGT,cAAc,EACf,MAAM,cAAc,CAAC;AAOtB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,aAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,CAAC;IAC/D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,GAAG,cAAc,GAChB,QAAQ,CAAC;;;;AAkKX,wBAA8B"}
@@ -1,24 +0,0 @@
1
- import * as React from "react";
2
- import themeT from "../styles/DefaultTheme";
3
- import { colorTypes } from "@draftbit/types";
4
- declare type Props = {
5
- numberOfSteps: number;
6
- currentStep: number;
7
- currentStepStrokeWidth?: number;
8
- stepStrokeCurrentColor?: colorTypes;
9
- stepIndicatorSize?: number;
10
- currentStepIndicatorSize?: number;
11
- stepIndicatorCurrentColor?: colorTypes;
12
- stepIndicatorLabelCurrentColor?: colorTypes;
13
- stepIndicatorLabelFontSize?: number;
14
- stepNumberFinishedColor?: colorTypes;
15
- stepNumberUnfinishedColor?: colorTypes;
16
- unfinishedColor?: colorTypes;
17
- finishedColor?: colorTypes;
18
- theme: typeof themeT;
19
- };
20
- declare const _default: React.ComponentType<import("@draftbit/react-theme-provider").$Without<React.PropsWithChildren<Props>, "theme"> & {
21
- theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
22
- }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<React.PropsWithChildren<Props>> & React.FC<React.PropsWithChildren<Props>>, {}>;
23
- export default _default;
24
- //# sourceMappingURL=ProgressIndicator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProgressIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/ProgressIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,aAAK,KAAK,GAAG;IACX,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,sBAAsB,CAAC,EAAE,UAAU,CAAC;IACpC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,yBAAyB,CAAC,EAAE,UAAU,CAAC;IACvC,8BAA8B,CAAC,EAAE,UAAU,CAAC;IAC5C,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,uBAAuB,CAAC,EAAE,UAAU,CAAC;IACrC,yBAAyB,CAAC,EAAE,UAAU,CAAC;IACvC,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B,aAAa,CAAC,EAAE,UAAU,CAAC;IAC3B,KAAK,EAAE,OAAO,MAAM,CAAC;CACtB,CAAC;;;;AAiDF,wBAA4C"}
@@ -1,2 +0,0 @@
1
- export declare type ResizeModeType = "cover" | "contain" | "stretch" | "repeat" | "center" | undefined;
2
- //# sourceMappingURL=ResizeMode.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResizeMode.d.ts","sourceRoot":"","sources":["../../../../src/components/ResizeMode.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc,GACtB,OAAO,GACP,SAAS,GACT,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,SAAS,CAAC"}
@@ -1,181 +0,0 @@
1
- export declare const SEED_DATA: {
2
- name: string;
3
- tag: string;
4
- description: string;
5
- category: string;
6
- stylesPanelSections: string[];
7
- preview_image_url: string;
8
- supports_list_render: boolean;
9
- layout: {};
10
- props: {
11
- numberOfSteps: {
12
- group: string;
13
- label: string;
14
- description: string;
15
- editable: boolean;
16
- required: boolean;
17
- formType: string;
18
- propType: string;
19
- min: number;
20
- max: number;
21
- step: number;
22
- precision: number;
23
- defaultValue: number;
24
- };
25
- currentStep: {
26
- group: string;
27
- label: string;
28
- description: string;
29
- editable: boolean;
30
- required: boolean;
31
- formType: string;
32
- propType: string;
33
- min: number;
34
- max: number;
35
- step: number;
36
- precision: number;
37
- defaultValue: number;
38
- };
39
- stepIndicatorSize: {
40
- group: string;
41
- label: string;
42
- description: string;
43
- editable: boolean;
44
- required: boolean;
45
- formType: string;
46
- propType: string;
47
- min: number;
48
- max: number;
49
- step: number;
50
- precision: number;
51
- defaultValue: number;
52
- };
53
- stepIndicatorLabelFontSize: {
54
- group: string;
55
- label: string;
56
- description: string;
57
- editable: boolean;
58
- required: boolean;
59
- formType: string;
60
- propType: string;
61
- min: number;
62
- max: number;
63
- step: number;
64
- precision: number;
65
- defaultValue: number;
66
- };
67
- currentStepIndicatorLabelFontSize: {
68
- group: string;
69
- label: string;
70
- description: string;
71
- editable: boolean;
72
- required: boolean;
73
- formType: string;
74
- propType: string;
75
- min: number;
76
- max: number;
77
- step: number;
78
- precision: number;
79
- defaultValue: number;
80
- };
81
- unfinishedColor: {
82
- group: string;
83
- label: string;
84
- description: string;
85
- editable: boolean;
86
- required: boolean;
87
- formType: string;
88
- propType: string;
89
- defaultValue: null;
90
- };
91
- finishedColor: {
92
- group: string;
93
- label: string;
94
- description: string;
95
- editable: boolean;
96
- required: boolean;
97
- formType: string;
98
- propType: string;
99
- defaultValue: null;
100
- };
101
- stepNumberUnfinishedColor: {
102
- group: string;
103
- label: string;
104
- description: string;
105
- editable: boolean;
106
- required: boolean;
107
- formType: string;
108
- propType: string;
109
- defaultValue: null;
110
- };
111
- stepNumberFinishedColor: {
112
- group: string;
113
- label: string;
114
- description: string;
115
- editable: boolean;
116
- required: boolean;
117
- formType: string;
118
- propType: string;
119
- defaultValue: null;
120
- };
121
- stepIndicatorCurrentColor: {
122
- group: string;
123
- label: string;
124
- description: string;
125
- editable: boolean;
126
- required: boolean;
127
- formType: string;
128
- propType: string;
129
- defaultValue: null;
130
- };
131
- stepIndicatorLabelCurrentColor: {
132
- group: string;
133
- label: string;
134
- description: string;
135
- editable: boolean;
136
- required: boolean;
137
- formType: string;
138
- propType: string;
139
- defaultValue: null;
140
- };
141
- stepStrokeCurrentColor: {
142
- group: string;
143
- label: string;
144
- description: string;
145
- editable: boolean;
146
- required: boolean;
147
- formType: string;
148
- propType: string;
149
- defaultValue: null;
150
- };
151
- currentStepStrokeWidth: {
152
- group: string;
153
- label: string;
154
- description: string;
155
- editable: boolean;
156
- required: boolean;
157
- formType: string;
158
- propType: string;
159
- min: number;
160
- max: number;
161
- step: number;
162
- precision: number;
163
- defaultValue: number;
164
- };
165
- currentStepIndicatorSize: {
166
- group: string;
167
- label: string;
168
- description: string;
169
- editable: boolean;
170
- required: boolean;
171
- formType: string;
172
- propType: string;
173
- min: number;
174
- max: number;
175
- step: number;
176
- precision: number;
177
- defaultValue: null;
178
- };
179
- };
180
- };
181
- //# sourceMappingURL=ProgressIndicator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProgressIndicator.d.ts","sourceRoot":"","sources":["../../../../src/mappings/ProgressIndicator.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqLrB,CAAC"}