@draftbit/core 46.4.1-edd1c2.0 → 46.4.1-f3a6f3.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.
- package/lib/commonjs/components/Checkbox/context.js +1 -1
- package/lib/commonjs/components/Picker/PickerComponent.ios.js +13 -42
- package/lib/commonjs/constants.js +1 -1
- package/lib/commonjs/mappings/ActionSheet.js +1 -1
- package/lib/commonjs/mappings/ActionSheetCancel.js +1 -1
- package/lib/commonjs/mappings/ActionSheetItem.js +1 -1
- package/lib/commonjs/mappings/ActivityIndicator.js +1 -1
- package/lib/commonjs/mappings/Banner.js +1 -1
- package/lib/commonjs/mappings/BlurView.js +1 -1
- package/lib/commonjs/mappings/Button.js +1 -1
- package/lib/commonjs/mappings/Checkbox.js +1 -1
- package/lib/commonjs/mappings/CheckboxRow.js +1 -1
- package/lib/commonjs/mappings/CircleImage.js +1 -1
- package/lib/commonjs/mappings/CustomCode.js +1 -1
- package/lib/commonjs/mappings/FAB.js +1 -1
- package/lib/commonjs/mappings/FieldSearchBarFull.js +1 -1
- package/lib/commonjs/mappings/KeyboardAvoidingView.js +1 -1
- package/lib/commonjs/mappings/KeyboardAwareScrollView.js +1 -1
- package/lib/commonjs/mappings/Layout.js +2 -2
- package/lib/commonjs/mappings/MapCallout.js +1 -1
- package/lib/commonjs/mappings/MapMarker.js +1 -1
- package/lib/commonjs/mappings/MapView.js +1 -1
- package/lib/commonjs/mappings/Modal.js +1 -1
- package/lib/commonjs/mappings/RadioButton.js +1 -1
- package/lib/commonjs/mappings/RadioButtonGroup.js +1 -1
- package/lib/commonjs/mappings/RadioButtonRow.js +1 -1
- package/lib/commonjs/mappings/ScrollView.js +1 -1
- package/lib/commonjs/mappings/Slider.js +1 -1
- package/lib/commonjs/mappings/StarRating.js +1 -1
- package/lib/commonjs/mappings/Stepper.js +1 -1
- package/lib/commonjs/mappings/Surface.js +1 -1
- package/lib/commonjs/mappings/Swiper.js +1 -1
- package/lib/commonjs/mappings/SwiperItem.js +1 -1
- package/lib/commonjs/mappings/Switch.js +2 -2
- package/lib/commonjs/mappings/WebView.js +1 -1
- package/lib/module/mappings/ActionSheet.js +1 -1
- package/lib/module/mappings/ActionSheetCancel.js +1 -1
- package/lib/module/mappings/ActionSheetItem.js +1 -1
- package/lib/module/mappings/ActivityIndicator.js +1 -1
- package/lib/module/mappings/Banner.js +1 -1
- package/lib/module/mappings/BlurView.js +1 -1
- package/lib/module/mappings/Button.js +1 -1
- package/lib/module/mappings/Checkbox.js +1 -1
- package/lib/module/mappings/CheckboxRow.js +1 -1
- package/lib/module/mappings/CircleImage.js +1 -1
- package/lib/module/mappings/CustomCode.js +1 -1
- package/lib/module/mappings/FAB.js +1 -1
- package/lib/module/mappings/FieldSearchBarFull.js +1 -1
- package/lib/module/mappings/KeyboardAvoidingView.js +1 -1
- package/lib/module/mappings/KeyboardAwareScrollView.js +1 -1
- package/lib/module/mappings/Layout.js +2 -2
- package/lib/module/mappings/MapCallout.js +1 -1
- package/lib/module/mappings/MapMarker.js +1 -1
- package/lib/module/mappings/MapView.js +1 -1
- package/lib/module/mappings/Modal.js +1 -1
- package/lib/module/mappings/RadioButton.js +1 -1
- package/lib/module/mappings/RadioButtonGroup.js +1 -1
- package/lib/module/mappings/RadioButtonRow.js +1 -1
- package/lib/module/mappings/ScrollView.js +1 -1
- package/lib/module/mappings/Slider.js +1 -1
- package/lib/module/mappings/StarRating.js +1 -1
- package/lib/module/mappings/Stepper.js +1 -1
- package/lib/module/mappings/Surface.js +1 -1
- package/lib/module/mappings/Swiper.js +1 -1
- package/lib/module/mappings/SwiperItem.js +1 -1
- package/lib/module/mappings/Switch.js +2 -2
- package/lib/module/mappings/WebView.js +1 -1
- package/package.json +3 -3
- package/src/mappings/ActionSheet.js +1 -1
- package/src/mappings/ActionSheet.ts +1 -1
- package/src/mappings/ActionSheetCancel.js +1 -1
- package/src/mappings/ActionSheetCancel.ts +1 -1
- package/src/mappings/ActionSheetItem.js +1 -1
- package/src/mappings/ActionSheetItem.ts +1 -1
- package/src/mappings/ActivityIndicator.js +1 -1
- package/src/mappings/ActivityIndicator.ts +1 -1
- package/src/mappings/Banner.js +1 -1
- package/src/mappings/Banner.ts +1 -1
- package/src/mappings/BlurView.js +1 -1
- package/src/mappings/BlurView.ts +1 -1
- package/src/mappings/Button.js +1 -1
- package/src/mappings/Button.ts +1 -1
- package/src/mappings/Checkbox.js +1 -1
- package/src/mappings/Checkbox.ts +1 -1
- package/src/mappings/CheckboxRow.js +1 -1
- package/src/mappings/CheckboxRow.ts +1 -1
- package/src/mappings/CircleImage.js +1 -1
- package/src/mappings/CircleImage.ts +1 -1
- package/src/mappings/CustomCode.js +1 -1
- package/src/mappings/CustomCode.ts +1 -1
- package/src/mappings/FAB.js +1 -1
- package/src/mappings/FAB.ts +1 -1
- package/src/mappings/FieldSearchBarFull.js +1 -1
- package/src/mappings/FieldSearchBarFull.ts +1 -1
- package/src/mappings/KeyboardAvoidingView.js +1 -1
- package/src/mappings/KeyboardAvoidingView.ts +1 -1
- package/src/mappings/KeyboardAwareScrollView.js +1 -1
- package/src/mappings/KeyboardAwareScrollView.ts +1 -1
- package/src/mappings/Layout.js +2 -2
- package/src/mappings/Layout.ts +2 -2
- package/src/mappings/MapCallout.js +1 -1
- package/src/mappings/MapCallout.ts +1 -1
- package/src/mappings/MapMarker.js +1 -1
- package/src/mappings/MapMarker.ts +1 -1
- package/src/mappings/MapView.js +1 -1
- package/src/mappings/MapView.ts +1 -1
- package/src/mappings/Modal.js +1 -1
- package/src/mappings/Modal.ts +1 -1
- package/src/mappings/RadioButton.js +1 -1
- package/src/mappings/RadioButton.ts +1 -1
- package/src/mappings/RadioButtonGroup.js +1 -1
- package/src/mappings/RadioButtonGroup.ts +1 -1
- package/src/mappings/RadioButtonRow.js +1 -1
- package/src/mappings/RadioButtonRow.ts +1 -1
- package/src/mappings/ScrollView.js +1 -1
- package/src/mappings/ScrollView.ts +1 -1
- package/src/mappings/Slider.js +1 -1
- package/src/mappings/Slider.ts +1 -1
- package/src/mappings/StarRating.js +1 -1
- package/src/mappings/StarRating.ts +1 -1
- package/src/mappings/Stepper.js +1 -1
- package/src/mappings/Stepper.ts +1 -1
- package/src/mappings/Surface.js +1 -1
- package/src/mappings/Surface.ts +1 -1
- package/src/mappings/Swiper.js +1 -1
- package/src/mappings/Swiper.ts +1 -1
- package/src/mappings/SwiperItem.js +1 -1
- package/src/mappings/SwiperItem.ts +1 -1
- package/src/mappings/Switch.js +2 -2
- package/src/mappings/Switch.ts +2 -2
- package/src/mappings/WebView.js +1 -1
- package/src/mappings/WebView.ts +1 -1
|
@@ -2,7 +2,7 @@ import { COMPONENT_TYPES, createFieldNameProp, createDirectionProp, Triggers, St
|
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Radio Button Group",
|
|
4
4
|
tag: "RadioButtonGroup",
|
|
5
|
-
category: COMPONENT_TYPES.
|
|
5
|
+
category: COMPONENT_TYPES.control,
|
|
6
6
|
stylesPanelSections: [StylesPanelSections.Margins],
|
|
7
7
|
layout: {},
|
|
8
8
|
triggers: [Triggers.OnValueChange],
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
export const SEED_DATA = {
|
|
10
10
|
name: "Radio Button Group",
|
|
11
11
|
tag: "RadioButtonGroup",
|
|
12
|
-
category: COMPONENT_TYPES.
|
|
12
|
+
category: COMPONENT_TYPES.control,
|
|
13
13
|
stylesPanelSections: [StylesPanelSections.Margins],
|
|
14
14
|
layout: {},
|
|
15
15
|
triggers: [Triggers.OnValueChange],
|
|
@@ -2,7 +2,7 @@ import { createTextProp, createTextEnumProp, COMPONENT_TYPES, createColorProp, G
|
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Radio Button Row",
|
|
4
4
|
tag: "RadioButtonRow",
|
|
5
|
-
category: COMPONENT_TYPES.
|
|
5
|
+
category: COMPONENT_TYPES.control,
|
|
6
6
|
stylesPanelSections: [
|
|
7
7
|
StylesPanelSections.Typography,
|
|
8
8
|
StylesPanelSections.Margins,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
export const SEED_DATA = {
|
|
11
11
|
name: "Radio Button Row",
|
|
12
12
|
tag: "RadioButtonRow",
|
|
13
|
-
category: COMPONENT_TYPES.
|
|
13
|
+
category: COMPONENT_TYPES.control,
|
|
14
14
|
stylesPanelSections: [
|
|
15
15
|
StylesPanelSections.Typography,
|
|
16
16
|
StylesPanelSections.Margins,
|
|
@@ -3,7 +3,7 @@ export const SEED_DATA = {
|
|
|
3
3
|
name: "Scroll View",
|
|
4
4
|
tag: "ScrollView",
|
|
5
5
|
description: "A basic ScrollView component",
|
|
6
|
-
category: COMPONENT_TYPES.
|
|
6
|
+
category: COMPONENT_TYPES.view,
|
|
7
7
|
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
8
8
|
layout: {},
|
|
9
9
|
props: {
|
|
@@ -8,7 +8,7 @@ export const SEED_DATA = {
|
|
|
8
8
|
name: "Scroll View",
|
|
9
9
|
tag: "ScrollView",
|
|
10
10
|
description: "A basic ScrollView component",
|
|
11
|
-
category: COMPONENT_TYPES.
|
|
11
|
+
category: COMPONENT_TYPES.view,
|
|
12
12
|
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
13
13
|
layout: {},
|
|
14
14
|
props: {
|
package/src/mappings/Slider.js
CHANGED
|
@@ -3,7 +3,7 @@ export const SEED_DATA = {
|
|
|
3
3
|
name: "Slider",
|
|
4
4
|
tag: "Slider",
|
|
5
5
|
description: "A component used to set a value in a range",
|
|
6
|
-
category: COMPONENT_TYPES.
|
|
6
|
+
category: COMPONENT_TYPES.control,
|
|
7
7
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
8
8
|
layout: {
|
|
9
9
|
marginLeft: 12,
|
package/src/mappings/Slider.ts
CHANGED
|
@@ -13,7 +13,7 @@ export const SEED_DATA = {
|
|
|
13
13
|
name: "Slider",
|
|
14
14
|
tag: "Slider",
|
|
15
15
|
description: "A component used to set a value in a range",
|
|
16
|
-
category: COMPONENT_TYPES.
|
|
16
|
+
category: COMPONENT_TYPES.control,
|
|
17
17
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
18
18
|
layout: {
|
|
19
19
|
marginLeft: 12,
|
|
@@ -3,7 +3,7 @@ export const SEED_DATA = {
|
|
|
3
3
|
name: "Star Rating",
|
|
4
4
|
tag: "StarRating",
|
|
5
5
|
description: "A star rating component",
|
|
6
|
-
category: COMPONENT_TYPES.
|
|
6
|
+
category: COMPONENT_TYPES.control,
|
|
7
7
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
8
8
|
triggers: [Triggers.OnPress],
|
|
9
9
|
props: {
|
|
@@ -12,7 +12,7 @@ export const SEED_DATA = {
|
|
|
12
12
|
name: "Star Rating",
|
|
13
13
|
tag: "StarRating",
|
|
14
14
|
description: "A star rating component",
|
|
15
|
-
category: COMPONENT_TYPES.
|
|
15
|
+
category: COMPONENT_TYPES.control,
|
|
16
16
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
17
17
|
triggers: [Triggers.OnPress],
|
|
18
18
|
props: {
|
package/src/mappings/Stepper.js
CHANGED
|
@@ -4,7 +4,7 @@ export const SEED_DATA = [
|
|
|
4
4
|
name: "Stepper",
|
|
5
5
|
tag: "Stepper",
|
|
6
6
|
description: "A component used to control the quantity of something",
|
|
7
|
-
category: COMPONENT_TYPES.
|
|
7
|
+
category: COMPONENT_TYPES.control,
|
|
8
8
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
9
9
|
layout: {},
|
|
10
10
|
triggers: [Triggers.OnChange],
|
package/src/mappings/Stepper.ts
CHANGED
|
@@ -13,7 +13,7 @@ export const SEED_DATA = [
|
|
|
13
13
|
name: "Stepper",
|
|
14
14
|
tag: "Stepper",
|
|
15
15
|
description: "A component used to control the quantity of something",
|
|
16
|
-
category: COMPONENT_TYPES.
|
|
16
|
+
category: COMPONENT_TYPES.control,
|
|
17
17
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
18
18
|
layout: {},
|
|
19
19
|
triggers: [Triggers.OnChange],
|
package/src/mappings/Surface.js
CHANGED
package/src/mappings/Surface.ts
CHANGED
|
@@ -8,7 +8,7 @@ export const SEED_DATA = {
|
|
|
8
8
|
name: "Surface",
|
|
9
9
|
tag: "Surface",
|
|
10
10
|
description: "An elevated container",
|
|
11
|
-
category: COMPONENT_TYPES.
|
|
11
|
+
category: COMPONENT_TYPES.container,
|
|
12
12
|
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
13
13
|
layout: {
|
|
14
14
|
minHeight: 40,
|
package/src/mappings/Swiper.js
CHANGED
package/src/mappings/Swiper.ts
CHANGED
package/src/mappings/Switch.js
CHANGED
|
@@ -4,7 +4,7 @@ export const SEED_DATA = [
|
|
|
4
4
|
{
|
|
5
5
|
name: "Switch",
|
|
6
6
|
tag: "Switch",
|
|
7
|
-
category: COMPONENT_TYPES.
|
|
7
|
+
category: COMPONENT_TYPES.control,
|
|
8
8
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
9
9
|
layout: {},
|
|
10
10
|
triggers: SEED_DATA_TRIGGERS,
|
|
@@ -35,7 +35,7 @@ export const SEED_DATA = [
|
|
|
35
35
|
{
|
|
36
36
|
name: "Switch Row",
|
|
37
37
|
tag: "SwitchRow",
|
|
38
|
-
category: COMPONENT_TYPES.
|
|
38
|
+
category: COMPONENT_TYPES.control,
|
|
39
39
|
stylesPanelSections: [
|
|
40
40
|
StylesPanelSections.Typography,
|
|
41
41
|
StylesPanelSections.Margins,
|
package/src/mappings/Switch.ts
CHANGED
|
@@ -15,7 +15,7 @@ export const SEED_DATA = [
|
|
|
15
15
|
{
|
|
16
16
|
name: "Switch",
|
|
17
17
|
tag: "Switch",
|
|
18
|
-
category: COMPONENT_TYPES.
|
|
18
|
+
category: COMPONENT_TYPES.control,
|
|
19
19
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
20
20
|
layout: {},
|
|
21
21
|
triggers: SEED_DATA_TRIGGERS,
|
|
@@ -46,7 +46,7 @@ export const SEED_DATA = [
|
|
|
46
46
|
{
|
|
47
47
|
name: "Switch Row",
|
|
48
48
|
tag: "SwitchRow",
|
|
49
|
-
category: COMPONENT_TYPES.
|
|
49
|
+
category: COMPONENT_TYPES.control,
|
|
50
50
|
stylesPanelSections: [
|
|
51
51
|
StylesPanelSections.Typography,
|
|
52
52
|
StylesPanelSections.Margins,
|
package/src/mappings/WebView.js
CHANGED
|
@@ -3,7 +3,7 @@ export const SEED_DATA = {
|
|
|
3
3
|
name: "Web View",
|
|
4
4
|
tag: "WebView",
|
|
5
5
|
description: "Render web content inside a view",
|
|
6
|
-
category: COMPONENT_TYPES.
|
|
6
|
+
category: COMPONENT_TYPES.utility,
|
|
7
7
|
stylesPanelSections: [
|
|
8
8
|
StylesPanelSections.Size,
|
|
9
9
|
StylesPanelSections.Margins,
|
package/src/mappings/WebView.ts
CHANGED
|
@@ -11,7 +11,7 @@ export const SEED_DATA = {
|
|
|
11
11
|
name: "Web View",
|
|
12
12
|
tag: "WebView",
|
|
13
13
|
description: "Render web content inside a view",
|
|
14
|
-
category: COMPONENT_TYPES.
|
|
14
|
+
category: COMPONENT_TYPES.utility,
|
|
15
15
|
stylesPanelSections: [
|
|
16
16
|
StylesPanelSections.Size,
|
|
17
17
|
StylesPanelSections.Margins,
|