@julseb-lib/react 1.1.23 → 1.1.25

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.
@@ -1,8 +1,79 @@
1
- import { Dispatch, SetStateAction, ReactNode, HTMLAttributes, ElementType, RefObject, CSSProperties as CSSProperties$1, ReactElement as ReactElement$1, FunctionComponent } from 'react';
1
+ import { Dispatch, SetStateAction, ReactNode, FunctionComponent, HTMLAttributes, ElementType, RefObject, CSSProperties as CSSProperties$1, ReactElement as ReactElement$1 } from 'react';
2
2
  import { Property } from 'csstype';
3
3
 
4
4
  declare const designTokens: {
5
5
  readonly libColors: {
6
+ /**
7
+ * All the colors in the lib
8
+ * Primary 50 — #eff6ff
9
+ * Primary 100 — #dbeafe
10
+ * Primary 200 — #bfdbfe
11
+ * Primary 300 — #93c5fd
12
+ * Primary 400 — #60a5fa
13
+ * Primary 500 — #3b82f6
14
+ * Primary 600 — #2563eb
15
+ * Primary 700 — #1d4ed8
16
+ * Primary 800 — #1e40af
17
+ * Primary 900 — #1e3a8a
18
+ * Primary 950 — #172554
19
+ * Secondary 50 — #ecfeff
20
+ * Secondary 100 — #cffafe
21
+ * Secondary 200 — #a5f3fc
22
+ * Secondary 300 — #67e8f9
23
+ * Secondary 400 — #22d3ee
24
+ * Secondary 500 — #06b6d4
25
+ * Secondary 600 — #0891b2
26
+ * Secondary 700 — #0e7490
27
+ * Secondary 800 — #155e75
28
+ * Secondary 900 — #164e63
29
+ * Secondary 950 — #083344
30
+ * Success 50 — #f0fdf4
31
+ * Success 100 — #dcfce7
32
+ * Success 200 — #bbf7d0
33
+ * Success 300 — #86efac
34
+ * Success 400 — #4ade80
35
+ * Success 500 — #22c55e
36
+ * Success 600 — #16a34a
37
+ * Success 700 — #15803d
38
+ * Success 800 — #166534
39
+ * Success 900 — #14532d
40
+ * Success 950 — #052e16
41
+ * Danger 50 — #fef2f2
42
+ * Danger 100 — #fee2e2
43
+ * Danger 200 — #fecaca
44
+ * Danger 300 — #fca5a5
45
+ * Danger 400 — #f87171
46
+ * Danger 500 — #ef4444
47
+ * Danger 600 — #dc2626
48
+ * Danger 700 — #b91c1c
49
+ * Danger 800 — #991b1b
50
+ * Danger 900 — #7f1d1d
51
+ * Danger 950 — #450a0a
52
+ * Warning 50 — #fffbeb
53
+ * Warning 100 — #fef3c7
54
+ * Warning 200 — #fde68a
55
+ * Warning 300 — #fcd34d
56
+ * Warning 400 — #fbbf24
57
+ * Warning 500 — #f59e42
58
+ * Warning 600 — #d97706
59
+ * Warning 700 — #b45309
60
+ * Warning 800 — #92400e
61
+ * Warning 900 — #78350f
62
+ * Warning 950 — #451a03
63
+ * Gray 50 — #f9fafb
64
+ * Gray 100 — #f3f4f6
65
+ * Gray 200 — #e5e7eb
66
+ * Gray 300 — #d1d5db
67
+ * Gray 400 — #9ca3af
68
+ * Gray 500 — #6b7280
69
+ * Gray 600 — #4b5563
70
+ * Gray 700 — #374151
71
+ * Gray 800 — #1f2937
72
+ * Gray 900 — #111827
73
+ * Gray 950 — #030712
74
+ * Black — #000000
75
+ * White — #ffffff
76
+ */
6
77
  readonly "primary-50": "#eff6ff";
7
78
  readonly "primary-100": "#dbeafe";
8
79
  readonly "primary-200": "#bfdbfe";
@@ -77,6 +148,20 @@ declare const designTokens: {
77
148
  readonly font: "font";
78
149
  };
79
150
  readonly libColorsShort: {
151
+ /**
152
+ * Shorthand for each color (value is <color>-500)
153
+ * Primary — #3b82f6
154
+ * Secondary — #06b6d4
155
+ * Success — #22c55e
156
+ * Danger — #ef4444
157
+ * Warning — #f59e42
158
+ * Gray — #6b7280
159
+ * Black — #000000
160
+ * White — #ffffff
161
+ * Current - currentColor
162
+ * Transparent - transparent
163
+ * Background: #ffffff in light mode, #000000 in dark mode
164
+ */
80
165
  readonly primary: "primary";
81
166
  readonly secondary: "secondary";
82
167
  readonly success: "success";
@@ -90,6 +175,16 @@ declare const designTokens: {
90
175
  readonly background: "background";
91
176
  };
92
177
  readonly libColorsHover: {
178
+ /**
179
+ * Colors used when an item is hovered
180
+ * Primary: Default Primary 500 — #3b82f6; Hover: Primary 300 — #93c5fd; Active: Primary 600 — #2563eb
181
+ * Secondary: Default: Secondary 500 — #06b6d4; Hover: Secondary 300 — #67e8f9; Active: Secondary 600 — #0891b2
182
+ * Success: Default: Success 500 — #22c55e; Hover: Success 300 — #86efac; Active: Success 600 — #16a34a
183
+ * Danger: Default: Danger 500 — #ef4444; Hover: Danger 300 — #fca5a5; Active: Danger 600 — #dc2626
184
+ * Warning: Default: Warning 500 — #f59e42; Hover: Warning 300 — #fcd34d; Active: Warning 600 — #d97706
185
+ * Gray: Default: Gray 500 — #6b7280; Hover: Gray 300 — #d1d5db; Active: Gray 600 — #4b5563
186
+ * White: Default: White - #ffffff; Hover: Gray 300 - #d1d5db; Active: Gray 100 - #f3f4f6
187
+ */
93
188
  readonly primary: "primary";
94
189
  readonly secondary: "secondary";
95
190
  readonly success: "success";
@@ -99,6 +194,15 @@ declare const designTokens: {
99
194
  readonly white: "white";
100
195
  };
101
196
  readonly libOverlays: {
197
+ /**
198
+ * Overlay colors
199
+ * Black 50 - rgba(0, 0, 0, 0.5)
200
+ * Black 80 - rgba(0, 0, 0, 0.8)
201
+ * White 50 - rgba(255, 255, 255, 0.5)
202
+ * White 80 - rgba(255, 255, 255, 0.8)
203
+ * Gradient Black - linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.56) 100%)
204
+ * Gradient White - linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.35) 100%)
205
+ */
102
206
  readonly "black-50": "black-50";
103
207
  readonly "black-80": "black-80";
104
208
  readonly "white-50": "white-50";
@@ -107,41 +211,77 @@ declare const designTokens: {
107
211
  readonly "gradient-white": "gradient-white";
108
212
  };
109
213
  readonly libFontFamilies: {
214
+ /**
215
+ * Font Families
216
+ * Body - Lato
217
+ * Code - monospace
218
+ */
110
219
  readonly body: "body";
111
220
  readonly code: "code";
112
221
  };
113
222
  readonly libSpacers: {
114
- /** 4px */ readonly "2xs": "2xs";
115
- /** 8px */ readonly xs: "xs";
116
- /** 12px */ readonly sm: "sm";
117
- /** 16px */ readonly md: "md";
118
- /** 24px */ readonly lg: "lg";
119
- /** 32px */ readonly xl: "xl";
120
- /** 48px */ readonly "2xl": "2xl";
121
- };
122
- readonly libBreakpoints: {
223
+ /** Spacers
224
+ * 2xs - 4px
225
+ * xs - 8px
226
+ * sm - 12px
227
+ * md - 16px
228
+ * lg - 24px
229
+ * xl - 32px
230
+ * 2xl - 48px
231
+ */
232
+ readonly "2xs": "2xs";
233
+ readonly xs: "xs";
123
234
  readonly sm: "sm";
124
235
  readonly md: "md";
125
236
  readonly lg: "lg";
126
237
  readonly xl: "xl";
127
238
  readonly "2xl": "2xl";
128
239
  };
129
- readonly libContainer: {
130
- readonly "3xs": "3xs";
131
- readonly "2xs": "2xs";
132
- readonly xs: "xs";
240
+ readonly libBreakpoints: {
241
+ /**
242
+ * Tailwind Breakpoints
243
+ * sm - 640px
244
+ * md - 768px
245
+ * lg - 1024px
246
+ * xl - 1280px
247
+ * 2xl - 1536px
248
+ */
133
249
  readonly sm: "sm";
134
250
  readonly md: "md";
135
251
  readonly lg: "lg";
136
252
  readonly xl: "xl";
137
253
  readonly "2xl": "2xl";
138
- readonly "3xl": "3xl";
139
- readonly "4xl": "4xl";
140
- readonly "5xl": "5xl";
141
- readonly "6xl": "6xl";
142
- readonly "7xl": "7xl";
143
254
  };
144
255
  readonly libFontSizes: {
256
+ /**
257
+ * Tailwind & Lib Font Sizes
258
+ * xs - 12px (0.75rem)
259
+ * sm - 14px (0.875rem)
260
+ * base - 16px (1rem)
261
+ * lg - 18px (1.125rem)
262
+ * xl - 20px (1.25rem)
263
+ * 2xl - 24px (1.5rem)
264
+ * 3xl - 30px (1.875rem)
265
+ * 4xl - 36px (2.25rem)
266
+ * 5xl - 48px (3rem)
267
+ * 6xl - 60px (3.75rem)
268
+ * 7xl - 72px (4.5rem)
269
+ * 8xl - 96px (6rem)
270
+ * 9xl - 128px (8rem)
271
+ * display-h1 - 80px (5rem)
272
+ * display-h2 - 64px (4rem)
273
+ * display-h3 - 56px (3.5rem)
274
+ * display-h4 - 48px (3rem)
275
+ * display-h5 - 40px (2.5rem)
276
+ * h1 - 40px (2.5rem)
277
+ * h2 - 32px (2rem)
278
+ * h3 - 28.8px (1.8rem)
279
+ * h4 - 24px (1.5rem)
280
+ * h5 - 20.8px (1.3rem)
281
+ * h6 - 17.6px (1.1rem)
282
+ * body - 16px (1rem)
283
+ * small - 14px (0.875rem)
284
+ */
145
285
  readonly xs: "xs";
146
286
  readonly sm: "sm";
147
287
  readonly base: "base";
@@ -155,31 +295,33 @@ declare const designTokens: {
155
295
  readonly "7xl": "7xl";
156
296
  readonly "8xl": "8xl";
157
297
  readonly "9xl": "9xl";
158
- };
159
- readonly libLineHeights: {
160
- readonly xs: "xs--line-height";
161
- readonly sm: "sm--line-height";
162
- readonly base: "base--line-height";
163
- readonly lg: "lg--line-height";
164
- readonly xl: "xl--line-height";
165
- readonly "2xl": "2xl--line-height";
166
- readonly "3xl": "3xl--line-height";
167
- readonly "4xl": "4xl--line-height";
168
- readonly "5xl": "5xl--line-height";
169
- readonly "6xl": "6xl--line-height";
170
- readonly "7xl": "7xl--line-height";
171
- readonly "8xl": "8xl--line-height";
172
- readonly "9xl": "9xl--line-height";
298
+ readonly "display-h1": "display-h1";
299
+ readonly "display-h2": "display-h2";
300
+ readonly "display-h3": "display-h3";
301
+ readonly "display-h4": "display-h4";
302
+ readonly "display-h5": "display-h5";
303
+ readonly h1: "h1";
304
+ readonly h2: "h2";
305
+ readonly h3: "h3";
306
+ readonly h4: "h4";
307
+ readonly h5: "h5";
308
+ readonly h6: "h6";
309
+ readonly body: "body";
310
+ readonly small: "small";
173
311
  };
174
312
  readonly libFontWeights: {
313
+ /**
314
+ * Font weights for Lato
315
+ * Thin - 100
316
+ * Light - 300
317
+ * Normal - 400
318
+ * Bold - 700
319
+ * Black - 900
320
+ */
175
321
  readonly thin: "thin";
176
- readonly extralight: "extralight";
177
322
  readonly light: "light";
178
323
  readonly normal: "normal";
179
- readonly medium: "medium";
180
- readonly semibold: "semibold";
181
324
  readonly bold: "bold";
182
- readonly extrabold: "extrabold";
183
325
  readonly black: "black";
184
326
  };
185
327
  readonly libTracking: {
@@ -864,20 +1006,12 @@ type LibFontFamilies = keyof typeof designTokens.libFontFamilies;
864
1006
  type LibFontSizes = keyof typeof designTokens.libFontSizes;
865
1007
  /**
866
1008
  * @description All font weight tokens available in the library.
867
- * @type {"thin" | "extralight" | "light" | "normal" | "medium" | "semibold" | "bold" | "extrabold" | "black"}
1009
+ * @type {"thin" | "light" | "regular" | "bold" | "black"}
868
1010
  * @example
869
1011
  * fontWeight="regular"
870
1012
  * fontWeight="bold"
871
1013
  */
872
1014
  type LibFontWeights = keyof typeof designTokens.libFontWeights;
873
- /**
874
- * @description All line height tokens available in the library.
875
- * @type {"xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl"}
876
- * @example
877
- * lineHeight="normal"
878
- * lineHeight="tight"
879
- */
880
- type LibLineHeights = keyof typeof designTokens.libLineHeights;
881
1015
  /**
882
1016
  * @description All box shadow tokens available in the library.
883
1017
  * @type {"2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "none"}
@@ -1469,4 +1603,4 @@ type CountryCode = keyof typeof designTokens.libCountryCodes;
1469
1603
  type ClassNames = string | Array<string>;
1470
1604
  type CSSProperties = CSSProperties$1;
1471
1605
 
1472
- export { type LibDrawerPosition as $, type LibTextTag as A, type LibPosition as B, type LibZIndex as C, type LibMinHeight as D, type LibKeySize as E, type LibMaxWidth as F, type LibSkeletonAnimation as G, type LibTooltipPosition as H, type LibTooltipTrigger as I, type LibComponentBase as J, type LibAccordionVariant as K, type LibColors as L, type LibAccordionIcon as M, type LibTagVariant as N, type LibToastStatus as O, type LibCheckInputVariant as P, type LibInputListDirection as Q, type LibTabsJustify as R, type LibTabsVariant as S, type LibSlideshowPagination as T, type LibSlideshowPaginationPosition as U, type LibSlideshowButtonsPosition as V, type LibSlideshowButtonsSize as W, type LibTableVariant as X, type LibMdEditorViews as Y, type LibMdEditorTitles as Z, type LibMdEditorButtons as _, type LibColorsShort as a, type LibNavBurgerPosition as a0, type LibNavMobileVariant as a1, type LibHeaderPosition as a2, type LibFooterDirection as a3, type LibFooterLinksSeparator as a4, type LibValueInputPin as a5, type TranslateLang as a6, type ILibBackgroundImage as a7, type LibCountry as a8, type LibBackToTopPosition as a9, type LibTooltipPositionOptions as aa, type ReactChildren as ab, type ReactElement as ac, type FC as ad, type DispatchState as ae, type Classes as af, type CssTextAlign as ag, type CssVerticalAlign as ah, type CssJustifyItems as ai, type CssAlignItems as aj, type CssJustifyContent as ak, type CssAlignContent as al, type CssFlexDirection as am, type CssFlexWrap as an, type CssObjectFit as ao, type CssBorderStyle as ap, type CssOutlineStyle as aq, type LibMainSize as ar, type LibAsideSize as as, type CountryCode as at, type ClassNames as au, type CSSProperties as av, designTokens as aw, type LibAllColors as b, type LibColorsHover as c, type LibColorsHoverAndCurrent as d, type LibOverlays as e, type LibAllColorsAndOverlays as f, type LibFontFamilies as g, type LibFontSizes as h, type LibFontWeights as i, type LibLineHeights as j, type LibShadows as k, type LibSpacers as l, type LibRadiuses as m, type LibTransitions as n, type LibValidationStatus as o, type LibInputValidation as p, type LibThemeNames as q, type LibInputVariant as r, type LibInputType as s, type LibLoaderVariant as t, type LibButtonVariant as u, type LibButtonVariantExtended as v, type LibButtonSize as w, type LibInputBackground as x, type LibTextTagDisplay as y, type LibTextTagNoDisplay as z };
1606
+ export { type LibNavBurgerPosition as $, type LibPosition as A, type LibZIndex as B, type LibMinHeight as C, type LibKeySize as D, type LibMaxWidth as E, type LibSkeletonAnimation as F, type LibTooltipPosition as G, type LibTooltipTrigger as H, type LibComponentBase as I, type LibAccordionVariant as J, type LibAccordionIcon as K, type LibColors as L, type LibTagVariant as M, type LibToastStatus as N, type LibCheckInputVariant as O, type LibInputListDirection as P, type LibTabsJustify as Q, type LibTabsVariant as R, type LibSlideshowPagination as S, type LibSlideshowPaginationPosition as T, type LibSlideshowButtonsPosition as U, type LibSlideshowButtonsSize as V, type LibTableVariant as W, type LibMdEditorViews as X, type LibMdEditorTitles as Y, type LibMdEditorButtons as Z, type LibDrawerPosition as _, type LibColorsShort as a, type LibNavMobileVariant as a0, type LibHeaderPosition as a1, type LibFooterDirection as a2, type LibFooterLinksSeparator as a3, type LibValueInputPin as a4, type TranslateLang as a5, type ILibBackgroundImage as a6, type LibCountry as a7, type LibBackToTopPosition as a8, type LibTooltipPositionOptions as a9, type ReactChildren as aa, type ReactElement as ab, type FC as ac, type DispatchState as ad, type Classes as ae, type CssTextAlign as af, type CssVerticalAlign as ag, type CssJustifyItems as ah, type CssAlignItems as ai, type CssJustifyContent as aj, type CssAlignContent as ak, type CssFlexDirection as al, type CssFlexWrap as am, type CssObjectFit as an, type CssBorderStyle as ao, type CssOutlineStyle as ap, type LibMainSize as aq, type LibAsideSize as ar, type CountryCode as as, type ClassNames as at, type CSSProperties as au, designTokens as av, type LibAllColors as b, type LibColorsHover as c, type LibColorsHoverAndCurrent as d, type LibOverlays as e, type LibAllColorsAndOverlays as f, type LibFontFamilies as g, type LibFontSizes as h, type LibFontWeights as i, type LibShadows as j, type LibSpacers as k, type LibRadiuses as l, type LibTransitions as m, type LibValidationStatus as n, type LibInputValidation as o, type LibThemeNames as p, type LibInputVariant as q, type LibInputType as r, type LibLoaderVariant as s, type LibButtonVariant as t, type LibButtonVariantExtended as u, type LibButtonSize as v, type LibInputBackground as w, type LibTextTagDisplay as x, type LibTextTagNoDisplay as y, type LibTextTag as z };
@@ -1,8 +1,79 @@
1
- import { Dispatch, SetStateAction, ReactNode, HTMLAttributes, ElementType, RefObject, CSSProperties as CSSProperties$1, ReactElement as ReactElement$1, FunctionComponent } from 'react';
1
+ import { Dispatch, SetStateAction, ReactNode, FunctionComponent, HTMLAttributes, ElementType, RefObject, CSSProperties as CSSProperties$1, ReactElement as ReactElement$1 } from 'react';
2
2
  import { Property } from 'csstype';
3
3
 
4
4
  declare const designTokens: {
5
5
  readonly libColors: {
6
+ /**
7
+ * All the colors in the lib
8
+ * Primary 50 — #eff6ff
9
+ * Primary 100 — #dbeafe
10
+ * Primary 200 — #bfdbfe
11
+ * Primary 300 — #93c5fd
12
+ * Primary 400 — #60a5fa
13
+ * Primary 500 — #3b82f6
14
+ * Primary 600 — #2563eb
15
+ * Primary 700 — #1d4ed8
16
+ * Primary 800 — #1e40af
17
+ * Primary 900 — #1e3a8a
18
+ * Primary 950 — #172554
19
+ * Secondary 50 — #ecfeff
20
+ * Secondary 100 — #cffafe
21
+ * Secondary 200 — #a5f3fc
22
+ * Secondary 300 — #67e8f9
23
+ * Secondary 400 — #22d3ee
24
+ * Secondary 500 — #06b6d4
25
+ * Secondary 600 — #0891b2
26
+ * Secondary 700 — #0e7490
27
+ * Secondary 800 — #155e75
28
+ * Secondary 900 — #164e63
29
+ * Secondary 950 — #083344
30
+ * Success 50 — #f0fdf4
31
+ * Success 100 — #dcfce7
32
+ * Success 200 — #bbf7d0
33
+ * Success 300 — #86efac
34
+ * Success 400 — #4ade80
35
+ * Success 500 — #22c55e
36
+ * Success 600 — #16a34a
37
+ * Success 700 — #15803d
38
+ * Success 800 — #166534
39
+ * Success 900 — #14532d
40
+ * Success 950 — #052e16
41
+ * Danger 50 — #fef2f2
42
+ * Danger 100 — #fee2e2
43
+ * Danger 200 — #fecaca
44
+ * Danger 300 — #fca5a5
45
+ * Danger 400 — #f87171
46
+ * Danger 500 — #ef4444
47
+ * Danger 600 — #dc2626
48
+ * Danger 700 — #b91c1c
49
+ * Danger 800 — #991b1b
50
+ * Danger 900 — #7f1d1d
51
+ * Danger 950 — #450a0a
52
+ * Warning 50 — #fffbeb
53
+ * Warning 100 — #fef3c7
54
+ * Warning 200 — #fde68a
55
+ * Warning 300 — #fcd34d
56
+ * Warning 400 — #fbbf24
57
+ * Warning 500 — #f59e42
58
+ * Warning 600 — #d97706
59
+ * Warning 700 — #b45309
60
+ * Warning 800 — #92400e
61
+ * Warning 900 — #78350f
62
+ * Warning 950 — #451a03
63
+ * Gray 50 — #f9fafb
64
+ * Gray 100 — #f3f4f6
65
+ * Gray 200 — #e5e7eb
66
+ * Gray 300 — #d1d5db
67
+ * Gray 400 — #9ca3af
68
+ * Gray 500 — #6b7280
69
+ * Gray 600 — #4b5563
70
+ * Gray 700 — #374151
71
+ * Gray 800 — #1f2937
72
+ * Gray 900 — #111827
73
+ * Gray 950 — #030712
74
+ * Black — #000000
75
+ * White — #ffffff
76
+ */
6
77
  readonly "primary-50": "#eff6ff";
7
78
  readonly "primary-100": "#dbeafe";
8
79
  readonly "primary-200": "#bfdbfe";
@@ -77,6 +148,20 @@ declare const designTokens: {
77
148
  readonly font: "font";
78
149
  };
79
150
  readonly libColorsShort: {
151
+ /**
152
+ * Shorthand for each color (value is <color>-500)
153
+ * Primary — #3b82f6
154
+ * Secondary — #06b6d4
155
+ * Success — #22c55e
156
+ * Danger — #ef4444
157
+ * Warning — #f59e42
158
+ * Gray — #6b7280
159
+ * Black — #000000
160
+ * White — #ffffff
161
+ * Current - currentColor
162
+ * Transparent - transparent
163
+ * Background: #ffffff in light mode, #000000 in dark mode
164
+ */
80
165
  readonly primary: "primary";
81
166
  readonly secondary: "secondary";
82
167
  readonly success: "success";
@@ -90,6 +175,16 @@ declare const designTokens: {
90
175
  readonly background: "background";
91
176
  };
92
177
  readonly libColorsHover: {
178
+ /**
179
+ * Colors used when an item is hovered
180
+ * Primary: Default Primary 500 — #3b82f6; Hover: Primary 300 — #93c5fd; Active: Primary 600 — #2563eb
181
+ * Secondary: Default: Secondary 500 — #06b6d4; Hover: Secondary 300 — #67e8f9; Active: Secondary 600 — #0891b2
182
+ * Success: Default: Success 500 — #22c55e; Hover: Success 300 — #86efac; Active: Success 600 — #16a34a
183
+ * Danger: Default: Danger 500 — #ef4444; Hover: Danger 300 — #fca5a5; Active: Danger 600 — #dc2626
184
+ * Warning: Default: Warning 500 — #f59e42; Hover: Warning 300 — #fcd34d; Active: Warning 600 — #d97706
185
+ * Gray: Default: Gray 500 — #6b7280; Hover: Gray 300 — #d1d5db; Active: Gray 600 — #4b5563
186
+ * White: Default: White - #ffffff; Hover: Gray 300 - #d1d5db; Active: Gray 100 - #f3f4f6
187
+ */
93
188
  readonly primary: "primary";
94
189
  readonly secondary: "secondary";
95
190
  readonly success: "success";
@@ -99,6 +194,15 @@ declare const designTokens: {
99
194
  readonly white: "white";
100
195
  };
101
196
  readonly libOverlays: {
197
+ /**
198
+ * Overlay colors
199
+ * Black 50 - rgba(0, 0, 0, 0.5)
200
+ * Black 80 - rgba(0, 0, 0, 0.8)
201
+ * White 50 - rgba(255, 255, 255, 0.5)
202
+ * White 80 - rgba(255, 255, 255, 0.8)
203
+ * Gradient Black - linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.56) 100%)
204
+ * Gradient White - linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.35) 100%)
205
+ */
102
206
  readonly "black-50": "black-50";
103
207
  readonly "black-80": "black-80";
104
208
  readonly "white-50": "white-50";
@@ -107,41 +211,77 @@ declare const designTokens: {
107
211
  readonly "gradient-white": "gradient-white";
108
212
  };
109
213
  readonly libFontFamilies: {
214
+ /**
215
+ * Font Families
216
+ * Body - Lato
217
+ * Code - monospace
218
+ */
110
219
  readonly body: "body";
111
220
  readonly code: "code";
112
221
  };
113
222
  readonly libSpacers: {
114
- /** 4px */ readonly "2xs": "2xs";
115
- /** 8px */ readonly xs: "xs";
116
- /** 12px */ readonly sm: "sm";
117
- /** 16px */ readonly md: "md";
118
- /** 24px */ readonly lg: "lg";
119
- /** 32px */ readonly xl: "xl";
120
- /** 48px */ readonly "2xl": "2xl";
121
- };
122
- readonly libBreakpoints: {
223
+ /** Spacers
224
+ * 2xs - 4px
225
+ * xs - 8px
226
+ * sm - 12px
227
+ * md - 16px
228
+ * lg - 24px
229
+ * xl - 32px
230
+ * 2xl - 48px
231
+ */
232
+ readonly "2xs": "2xs";
233
+ readonly xs: "xs";
123
234
  readonly sm: "sm";
124
235
  readonly md: "md";
125
236
  readonly lg: "lg";
126
237
  readonly xl: "xl";
127
238
  readonly "2xl": "2xl";
128
239
  };
129
- readonly libContainer: {
130
- readonly "3xs": "3xs";
131
- readonly "2xs": "2xs";
132
- readonly xs: "xs";
240
+ readonly libBreakpoints: {
241
+ /**
242
+ * Tailwind Breakpoints
243
+ * sm - 640px
244
+ * md - 768px
245
+ * lg - 1024px
246
+ * xl - 1280px
247
+ * 2xl - 1536px
248
+ */
133
249
  readonly sm: "sm";
134
250
  readonly md: "md";
135
251
  readonly lg: "lg";
136
252
  readonly xl: "xl";
137
253
  readonly "2xl": "2xl";
138
- readonly "3xl": "3xl";
139
- readonly "4xl": "4xl";
140
- readonly "5xl": "5xl";
141
- readonly "6xl": "6xl";
142
- readonly "7xl": "7xl";
143
254
  };
144
255
  readonly libFontSizes: {
256
+ /**
257
+ * Tailwind & Lib Font Sizes
258
+ * xs - 12px (0.75rem)
259
+ * sm - 14px (0.875rem)
260
+ * base - 16px (1rem)
261
+ * lg - 18px (1.125rem)
262
+ * xl - 20px (1.25rem)
263
+ * 2xl - 24px (1.5rem)
264
+ * 3xl - 30px (1.875rem)
265
+ * 4xl - 36px (2.25rem)
266
+ * 5xl - 48px (3rem)
267
+ * 6xl - 60px (3.75rem)
268
+ * 7xl - 72px (4.5rem)
269
+ * 8xl - 96px (6rem)
270
+ * 9xl - 128px (8rem)
271
+ * display-h1 - 80px (5rem)
272
+ * display-h2 - 64px (4rem)
273
+ * display-h3 - 56px (3.5rem)
274
+ * display-h4 - 48px (3rem)
275
+ * display-h5 - 40px (2.5rem)
276
+ * h1 - 40px (2.5rem)
277
+ * h2 - 32px (2rem)
278
+ * h3 - 28.8px (1.8rem)
279
+ * h4 - 24px (1.5rem)
280
+ * h5 - 20.8px (1.3rem)
281
+ * h6 - 17.6px (1.1rem)
282
+ * body - 16px (1rem)
283
+ * small - 14px (0.875rem)
284
+ */
145
285
  readonly xs: "xs";
146
286
  readonly sm: "sm";
147
287
  readonly base: "base";
@@ -155,31 +295,33 @@ declare const designTokens: {
155
295
  readonly "7xl": "7xl";
156
296
  readonly "8xl": "8xl";
157
297
  readonly "9xl": "9xl";
158
- };
159
- readonly libLineHeights: {
160
- readonly xs: "xs--line-height";
161
- readonly sm: "sm--line-height";
162
- readonly base: "base--line-height";
163
- readonly lg: "lg--line-height";
164
- readonly xl: "xl--line-height";
165
- readonly "2xl": "2xl--line-height";
166
- readonly "3xl": "3xl--line-height";
167
- readonly "4xl": "4xl--line-height";
168
- readonly "5xl": "5xl--line-height";
169
- readonly "6xl": "6xl--line-height";
170
- readonly "7xl": "7xl--line-height";
171
- readonly "8xl": "8xl--line-height";
172
- readonly "9xl": "9xl--line-height";
298
+ readonly "display-h1": "display-h1";
299
+ readonly "display-h2": "display-h2";
300
+ readonly "display-h3": "display-h3";
301
+ readonly "display-h4": "display-h4";
302
+ readonly "display-h5": "display-h5";
303
+ readonly h1: "h1";
304
+ readonly h2: "h2";
305
+ readonly h3: "h3";
306
+ readonly h4: "h4";
307
+ readonly h5: "h5";
308
+ readonly h6: "h6";
309
+ readonly body: "body";
310
+ readonly small: "small";
173
311
  };
174
312
  readonly libFontWeights: {
313
+ /**
314
+ * Font weights for Lato
315
+ * Thin - 100
316
+ * Light - 300
317
+ * Normal - 400
318
+ * Bold - 700
319
+ * Black - 900
320
+ */
175
321
  readonly thin: "thin";
176
- readonly extralight: "extralight";
177
322
  readonly light: "light";
178
323
  readonly normal: "normal";
179
- readonly medium: "medium";
180
- readonly semibold: "semibold";
181
324
  readonly bold: "bold";
182
- readonly extrabold: "extrabold";
183
325
  readonly black: "black";
184
326
  };
185
327
  readonly libTracking: {
@@ -864,20 +1006,12 @@ type LibFontFamilies = keyof typeof designTokens.libFontFamilies;
864
1006
  type LibFontSizes = keyof typeof designTokens.libFontSizes;
865
1007
  /**
866
1008
  * @description All font weight tokens available in the library.
867
- * @type {"thin" | "extralight" | "light" | "normal" | "medium" | "semibold" | "bold" | "extrabold" | "black"}
1009
+ * @type {"thin" | "light" | "regular" | "bold" | "black"}
868
1010
  * @example
869
1011
  * fontWeight="regular"
870
1012
  * fontWeight="bold"
871
1013
  */
872
1014
  type LibFontWeights = keyof typeof designTokens.libFontWeights;
873
- /**
874
- * @description All line height tokens available in the library.
875
- * @type {"xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl"}
876
- * @example
877
- * lineHeight="normal"
878
- * lineHeight="tight"
879
- */
880
- type LibLineHeights = keyof typeof designTokens.libLineHeights;
881
1015
  /**
882
1016
  * @description All box shadow tokens available in the library.
883
1017
  * @type {"2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "none"}
@@ -1469,4 +1603,4 @@ type CountryCode = keyof typeof designTokens.libCountryCodes;
1469
1603
  type ClassNames = string | Array<string>;
1470
1604
  type CSSProperties = CSSProperties$1;
1471
1605
 
1472
- export { type LibDrawerPosition as $, type LibTextTag as A, type LibPosition as B, type LibZIndex as C, type LibMinHeight as D, type LibKeySize as E, type LibMaxWidth as F, type LibSkeletonAnimation as G, type LibTooltipPosition as H, type LibTooltipTrigger as I, type LibComponentBase as J, type LibAccordionVariant as K, type LibColors as L, type LibAccordionIcon as M, type LibTagVariant as N, type LibToastStatus as O, type LibCheckInputVariant as P, type LibInputListDirection as Q, type LibTabsJustify as R, type LibTabsVariant as S, type LibSlideshowPagination as T, type LibSlideshowPaginationPosition as U, type LibSlideshowButtonsPosition as V, type LibSlideshowButtonsSize as W, type LibTableVariant as X, type LibMdEditorViews as Y, type LibMdEditorTitles as Z, type LibMdEditorButtons as _, type LibColorsShort as a, type LibNavBurgerPosition as a0, type LibNavMobileVariant as a1, type LibHeaderPosition as a2, type LibFooterDirection as a3, type LibFooterLinksSeparator as a4, type LibValueInputPin as a5, type TranslateLang as a6, type ILibBackgroundImage as a7, type LibCountry as a8, type LibBackToTopPosition as a9, type LibTooltipPositionOptions as aa, type ReactChildren as ab, type ReactElement as ac, type FC as ad, type DispatchState as ae, type Classes as af, type CssTextAlign as ag, type CssVerticalAlign as ah, type CssJustifyItems as ai, type CssAlignItems as aj, type CssJustifyContent as ak, type CssAlignContent as al, type CssFlexDirection as am, type CssFlexWrap as an, type CssObjectFit as ao, type CssBorderStyle as ap, type CssOutlineStyle as aq, type LibMainSize as ar, type LibAsideSize as as, type CountryCode as at, type ClassNames as au, type CSSProperties as av, designTokens as aw, type LibAllColors as b, type LibColorsHover as c, type LibColorsHoverAndCurrent as d, type LibOverlays as e, type LibAllColorsAndOverlays as f, type LibFontFamilies as g, type LibFontSizes as h, type LibFontWeights as i, type LibLineHeights as j, type LibShadows as k, type LibSpacers as l, type LibRadiuses as m, type LibTransitions as n, type LibValidationStatus as o, type LibInputValidation as p, type LibThemeNames as q, type LibInputVariant as r, type LibInputType as s, type LibLoaderVariant as t, type LibButtonVariant as u, type LibButtonVariantExtended as v, type LibButtonSize as w, type LibInputBackground as x, type LibTextTagDisplay as y, type LibTextTagNoDisplay as z };
1606
+ export { type LibNavBurgerPosition as $, type LibPosition as A, type LibZIndex as B, type LibMinHeight as C, type LibKeySize as D, type LibMaxWidth as E, type LibSkeletonAnimation as F, type LibTooltipPosition as G, type LibTooltipTrigger as H, type LibComponentBase as I, type LibAccordionVariant as J, type LibAccordionIcon as K, type LibColors as L, type LibTagVariant as M, type LibToastStatus as N, type LibCheckInputVariant as O, type LibInputListDirection as P, type LibTabsJustify as Q, type LibTabsVariant as R, type LibSlideshowPagination as S, type LibSlideshowPaginationPosition as T, type LibSlideshowButtonsPosition as U, type LibSlideshowButtonsSize as V, type LibTableVariant as W, type LibMdEditorViews as X, type LibMdEditorTitles as Y, type LibMdEditorButtons as Z, type LibDrawerPosition as _, type LibColorsShort as a, type LibNavMobileVariant as a0, type LibHeaderPosition as a1, type LibFooterDirection as a2, type LibFooterLinksSeparator as a3, type LibValueInputPin as a4, type TranslateLang as a5, type ILibBackgroundImage as a6, type LibCountry as a7, type LibBackToTopPosition as a8, type LibTooltipPositionOptions as a9, type ReactChildren as aa, type ReactElement as ab, type FC as ac, type DispatchState as ad, type Classes as ae, type CssTextAlign as af, type CssVerticalAlign as ag, type CssJustifyItems as ah, type CssAlignItems as ai, type CssJustifyContent as aj, type CssAlignContent as ak, type CssFlexDirection as al, type CssFlexWrap as am, type CssObjectFit as an, type CssBorderStyle as ao, type CssOutlineStyle as ap, type LibMainSize as aq, type LibAsideSize as ar, type CountryCode as as, type ClassNames as at, type CSSProperties as au, designTokens as av, type LibAllColors as b, type LibColorsHover as c, type LibColorsHoverAndCurrent as d, type LibOverlays as e, type LibAllColorsAndOverlays as f, type LibFontFamilies as g, type LibFontSizes as h, type LibFontWeights as i, type LibShadows as j, type LibSpacers as k, type LibRadiuses as l, type LibTransitions as m, type LibValidationStatus as n, type LibInputValidation as o, type LibThemeNames as p, type LibInputVariant as q, type LibInputType as r, type LibLoaderVariant as s, type LibButtonVariant as t, type LibButtonVariantExtended as u, type LibButtonSize as v, type LibInputBackground as w, type LibTextTagDisplay as x, type LibTextTagNoDisplay as y, type LibTextTag as z };