@draftbit/core 46.11.5-57a4fa.2 → 46.11.5-84e8d7.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/AspectRatio.js +2 -16
- package/lib/commonjs/components/AspectRatio.js.map +1 -1
- package/lib/commonjs/components/Banner.js +4 -23
- package/lib/commonjs/components/Banner.js.map +1 -1
- package/lib/commonjs/components/BottomSheet/BottomSheet.js +18 -3
- package/lib/commonjs/components/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/commonjs/components/Checkbox/CheckboxGroup.js +3 -16
- package/lib/commonjs/components/Checkbox/CheckboxGroup.js.map +1 -1
- package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js +5 -22
- package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js.map +1 -1
- package/lib/commonjs/components/Checkbox/CheckboxRow.js +23 -6
- package/lib/commonjs/components/Checkbox/CheckboxRow.js.map +1 -1
- package/lib/commonjs/components/CircleImage.js +2 -16
- package/lib/commonjs/components/CircleImage.js.map +1 -1
- package/lib/commonjs/components/DatePicker/DatePickerComponentType.js.map +1 -1
- package/lib/commonjs/components/DeprecatedButton.js +3 -19
- package/lib/commonjs/components/DeprecatedButton.js.map +1 -1
- package/lib/commonjs/components/DeprecatedFAB.js +3 -20
- package/lib/commonjs/components/DeprecatedFAB.js.map +1 -1
- package/lib/commonjs/components/Layout.js +19 -39
- package/lib/commonjs/components/Layout.js.map +1 -1
- package/lib/commonjs/components/Picker/PickerComponent.android.js +4 -21
- package/lib/commonjs/components/Picker/PickerComponent.android.js.map +1 -1
- package/lib/commonjs/components/Picker/PickerComponent.ios.js +36 -11
- package/lib/commonjs/components/Portal/PortalManager.js +8 -34
- package/lib/commonjs/components/Portal/PortalManager.js.map +1 -1
- package/lib/commonjs/components/RadioButton/RadioButton.js +2 -14
- package/lib/commonjs/components/RadioButton/RadioButton.js.map +1 -1
- package/lib/commonjs/components/RadioButton/RadioButtonRow.js +5 -23
- package/lib/commonjs/components/RadioButton/RadioButtonRow.js.map +1 -1
- package/lib/commonjs/components/RadioButton/context.js +1 -1
- package/lib/commonjs/components/RadioButton/context.js.map +1 -1
- package/lib/commonjs/components/StarRating.js +4 -22
- package/lib/commonjs/components/StarRating.js.map +1 -1
- package/lib/commonjs/components/Touchable.web.js.map +1 -1
- package/lib/commonjs/hooks.js +3 -1
- package/lib/commonjs/hooks.js.map +1 -1
- package/lib/commonjs/index.js +0 -19
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/mappings/BottomSheet.js +38 -9
- package/lib/commonjs/mappings/BottomSheet.js.map +1 -1
- package/lib/commonjs/mappings/CardContainerRating.js.map +1 -1
- package/lib/commonjs/mappings/CheckboxRow.js.map +1 -1
- package/lib/commonjs/mappings/CustomCode.js.map +1 -1
- package/lib/commonjs/mappings/FAB.js.map +1 -1
- package/lib/commonjs/mappings/MapCallout.js.map +1 -1
- package/lib/commonjs/mappings/Modal.js.map +1 -1
- package/lib/commonjs/mappings/RadioButtonGroup.js.map +1 -1
- package/lib/commonjs/styles/DarkTheme.js.map +1 -1
- package/lib/commonjs/utilities.js +2 -27
- package/lib/commonjs/utilities.js.map +1 -1
- package/lib/module/components/BottomSheet/BottomSheet.js +18 -3
- package/lib/module/components/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/module/index.js +0 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/mappings/BottomSheet.js +39 -10
- package/lib/module/mappings/BottomSheet.js.map +1 -1
- package/lib/module/utilities.js +0 -18
- package/lib/module/utilities.js.map +1 -1
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts +6 -1
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +0 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/mappings/BottomSheet.d.ts +48 -4
- package/lib/typescript/src/mappings/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/src/utilities.d.ts +0 -6
- package/lib/typescript/src/utilities.d.ts.map +1 -1
- package/package.json +3 -4
- package/src/components/BottomSheet/BottomSheet.js +17 -2
- package/src/components/BottomSheet/BottomSheet.tsx +32 -4
- package/src/index.js +0 -1
- package/src/index.tsx +0 -6
- package/src/mappings/BottomSheet.js +38 -9
- package/src/mappings/BottomSheet.ts +44 -8
- package/src/utilities.js +0 -41
- package/src/utilities.ts +0 -71
- package/lib/commonjs/components/SwipeableView/SwipeableView.js +0 -155
- package/lib/commonjs/components/SwipeableView/SwipeableView.js.map +0 -1
- package/lib/commonjs/components/SwipeableView/SwipeableViewButton.js +0 -13
- package/lib/commonjs/components/SwipeableView/SwipeableViewButton.js.map +0 -1
- package/lib/commonjs/components/SwipeableView/SwipeableViewSwipeHandler.js +0 -13
- package/lib/commonjs/components/SwipeableView/SwipeableViewSwipeHandler.js.map +0 -1
- package/lib/commonjs/components/SwipeableView/index.js +0 -28
- package/lib/commonjs/components/SwipeableView/index.js.map +0 -1
- package/lib/commonjs/mappings/SwipeableView.js +0 -183
- package/lib/commonjs/mappings/SwipeableView.js.map +0 -1
- package/lib/module/components/SwipeableView/SwipeableView.js +0 -147
- package/lib/module/components/SwipeableView/SwipeableView.js.map +0 -1
- package/lib/module/components/SwipeableView/SwipeableViewButton.js +0 -6
- package/lib/module/components/SwipeableView/SwipeableViewButton.js.map +0 -1
- package/lib/module/components/SwipeableView/SwipeableViewSwipeHandler.js +0 -6
- package/lib/module/components/SwipeableView/SwipeableViewSwipeHandler.js.map +0 -1
- package/lib/module/components/SwipeableView/index.js +0 -4
- package/lib/module/components/SwipeableView/index.js.map +0 -1
- package/lib/module/mappings/SwipeableView.js +0 -175
- package/lib/module/mappings/SwipeableView.js.map +0 -1
- package/lib/typescript/src/components/SwipeableView/SwipeableView.d.ts +0 -29
- package/lib/typescript/src/components/SwipeableView/SwipeableView.d.ts.map +0 -1
- package/lib/typescript/src/components/SwipeableView/SwipeableViewButton.d.ts +0 -13
- package/lib/typescript/src/components/SwipeableView/SwipeableViewButton.d.ts.map +0 -1
- package/lib/typescript/src/components/SwipeableView/SwipeableViewSwipeHandler.d.ts +0 -13
- package/lib/typescript/src/components/SwipeableView/SwipeableViewSwipeHandler.d.ts.map +0 -1
- package/lib/typescript/src/components/SwipeableView/index.d.ts +0 -4
- package/lib/typescript/src/components/SwipeableView/index.d.ts.map +0 -1
- package/lib/typescript/src/mappings/SwipeableView.d.ts +0 -426
- package/lib/typescript/src/mappings/SwipeableView.d.ts.map +0 -1
- package/src/components/SwipeableView/SwipeableView.js +0 -117
- package/src/components/SwipeableView/SwipeableView.tsx +0 -299
- package/src/components/SwipeableView/SwipeableViewButton.js +0 -5
- package/src/components/SwipeableView/SwipeableViewButton.tsx +0 -18
- package/src/components/SwipeableView/SwipeableViewSwipeHandler.js +0 -5
- package/src/components/SwipeableView/SwipeableViewSwipeHandler.tsx +0 -20
- package/src/components/SwipeableView/index.js +0 -3
- package/src/components/SwipeableView/index.tsx +0 -3
- package/src/mappings/SwipeableView.js +0 -181
- package/src/mappings/SwipeableView.ts +0 -210
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createStaticNumberProp, createStaticBoolProp, CONTAINER_COMPONENT_STYLES_SECTIONS, StylesPanelSections, GROUPS, createBoolProp, createTextProp, createIconProp, createTextEnumProp, createColorProp, Triggers, createActionProp } from "@draftbit/types";
|
|
2
|
-
export const SHARED_SEED_DATA_PROPS = {
|
|
3
|
-
title: createTextProp({
|
|
4
|
-
label: "Title",
|
|
5
|
-
description: "Title of button/swipeable",
|
|
6
|
-
defaultValue: "Swipeable",
|
|
7
|
-
required: true,
|
|
8
|
-
group: GROUPS.basic
|
|
9
|
-
}),
|
|
10
|
-
side: createTextEnumProp({
|
|
11
|
-
label: "Side",
|
|
12
|
-
description: "Side where button/swipeable is added",
|
|
13
|
-
options: ["left", "right"],
|
|
14
|
-
defaultValue: "left",
|
|
15
|
-
required: true
|
|
16
|
-
}),
|
|
17
|
-
icon: createIconProp({
|
|
18
|
-
defaultValue: null,
|
|
19
|
-
required: false
|
|
20
|
-
}),
|
|
21
|
-
iconSize: createStaticNumberProp({
|
|
22
|
-
label: "Icon size",
|
|
23
|
-
description: "Size of icon",
|
|
24
|
-
defaultValue: 25,
|
|
25
|
-
required: false
|
|
26
|
-
}),
|
|
27
|
-
backgroundColor: createColorProp({
|
|
28
|
-
label: "Background color",
|
|
29
|
-
description: "Color of button/swipeable background",
|
|
30
|
-
defaultValue: "primary"
|
|
31
|
-
}),
|
|
32
|
-
color: createColorProp({
|
|
33
|
-
label: "Color",
|
|
34
|
-
description: "Color of text and icon of button/swipeable",
|
|
35
|
-
defaultValue: "surface"
|
|
36
|
-
})
|
|
37
|
-
};
|
|
38
|
-
export const SEED_DATA = [{
|
|
39
|
-
name: "Swipeable View",
|
|
40
|
-
tag: "SwipeableView",
|
|
41
|
-
doc_link: "https://github.com/jemise111/react-native-swipe-list-view/blob/master/docs/SwipeRow.md",
|
|
42
|
-
description: "A swipeable view that is able to show hidden buttons and/or handle swipe events",
|
|
43
|
-
category: COMPONENT_TYPES.testing /*.view*/,
|
|
44
|
-
stylesPanelSections: [...CONTAINER_COMPONENT_STYLES_SECTIONS, StylesPanelSections.Typography],
|
|
45
|
-
layout: {
|
|
46
|
-
overflow: "hidden",
|
|
47
|
-
flexDirection: "row",
|
|
48
|
-
alignItems: "center",
|
|
49
|
-
padding: 10
|
|
50
|
-
},
|
|
51
|
-
props: {
|
|
52
|
-
closeOnPress: createStaticBoolProp({
|
|
53
|
-
label: "Close on press",
|
|
54
|
-
description: "Whether the view should be closed/dismissed when pressed",
|
|
55
|
-
defaultValue: true
|
|
56
|
-
}),
|
|
57
|
-
swipeActivationPercentage: createStaticNumberProp({
|
|
58
|
-
label: "Swipe activation percentage",
|
|
59
|
-
description: "Percentage of swipe completion needed to trigger onSwipe. Overriden by 'Left activation value' and 'Right activation value'",
|
|
60
|
-
defaultValue: 80,
|
|
61
|
-
required: false
|
|
62
|
-
}),
|
|
63
|
-
disableLeftSwipe: createBoolProp({
|
|
64
|
-
label: "Disable left swipe",
|
|
65
|
-
description: "Whether left swipe is enabled or not",
|
|
66
|
-
defaultValue: true
|
|
67
|
-
}),
|
|
68
|
-
disableRightSwipe: createBoolProp({
|
|
69
|
-
label: "Disable right swipe",
|
|
70
|
-
description: "Whether right swipe is enabled or not",
|
|
71
|
-
defaultValue: true
|
|
72
|
-
}),
|
|
73
|
-
leftOpenValue: createStaticNumberProp({
|
|
74
|
-
label: "Left open value",
|
|
75
|
-
description: "The X translation value that left swipe snaps to (positive value). Defaults to half view width",
|
|
76
|
-
group: GROUPS.advanced,
|
|
77
|
-
required: false
|
|
78
|
-
}),
|
|
79
|
-
rightOpenValue: createStaticNumberProp({
|
|
80
|
-
label: "Right open value",
|
|
81
|
-
description: "The X translation value that right swipe snaps to (negative value). Defaults to negative half view width",
|
|
82
|
-
group: GROUPS.advanced,
|
|
83
|
-
required: false
|
|
84
|
-
}),
|
|
85
|
-
leftActivationValue: createStaticNumberProp({
|
|
86
|
-
label: "Left activation value",
|
|
87
|
-
description: "The X translation value that triggers onSwipe when surpassed (positive value). Defaults to 80% of half view width",
|
|
88
|
-
group: GROUPS.advanced,
|
|
89
|
-
required: false
|
|
90
|
-
}),
|
|
91
|
-
rightActivationValue: createStaticNumberProp({
|
|
92
|
-
label: "Right activation value",
|
|
93
|
-
description: "The X translation value that triggers onSwipe when surpassed (negative value). Defaults to negative 80% of half view width",
|
|
94
|
-
group: GROUPS.advanced,
|
|
95
|
-
required: false
|
|
96
|
-
}),
|
|
97
|
-
stopLeftSwipe: createStaticNumberProp({
|
|
98
|
-
label: "Stop left swipe",
|
|
99
|
-
description: "The maximum X translation value that is swipable from left (positive value). Defaults to half view width",
|
|
100
|
-
group: GROUPS.advanced,
|
|
101
|
-
required: false
|
|
102
|
-
}),
|
|
103
|
-
stopRightSwipe: createStaticNumberProp({
|
|
104
|
-
label: "Stop right swipe",
|
|
105
|
-
description: "The maximum X translation value that is swipable from right (negative value). Defaults to negative half view width",
|
|
106
|
-
group: GROUPS.advanced,
|
|
107
|
-
required: false
|
|
108
|
-
}),
|
|
109
|
-
directionalDistanceChangeThreshold: createStaticNumberProp({
|
|
110
|
-
label: "Change threshold",
|
|
111
|
-
description: "Change the sensitivity of the swipe on the view",
|
|
112
|
-
group: GROUPS.advanced,
|
|
113
|
-
required: false
|
|
114
|
-
}),
|
|
115
|
-
friction: createStaticNumberProp({
|
|
116
|
-
label: "Friction",
|
|
117
|
-
description: "Controls the 'bounciness' of the swipe animation",
|
|
118
|
-
defaultValue: 20,
|
|
119
|
-
group: GROUPS.advanced,
|
|
120
|
-
required: false
|
|
121
|
-
}),
|
|
122
|
-
tension: createStaticNumberProp({
|
|
123
|
-
label: "Change threshold",
|
|
124
|
-
description: "Controls the tension/speed of the swipe animation",
|
|
125
|
-
group: GROUPS.advanced,
|
|
126
|
-
required: false
|
|
127
|
-
}),
|
|
128
|
-
swipeToOpenVelocityContribution: createStaticNumberProp({
|
|
129
|
-
label: "Swipe Velocity Contribution",
|
|
130
|
-
description: "Describes how much the ending velocity of the gesture affects whether the swipe will result in the item being closed or open. A velocity factor of 0 (the default) means that the velocity will have no bearing on whether the swipe settles on a closed or open position and it'll just take into consideration the swipeToOpenPercent. Ideal values for this prop tend to be between 5 and 15",
|
|
131
|
-
group: GROUPS.advanced,
|
|
132
|
-
required: false
|
|
133
|
-
}),
|
|
134
|
-
swipeToOpenPercent: createStaticNumberProp({
|
|
135
|
-
label: "Swipe to open percentage",
|
|
136
|
-
description: "What % of the left/right does the user need to swipe past to trigger the view opening",
|
|
137
|
-
group: GROUPS.advanced,
|
|
138
|
-
defaultValue: 50,
|
|
139
|
-
required: false
|
|
140
|
-
}),
|
|
141
|
-
swipeToClosePercent: createStaticNumberProp({
|
|
142
|
-
label: "Swipe to close percentage",
|
|
143
|
-
description: "What % of the left/right does the user need to swipe past to trigger the view closing",
|
|
144
|
-
group: GROUPS.advanced,
|
|
145
|
-
defaultValue: 50,
|
|
146
|
-
required: false
|
|
147
|
-
})
|
|
148
|
-
}
|
|
149
|
-
}, {
|
|
150
|
-
name: "Swipeable View Button",
|
|
151
|
-
tag: "SwipeableViewButton",
|
|
152
|
-
description: "Button to be rendered under a Swipeable View",
|
|
153
|
-
category: COMPONENT_TYPES.testing /*.view*/,
|
|
154
|
-
stylesPanelSections: [],
|
|
155
|
-
triggers: [Triggers.OnPress],
|
|
156
|
-
props: {
|
|
157
|
-
...SHARED_SEED_DATA_PROPS,
|
|
158
|
-
onPress: createActionProp()
|
|
159
|
-
}
|
|
160
|
-
}, {
|
|
161
|
-
name: "Swipeable View Swipe Handler",
|
|
162
|
-
tag: "SwipeableViewSwipeHandler",
|
|
163
|
-
description: "Component that renders and handles swipe of Swipeable View",
|
|
164
|
-
category: COMPONENT_TYPES.testing /*.view*/,
|
|
165
|
-
stylesPanelSections: [],
|
|
166
|
-
triggers: [Triggers.OnSwipe],
|
|
167
|
-
props: {
|
|
168
|
-
...SHARED_SEED_DATA_PROPS,
|
|
169
|
-
onSwipe: createActionProp({
|
|
170
|
-
label: "On swipe",
|
|
171
|
-
description: "Called when Swipeable View swiped in the direction this is configured to"
|
|
172
|
-
})
|
|
173
|
-
}
|
|
174
|
-
}];
|
|
175
|
-
//# sourceMappingURL=SwipeableView.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["COMPONENT_TYPES","createStaticNumberProp","createStaticBoolProp","CONTAINER_COMPONENT_STYLES_SECTIONS","StylesPanelSections","GROUPS","createBoolProp","createTextProp","createIconProp","createTextEnumProp","createColorProp","Triggers","createActionProp","SHARED_SEED_DATA_PROPS","title","label","description","defaultValue","required","group","basic","side","options","icon","iconSize","backgroundColor","color","SEED_DATA","name","tag","doc_link","category","testing","stylesPanelSections","Typography","layout","overflow","flexDirection","alignItems","padding","props","closeOnPress","swipeActivationPercentage","disableLeftSwipe","disableRightSwipe","leftOpenValue","advanced","rightOpenValue","leftActivationValue","rightActivationValue","stopLeftSwipe","stopRightSwipe","directionalDistanceChangeThreshold","friction","tension","swipeToOpenVelocityContribution","swipeToOpenPercent","swipeToClosePercent","triggers","OnPress","onPress","OnSwipe","onSwipe"],"sourceRoot":"../../../src","sources":["mappings/SwipeableView.ts"],"mappings":"AAAA,SACEA,eAAe,EACfC,sBAAsB,EACtBC,oBAAoB,EACpBC,mCAAmC,EACnCC,mBAAmB,EACnBC,MAAM,EACNC,cAAc,EACdC,cAAc,EACdC,cAAc,EACdC,kBAAkB,EAClBC,eAAe,EACfC,QAAQ,EACRC,gBAAgB,QACX,iBAAiB;AAExB,OAAO,MAAMC,sBAAsB,GAAG;EACpCC,KAAK,EAAEP,cAAc,CAAC;IACpBQ,KAAK,EAAE,OAAO;IACdC,WAAW,EAAE,2BAA2B;IACxCC,YAAY,EAAE,WAAW;IACzBC,QAAQ,EAAE,IAAI;IACdC,KAAK,EAAEd,MAAM,CAACe;EAChB,CAAC,CAAC;EACFC,IAAI,EAAEZ,kBAAkB,CAAC;IACvBM,KAAK,EAAE,MAAM;IACbC,WAAW,EAAE,sCAAsC;IACnDM,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;IAC1BL,YAAY,EAAE,MAAM;IACpBC,QAAQ,EAAE;EACZ,CAAC,CAAC;EACFK,IAAI,EAAEf,cAAc,CAAC;IACnBS,YAAY,EAAE,IAAI;IAClBC,QAAQ,EAAE;EACZ,CAAC,CAAC;EACFM,QAAQ,EAAEvB,sBAAsB,CAAC;IAC/Bc,KAAK,EAAE,WAAW;IAClBC,WAAW,EAAE,cAAc;IAC3BC,YAAY,EAAE,EAAE;IAChBC,QAAQ,EAAE;EACZ,CAAC,CAAC;EACFO,eAAe,EAAEf,eAAe,CAAC;IAC/BK,KAAK,EAAE,kBAAkB;IACzBC,WAAW,EAAE,sCAAsC;IACnDC,YAAY,EAAE;EAChB,CAAC,CAAC;EACFS,KAAK,EAAEhB,eAAe,CAAC;IACrBK,KAAK,EAAE,OAAO;IACdC,WAAW,EAA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Q,CAACkD,OAAO,CAAC;EAC5BrB,KAAK,EAAE;IACL,GAAG3B,sBAAsB;IACzBiD,OAAO,EAAElD,gBAAgB,CAAC;MACxBG,KAAK,EAAE,UAAU;MACjBC,WAAW,EACT;IACJ,CAAC;EACH;AACF,CAAC,CACF"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { StyleProp, ViewStyle, TextStyle } from "react-native";
|
|
3
|
-
import { IconSlot } from "../../interfaces/Icon";
|
|
4
|
-
import type { Theme } from "../../styles/DefaultTheme";
|
|
5
|
-
export interface SwipeableViewProps extends IconSlot {
|
|
6
|
-
closeOnPress?: boolean;
|
|
7
|
-
leftOpenValue?: number;
|
|
8
|
-
rightOpenValue?: number;
|
|
9
|
-
leftActivationValue?: number;
|
|
10
|
-
rightActivationValue?: number;
|
|
11
|
-
swipeActivationPercentage?: number;
|
|
12
|
-
stopLeftSwipe?: number;
|
|
13
|
-
stopRightSwipe?: number;
|
|
14
|
-
directionalDistanceChangeThreshold?: number;
|
|
15
|
-
friction?: number;
|
|
16
|
-
tension?: number;
|
|
17
|
-
disableLeftSwipe?: boolean;
|
|
18
|
-
disableRightSwipe?: boolean;
|
|
19
|
-
swipeToOpenVelocityContribution?: number;
|
|
20
|
-
swipeToOpenPercent?: number;
|
|
21
|
-
swipeToClosePercent?: number;
|
|
22
|
-
style?: StyleProp<ViewStyle | TextStyle>;
|
|
23
|
-
theme: Theme;
|
|
24
|
-
}
|
|
25
|
-
declare const _default: React.ComponentType<import("@draftbit/react-theme-provider").$Without<React.PropsWithChildren<SwipeableViewProps>, "theme"> & {
|
|
26
|
-
theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
|
|
27
|
-
}> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<React.PropsWithChildren<SwipeableViewProps>> & React.FC<React.PropsWithChildren<SwipeableViewProps>>, {}>;
|
|
28
|
-
export default _default;
|
|
29
|
-
//# sourceMappingURL=SwipeableView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeableView.d.ts","sourceRoot":"","sources":["../../../../../src/components/SwipeableView/SwipeableView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,SAAS,EACT,SAAS,EACT,SAAS,EAGV,MAAM,cAAc,CAAC;AAWtB,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAKvD,MAAM,WAAW,kBAAmB,SAAQ,QAAQ;IAClD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kCAAkC,CAAC,EAAE,MAAM,CAAC;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,+BAA+B,CAAC,EAAE,MAAM,CAAC;IACzC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IACzC,KAAK,EAAE,KAAK,CAAC;CACd;;;;AA8PD,wBAAwC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface SwipeableViewButtonProps {
|
|
3
|
-
title: string;
|
|
4
|
-
side: "left" | "right";
|
|
5
|
-
onPress: (() => void) | null;
|
|
6
|
-
icon?: string;
|
|
7
|
-
iconSize?: number;
|
|
8
|
-
backgroundColor?: string;
|
|
9
|
-
color?: string;
|
|
10
|
-
}
|
|
11
|
-
declare const SwipeableViewButton: React.FC<SwipeableViewButtonProps>;
|
|
12
|
-
export default SwipeableViewButton;
|
|
13
|
-
//# sourceMappingURL=SwipeableViewButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeableViewButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/SwipeableView/SwipeableViewButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAGD,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAE3D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface SwipeableViewSwipeHandlerProps {
|
|
3
|
-
title: string;
|
|
4
|
-
side: "left" | "right";
|
|
5
|
-
onSwipe: (() => void) | null;
|
|
6
|
-
icon?: string;
|
|
7
|
-
iconSize?: number;
|
|
8
|
-
backgroundColor?: string;
|
|
9
|
-
color?: string;
|
|
10
|
-
}
|
|
11
|
-
declare const SwipeableViewSwipeHandler: React.FC<SwipeableViewSwipeHandlerProps>;
|
|
12
|
-
export default SwipeableViewSwipeHandler;
|
|
13
|
-
//# sourceMappingURL=SwipeableViewSwipeHandler.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeableViewSwipeHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/SwipeableView/SwipeableViewSwipeHandler.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,8BAA8B;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAGD,QAAA,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CACvC,8BAA8B,CAG/B,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/SwipeableView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,6BAA6B,CAAC"}
|
|
@@ -1,426 +0,0 @@
|
|
|
1
|
-
export declare const SHARED_SEED_DATA_PROPS: {
|
|
2
|
-
title: any;
|
|
3
|
-
side: {
|
|
4
|
-
group: string;
|
|
5
|
-
label: string;
|
|
6
|
-
description: string;
|
|
7
|
-
editable: boolean;
|
|
8
|
-
required: boolean;
|
|
9
|
-
formType: string;
|
|
10
|
-
propType: string;
|
|
11
|
-
defaultValue: null;
|
|
12
|
-
options: never[];
|
|
13
|
-
};
|
|
14
|
-
icon: {
|
|
15
|
-
label: string;
|
|
16
|
-
description: string;
|
|
17
|
-
formType: string;
|
|
18
|
-
propType: string;
|
|
19
|
-
defaultValue: string;
|
|
20
|
-
required: boolean;
|
|
21
|
-
editable: boolean;
|
|
22
|
-
group: string;
|
|
23
|
-
};
|
|
24
|
-
iconSize: {
|
|
25
|
-
label: string;
|
|
26
|
-
description: string;
|
|
27
|
-
formType: string;
|
|
28
|
-
propType: string;
|
|
29
|
-
group: string;
|
|
30
|
-
defaultValue: null;
|
|
31
|
-
editable: boolean;
|
|
32
|
-
required: boolean;
|
|
33
|
-
step: number;
|
|
34
|
-
};
|
|
35
|
-
backgroundColor: {
|
|
36
|
-
group: string;
|
|
37
|
-
label: string;
|
|
38
|
-
description: string;
|
|
39
|
-
editable: boolean;
|
|
40
|
-
required: boolean;
|
|
41
|
-
defaultValue: null;
|
|
42
|
-
formType: string;
|
|
43
|
-
propType: string;
|
|
44
|
-
};
|
|
45
|
-
color: {
|
|
46
|
-
group: string;
|
|
47
|
-
label: string;
|
|
48
|
-
description: string;
|
|
49
|
-
editable: boolean;
|
|
50
|
-
required: boolean;
|
|
51
|
-
defaultValue: null;
|
|
52
|
-
formType: string;
|
|
53
|
-
propType: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
export declare const SEED_DATA: ({
|
|
57
|
-
name: string;
|
|
58
|
-
tag: string;
|
|
59
|
-
doc_link: string;
|
|
60
|
-
description: string;
|
|
61
|
-
category: string;
|
|
62
|
-
stylesPanelSections: string[];
|
|
63
|
-
layout: {
|
|
64
|
-
overflow: string;
|
|
65
|
-
flexDirection: string;
|
|
66
|
-
alignItems: string;
|
|
67
|
-
padding: number;
|
|
68
|
-
};
|
|
69
|
-
props: {
|
|
70
|
-
closeOnPress: {
|
|
71
|
-
label: string;
|
|
72
|
-
description: string;
|
|
73
|
-
formType: string;
|
|
74
|
-
propType: string;
|
|
75
|
-
defaultValue: boolean;
|
|
76
|
-
editable: boolean;
|
|
77
|
-
required: boolean;
|
|
78
|
-
group: string;
|
|
79
|
-
};
|
|
80
|
-
swipeActivationPercentage: {
|
|
81
|
-
label: string;
|
|
82
|
-
description: string;
|
|
83
|
-
formType: string;
|
|
84
|
-
propType: string;
|
|
85
|
-
group: string;
|
|
86
|
-
defaultValue: null;
|
|
87
|
-
editable: boolean;
|
|
88
|
-
required: boolean;
|
|
89
|
-
step: number;
|
|
90
|
-
};
|
|
91
|
-
disableLeftSwipe: {
|
|
92
|
-
label: string;
|
|
93
|
-
description: string;
|
|
94
|
-
formType: string;
|
|
95
|
-
propType: string;
|
|
96
|
-
defaultValue: boolean;
|
|
97
|
-
editable: boolean;
|
|
98
|
-
required: boolean;
|
|
99
|
-
group: string;
|
|
100
|
-
};
|
|
101
|
-
disableRightSwipe: {
|
|
102
|
-
label: string;
|
|
103
|
-
description: string;
|
|
104
|
-
formType: string;
|
|
105
|
-
propType: string;
|
|
106
|
-
defaultValue: boolean;
|
|
107
|
-
editable: boolean;
|
|
108
|
-
required: boolean;
|
|
109
|
-
group: string;
|
|
110
|
-
};
|
|
111
|
-
leftOpenValue: {
|
|
112
|
-
label: string;
|
|
113
|
-
description: string;
|
|
114
|
-
formType: string;
|
|
115
|
-
propType: string;
|
|
116
|
-
group: string;
|
|
117
|
-
defaultValue: null;
|
|
118
|
-
editable: boolean;
|
|
119
|
-
required: boolean;
|
|
120
|
-
step: number;
|
|
121
|
-
};
|
|
122
|
-
rightOpenValue: {
|
|
123
|
-
label: string;
|
|
124
|
-
description: string;
|
|
125
|
-
formType: string;
|
|
126
|
-
propType: string;
|
|
127
|
-
group: string;
|
|
128
|
-
defaultValue: null;
|
|
129
|
-
editable: boolean;
|
|
130
|
-
required: boolean;
|
|
131
|
-
step: number;
|
|
132
|
-
};
|
|
133
|
-
leftActivationValue: {
|
|
134
|
-
label: string;
|
|
135
|
-
description: string;
|
|
136
|
-
formType: string;
|
|
137
|
-
propType: string;
|
|
138
|
-
group: string;
|
|
139
|
-
defaultValue: null;
|
|
140
|
-
editable: boolean;
|
|
141
|
-
required: boolean;
|
|
142
|
-
step: number;
|
|
143
|
-
};
|
|
144
|
-
rightActivationValue: {
|
|
145
|
-
label: string;
|
|
146
|
-
description: string;
|
|
147
|
-
formType: string;
|
|
148
|
-
propType: string;
|
|
149
|
-
group: string;
|
|
150
|
-
defaultValue: null;
|
|
151
|
-
editable: boolean;
|
|
152
|
-
required: boolean;
|
|
153
|
-
step: number;
|
|
154
|
-
};
|
|
155
|
-
stopLeftSwipe: {
|
|
156
|
-
label: string;
|
|
157
|
-
description: string;
|
|
158
|
-
formType: string;
|
|
159
|
-
propType: string;
|
|
160
|
-
group: string;
|
|
161
|
-
defaultValue: null;
|
|
162
|
-
editable: boolean;
|
|
163
|
-
required: boolean;
|
|
164
|
-
step: number;
|
|
165
|
-
};
|
|
166
|
-
stopRightSwipe: {
|
|
167
|
-
label: string;
|
|
168
|
-
description: string;
|
|
169
|
-
formType: string;
|
|
170
|
-
propType: string;
|
|
171
|
-
group: string;
|
|
172
|
-
defaultValue: null;
|
|
173
|
-
editable: boolean;
|
|
174
|
-
required: boolean;
|
|
175
|
-
step: number;
|
|
176
|
-
};
|
|
177
|
-
directionalDistanceChangeThreshold: {
|
|
178
|
-
label: string;
|
|
179
|
-
description: string;
|
|
180
|
-
formType: string;
|
|
181
|
-
propType: string;
|
|
182
|
-
group: string;
|
|
183
|
-
defaultValue: null;
|
|
184
|
-
editable: boolean;
|
|
185
|
-
required: boolean;
|
|
186
|
-
step: number;
|
|
187
|
-
};
|
|
188
|
-
friction: {
|
|
189
|
-
label: string;
|
|
190
|
-
description: string;
|
|
191
|
-
formType: string;
|
|
192
|
-
propType: string;
|
|
193
|
-
group: string;
|
|
194
|
-
defaultValue: null;
|
|
195
|
-
editable: boolean;
|
|
196
|
-
required: boolean;
|
|
197
|
-
step: number;
|
|
198
|
-
};
|
|
199
|
-
tension: {
|
|
200
|
-
label: string;
|
|
201
|
-
description: string;
|
|
202
|
-
formType: string;
|
|
203
|
-
propType: string;
|
|
204
|
-
group: string;
|
|
205
|
-
defaultValue: null;
|
|
206
|
-
editable: boolean;
|
|
207
|
-
required: boolean;
|
|
208
|
-
step: number;
|
|
209
|
-
};
|
|
210
|
-
swipeToOpenVelocityContribution: {
|
|
211
|
-
label: string;
|
|
212
|
-
description: string;
|
|
213
|
-
formType: string;
|
|
214
|
-
propType: string;
|
|
215
|
-
group: string;
|
|
216
|
-
defaultValue: null;
|
|
217
|
-
editable: boolean;
|
|
218
|
-
required: boolean;
|
|
219
|
-
step: number;
|
|
220
|
-
};
|
|
221
|
-
swipeToOpenPercent: {
|
|
222
|
-
label: string;
|
|
223
|
-
description: string;
|
|
224
|
-
formType: string;
|
|
225
|
-
propType: string;
|
|
226
|
-
group: string;
|
|
227
|
-
defaultValue: null;
|
|
228
|
-
editable: boolean;
|
|
229
|
-
required: boolean;
|
|
230
|
-
step: number;
|
|
231
|
-
};
|
|
232
|
-
swipeToClosePercent: {
|
|
233
|
-
label: string;
|
|
234
|
-
description: string;
|
|
235
|
-
formType: string;
|
|
236
|
-
propType: string;
|
|
237
|
-
group: string;
|
|
238
|
-
defaultValue: null;
|
|
239
|
-
editable: boolean;
|
|
240
|
-
required: boolean;
|
|
241
|
-
step: number;
|
|
242
|
-
};
|
|
243
|
-
};
|
|
244
|
-
triggers?: undefined;
|
|
245
|
-
} | {
|
|
246
|
-
name: string;
|
|
247
|
-
tag: string;
|
|
248
|
-
description: string;
|
|
249
|
-
category: string;
|
|
250
|
-
stylesPanelSections: never[];
|
|
251
|
-
triggers: string[];
|
|
252
|
-
props: {
|
|
253
|
-
onPress: {
|
|
254
|
-
label: string;
|
|
255
|
-
description: string;
|
|
256
|
-
editable: boolean;
|
|
257
|
-
required: boolean;
|
|
258
|
-
formType: string;
|
|
259
|
-
propType: string;
|
|
260
|
-
defaultValue: null;
|
|
261
|
-
group: string;
|
|
262
|
-
};
|
|
263
|
-
title: any;
|
|
264
|
-
side: {
|
|
265
|
-
group: string;
|
|
266
|
-
label: string;
|
|
267
|
-
description: string;
|
|
268
|
-
editable: boolean;
|
|
269
|
-
required: boolean;
|
|
270
|
-
formType: string;
|
|
271
|
-
propType: string;
|
|
272
|
-
defaultValue: null;
|
|
273
|
-
options: never[];
|
|
274
|
-
};
|
|
275
|
-
icon: {
|
|
276
|
-
label: string;
|
|
277
|
-
description: string;
|
|
278
|
-
formType: string;
|
|
279
|
-
propType: string;
|
|
280
|
-
defaultValue: string;
|
|
281
|
-
required: boolean;
|
|
282
|
-
editable: boolean;
|
|
283
|
-
group: string;
|
|
284
|
-
};
|
|
285
|
-
iconSize: {
|
|
286
|
-
label: string;
|
|
287
|
-
description: string;
|
|
288
|
-
formType: string;
|
|
289
|
-
propType: string;
|
|
290
|
-
group: string;
|
|
291
|
-
defaultValue: null;
|
|
292
|
-
editable: boolean;
|
|
293
|
-
required: boolean;
|
|
294
|
-
step: number;
|
|
295
|
-
};
|
|
296
|
-
backgroundColor: {
|
|
297
|
-
group: string;
|
|
298
|
-
label: string;
|
|
299
|
-
description: string;
|
|
300
|
-
editable: boolean;
|
|
301
|
-
required: boolean;
|
|
302
|
-
defaultValue: null;
|
|
303
|
-
formType: string;
|
|
304
|
-
propType: string;
|
|
305
|
-
};
|
|
306
|
-
color: {
|
|
307
|
-
group: string;
|
|
308
|
-
label: string;
|
|
309
|
-
description: string;
|
|
310
|
-
editable: boolean;
|
|
311
|
-
required: boolean;
|
|
312
|
-
defaultValue: null;
|
|
313
|
-
formType: string;
|
|
314
|
-
propType: string;
|
|
315
|
-
};
|
|
316
|
-
closeOnPress?: undefined;
|
|
317
|
-
swipeActivationPercentage?: undefined;
|
|
318
|
-
disableLeftSwipe?: undefined;
|
|
319
|
-
disableRightSwipe?: undefined;
|
|
320
|
-
leftOpenValue?: undefined;
|
|
321
|
-
rightOpenValue?: undefined;
|
|
322
|
-
leftActivationValue?: undefined;
|
|
323
|
-
rightActivationValue?: undefined;
|
|
324
|
-
stopLeftSwipe?: undefined;
|
|
325
|
-
stopRightSwipe?: undefined;
|
|
326
|
-
directionalDistanceChangeThreshold?: undefined;
|
|
327
|
-
friction?: undefined;
|
|
328
|
-
tension?: undefined;
|
|
329
|
-
swipeToOpenVelocityContribution?: undefined;
|
|
330
|
-
swipeToOpenPercent?: undefined;
|
|
331
|
-
swipeToClosePercent?: undefined;
|
|
332
|
-
};
|
|
333
|
-
doc_link?: undefined;
|
|
334
|
-
layout?: undefined;
|
|
335
|
-
} | {
|
|
336
|
-
name: string;
|
|
337
|
-
tag: string;
|
|
338
|
-
description: string;
|
|
339
|
-
category: string;
|
|
340
|
-
stylesPanelSections: never[];
|
|
341
|
-
triggers: string[];
|
|
342
|
-
props: {
|
|
343
|
-
onSwipe: {
|
|
344
|
-
label: string;
|
|
345
|
-
description: string;
|
|
346
|
-
editable: boolean;
|
|
347
|
-
required: boolean;
|
|
348
|
-
formType: string;
|
|
349
|
-
propType: string;
|
|
350
|
-
defaultValue: null;
|
|
351
|
-
group: string;
|
|
352
|
-
};
|
|
353
|
-
title: any;
|
|
354
|
-
side: {
|
|
355
|
-
group: string;
|
|
356
|
-
label: string;
|
|
357
|
-
description: string;
|
|
358
|
-
editable: boolean;
|
|
359
|
-
required: boolean;
|
|
360
|
-
formType: string;
|
|
361
|
-
propType: string;
|
|
362
|
-
defaultValue: null;
|
|
363
|
-
options: never[];
|
|
364
|
-
};
|
|
365
|
-
icon: {
|
|
366
|
-
label: string;
|
|
367
|
-
description: string;
|
|
368
|
-
formType: string;
|
|
369
|
-
propType: string;
|
|
370
|
-
defaultValue: string;
|
|
371
|
-
required: boolean;
|
|
372
|
-
editable: boolean;
|
|
373
|
-
group: string;
|
|
374
|
-
};
|
|
375
|
-
iconSize: {
|
|
376
|
-
label: string;
|
|
377
|
-
description: string;
|
|
378
|
-
formType: string;
|
|
379
|
-
propType: string;
|
|
380
|
-
group: string;
|
|
381
|
-
defaultValue: null;
|
|
382
|
-
editable: boolean;
|
|
383
|
-
required: boolean;
|
|
384
|
-
step: number;
|
|
385
|
-
};
|
|
386
|
-
backgroundColor: {
|
|
387
|
-
group: string;
|
|
388
|
-
label: string;
|
|
389
|
-
description: string;
|
|
390
|
-
editable: boolean;
|
|
391
|
-
required: boolean;
|
|
392
|
-
defaultValue: null;
|
|
393
|
-
formType: string;
|
|
394
|
-
propType: string;
|
|
395
|
-
};
|
|
396
|
-
color: {
|
|
397
|
-
group: string;
|
|
398
|
-
label: string;
|
|
399
|
-
description: string;
|
|
400
|
-
editable: boolean;
|
|
401
|
-
required: boolean;
|
|
402
|
-
defaultValue: null;
|
|
403
|
-
formType: string;
|
|
404
|
-
propType: string;
|
|
405
|
-
};
|
|
406
|
-
closeOnPress?: undefined;
|
|
407
|
-
swipeActivationPercentage?: undefined;
|
|
408
|
-
disableLeftSwipe?: undefined;
|
|
409
|
-
disableRightSwipe?: undefined;
|
|
410
|
-
leftOpenValue?: undefined;
|
|
411
|
-
rightOpenValue?: undefined;
|
|
412
|
-
leftActivationValue?: undefined;
|
|
413
|
-
rightActivationValue?: undefined;
|
|
414
|
-
stopLeftSwipe?: undefined;
|
|
415
|
-
stopRightSwipe?: undefined;
|
|
416
|
-
directionalDistanceChangeThreshold?: undefined;
|
|
417
|
-
friction?: undefined;
|
|
418
|
-
tension?: undefined;
|
|
419
|
-
swipeToOpenVelocityContribution?: undefined;
|
|
420
|
-
swipeToOpenPercent?: undefined;
|
|
421
|
-
swipeToClosePercent?: undefined;
|
|
422
|
-
};
|
|
423
|
-
doc_link?: undefined;
|
|
424
|
-
layout?: undefined;
|
|
425
|
-
})[];
|
|
426
|
-
//# sourceMappingURL=SwipeableView.d.ts.map
|