@adiraku/react-native-ui 1.2.8-canary-0 → 1.2.8-canary-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/CheckBoxInput/CheckBoxInput.component.js +3 -1
- package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.component.js.map +1 -1
- package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.style.js +2 -2
- package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.style.js.map +1 -1
- package/lib/commonjs/components/RadioInput/RadioInput.component.js +3 -1
- package/lib/commonjs/components/RadioInput/RadioInput.component.js.map +1 -1
- package/lib/commonjs/components/RadioInput/RadioInput.style.js +2 -2
- package/lib/commonjs/components/RadioInput/RadioInput.style.js.map +1 -1
- package/lib/commonjs/components/TextArea/TextArea.component.js +6 -4
- package/lib/commonjs/components/TextArea/TextArea.component.js.map +1 -1
- package/lib/commonjs/components/TextInput/TextInput.component.js +45 -6
- package/lib/commonjs/components/TextInput/TextInput.component.js.map +1 -1
- package/lib/commonjs/components/calendars/calendars.component.js +215 -0
- package/lib/commonjs/components/calendars/calendars.component.js.map +1 -0
- package/lib/commonjs/components/calendars/calendars.service.js +68 -0
- package/lib/commonjs/components/calendars/calendars.service.js.map +1 -0
- package/lib/commonjs/components/calendars/calendars.style.js +126 -0
- package/lib/commonjs/components/calendars/calendars.style.js.map +1 -0
- package/lib/commonjs/components/calendars/calendars.type.js +14 -0
- package/lib/commonjs/components/calendars/calendars.type.js.map +1 -0
- package/lib/commonjs/components/calendars/month-picker-modal.component.js +104 -0
- package/lib/commonjs/components/calendars/month-picker-modal.component.js.map +1 -0
- package/lib/commonjs/components/index.js +7 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/typography/typography.style.js +181 -0
- package/lib/commonjs/components/typography/typography.style.js.map +1 -1
- package/lib/module/components/CheckBoxInput/CheckBoxInput.component.js +3 -1
- package/lib/module/components/CheckBoxInput/CheckBoxInput.component.js.map +1 -1
- package/lib/module/components/CheckBoxInput/CheckBoxInput.style.js +2 -2
- package/lib/module/components/CheckBoxInput/CheckBoxInput.style.js.map +1 -1
- package/lib/module/components/RadioInput/RadioInput.component.js +3 -1
- package/lib/module/components/RadioInput/RadioInput.component.js.map +1 -1
- package/lib/module/components/RadioInput/RadioInput.style.js +2 -2
- package/lib/module/components/RadioInput/RadioInput.style.js.map +1 -1
- package/lib/module/components/TextArea/TextArea.component.js +7 -5
- package/lib/module/components/TextArea/TextArea.component.js.map +1 -1
- package/lib/module/components/TextInput/TextInput.component.js +46 -7
- package/lib/module/components/TextInput/TextInput.component.js.map +1 -1
- package/lib/module/components/calendars/calendars.component.js +207 -0
- package/lib/module/components/calendars/calendars.component.js.map +1 -0
- package/lib/module/components/calendars/calendars.service.js +56 -0
- package/lib/module/components/calendars/calendars.service.js.map +1 -0
- package/lib/module/components/calendars/calendars.style.js +119 -0
- package/lib/module/components/calendars/calendars.style.js.map +1 -0
- package/lib/module/components/calendars/calendars.type.js +8 -0
- package/lib/module/components/calendars/calendars.type.js.map +1 -0
- package/lib/module/components/calendars/month-picker-modal.component.js +95 -0
- package/lib/module/components/calendars/month-picker-modal.component.js.map +1 -0
- package/lib/module/components/index.js +1 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/typography/typography.style.js +181 -0
- package/lib/module/components/typography/typography.style.js.map +1 -1
- package/lib/typescript/components/CheckBoxInput/CheckBoxInput.component.d.ts.map +1 -1
- package/lib/typescript/components/RadioInput/RadioInput.component.d.ts.map +1 -1
- package/lib/typescript/components/TextArea/TextArea.component.d.ts.map +1 -1
- package/lib/typescript/components/TextInput/TextInput.component.d.ts.map +1 -1
- package/lib/typescript/components/TextInput/TextInput.type.d.ts +7 -0
- package/lib/typescript/components/TextInput/TextInput.type.d.ts.map +1 -1
- package/lib/typescript/components/calendars/calendars.component.d.ts +8 -0
- package/lib/typescript/components/calendars/calendars.component.d.ts.map +1 -0
- package/lib/typescript/components/calendars/calendars.service.d.ts +9 -0
- package/lib/typescript/components/calendars/calendars.service.d.ts.map +1 -0
- package/lib/typescript/components/calendars/calendars.style.d.ts +20 -0
- package/lib/typescript/components/calendars/calendars.style.d.ts.map +1 -0
- package/lib/typescript/components/calendars/calendars.type.d.ts +26 -0
- package/lib/typescript/components/calendars/calendars.type.d.ts.map +1 -0
- package/lib/typescript/components/calendars/month-picker-modal.component.d.ts +15 -0
- package/lib/typescript/components/calendars/month-picker-modal.component.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts +1 -0
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/components/information-box/information-box.type.d.ts +13 -2
- package/lib/typescript/components/information-box/information-box.type.d.ts.map +1 -1
- package/lib/typescript/components/typography/typography.style.d.ts +28 -0
- package/lib/typescript/components/typography/typography.style.d.ts.map +1 -1
- package/lib/typescript/components/typography/typography.type.d.ts +4 -4
- package/lib/typescript/components/typography/typography.type.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/components/CheckBoxInput/CheckBoxInput.component.tsx +8 -1
- package/src/components/CheckBoxInput/CheckBoxInput.style.tsx +2 -2
- package/src/components/RadioInput/RadioInput.component.tsx +8 -1
- package/src/components/RadioInput/RadioInput.style.tsx +2 -2
- package/src/components/TextArea/TextArea.component.tsx +9 -6
- package/src/components/TextInput/TextInput.component.tsx +114 -50
- package/src/components/TextInput/TextInput.type.ts +11 -0
- package/src/components/calendars/calendars.component.tsx +296 -0
- package/src/components/calendars/calendars.service.ts +64 -0
- package/src/components/calendars/calendars.style.ts +148 -0
- package/src/components/calendars/calendars.type.tsx +57 -0
- package/src/components/calendars/month-picker-modal.component.tsx +137 -0
- package/src/components/index.ts +1 -0
- package/src/components/information-box/information-box.type.ts +13 -5
- package/src/components/typography/typography.style.tsx +243 -0
- package/src/components/typography/typography.type.ts +31 -3
|
@@ -167,6 +167,187 @@ export const getStyle = props => {
|
|
|
167
167
|
fontSize: 10,
|
|
168
168
|
lineHeight: 15
|
|
169
169
|
};
|
|
170
|
+
|
|
171
|
+
// -===== New Token update =====-
|
|
172
|
+
const textSemiboldV2 = {
|
|
173
|
+
fontFamily: fontStyle === 'italic' ? 'Montserrat-SemiBoldItalic' : 'Montserrat-SemiBold',
|
|
174
|
+
fontSize: 600
|
|
175
|
+
};
|
|
176
|
+
const textBoldV2 = {
|
|
177
|
+
fontFamily: fontStyle === 'italic' ? 'Montserrat-BoldItalic' : 'Montserrat-Bold',
|
|
178
|
+
fontSize: 700
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
// Heading
|
|
182
|
+
computedStyle['text-heading-h1-semibold'] = {
|
|
183
|
+
...baseTextStyle,
|
|
184
|
+
...textSemiboldV2,
|
|
185
|
+
fontSize: 96,
|
|
186
|
+
lineHeight: 96
|
|
187
|
+
};
|
|
188
|
+
computedStyle['text-heading-h1-regular'] = {
|
|
189
|
+
...baseTextStyle,
|
|
190
|
+
fontSize: 96,
|
|
191
|
+
lineHeight: 96
|
|
192
|
+
};
|
|
193
|
+
computedStyle['text-heading-h2-semibold'] = {
|
|
194
|
+
...baseTextStyle,
|
|
195
|
+
...textSemiboldV2,
|
|
196
|
+
fontSize: 60,
|
|
197
|
+
lineHeight: 60
|
|
198
|
+
};
|
|
199
|
+
computedStyle['text-heading-h2-regular'] = {
|
|
200
|
+
...baseTextStyle,
|
|
201
|
+
fontSize: 60,
|
|
202
|
+
lineHeight: 60
|
|
203
|
+
};
|
|
204
|
+
computedStyle['text-heading-h3-bold'] = {
|
|
205
|
+
...baseTextStyle,
|
|
206
|
+
...textBoldV2,
|
|
207
|
+
fontSize: 48,
|
|
208
|
+
lineHeight: 48
|
|
209
|
+
};
|
|
210
|
+
computedStyle['text-heading-h3-regular'] = {
|
|
211
|
+
...baseTextStyle,
|
|
212
|
+
fontSize: 48,
|
|
213
|
+
lineHeight: 48
|
|
214
|
+
};
|
|
215
|
+
computedStyle['text-heading-h4-semibold'] = {
|
|
216
|
+
...baseTextStyle,
|
|
217
|
+
...textSemiboldV2,
|
|
218
|
+
fontSize: 34,
|
|
219
|
+
lineHeight: 34
|
|
220
|
+
};
|
|
221
|
+
computedStyle['text-heading-h4-regular'] = {
|
|
222
|
+
...baseTextStyle,
|
|
223
|
+
fontSize: 34,
|
|
224
|
+
lineHeight: 34
|
|
225
|
+
};
|
|
226
|
+
computedStyle['text-heading-h5-bold'] = {
|
|
227
|
+
...baseTextStyle,
|
|
228
|
+
...textBoldV2,
|
|
229
|
+
fontSize: 24,
|
|
230
|
+
lineHeight: 24
|
|
231
|
+
};
|
|
232
|
+
computedStyle['text-heading-h5-semibold'] = {
|
|
233
|
+
...baseTextStyle,
|
|
234
|
+
...textSemiboldV2,
|
|
235
|
+
fontSize: 24,
|
|
236
|
+
lineHeight: 24
|
|
237
|
+
};
|
|
238
|
+
computedStyle['text-heading-h5-regular'] = {
|
|
239
|
+
...baseTextStyle,
|
|
240
|
+
fontSize: 24,
|
|
241
|
+
lineHeight: 24
|
|
242
|
+
};
|
|
243
|
+
computedStyle['text-heading-h6-bold'] = {
|
|
244
|
+
...baseTextStyle,
|
|
245
|
+
...textBoldV2,
|
|
246
|
+
fontSize: 20,
|
|
247
|
+
lineHeight: 20
|
|
248
|
+
};
|
|
249
|
+
computedStyle['text-heading-h6-semibold'] = {
|
|
250
|
+
...baseTextStyle,
|
|
251
|
+
...textSemiboldV2,
|
|
252
|
+
fontSize: 20,
|
|
253
|
+
lineHeight: 20
|
|
254
|
+
};
|
|
255
|
+
computedStyle['text-heading-h6-regular'] = {
|
|
256
|
+
...baseTextStyle,
|
|
257
|
+
fontSize: 20,
|
|
258
|
+
lineHeight: 20
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
// Sub Heading
|
|
262
|
+
computedStyle['text-sub-heading-semibold'] = {
|
|
263
|
+
...baseTextStyle,
|
|
264
|
+
...textSemiboldV2,
|
|
265
|
+
fontSize: 14,
|
|
266
|
+
lineHeight: 14
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
// Subtitle
|
|
270
|
+
computedStyle['text-subtitle-primary-semibold'] = {
|
|
271
|
+
...baseTextStyle,
|
|
272
|
+
...textSemiboldV2,
|
|
273
|
+
fontSize: 16,
|
|
274
|
+
lineHeight: 16
|
|
275
|
+
};
|
|
276
|
+
computedStyle['text-subtitle-secondary-bold'] = {
|
|
277
|
+
...baseTextStyle,
|
|
278
|
+
...textSemiboldV2,
|
|
279
|
+
fontSize: 14,
|
|
280
|
+
lineHeight: 14
|
|
281
|
+
};
|
|
282
|
+
computedStyle['text-subtitle-secondary-semibold'] = {
|
|
283
|
+
...baseTextStyle,
|
|
284
|
+
...textSemiboldV2,
|
|
285
|
+
fontSize: 14,
|
|
286
|
+
lineHeight: 14
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
// Button
|
|
290
|
+
computedStyle['text-button-default-semibold'] = {
|
|
291
|
+
...baseTextStyle,
|
|
292
|
+
...textSemiboldV2,
|
|
293
|
+
fontSize: 14,
|
|
294
|
+
lineHeight: 14
|
|
295
|
+
};
|
|
296
|
+
computedStyle['text-button-small-semibold'] = {
|
|
297
|
+
...baseTextStyle,
|
|
298
|
+
...textSemiboldV2,
|
|
299
|
+
fontSize: 12,
|
|
300
|
+
lineHeight: 12
|
|
301
|
+
};
|
|
302
|
+
|
|
303
|
+
// Caption
|
|
304
|
+
computedStyle['text-caption-semibold'] = {
|
|
305
|
+
...baseTextStyle,
|
|
306
|
+
...textSemiboldV2,
|
|
307
|
+
fontSize: 12,
|
|
308
|
+
lineHeight: 12
|
|
309
|
+
};
|
|
310
|
+
computedStyle['text-caption-regular'] = {
|
|
311
|
+
...baseTextStyle,
|
|
312
|
+
fontSize: 12,
|
|
313
|
+
lineHeight: 12
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
// Overline
|
|
317
|
+
computedStyle['text-overline-semibold'] = {
|
|
318
|
+
...baseTextStyle,
|
|
319
|
+
...textSemiboldV2,
|
|
320
|
+
fontSize: 10,
|
|
321
|
+
lineHeight: 10
|
|
322
|
+
};
|
|
323
|
+
computedStyle['text-overline-regular'] = {
|
|
324
|
+
...baseTextStyle,
|
|
325
|
+
fontSize: 12,
|
|
326
|
+
lineHeight: 12
|
|
327
|
+
};
|
|
328
|
+
computedStyle['text-overline-strike'] = {
|
|
329
|
+
...baseTextStyle,
|
|
330
|
+
textDecorationLine: 'line-through',
|
|
331
|
+
fontSize: 12,
|
|
332
|
+
lineHeight: 12
|
|
333
|
+
};
|
|
334
|
+
|
|
335
|
+
// Body
|
|
336
|
+
computedStyle['text-body-primary-regular'] = {
|
|
337
|
+
...baseTextStyle,
|
|
338
|
+
fontSize: 16,
|
|
339
|
+
lineHeight: 16
|
|
340
|
+
};
|
|
341
|
+
computedStyle['text-body-secondary-regular'] = {
|
|
342
|
+
...baseTextStyle,
|
|
343
|
+
fontSize: 14,
|
|
344
|
+
lineHeight: 14
|
|
345
|
+
};
|
|
346
|
+
computedStyle['text-body-tertiary-regular'] = {
|
|
347
|
+
...baseTextStyle,
|
|
348
|
+
fontSize: 12,
|
|
349
|
+
lineHeight: 12
|
|
350
|
+
};
|
|
170
351
|
return StyleSheet.create(computedStyle);
|
|
171
352
|
};
|
|
172
353
|
//# sourceMappingURL=typography.style.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["StyleSheet","Palettes","getStyle","props","fontStyle","fontColor","black","computedStyle","baseTextStyle","color","fontFamily","textSemibold","textBold","fontSize","lineHeight","subheading","subtitle1","subtitle2","body1","body2","body3","button","caption","caption2","overline","create"],"sourceRoot":"../../../../src","sources":["components/typography/typography.style.tsx"],"mappings":"AACA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,QAAQ,QAAQ,cAAc;
|
|
1
|
+
{"version":3,"names":["StyleSheet","Palettes","getStyle","props","fontStyle","fontColor","black","computedStyle","baseTextStyle","color","fontFamily","textSemibold","textBold","fontSize","lineHeight","subheading","subtitle1","subtitle2","body1","body2","body3","button","caption","caption2","overline","textSemiboldV2","textBoldV2","textDecorationLine","create"],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Ac;IAClCd,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EACd,CAAC;;EAED;EACAP,aAAa,CAAC,2BAA2B,CAAC,GAAG;IAC3C,GAAGC,aAAa;IAChBK,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EACd,CAAC;EAEDP,aAAa,CAAC,6BAA6B,CAAC,GAAG;IAC7C,GAAGC,aAAa;IAChBK,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EACd,CAAC;EAEDP,aAAa,CAAC,4BAA4B,CAAC,GAAG;IAC5C,GAAGC,aAAa;IAChBK,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EACd,CAAC;EAED,OAAOd,UAAU,CAAC4B,MAAM,CAACrB,aAAa,CAAC;AACzC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckBoxInput.component.d.ts","sourceRoot":"","sources":["../../../../src/components/CheckBoxInput/CheckBoxInput.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAiB/B,OAAO,KAAK,EACV,kBAAkB,EAGnB,MAAM,sBAAsB,CAAC;AAM9B,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"CheckBoxInput.component.d.ts","sourceRoot":"","sources":["../../../../src/components/CheckBoxInput/CheckBoxInput.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAiB/B,OAAO,KAAK,EACV,kBAAkB,EAGnB,MAAM,sBAAsB,CAAC;AAM9B,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CA4N9D,CAAC;AAqCF,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioInput.component.d.ts","sourceRoot":"","sources":["../../../../src/components/RadioInput/RadioInput.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAmB/B,OAAO,KAAK,EACV,eAAe,EAGhB,MAAM,mBAAmB,CAAC;AAE3B,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"RadioInput.component.d.ts","sourceRoot":"","sources":["../../../../src/components/RadioInput/RadioInput.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAmB/B,OAAO,KAAK,EACV,eAAe,EAGhB,MAAM,mBAAmB,CAAC;AAE3B,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAsMxD,CAAC;AAmCF,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.component.d.ts","sourceRoot":"","sources":["../../../../src/components/TextArea/TextArea.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AASrD,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,iBAAiB,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"TextArea.component.d.ts","sourceRoot":"","sources":["../../../../src/components/TextArea/TextArea.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AASrD,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,iBAAiB,CAAC,aAAa,CAoIpD,CAAC;AAEF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.component.d.ts","sourceRoot":"","sources":["../../../../src/components/TextInput/TextInput.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TextInput.component.d.ts","sourceRoot":"","sources":["../../../../src/components/TextInput/TextInput.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CA4KtD,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import { MaskInputProps } from 'react-native-mask-input';
|
|
3
3
|
import { TypographyProps } from '../typography/typography.type';
|
|
4
|
+
import { CalendarPropsAleph } from '../calendars/calendars.type';
|
|
4
5
|
export interface TextInputProps extends MaskInputProps {
|
|
5
6
|
/**
|
|
6
7
|
* A string that specifies the label text for the input field.
|
|
@@ -31,5 +32,11 @@ export interface TextInputProps extends MaskInputProps {
|
|
|
31
32
|
* Show Icon at the end of TextInput.
|
|
32
33
|
*/
|
|
33
34
|
inputIcon?: ReactNode;
|
|
35
|
+
/**
|
|
36
|
+
* Type of the input. won't show keyboard if value set to 'date'
|
|
37
|
+
*/
|
|
38
|
+
inputType?: 'text' | 'date';
|
|
39
|
+
onChangeDate?: (date: Date) => void;
|
|
40
|
+
calendarProps?: Omit<CalendarPropsAleph, 'isVisible' | 'onDateSave'>;
|
|
34
41
|
}
|
|
35
42
|
//# sourceMappingURL=TextInput.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.type.d.ts","sourceRoot":"","sources":["../../../../src/components/TextInput/TextInput.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"TextInput.type.d.ts","sourceRoot":"","sources":["../../../../src/components/TextInput/TextInput.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEjE,MAAM,WAAW,cAAe,SAAQ,cAAc;IACpD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kBAAkB,CAAC,EAAE,eAAe,CAAC;IAErC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAG5B,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAEpC,aAAa,CAAC,EAAE,IAAI,CAAC,kBAAkB,EAAE,WAAW,GAAG,YAAY,CAAC,CAAC;CACtE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CalendarPropsAleph } from './calendars.type';
|
|
3
|
+
export declare type OnMonthChange = (data: {
|
|
4
|
+
num: number;
|
|
5
|
+
}) => void;
|
|
6
|
+
export declare type OnArrowChange = (direction: 'left' | 'right') => void;
|
|
7
|
+
export declare function Calendars({ isVisible, initialDate, onDismiss, minDate, maxDate, onDateSave, selectedDate, ...rest }: CalendarPropsAleph): React.JSX.Element;
|
|
8
|
+
//# sourceMappingURL=calendars.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendars.component.d.ts","sourceRoot":"","sources":["../../../../src/components/calendars/calendars.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAKN,MAAM,OAAO,CAAC;AAmBf,OAAO,EAAE,kBAAkB,EAAuB,MAAM,kBAAkB,CAAC;AAW3E,oBAAY,aAAa,GAAG,CAAC,IAAI,EAAE;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,KAAK,IAAI,CAAC;AAE5D,oBAAY,aAAa,GAAG,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,KAAK,IAAI,CAAC;AAElE,wBAAgB,SAAS,CAAC,EACxB,SAAS,EACT,WAAwB,EACxB,SAAoB,EACpB,OAAO,EACP,OAAO,EACP,UAAU,EACV,YAAY,EACZ,GAAG,IAAI,EACR,EAAE,kBAAkB,qBAiLpB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const getMonth: (date: Date) => string;
|
|
2
|
+
export declare const getYear: (date: Date) => string;
|
|
3
|
+
export declare const getFullDate: (date: Date) => string;
|
|
4
|
+
export declare function adjustDate(date: Date, number: number): Date;
|
|
5
|
+
declare type YearPair = [number, number];
|
|
6
|
+
export declare function generateYearPairs(endYear: number, startYear: number, interval: number): YearPair[];
|
|
7
|
+
export declare function findYearPairIndex(years: [number, number][], targetYear: number): number;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=calendars.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendars.service.d.ts","sourceRoot":"","sources":["../../../../src/components/calendars/calendars.service.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,SAAU,IAAI,WAElC,CAAC;AAEF,eAAO,MAAM,OAAO,SAAU,IAAI,WAEjC,CAAC;AAEF,eAAO,MAAM,WAAW,SAAU,IAAI,WAarC,CAAC;AAEF,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,QAQpD;AAED,aAAK,QAAQ,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAGjC,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,QAAQ,EAAE,CAYlG;AACD,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,EACzB,UAAU,EAAE,MAAM,GACjB,MAAM,CAWR"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type ViewStyle } from 'react-native';
|
|
2
|
+
import { CalendarProps } from 'react-native-calendars';
|
|
3
|
+
interface ComputedStyleProps {
|
|
4
|
+
modalContainer?: ViewStyle;
|
|
5
|
+
container?: ViewStyle;
|
|
6
|
+
headerContainer?: ViewStyle;
|
|
7
|
+
headerArrowWrapper?: ViewStyle;
|
|
8
|
+
headerCenterWrapper?: ViewStyle;
|
|
9
|
+
headerCenterItem?: ViewStyle;
|
|
10
|
+
calendarContainer?: ViewStyle;
|
|
11
|
+
calendarBottomContainer?: ViewStyle;
|
|
12
|
+
}
|
|
13
|
+
export declare const getStyle: () => ComputedStyleProps;
|
|
14
|
+
export declare const calendarTheme: CalendarProps['theme'] & {
|
|
15
|
+
'stylesheet.day.basic': any;
|
|
16
|
+
'stylesheet.calendar.header': any;
|
|
17
|
+
'stylesheet.calendar.main': any;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=calendars.style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendars.style.d.ts","sourceRoot":"","sources":["../../../../src/components/calendars/calendars.style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG1D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,UAAU,kBAAkB;IAC1B,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAE7B,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAC9B,uBAAuB,CAAC,EAAE,SAAS,CAAC;CACrC;AAED,eAAO,MAAM,QAAQ,0BA0DpB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,aAAa,CAAC,OAAO,CAAC,GAAG;IACnD,sBAAsB,EAAE,GAAG,CAAC;IAC5B,4BAA4B,EAAE,GAAG,CAAC;IAClC,0BAA0B,EAAE,GAAG,CAAC;CAkEjC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CalendarProps as RNCalendarProps } from 'react-native-calendars';
|
|
2
|
+
import { ModalProps } from 'react-native-modal';
|
|
3
|
+
export declare const MonthID: {
|
|
4
|
+
monthNames: string[];
|
|
5
|
+
monthNamesShort: string[];
|
|
6
|
+
dayNames: string[];
|
|
7
|
+
dayNamesShort: string[];
|
|
8
|
+
today: string;
|
|
9
|
+
};
|
|
10
|
+
export declare type CalendarPropsAleph = Pick<ModalProps, 'onDismiss' | 'isVisible'> & Omit<RNCalendarProps, 'initialDate'> & {
|
|
11
|
+
/**
|
|
12
|
+
* Initially visible month. Default now
|
|
13
|
+
*/
|
|
14
|
+
initialDate?: Date;
|
|
15
|
+
/**
|
|
16
|
+
* Selected date
|
|
17
|
+
*/
|
|
18
|
+
selectedDate?: Date;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* Callback when the submit button pressed
|
|
22
|
+
*/
|
|
23
|
+
onDateSave: (date: Date) => void;
|
|
24
|
+
};
|
|
25
|
+
export declare type ModeSelect = 'calendar' | 'month' | 'year';
|
|
26
|
+
//# sourceMappingURL=calendars.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendars.type.d.ts","sourceRoot":"","sources":["../../../../src/components/calendars/calendars.type.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,eAAO,MAAM,OAAO;;;;;;CAgCnB,CAAC;AAEF,oBAAY,kBAAkB,GAAG,IAAI,CAAC,UAAU,EAAE,WAAW,GAAG,WAAW,CAAC,GAC1E,IAAI,CAAC,eAAe,EAAE,aAAa,CAAC,GAAG;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IAEnB;;OAEG;IACH,YAAY,CAAC,EAAE,IAAI,CAAC;IAEpB;;;OAGG;IACH,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;CAClC,CAAC;AAEJ,oBAAY,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { OnMonthChange } from './calendars.component';
|
|
3
|
+
import { CalendarPropsAleph } from './calendars.type';
|
|
4
|
+
declare type MonthPickerModalProps = {
|
|
5
|
+
onMonthChange: OnMonthChange;
|
|
6
|
+
} & Pick<CalendarPropsAleph, 'initialDate'>;
|
|
7
|
+
export declare function MonthPickerModal({ initialDate, onMonthChange, }: MonthPickerModalProps): React.JSX.Element;
|
|
8
|
+
declare type YearPickerProps = {
|
|
9
|
+
onYearChange: OnMonthChange;
|
|
10
|
+
yearPairSelectIndex: number;
|
|
11
|
+
yearIntervalPair: [number, number][];
|
|
12
|
+
} & Pick<CalendarPropsAleph, 'initialDate'>;
|
|
13
|
+
export declare function YearPicker({ initialDate, onYearChange, yearPairSelectIndex, yearIntervalPair, }: YearPickerProps): React.JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=month-picker-modal.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"month-picker-modal.component.d.ts","sourceRoot":"","sources":["../../../../src/components/calendars/month-picker-modal.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAE,kBAAkB,EAAW,MAAM,kBAAkB,CAAC;AAE/D,aAAK,qBAAqB,GAAG;IAC3B,aAAa,EAAE,aAAa,CAAC;CAC9B,GAAG,IAAI,CAAC,kBAAkB,EAAE,aAAa,CAAC,CAAC;AAE5C,wBAAgB,gBAAgB,CAAC,EAC/B,WAAW,EACX,aAAa,GACd,EAAE,qBAAqB,qBAgDvB;AAED,aAAK,eAAe,GAAG;IACrB,YAAY,EAAE,aAAa,CAAC;IAC5B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,gBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;CACtC,GAAG,IAAI,CAAC,kBAAkB,EAAE,aAAa,CAAC,CAAC;AAC5C,wBAAgB,UAAU,CAAC,EACzB,WAAW,EACX,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,GACjB,EAAE,eAAe,qBA4DjB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { ActionList } from './ActionList/ActionList.component';
|
|
2
2
|
export { Button } from './button/button.component';
|
|
3
|
+
export { Calendars } from './calendars/calendars.component';
|
|
3
4
|
export { Label } from './label/label.component';
|
|
4
5
|
export { BaseComponent } from './base/base.component';
|
|
5
6
|
export { Typography } from './typography/typography.component';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAC/D,OAAO,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cAAc,EACd,QAAQ,EACR,KAAK,EACL,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,EACd,mBAAmB,GACpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAEzE,YAAY,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,YAAY,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,YAAY,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,YAAY,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AACrF,YAAY,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,YAAY,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,YAAY,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,YAAY,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,YAAY,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAChF,YAAY,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,YAAY,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,YAAY,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC"}
|
|
@@ -4,11 +4,22 @@ export interface InformationBoxProps {
|
|
|
4
4
|
* The text content of the component
|
|
5
5
|
*/
|
|
6
6
|
text: string | ReactNode;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Boolean for showing information icon
|
|
9
|
+
*/
|
|
9
10
|
showIcon?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Props for custom information icon
|
|
13
|
+
*/
|
|
10
14
|
informationIcon?: ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Props for adding additional component below text, use for action
|
|
17
|
+
*/
|
|
11
18
|
actionComponent?: ReactNode;
|
|
19
|
+
/**
|
|
20
|
+
* State for the component, as a indicator for message severity
|
|
21
|
+
* @default default
|
|
22
|
+
*/
|
|
12
23
|
severity?: 'critical' | 'default';
|
|
13
24
|
}
|
|
14
25
|
//# sourceMappingURL=information-box.type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"information-box.type.d.ts","sourceRoot":"","sources":["../../../../src/components/information-box/information-box.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"information-box.type.d.ts","sourceRoot":"","sources":["../../../../src/components/information-box/information-box.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC;IAE5B;;OAEG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC;IAE5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;CACnC"}
|
|
@@ -28,6 +28,34 @@ interface ComputedStyleProps {
|
|
|
28
28
|
'caption2'?: TextStyle;
|
|
29
29
|
'overline'?: TextStyle;
|
|
30
30
|
'overline-small'?: TextStyle;
|
|
31
|
+
'text-heading-h1-semibold'?: TextStyle;
|
|
32
|
+
'text-heading-h1-regular'?: TextStyle;
|
|
33
|
+
'text-heading-h2-semibold'?: TextStyle;
|
|
34
|
+
'text-heading-h2-regular'?: TextStyle;
|
|
35
|
+
'text-heading-h3-bold'?: TextStyle;
|
|
36
|
+
'text-heading-h3-regular'?: TextStyle;
|
|
37
|
+
'text-heading-h4-semibold'?: TextStyle;
|
|
38
|
+
'text-heading-h4-regular'?: TextStyle;
|
|
39
|
+
'text-heading-h5-bold'?: TextStyle;
|
|
40
|
+
'text-heading-h5-semibold'?: TextStyle;
|
|
41
|
+
'text-heading-h5-regular'?: TextStyle;
|
|
42
|
+
'text-heading-h6-bold'?: TextStyle;
|
|
43
|
+
'text-heading-h6-semibold'?: TextStyle;
|
|
44
|
+
'text-heading-h6-regular'?: TextStyle;
|
|
45
|
+
'text-sub-heading-semibold'?: TextStyle;
|
|
46
|
+
'text-subtitle-primary-semibold'?: TextStyle;
|
|
47
|
+
'text-subtitle-secondary-bold'?: TextStyle;
|
|
48
|
+
'text-subtitle-secondary-semibold'?: TextStyle;
|
|
49
|
+
'text-button-default-semibold'?: TextStyle;
|
|
50
|
+
'text-button-small-semibold'?: TextStyle;
|
|
51
|
+
'text-caption-semibold'?: TextStyle;
|
|
52
|
+
'text-caption-regular'?: TextStyle;
|
|
53
|
+
'text-overline-semibold'?: TextStyle;
|
|
54
|
+
'text-overline-regular'?: TextStyle;
|
|
55
|
+
'text-overline-strike'?: TextStyle;
|
|
56
|
+
'text-body-primary-regular'?: TextStyle;
|
|
57
|
+
'text-body-secondary-regular'?: TextStyle;
|
|
58
|
+
'text-body-tertiary-regular'?: TextStyle;
|
|
31
59
|
}
|
|
32
60
|
export declare const getStyle: (props: TypographyProps) => ComputedStyleProps;
|
|
33
61
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.style.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/typography.style.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,UAAU,kBAAkB;IAC1B,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,qBAAqB,CAAC,EAAE,SAAS,CAAC;IAClC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,gBAAgB,CAAC,EAAE,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"typography.style.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/typography.style.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,UAAU,kBAAkB;IAC1B,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,mBAAmB,CAAC,EAAE,SAA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sB,CAAC,EAAE,SAAS,CAAC;IACnC,0BAA0B,CAAC,EAAE,SAAS,CAAC;IACvC,yBAAyB,CAAC,EAAE,SAAS,CAAC;IACtC,sBAAsB,CAAC,EAAE,SAAS,CAAC;IACnC,0BAA0B,CAAC,EAAE,SAAS,CAAC;IACvC,yBAAyB,CAAC,EAAE,SAAS,CAAC;IAEtC,2BAA2B,CAAC,EAAE,SAAS,CAAC;IAExC,gCAAgC,CAAC,EAAE,SAAS,CAAC;IAC7C,8BAA8B,CAAC,EAAE,SAAS,CAAC;IAC3C,kCAAkC,CAAC,EAAE,SAAS,CAAC;IAE/C,8BAA8B,CAAC,EAAE,SAAS,CAAC;IAC3C,4BAA4B,CAAC,EAAE,SAAS,CAAC;IAEzC,uBAAuB,CAAC,EAAE,SAAS,CAAC;IACpC,sBAAsB,CAAC,EAAE,SAAS,CAAC;IAEnC,wBAAwB,CAAC,EAAE,SAAS,CAAC;IACrC,uBAAuB,CAAC,EAAE,SAAS,CAAC;IACpC,sBAAsB,CAAC,EAAE,SAAS,CAAC;IAEnC,2BAA2B,CAAC,EAAE,SAAS,CAAC;IACxC,6BAA6B,CAAC,EAAE,SAAS,CAAC;IAC1C,4BAA4B,CAAC,EAAE,SAAS,CAAC;CAC1C;AAED,eAAO,MAAM,QAAQ,UAAW,eAAe,uBAwZ9C,CAAC"}
|
|
@@ -2,19 +2,19 @@ import type { ColorValue, TextStyle, TextProps } from 'react-native';
|
|
|
2
2
|
export interface TypographyProps extends TextProps {
|
|
3
3
|
/**
|
|
4
4
|
* The variant of the component
|
|
5
|
-
* @default
|
|
5
|
+
* @default body1
|
|
6
6
|
*/
|
|
7
|
-
variant?: 'heading1-semibold' | 'heading1-regular' | 'heading2-semibold' | 'heading2-regular' | 'heading3-semibold' | 'heading3-regular' | 'heading4-semibold' | 'heading4-regular' | 'heading5-bold' | 'heading5-semibold' | 'heading5-regular' | 'heading6-bold' | 'heading6-semibold' | 'heading6-regular' | 'subheading' | 'subtitle1' | 'subtitle2' | 'subtitle2-extrabold' | 'body1' | 'body2' | 'body3' | 'button' | 'button-small' | 'caption' | 'caption2' | 'overline' | 'overline-small';
|
|
7
|
+
variant?: 'text-heading-h1-semibold' | 'text-heading-h1-regular' | 'text-heading-h2-semibold' | 'text-heading-h2-regular' | 'text-heading-h3-bold' | 'text-heading-h3-regular' | 'text-heading-h4-semibold' | 'text-heading-h4-regular' | 'text-heading-h5-bold' | 'text-heading-h5-semibold' | 'text-heading-h5-regular' | 'text-heading-h6-bold' | 'text-heading-h6-semibold' | 'text-heading-h6-regular' | 'text-sub-heading-semibold' | 'text-subtitle-primary-semibold' | 'text-subtitle-secondary-bold' | 'text-subtitle-secondary-semibold' | 'text-button-default-semibold' | 'text-button-small-semibold' | 'text-caption-semibold' | 'text-caption-regular' | 'text-overline-semibold' | 'text-overline-regular' | 'text-overline-strike' | 'text-body-primary-regular' | 'text-body-secondary-regular' | 'text-body-tertiary-regular' | 'heading1-semibold' | 'heading1-regular' | 'heading2-semibold' | 'heading2-regular' | 'heading3-semibold' | 'heading3-regular' | 'heading4-semibold' | 'heading4-regular' | 'heading5-bold' | 'heading5-semibold' | 'heading5-regular' | 'heading6-bold' | 'heading6-semibold' | 'heading6-regular' | 'subheading' | 'subtitle1' | 'subtitle2' | 'subtitle2-extrabold' | 'body1' | 'body2' | 'body3' | 'button' | 'button-small' | 'caption' | 'caption2' | 'overline' | 'overline-small';
|
|
8
8
|
/**
|
|
9
9
|
* The style of the font
|
|
10
10
|
* - `italic`: Display text in italic
|
|
11
11
|
* - `normal`: Display text in normal
|
|
12
|
-
* @default
|
|
12
|
+
* @default normal
|
|
13
13
|
*/
|
|
14
14
|
fontStyle?: 'italic' | 'normal';
|
|
15
15
|
/**
|
|
16
16
|
* The color of the Text
|
|
17
|
-
* @default Palettes.Black.900 |
|
|
17
|
+
* @default Palettes.Black.900 | #112639
|
|
18
18
|
*/
|
|
19
19
|
fontColor?: ColorValue;
|
|
20
20
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.type.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/typography.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAErE,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAEhD;;;OAGG;IACH,OAAO,CAAC,EACJ,mBAAmB,GACnB,kBAAkB,GAClB,mBAAmB,GACnB,kBAAkB,GAClB,mBAAmB,GACnB,kBAAkB,GAClB,mBAAmB,GACnB,kBAAkB,GAClB,eAAe,GACf,mBAAmB,GACnB,kBAAkB,GAClB,eAAe,GACf,mBAAmB,GACnB,kBAAkB,GAClB,YAAY,GACZ,WAAW,GACX,WAAW,GACX,qBAAqB,GACrB,OAAO,GACP,OAAO,GACP,OAAO,GACP,QAAQ,GACR,cAAc,GACd,SAAS,GACT,UAAU,GACV,UAAU,GACV,gBAAgB,CAAC;IAErB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAEhC;;;OAGG;IACH,SAAS,CAAC,EAAE,UAAU,CAAC;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;CACxB"}
|
|
1
|
+
{"version":3,"file":"typography.type.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/typography.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAErE,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAEhD;;;OAGG;IACH,OAAO,CAAC,EACJ,0BAA0B,GAC1B,yBAAyB,GACzB,0BAA0B,GAC1B,yBAAyB,GACzB,sBAAsB,GACtB,yBAAyB,GACzB,0BAA0B,GAC1B,yBAAyB,GACzB,sBAAsB,GACtB,0BAA0B,GAC1B,yBAAyB,GACzB,sBAAsB,GACtB,0BAA0B,GAC1B,yBAAyB,GACzB,2BAA2B,GAC3B,gCAAgC,GAChC,8BAA8B,GAC9B,kCAAkC,GAClC,8BAA8B,GAC9B,4BAA4B,GAC5B,uBAAuB,GACvB,sBAAsB,GACtB,wBAAwB,GACxB,uBAAuB,GACvB,sBAAsB,GACtB,2BAA2B,GAC3B,6BAA6B,GAC7B,4BAA4B,GAC5B,mBAAmB,GACnB,kBAAkB,GAClB,mBAAmB,GACnB,kBAAkB,GAClB,mBAAmB,GACnB,kBAAkB,GAClB,mBAAmB,GACnB,kBAAkB,GAClB,eAAe,GACf,mBAAmB,GACnB,kBAAkB,GAClB,eAAe,GACf,mBAAmB,GACnB,kBAAkB,GAClB,YAAY,GACZ,WAAW,GACX,WAAW,GACX,qBAAqB,GACrB,OAAO,GACP,OAAO,GACP,OAAO,GACP,QAAQ,GACR,cAAc,GACd,SAAS,GACT,UAAU,GACV,UAAU,GACV,gBAAgB,CAAC;IAErB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAEhC;;;OAGG;IACH,SAAS,CAAC,EAAE,UAAU,CAAC;IAEvB;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;CACxB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adiraku/react-native-ui",
|
|
3
|
-
"version": "1.2.8-canary-
|
|
3
|
+
"version": "1.2.8-canary-2",
|
|
4
4
|
"description": "UI library for Adiraku apps",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -133,6 +133,7 @@
|
|
|
133
133
|
]
|
|
134
134
|
},
|
|
135
135
|
"dependencies": {
|
|
136
|
+
"react-native-calendars": "^1.1306.0",
|
|
136
137
|
"react-native-mask-input": "^1.2.3",
|
|
137
138
|
"react-native-modal": "^13.0.1",
|
|
138
139
|
"react-native-toast-message": "^2.1.6"
|
|
@@ -175,7 +175,14 @@ const CheckBoxInput: React.FunctionComponent<CheckboxInputProps> = (props) => {
|
|
|
175
175
|
</Typography>
|
|
176
176
|
</Animated.View>
|
|
177
177
|
)}
|
|
178
|
-
<View
|
|
178
|
+
<View
|
|
179
|
+
style={[
|
|
180
|
+
computedStyle.inputWrapper,
|
|
181
|
+
!!selectedObject() &&
|
|
182
|
+
!isError &&
|
|
183
|
+
!errorMessage && { borderColor: Palettes.black[900] },
|
|
184
|
+
]}
|
|
185
|
+
>
|
|
179
186
|
<Typography
|
|
180
187
|
variant="body2"
|
|
181
188
|
style={[computedStyle.textField]}
|
|
@@ -48,7 +48,7 @@ export const getStyle = (props: CheckboxInputProps) => {
|
|
|
48
48
|
computedStyle.label = {
|
|
49
49
|
color: stateColor.text,
|
|
50
50
|
backgroundColor:
|
|
51
|
-
!editable || disabled ? Palettes.grey[50] : Palettes.
|
|
51
|
+
!editable || disabled ? Palettes.grey[50] : Palettes.white[50],
|
|
52
52
|
paddingHorizontal: Spacing[4],
|
|
53
53
|
borderRadius: Radius[4],
|
|
54
54
|
marginLeft: Spacing[8],
|
|
@@ -62,7 +62,7 @@ export const getStyle = (props: CheckboxInputProps) => {
|
|
|
62
62
|
borderWidth: Radius.border,
|
|
63
63
|
borderColor: stateColor.border,
|
|
64
64
|
backgroundColor:
|
|
65
|
-
!editable || disabled ? Palettes.grey[50] : Palettes.
|
|
65
|
+
!editable || disabled ? Palettes.grey[50] : Palettes.white[50],
|
|
66
66
|
borderRadius: Radius[8],
|
|
67
67
|
padding: Spacing[8],
|
|
68
68
|
width: '100%',
|
|
@@ -151,7 +151,14 @@ const RadioInput: React.FunctionComponent<RadioInputProps> = (props) => {
|
|
|
151
151
|
</Typography>
|
|
152
152
|
</Animated.View>
|
|
153
153
|
)}
|
|
154
|
-
<View
|
|
154
|
+
<View
|
|
155
|
+
style={[
|
|
156
|
+
computedStyle.inputWrapper,
|
|
157
|
+
!!selectedObject() &&
|
|
158
|
+
!isError &&
|
|
159
|
+
!errorMessage && { borderColor: Palettes.black[900] },
|
|
160
|
+
]}
|
|
161
|
+
>
|
|
155
162
|
<Typography
|
|
156
163
|
variant="body2"
|
|
157
164
|
style={[computedStyle.textField]}
|
|
@@ -48,7 +48,7 @@ export const getStyle = (props: RadioInputProps) => {
|
|
|
48
48
|
computedStyle.label = {
|
|
49
49
|
color: stateColor.text,
|
|
50
50
|
backgroundColor:
|
|
51
|
-
!editable || disabled ? Palettes.grey[50] : Palettes.
|
|
51
|
+
!editable || disabled ? Palettes.grey[50] : Palettes.white[50],
|
|
52
52
|
paddingHorizontal: Spacing[4],
|
|
53
53
|
borderRadius: Radius[4],
|
|
54
54
|
marginLeft: Spacing[8],
|
|
@@ -62,7 +62,7 @@ export const getStyle = (props: RadioInputProps) => {
|
|
|
62
62
|
borderWidth: Radius.border,
|
|
63
63
|
borderColor: stateColor.border,
|
|
64
64
|
backgroundColor:
|
|
65
|
-
!editable || disabled ? Palettes.grey[50] : Palettes.
|
|
65
|
+
!editable || disabled ? Palettes.grey[50] : Palettes.white[50],
|
|
66
66
|
borderRadius: Radius[8],
|
|
67
67
|
padding: Spacing[8],
|
|
68
68
|
width: '100%',
|
|
@@ -5,7 +5,7 @@ import type { TextAreaProps } from './TextArea.type';
|
|
|
5
5
|
import MaskInput from 'react-native-mask-input';
|
|
6
6
|
import { Typography } from '../typography/typography.component';
|
|
7
7
|
import { Animated } from 'react-native';
|
|
8
|
-
import { Palettes } from '../../themes';
|
|
8
|
+
import { Palettes, Spacing } from '../../themes';
|
|
9
9
|
import type { LayoutChangeEvent } from 'react-native';
|
|
10
10
|
import type { NativeSyntheticEvent } from 'react-native';
|
|
11
11
|
import type { TextInputFocusEventData } from 'react-native';
|
|
@@ -107,13 +107,16 @@ const TextArea: React.FunctionComponent<TextAreaProps> = (props) => {
|
|
|
107
107
|
</Animated.View>
|
|
108
108
|
</View>
|
|
109
109
|
)}
|
|
110
|
-
<View
|
|
110
|
+
<View
|
|
111
|
+
style={[
|
|
112
|
+
computedStyle.inputWrapper,
|
|
113
|
+
{ height: 11 + Spacing[8] * 2 + numberOfLines * 17 },
|
|
114
|
+
!!value && { borderColor: Palettes.black[900] },
|
|
115
|
+
]}
|
|
116
|
+
>
|
|
111
117
|
<MaskInput
|
|
112
118
|
value={value}
|
|
113
|
-
style={[
|
|
114
|
-
computedStyle.textField,
|
|
115
|
-
{ height: 11 + numberOfLines * 17 },
|
|
116
|
-
]}
|
|
119
|
+
style={[computedStyle.textField]}
|
|
117
120
|
onFocus={handleOnFocus}
|
|
118
121
|
onBlur={handleOnBlur}
|
|
119
122
|
placeholderTextColor={focused ? Palettes.black[500] : 'transparent'}
|