@tecsinapse/react-native-kit 1.20.0 → 1.21.0
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/CHANGELOG.md +8 -0
- package/dist/components/atoms/Avatar/Avatar.js +3 -1
- package/dist/components/atoms/Avatar/Avatar.js.map +1 -1
- package/dist/components/atoms/Avatar/index.js +9 -4
- package/dist/components/atoms/Avatar/index.js.map +1 -1
- package/dist/components/atoms/Badge/Badge.js +10 -7
- package/dist/components/atoms/Badge/Badge.js.map +1 -1
- package/dist/components/atoms/Badge/index.js +15 -5
- package/dist/components/atoms/Badge/index.js.map +1 -1
- package/dist/components/atoms/BottomNavigator/BottomNavigator.js +12 -9
- package/dist/components/atoms/BottomNavigator/BottomNavigator.js.map +1 -1
- package/dist/components/atoms/BottomNavigator/Item.js +10 -7
- package/dist/components/atoms/BottomNavigator/Item.js.map +1 -1
- package/dist/components/atoms/BottomNavigator/index.js +21 -7
- package/dist/components/atoms/BottomNavigator/index.js.map +1 -1
- package/dist/components/atoms/BottomNavigator/styled.js +63 -44
- package/dist/components/atoms/BottomNavigator/styled.js.map +1 -1
- package/dist/components/atoms/Button/Button.js +10 -7
- package/dist/components/atoms/Button/Button.js.map +1 -1
- package/dist/components/atoms/Button/States/Error.js +3 -1
- package/dist/components/atoms/Button/States/Error.js.map +1 -1
- package/dist/components/atoms/Button/States/Loading.js +3 -1
- package/dist/components/atoms/Button/States/Loading.js.map +1 -1
- package/dist/components/atoms/Button/States/Success.js +3 -1
- package/dist/components/atoms/Button/States/Success.js.map +1 -1
- package/dist/components/atoms/Button/States/index.js +21 -8
- package/dist/components/atoms/Button/States/index.js.map +1 -1
- package/dist/components/atoms/Button/index.js +33 -9
- package/dist/components/atoms/Button/index.js.map +1 -1
- package/dist/components/atoms/GroupButton/GroupButtonOption.js +3 -1
- package/dist/components/atoms/GroupButton/GroupButtonOption.js.map +1 -1
- package/dist/components/atoms/GroupButton/index.js +9 -4
- package/dist/components/atoms/GroupButton/index.js.map +1 -1
- package/dist/components/atoms/Header/Header.js +18 -15
- package/dist/components/atoms/Header/Header.js.map +1 -1
- package/dist/components/atoms/Header/index.js +15 -5
- package/dist/components/atoms/Header/index.js.map +1 -1
- package/dist/components/atoms/Header/styled.js +16 -16
- package/dist/components/atoms/Header/styled.js.map +1 -1
- package/dist/components/atoms/Input/Input.js +30 -26
- package/dist/components/atoms/Input/Input.js.map +1 -1
- package/dist/components/atoms/Input/index.js +15 -5
- package/dist/components/atoms/Input/index.js.map +1 -1
- package/dist/components/atoms/Input/styled.js +13 -8
- package/dist/components/atoms/Input/styled.js.map +1 -1
- package/dist/components/atoms/InputMask/InputMask.js +31 -27
- package/dist/components/atoms/InputMask/InputMask.js.map +1 -1
- package/dist/components/atoms/InputMask/index.js +15 -5
- package/dist/components/atoms/InputMask/index.js.map +1 -1
- package/dist/components/atoms/InputMask/styled.js +14 -11
- package/dist/components/atoms/InputMask/styled.js.map +1 -1
- package/dist/components/atoms/Modal/ModalGroupManager.js +8 -5
- package/dist/components/atoms/Modal/ModalGroupManager.js.map +1 -1
- package/dist/components/atoms/Modal/ModalLifecycleHandler.js +87 -72
- package/dist/components/atoms/Modal/ModalLifecycleHandler.js.map +1 -1
- package/dist/components/atoms/Modal/index.js +45 -8
- package/dist/components/atoms/Modal/index.js.map +1 -1
- package/dist/components/atoms/Modal/ui/BaseModalView.js +15 -12
- package/dist/components/atoms/Modal/ui/BaseModalView.js.map +1 -1
- package/dist/components/atoms/Modal/ui/styled.js +18 -20
- package/dist/components/atoms/Modal/ui/styled.js.map +1 -1
- package/dist/components/atoms/Modal/ui/types.js +3 -1
- package/dist/components/atoms/Modal/useLazyModalManager.js +4 -2
- package/dist/components/atoms/Modal/useLazyModalManager.js.map +1 -1
- package/dist/components/atoms/Modal/useModalManager.js +4 -2
- package/dist/components/atoms/Modal/useModalManager.js.map +1 -1
- package/dist/components/atoms/Modal/useModalRemoteControl.js +3 -1
- package/dist/components/atoms/Modal/useModalRemoteControl.js.map +1 -1
- package/dist/components/atoms/Skeleton/Pulse.js +16 -11
- package/dist/components/atoms/Skeleton/Pulse.js.map +1 -1
- package/dist/components/atoms/Skeleton/Skeleton.js +13 -10
- package/dist/components/atoms/Skeleton/Skeleton.js.map +1 -1
- package/dist/components/atoms/Skeleton/Wave.js +17 -12
- package/dist/components/atoms/Skeleton/Wave.js.map +1 -1
- package/dist/components/atoms/Skeleton/animation.js +3 -1
- package/dist/components/atoms/Skeleton/animation.js.map +1 -1
- package/dist/components/atoms/Skeleton/index.js +15 -5
- package/dist/components/atoms/Skeleton/index.js.map +1 -1
- package/dist/components/atoms/Skeleton/styled.js +25 -15
- package/dist/components/atoms/Skeleton/styled.js.map +1 -1
- package/dist/components/atoms/Skeleton/types.js +3 -1
- package/dist/components/atoms/SnappingSlider/SnappingSlider.js +11 -8
- package/dist/components/atoms/SnappingSlider/SnappingSlider.js.map +1 -1
- package/dist/components/atoms/SnappingSlider/index.js +15 -5
- package/dist/components/atoms/SnappingSlider/index.js.map +1 -1
- package/dist/components/atoms/Tag/Tag.js +8 -5
- package/dist/components/atoms/Tag/Tag.js.map +1 -1
- package/dist/components/atoms/Tag/index.js +15 -5
- package/dist/components/atoms/Tag/index.js.map +1 -1
- package/dist/components/atoms/Text/Text.js +8 -5
- package/dist/components/atoms/Text/Text.js.map +1 -1
- package/dist/components/atoms/Text/index.js +15 -5
- package/dist/components/atoms/Text/index.js.map +1 -1
- package/dist/components/atoms/Text/styled.js +16 -12
- package/dist/components/atoms/Text/styled.js.map +1 -1
- package/dist/components/atoms/TextArea/TextArea.js +30 -27
- package/dist/components/atoms/TextArea/TextArea.js.map +1 -1
- package/dist/components/atoms/TextArea/index.js +15 -5
- package/dist/components/atoms/TextArea/index.js.map +1 -1
- package/dist/components/atoms/TextArea/styled.js +3 -1
- package/dist/components/atoms/TextArea/styled.js.map +1 -1
- package/dist/components/molecules/Calendar/Calendar.js +9 -6
- package/dist/components/molecules/Calendar/Calendar.js.map +1 -1
- package/dist/components/molecules/Calendar/index.js +9 -4
- package/dist/components/molecules/Calendar/index.js.map +1 -1
- package/dist/components/molecules/DatePicker/DatePicker.js +16 -12
- package/dist/components/molecules/DatePicker/DatePicker.js.map +1 -1
- package/dist/components/molecules/DatePicker/index.js +15 -5
- package/dist/components/molecules/DatePicker/index.js.map +1 -1
- package/dist/components/molecules/DatePicker/styled.js +13 -6
- package/dist/components/molecules/DatePicker/styled.js.map +1 -1
- package/dist/components/molecules/DateTimePicker/DateTimePicker.js +14 -10
- package/dist/components/molecules/DateTimePicker/DateTimePicker.js.map +1 -1
- package/dist/components/molecules/DateTimePicker/index.js +15 -5
- package/dist/components/molecules/DateTimePicker/index.js.map +1 -1
- package/dist/components/molecules/DateTimeSelector/DateTimeSelector.js +9 -6
- package/dist/components/molecules/DateTimeSelector/DateTimeSelector.js.map +1 -1
- package/dist/components/molecules/DateTimeSelector/index.js +9 -4
- package/dist/components/molecules/DateTimeSelector/index.js.map +1 -1
- package/dist/components/molecules/Grid/Grid.js +19 -13
- package/dist/components/molecules/Grid/Grid.js.map +1 -1
- package/dist/components/molecules/Grid/Item/Item.js +28 -25
- package/dist/components/molecules/Grid/Item/Item.js.map +1 -1
- package/dist/components/molecules/Grid/Item/index.js +15 -5
- package/dist/components/molecules/Grid/Item/index.js.map +1 -1
- package/dist/components/molecules/Grid/index.js +15 -6
- package/dist/components/molecules/Grid/index.js.map +1 -1
- package/dist/components/molecules/IconTextButton/IconTextButton.js +13 -10
- package/dist/components/molecules/IconTextButton/IconTextButton.js.map +1 -1
- package/dist/components/molecules/IconTextButton/TextComponent.js +17 -12
- package/dist/components/molecules/IconTextButton/TextComponent.js.map +1 -1
- package/dist/components/molecules/IconTextButton/index.js +15 -5
- package/dist/components/molecules/IconTextButton/index.js.map +1 -1
- package/dist/components/molecules/IconTextButton/styled.js +31 -29
- package/dist/components/molecules/IconTextButton/styled.js.map +1 -1
- package/dist/components/molecules/InputPassword/InputPassword.js +8 -5
- package/dist/components/molecules/InputPassword/InputPassword.js.map +1 -1
- package/dist/components/molecules/InputPassword/index.js +15 -5
- package/dist/components/molecules/InputPassword/index.js.map +1 -1
- package/dist/components/molecules/LabeledSwitch/LabelComponent.js +16 -11
- package/dist/components/molecules/LabeledSwitch/LabelComponent.js.map +1 -1
- package/dist/components/molecules/LabeledSwitch/LabeledSwitch.js +14 -11
- package/dist/components/molecules/LabeledSwitch/LabeledSwitch.js.map +1 -1
- package/dist/components/molecules/LabeledSwitch/index.js +15 -5
- package/dist/components/molecules/LabeledSwitch/index.js.map +1 -1
- package/dist/components/molecules/LabeledSwitch/styled.js +15 -18
- package/dist/components/molecules/LabeledSwitch/styled.js.map +1 -1
- package/dist/components/molecules/Select/Modal.js +43 -36
- package/dist/components/molecules/Select/Modal.js.map +1 -1
- package/dist/components/molecules/Select/Select.js +36 -33
- package/dist/components/molecules/Select/Select.js.map +1 -1
- package/dist/components/molecules/Select/index.js +15 -5
- package/dist/components/molecules/Select/index.js.map +1 -1
- package/dist/components/molecules/Select/styled.js +77 -84
- package/dist/components/molecules/Select/styled.js.map +1 -1
- package/dist/components/molecules/Snackbar/Snackbar.js +12 -9
- package/dist/components/molecules/Snackbar/Snackbar.js.map +1 -1
- package/dist/components/molecules/Snackbar/index.js +15 -5
- package/dist/components/molecules/Snackbar/index.js.map +1 -1
- package/dist/components/molecules/Snackbar/styled.js +18 -9
- package/dist/components/molecules/Snackbar/styled.js.map +1 -1
- package/dist/index.js +321 -79
- package/dist/index.js.map +1 -1
- package/dist/utils/date.js +3 -1
- package/dist/utils/date.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
exports
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
4
6
|
var _exportNames = {
|
|
5
7
|
Avatar: true,
|
|
6
8
|
Badge: true,
|
|
@@ -55,7 +57,318 @@ var _exportNames = {
|
|
|
55
57
|
Grid: true,
|
|
56
58
|
GridItem: true
|
|
57
59
|
};
|
|
58
|
-
|
|
60
|
+
Object.defineProperty(exports, "Avatar", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () {
|
|
63
|
+
return _Avatar.Avatar;
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(exports, "Badge", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () {
|
|
69
|
+
return _Badge.Badge;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "BadgeNativeProps", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () {
|
|
75
|
+
return _Badge.BadgeNativeProps;
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "BottomNavigator", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () {
|
|
81
|
+
return _BottomNavigator.BottomNavigator;
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "BottomNavigatorProps", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () {
|
|
87
|
+
return _BottomNavigator.BottomNavigatorProps;
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
Object.defineProperty(exports, "Button", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function () {
|
|
93
|
+
return _Button.Button;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "ButtonNativeProps", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () {
|
|
99
|
+
return _Button.ButtonNativeProps;
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(exports, "Calendar", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function () {
|
|
105
|
+
return _Calendar.Calendar;
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "DatePicker", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () {
|
|
111
|
+
return _DatePicker.DatePicker;
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
Object.defineProperty(exports, "DateTimePicker", {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
get: function () {
|
|
117
|
+
return _DateTimePicker.DateTimePicker;
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "DateTimeSelector", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () {
|
|
123
|
+
return _DateTimeSelector.DateTimeSelector;
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
Object.defineProperty(exports, "Error", {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function () {
|
|
129
|
+
return _Button.Error;
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "Grid", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () {
|
|
135
|
+
return _Grid.Grid;
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
Object.defineProperty(exports, "GridItem", {
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function () {
|
|
141
|
+
return _Grid.GridItem;
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "GroupButtonOption", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function () {
|
|
147
|
+
return _GroupButton.GroupButtonOption;
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
Object.defineProperty(exports, "Header", {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function () {
|
|
153
|
+
return _Header.Header;
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
Object.defineProperty(exports, "HeaderProps", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function () {
|
|
159
|
+
return _Header.HeaderProps;
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
Object.defineProperty(exports, "IBaseModal", {
|
|
163
|
+
enumerable: true,
|
|
164
|
+
get: function () {
|
|
165
|
+
return _Modal.IBaseModal;
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
Object.defineProperty(exports, "IconTextButton", {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: function () {
|
|
171
|
+
return _IconTextButton.IconTextButton;
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
Object.defineProperty(exports, "Input", {
|
|
175
|
+
enumerable: true,
|
|
176
|
+
get: function () {
|
|
177
|
+
return _Input.Input;
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
Object.defineProperty(exports, "InputMask", {
|
|
181
|
+
enumerable: true,
|
|
182
|
+
get: function () {
|
|
183
|
+
return _InputMask.InputMask;
|
|
184
|
+
}
|
|
185
|
+
});
|
|
186
|
+
Object.defineProperty(exports, "InputMaskNativeProps", {
|
|
187
|
+
enumerable: true,
|
|
188
|
+
get: function () {
|
|
189
|
+
return _InputMask.InputMaskNativeProps;
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
Object.defineProperty(exports, "InputNativeProps", {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function () {
|
|
195
|
+
return _Input.InputNativeProps;
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
Object.defineProperty(exports, "InputPassword", {
|
|
199
|
+
enumerable: true,
|
|
200
|
+
get: function () {
|
|
201
|
+
return _InputPassword.InputPassword;
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
Object.defineProperty(exports, "InputPasswordNativeProps", {
|
|
205
|
+
enumerable: true,
|
|
206
|
+
get: function () {
|
|
207
|
+
return _InputPassword.InputPasswordNativeProps;
|
|
208
|
+
}
|
|
209
|
+
});
|
|
210
|
+
Object.defineProperty(exports, "LabeledSwitch", {
|
|
211
|
+
enumerable: true,
|
|
212
|
+
get: function () {
|
|
213
|
+
return _LabeledSwitch.LabeledSwitch;
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
Object.defineProperty(exports, "LabeledSwitchNativeProps", {
|
|
217
|
+
enumerable: true,
|
|
218
|
+
get: function () {
|
|
219
|
+
return _LabeledSwitch.LabeledSwitchNativeProps;
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
Object.defineProperty(exports, "Loading", {
|
|
223
|
+
enumerable: true,
|
|
224
|
+
get: function () {
|
|
225
|
+
return _Button.Loading;
|
|
226
|
+
}
|
|
227
|
+
});
|
|
228
|
+
Object.defineProperty(exports, "ModalGroupManager", {
|
|
229
|
+
enumerable: true,
|
|
230
|
+
get: function () {
|
|
231
|
+
return _Modal.ModalGroupManager;
|
|
232
|
+
}
|
|
233
|
+
});
|
|
234
|
+
Object.defineProperty(exports, "ModalLifecycleHandler", {
|
|
235
|
+
enumerable: true,
|
|
236
|
+
get: function () {
|
|
237
|
+
return _Modal.ModalLifecycleHandler;
|
|
238
|
+
}
|
|
239
|
+
});
|
|
240
|
+
Object.defineProperty(exports, "ModalView", {
|
|
241
|
+
enumerable: true,
|
|
242
|
+
get: function () {
|
|
243
|
+
return _Modal.ModalView;
|
|
244
|
+
}
|
|
245
|
+
});
|
|
246
|
+
Object.defineProperty(exports, "NativeDatePickerProps", {
|
|
247
|
+
enumerable: true,
|
|
248
|
+
get: function () {
|
|
249
|
+
return _DatePicker.NativeDatePickerProps;
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
Object.defineProperty(exports, "NativeDateTimePickerProps", {
|
|
253
|
+
enumerable: true,
|
|
254
|
+
get: function () {
|
|
255
|
+
return _DateTimePicker.NativeDateTimePickerProps;
|
|
256
|
+
}
|
|
257
|
+
});
|
|
258
|
+
Object.defineProperty(exports, "NativeIconTextButtonProps", {
|
|
259
|
+
enumerable: true,
|
|
260
|
+
get: function () {
|
|
261
|
+
return _IconTextButton.NativeIconTextButtonProps;
|
|
262
|
+
}
|
|
263
|
+
});
|
|
264
|
+
Object.defineProperty(exports, "Select", {
|
|
265
|
+
enumerable: true,
|
|
266
|
+
get: function () {
|
|
267
|
+
return _Select.Select;
|
|
268
|
+
}
|
|
269
|
+
});
|
|
270
|
+
Object.defineProperty(exports, "SelectNativeProps", {
|
|
271
|
+
enumerable: true,
|
|
272
|
+
get: function () {
|
|
273
|
+
return _Select.SelectNativeProps;
|
|
274
|
+
}
|
|
275
|
+
});
|
|
276
|
+
Object.defineProperty(exports, "Skeleton", {
|
|
277
|
+
enumerable: true,
|
|
278
|
+
get: function () {
|
|
279
|
+
return _Skeleton.Skeleton;
|
|
280
|
+
}
|
|
281
|
+
});
|
|
282
|
+
Object.defineProperty(exports, "SkeletonProps", {
|
|
283
|
+
enumerable: true,
|
|
284
|
+
get: function () {
|
|
285
|
+
return _Skeleton.SkeletonProps;
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
Object.defineProperty(exports, "Snackbar", {
|
|
289
|
+
enumerable: true,
|
|
290
|
+
get: function () {
|
|
291
|
+
return _Snackbar.Snackbar;
|
|
292
|
+
}
|
|
293
|
+
});
|
|
294
|
+
Object.defineProperty(exports, "SnackbarNativeProps", {
|
|
295
|
+
enumerable: true,
|
|
296
|
+
get: function () {
|
|
297
|
+
return _Snackbar.SnackbarNativeProps;
|
|
298
|
+
}
|
|
299
|
+
});
|
|
300
|
+
Object.defineProperty(exports, "SnappingSlider", {
|
|
301
|
+
enumerable: true,
|
|
302
|
+
get: function () {
|
|
303
|
+
return _SnappingSlider.SnappingSlider;
|
|
304
|
+
}
|
|
305
|
+
});
|
|
306
|
+
Object.defineProperty(exports, "SnappingSliderProps", {
|
|
307
|
+
enumerable: true,
|
|
308
|
+
get: function () {
|
|
309
|
+
return _SnappingSlider.SnappingSliderProps;
|
|
310
|
+
}
|
|
311
|
+
});
|
|
312
|
+
Object.defineProperty(exports, "Success", {
|
|
313
|
+
enumerable: true,
|
|
314
|
+
get: function () {
|
|
315
|
+
return _Button.Success;
|
|
316
|
+
}
|
|
317
|
+
});
|
|
318
|
+
Object.defineProperty(exports, "Tag", {
|
|
319
|
+
enumerable: true,
|
|
320
|
+
get: function () {
|
|
321
|
+
return _Tag.Tag;
|
|
322
|
+
}
|
|
323
|
+
});
|
|
324
|
+
Object.defineProperty(exports, "TagProps", {
|
|
325
|
+
enumerable: true,
|
|
326
|
+
get: function () {
|
|
327
|
+
return _Tag.TagProps;
|
|
328
|
+
}
|
|
329
|
+
});
|
|
330
|
+
Object.defineProperty(exports, "Text", {
|
|
331
|
+
enumerable: true,
|
|
332
|
+
get: function () {
|
|
333
|
+
return _Text.Text;
|
|
334
|
+
}
|
|
335
|
+
});
|
|
336
|
+
Object.defineProperty(exports, "TextArea", {
|
|
337
|
+
enumerable: true,
|
|
338
|
+
get: function () {
|
|
339
|
+
return _TextArea.TextArea;
|
|
340
|
+
}
|
|
341
|
+
});
|
|
342
|
+
Object.defineProperty(exports, "TextAreaProps", {
|
|
343
|
+
enumerable: true,
|
|
344
|
+
get: function () {
|
|
345
|
+
return _TextArea.TextAreaProps;
|
|
346
|
+
}
|
|
347
|
+
});
|
|
348
|
+
Object.defineProperty(exports, "TextNativeProps", {
|
|
349
|
+
enumerable: true,
|
|
350
|
+
get: function () {
|
|
351
|
+
return _Text.TextNativeProps;
|
|
352
|
+
}
|
|
353
|
+
});
|
|
354
|
+
Object.defineProperty(exports, "useLazyModalManager", {
|
|
355
|
+
enumerable: true,
|
|
356
|
+
get: function () {
|
|
357
|
+
return _Modal.useLazyModalManager;
|
|
358
|
+
}
|
|
359
|
+
});
|
|
360
|
+
Object.defineProperty(exports, "useModalManager", {
|
|
361
|
+
enumerable: true,
|
|
362
|
+
get: function () {
|
|
363
|
+
return _Modal.useModalManager;
|
|
364
|
+
}
|
|
365
|
+
});
|
|
366
|
+
Object.defineProperty(exports, "useModalRemoteControl", {
|
|
367
|
+
enumerable: true,
|
|
368
|
+
get: function () {
|
|
369
|
+
return _Modal.useModalRemoteControl;
|
|
370
|
+
}
|
|
371
|
+
});
|
|
59
372
|
|
|
60
373
|
var _reactCore = require("@tecsinapse/react-core");
|
|
61
374
|
|
|
@@ -63,130 +376,59 @@ Object.keys(_reactCore).forEach(function (key) {
|
|
|
63
376
|
if (key === "default" || key === "__esModule") return;
|
|
64
377
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
65
378
|
if (key in exports && exports[key] === _reactCore[key]) return;
|
|
66
|
-
exports
|
|
379
|
+
Object.defineProperty(exports, key, {
|
|
380
|
+
enumerable: true,
|
|
381
|
+
get: function () {
|
|
382
|
+
return _reactCore[key];
|
|
383
|
+
}
|
|
384
|
+
});
|
|
67
385
|
});
|
|
68
386
|
|
|
69
387
|
var _Avatar = require("./components/atoms/Avatar");
|
|
70
388
|
|
|
71
|
-
exports.Avatar = _Avatar.Avatar;
|
|
72
|
-
|
|
73
389
|
var _Badge = require("./components/atoms/Badge");
|
|
74
390
|
|
|
75
|
-
exports.Badge = _Badge.Badge;
|
|
76
|
-
exports.BadgeNativeProps = _Badge.BadgeNativeProps;
|
|
77
|
-
|
|
78
391
|
var _BottomNavigator = require("./components/atoms/BottomNavigator");
|
|
79
392
|
|
|
80
|
-
exports.BottomNavigator = _BottomNavigator.BottomNavigator;
|
|
81
|
-
exports.BottomNavigatorProps = _BottomNavigator.BottomNavigatorProps;
|
|
82
|
-
|
|
83
393
|
var _Button = require("./components/atoms/Button");
|
|
84
394
|
|
|
85
|
-
exports.Button = _Button.Button;
|
|
86
|
-
exports.ButtonNativeProps = _Button.ButtonNativeProps;
|
|
87
|
-
exports.Error = _Button.Error;
|
|
88
|
-
exports.Loading = _Button.Loading;
|
|
89
|
-
exports.Success = _Button.Success;
|
|
90
|
-
|
|
91
395
|
var _GroupButton = require("./components/atoms/GroupButton");
|
|
92
396
|
|
|
93
|
-
exports.GroupButtonOption = _GroupButton.GroupButtonOption;
|
|
94
|
-
|
|
95
397
|
var _Header = require("./components/atoms/Header");
|
|
96
398
|
|
|
97
|
-
exports.Header = _Header.Header;
|
|
98
|
-
exports.HeaderProps = _Header.HeaderProps;
|
|
99
|
-
|
|
100
399
|
var _Input = require("./components/atoms/Input");
|
|
101
400
|
|
|
102
|
-
exports.Input = _Input.Input;
|
|
103
|
-
exports.InputNativeProps = _Input.InputNativeProps;
|
|
104
|
-
|
|
105
401
|
var _InputMask = require("./components/atoms/InputMask");
|
|
106
402
|
|
|
107
|
-
exports.InputMask = _InputMask.InputMask;
|
|
108
|
-
exports.InputMaskNativeProps = _InputMask.InputMaskNativeProps;
|
|
109
|
-
|
|
110
403
|
var _Modal = require("./components/atoms/Modal");
|
|
111
404
|
|
|
112
|
-
exports.IBaseModal = _Modal.IBaseModal;
|
|
113
|
-
exports.ModalGroupManager = _Modal.ModalGroupManager;
|
|
114
|
-
exports.ModalLifecycleHandler = _Modal.ModalLifecycleHandler;
|
|
115
|
-
exports.ModalView = _Modal.ModalView;
|
|
116
|
-
exports.useLazyModalManager = _Modal.useLazyModalManager;
|
|
117
|
-
exports.useModalManager = _Modal.useModalManager;
|
|
118
|
-
exports.useModalRemoteControl = _Modal.useModalRemoteControl;
|
|
119
|
-
|
|
120
405
|
var _Skeleton = require("./components/atoms/Skeleton");
|
|
121
406
|
|
|
122
|
-
exports.Skeleton = _Skeleton.Skeleton;
|
|
123
|
-
exports.SkeletonProps = _Skeleton.SkeletonProps;
|
|
124
|
-
|
|
125
407
|
var _SnappingSlider = require("./components/atoms/SnappingSlider");
|
|
126
408
|
|
|
127
|
-
exports.SnappingSlider = _SnappingSlider.SnappingSlider;
|
|
128
|
-
exports.SnappingSliderProps = _SnappingSlider.SnappingSliderProps;
|
|
129
|
-
|
|
130
409
|
var _Tag = require("./components/atoms/Tag");
|
|
131
410
|
|
|
132
|
-
exports.Tag = _Tag.Tag;
|
|
133
|
-
exports.TagProps = _Tag.TagProps;
|
|
134
|
-
|
|
135
411
|
var _Text = require("./components/atoms/Text");
|
|
136
412
|
|
|
137
|
-
exports.Text = _Text.Text;
|
|
138
|
-
exports.TextNativeProps = _Text.TextNativeProps;
|
|
139
|
-
|
|
140
413
|
var _TextArea = require("./components/atoms/TextArea");
|
|
141
414
|
|
|
142
|
-
exports.TextArea = _TextArea.TextArea;
|
|
143
|
-
exports.TextAreaProps = _TextArea.TextAreaProps;
|
|
144
|
-
|
|
145
415
|
var _Calendar = require("./components/molecules/Calendar");
|
|
146
416
|
|
|
147
|
-
exports.Calendar = _Calendar.Calendar;
|
|
148
|
-
|
|
149
417
|
var _DatePicker = require("./components/molecules/DatePicker");
|
|
150
418
|
|
|
151
|
-
exports.DatePicker = _DatePicker.DatePicker;
|
|
152
|
-
exports.NativeDatePickerProps = _DatePicker.NativeDatePickerProps;
|
|
153
|
-
|
|
154
419
|
var _DateTimePicker = require("./components/molecules/DateTimePicker");
|
|
155
420
|
|
|
156
|
-
exports.DateTimePicker = _DateTimePicker.DateTimePicker;
|
|
157
|
-
exports.NativeDateTimePickerProps = _DateTimePicker.NativeDateTimePickerProps;
|
|
158
|
-
|
|
159
421
|
var _DateTimeSelector = require("./components/molecules/DateTimeSelector");
|
|
160
422
|
|
|
161
|
-
exports.DateTimeSelector = _DateTimeSelector.DateTimeSelector;
|
|
162
|
-
|
|
163
423
|
var _IconTextButton = require("./components/molecules/IconTextButton");
|
|
164
424
|
|
|
165
|
-
exports.IconTextButton = _IconTextButton.IconTextButton;
|
|
166
|
-
exports.NativeIconTextButtonProps = _IconTextButton.NativeIconTextButtonProps;
|
|
167
|
-
|
|
168
425
|
var _InputPassword = require("./components/molecules/InputPassword");
|
|
169
426
|
|
|
170
|
-
exports.InputPassword = _InputPassword.InputPassword;
|
|
171
|
-
exports.InputPasswordNativeProps = _InputPassword.InputPasswordNativeProps;
|
|
172
|
-
|
|
173
427
|
var _LabeledSwitch = require("./components/molecules/LabeledSwitch");
|
|
174
428
|
|
|
175
|
-
exports.LabeledSwitch = _LabeledSwitch.LabeledSwitch;
|
|
176
|
-
exports.LabeledSwitchNativeProps = _LabeledSwitch.LabeledSwitchNativeProps;
|
|
177
|
-
|
|
178
429
|
var _Select = require("./components/molecules/Select");
|
|
179
430
|
|
|
180
|
-
exports.Select = _Select.Select;
|
|
181
|
-
exports.SelectNativeProps = _Select.SelectNativeProps;
|
|
182
|
-
|
|
183
431
|
var _Snackbar = require("./components/molecules/Snackbar");
|
|
184
432
|
|
|
185
|
-
exports.Snackbar = _Snackbar.Snackbar;
|
|
186
|
-
exports.SnackbarNativeProps = _Snackbar.SnackbarNativeProps;
|
|
187
|
-
|
|
188
433
|
var _Grid = require("./components/molecules/Grid");
|
|
189
|
-
|
|
190
|
-
exports.Grid = _Grid.Grid;
|
|
191
|
-
exports.GridItem = _Grid.GridItem;
|
|
192
434
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["export * from '@tecsinapse/react-core';\nexport { Avatar } from './components/atoms/Avatar';\nexport { Badge, BadgeNativeProps } from './components/atoms/Badge';\nexport {\n BottomNavigator,\n BottomNavigatorProps,\n} from './components/atoms/BottomNavigator';\nexport {\n Button,\n ButtonNativeProps,\n Error,\n Loading,\n Success,\n} from './components/atoms/Button';\nexport { GroupButtonOption } from './components/atoms/GroupButton';\nexport { Header, HeaderProps } from './components/atoms/Header';\nexport { Input, InputNativeProps } from './components/atoms/Input';\nexport { InputMask, InputMaskNativeProps } from './components/atoms/InputMask';\nexport {\n IBaseModal,\n ModalGroupManager,\n ModalLifecycleHandler,\n ModalView,\n useLazyModalManager,\n useModalManager,\n useModalRemoteControl,\n} from './components/atoms/Modal';\nexport { Skeleton, SkeletonProps } from './components/atoms/Skeleton';\nexport {\n SnappingSlider,\n SnappingSliderProps,\n} from './components/atoms/SnappingSlider';\nexport { Tag, TagProps } from './components/atoms/Tag';\nexport { Text, TextNativeProps } from './components/atoms/Text';\nexport { TextArea, TextAreaProps } from './components/atoms/TextArea';\nexport { Calendar } from './components/molecules/Calendar';\nexport {\n DatePicker,\n NativeDatePickerProps,\n} from './components/molecules/DatePicker';\nexport {\n DateTimePicker,\n NativeDateTimePickerProps,\n} from './components/molecules/DateTimePicker';\nexport { DateTimeSelector } from './components/molecules/DateTimeSelector';\nexport {\n IconTextButton,\n NativeIconTextButtonProps,\n} from './components/molecules/IconTextButton';\nexport {\n InputPassword,\n InputPasswordNativeProps,\n} from './components/molecules/InputPassword';\nexport {\n LabeledSwitch,\n LabeledSwitchNativeProps,\n} from './components/molecules/LabeledSwitch';\nexport { Select, SelectNativeProps } from './components/molecules/Select';\nexport { Snackbar, SnackbarNativeProps } from './components/molecules/Snackbar';\nexport { Grid, GridItem } from './components/molecules/Grid';\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["export * from '@tecsinapse/react-core';\nexport { Avatar } from './components/atoms/Avatar';\nexport { Badge, BadgeNativeProps } from './components/atoms/Badge';\nexport {\n BottomNavigator,\n BottomNavigatorProps,\n} from './components/atoms/BottomNavigator';\nexport {\n Button,\n ButtonNativeProps,\n Error,\n Loading,\n Success,\n} from './components/atoms/Button';\nexport { GroupButtonOption } from './components/atoms/GroupButton';\nexport { Header, HeaderProps } from './components/atoms/Header';\nexport { Input, InputNativeProps } from './components/atoms/Input';\nexport { InputMask, InputMaskNativeProps } from './components/atoms/InputMask';\nexport {\n IBaseModal,\n ModalGroupManager,\n ModalLifecycleHandler,\n ModalView,\n useLazyModalManager,\n useModalManager,\n useModalRemoteControl,\n} from './components/atoms/Modal';\nexport { Skeleton, SkeletonProps } from './components/atoms/Skeleton';\nexport {\n SnappingSlider,\n SnappingSliderProps,\n} from './components/atoms/SnappingSlider';\nexport { Tag, TagProps } from './components/atoms/Tag';\nexport { Text, TextNativeProps } from './components/atoms/Text';\nexport { TextArea, TextAreaProps } from './components/atoms/TextArea';\nexport { Calendar } from './components/molecules/Calendar';\nexport {\n DatePicker,\n NativeDatePickerProps,\n} from './components/molecules/DatePicker';\nexport {\n DateTimePicker,\n NativeDateTimePickerProps,\n} from './components/molecules/DateTimePicker';\nexport { DateTimeSelector } from './components/molecules/DateTimeSelector';\nexport {\n IconTextButton,\n NativeIconTextButtonProps,\n} from './components/molecules/IconTextButton';\nexport {\n InputPassword,\n InputPasswordNativeProps,\n} from './components/molecules/InputPassword';\nexport {\n LabeledSwitch,\n LabeledSwitchNativeProps,\n} from './components/molecules/LabeledSwitch';\nexport { Select, SelectNativeProps } from './components/molecules/Select';\nexport { Snackbar, SnackbarNativeProps } from './components/molecules/Snackbar';\nexport { Grid, GridItem } from './components/molecules/Grid';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;;AACA;;AACA;;AACA;;AAIA;;AAOA;;AACA;;AACA;;AACA;;AACA;;AASA;;AACA;;AAIA;;AACA;;AACA;;AACA;;AACA;;AAIA;;AAIA;;AACA;;AAIA;;AAIA;;AAIA;;AACA;;AACA"}
|
package/dist/utils/date.js
CHANGED
package/dist/utils/date.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date.js","names":["getLocale","locale","Platform","OS","NativeModules","SettingsManager","settings","AppleLocale","AppleLanguages","I18nManager","localeIdentifier","code","replace","dateFnsLocales"],"sources":["../../src/utils/date.ts"],"sourcesContent":["import { NativeModules, Platform } from 'react-native';\nimport * as dateFnsLocales from 'date-fns/locale';\n\nexport const getLocale = (): Locale => {\n let locale: string;\n if (Platform.OS === 'ios') {\n locale =\n NativeModules.SettingsManager.settings.AppleLocale ||\n NativeModules.SettingsManager.settings.AppleLanguages[0];\n } else {\n locale = NativeModules.I18nManager.localeIdentifier;\n }\n\n const code = locale.replace('_', '');\n\n return dateFnsLocales[code];\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"date.js","names":["getLocale","locale","Platform","OS","NativeModules","SettingsManager","settings","AppleLocale","AppleLanguages","I18nManager","localeIdentifier","code","replace","dateFnsLocales"],"sources":["../../src/utils/date.ts"],"sourcesContent":["import { NativeModules, Platform } from 'react-native';\nimport * as dateFnsLocales from 'date-fns/locale';\n\nexport const getLocale = (): Locale => {\n let locale: string;\n if (Platform.OS === 'ios') {\n locale =\n NativeModules.SettingsManager.settings.AppleLocale ||\n NativeModules.SettingsManager.settings.AppleLanguages[0];\n } else {\n locale = NativeModules.I18nManager.localeIdentifier;\n }\n\n const code = locale.replace('_', '');\n\n return dateFnsLocales[code];\n};\n"],"mappings":";;;;;;;AAAA;;AACA;;;;;;AAEO,MAAMA,SAAS,GAAG,MAAc;EACrC,IAAIC,MAAJ;;EACA,IAAIC,qBAAA,CAASC,EAAT,KAAgB,KAApB,EAA2B;IACzBF,MAAM,GACJG,0BAAA,CAAcC,eAAd,CAA8BC,QAA9B,CAAuCC,WAAvC,IACAH,0BAAA,CAAcC,eAAd,CAA8BC,QAA9B,CAAuCE,cAAvC,CAAsD,CAAtD,CAFF;EAGD,CAJD,MAIO;IACLP,MAAM,GAAGG,0BAAA,CAAcK,WAAd,CAA0BC,gBAAnC;EACD;;EAED,MAAMC,IAAI,GAAGV,MAAM,CAACW,OAAP,CAAe,GAAf,EAAoB,EAApB,CAAb;EAEA,OAAOC,cAAc,CAACF,IAAD,CAArB;AACD,CAbM"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecsinapse/react-native-kit",
|
|
3
3
|
"description": "TecSinapse React Native components",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.21.0",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "MIT",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@emotion/native": "^11.10.0",
|
|
18
18
|
"@emotion/react": "^11.10.0",
|
|
19
|
-
"@tecsinapse/react-core": "^1.
|
|
19
|
+
"@tecsinapse/react-core": "^1.20.0",
|
|
20
20
|
"react-native-linear-gradient": "^2.5.6"
|
|
21
21
|
},
|
|
22
22
|
"repository": {
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/uuid": "^8.3.3"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "46fe5778b52031a04bcb217c86cf363d6ae45b54"
|
|
43
43
|
}
|