@symphony-talent/component-library 3.1.0 → 3.2.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.
Files changed (81) hide show
  1. package/esm2020/lib/atoms/button/button.component.mjs +3 -3
  2. package/esm2020/lib/atoms/filter-area/filter-area.component.mjs +1 -1
  3. package/esm2020/lib/atoms/grid/framework/contact-activity-score/contact-activity-score.component.mjs +1 -1
  4. package/esm2020/lib/atoms/grid/grid.component.mjs +5 -6
  5. package/esm2020/lib/atoms/grid/grid.model.mjs +1 -1
  6. package/esm2020/lib/atoms/h1/h1.component.mjs +1 -1
  7. package/esm2020/lib/atoms/h3/h3.component.mjs +1 -1
  8. package/esm2020/lib/atoms/h4/h4.component.mjs +1 -1
  9. package/esm2020/lib/atoms/icon/icon.component.mjs +1 -1
  10. package/esm2020/lib/atoms/input-radio/input-radio.component.mjs +1 -1
  11. package/esm2020/lib/atoms/input-text/input-text.component.mjs +5 -3
  12. package/esm2020/lib/atoms/paragraph/paragraph.component.mjs +1 -1
  13. package/esm2020/lib/atoms/pill/pill.component.mjs +2 -2
  14. package/esm2020/lib/atoms/sfx-loader/sfx-loader.component.mjs +1 -1
  15. package/esm2020/lib/atoms/sfx-page-loader/sfx-page-loader.component.mjs +1 -1
  16. package/esm2020/lib/atoms/sfx-progress-bar/sfx-progress-bar.component.mjs +1 -1
  17. package/esm2020/lib/atoms/task-icon/task-icon.component.mjs +1 -1
  18. package/esm2020/lib/atoms/two-column-filter-area/two-column-filter-area.component.mjs +1 -1
  19. package/esm2020/lib/design-guide/icon-explorer/icon-explorer.component.mjs +1 -1
  20. package/esm2020/lib/design-guide/typography/typography.component.mjs +1 -1
  21. package/esm2020/lib/molecules/note/note.component.mjs +1 -1
  22. package/esm2020/lib/molecules/pills/pills.component.mjs +3 -3
  23. package/esm2020/lib/molecules/task/task.component.mjs +1 -1
  24. package/esm2020/lib/organisms/note-list/note-list.component.mjs +1 -1
  25. package/esm2020/lib/organisms/task-list/task-list.component.mjs +1 -1
  26. package/esm2020/lib/pages/events-settings-page/events-settings-page.component.mjs +8 -9
  27. package/esm2020/lib/pages/events-settings-page/events-settings-page.model.mjs +1 -1
  28. package/esm2020/lib/pages/setting-list-page/setting-list-page.component.mjs +1 -1
  29. package/esm2020/lib/templates/admin-list/admin-list.component.mjs +1 -1
  30. package/esm2020/lib/templates/placeholder/placeholder.component.mjs +1 -1
  31. package/esm2020/projects/component-library/lib/atoms/button/button.component.mjs +3 -3
  32. package/esm2020/projects/component-library/lib/atoms/filter-area/filter-area.component.mjs +1 -1
  33. package/esm2020/projects/component-library/lib/atoms/grid/framework/contact-activity-score/contact-activity-score.component.mjs +1 -1
  34. package/esm2020/projects/component-library/lib/atoms/grid/grid.component.mjs +5 -6
  35. package/esm2020/projects/component-library/lib/atoms/grid/grid.model.mjs +1 -1
  36. package/esm2020/projects/component-library/lib/atoms/h1/h1.component.mjs +1 -1
  37. package/esm2020/projects/component-library/lib/atoms/h3/h3.component.mjs +1 -1
  38. package/esm2020/projects/component-library/lib/atoms/h4/h4.component.mjs +1 -1
  39. package/esm2020/projects/component-library/lib/atoms/icon/icon.component.mjs +1 -1
  40. package/esm2020/projects/component-library/lib/atoms/input-radio/input-radio.component.mjs +1 -1
  41. package/esm2020/projects/component-library/lib/atoms/input-text/input-text.component.mjs +5 -3
  42. package/esm2020/projects/component-library/lib/atoms/paragraph/paragraph.component.mjs +1 -1
  43. package/esm2020/projects/component-library/lib/atoms/pill/pill.component.mjs +2 -2
  44. package/esm2020/projects/component-library/lib/atoms/sfx-loader/sfx-loader.component.mjs +1 -1
  45. package/esm2020/projects/component-library/lib/atoms/sfx-page-loader/sfx-page-loader.component.mjs +1 -1
  46. package/esm2020/projects/component-library/lib/atoms/sfx-progress-bar/sfx-progress-bar.component.mjs +1 -1
  47. package/esm2020/projects/component-library/lib/atoms/task-icon/task-icon.component.mjs +1 -1
  48. package/esm2020/projects/component-library/lib/atoms/two-column-filter-area/two-column-filter-area.component.mjs +1 -1
  49. package/esm2020/projects/component-library/lib/design-guide/icon-explorer/icon-explorer.component.mjs +1 -1
  50. package/esm2020/projects/component-library/lib/design-guide/typography/typography.component.mjs +1 -1
  51. package/esm2020/projects/component-library/lib/molecules/note/note.component.mjs +1 -1
  52. package/esm2020/projects/component-library/lib/molecules/pills/pills.component.mjs +3 -3
  53. package/esm2020/projects/component-library/lib/molecules/task/task.component.mjs +1 -1
  54. package/esm2020/projects/component-library/lib/organisms/note-list/note-list.component.mjs +1 -1
  55. package/esm2020/projects/component-library/lib/organisms/task-list/task-list.component.mjs +1 -1
  56. package/esm2020/projects/component-library/lib/pages/events-settings-page/events-settings-page.component.mjs +8 -9
  57. package/esm2020/projects/component-library/lib/pages/events-settings-page/events-settings-page.model.mjs +1 -1
  58. package/esm2020/projects/component-library/lib/pages/setting-list-page/setting-list-page.component.mjs +1 -1
  59. package/esm2020/projects/component-library/lib/templates/admin-list/admin-list.component.mjs +1 -1
  60. package/esm2020/projects/component-library/lib/templates/placeholder/placeholder.component.mjs +1 -1
  61. package/fesm2015/symphony-talent-component-library-projects-component-library.mjs +36 -35
  62. package/fesm2015/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
  63. package/fesm2015/symphony-talent-component-library.mjs +36 -35
  64. package/fesm2015/symphony-talent-component-library.mjs.map +1 -1
  65. package/fesm2020/symphony-talent-component-library-projects-component-library.mjs +36 -35
  66. package/fesm2020/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
  67. package/fesm2020/symphony-talent-component-library.mjs +36 -35
  68. package/fesm2020/symphony-talent-component-library.mjs.map +1 -1
  69. package/lib/atoms/grid/grid.component.d.ts +2 -6
  70. package/lib/atoms/grid/grid.model.d.ts +1 -0
  71. package/lib/atoms/input-text/input-text.component.d.ts +2 -1
  72. package/lib/pages/events-settings-page/events-settings-page.component.d.ts +1 -1
  73. package/lib/pages/events-settings-page/events-settings-page.model.d.ts +0 -1
  74. package/package.json +1 -1
  75. package/projects/component-library/global-assets/spacing.scss +290 -0
  76. package/projects/component-library/global.scss +230 -252
  77. package/projects/component-library/lib/atoms/grid/grid.component.d.ts +2 -6
  78. package/projects/component-library/lib/atoms/grid/grid.model.d.ts +1 -0
  79. package/projects/component-library/lib/atoms/input-text/input-text.component.d.ts +2 -1
  80. package/projects/component-library/lib/pages/events-settings-page/events-settings-page.component.d.ts +1 -1
  81. package/projects/component-library/lib/pages/events-settings-page/events-settings-page.model.d.ts +0 -1
@@ -3,17 +3,13 @@ import * as i0 from "@angular/core";
3
3
  export declare class GridComponent {
4
4
  columnDefs: ColDef[];
5
5
  rowData: any[];
6
+ onGridReadyFunction: any;
6
7
  getRowHeight: () => number;
7
8
  rowHeightPage: number;
8
9
  gridHeight: number;
9
10
  frameworkComponents: any;
10
11
  constructor();
11
- onGridReady(gridReadyEvent: {
12
- api: {
13
- sizeColumnsToFit: () => void;
14
- };
15
- }): void;
16
12
  getFrameworkComponents(): any;
17
13
  static ɵfac: i0.ɵɵFactoryDeclaration<GridComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent, "symphony-grid", never, { "columnDefs": "columnDefs"; "rowData": "rowData"; }, {}, never, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent, "symphony-grid", never, { "columnDefs": "columnDefs"; "rowData": "rowData"; "onGridReadyFunction": "onGridReadyFunction"; }, {}, never, never>;
19
15
  }
@@ -2,4 +2,5 @@ import { ColDef } from 'ag-grid-community';
2
2
  export interface GridModel {
3
3
  columnDefs: ColDef[];
4
4
  rowData: any[];
5
+ onGridReadyFunction: any;
5
6
  }
@@ -6,6 +6,7 @@ export declare class InputTextComponent implements OnInit, OnDestroy {
6
6
  icon: string;
7
7
  label: string;
8
8
  isInverse: boolean;
9
+ noMargin: boolean;
9
10
  textChange: EventEmitter<string>;
10
11
  textChange$: Subject<string>;
11
12
  textChangeSubscription: Subscription;
@@ -14,5 +15,5 @@ export declare class InputTextComponent implements OnInit, OnDestroy {
14
15
  ngOnDestroy(): void;
15
16
  onTextChange(event: any): void;
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<InputTextComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<InputTextComponent, "symphony-input-text", never, { "placeholder": "placeholder"; "icon": "icon"; "label": "label"; "isInverse": "isInverse"; }, { "textChange": "textChange"; }, never, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputTextComponent, "symphony-input-text", never, { "placeholder": "placeholder"; "icon": "icon"; "label": "label"; "isInverse": "isInverse"; "noMargin": "noMargin"; }, { "textChange": "textChange"; }, never, never>;
18
19
  }
@@ -13,5 +13,5 @@ export declare class EventsSettingsPageComponent {
13
13
  gridActionsSelect(selection: string): void;
14
14
  onAddButtonClick(): void;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<EventsSettingsPageComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<EventsSettingsPageComponent, "symphony-events-settings-page", never, { "model": "model"; }, { "keywordSearchChange": "keywordSearchChange"; "gridActionsSelectedOption": "gridActionsSelectedOption"; "addButtonClicked": "addButtonClicked"; }, never, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<EventsSettingsPageComponent, "symphony-events-settings-page", never, { "model": "model"; }, { "keywordSearchChange": "keywordSearchChange"; "gridActionsSelectedOption": "gridActionsSelectedOption"; "addButtonClicked": "addButtonClicked"; }, never, ["filter-one"]>;
17
17
  }
@@ -10,5 +10,4 @@ export interface EventsSettingsPageModel {
10
10
  grid: GridModel;
11
11
  gridTitle: string;
12
12
  overrideSettingTypeFilterPlaceholder: boolean;
13
- overrideGridPlaceholder: boolean;
14
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symphony-talent/component-library",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "tslib": "^1.10.0"
@@ -0,0 +1,290 @@
1
+ // Spacing
2
+ $space-0: 0px;
3
+ $space-5: 0.3rem;
4
+ $space-10: 0.625rem;
5
+ $space-15: 0.9375rem;
6
+ $space-20: 1.25rem;
7
+ $space-25: 1.5625rem;
8
+ $space-30: 1.875rem;
9
+ $space-35: 2.1875rem;
10
+ $space-40: 2.5rem;
11
+ $space-50: 3.125rem;
12
+ $space-75: 4.688rem;
13
+
14
+ // ***** PADDING ***** //
15
+ // Padding all round
16
+ .sfx-p-0 {
17
+ padding: $space-0;
18
+ }
19
+ .sfx-p-5 {
20
+ padding: $space-5;
21
+ }
22
+ .sfx-p-10 {
23
+ padding: $space-10;
24
+ }
25
+ .sfx-p-15 {
26
+ padding: $space-15;
27
+ }
28
+ .sfx-p-20 {
29
+ padding: $space-20;
30
+ }
31
+ .sfx-p-30 {
32
+ padding: $space-30;
33
+ }
34
+ // End Padding all round
35
+ // Padding top
36
+ .sfx-pt-0 {
37
+ padding-top: $space-0;
38
+ }
39
+ .sfx-pt-5 {
40
+ padding-top: $space-5;
41
+ }
42
+ .sfx-pt-10 {
43
+ padding-top: $space-10;
44
+ }
45
+ .sfx-pt-15 {
46
+ padding-top: $space-15;
47
+ }
48
+ .sfx-pt-20 {
49
+ padding-top: $space-20;
50
+ }
51
+ .sfx-pt-25 {
52
+ padding-top: $space-25;
53
+ }
54
+ .sfx-pt-30 {
55
+ padding-top: $space-30;
56
+ }
57
+ .sfx-pt-35 {
58
+ padding-top: $space-35;
59
+ }
60
+ .sfx-pt-40 {
61
+ padding-top: $space-40;
62
+ }
63
+ .sfx-pt-50 {
64
+ padding-top: $space-50;
65
+ }
66
+ // End Padding top
67
+ // Padding bottom
68
+ .sfx-pb-0 {
69
+ padding-bottom: $space-0;
70
+ }
71
+ .sfx-pb-5 {
72
+ padding-bottom: $space-5;
73
+ }
74
+ .sfx-pb-10 {
75
+ padding-bottom: $space-10;
76
+ }
77
+ .sfx-pb-15 {
78
+ padding-bottom: $space-15;
79
+ }
80
+ .sfx-pb-20 {
81
+ padding-bottom: $space-20;
82
+ }
83
+ .sfx-pb-25 {
84
+ padding-bottom: $space-25;
85
+ }
86
+ .sfx-pb-30 {
87
+ padding-bottom: $space-30;
88
+ }
89
+ .sfx-pb-35 {
90
+ padding-bottom: $space-35;
91
+ }
92
+ .sfx-pb-40 {
93
+ padding-bottom: $space-40;
94
+ }
95
+ .sfx-pb-50 {
96
+ padding-bottom: $space-50;
97
+ }
98
+ // End Padding bottom
99
+ // Padding left
100
+ .sfx-pl-0 {
101
+ padding-left: $space-0;
102
+ }
103
+ .sfx-pl-5 {
104
+ padding-left: $space-5;
105
+ }
106
+ .sfx-pl-10 {
107
+ padding-left: $space-10;
108
+ }
109
+ .sfx-pl-15 {
110
+ padding-left: $space-15;
111
+ }
112
+ .sfx-pl-20 {
113
+ padding-left: $space-20;
114
+ }
115
+ .sfx-pl-25 {
116
+ padding-left: $space-25;
117
+ }
118
+ .sfx-pl-30 {
119
+ padding-left: $space-30;
120
+ }
121
+ // End Padding left
122
+ // Padding right
123
+ .sfx-pr-0 {
124
+ padding-right: $space-0;
125
+ }
126
+ .sfx-pr-5 {
127
+ padding-right: $space-5;
128
+ }
129
+ .sfx-pr-10 {
130
+ padding-right: $space-10;
131
+ }
132
+ .sfx-pr-15 {
133
+ padding-right: $space-15;
134
+ }
135
+ .sfx-pr-20 {
136
+ padding-right: $space-20;
137
+ }
138
+ .sfx-pr-25 {
139
+ padding-right: $space-25;
140
+ }
141
+ .sfx-pr-30 {
142
+ padding-right: $space-30;
143
+ }
144
+ // End Padding right
145
+ // Padding y-axis
146
+ .sfx-py-15 {
147
+ padding-left: $space-15;
148
+ padding-right: $space-15;
149
+ }
150
+ .sfx-py-30 {
151
+ padding-left: $space-30;
152
+ padding-right: $space-30;
153
+ }
154
+ // End Padding y-axis
155
+ // Padding x-axis
156
+ .sfx-px-0 {
157
+ padding-top: $space-0;
158
+ padding-bottom: $space-0;
159
+ }
160
+ .sfx-px-15 {
161
+ padding-top: $space-15;
162
+ padding-bottom: $space-15;
163
+ }
164
+ .sfx-px-30 {
165
+ padding-top: $space-30;
166
+ padding-bottom: $space-30;
167
+ }
168
+ // End Padding x-axis
169
+ // ***** END PADDING ***** //
170
+
171
+ // ***** MARGIN ***** //
172
+ // Margin all round
173
+ .sfx-m-0 {
174
+ margin: $space-0;
175
+ }
176
+ .sfx-m-5 {
177
+ margin: $space-5;
178
+ }
179
+ .sfx-m-10 {
180
+ margin: $space-10;
181
+ }
182
+ .sfx-m-15 {
183
+ margin: $space-15;
184
+ }
185
+ .sfx-m-20 {
186
+ margin: $space-20;
187
+ }
188
+ .sfx-m-auto {
189
+ margin: 0 auto;
190
+ }
191
+ // End Margin all round
192
+ // Margin top
193
+ .sfx-mt-0 {
194
+ margin-top: $space-0;
195
+ }
196
+ .sfx-mt-5 {
197
+ margin-top: $space-5;
198
+ }
199
+ .sfx-mt-10 {
200
+ margin-top: $space-10;
201
+ }
202
+ .sfx-mt-15 {
203
+ margin-top: $space-15;
204
+ }
205
+ .sfx-mt-20 {
206
+ margin-top: $space-20;
207
+ }
208
+ .sfx-mt-25 {
209
+ margin-top: $space-25;
210
+ }
211
+ .sfx-mt-30 {
212
+ margin-top: $space-30;
213
+ }
214
+ .sfx-mt-40 {
215
+ margin-top: $space-40;
216
+ }
217
+ // End Margin top
218
+ // Margin bottom
219
+ .sfx-mb-0 {
220
+ margin-bottom: $space-0;
221
+ }
222
+ .sfx-mb-5 {
223
+ margin-bottom: $space-5;
224
+ }
225
+ .sfx-mb-10 {
226
+ margin-bottom: $space-10;
227
+ }
228
+ .sfx-mb-15 {
229
+ margin-bottom: $space-15;
230
+ }
231
+ .sfx-mb-20 {
232
+ margin-bottom: $space-20;
233
+ }
234
+ .sfx-mb-25 {
235
+ margin-bottom: $space-25;
236
+ }
237
+ .sfx-mb-30 {
238
+ margin-bottom: $space-30;
239
+ }
240
+ .sfx-mb-40 {
241
+ margin-bottom: $space-40;
242
+ }
243
+ // End Margin bottom
244
+ // Margin left
245
+ .sfx-ml-0 {
246
+ margin-left: $space-0;
247
+ }
248
+ .sfx-ml-5 {
249
+ margin-left: $space-5;
250
+ }
251
+ .sfx-ml-10 {
252
+ margin-left: $space-10;
253
+ }
254
+ .sfx-ml-15 {
255
+ margin-left: $space-15;
256
+ }
257
+ .sfx-ml-20 {
258
+ margin-left: $space-20;
259
+ }
260
+ .sfx-ml-auto {
261
+ margin-left: auto;
262
+ }
263
+ // End Margin left
264
+ // Margin right
265
+ .sfx-mr-0 {
266
+ margin-right: $space-0;
267
+ }
268
+ .sfx-mr-5 {
269
+ margin-right: $space-5;
270
+ }
271
+ .sfx-mr-10 {
272
+ margin-right: $space-10;
273
+ }
274
+ .sfx-mr-15 {
275
+ margin-right: $space-15;
276
+ }
277
+ .sfx-mr-20 {
278
+ margin-right: $space-20;
279
+ }
280
+ .sfx-mr-25 {
281
+ margin-right: $space-25;
282
+ }
283
+ .sfx-mr-30 {
284
+ margin-right: $space-30;
285
+ }
286
+ .sfx-mr-40 {
287
+ margin-right: $space-40;
288
+ }
289
+ // End Margin right
290
+ // ***** END MARGIN ***** //