dhre-component-lib 0.2.3 → 0.2.5

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 (34) hide show
  1. package/dist/components/Badge/Badge.d.ts +1 -0
  2. package/dist/components/BreadCrumb/BreadCrumb.d.ts +1 -0
  3. package/dist/components/Button/Button.d.ts +1 -0
  4. package/dist/components/CircularProgress/CircularProgress.d.ts +1 -0
  5. package/dist/components/Map/GoogleMap.d.ts +1 -0
  6. package/dist/components/Modal/Modal.d.ts +3 -2
  7. package/dist/components/PdfView/PdfView.d.ts +1 -0
  8. package/dist/components/Search/Search.d.ts +12 -0
  9. package/dist/components/Tag/Tag.d.ts +1 -0
  10. package/dist/components/Tooltip/Tooltip.d.ts +1 -0
  11. package/dist/components/Typography/Typography.d.ts +10 -0
  12. package/dist/components/Typography/index.d.ts +1 -0
  13. package/dist/index.d.ts +193 -15
  14. package/dist/index.esm.js +110 -23
  15. package/dist/index.esm.js.map +1 -1
  16. package/dist/index.js +163 -69
  17. package/dist/index.js.map +1 -1
  18. package/dist/{colors.scss → theme/colors/colors.scss} +6 -0
  19. package/package.json +7 -5
  20. package/dist/Badge.module.scss +0 -13
  21. package/dist/Breadcrumb.module.scss +0 -17
  22. package/dist/Button.module.scss +0 -53
  23. package/dist/CircularProgress.module.scss +0 -18
  24. package/dist/GoogleMap.module.scss +0 -5
  25. package/dist/Modal.module.scss +0 -26
  26. package/dist/Notification.module.scss +0 -20
  27. package/dist/OtpInput.module.scss +0 -47
  28. package/dist/PdfView.module.scss +0 -69
  29. package/dist/Tooltip.module.scss +0 -37
  30. package/dist/assets/output-BU46CkmN.css +0 -246
  31. package/dist/dist/styles.css +0 -2
  32. package/dist/dist/styles.css.map +0 -1
  33. package/dist/typography.scss +0 -117
  34. /package/dist/components/{Modal/Modal.test.d.ts → Typography/Typography.test.d.ts} +0 -0
@@ -1,117 +0,0 @@
1
- $bold-weight: 700;
2
- $semi-bold-weight: 400;
3
- $medium-weight: 300;
4
-
5
-
6
- $font-sizes: (
7
- 'H1': 40px,
8
- 'H2': 36px,
9
- 'H3': 32px,
10
- 'H4': 26px,
11
- 'H5': 24px,
12
- 'H6': 22px,
13
- 'H7': 20px,
14
- 'H8': 18px,
15
- 'B1':20px,
16
- 'B2':18px,
17
- 'B3':16px,
18
- 'B4':14px,
19
- 'L1':14px,
20
- 'L2':12px,
21
- 'L3':10px,
22
- );
23
-
24
- $line-heights: (
25
- 'H1': 56px,
26
- 'H2': 50.4px,
27
- 'H3': 44.8px,
28
- 'H4': 36.4px,
29
- 'H5': 33.6px,
30
- 'H6': 30.8px,
31
- 'H7': 28px,
32
- 'H8': 25.2px,
33
- 'B1': 28px,
34
- 'B2': 25.2px,
35
- 'B3': 22.4px,
36
- 'B4': 22.4px,
37
- 'L1': 19.6px,
38
- 'L2': 16.8px,
39
- 'L3': 14px,
40
- );
41
-
42
- @mixin font-style($type, $weight, $font-size-key) {
43
- $font-size: map-get($font-sizes, $font-size-key);
44
- $line-height: map-get($line-heights, $font-size-key);
45
-
46
- font-weight: $weight;
47
- font-size: $font-size;
48
- line-height: $line-height;
49
- }
50
-
51
- // H1 Styles
52
- .H1_BOLD { @include font-style('heading', $bold-weight, 'H1'); }
53
- .H1_SEMI_BOLD { @include font-style('heading', $semi-bold-weight, 'H1'); }
54
- .H1_MEDIUM { @include font-style('heading', $medium-weight, 'H1'); }
55
-
56
- // H2 Styles
57
- .H2_BOLD { @include font-style('heading', $bold-weight, 'H2'); }
58
- .H2_SEMI_BOLD { @include font-style('heading', $semi-bold-weight, 'H2'); }
59
- .H2_MEDIUM { @include font-style('heading', $medium-weight, 'H2'); }
60
-
61
- // H3 Styles
62
- .H3_BOLD { @include font-style('heading', $bold-weight, 'H3'); }
63
- .H3_SEMI_BOLD { @include font-style('heading', $semi-bold-weight, 'H3'); }
64
- .H3_MEDIUM { @include font-style('heading', $medium-weight, 'H3'); }
65
-
66
- // H4 Styles
67
- .H4_BOLD { @include font-style('heading', $bold-weight, 'H4'); }
68
- .H4_SEMI_BOLD { @include font-style('heading', $semi-bold-weight, 'H4'); }
69
- .H4_MEDIUM { @include font-style('heading', $medium-weight, 'H4'); }
70
-
71
- // H5 Styles
72
- .H5_BOLD { @include font-style('heading', $bold-weight, 'H5'); }
73
- .H5_SEMI_BOLD { @include font-style('heading', $semi-bold-weight, 'H5'); }
74
- .H5_MEDIUM { @include font-style('heading', $medium-weight, 'H5'); }
75
-
76
- // H6 Styles
77
- .H6_BOLD { @include font-style('heading', $bold-weight, 'H6'); }
78
- .H6_SEMI_BOLD { @include font-style('heading', $semi-bold-weight, 'H6'); }
79
- .H6_MEDIUM { @include font-style('heading', $medium-weight, 'H6'); }
80
-
81
- // H7 Styles
82
- .H7_BOLD { @include font-style('heading', $bold-weight, 'H7'); }
83
- .H7_SEMI_BOLD { @include font-style('heading', $semi-bold-weight, 'H7'); }
84
- .H7_MEDIUM { @include font-style('heading', $medium-weight, 'H7'); }
85
-
86
- // H8 Styles
87
- .H8_BOLD { @include font-style('heading', $bold-weight, 'H8'); }
88
- .H8_SEMI_BOLD { @include font-style('heading', $semi-bold-weight, 'H8'); }
89
- .H8_MEDIUM { @include font-style('heading', $medium-weight, 'H8'); }
90
-
91
- // B1 Styles
92
- .B1_BOLD { @include font-style('body', $bold-weight, 'B1'); }
93
- .B1_SEMI_BOLD { @include font-style('body', $semi-bold-weight, 'B1'); }
94
-
95
- // B2 Styles
96
- .B2_BOLD { @include font-style('body', $bold-weight, 'B2'); }
97
- .B2_SEMI_BOLD { @include font-style('body', $semi-bold-weight, 'B2'); }
98
-
99
- // B3 Styles
100
- .B3_BOLD { @include font-style('body', $bold-weight, 'B3'); }
101
- .B3_SEMI_BOLD { @include font-style('body', $semi-bold-weight, 'B3'); }
102
-
103
- // B4 Styles
104
- .B4_BOLD { @include font-style('body', $bold-weight, 'B4'); }
105
- .B4_SEMI_BOLD { @include font-style('body', $semi-bold-weight, 'B4'); }
106
-
107
- // L1 Styles
108
- .L1_BOLD { @include font-style('body', $bold-weight, 'L1'); }
109
- .L1_SEMI_BOLD { @include font-style('body', $semi-bold-weight, 'L1'); }
110
-
111
- // L2 Styles
112
- .L2_BOLD { @include font-style('body', $bold-weight, 'L2'); }
113
- .L2_SEMI_BOLD { @include font-style('body', $semi-bold-weight, 'L2'); }
114
-
115
- // L3 Styles
116
- .L3_BOLD { @include font-style('body', $bold-weight, 'L3'); }
117
- .L3_SEMI_BOLD { @include font-style('body', $semi-bold-weight, 'L3'); }