@veeqo/ui 6.0.0-beta.7 → 6.0.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.
Files changed (131) hide show
  1. package/README.md +4 -3
  2. package/dist/components/Accordion/Accordion.d.ts +2 -11
  3. package/dist/components/Accordion/styled.d.ts +12 -1
  4. package/dist/components/Accordion/types.d.ts +15 -0
  5. package/dist/components/ActionMenu/ActionMenu.d.ts +16 -0
  6. package/dist/components/ActionMenu/index.d.ts +1 -0
  7. package/dist/components/ActionMenu/styled.d.ts +3 -0
  8. package/dist/components/Alert/Alert.d.ts +3 -0
  9. package/dist/components/Alert/constants.d.ts +6 -0
  10. package/dist/components/Alert/index.d.ts +1 -0
  11. package/dist/components/Alert/styled.d.ts +4 -0
  12. package/dist/components/Alert/types.d.ts +20 -0
  13. package/dist/components/Anchor/Anchor.d.ts +6 -7
  14. package/dist/components/AnimatedDropdown/AnimatedDropdown.d.ts +1 -1
  15. package/dist/components/AnimatedDropdown/components/BasicDropdown.d.ts +6 -0
  16. package/dist/components/AnimatedDropdown/components/styled.d.ts +1 -14
  17. package/dist/components/AnimatedDropdown/styled.d.ts +9 -1
  18. package/dist/components/AnimatedDropdown/types.d.ts +6 -8
  19. package/dist/components/Choice/Choice.d.ts +5 -1
  20. package/dist/components/Choice/components/styled.d.ts +0 -1
  21. package/dist/components/DataTable/DataTable.d.ts +1 -1
  22. package/dist/components/DataTable/components/ColumnDivider.d.ts +11 -0
  23. package/dist/components/DataTable/hooks/useColumnWidths.d.ts +10 -0
  24. package/dist/components/DataTable/hooks/useColumns.d.ts +54 -4
  25. package/dist/components/DataTable/renderers/renderHeader.d.ts +6 -2
  26. package/dist/components/DataTable/types.d.ts +12 -0
  27. package/dist/components/DataTable/utils/customEventEmitter.d.ts +1 -0
  28. package/dist/components/DateRangeInput/DateRangeInput.d.ts +21 -0
  29. package/dist/components/DateRangeInput/index.d.ts +2 -0
  30. package/dist/components/DateRangeInput/styled.d.ts +4 -0
  31. package/dist/components/DateRangePicker/DateRangePicker.d.ts +3 -0
  32. package/dist/components/DateRangePicker/DateRangePicker.test.d.ts +1 -0
  33. package/dist/components/DateRangePicker/components/ComparePreviousPeriod.d.ts +8 -0
  34. package/dist/components/DateRangePicker/components/ComparePreviousPeriod.test.d.ts +1 -0
  35. package/dist/components/DateRangePicker/components/Divider.d.ts +1 -0
  36. package/dist/components/DateRangePicker/components/constants.d.ts +4 -0
  37. package/dist/components/DateRangePicker/constants.d.ts +25 -0
  38. package/dist/components/DateRangePicker/index.d.ts +3 -0
  39. package/dist/components/DateRangePicker/types.d.ts +37 -0
  40. package/dist/components/DateRangePicker/utils.d.ts +6 -0
  41. package/dist/components/DateRangePicker/utils.test.d.ts +1 -0
  42. package/dist/components/DimensionsInput/styled.d.ts +1 -1
  43. package/dist/components/Dropdown/Dropdown.d.ts +3 -0
  44. package/dist/components/Dropdown/Dropdown.test.d.ts +1 -0
  45. package/dist/components/Dropdown/DropdownPopover.d.ts +3 -0
  46. package/dist/components/Dropdown/index.d.ts +1 -0
  47. package/dist/components/Dropdown/styled.d.ts +11 -0
  48. package/dist/components/Dropdown/types.d.ts +16 -0
  49. package/dist/components/FilterTag/FilterTag.d.ts +1 -1
  50. package/dist/components/FilterTag/styled.d.ts +4 -2
  51. package/dist/components/FilterTag/types.d.ts +3 -0
  52. package/dist/components/Modal/types.d.ts +3 -3
  53. package/dist/components/Pagination/styled.d.ts +1 -1
  54. package/dist/components/Popover/Popover.d.ts +1 -1
  55. package/dist/components/Popover/hooks/useHandleFocus.d.ts +2 -2
  56. package/dist/components/Popover/hooks/useUpdateAriaAnchor.d.ts +1 -2
  57. package/dist/components/Popover/types.d.ts +6 -6
  58. package/dist/components/PriceInput/styled.d.ts +1 -1
  59. package/dist/components/Radio/Radio.d.ts +3 -1
  60. package/dist/components/RangeCalendar/RangeCalendar.d.ts +10 -0
  61. package/dist/components/RangeCalendar/RangeCalendar.test.d.ts +1 -0
  62. package/dist/components/RangeCalendar/components/CalendarGrid.d.ts +3 -0
  63. package/dist/components/RangeCalendar/components/StyledRangeCalendar/StyledRangeCalendar.d.ts +2 -0
  64. package/dist/components/RangeCalendar/components/StyledRangeCalendar/buttonStyles.d.ts +1 -0
  65. package/dist/components/RangeCalendar/components/StyledRangeCalendar/calendarCellStyles.d.ts +1 -0
  66. package/dist/components/RangeCalendar/components/StyledRangeCalendar/headerStyles.d.ts +1 -0
  67. package/dist/components/RangeCalendar/components/StyledRangeCalendar/index.d.ts +1 -0
  68. package/dist/components/RangeCalendar/components/utils.d.ts +2 -0
  69. package/dist/components/RangeCalendar/index.d.ts +1 -0
  70. package/dist/components/ScreenReaderOnly/ScreenReaderOnly.d.ts +20 -0
  71. package/dist/components/ScreenReaderOnly/ScreenReaderOnly.test.d.ts +2 -0
  72. package/dist/components/ScreenReaderOnly/index.d.ts +1 -0
  73. package/dist/components/Search/Search.d.ts +2 -27
  74. package/dist/components/Search/styled.d.ts +1 -1
  75. package/dist/components/Select/Select.d.ts +3 -3
  76. package/dist/components/Skeleton/Skeleton.d.ts +7 -0
  77. package/dist/components/Skeleton/Skeleton.test.d.ts +1 -0
  78. package/dist/components/Skeleton/index.d.ts +1 -0
  79. package/dist/components/TextField/TextField.d.ts +1 -1
  80. package/dist/components/TextField/index.d.ts +1 -1
  81. package/dist/components/TextField/types.d.ts +1 -1
  82. package/dist/components/Toggle/Toggle.d.ts +1 -1
  83. package/dist/components/Toggle/styled.d.ts +1 -1
  84. package/dist/components/Toggle/types.d.ts +2 -1
  85. package/dist/components/UploadFile/components/UploadedFile/UploadedFile.d.ts +2 -1
  86. package/dist/components/ViewTab/ViewTab.d.ts +13 -2
  87. package/dist/components/ViewTab/types.d.ts +3 -5
  88. package/dist/components/WeightInput/styled.d.ts +1 -1
  89. package/dist/components/index.d.ts +8 -3
  90. package/dist/hoc/withLabels/withLabels.d.ts +1 -0
  91. package/dist/hooks/index.d.ts +1 -0
  92. package/dist/hooks/useDropdown.d.ts +5 -1
  93. package/dist/hooks/useId.d.ts +4 -0
  94. package/dist/hooks/useId.test.d.ts +1 -0
  95. package/dist/index.esm.js +1 -1
  96. package/dist/index.esm.js.map +1 -1
  97. package/dist/index.js +1 -1
  98. package/dist/index.js.map +1 -1
  99. package/dist/tempIcons/RecommendIcon.d.ts +2 -0
  100. package/dist/tempIcons/WarningIcon.d.ts +2 -0
  101. package/dist/theme/index.d.ts +1 -312
  102. package/dist/theme/modules/text.d.ts +10 -311
  103. package/dist/utils/blockInvalidCharacters.d.ts +1 -0
  104. package/dist/utils/generateId.d.ts +1 -1
  105. package/dist/utils/index.d.ts +1 -0
  106. package/dist/utils/invalidCharactersNumeric.d.ts +1 -0
  107. package/dist/utils/isExternalLink.d.ts +9 -0
  108. package/dist/utils/isExternalLink.test.d.ts +1 -0
  109. package/package.json +16 -14
  110. package/dist/components/ActionList/ActionList.d.ts +0 -3
  111. package/dist/components/ActionList/index.d.ts +0 -1
  112. package/dist/components/ActionList/styled.d.ts +0 -36
  113. package/dist/components/ActionList/types.d.ts +0 -19
  114. package/dist/components/AnimatedDropdown/components/Dropdown.d.ts +0 -3
  115. package/dist/components/PageHeader/PageHeader.d.ts +0 -29
  116. package/dist/components/PageHeader/index.d.ts +0 -1
  117. package/dist/components/PageHeader/styled.d.ts +0 -23
  118. package/dist/components/PaginationRange/Items/Item/Item.d.ts +0 -3
  119. package/dist/components/PaginationRange/Items/Item/index.d.ts +0 -1
  120. package/dist/components/PaginationRange/Items/Item/styled.d.ts +0 -5
  121. package/dist/components/PaginationRange/Items/Item/types.d.ts +0 -5
  122. package/dist/components/PaginationRange/Items/Items.d.ts +0 -7
  123. package/dist/components/PaginationRange/Items/index.d.ts +0 -1
  124. package/dist/components/PaginationRange/PaginationRange.d.ts +0 -3
  125. package/dist/components/PaginationRange/index.d.ts +0 -1
  126. package/dist/components/PaginationRange/styled.d.ts +0 -2
  127. package/dist/components/PaginationRange/types.d.ts +0 -15
  128. /package/dist/components/{ActionList/ActionList.test.d.ts → ActionMenu/ActionMenu.test.d.ts} +0 -0
  129. /package/dist/components/{AnimatedDropdown/components/Dropdown.test.d.ts → Alert/Alert.test.d.ts} +0 -0
  130. /package/dist/components/{PageHeader/PageHeader.test.d.ts → AnimatedDropdown/components/BasicDropdown.test.d.ts} +0 -0
  131. /package/dist/components/{PaginationRange/PaginationRange.test.d.ts → DateRangeInput/DateRangeInput.test.d.ts} +0 -0
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const RecommendIcon: (props: any) => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const WarningIcon: (props: any) => React.JSX.Element;
@@ -138,317 +138,6 @@ export declare const theme: {
138
138
  };
139
139
  shadows: typeof Shadows;
140
140
  sizes: import("./modules/sizes").SizeScale;
141
- text: {
142
- headingXXL: {
143
- fontFamily: string;
144
- fontStyle: string;
145
- fontWeight: number;
146
- fontSize: string;
147
- lineHeight: string;
148
- color: string;
149
- textDecoration: string;
150
- letterSpacing: string;
151
- };
152
- headingXL: {
153
- fontFamily: string;
154
- fontStyle: string;
155
- fontWeight: number;
156
- fontSize: string;
157
- lineHeight: string;
158
- color: string;
159
- textDecoration: string;
160
- letterSpacing: string;
161
- };
162
- headingLarge: {
163
- fontFamily: string;
164
- fontStyle: string;
165
- fontWeight: number;
166
- fontSize: string;
167
- lineHeight: string;
168
- color: string;
169
- textDecoration: string;
170
- letterSpacing: string;
171
- };
172
- headingMedium: {
173
- fontFamily: string;
174
- fontStyle: string;
175
- fontWeight: number;
176
- fontSize: string;
177
- lineHeight: string;
178
- color: string;
179
- textDecoration: string;
180
- letterSpacing: string;
181
- };
182
- headingSmall: {
183
- fontFamily: string;
184
- fontStyle: string;
185
- fontWeight: number;
186
- fontSize: string;
187
- lineHeight: string;
188
- color: string;
189
- textDecoration: string;
190
- letterSpacing: string;
191
- };
192
- headingTable: {
193
- fontFamily: string;
194
- fontStyle: string;
195
- fontWeight: number;
196
- fontSize: string;
197
- lineHeight: string;
198
- color: string;
199
- textDecoration: string;
200
- letterSpacing: string;
201
- };
202
- subheadingLarge: {
203
- fontFamily: string;
204
- fontStyle: string;
205
- fontWeight: string;
206
- fontSize: string;
207
- lineHeight: string;
208
- color: string;
209
- textDecoration: string;
210
- letterSpacing: string;
211
- };
212
- subheadingMedium: {
213
- fontFamily: string;
214
- fontStyle: string;
215
- fontWeight: string;
216
- fontSize: string;
217
- lineHeight: string;
218
- color: string;
219
- textDecoration: string;
220
- letterSpacing: string;
221
- };
222
- subheadingSmall: {
223
- fontFamily: string;
224
- fontStyle: string;
225
- fontWeight: string;
226
- fontSize: string;
227
- lineHeight: string;
228
- color: string;
229
- textDecoration: string;
230
- letterSpacing: string;
231
- };
232
- subheadingSmallBold: {
233
- fontFamily: string;
234
- fontStyle: string;
235
- fontWeight: number;
236
- fontSize: string;
237
- lineHeight: string;
238
- color: string;
239
- textDecoration: string;
240
- letterSpacing: string;
241
- };
242
- body: {
243
- fontFamily: string;
244
- fontStyle: string;
245
- fontWeight: string;
246
- fontSize: string;
247
- lineHeight: string;
248
- color: string;
249
- textDecoration: string;
250
- letterSpacing: string;
251
- };
252
- bodySmall: {
253
- fontFamily: string;
254
- fontStyle: string;
255
- fontWeight: string;
256
- fontSize: string;
257
- lineHeight: string;
258
- color: string;
259
- textDecoration: string;
260
- letterSpacing: string;
261
- };
262
- bodyBold: {
263
- fontFamily: string;
264
- fontStyle: string;
265
- fontWeight: number;
266
- fontSize: string;
267
- lineHeight: string;
268
- color: string;
269
- textDecoration: string;
270
- letterSpacing: string;
271
- };
272
- bodyBoldDark: {
273
- fontFamily: string;
274
- fontStyle: string;
275
- fontWeight: number;
276
- fontSize: string;
277
- lineHeight: string;
278
- color: string;
279
- textDecoration: string;
280
- letterSpacing: string;
281
- };
282
- bodySmallBold: {
283
- fontFamily: string;
284
- fontStyle: string;
285
- fontWeight: number;
286
- fontSize: string;
287
- lineHeight: string;
288
- color: string;
289
- textDecoration: string;
290
- letterSpacing: string;
291
- };
292
- button: {
293
- fontFamily: string;
294
- fontStyle: string;
295
- fontWeight: number;
296
- fontSize: string;
297
- lineHeight: string;
298
- color: string;
299
- textDecoration: string;
300
- letterSpacing: string;
301
- };
302
- buttonSmall: {
303
- fontFamily: string;
304
- fontStyle: string;
305
- fontWeight: number;
306
- fontSize: string;
307
- lineHeight: string;
308
- color: string;
309
- textDecoration: string;
310
- letterSpacing: string;
311
- };
312
- linkLarge: {
313
- fontFamily: string;
314
- fontStyle: string;
315
- fontWeight: string;
316
- fontSize: string;
317
- lineHeight: string;
318
- color: string;
319
- textDecoration: string;
320
- letterSpacing: string;
321
- };
322
- linkMedium: {
323
- fontFamily: string;
324
- fontStyle: string;
325
- fontWeight: string;
326
- fontSize: string;
327
- lineHeight: string;
328
- color: string;
329
- textDecoration: string;
330
- letterSpacing: string;
331
- };
332
- link: {
333
- fontFamily: string;
334
- fontStyle: string;
335
- fontWeight: string;
336
- fontSize: string;
337
- lineHeight: string;
338
- color: string;
339
- textDecoration: string;
340
- letterSpacing: string;
341
- };
342
- linkSmall: {
343
- fontFamily: string;
344
- fontStyle: string;
345
- fontWeight: string;
346
- fontSize: string;
347
- lineHeight: string;
348
- color: string;
349
- textDecoration: string;
350
- letterSpacing: string;
351
- };
352
- inputLabel: {
353
- fontFamily: string;
354
- fontStyle: string;
355
- fontWeight: number;
356
- fontSize: string;
357
- lineHeight: string;
358
- color: string;
359
- textDecoration: string;
360
- letterSpacing: string;
361
- };
362
- inputLabelSmall: {
363
- fontFamily: string;
364
- fontStyle: string;
365
- fontWeight: number;
366
- fontSize: string;
367
- lineHeight: string;
368
- color: string;
369
- textDecoration: string;
370
- letterSpacing: string;
371
- };
372
- hintText: {
373
- fontFamily: string;
374
- fontStyle: string;
375
- fontWeight: string;
376
- fontSize: string;
377
- lineHeight: string;
378
- color: string;
379
- textDecoration: string;
380
- letterSpacing: string;
381
- };
382
- placeholder: {
383
- fontFamily: string;
384
- fontStyle: string;
385
- fontWeight: string;
386
- fontSize: string;
387
- lineHeight: string;
388
- color: string;
389
- textDecoration: string;
390
- letterSpacing: string;
391
- };
392
- placeholderSmall: {
393
- fontFamily: string;
394
- fontStyle: string;
395
- fontWeight: string;
396
- fontSize: string;
397
- lineHeight: string;
398
- color: string;
399
- textDecoration: string;
400
- letterSpacing: string;
401
- };
402
- placeholderCode: {
403
- fontFamily: string;
404
- fontStyle: string;
405
- fontWeight: string;
406
- fontSize: string;
407
- lineHeight: string;
408
- color: string;
409
- textDecoration: string;
410
- letterSpacing: string;
411
- };
412
- placeholderCodeSmall: {
413
- fontFamily: string;
414
- fontStyle: string;
415
- fontWeight: string;
416
- fontSize: string;
417
- lineHeight: string;
418
- color: string;
419
- textDecoration: string;
420
- letterSpacing: string;
421
- };
422
- error: {
423
- fontFamily: string;
424
- fontStyle: string;
425
- fontWeight: number;
426
- fontSize: string;
427
- lineHeight: string;
428
- color: string;
429
- textDecoration: string;
430
- letterSpacing: string;
431
- };
432
- errorSmall: {
433
- fontFamily: string;
434
- fontStyle: string;
435
- fontWeight: number;
436
- fontSize: string;
437
- lineHeight: string;
438
- color: string;
439
- textDecoration: string;
440
- letterSpacing: string;
441
- };
442
- successSmall: {
443
- fontFamily: string;
444
- fontStyle: string;
445
- fontWeight: number;
446
- fontSize: string;
447
- lineHeight: string;
448
- color: string;
449
- textDecoration: string;
450
- letterSpacing: string;
451
- };
452
- };
141
+ text: Record<string, import("./modules/text").TextStyles>;
453
142
  fontFamily: string;
454
143
  };
@@ -1,315 +1,14 @@
1
1
  export declare const common: {
2
2
  fontFamily: string;
3
3
  };
4
- export declare const text: {
5
- headingXXL: {
6
- fontFamily: string;
7
- fontStyle: string;
8
- fontWeight: number;
9
- fontSize: string;
10
- lineHeight: string;
11
- color: string;
12
- textDecoration: string;
13
- letterSpacing: string;
14
- };
15
- headingXL: {
16
- fontFamily: string;
17
- fontStyle: string;
18
- fontWeight: number;
19
- fontSize: string;
20
- lineHeight: string;
21
- color: string;
22
- textDecoration: string;
23
- letterSpacing: string;
24
- };
25
- headingLarge: {
26
- fontFamily: string;
27
- fontStyle: string;
28
- fontWeight: number;
29
- fontSize: string;
30
- lineHeight: string;
31
- color: string;
32
- textDecoration: string;
33
- letterSpacing: string;
34
- };
35
- headingMedium: {
36
- fontFamily: string;
37
- fontStyle: string;
38
- fontWeight: number;
39
- fontSize: string;
40
- lineHeight: string;
41
- color: string;
42
- textDecoration: string;
43
- letterSpacing: string;
44
- };
45
- headingSmall: {
46
- fontFamily: string;
47
- fontStyle: string;
48
- fontWeight: number;
49
- fontSize: string;
50
- lineHeight: string;
51
- color: string;
52
- textDecoration: string;
53
- letterSpacing: string;
54
- };
55
- headingTable: {
56
- fontFamily: string;
57
- fontStyle: string;
58
- fontWeight: number;
59
- fontSize: string;
60
- lineHeight: string;
61
- color: string;
62
- textDecoration: string;
63
- letterSpacing: string;
64
- };
65
- subheadingLarge: {
66
- fontFamily: string;
67
- fontStyle: string;
68
- fontWeight: string;
69
- fontSize: string;
70
- lineHeight: string;
71
- color: string;
72
- textDecoration: string;
73
- letterSpacing: string;
74
- };
75
- subheadingMedium: {
76
- fontFamily: string;
77
- fontStyle: string;
78
- fontWeight: string;
79
- fontSize: string;
80
- lineHeight: string;
81
- color: string;
82
- textDecoration: string;
83
- letterSpacing: string;
84
- };
85
- subheadingSmall: {
86
- fontFamily: string;
87
- fontStyle: string;
88
- fontWeight: string;
89
- fontSize: string;
90
- lineHeight: string;
91
- color: string;
92
- textDecoration: string;
93
- letterSpacing: string;
94
- };
95
- subheadingSmallBold: {
96
- fontFamily: string;
97
- fontStyle: string;
98
- fontWeight: number;
99
- fontSize: string;
100
- lineHeight: string;
101
- color: string;
102
- textDecoration: string;
103
- letterSpacing: string;
104
- };
105
- body: {
106
- fontFamily: string;
107
- fontStyle: string;
108
- fontWeight: string;
109
- fontSize: string;
110
- lineHeight: string;
111
- color: string;
112
- textDecoration: string;
113
- letterSpacing: string;
114
- };
115
- bodySmall: {
116
- fontFamily: string;
117
- fontStyle: string;
118
- fontWeight: string;
119
- fontSize: string;
120
- lineHeight: string;
121
- color: string;
122
- textDecoration: string;
123
- letterSpacing: string;
124
- };
125
- bodyBold: {
126
- fontFamily: string;
127
- fontStyle: string;
128
- fontWeight: number;
129
- fontSize: string;
130
- lineHeight: string;
131
- color: string;
132
- textDecoration: string;
133
- letterSpacing: string;
134
- };
135
- bodyBoldDark: {
136
- fontFamily: string;
137
- fontStyle: string;
138
- fontWeight: number;
139
- fontSize: string;
140
- lineHeight: string;
141
- color: string;
142
- textDecoration: string;
143
- letterSpacing: string;
144
- };
145
- bodySmallBold: {
146
- fontFamily: string;
147
- fontStyle: string;
148
- fontWeight: number;
149
- fontSize: string;
150
- lineHeight: string;
151
- color: string;
152
- textDecoration: string;
153
- letterSpacing: string;
154
- };
155
- button: {
156
- fontFamily: string;
157
- fontStyle: string;
158
- fontWeight: number;
159
- fontSize: string;
160
- lineHeight: string;
161
- color: string;
162
- textDecoration: string;
163
- letterSpacing: string;
164
- };
165
- buttonSmall: {
166
- fontFamily: string;
167
- fontStyle: string;
168
- fontWeight: number;
169
- fontSize: string;
170
- lineHeight: string;
171
- color: string;
172
- textDecoration: string;
173
- letterSpacing: string;
174
- };
175
- linkLarge: {
176
- fontFamily: string;
177
- fontStyle: string;
178
- fontWeight: string;
179
- fontSize: string;
180
- lineHeight: string;
181
- color: string;
182
- textDecoration: string;
183
- letterSpacing: string;
184
- };
185
- linkMedium: {
186
- fontFamily: string;
187
- fontStyle: string;
188
- fontWeight: string;
189
- fontSize: string;
190
- lineHeight: string;
191
- color: string;
192
- textDecoration: string;
193
- letterSpacing: string;
194
- };
195
- link: {
196
- fontFamily: string;
197
- fontStyle: string;
198
- fontWeight: string;
199
- fontSize: string;
200
- lineHeight: string;
201
- color: string;
202
- textDecoration: string;
203
- letterSpacing: string;
204
- };
205
- linkSmall: {
206
- fontFamily: string;
207
- fontStyle: string;
208
- fontWeight: string;
209
- fontSize: string;
210
- lineHeight: string;
211
- color: string;
212
- textDecoration: string;
213
- letterSpacing: string;
214
- };
215
- inputLabel: {
216
- fontFamily: string;
217
- fontStyle: string;
218
- fontWeight: number;
219
- fontSize: string;
220
- lineHeight: string;
221
- color: string;
222
- textDecoration: string;
223
- letterSpacing: string;
224
- };
225
- inputLabelSmall: {
226
- fontFamily: string;
227
- fontStyle: string;
228
- fontWeight: number;
229
- fontSize: string;
230
- lineHeight: string;
231
- color: string;
232
- textDecoration: string;
233
- letterSpacing: string;
234
- };
235
- hintText: {
236
- fontFamily: string;
237
- fontStyle: string;
238
- fontWeight: string;
239
- fontSize: string;
240
- lineHeight: string;
241
- color: string;
242
- textDecoration: string;
243
- letterSpacing: string;
244
- };
245
- placeholder: {
246
- fontFamily: string;
247
- fontStyle: string;
248
- fontWeight: string;
249
- fontSize: string;
250
- lineHeight: string;
251
- color: string;
252
- textDecoration: string;
253
- letterSpacing: string;
254
- };
255
- placeholderSmall: {
256
- fontFamily: string;
257
- fontStyle: string;
258
- fontWeight: string;
259
- fontSize: string;
260
- lineHeight: string;
261
- color: string;
262
- textDecoration: string;
263
- letterSpacing: string;
264
- };
265
- placeholderCode: {
266
- fontFamily: string;
267
- fontStyle: string;
268
- fontWeight: string;
269
- fontSize: string;
270
- lineHeight: string;
271
- color: string;
272
- textDecoration: string;
273
- letterSpacing: string;
274
- };
275
- placeholderCodeSmall: {
276
- fontFamily: string;
277
- fontStyle: string;
278
- fontWeight: string;
279
- fontSize: string;
280
- lineHeight: string;
281
- color: string;
282
- textDecoration: string;
283
- letterSpacing: string;
284
- };
285
- error: {
286
- fontFamily: string;
287
- fontStyle: string;
288
- fontWeight: number;
289
- fontSize: string;
290
- lineHeight: string;
291
- color: string;
292
- textDecoration: string;
293
- letterSpacing: string;
294
- };
295
- errorSmall: {
296
- fontFamily: string;
297
- fontStyle: string;
298
- fontWeight: number;
299
- fontSize: string;
300
- lineHeight: string;
301
- color: string;
302
- textDecoration: string;
303
- letterSpacing: string;
304
- };
305
- successSmall: {
306
- fontFamily: string;
307
- fontStyle: string;
308
- fontWeight: number;
309
- fontSize: string;
310
- lineHeight: string;
311
- color: string;
312
- textDecoration: string;
313
- letterSpacing: string;
314
- };
4
+ export type TextStyles = {
5
+ fontFamily: string;
6
+ fontStyle: string;
7
+ fontWeight: number | string;
8
+ fontSize: string;
9
+ lineHeight: string;
10
+ color: string;
11
+ textDecoration: string;
12
+ letterSpacing: string;
315
13
  };
14
+ export declare const text: Record<string, TextStyles>;
@@ -0,0 +1 @@
1
+ export declare const blockInvalidCharacters: (e: any, invalidList: string[]) => void;
@@ -1 +1 @@
1
- export declare const generateId: (prefix: string) => string;
1
+ export declare const generateId: (prefix?: string) => string;
@@ -1,3 +1,4 @@
1
1
  export { buildClassnames } from './buildClassnames';
2
2
  export { getOpaqueHexColor, hexToRgb } from './color';
3
3
  export { generateId } from './generateId';
4
+ export { isExternalLink } from './isExternalLink';
@@ -0,0 +1 @@
1
+ export declare const invalidCharsList: string[];
@@ -0,0 +1,9 @@
1
+ export declare const defaultAllowedHostnames: string[];
2
+ /**
3
+ * Check if a URL/path string is an external link
4
+ * @param {string} urlOrPath - URL or path
5
+ * @param {string[]} allowedHostnames - List of allowed hostnames - default: ['app.veeqo.com']
6
+
7
+ * @returns {Boolean}
8
+ */
9
+ export declare function isExternalLink(urlOrPath: string, allowedHostnames?: string[]): boolean;
@@ -0,0 +1 @@
1
+ export {};