@sarasanalytics-com/design-system 0.0.38 → 0.0.40

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 (55) hide show
  1. package/README.md +24 -24
  2. package/esm2022/interfaces/avatar-interface.mjs +1 -1
  3. package/esm2022/interfaces/button-interface.mjs +1 -1
  4. package/esm2022/interfaces/card-carousel-interface.mjs +1 -1
  5. package/esm2022/interfaces/chip-interface.mjs +1 -1
  6. package/esm2022/interfaces/grid-interface.mjs +1 -1
  7. package/esm2022/interfaces/guide-card-interface.mjs +1 -1
  8. package/esm2022/interfaces/icon-interface.mjs +1 -1
  9. package/esm2022/interfaces/message-banner.mjs +1 -1
  10. package/esm2022/interfaces/option-interface.mjs +1 -1
  11. package/esm2022/interfaces/select-interface.mjs +1 -1
  12. package/esm2022/interfaces/tab-interface.mjs +1 -1
  13. package/esm2022/interfaces/toast-interface.mjs +1 -1
  14. package/esm2022/lib/avatar/avatar.component.mjs +3 -3
  15. package/esm2022/lib/button/button.component.mjs +3 -3
  16. package/esm2022/lib/calendar-header/calendar-header.component.mjs +3 -3
  17. package/esm2022/lib/card/card-body/card-body.component.mjs +1 -1
  18. package/esm2022/lib/card/card-custom-header/card-custom-header.component.mjs +1 -1
  19. package/esm2022/lib/card/card-footer-actions/card-footer-actions.component.mjs +3 -3
  20. package/esm2022/lib/card/card-icon/card-icon.component.mjs +1 -1
  21. package/esm2022/lib/card/card-title-actions/card-title-actions.component.mjs +1 -1
  22. package/esm2022/lib/card/card.component.mjs +3 -3
  23. package/esm2022/lib/card/checkbox-card/checkbox-card.component.mjs +3 -3
  24. package/esm2022/lib/card/guide-card/guide-card.component.mjs +3 -3
  25. package/esm2022/lib/card-carousel/card-carousel.component.mjs +3 -3
  26. package/esm2022/lib/checkbox/checkbox.component.mjs +3 -3
  27. package/esm2022/lib/chips/chips.component.mjs +3 -3
  28. package/esm2022/lib/component-library.component.mjs +9 -9
  29. package/esm2022/lib/component-library.service.mjs +1 -1
  30. package/esm2022/lib/datepicker/datepicker.component.mjs +3 -3
  31. package/esm2022/lib/form-input/form-input.component.mjs +3 -3
  32. package/esm2022/lib/form-select/form-select.component.mjs +3 -3
  33. package/esm2022/lib/grid-cell/grid-cell.component.mjs +3 -3
  34. package/esm2022/lib/header/header.component.mjs +3 -3
  35. package/esm2022/lib/icon/icon.component.mjs +3 -3
  36. package/esm2022/lib/icon/icon.service.mjs +2 -2
  37. package/esm2022/lib/left-nav/left-nav.component.mjs +3 -3
  38. package/esm2022/lib/list/list.component.mjs +3 -3
  39. package/esm2022/lib/message-banner/message-banner.component.mjs +3 -3
  40. package/esm2022/lib/page-layout/page-layout.component.mjs +3 -3
  41. package/esm2022/lib/progress-bar/progress-bar.component.mjs +3 -3
  42. package/esm2022/lib/radio-button/radio-button.component.mjs +7 -3
  43. package/esm2022/lib/scrolling-cards/scrolling-cards.component.mjs +3 -3
  44. package/esm2022/lib/spinner/spinner.component.mjs +1 -1
  45. package/esm2022/lib/stepper/stepper.component.mjs +3 -3
  46. package/esm2022/lib/tabs/tabs.component.mjs +3 -3
  47. package/esm2022/lib/toast/toast.component.mjs +3 -3
  48. package/esm2022/lib/tool-tip/tool-tip.component.mjs +3 -3
  49. package/esm2022/public-api.mjs +1 -1
  50. package/esm2022/utils/validators.mjs +1 -1
  51. package/fesm2022/sarasanalytics-com-design-system.mjs +67 -63
  52. package/fesm2022/sarasanalytics-com-design-system.mjs.map +1 -1
  53. package/lib/radio-button/radio-button.component.d.ts +2 -0
  54. package/package.json +2 -2
  55. package/styles/styles.css +0 -360
@@ -1,3 +1,4 @@
1
+ import { MatRadioButton } from '@angular/material/radio';
1
2
  import { FormControl } from '@angular/forms';
2
3
  import { FieldType } from '@ngx-formly/core';
3
4
  import * as i0 from "@angular/core";
@@ -5,6 +6,7 @@ export declare class RadioButtonComponent extends FieldType {
5
6
  ngOnInit(): void;
6
7
  get options$(): import("rxjs").Observable<any[]>;
7
8
  get formControl(): FormControl;
9
+ selectRadio(value: any, radio: MatRadioButton): void;
8
10
  static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
9
11
  static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "sa-radio-button", never, {}, {}, never, never, true, never>;
10
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sarasanalytics-com/design-system",
3
- "version": "0.0.38",
3
+ "version": "0.0.40",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0"
@@ -22,4 +22,4 @@
22
22
  "default": "./fesm2022/sarasanalytics-com-design-system.mjs"
23
23
  }
24
24
  }
25
- }
25
+ }
package/styles/styles.css DELETED
@@ -1,360 +0,0 @@
1
- /*
2
- 1. Use a more-intuitive box-sizing model.
3
- */
4
- *,
5
- *::before,
6
- *::after {
7
- box-sizing: border-box;
8
- -webkit-font-smoothing: antialiased;
9
- -moz-osx-font-smoothing: grayscale;
10
- }
11
-
12
- html,
13
- body {
14
- height: 100%;
15
- }
16
-
17
- body {
18
- margin: 0;
19
- font-family: Roboto, "Helvetica Neue", sans-serif;
20
- }
21
-
22
- :root {
23
- --font: 'Roboto';
24
- --font-roboto: 'Roboto';
25
- --font-inter: 'Inter';
26
- --font-poppins: "Poppins";
27
- --font-helvetica: "Helvetica";
28
- --small-2px: 2px;
29
- --small-4px: 4px;
30
- --small-6px: 6px;
31
- --small-8px: 8px;
32
- --small-12px: 12px;
33
- --small-14px: 14px;
34
- --small-16px: 16px;
35
- --small-18px: 18px;
36
- --medium-20px: 20px;
37
- --medium-24px: 24px;
38
- --medium-28px: 28px;
39
- --medium-32px: 32px;
40
- --medium-36px: 36px;
41
- --large-40px: 40px;
42
- --large-42px: 42px;
43
- --large-44px: 44px;
44
- --large-48px: 48px;
45
- --large-56px: 56px;
46
- --large-64px: 64px;
47
- --form-email-icon-color: #33961F;
48
- }
49
-
50
- .insights-theme {
51
- --primary-50: #EAFFFD;
52
- --primary-100: #CAFFFB;
53
- --primary-200: #9CFFFA;
54
- --primary-300: #00DDEA;
55
- --primary-400: #00AFC4;
56
- --primary-500: #008597;
57
- --primary-600: #0B6E7F;
58
- --primary-700: #0E5B6B;
59
- --primary-800: #023D4A;
60
- --primary-900: #01303A;
61
- --secondary-50: #FFF3EB;
62
- --secondary-100: #FFD8C0;
63
- --secondary-200: #FFC6A2;
64
- --secondary-300: #FEAB78;
65
- --secondary-400: #FE9B5D;
66
- --secondary-500: #FE8235;
67
- --secondary-600: #E77630;
68
- --secondary-700: #B45C26;
69
- --secondary-800: #8C481D;
70
- --secondary-900: #6B3716;
71
- --grey-50: #E9EAEB;
72
- --grey-100: #BAC0C1;
73
- --grey-200: #98A1A3;
74
- --grey-300: #697779;
75
- --grey-400: #4C5C5F;
76
- --grey-500: #1F3437;
77
- --grey-600: #1C2F32;
78
- --grey-700: #162527;
79
- --grey-800: #111C1E;
80
- --grey-900: #0D1517;
81
- --semantic-success-50: #EBF5E9;
82
- --semantic-success-100: #C0DEBA;
83
- --semantic-success-200: #A1CF98;
84
- --semantic-success-300: #76B969;
85
- --semantic-success-400: #5CAB4C;
86
- --semantic-success-500: #33961F;
87
- --semantic-success-600: #2E891C;
88
- --semantic-success-700: #246B16;
89
- --semantic-success-800: #1C5311;
90
- --semantic-success-900: #153F0D;
91
- --semantic-error-50: #F8E9E9;
92
- --semantic-error-100: #EBBCB9;
93
- --semantic-error-200: #E19C98;
94
- --semantic-error-300: #D36E68;
95
- --semantic-error-400: #CA524B;
96
- --semantic-error-500: #BD271E;
97
- --semantic-error-600: #AC231B;
98
- --semantic-error-700: #861C15;
99
- --semantic-error-800: #681511;
100
- --semantic-error-900: #4F100D;
101
- --semantic-purple-50: #F3EFFD;
102
- --semantic-purple-100: #D8CCFA;
103
- --semantic-purple-200: #C6B4F7;
104
- --semantic-purple-300: #AB92F4;
105
- --semantic-purple-400: #9B7DF1;
106
- --semantic-purple-500: #815BED;
107
- --semantic-purple-600: #7654D9;
108
- --semantic-purple-700: #5C41A9;
109
- --semantic-purple-800: #483383;
110
- --semantic-purple-900: #372764;
111
- --semantic-yellow-50: #FEF6E6;
112
- --semantic-yellow-100: #FBE2B3;
113
- --semantic-yellow-200: #F9D58E;
114
- --semantic-yellow-300: #F6C15A;
115
- --semantic-yellow-400: #F5B53A;
116
- --text-highemphasis: #1B1F20;
117
- --text-mediumemphasis: #697779;
118
- --text-lowemphasis: #98A2A3;
119
- --text-white: #FFFFFF;
120
- --text-primary: #008597;
121
- --text-success: #33961F;
122
- --text-error: #BD271E;
123
- --icon-white: #FFFFFF;
124
- --semantic-yellow-500: #F2A209;
125
- --semantic-yellow-600: #DC9408;
126
- --semantic-yellow-700: #AC7406;
127
- --semantic-yellow-800: #855A05;
128
- --semantic-yellow-900: #664404;
129
- --structural-white: #FFFFFF;
130
- --icon-grey1: #757575;
131
- --structural-primarytint: #F5F9FA;
132
- --structural-neutral1: #F9F9F9;
133
- --structural-neutral2: #FFFAFA;
134
- --logo-color-primary: #008597;
135
- --logo-color-secondary: #9CFFFA;
136
- }
137
-
138
- .saras-theme {
139
- --primary-50: #E8F1FC;
140
- --primary-100: #B8D4F7;
141
- --primary-200: #96C0F3;
142
- --primary-300: #66A2ED;
143
- --primary-400: #4992E9;
144
- --primary-500: #1B77E4;
145
- --primary-600: #196CCF;
146
- --primary-700: #1354A2;
147
- --primary-800: #0F417D;
148
- --primary-900: #0B3160;
149
- --secondary-50: #FFF3EB;
150
- --secondary-100: #FFD8C0;
151
- --secondary-200: #FFC6A2;
152
- --secondary-300: #FEAB78;
153
- --secondary-400: #FE9B5D;
154
- --secondary-500: #FE8235;
155
- --secondary-600: #E77630;
156
- --secondary-700: #B45C26;
157
- --secondary-800: #8C481D;
158
- --secondary-900: #6B3716;
159
- --grey-50: #E9E9EB;
160
- --grey-100: #BABDC1;
161
- --grey-200: #989CA3;
162
- --grey-300: #697079;
163
- --grey-400: #4C545F;
164
- --grey-500: #1F2937;
165
- --grey-600: #1C2532;
166
- --grey-700: #161D27;
167
- --grey-800: #11161E;
168
- --grey-900: #0D1117;
169
- --semantic-success-50: #EBF5E9;
170
- --semantic-success-100: #C0DEBA;
171
- --semantic-success-200: #A1CF98;
172
- --semantic-success-300: #76B969;
173
- --semantic-success-400: #5CAB4C;
174
- --semantic-success-500: #33961F;
175
- --semantic-success-600: #2E891C;
176
- --semantic-success-700: #246B16;
177
- --semantic-success-800: #1C5311;
178
- --semantic-success-900: #153F0D;
179
- --semantic-error-50: #F8E9E9;
180
- --semantic-error-100: #EBBCB9;
181
- --semantic-error-200: #E19C98;
182
- --semantic-error-300: #D36E68;
183
- --semantic-error-400: #CA524B;
184
- --semantic-error-500: #BD271E;
185
- --semantic-error-600: #AC231B;
186
- --semantic-error-700: #861C15;
187
- --semantic-error-800: #681511;
188
- --semantic-error-900: #4F100D;
189
- --semantic-purple-50: #F3EFFD;
190
- --semantic-purple-100: #D8CCFA;
191
- --semantic-purple-200: #C6B4F7;
192
- --semantic-purple-300: #AB92F4;
193
- --semantic-purple-400: #9B7DF1;
194
- --semantic-purple-500: #815BED;
195
- --semantic-purple-600: #7654D9;
196
- --semantic-purple-700: #5C41A9;
197
- --semantic-purple-800: #483383;
198
- --semantic-purple-900: #372764;
199
- --semantic-yellow-50: #FEF6E6;
200
- --semantic-yellow-100: #FBE2B3;
201
- --semantic-yellow-200: #F9D58E;
202
- --semantic-yellow-300: #F6C15A;
203
- --semantic-yellow-400: #F5B53A;
204
- --text-highemphasis: #1B1D20;
205
- --text-mediumemphasis: #697079;
206
- --text-lowemphasis: #989CA3;
207
- --text-white: #FFFFFF;
208
- --text-primary: #1B77E4;
209
- --text-success: #33961F;
210
- --text-error: #BD271E;
211
- --icon-white: #FFFFFF;
212
- --semantic-yellow-500: #F2A209;
213
- --semantic-yellow-600: #DC9408;
214
- --semantic-yellow-700: #AC7406;
215
- --semantic-yellow-800: #855A05;
216
- --semantic-yellow-900: #664404;
217
- --structural-white: #FFFFFF;
218
- --icon-grey1: #757575;
219
- --structural-primarytint: #FAFCFF;
220
- --structural-neutral1: #F9F9F9;
221
- --structural-neutral2: #FFFAFA;
222
- --logo-color-primary: #1B77E4;
223
- --logo-color-secondary: #96C0F3;
224
- }
225
-
226
- .purple-theme {
227
- --primary-50: #F4EBFF;
228
- --primary-100: #E9D7FE;
229
- --primary-200: #D6BBFB;
230
- --primary-300: #B692F6;
231
- --primary-400: #9E77ED;
232
- --primary-500: #7F56D9;
233
- --primary-600: #53389E;
234
- --primary-700: #53389E;
235
- --primary-800: #42307D;
236
- --primary-900: #2C1C5F;
237
- --secondary-50: #FFF3EB;
238
- --secondary-100: #FFD8C0;
239
- --secondary-200: #FFC6A2;
240
- --secondary-300: #FEAB78;
241
- --secondary-400: #FE9B5D;
242
- --secondary-500: #FE8235;
243
- --secondary-600: #E77630;
244
- --secondary-700: #B45C26;
245
- --secondary-800: #8C481D;
246
- --secondary-900: #6B3716;
247
- --grey-50: #F2F4F7;
248
- --grey-100: #EAECF0;
249
- --grey-200: #D0D5DD;
250
- --grey-300: #98A2B3;
251
- --grey-400: #475467;
252
- --grey-500: #344054;
253
- --grey-600: #1D2939;
254
- --grey-700: #1D2939;
255
- --grey-800: #101828;
256
- --grey-900: #0C111D;
257
- --semantic-success-50: #EBF5E9;
258
- --semantic-success-100: #C0DEBA;
259
- --semantic-success-200: #A1CF98;
260
- --semantic-success-300: #76B969;
261
- --semantic-success-400: #5CAB4C;
262
- --semantic-success-500: #33961F;
263
- --semantic-success-600: #2E891C;
264
- --semantic-success-700: #246B16;
265
- --semantic-success-800: #1C5311;
266
- --semantic-success-900: #153F0D;
267
- --semantic-error-50: #F8E9E9;
268
- --semantic-error-100: #EBBCB9;
269
- --semantic-error-200: #E19C98;
270
- --semantic-error-300: #D36E68;
271
- --semantic-error-400: #CA524B;
272
- --semantic-error-500: #BD271E;
273
- --semantic-error-600: #AC231B;
274
- --semantic-error-700: #861C15;
275
- --semantic-error-800: #681511;
276
- --semantic-error-900: #4F100D;
277
- --semantic-purple-50: #F3EFFD;
278
- --semantic-purple-100: #D8CCFA;
279
- --semantic-purple-200: #C6B4F7;
280
- --semantic-purple-300: #AB92F4;
281
- --semantic-purple-400: #9B7DF1;
282
- --semantic-purple-500: #815BED;
283
- --semantic-purple-600: #7654D9;
284
- --semantic-purple-700: #5C41A9;
285
- --semantic-purple-800: #483383;
286
- --semantic-purple-900: #372764;
287
- --semantic-yellow-50: #FEF6E6;
288
- --semantic-yellow-100: #FBE2B3;
289
- --semantic-yellow-200: #F9D58E;
290
- --semantic-yellow-300: #F6C15A;
291
- --semantic-yellow-400: #F5B53A;
292
- --text-highemphasis: #1C1B20;
293
- --text-mediumemphasis: #6D6979;
294
- --text-lowemphasis: #9A98A3;
295
- --text-white: #FFFFFF;
296
- --text-primary: #815BED;
297
- --text-success: #33961F;
298
- --text-error: #BD271E;
299
- --icon-white: #FFFFFF;
300
- --semantic-yellow-500: #F2A209;
301
- --semantic-yellow-600: #DC9408;
302
- --semantic-yellow-700: #AC7406;
303
- --semantic-yellow-800: #855A05;
304
- --semantic-yellow-900: #664404;
305
- --structural-white: #FFFFFF;
306
- --icon-grey1: #757575;
307
- --structural-primarytint: #FBFAFF;
308
- --structural-neutral1: #F9F9F9;
309
- --structural-neutral2: #FFFAFA;
310
- --logo-color-primary: #7F56D9;
311
- --logo-color-secondary: #D6BBFB;
312
- }
313
-
314
- .ag-header {
315
- font-family: var(--font);
316
- font-size: 14px;
317
- font-weight: 400;
318
- height: 20px;
319
- line-height: 20px;
320
- }
321
-
322
- .ag-header-cell lib-grid-cell {
323
- width: 100%;
324
- }
325
-
326
- .ag-header-cell-label {
327
- font-family: var(--font);
328
- font-size: 14px;
329
- font-weight: 400;
330
- line-height: 20px;
331
- margin-left: 10px;
332
- }
333
-
334
- .checkbox-card-group {
335
- display: grid;
336
- grid-template-columns: repeat(auto-fill, 38.875rem);
337
- gap: 1.75rem 2rem;
338
- max-width: -webkit-fill-available;
339
- margin-bottom: 1.5rem;
340
- }
341
-
342
- .form-field-helpText,
343
- .form-field-description {
344
- color: var(--text-mediumemphasis, #6D6979);
345
- font-family: var(--font);
346
- font-size: var(--small-14px);
347
- font-style: normal;
348
- font-weight: 400;
349
- line-height: var(--medium-20px);
350
- letter-spacing: 0.25px;
351
- }
352
-
353
- .form-field-title {
354
- color: var(--text-highemphasis, #1C1B20);
355
- font-family: var(--font);
356
- font-size: var(--medium-20px);
357
- font-style: normal;
358
- font-weight: 500;
359
- line-height: var(--medium-28px);
360
- }