@cleartrip/ct-design-typography 3.22.0-SNAPSHOT-superMoneyLink.0 → 3.22.0-SNAPSHOT-updatedprops.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/dist/style.d.ts CHANGED
@@ -109,7 +109,6 @@ export declare const getTypographyVariant: (theme: Theme, variant: TypographyVar
109
109
  letterSpacing: "0.4px";
110
110
  textTransform?: undefined;
111
111
  };
112
- export declare const getTypographyTextDecorations: (theme: Theme, color: TypographyColorType, isStriked?: boolean) => string;
113
112
  export declare const getTypographyColor: (theme: Theme, color: TypographyColorType) => string;
114
113
  export declare const getLineClampStyles: (lineClamp?: number) => {
115
114
  display: string;
@@ -122,7 +121,6 @@ export declare const getLineClampStyles: (lineClamp?: number) => {
122
121
  webkitBoxOrient?: undefined;
123
122
  overflow?: undefined;
124
123
  };
125
- export declare const getTypographyUnderlineOffset: (theme: Theme, variant: TypographyVariantType, isUnderlined?: boolean) => "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
126
124
  export declare const getTypographyStyles: ({ theme, variant, color, isClickable, isStriked, colorCode, showInItalics, lineClamp, isDisabled, }: {
127
125
  theme: Theme;
128
126
  variant?: "HD1" | "HD2" | "HD3" | "HM1" | "HM2" | "HM3" | "HM4" | "B1" | "B2" | "B3" | "B3CAPS" | "B4" | "B4CAPS" | "P1" | "P2" | "P3" | "L1" | "L2" | "L3" | "OVERLINE" | "TAG" | undefined;
@@ -136,7 +134,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
136
134
  }) => {
137
135
  color: string;
138
136
  textDecoration: string;
139
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
140
137
  cursor: string | undefined;
141
138
  fontStyle: string;
142
139
  display: string;
@@ -151,7 +148,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
151
148
  } | {
152
149
  color: string;
153
150
  textDecoration: string;
154
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
155
151
  cursor: string | undefined;
156
152
  fontStyle: string;
157
153
  display?: undefined;
@@ -166,7 +162,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
166
162
  } | {
167
163
  color: string;
168
164
  textDecoration: string;
169
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
170
165
  cursor: string | undefined;
171
166
  fontStyle: string;
172
167
  display: string;
@@ -181,7 +176,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
181
176
  } | {
182
177
  color: string;
183
178
  textDecoration: string;
184
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
185
179
  cursor: string | undefined;
186
180
  fontStyle: string;
187
181
  display?: undefined;
@@ -196,7 +190,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
196
190
  } | {
197
191
  color: string;
198
192
  textDecoration: string;
199
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
200
193
  cursor: string | undefined;
201
194
  fontStyle: string;
202
195
  display: string;
@@ -211,7 +204,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
211
204
  } | {
212
205
  color: string;
213
206
  textDecoration: string;
214
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
215
207
  cursor: string | undefined;
216
208
  fontStyle: string;
217
209
  display?: undefined;
@@ -226,7 +218,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
226
218
  } | {
227
219
  color: string;
228
220
  textDecoration: string;
229
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
230
221
  cursor: string | undefined;
231
222
  fontStyle: string;
232
223
  display: string;
@@ -241,7 +232,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
241
232
  } | {
242
233
  color: string;
243
234
  textDecoration: string;
244
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
245
235
  cursor: string | undefined;
246
236
  fontStyle: string;
247
237
  display?: undefined;
@@ -256,7 +246,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
256
246
  } | {
257
247
  color: string;
258
248
  textDecoration: string;
259
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
260
249
  cursor: string | undefined;
261
250
  fontStyle: string;
262
251
  display: string;
@@ -271,7 +260,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
271
260
  } | {
272
261
  color: string;
273
262
  textDecoration: string;
274
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
275
263
  cursor: string | undefined;
276
264
  fontStyle: string;
277
265
  display?: undefined;
@@ -286,7 +274,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
286
274
  } | {
287
275
  color: string;
288
276
  textDecoration: string;
289
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
290
277
  cursor: string | undefined;
291
278
  fontStyle: string;
292
279
  display: string;
@@ -301,7 +288,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
301
288
  } | {
302
289
  color: string;
303
290
  textDecoration: string;
304
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
305
291
  cursor: string | undefined;
306
292
  fontStyle: string;
307
293
  display?: undefined;
@@ -316,7 +302,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
316
302
  } | {
317
303
  color: string;
318
304
  textDecoration: string;
319
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
320
305
  cursor: string | undefined;
321
306
  fontStyle: string;
322
307
  display: string;
@@ -331,7 +316,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
331
316
  } | {
332
317
  color: string;
333
318
  textDecoration: string;
334
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
335
319
  cursor: string | undefined;
336
320
  fontStyle: string;
337
321
  display?: undefined;
@@ -346,7 +330,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
346
330
  } | {
347
331
  color: string;
348
332
  textDecoration: string;
349
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
350
333
  cursor: string | undefined;
351
334
  fontStyle: string;
352
335
  display: string;
@@ -361,7 +344,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
361
344
  } | {
362
345
  color: string;
363
346
  textDecoration: string;
364
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
365
347
  cursor: string | undefined;
366
348
  fontStyle: string;
367
349
  display?: undefined;
@@ -376,7 +358,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
376
358
  } | {
377
359
  color: string;
378
360
  textDecoration: string;
379
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
380
361
  cursor: string | undefined;
381
362
  fontStyle: string;
382
363
  display: string;
@@ -391,7 +372,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
391
372
  } | {
392
373
  color: string;
393
374
  textDecoration: string;
394
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
395
375
  cursor: string | undefined;
396
376
  fontStyle: string;
397
377
  display?: undefined;
@@ -406,7 +386,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
406
386
  } | {
407
387
  color: string;
408
388
  textDecoration: string;
409
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
410
389
  cursor: string | undefined;
411
390
  fontStyle: string;
412
391
  display: string;
@@ -421,7 +400,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
421
400
  } | {
422
401
  color: string;
423
402
  textDecoration: string;
424
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
425
403
  cursor: string | undefined;
426
404
  fontStyle: string;
427
405
  display?: undefined;
@@ -436,7 +414,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
436
414
  } | {
437
415
  color: string;
438
416
  textDecoration: string;
439
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
440
417
  cursor: string | undefined;
441
418
  fontStyle: string;
442
419
  display: string;
@@ -451,7 +428,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
451
428
  } | {
452
429
  color: string;
453
430
  textDecoration: string;
454
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
455
431
  cursor: string | undefined;
456
432
  fontStyle: string;
457
433
  display?: undefined;
@@ -466,7 +442,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
466
442
  } | {
467
443
  color: string;
468
444
  textDecoration: string;
469
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
470
445
  cursor: string | undefined;
471
446
  fontStyle: string;
472
447
  display: string;
@@ -481,7 +456,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
481
456
  } | {
482
457
  color: string;
483
458
  textDecoration: string;
484
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
485
459
  cursor: string | undefined;
486
460
  fontStyle: string;
487
461
  display?: undefined;
@@ -496,7 +470,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
496
470
  } | {
497
471
  color: string;
498
472
  textDecoration: string;
499
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
500
473
  cursor: string | undefined;
501
474
  fontStyle: string;
502
475
  display: string;
@@ -511,7 +484,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
511
484
  } | {
512
485
  color: string;
513
486
  textDecoration: string;
514
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
515
487
  cursor: string | undefined;
516
488
  fontStyle: string;
517
489
  display?: undefined;
@@ -526,7 +498,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
526
498
  } | {
527
499
  color: string;
528
500
  textDecoration: string;
529
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
530
501
  cursor: string | undefined;
531
502
  fontStyle: string;
532
503
  display: string;
@@ -541,7 +512,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
541
512
  } | {
542
513
  color: string;
543
514
  textDecoration: string;
544
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
545
515
  cursor: string | undefined;
546
516
  fontStyle: string;
547
517
  display?: undefined;
@@ -556,7 +526,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
556
526
  } | {
557
527
  color: string;
558
528
  textDecoration: string;
559
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
560
529
  cursor: string | undefined;
561
530
  fontStyle: string;
562
531
  display: string;
@@ -571,7 +540,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
571
540
  } | {
572
541
  color: string;
573
542
  textDecoration: string;
574
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
575
543
  cursor: string | undefined;
576
544
  fontStyle: string;
577
545
  display?: undefined;
@@ -586,7 +554,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
586
554
  } | {
587
555
  color: string;
588
556
  textDecoration: string;
589
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
590
557
  cursor: string | undefined;
591
558
  fontStyle: string;
592
559
  display: string;
@@ -601,7 +568,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
601
568
  } | {
602
569
  color: string;
603
570
  textDecoration: string;
604
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
605
571
  cursor: string | undefined;
606
572
  fontStyle: string;
607
573
  display?: undefined;
@@ -616,7 +582,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
616
582
  } | {
617
583
  color: string;
618
584
  textDecoration: string;
619
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
620
585
  cursor: string | undefined;
621
586
  fontStyle: string;
622
587
  display: string;
@@ -631,7 +596,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
631
596
  } | {
632
597
  color: string;
633
598
  textDecoration: string;
634
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
635
599
  cursor: string | undefined;
636
600
  fontStyle: string;
637
601
  display?: undefined;
@@ -646,7 +610,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
646
610
  } | {
647
611
  color: string;
648
612
  textDecoration: string;
649
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
650
613
  cursor: string | undefined;
651
614
  fontStyle: string;
652
615
  display: string;
@@ -661,7 +624,6 @@ export declare const getTypographyStyles: ({ theme, variant, color, isClickable,
661
624
  } | {
662
625
  color: string;
663
626
  textDecoration: string;
664
- textUnderlineOffset: "20px" | "16px" | "12px" | "8px" | "4px" | undefined;
665
627
  cursor: string | undefined;
666
628
  fontStyle: string;
667
629
  display?: undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../packages/components/Typography/src/style.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAmB,mBAAmB,EAAqB,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAExG,eAAO,MAAM,oBAAoB,UAAW,KAAK,WAAW,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkKhF,CAAC;AAEF,eAAO,MAAM,4BAA4B,UAAW,KAAK,SAAS,mBAAmB,cAAc,OAAO,WAwEzG,CAAC;AAEF,eAAO,MAAM,kBAAkB,UAAW,KAAK,SAAS,mBAAmB,WAsD1E,CAAC;AAEF,eAAO,MAAM,kBAAkB,eAAgB,MAAM;;;;;;;;;;CAWpD,CAAC;AAEF,eA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BAAmB,WAsD1E,CAAC;AAEF,eAAO,MAAM,kBAAkB,eAAgB,MAAM;;;;;;;;;;CAWpD,CAAC;AAEF,eAAO,MAAM,mBAAmB;WAWvB,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBb,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleartrip/ct-design-typography",
3
- "version": "3.22.0-SNAPSHOT-superMoneyLink.0",
3
+ "version": "3.22.0-SNAPSHOT-updatedprops.0",
4
4
  "description": "",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/ct-design-typography.cjs.js",
@@ -15,10 +15,10 @@
15
15
  "dist"
16
16
  ],
17
17
  "dependencies": {
18
- "@cleartrip/ct-design-types": "3.21.0-SNAPSHOT-superMoneyLink.0",
19
- "@cleartrip/ct-design-theme": "3.21.0-SNAPSHOT-superMoneyLink.0",
20
- "@cleartrip/ct-design-conditional-wrap": "3.21.0-SNAPSHOT-superMoneyLink.0",
21
- "@cleartrip/ct-design-container": "3.21.0-SNAPSHOT-superMoneyLink.0"
18
+ "@cleartrip/ct-design-types": "3.20.0",
19
+ "@cleartrip/ct-design-theme": "3.20.0",
20
+ "@cleartrip/ct-design-conditional-wrap": "3.21.0-SNAPSHOT-updatedprops.0",
21
+ "@cleartrip/ct-design-container": "3.21.0-SNAPSHOT-updatedprops.0"
22
22
  },
23
23
  "devDependencies": {},
24
24
  "peerDependencies": {