@draftbit/core 46.10.3-c96e98.2 → 46.10.3-cf3748.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 (93) hide show
  1. package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js +5 -23
  2. package/lib/commonjs/components/Checkbox/CheckboxRow.js +6 -23
  3. package/lib/commonjs/components/Table/Table.js +3 -3
  4. package/lib/commonjs/components/Table/TableCell.js +3 -3
  5. package/lib/commonjs/components/Table/TableRow.js +4 -4
  6. package/lib/commonjs/components/Table/index.js +25 -1
  7. package/lib/module/components/Table/Table.js +1 -1
  8. package/lib/module/components/Table/TableCell.js +1 -1
  9. package/lib/module/components/Table/TableRow.js +1 -1
  10. package/lib/module/components/Table/index.js +21 -0
  11. package/lib/typescript/src/components/Table/Table.d.ts +1 -1
  12. package/lib/typescript/src/components/Table/Table.d.ts.map +1 -1
  13. package/lib/typescript/src/components/Table/TableCell.d.ts +1 -1
  14. package/lib/typescript/src/components/Table/TableCell.d.ts.map +1 -1
  15. package/lib/typescript/src/components/Table/TableRow.d.ts +1 -1
  16. package/lib/typescript/src/components/Table/TableRow.d.ts.map +1 -1
  17. package/lib/typescript/src/components/Table/index.d.ts +18 -0
  18. package/lib/typescript/src/components/Table/index.d.ts.map +1 -1
  19. package/package.json +3 -3
  20. package/src/components/Table/Table.js +1 -1
  21. package/src/components/Table/Table.tsx +1 -1
  22. package/src/components/Table/TableCell.js +1 -1
  23. package/src/components/Table/TableCell.tsx +1 -5
  24. package/src/components/Table/TableRow.js +1 -1
  25. package/src/components/Table/TableRow.tsx +1 -1
  26. package/src/components/Table/index.js +12 -0
  27. package/src/components/Table/index.tsx +41 -0
  28. package/lib/commonjs/components/DeprecatedCardWrapper.js +0 -40
  29. package/lib/commonjs/components/DeprecatedFAB.js +0 -157
  30. package/lib/commonjs/components/ProgressIndicator.js +0 -55
  31. package/lib/commonjs/components/ResizeMode.js +0 -5
  32. package/lib/commonjs/components/Table/TableCommon.js +0 -30
  33. package/lib/commonjs/mappings/CardBlock.js +0 -126
  34. package/lib/commonjs/mappings/CardContainer.js +0 -108
  35. package/lib/commonjs/mappings/CardContainerRating.js +0 -130
  36. package/lib/commonjs/mappings/CardContainerShortImage.js +0 -124
  37. package/lib/commonjs/mappings/CardInline.js +0 -59
  38. package/lib/commonjs/mappings/ProgressIndicator.js +0 -188
  39. package/lib/module/components/DeprecatedCardWrapper.js +0 -32
  40. package/lib/module/components/DeprecatedFAB.js +0 -147
  41. package/lib/module/components/ProgressIndicator.js +0 -45
  42. package/lib/module/components/ResizeMode.js +0 -1
  43. package/lib/module/components/Table/TableCommon.js +0 -21
  44. package/lib/module/mappings/CardBlock.js +0 -119
  45. package/lib/module/mappings/CardContainer.js +0 -101
  46. package/lib/module/mappings/CardContainerRating.js +0 -123
  47. package/lib/module/mappings/CardContainerShortImage.js +0 -117
  48. package/lib/module/mappings/CardInline.js +0 -52
  49. package/lib/module/mappings/ProgressIndicator.js +0 -181
  50. package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts +0 -15
  51. package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts.map +0 -1
  52. package/lib/typescript/src/components/DeprecatedFAB.d.ts +0 -56
  53. package/lib/typescript/src/components/DeprecatedFAB.d.ts.map +0 -1
  54. package/lib/typescript/src/components/ProgressIndicator.d.ts +0 -24
  55. package/lib/typescript/src/components/ProgressIndicator.d.ts.map +0 -1
  56. package/lib/typescript/src/components/ResizeMode.d.ts +0 -2
  57. package/lib/typescript/src/components/ResizeMode.d.ts.map +0 -1
  58. package/lib/typescript/src/components/Table/TableCommon.d.ts +0 -20
  59. package/lib/typescript/src/components/Table/TableCommon.d.ts.map +0 -1
  60. package/lib/typescript/src/mappings/CardBlock.d.ts +0 -289
  61. package/lib/typescript/src/mappings/CardBlock.d.ts.map +0 -1
  62. package/lib/typescript/src/mappings/CardContainer.d.ts +0 -102
  63. package/lib/typescript/src/mappings/CardContainer.d.ts.map +0 -1
  64. package/lib/typescript/src/mappings/CardContainerRating.d.ts +0 -108
  65. package/lib/typescript/src/mappings/CardContainerRating.d.ts.map +0 -1
  66. package/lib/typescript/src/mappings/CardContainerShortImage.d.ts +0 -139
  67. package/lib/typescript/src/mappings/CardContainerShortImage.d.ts.map +0 -1
  68. package/lib/typescript/src/mappings/CardInline.d.ts +0 -62
  69. package/lib/typescript/src/mappings/CardInline.d.ts.map +0 -1
  70. package/lib/typescript/src/mappings/ProgressIndicator.d.ts +0 -181
  71. package/lib/typescript/src/mappings/ProgressIndicator.d.ts.map +0 -1
  72. package/src/components/DeprecatedCardWrapper.js +0 -18
  73. package/src/components/DeprecatedCardWrapper.tsx +0 -46
  74. package/src/components/DeprecatedFAB.js +0 -114
  75. package/src/components/DeprecatedFAB.tsx +0 -231
  76. package/src/components/ProgressIndicator.js +0 -27
  77. package/src/components/ProgressIndicator.tsx +0 -71
  78. package/src/components/ResizeMode.js +0 -1
  79. package/src/components/ResizeMode.ts +0 -7
  80. package/src/components/Table/TableCommon.js +0 -12
  81. package/src/components/Table/TableCommon.ts +0 -40
  82. package/src/mappings/CardBlock.js +0 -123
  83. package/src/mappings/CardBlock.ts +0 -136
  84. package/src/mappings/CardContainer.js +0 -104
  85. package/src/mappings/CardContainer.ts +0 -116
  86. package/src/mappings/CardContainerRating.js +0 -126
  87. package/src/mappings/CardContainerRating.ts +0 -137
  88. package/src/mappings/CardContainerShortImage.js +0 -120
  89. package/src/mappings/CardContainerShortImage.ts +0 -130
  90. package/src/mappings/CardInline.js +0 -52
  91. package/src/mappings/CardInline.ts +0 -61
  92. package/src/mappings/ProgressIndicator.js +0 -181
  93. package/src/mappings/ProgressIndicator.ts +0 -190
@@ -1,130 +0,0 @@
1
- import {
2
- GROUPS,
3
- COMPONENT_TYPES,
4
- FORM_TYPES,
5
- PROP_TYPES,
6
- createElevationType,
7
- BLOCK_STYLES_SECTIONS,
8
- } from "@draftbit/types";
9
-
10
- export const SEED_DATA = [
11
- {
12
- name: "Short Card (Left)",
13
- tag: "CardContainerShortImage",
14
- description:
15
- "An elevated card with a left aligned image and a title and subtitle",
16
- category: COMPONENT_TYPES.card,
17
- stylesPanelSections: BLOCK_STYLES_SECTIONS,
18
- preview_image_url: "{CLOUDINARY_URL}/Card_ContainerShortLeftImage.png",
19
- supports_list_render: true,
20
- props: {
21
- image: {
22
- group: GROUPS.data,
23
- label: "Image",
24
- description: "Image",
25
- formType: FORM_TYPES.image,
26
- propType: PROP_TYPES.ASSET,
27
- defaultValue: null,
28
- editable: true,
29
- required: false,
30
- },
31
- title: {
32
- group: GROUPS.data,
33
- label: "Title",
34
- description: "Title to display",
35
- formType: FORM_TYPES.string,
36
- propType: PROP_TYPES.STRING,
37
- defaultValue: "Beautiful West Coast Villa",
38
- editable: true,
39
- required: false,
40
- },
41
- subtitle: {
42
- group: GROUPS.data,
43
- label: "Subtitle",
44
- description: "Subtitle to display",
45
- formType: FORM_TYPES.string,
46
- propType: PROP_TYPES.STRING,
47
- defaultValue: "San Diego",
48
- editable: true,
49
- required: false,
50
- },
51
- aspectRatio: {
52
- group: GROUPS.basic,
53
- label: "Aspect ratio",
54
- description: "Aspect ratio of the image",
55
- formType: FORM_TYPES.aspectRatio,
56
- propType: PROP_TYPES.STRING,
57
- defaultValue: null,
58
- editable: true,
59
- required: false,
60
- },
61
- elevation: createElevationType(2),
62
- mode: {
63
- group: GROUPS.uncategorized,
64
- label: "Image Side",
65
- description: "The side on which the image is on (left or right)",
66
- formType: FORM_TYPES.flatArray,
67
- propType: PROP_TYPES.STRING,
68
- defaultValue: "left",
69
- options: ["left", "right"],
70
- editable: false,
71
- required: false,
72
- },
73
- },
74
- layout: {},
75
- },
76
- {
77
- name: "Short Card (Right)",
78
- tag: "CardContainerShortImage",
79
- description:
80
- "An elevated card with a right aligned image and a title and subtitle",
81
- category: COMPONENT_TYPES.card,
82
- stylesPanelSections: BLOCK_STYLES_SECTIONS,
83
- preview_image_url: "{CLOUDINARY_URL}/Card_ContainerShortRightImage.png",
84
- supports_list_render: true,
85
- props: {
86
- image: {
87
- group: GROUPS.data,
88
- label: "Image",
89
- description: "Image",
90
- formType: FORM_TYPES.image,
91
- propType: PROP_TYPES.ASSET,
92
- defaultValue: null,
93
- editable: true,
94
- required: false,
95
- },
96
- title: {
97
- group: GROUPS.data,
98
- label: "Title",
99
- description: "Title to display",
100
- formType: FORM_TYPES.string,
101
- propType: PROP_TYPES.STRING,
102
- defaultValue: "Beautiful West Coast Villa",
103
- editable: true,
104
- required: false,
105
- },
106
- subtitle: {
107
- group: GROUPS.data,
108
- label: "Subtitle",
109
- description: "Subtitle to display",
110
- formType: FORM_TYPES.string,
111
- propType: PROP_TYPES.STRING,
112
- defaultValue: "San Diego",
113
- editable: true,
114
- required: false,
115
- },
116
- elevation: createElevationType(2),
117
- mode: {
118
- label: "Mode",
119
- description: "Mode",
120
- group: GROUPS.uncategorized,
121
- formType: FORM_TYPES.string,
122
- propType: PROP_TYPES.STRING,
123
- defaultValue: "right",
124
- editable: false,
125
- required: false,
126
- },
127
- },
128
- layout: {},
129
- },
130
- ];
@@ -1,52 +0,0 @@
1
- import { GROUPS, COMPONENT_TYPES, FORM_TYPES, PROP_TYPES, createElevationType, BLOCK_STYLES_SECTIONS, } from "@draftbit/types";
2
- export const SEED_DATA = {
3
- name: "Inline Card",
4
- tag: "CardInline",
5
- description: "An elevated card with image and a title and description overlayed, that takes up the full width of its container.",
6
- category: COMPONENT_TYPES.card,
7
- stylesPanelSections: BLOCK_STYLES_SECTIONS,
8
- layout: {},
9
- props: {
10
- image: {
11
- group: GROUPS.data,
12
- label: "Image",
13
- description: "Image",
14
- formType: FORM_TYPES.image,
15
- propType: PROP_TYPES.ASSET,
16
- defaultValue: null,
17
- editable: true,
18
- required: false,
19
- },
20
- title: {
21
- group: GROUPS.data,
22
- label: "Title",
23
- description: "Text to display",
24
- formType: FORM_TYPES.string,
25
- propType: PROP_TYPES.STRING,
26
- defaultValue: "Beautiful West Coast Villa",
27
- editable: true,
28
- required: false,
29
- },
30
- subtitle: {
31
- group: GROUPS.data,
32
- label: "Subtitle",
33
- description: "Subtitle text",
34
- formType: FORM_TYPES.string,
35
- propType: PROP_TYPES.STRING,
36
- defaultValue: "San Diego",
37
- editable: true,
38
- required: false,
39
- },
40
- aspectRatio: {
41
- group: GROUPS.basic,
42
- label: "Aspect ratio",
43
- description: "Aspect ratio of the image",
44
- formType: FORM_TYPES.aspectRatio,
45
- propType: PROP_TYPES.NUMBER,
46
- defaultValue: 1.5,
47
- editable: true,
48
- required: false,
49
- },
50
- elevation: createElevationType(2),
51
- },
52
- };
@@ -1,61 +0,0 @@
1
- import {
2
- GROUPS,
3
- COMPONENT_TYPES,
4
- FORM_TYPES,
5
- PROP_TYPES,
6
- createElevationType,
7
- BLOCK_STYLES_SECTIONS,
8
- } from "@draftbit/types";
9
-
10
- export const SEED_DATA = {
11
- name: "Inline Card",
12
- tag: "CardInline",
13
- description:
14
- "An elevated card with image and a title and description overlayed, that takes up the full width of its container.",
15
- category: COMPONENT_TYPES.card,
16
- stylesPanelSections: BLOCK_STYLES_SECTIONS,
17
- layout: {},
18
- props: {
19
- image: {
20
- group: GROUPS.data,
21
- label: "Image",
22
- description: "Image",
23
- formType: FORM_TYPES.image,
24
- propType: PROP_TYPES.ASSET,
25
- defaultValue: null,
26
- editable: true,
27
- required: false,
28
- },
29
- title: {
30
- group: GROUPS.data,
31
- label: "Title",
32
- description: "Text to display",
33
- formType: FORM_TYPES.string,
34
- propType: PROP_TYPES.STRING,
35
- defaultValue: "Beautiful West Coast Villa",
36
- editable: true,
37
- required: false,
38
- },
39
- subtitle: {
40
- group: GROUPS.data,
41
- label: "Subtitle",
42
- description: "Subtitle text",
43
- formType: FORM_TYPES.string,
44
- propType: PROP_TYPES.STRING,
45
- defaultValue: "San Diego",
46
- editable: true,
47
- required: false,
48
- },
49
- aspectRatio: {
50
- group: GROUPS.basic,
51
- label: "Aspect ratio",
52
- description: "Aspect ratio of the image",
53
- formType: FORM_TYPES.aspectRatio,
54
- propType: PROP_TYPES.NUMBER,
55
- defaultValue: 1.5,
56
- editable: true,
57
- required: false,
58
- },
59
- elevation: createElevationType(2),
60
- },
61
- };
@@ -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,190 +0,0 @@
1
- import {
2
- COMPONENT_TYPES,
3
- FORM_TYPES,
4
- GROUPS,
5
- PROP_TYPES,
6
- BLOCK_STYLES_SECTIONS,
7
- } from "@draftbit/types";
8
-
9
- export const SEED_DATA = {
10
- name: "Progress Indicator",
11
- tag: "ProgressIndicator",
12
- description: "A component used to show current Step in a process",
13
- category: COMPONENT_TYPES.deprecated,
14
- stylesPanelSections: BLOCK_STYLES_SECTIONS,
15
- preview_image_url: "{CLOUDINARY_URL}/Control_Slider.png",
16
- supports_list_render: false,
17
- layout: {},
18
- props: {
19
- numberOfSteps: {
20
- group: GROUPS.data,
21
- label: "Number of Steps",
22
- description: "The border radius for the thumb",
23
- editable: true,
24
- required: false,
25
- formType: FORM_TYPES.number,
26
- propType: PROP_TYPES.NUMBER,
27
- min: 0,
28
- max: 10,
29
- step: 1,
30
- precision: 0,
31
- defaultValue: 5,
32
- },
33
- currentStep: {
34
- group: GROUPS.data,
35
- label: "Current Step",
36
- description: "The step that the user is on",
37
- editable: true,
38
- required: false,
39
- formType: FORM_TYPES.number,
40
- propType: PROP_TYPES.NUMBER,
41
- min: 0,
42
- max: 10,
43
- step: 1,
44
- precision: 0,
45
- defaultValue: 5,
46
- },
47
- stepIndicatorSize: {
48
- group: GROUPS.basic,
49
- label: "Step Size",
50
- description: "The size of the step circle",
51
- editable: true,
52
- required: false,
53
- formType: FORM_TYPES.number,
54
- propType: PROP_TYPES.NUMBER,
55
- min: 10,
56
- max: 100,
57
- step: 5,
58
- precision: 0,
59
- defaultValue: 25,
60
- },
61
- stepIndicatorLabelFontSize: {
62
- group: GROUPS.basic,
63
- label: "Step Font Size",
64
- description: "The font size of the step number",
65
- editable: true,
66
- required: false,
67
- formType: FORM_TYPES.number,
68
- propType: PROP_TYPES.NUMBER,
69
- min: 6,
70
- max: 36,
71
- step: 1,
72
- precision: 0,
73
- defaultValue: 15,
74
- },
75
- currentStepIndicatorLabelFontSize: {
76
- group: GROUPS.basic,
77
- label: "Current Step Font Size",
78
- description: "The font size of the current step number",
79
- editable: true,
80
- required: false,
81
- formType: FORM_TYPES.number,
82
- propType: PROP_TYPES.NUMBER,
83
- min: 6,
84
- max: 36,
85
- step: 1,
86
- precision: 0,
87
- defaultValue: 15,
88
- },
89
- unfinishedColor: {
90
- group: GROUPS.basic,
91
- label: "Unfinished Color",
92
- description:
93
- "The color of the step and divider when the step is either not the current step or not finished",
94
- editable: true,
95
- required: false,
96
- formType: FORM_TYPES.color,
97
- propType: PROP_TYPES.THEME,
98
- defaultValue: null,
99
- },
100
- finishedColor: {
101
- group: GROUPS.basic,
102
- label: "Finished Color",
103
- description:
104
- "The color of the step and divider when the step is the current step or finished",
105
- editable: true,
106
- required: false,
107
- formType: FORM_TYPES.color,
108
- propType: PROP_TYPES.THEME,
109
- defaultValue: null,
110
- },
111
- stepNumberUnfinishedColor: {
112
- group: GROUPS.basic,
113
- label: "Unfinished Number Color",
114
- description: "The color of the number within the step when unfinished",
115
- editable: true,
116
- required: false,
117
- formType: FORM_TYPES.color,
118
- propType: PROP_TYPES.THEME,
119
- defaultValue: null,
120
- },
121
- stepNumberFinishedColor: {
122
- group: GROUPS.basic,
123
- label: "Finished Number Color",
124
- description: "The color of the number within the step when finished",
125
- editable: true,
126
- required: false,
127
- formType: FORM_TYPES.color,
128
- propType: PROP_TYPES.THEME,
129
- defaultValue: null,
130
- },
131
- stepIndicatorCurrentColor: {
132
- group: GROUPS.basic,
133
- label: "Current Step Color",
134
- description: "The color of current step circle",
135
- editable: true,
136
- required: false,
137
- formType: FORM_TYPES.color,
138
- propType: PROP_TYPES.THEME,
139
- defaultValue: null,
140
- },
141
- stepIndicatorLabelCurrentColor: {
142
- group: GROUPS.basic,
143
- label: "Current Step Number Color",
144
- description: "The color of current number within the step circle",
145
- editable: true,
146
- required: false,
147
- formType: FORM_TYPES.color,
148
- propType: PROP_TYPES.THEME,
149
- defaultValue: null,
150
- },
151
- stepStrokeCurrentColor: {
152
- group: GROUPS.basic,
153
- label: "Current Step Border Color",
154
- description: "The color of current border color of the step",
155
- editable: true,
156
- required: false,
157
- formType: FORM_TYPES.color,
158
- propType: PROP_TYPES.THEME,
159
- defaultValue: null,
160
- },
161
- currentStepStrokeWidth: {
162
- group: GROUPS.basic,
163
- label: "Current Step Border Width",
164
- description: "The width of the border for the current step",
165
- editable: true,
166
- required: false,
167
- formType: FORM_TYPES.number,
168
- propType: PROP_TYPES.NUMBER,
169
- min: 1,
170
- max: 20,
171
- step: 1,
172
- precision: 0,
173
- defaultValue: 0,
174
- },
175
- currentStepIndicatorSize: {
176
- group: GROUPS.basic,
177
- label: "Current Step Size",
178
- description: "The size of the current step circle",
179
- editable: true,
180
- required: false,
181
- formType: FORM_TYPES.number,
182
- propType: PROP_TYPES.NUMBER,
183
- min: 10,
184
- max: 100,
185
- step: 5,
186
- precision: 0,
187
- defaultValue: null,
188
- },
189
- },
190
- };