@sarasanalytics-com/design-system 0.0.3

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 (136) hide show
  1. package/.editorconfig +16 -0
  2. package/.eslintrc.json +22 -0
  3. package/.storybook/main.ts +21 -0
  4. package/.storybook/manager.ts +17 -0
  5. package/.storybook/preview-head.html +5 -0
  6. package/.storybook/preview.ts +65 -0
  7. package/.storybook/tsconfig.doc.json +10 -0
  8. package/.storybook/tsconfig.json +11 -0
  9. package/.storybook/typings.d.ts +4 -0
  10. package/.vscode/extensions.json +7 -0
  11. package/.vscode/launch.json +20 -0
  12. package/.vscode/settings.json +13 -0
  13. package/.vscode/tasks.json +42 -0
  14. package/README.md +27 -0
  15. package/angular.json +189 -0
  16. package/build-storybook.log +39 -0
  17. package/documentation.json +0 -0
  18. package/package.json +74 -0
  19. package/projects/component-library/README.md +24 -0
  20. package/projects/component-library/ng-package.json +8 -0
  21. package/projects/component-library/package.json +12 -0
  22. package/projects/component-library/src/interfaces/avatar-interface.ts +6 -0
  23. package/projects/component-library/src/interfaces/button-interface.ts +12 -0
  24. package/projects/component-library/src/interfaces/chip-interface.ts +11 -0
  25. package/projects/component-library/src/interfaces/grid-interface.ts +24 -0
  26. package/projects/component-library/src/interfaces/select-interface.ts +19 -0
  27. package/projects/component-library/src/interfaces/tab-interface.ts +6 -0
  28. package/projects/component-library/src/lib/avatar/avatar.component.css +48 -0
  29. package/projects/component-library/src/lib/avatar/avatar.component.html +5 -0
  30. package/projects/component-library/src/lib/avatar/avatar.component.spec.ts +23 -0
  31. package/projects/component-library/src/lib/avatar/avatar.component.ts +50 -0
  32. package/projects/component-library/src/lib/button/button.component.css +145 -0
  33. package/projects/component-library/src/lib/button/button.component.html +11 -0
  34. package/projects/component-library/src/lib/button/button.component.spec.ts +23 -0
  35. package/projects/component-library/src/lib/button/button.component.ts +68 -0
  36. package/projects/component-library/src/lib/calendar-header/calendar-header.component.css +67 -0
  37. package/projects/component-library/src/lib/calendar-header/calendar-header.component.html +20 -0
  38. package/projects/component-library/src/lib/calendar-header/calendar-header.component.spec.ts +23 -0
  39. package/projects/component-library/src/lib/calendar-header/calendar-header.component.ts +196 -0
  40. package/projects/component-library/src/lib/chips/chips.component.css +129 -0
  41. package/projects/component-library/src/lib/chips/chips.component.html +17 -0
  42. package/projects/component-library/src/lib/chips/chips.component.spec.ts +23 -0
  43. package/projects/component-library/src/lib/chips/chips.component.ts +55 -0
  44. package/projects/component-library/src/lib/component-library.component.spec.ts +23 -0
  45. package/projects/component-library/src/lib/component-library.component.ts +16 -0
  46. package/projects/component-library/src/lib/component-library.service.spec.ts +16 -0
  47. package/projects/component-library/src/lib/component-library.service.ts +9 -0
  48. package/projects/component-library/src/lib/datepicker/datepicker.component.css +33 -0
  49. package/projects/component-library/src/lib/datepicker/datepicker.component.html +11 -0
  50. package/projects/component-library/src/lib/datepicker/datepicker.component.spec.ts +23 -0
  51. package/projects/component-library/src/lib/datepicker/datepicker.component.ts +37 -0
  52. package/projects/component-library/src/lib/form-select/form-select.component.css +156 -0
  53. package/projects/component-library/src/lib/form-select/form-select.component.html +38 -0
  54. package/projects/component-library/src/lib/form-select/form-select.component.spec.ts +23 -0
  55. package/projects/component-library/src/lib/form-select/form-select.component.ts +54 -0
  56. package/projects/component-library/src/lib/grid-cell/grid-cell.component.css +78 -0
  57. package/projects/component-library/src/lib/grid-cell/grid-cell.component.html +31 -0
  58. package/projects/component-library/src/lib/grid-cell/grid-cell.component.spec.ts +23 -0
  59. package/projects/component-library/src/lib/grid-cell/grid-cell.component.ts +89 -0
  60. package/projects/component-library/src/lib/header/header.component.css +62 -0
  61. package/projects/component-library/src/lib/header/header.component.html +23 -0
  62. package/projects/component-library/src/lib/header/header.component.spec.ts +23 -0
  63. package/projects/component-library/src/lib/header/header.component.ts +28 -0
  64. package/projects/component-library/src/lib/stepper/stepper.component.css +96 -0
  65. package/projects/component-library/src/lib/stepper/stepper.component.html +14 -0
  66. package/projects/component-library/src/lib/stepper/stepper.component.spec.ts +23 -0
  67. package/projects/component-library/src/lib/stepper/stepper.component.ts +61 -0
  68. package/projects/component-library/src/lib/tabs/tabs.component.css +100 -0
  69. package/projects/component-library/src/lib/tabs/tabs.component.html +16 -0
  70. package/projects/component-library/src/lib/tabs/tabs.component.spec.ts +23 -0
  71. package/projects/component-library/src/lib/tabs/tabs.component.ts +37 -0
  72. package/projects/component-library/src/lib/toast/toast.component.css +108 -0
  73. package/projects/component-library/src/lib/toast/toast.component.html +25 -0
  74. package/projects/component-library/src/lib/toast/toast.component.spec.ts +23 -0
  75. package/projects/component-library/src/lib/toast/toast.component.ts +37 -0
  76. package/projects/component-library/src/lib/tool-tip/tool-tip.component.css +139 -0
  77. package/projects/component-library/src/lib/tool-tip/tool-tip.component.html +31 -0
  78. package/projects/component-library/src/lib/tool-tip/tool-tip.component.spec.ts +23 -0
  79. package/projects/component-library/src/lib/tool-tip/tool-tip.component.ts +37 -0
  80. package/projects/component-library/src/public-api.ts +25 -0
  81. package/projects/component-library/tsconfig.lib.json +14 -0
  82. package/projects/component-library/tsconfig.lib.prod.json +10 -0
  83. package/projects/component-library/tsconfig.spec.json +14 -0
  84. package/src/Saras-logo.svg +15 -0
  85. package/src/app/app.component.css +13 -0
  86. package/src/app/app.component.html +77 -0
  87. package/src/app/app.component.spec.ts +29 -0
  88. package/src/app/app.component.ts +505 -0
  89. package/src/app/app.config.ts +27 -0
  90. package/src/app/app.routes.ts +3 -0
  91. package/src/app/data.ts +52 -0
  92. package/src/app/kitchen-sink/kitchen-sink.component.css +29 -0
  93. package/src/app/kitchen-sink/kitchen-sink.component.html +7 -0
  94. package/src/app/kitchen-sink/kitchen-sink.component.spec.ts +23 -0
  95. package/src/app/kitchen-sink/kitchen-sink.component.ts +92 -0
  96. package/src/assets/.gitkeep +0 -0
  97. package/src/assets/Chevron.svg +5 -0
  98. package/src/assets/Frame.svg +5 -0
  99. package/src/assets/Grid.svg +5 -0
  100. package/src/assets/Location.svg +5 -0
  101. package/src/assets/Mail.svg +5 -0
  102. package/src/assets/Person.svg +5 -0
  103. package/src/assets/Scan.svg +5 -0
  104. package/src/assets/Sources.svg +5 -0
  105. package/src/assets/arrow.svg +5 -0
  106. package/src/assets/avatar.svg +12 -0
  107. package/src/assets/checkmark.svg +5 -0
  108. package/src/assets/crossmark.svg +5 -0
  109. package/src/assets/dot.svg +5 -0
  110. package/src/assets/negativemark.svg +5 -0
  111. package/src/assets/pointer-polygon.svg +3 -0
  112. package/src/assets/tick-icon.svg +5 -0
  113. package/src/assets/tick.svg +8 -0
  114. package/src/assets/warningmark.svg +5 -0
  115. package/src/custom-theme.scss +37 -0
  116. package/src/favicon.ico +0 -0
  117. package/src/index.html +23 -0
  118. package/src/main.ts +6 -0
  119. package/src/stories/GettingStarted.mdx +233 -0
  120. package/src/stories/KitchenSink.stories.ts +86 -0
  121. package/src/stories/avatar.stories.ts +45 -0
  122. package/src/stories/chips.stories.ts +61 -0
  123. package/src/stories/custom-button.stories.ts +74 -0
  124. package/src/stories/datepicker.stories.ts +78 -0
  125. package/src/stories/gridCell.stories.ts +234 -0
  126. package/src/stories/header.stories.ts +61 -0
  127. package/src/stories/selectInput.stories.ts +158 -0
  128. package/src/stories/stepper.stories.ts +92 -0
  129. package/src/stories/tabs.stories.ts +97 -0
  130. package/src/stories/toast.stories.ts +54 -0
  131. package/src/stories/tool-tip.stories.ts +45 -0
  132. package/src/styles.css +204 -0
  133. package/src/svg.d.ts +1 -0
  134. package/tsconfig.app.json +14 -0
  135. package/tsconfig.json +42 -0
  136. package/tsconfig.spec.json +14 -0
@@ -0,0 +1,158 @@
1
+ import type { Meta, StoryObj } from '@storybook/angular';
2
+ import { argsToTemplate } from '@storybook/angular';
3
+ import { moduleMetadata } from '@storybook/angular';
4
+ import { ReactiveFormsModule } from '@angular/forms';
5
+ import { FormlyForm, FormlyModule } from '@ngx-formly/core';
6
+ import { FormSelectComponent } from '../../projects/component-library/src/lib/form-select/form-select.component';
7
+ import { ButtonComponent } from '../../projects/component-library/src/public-api';
8
+ import { SelectInterface } from '../../projects/component-library/src/interfaces/select-interface';
9
+
10
+ const meta: Meta<FormlyForm> = {
11
+ title: 'Select Input',
12
+ component: FormlyForm,
13
+ tags: ['autodocs'],
14
+ decorators: [
15
+ moduleMetadata({
16
+ imports: [
17
+ FormlyModule,
18
+ FormSelectComponent,
19
+ ReactiveFormsModule,
20
+ ButtonComponent,
21
+ FormlyModule.forRoot({
22
+ types: [
23
+ {
24
+ name: 'sa-select', // always use this `name` to reference component, otherwise storybook breaks.
25
+ component: FormSelectComponent,
26
+ },
27
+ ],
28
+ })
29
+ ],
30
+ }),
31
+ ],
32
+ argTypes: {
33
+ fields: {
34
+ description: [
35
+ "**This component is expected to be used with formly form.**",
36
+ "`Fields` is an array of objects. Each object (lets say `fieldObj`) represents a field in the form.",
37
+ "To use this component as a form field, set `type: 'sa-select'` in `fieldObj`.",
38
+ "`Key` represents the name of this field.",
39
+ "`props` is an object that will be used to pass data and configure this component.",
40
+ "**Please use `SelectInterface` to pass props.**"
41
+ ].join(" ")
42
+ },
43
+ model: {
44
+ description: [
45
+ "It is an object, each `key-value` pair represents a field.",
46
+ "`key` for the name of the field",
47
+ "`value` for default selections of that field."
48
+ ].join(" ")
49
+ },
50
+ modelChange: {
51
+ action: 'modelChange'
52
+ }
53
+ },
54
+ render: (args) => ({
55
+ props: {
56
+ ...args,
57
+ },
58
+ template: `
59
+ <form>
60
+ <formly-form ${argsToTemplate(args)}>
61
+ </formly-form>
62
+ </form>
63
+ `
64
+ }),
65
+ };
66
+
67
+
68
+
69
+ const default_props: SelectInterface = {
70
+ options: [
71
+ { id: 1, name: 'One' },
72
+ { id: 2, name: 'Two' },
73
+ { id: 3, name: 'Three' },
74
+ { id: 4, name: 'Four' },
75
+ { id: 5, name: 'Five' },
76
+ ],
77
+ disabled: false,
78
+ params: {
79
+ label: 'Label',
80
+ supportText: "Supporting text",
81
+ dropIcon: '../assets/Chevron.svg',
82
+ dropIconPosition: "both",
83
+ multiple: true,
84
+ iconPath: "../assets/Frame.svg",
85
+ type: "regular",
86
+ state: "primary",
87
+ filling: "filled",
88
+ iconPosition: "left"
89
+ }
90
+ }
91
+
92
+ export default meta;
93
+ type Story = StoryObj<FormlyForm>;
94
+ export const Regular: Story = {
95
+ args: {
96
+ fields: [
97
+ {
98
+ key: 'Test',
99
+ type: 'sa-select', // storybook breaks (change in params won't reflect in component) if `FormSelectComponent` is used.
100
+ props: default_props,
101
+ }
102
+ ],
103
+ model: {},
104
+ }
105
+ };
106
+
107
+ export const Disabled: Story = {
108
+ args: {
109
+ fields: [{
110
+ key: 'Test',
111
+ type: 'sa-select',
112
+ props: {
113
+ ...default_props,
114
+ disabled: true
115
+ }
116
+ }
117
+ ],
118
+ model: {}
119
+ }
120
+ };
121
+
122
+ export const Regular_Default_Value: Story = {
123
+ args: {
124
+ fields: [
125
+ {
126
+ key: 'Test',
127
+ type: 'sa-select',
128
+ props: default_props,
129
+ }
130
+ ],
131
+ model: {
132
+ "Test": [{
133
+ "id": 1,
134
+ "name": "One"
135
+ }]
136
+ },
137
+ }
138
+ };
139
+
140
+ export const Disabled_Default_Value: Story = {
141
+ args: {
142
+ fields: [{
143
+ key: 'Test',
144
+ type: 'sa-select',
145
+ props: {
146
+ ...default_props,
147
+ disabled: true
148
+ }
149
+ }
150
+ ],
151
+ model: {
152
+ "Test": [{
153
+ "id": 1,
154
+ "name": "One"
155
+ }]
156
+ }
157
+ }
158
+ };
@@ -0,0 +1,92 @@
1
+ import type { Meta, StoryObj } from '@storybook/angular';
2
+ import { argsToTemplate } from '@storybook/angular';
3
+ import { moduleMetadata } from '@storybook/angular';
4
+ import { ReactiveFormsModule } from '@angular/forms';
5
+ import { FormlyForm, FormlyModule } from '@ngx-formly/core';
6
+ import { StepperComponent } from '../../projects/component-library/src/lib/stepper/stepper.component';
7
+
8
+ const meta: Meta<FormlyForm> = {
9
+ title: 'Stepper',
10
+ component: FormlyForm,
11
+ tags: ['autodocs'],
12
+ decorators: [
13
+ moduleMetadata({
14
+ imports: [
15
+ FormlyModule,
16
+ StepperComponent,
17
+ ReactiveFormsModule,
18
+ FormlyModule.forRoot({
19
+ types: [
20
+ {
21
+ name: 'sa-stepper', // always use this `name` to reference component, otherwise storybook breaks.
22
+ component: StepperComponent,
23
+ },
24
+ ],
25
+ })
26
+ ],
27
+ }),
28
+ ],
29
+ argTypes: {
30
+ modelChange: {
31
+ action: 'modelChange'
32
+ }
33
+ },
34
+ render: (args) => ({
35
+ props: {
36
+ ...args,
37
+ },
38
+ template: `
39
+ <form>
40
+ <formly-form ${argsToTemplate(args)}>
41
+ </formly-form>
42
+ </form>
43
+ `
44
+ }),
45
+ };
46
+
47
+
48
+ const default_props = {
49
+ disabled: false,
50
+ options: [
51
+ { id: 0, name: 'Zero' },
52
+ { id: 1, name: 'One' },
53
+ { id: 2, name: 'Two' },
54
+ { id: 3, name: 'Three' },
55
+ ],
56
+ params: {
57
+ editable: true,
58
+ doneIcon: "../assets/tick-icon.svg"
59
+ }
60
+ }
61
+
62
+ export default meta;
63
+ type Story = StoryObj<FormlyForm>;
64
+ export const Default: Story = {
65
+ args: {
66
+ model: {},
67
+ fields: [
68
+ {
69
+ key: 'Test-stepper',
70
+ type: 'sa-stepper', // storybook breaks (change in params won't reflect in component) if `StepperComponent` is used.
71
+ props: default_props,
72
+ }
73
+ ]
74
+ }
75
+ };
76
+
77
+ export const Default_selection: Story = {
78
+ args: {
79
+ model: {
80
+ "Test-stepper": {
81
+ "id": 2,
82
+ }
83
+ },
84
+ fields: [
85
+ {
86
+ key: 'Test-stepper',
87
+ type: 'sa-stepper',
88
+ props: default_props,
89
+ }
90
+ ]
91
+ }
92
+ };
@@ -0,0 +1,97 @@
1
+ import type { Meta, StoryObj } from '@storybook/angular';
2
+ import { argsToTemplate } from '@storybook/angular';
3
+ import { TabsComponent } from '../../projects/component-library/src/lib/tabs/tabs.component';
4
+ import { TabInterface } from '../../projects/component-library/src/interfaces/tab-interface';
5
+
6
+ const meta: Meta<TabsComponent> = {
7
+ title: 'Tabs',
8
+ component: TabsComponent,
9
+ tags: ['autodocs'],
10
+ argTypes: {
11
+ tabs: {
12
+ description: [
13
+ "array of `TabInterface` objects. Each one to configure one tab."
14
+ ].join(" ")
15
+ },
16
+ type: {
17
+ options: ['inline', 'box'],
18
+ control: { type: 'radio' }
19
+ },
20
+ tabChanged: {
21
+ action: "tabChanged"
22
+ }
23
+ },
24
+ render: (args) => ({
25
+ props: {
26
+ ...args,
27
+ },
28
+ template: `<sa-tabs ${argsToTemplate(args)}></sa-tabs>`
29
+ }),
30
+ };
31
+
32
+ export default meta;
33
+ type Story = StoryObj<TabsComponent>;
34
+
35
+ const tabs: TabInterface[] = [
36
+ {
37
+ tabName: "Tab 1",
38
+ tabIcon: "../assets/Sources.svg",
39
+ iconPosition: "left",
40
+ badgeContent: "3 new",
41
+ },
42
+ {
43
+ tabName: "Tab 2",
44
+ tabIcon: "../assets/Grid.svg",
45
+ iconPosition: "left",
46
+ badgeContent: "9 new",
47
+ },
48
+ {
49
+ tabName: "Tab 3",
50
+ tabIcon: "../assets/warningmark.svg",
51
+ iconPosition: "left",
52
+ badgeContent: "17 new",
53
+ },
54
+ {
55
+ tabName: "Tab 4",
56
+ tabIcon: "../assets/Person.svg",
57
+ iconPosition: "left",
58
+ },
59
+ {
60
+ tabName: "Tab 5",
61
+ tabIcon: "../assets/Mail.svg",
62
+ badgeContent: "6 new",
63
+ iconPosition: "left",
64
+ }
65
+ ];
66
+
67
+ export const Inline_tabs_default: Story = {
68
+ args: {
69
+ tabs: tabs,
70
+ type: "inline",
71
+ defaultTab: -1,
72
+ }
73
+ };
74
+
75
+ export const inline_tabs_selected: Story = {
76
+ args: {
77
+ tabs: tabs,
78
+ defaultTab: 2,
79
+ type: "inline"
80
+ }
81
+ };
82
+
83
+ export const box_tabs_default: Story = {
84
+ args: {
85
+ tabs: tabs,
86
+ type: "box"
87
+ }
88
+ };
89
+
90
+ export const box_tabs_selected: Story = {
91
+ args: {
92
+ tabs: tabs,
93
+ defaultTab: 2,
94
+ type: "box"
95
+ }
96
+ };
97
+
@@ -0,0 +1,54 @@
1
+ import type { Meta, StoryObj } from '@storybook/angular';
2
+ import { argsToTemplate } from '@storybook/angular';
3
+ import { ToastComponent } from '../../projects/component-library/src/lib/toast/toast.component';
4
+ import { min } from 'rxjs';
5
+
6
+ const meta: Meta<ToastComponent> = {
7
+ title: 'Toast',
8
+ component: ToastComponent,
9
+ tags: ['autodocs'],
10
+ argTypes: {
11
+ firstButton: {
12
+ action: "firstButton"
13
+ },
14
+ secondButton: {
15
+ action: "secondButton"
16
+ },
17
+ closed: {
18
+ action: "closed"
19
+ },
20
+ status: {
21
+ options: ['positive', 'negative', 'tentative'],
22
+ control: { type: 'radio' }
23
+ },
24
+ finishPercentage: {
25
+ control: {
26
+ type: 'range',
27
+ min: -10,
28
+ max: 100,
29
+ step: 1,
30
+ }
31
+ }
32
+ },
33
+ render: (args) => ({
34
+ props: {
35
+ ...args,
36
+ },
37
+ template: `<sa-toast ${argsToTemplate(args)}></sa-toast>`
38
+ }),
39
+ };
40
+
41
+ export default meta;
42
+ type Story = StoryObj<ToastComponent>;
43
+
44
+ export const toast: Story = {
45
+ args: {
46
+ heading: 'Heading',
47
+ subHeading: 'Subheading text',
48
+ status: 'positive',
49
+ statusIcon: "../assets/warningmark.svg",
50
+ finishPercentage: 30,
51
+ firstButtonName: "Button",
52
+ secondButtonName: "Button",
53
+ }
54
+ };
@@ -0,0 +1,45 @@
1
+ import type { Meta, StoryObj } from '@storybook/angular';
2
+ import { argsToTemplate } from '@storybook/angular';
3
+ import { ToolTipComponent } from '../../projects/component-library/src/public-api';
4
+
5
+
6
+ const meta: Meta<ToolTipComponent> = {
7
+ title: 'ToolTip',
8
+ component: ToolTipComponent,
9
+ tags: ['autodocs'],
10
+ argTypes: {
11
+ pointerPosition: {
12
+ options: ['left', 'right', 'top', 'bottom'],
13
+ control: { type: 'radio' }
14
+ },
15
+ toolTipSeen: {
16
+ action: "toolTipSeen"
17
+ },
18
+ toolTipSkipped: {
19
+ action: "toolTipSkipped"
20
+ }
21
+ },
22
+ render: (args) => ({
23
+ props: {
24
+ ...args,
25
+ },
26
+ template: `<sa-tool-tip ${argsToTemplate(args)}></sa-tool-tip>`
27
+ }),
28
+ };
29
+
30
+ export default meta;
31
+ type Story = StoryObj<ToolTipComponent>;
32
+
33
+ const messages: string[] = [
34
+ "This first line can act as the subheading of this onboarding tooltip",
35
+ "This second line can act as the subheading of this onboarding tooltip",
36
+ "This third line can act as the subheading of this onboarding tooltip",
37
+ "This fourth line can act as the subheading of this onboarding tooltip",
38
+ ]
39
+
40
+ export const toolTip: Story = {
41
+ args: {
42
+ pointerPosition: 'left',
43
+ messages: messages,
44
+ }
45
+ };
package/src/styles.css ADDED
@@ -0,0 +1,204 @@
1
+ @import 'ag-grid-community/styles/ag-grid.css';
2
+ @import 'ag-grid-community/styles/ag-theme-quartz.css';
3
+ @import "@ng-select/ng-select/themes/default.theme.css";
4
+
5
+ html,
6
+ body {
7
+ height: 100%;
8
+ }
9
+
10
+ body {
11
+ margin: 0;
12
+ font-family: Roboto, "Helvetica Neue", sans-serif;
13
+ }
14
+
15
+ :root {
16
+ --font: 'Roboto';
17
+ --small-4px: 4px;
18
+ --small-6px: 6px;
19
+ --small-8px: 8px;
20
+ --small-12px: 12px;
21
+ --small-14px: 14px;
22
+ --small-16px: 16px;
23
+ --small-18px: 18px;
24
+ --medium-20px: 20px;
25
+ --medium-24px: 24px;
26
+ }
27
+
28
+ .insights-theme {
29
+ --primary-50: #EAFFFD;
30
+ --primary-100: #CAFFFB;
31
+ --primary-200: #9CFFFA;
32
+ --primary-300: #00DDEA;
33
+ --primary-400: #00AFC4;
34
+ --primary-500: #008597;
35
+ --primary-600: #0B6E7F;
36
+ --primary-700: #0E5B6B;
37
+ --primary-800: #023D4A;
38
+ --primary-900: #01303A;
39
+ --secondary-50: #FFF3EB;
40
+ --secondary-100: #FFD8C0;
41
+ --secondary-200: #FFC6A2;
42
+ --secondary-300: #FEAB78;
43
+ --secondary-400: #FE9B5D;
44
+ --secondary-500: #FE8235;
45
+ --secondary-600: #E77630;
46
+ --secondary-700: #B45C26;
47
+ --secondary-800: #8C481D;
48
+ --secondary-900: #6B3716;
49
+ --grey-50: #E9EAEB;
50
+ --grey-100: #BAC0C1;
51
+ --grey-200: #98A1A3;
52
+ --grey-300: #697779;
53
+ --grey-400: #4C5C5F;
54
+ --grey-500: #1F3437;
55
+ --grey-600: #1C2F32;
56
+ --grey-700: #162527;
57
+ --grey-800: #111C1E;
58
+ --grey-900: #0D1517;
59
+ --semantic-success-50: #EBF5E9;
60
+ --semantic-success-100: #C0DEBA;
61
+ --semantic-success-200: #A1CF98;
62
+ --semantic-success-300: #76B969;
63
+ --semantic-success-400: #5CAB4C;
64
+ --semantic-success-500: #33961F;
65
+ --semantic-success-600: #2E891C;
66
+ --semantic-success-700: #246B16;
67
+ --semantic-success-800: #1C5311;
68
+ --semantic-success-900: #153F0D;
69
+ --semantic-error-50: #F8E9E9;
70
+ --semantic-error-100: #EBBCB9;
71
+ --semantic-error-200: #E19C98;
72
+ --semantic-error-300: #D36E68;
73
+ --semantic-error-400: #CA524B;
74
+ --semantic-error-500: #BD271E;
75
+ --semantic-error-600: #AC231B;
76
+ --semantic-error-700: #861C15;
77
+ --semantic-error-800: #681511;
78
+ --semantic-error-900: #4F100D;
79
+ --semantic-purple-50: #F3EFFD;
80
+ --semantic-purple-100: #D8CCFA;
81
+ --semantic-purple-200: #C6B4F7;
82
+ --semantic-purple-300: #AB92F4;
83
+ --semantic-purple-400: #9B7DF1;
84
+ --semantic-purple-500: #815BED;
85
+ --semantic-purple-600: #7654D9;
86
+ --semantic-purple-700: #5C41A9;
87
+ --semantic-purple-800: #483383;
88
+ --semantic-purple-900: #372764;
89
+ --semantic-yellow-50: #FEF6E6;
90
+ --semantic-yellow-100: #FBE2B3;
91
+ --semantic-yellow-200: #F9D58E;
92
+ --semantic-yellow-300: #F6C15A;
93
+ --semantic-yellow-400: #F5B53A;
94
+ --text-highemphasis: #1B1F20;
95
+ --text-mediumemphasis: #697779;
96
+ --text-lowemphasis: #98A2A3;
97
+ --text-white: #FFFFFF;
98
+ --semantic-yellow-500: #F2A209;
99
+ --semantic-yellow-600: #DC9408;
100
+ --semantic-yellow-700: #AC7406;
101
+ --semantic-yellow-800: #855A05;
102
+ --structural-white: #FFFFFF;
103
+ --icon-grey1: #757575;
104
+ --structural-neutral1: #F9F9F9;
105
+ }
106
+
107
+ .saras-theme {
108
+ --primary-50: #E8F1FC;
109
+ --primary-100: #B8D4F7;
110
+ --primary-200: #96C0F3;
111
+ --primary-300: #66A2ED;
112
+ --primary-400: #4992E9;
113
+ --primary-500: #1B77E4;
114
+ --primary-600: #196CCF;
115
+ --primary-700: #1354A2;
116
+ --primary-800: #0F417D;
117
+ --primary-900: #0B3160;
118
+ --secondary-50: #FFF3EB;
119
+ --secondary-100: #FFD8C0;
120
+ --secondary-200: #FFC6A2;
121
+ --secondary-300: #FEAB78;
122
+ --secondary-400: #FE9B5D;
123
+ --secondary-500: #FE8235;
124
+ --secondary-600: #E77630;
125
+ --secondary-700: #B45C26;
126
+ --secondary-800: #8C481D;
127
+ --secondary-900: #6B3716;
128
+ --grey-50: #E9E9EB;
129
+ --grey-100: #BABDC1;
130
+ --grey-200: #989CA3;
131
+ --grey-300: #697079;
132
+ --grey-400: #4C545F;
133
+ --grey-500: #1F2937;
134
+ --grey-600: #1C2532;
135
+ --grey-700: #161D27;
136
+ --grey-800: #11161E;
137
+ --grey-900: #0D1117;
138
+ --semantic-success-50: #EBF5E9;
139
+ --semantic-success-100: #C0DEBA;
140
+ --semantic-success-200: #A1CF98;
141
+ --semantic-success-300: #76B969;
142
+ --semantic-success-400: #5CAB4C;
143
+ --semantic-success-500: #33961F;
144
+ --semantic-success-600: #2E891C;
145
+ --semantic-success-700: #246B16;
146
+ --semantic-success-800: #1C5311;
147
+ --semantic-success-900: #153F0D;
148
+ --semantic-error-50: #F8E9E9;
149
+ --semantic-error-100: #EBBCB9;
150
+ --semantic-error-200: #E19C98;
151
+ --semantic-error-300: #D36E68;
152
+ --semantic-error-400: #CA524B;
153
+ --semantic-error-500: #BD271E;
154
+ --semantic-error-600: #AC231B;
155
+ --semantic-error-700: #861C15;
156
+ --semantic-error-800: #681511;
157
+ --semantic-error-900: #4F100D;
158
+ --semantic-purple-50: #F3EFFD;
159
+ --semantic-purple-100: #D8CCFA;
160
+ --semantic-purple-200: #C6B4F7;
161
+ --semantic-purple-300: #AB92F4;
162
+ --semantic-purple-400: #9B7DF1;
163
+ --semantic-purple-500: #815BED;
164
+ --semantic-purple-600: #7654D9;
165
+ --semantic-purple-700: #5C41A9;
166
+ --semantic-purple-800: #483383;
167
+ --semantic-purple-900: #372764;
168
+ --semantic-yellow-50: #FEF6E6;
169
+ --semantic-yellow-100: #FBE2B3;
170
+ --semantic-yellow-200: #F9D58E;
171
+ --semantic-yellow-300: #F6C15A;
172
+ --semantic-yellow-400: #F5B53A;
173
+ --text-highemphasis: #1B1D20;
174
+ --text-mediumemphasis: #697079;
175
+ --text-lowemphasis: #989CA3;
176
+ --text-white: #FFFFFF;
177
+ --semantic-yellow-500: #F2A209;
178
+ --semantic-yellow-600: #DC9408;
179
+ --semantic-yellow-700: #AC7406;
180
+ --semantic-yellow-800: #855A05;
181
+ --structural-white: #FFFFFF;
182
+ --icon-grey1: #757575;
183
+ --structural-neutral1: #F9F9F9;
184
+ }
185
+
186
+ .ag-header {
187
+ font-family: var(--font);
188
+ font-size: 14px;
189
+ font-weight: 400;
190
+ height: 20px;
191
+ line-height: 20px;
192
+ }
193
+
194
+ .ag-header-cell lib-grid-cell {
195
+ width: 100%;
196
+ }
197
+
198
+ .ag-header-cell-label {
199
+ font-family: var(--font);
200
+ font-size: 14px;
201
+ font-weight: 400;
202
+ line-height: 20px;
203
+ margin-left: 10px;
204
+ }
package/src/svg.d.ts ADDED
@@ -0,0 +1 @@
1
+ declare module '*.svg';
@@ -0,0 +1,14 @@
1
+ /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
+ {
3
+ "extends": "./tsconfig.json",
4
+ "compilerOptions": {
5
+ "outDir": "./out-tsc/app",
6
+ "types": []
7
+ },
8
+ "files": [
9
+ "src/main.ts"
10
+ ],
11
+ "include": [
12
+ "src/**/*.d.ts"
13
+ ]
14
+ }