react-native-ui-lib 7.41.1 → 7.42.0-snapshot.6978
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/components/Keyboard/KeyboardInput/TextInputKeyboardManager/TextInputKeyboardManager.ios.js +1 -1
- package/lib/package.json +1 -1
- package/package.json +1 -1
- package/searchInput.d.ts +2 -0
- package/searchInput.js +1 -0
- package/src/components/button/button.api.json +5 -197
- package/src/components/chip/chip.driver.d.ts +33 -0
- package/src/components/chip/chip.driver.js +56 -0
- package/src/components/index.js +3 -0
- package/src/components/picker/Picker.driver.new.d.ts +32 -0
- package/src/components/picker/Picker.driver.new.js +7 -5
- package/src/components/picker/helpers/useNewPickerProps.js +11 -7
- package/src/components/searchInput/index.d.ts +37 -0
- package/src/components/searchInput/index.js +218 -0
- package/src/components/searchInput/searchInput.api.json +57 -0
- package/src/components/searchInput/types.d.ts +66 -0
- package/src/components/searchInput/types.js +5 -0
- package/src/components/tabController/apis/tabController.api.json +21 -5
- package/src/components/textField/useImperativeInputHandle.js +2 -0
- package/src/components/timeline/Line.d.ts +1 -0
- package/src/components/timeline/Line.js +5 -4
- package/src/components/timeline/Point.d.ts +1 -0
- package/src/components/timeline/Point.js +5 -4
- package/src/components/timeline/index.js +6 -5
- package/src/components/timeline/line.driver.d.ts +10 -0
- package/src/components/timeline/line.driver.js +40 -0
- package/src/components/timeline/point.driver.d.ts +8 -0
- package/src/components/timeline/point.driver.js +55 -0
- package/src/components/timeline/timeline.driver.d.ts +25 -0
- package/src/components/timeline/timeline.driver.js +39 -0
- package/src/components/wizard/wizard.api.json +7 -7
- package/src/index.d.ts +1 -0
- package/src/index.js +28 -0
- package/src/testkit/index.d.ts +2 -0
- package/src/testkit/index.js +3 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { useComponentDriver } from "../../testkit/new/Component.driver";
|
|
2
|
+
import { LineDriver } from "./line.driver";
|
|
3
|
+
import { PointDriver } from "./point.driver";
|
|
4
|
+
export const TimelineDriver = props => {
|
|
5
|
+
const driver = useComponentDriver(props);
|
|
6
|
+
const pointDriver = PointDriver({
|
|
7
|
+
renderTree: props.renderTree,
|
|
8
|
+
testID: `${props.testID}.point`
|
|
9
|
+
});
|
|
10
|
+
const topLineDriver = LineDriver({
|
|
11
|
+
renderTree: props.renderTree,
|
|
12
|
+
testID: `${props.testID}.topLine`
|
|
13
|
+
});
|
|
14
|
+
const bottomLineDriver = LineDriver({
|
|
15
|
+
renderTree: props.renderTree,
|
|
16
|
+
testID: `${props.testID}.bottomLine`
|
|
17
|
+
});
|
|
18
|
+
const getPoint = () => {
|
|
19
|
+
return {
|
|
20
|
+
...pointDriver.getPoint()
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
const getTopLine = () => {
|
|
24
|
+
return {
|
|
25
|
+
...topLineDriver.getLine()
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
const getBottomLine = () => {
|
|
29
|
+
return {
|
|
30
|
+
...bottomLineDriver.getLine()
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
return {
|
|
34
|
+
...driver,
|
|
35
|
+
getPoint,
|
|
36
|
+
getTopLine,
|
|
37
|
+
getBottomLine
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
],
|
|
130
130
|
"items": [
|
|
131
131
|
{
|
|
132
|
-
"title": "
|
|
132
|
+
"title": "Active",
|
|
133
133
|
"description": "Border: $outlinePrimary \nNumber: subtext, $textPrimary \nStep label: bodySmallBold, $textNuetralHeavy ",
|
|
134
134
|
"content": [
|
|
135
135
|
{
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
]
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
|
-
"title": "
|
|
141
|
+
"title": "Next (enabled)",
|
|
142
142
|
"description": "Border: $outlineDisabled \nNumber: subtext, $textNuetralHeavy ",
|
|
143
143
|
"content": [
|
|
144
144
|
{
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
]
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
|
-
"title": "
|
|
150
|
+
"title": "Next (disabled)",
|
|
151
151
|
"description": "Border: $outlineDisabled \nNumber: subtext, $textDisabled ",
|
|
152
152
|
"content": [
|
|
153
153
|
{
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
]
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
|
-
"title": "
|
|
159
|
+
"title": "Completed",
|
|
160
160
|
"description": "Border: $outlineDisabled \nIcon: $iconNuetral ",
|
|
161
161
|
"content": [
|
|
162
162
|
{
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
]
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
|
-
"title": "
|
|
168
|
+
"title": "Skipped",
|
|
169
169
|
"description": "Border: $outlineDanger \nNumber: subtext, $textDangerLight ",
|
|
170
170
|
"content": [
|
|
171
171
|
{
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
]
|
|
175
175
|
},
|
|
176
176
|
{
|
|
177
|
-
"title": "
|
|
177
|
+
"title": "Error",
|
|
178
178
|
"description": "Border: $outlineDanger \nIcon: $iconDangerLight",
|
|
179
179
|
"content": [
|
|
180
180
|
{
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
"value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components Docs/Wizard/wizard_overview_section_spec.png"
|
|
193
193
|
}
|
|
194
194
|
],
|
|
195
|
-
"description": "**Spacing Between Steps** \nAll steps are distributed evenly, leaving S5 margins. \nMin spacing between steps: S3 \n\n**Maximum Step Width** \nCurrent step’s text box shouldnt be larger than 40% of the screen’s width. \nIf the label will be larger it will get ellipsis. \ne.g. : For 375px screen : 40% = 150px"
|
|
195
|
+
"description": "markdown: **Spacing Between Steps** \nAll steps are distributed evenly, leaving S5 margins. \nMin spacing between steps: S3 \n\n**Maximum Step Width** \nCurrent step’s text box shouldnt be larger than 40% of the screen’s width. \nIf the label will be larger it will get ellipsis. \ne.g. : For 375px screen : 40% = 150px"
|
|
196
196
|
},
|
|
197
197
|
{
|
|
198
198
|
"type": "section",
|
package/src/index.d.ts
CHANGED
|
@@ -76,6 +76,7 @@ export { default as RadioGroup, RadioGroupProps } from './components/radioGroup'
|
|
|
76
76
|
export type { RecorderProps } from './typings/recorderTypes';
|
|
77
77
|
export type { ComponentStatics } from './typings/common';
|
|
78
78
|
export { default as ScrollBar, ScrollBarProps } from './components/scrollBar';
|
|
79
|
+
export { default as SearchInput, SearchInputProps, SearchInputRef } from './components/searchInput';
|
|
79
80
|
export { default as SectionsWheelPicker, SectionsWheelPickerProps } from './components/sectionsWheelPicker';
|
|
80
81
|
export { default as SegmentedControl, SegmentedControlProps, SegmentedControlItemProps, SegmentedControlPreset } from './components/segmentedControl';
|
|
81
82
|
export { default as SharedTransition } from './components/sharedTransition';
|
package/src/index.js
CHANGED
|
@@ -179,6 +179,9 @@ var _exportNames = {
|
|
|
179
179
|
RadioGroupProps: true,
|
|
180
180
|
ScrollBar: true,
|
|
181
181
|
ScrollBarProps: true,
|
|
182
|
+
SearchInput: true,
|
|
183
|
+
SearchInputProps: true,
|
|
184
|
+
SearchInputRef: true,
|
|
182
185
|
SectionsWheelPicker: true,
|
|
183
186
|
SectionsWheelPickerProps: true,
|
|
184
187
|
SegmentedControl: true,
|
|
@@ -1213,6 +1216,24 @@ Object.defineProperty(exports, "ScrollBarProps", {
|
|
|
1213
1216
|
return _scrollBar().ScrollBarProps;
|
|
1214
1217
|
}
|
|
1215
1218
|
});
|
|
1219
|
+
Object.defineProperty(exports, "SearchInput", {
|
|
1220
|
+
enumerable: true,
|
|
1221
|
+
get: function () {
|
|
1222
|
+
return _searchInput().default;
|
|
1223
|
+
}
|
|
1224
|
+
});
|
|
1225
|
+
Object.defineProperty(exports, "SearchInputProps", {
|
|
1226
|
+
enumerable: true,
|
|
1227
|
+
get: function () {
|
|
1228
|
+
return _searchInput().SearchInputProps;
|
|
1229
|
+
}
|
|
1230
|
+
});
|
|
1231
|
+
Object.defineProperty(exports, "SearchInputRef", {
|
|
1232
|
+
enumerable: true,
|
|
1233
|
+
get: function () {
|
|
1234
|
+
return _searchInput().SearchInputRef;
|
|
1235
|
+
}
|
|
1236
|
+
});
|
|
1216
1237
|
Object.defineProperty(exports, "SectionsWheelPicker", {
|
|
1217
1238
|
enumerable: true,
|
|
1218
1239
|
get: function () {
|
|
@@ -2200,6 +2221,13 @@ function _scrollBar() {
|
|
|
2200
2221
|
};
|
|
2201
2222
|
return data;
|
|
2202
2223
|
}
|
|
2224
|
+
function _searchInput() {
|
|
2225
|
+
const data = _interopRequireWildcard(require("./components/searchInput"));
|
|
2226
|
+
_searchInput = function () {
|
|
2227
|
+
return data;
|
|
2228
|
+
};
|
|
2229
|
+
return data;
|
|
2230
|
+
}
|
|
2203
2231
|
function _sectionsWheelPicker() {
|
|
2204
2232
|
const data = _interopRequireWildcard(require("./components/sectionsWheelPicker"));
|
|
2205
2233
|
_sectionsWheelPicker = function () {
|
package/src/testkit/index.d.ts
CHANGED
|
@@ -21,3 +21,5 @@ export { PickerDriver } from '../components/picker/Picker.driver.new';
|
|
|
21
21
|
export { ExpandableOverlayDriver } from '../incubator/expandableOverlay/ExpandableOverlay.driver';
|
|
22
22
|
export { ToastDriver } from '../incubator/toast/Toast.driver.new';
|
|
23
23
|
export { DateTimePickerDriver } from '../components/dateTimePicker/DateTimePicker.driver';
|
|
24
|
+
export { TimelineDriver } from '../components/timeline/timeline.driver';
|
|
25
|
+
export { ChipDriver } from '../components/chip/chip.driver';
|
package/src/testkit/index.js
CHANGED
|
@@ -20,4 +20,6 @@ export { WheelPickerItemDriver } from "../components/WheelPicker/WheelPickerItem
|
|
|
20
20
|
export { PickerDriver } from "../components/picker/Picker.driver.new";
|
|
21
21
|
export { ExpandableOverlayDriver } from "../incubator/expandableOverlay/ExpandableOverlay.driver";
|
|
22
22
|
export { ToastDriver } from "../incubator/toast/Toast.driver.new";
|
|
23
|
-
export { DateTimePickerDriver } from "../components/dateTimePicker/DateTimePicker.driver";
|
|
23
|
+
export { DateTimePickerDriver } from "../components/dateTimePicker/DateTimePicker.driver";
|
|
24
|
+
export { TimelineDriver } from "../components/timeline/timeline.driver";
|
|
25
|
+
export { ChipDriver } from "../components/chip/chip.driver";
|