@provoly/dashboard 0.22.4 → 0.22.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 (195) hide show
  1. package/dataset/style/_o-pry-dataset-card.scss +24 -2
  2. package/esm2022/admin/components/admin-abac-rules/admin-abac-rules-form/admin-abac-rules-form.component.mjs +1 -1
  3. package/esm2022/admin/components/admin-abac-rules/components/attribute-condition/attribute-condition.component.mjs +1 -1
  4. package/esm2022/admin/components/admin-abac-rules/components/metadata-condition/metadata-condition.component.mjs +1 -1
  5. package/esm2022/admin/components/admin-classes/admin-classes-customize/symbol/admin-classes-customize-symbol.component.mjs +1 -1
  6. package/esm2022/admin/components/admin-classes/admin-classes-customize/tooltip/admin-classes-customize-tooltip.component.mjs +1 -1
  7. package/esm2022/admin/components/admin-classes/admin-classes-form/admin-classes-form.component.mjs +1 -1
  8. package/esm2022/admin/components/admin-classes/admin-classes-view/admin-attributes-form/admin-attributes-form.component.mjs +3 -3
  9. package/esm2022/admin/components/admin-dataset/shared/admin-form-dataset/admin-form-dataset.component.mjs +1 -1
  10. package/esm2022/admin/components/admin-environment/admin-environment-form/admin-environment-form.component.mjs +1 -1
  11. package/esm2022/admin/components/admin-fields/admin-fields-form/admin-fields-form.component.mjs +1 -1
  12. package/esm2022/admin/components/admin-links/admin-links-new/admin-links-new.component.mjs +1 -1
  13. package/esm2022/admin/components/admin-metadata/shared/form-metadata/form-metadata.component.mjs +1 -1
  14. package/esm2022/admin/components/admin-metadata-rules/shared/admin-form-metadata-rules/admin-form-metadata-rules.component.mjs +1 -1
  15. package/esm2022/components/checkbox/checkbox.component.mjs +3 -3
  16. package/esm2022/components/metadata-editor/metadata-editor.component.mjs +1 -1
  17. package/esm2022/components/scheme-picker/scheme-picker.component.mjs +1 -1
  18. package/esm2022/dataset/components/dataset-card/dataset-card.component.mjs +3 -3
  19. package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +3 -3
  20. package/esm2022/dataset/components/dataset.component.mjs +3 -3
  21. package/esm2022/dataset/style/css.component.mjs +2 -2
  22. package/esm2022/filters/autocomplete/autocomplete.component.mjs +1 -1
  23. package/esm2022/filters/list/list-filter.component.mjs +1 -1
  24. package/esm2022/import/components/import.component.mjs +1 -1
  25. package/esm2022/lib/core/components/about/about.component.mjs +3 -3
  26. package/esm2022/lib/core/components/base-toolbox-action/base-toolbox-action.component.mjs +3 -3
  27. package/esm2022/lib/core/components/chips-selector/chips-selector.component.mjs +8 -4
  28. package/esm2022/lib/core/components/overlay/dialog-confirm.component.mjs +3 -3
  29. package/esm2022/lib/core/components/select/select.component.mjs +19 -8
  30. package/esm2022/lib/core/components/share/share.component.mjs +1 -1
  31. package/esm2022/lib/core/i18n/en.translations.mjs +7 -2
  32. package/esm2022/lib/core/i18n/fr.translations.mjs +7 -2
  33. package/esm2022/lib/core/store/image/image.service.mjs +4 -3
  34. package/esm2022/lib/dashboard/components/context-menu/object-edition/object-edition.component.mjs +3 -3
  35. package/esm2022/lib/dashboard/components/dashboard.component.mjs +3 -3
  36. package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-selector.component.mjs +3 -3
  37. package/esm2022/lib/dashboard/filter/components/filter-group/filter-group.component.mjs +3 -3
  38. package/esm2022/lib/dashboard/filter/style/css.component.mjs +2 -2
  39. package/esm2022/notification/store/notification.service.mjs +1 -1
  40. package/esm2022/notification/style/css.component.mjs +2 -2
  41. package/esm2022/pipeline/components/pipeline-editor/pipeline-editor.component.mjs +3 -3
  42. package/esm2022/pipeline-components/filter/component/filter.component.mjs +1 -1
  43. package/esm2022/pipeline-components/input-datasource/component/input-datasource.component.mjs +1 -1
  44. package/esm2022/pipeline-components/output-dataset/component/output-dataset.component.mjs +1 -1
  45. package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +1 -1
  46. package/esm2022/presentation/components/presentation.component.mjs +4 -3
  47. package/esm2022/presentation/style/css.component.mjs +2 -2
  48. package/esm2022/restitution/components/restitution/restitution.component.mjs +3 -3
  49. package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +3 -3
  50. package/esm2022/restitution/components/restitution-list/restitution-list.component.mjs +3 -3
  51. package/esm2022/restitution/components/restitution-list-item/restitution-list-item.component.mjs +3 -3
  52. package/esm2022/restitution/style/css.component.mjs +2 -2
  53. package/esm2022/search/search-home/search-home.component.mjs +2 -2
  54. package/esm2022/search/search-mono-class/components/search-condition/search-condition.component.mjs +1 -1
  55. package/esm2022/search/search-mono-class/components/search-mono-class/search-mono-class.component.mjs +1 -1
  56. package/esm2022/search/search-mono-class/components/search-order/search-order.component.mjs +1 -1
  57. package/esm2022/search/search-multi-class/components/multi-class-condition/multi-class-condition.component.mjs +1 -1
  58. package/esm2022/toolbox/components/automate-refresh/automate-refresh.component.mjs +3 -3
  59. package/esm2022/toolbox/components/clear-view/clear-view.component.mjs +3 -3
  60. package/esm2022/toolbox/components/delete/delete.component.mjs +3 -3
  61. package/esm2022/toolbox/components/drag-widgets/drag-widgets.component.mjs +3 -3
  62. package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +20 -8
  63. package/esm2022/toolbox/components/launch-tab/launch-tab.component.mjs +3 -3
  64. package/esm2022/toolbox/components/refresh-datasets/refresh-datasets.component.mjs +3 -3
  65. package/esm2022/toolbox/components/save-view/save-view.component.mjs +3 -3
  66. package/esm2022/toolbox/components/select-grid-layout/select-grid-layout.component.mjs +3 -3
  67. package/esm2022/toolbox/components/share/share.component.mjs +4 -3
  68. package/esm2022/toolbox/components/switch-to-edit-content/switch-to-edit-content.component.mjs +3 -3
  69. package/esm2022/toolbox/components/toolbox.component.mjs +13 -3
  70. package/esm2022/toolbox/style/css.component.mjs +2 -2
  71. package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +3 -3
  72. package/esm2022/widgets/widget-chart/component/widget-chart.component.mjs +1 -1
  73. package/esm2022/widgets/widget-graph/component/widget-graph.component.mjs +1 -1
  74. package/esm2022/widgets/widget-map/component/widget-map.component.mjs +7 -7
  75. package/esm2022/widgets/widget-map/pipe/widget-map-legend-url.pipe.mjs +3 -2
  76. package/esm2022/widgets/widget-map/style/css.component.mjs +3 -3
  77. package/esm2022/widgets/widget-map/utils/widget-map.utils.mjs +5 -1
  78. package/esm2022/widgets/widget-table/component/widget-table.component.mjs +1 -1
  79. package/esm2022/widgets/widget-tile/component/widget-tile.component.mjs +1 -1
  80. package/fesm2022/provoly-dashboard-admin.mjs +14 -14
  81. package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
  82. package/fesm2022/provoly-dashboard-components-checkbox.mjs +2 -2
  83. package/fesm2022/provoly-dashboard-components-checkbox.mjs.map +1 -1
  84. package/fesm2022/provoly-dashboard-components-metadata-editor.mjs +1 -1
  85. package/fesm2022/provoly-dashboard-components-metadata-editor.mjs.map +1 -1
  86. package/fesm2022/provoly-dashboard-components-scheme-picker.mjs +1 -1
  87. package/fesm2022/provoly-dashboard-components-scheme-picker.mjs.map +1 -1
  88. package/fesm2022/provoly-dashboard-dataset.mjs +8 -8
  89. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  90. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs +1 -1
  91. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs.map +1 -1
  92. package/fesm2022/provoly-dashboard-filters-list.mjs +1 -1
  93. package/fesm2022/provoly-dashboard-filters-list.mjs.map +1 -1
  94. package/fesm2022/provoly-dashboard-import.mjs +1 -1
  95. package/fesm2022/provoly-dashboard-import.mjs.map +1 -1
  96. package/fesm2022/provoly-dashboard-notification.mjs +2 -2
  97. package/fesm2022/provoly-dashboard-notification.mjs.map +1 -1
  98. package/fesm2022/provoly-dashboard-pipeline-components-filter.mjs +1 -1
  99. package/fesm2022/provoly-dashboard-pipeline-components-filter.mjs.map +1 -1
  100. package/fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs +1 -1
  101. package/fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs.map +1 -1
  102. package/fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs +1 -1
  103. package/fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs.map +1 -1
  104. package/fesm2022/provoly-dashboard-pipeline.mjs +2 -2
  105. package/fesm2022/provoly-dashboard-pipeline.mjs.map +1 -1
  106. package/fesm2022/provoly-dashboard-presentation.mjs +6 -5
  107. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  108. package/fesm2022/provoly-dashboard-restitution.mjs +10 -10
  109. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  110. package/fesm2022/provoly-dashboard-search.mjs +5 -5
  111. package/fesm2022/provoly-dashboard-search.mjs.map +1 -1
  112. package/fesm2022/provoly-dashboard-toolbox.mjs +54 -31
  113. package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
  114. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +2 -2
  115. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
  116. package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs +1 -1
  117. package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs.map +1 -1
  118. package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs +1 -1
  119. package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs.map +1 -1
  120. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +13 -8
  121. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
  122. package/fesm2022/provoly-dashboard-widgets-widget-table.mjs +1 -1
  123. package/fesm2022/provoly-dashboard-widgets-widget-table.mjs.map +1 -1
  124. package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs +1 -1
  125. package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs.map +1 -1
  126. package/fesm2022/provoly-dashboard.mjs +57 -31
  127. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  128. package/lib/core/components/overlay/dialog-confirm.component.d.ts +1 -1
  129. package/lib/core/components/select/select.component.d.ts +2 -1
  130. package/lib/core/i18n/en.translations.d.ts +5 -0
  131. package/lib/core/i18n/fr.translations.d.ts +5 -0
  132. package/lib/dashboard/filter/style/_o-pry-filter-group.scss +1 -1
  133. package/notification/style/_m-notifications.scss +4 -10
  134. package/package.json +19 -19
  135. package/presentation/style/_o-pry-new-presentation.scss +0 -4
  136. package/presentation/style/_o-pry-presentation.scss +6 -1
  137. package/restitution/style/_o-restitution-list.scss +1 -1
  138. package/styles/abstracts/_mixins.scss +13 -0
  139. package/styles/components/_a-btn.scss +8 -26
  140. package/styles/components/_a-chip.scss +13 -0
  141. package/styles/components/_m-info-icon.scss +2 -3
  142. package/styles/components/{_o-datasources.scss → _o-chips-selector.scss} +3 -4
  143. package/styles/components/_o-dashboard.scss +41 -7
  144. package/styles/components/_o-modal.scss +1 -1
  145. package/styles/components/_o-widget.scss +5 -5
  146. package/styles/layout/_o-manifest-layout.scss +4 -0
  147. package/styles/libs/_reset-lib-ol.scss +9 -5
  148. package/styles/main.scss +7 -7
  149. package/styles-theme/abstracts-theme/_abstracts-overlays.theme.scss +6 -0
  150. package/styles-theme/abstracts-theme/variables/_variables-colors.scss +18 -25
  151. package/styles-theme/abstracts-theme/variables/_variables-decoration.scss +2 -2
  152. package/styles-theme/abstracts-theme/variables/_variables-typo.scss +2 -2
  153. package/styles-theme/components-theme/_a-btn.theme.scss +45 -72
  154. package/styles-theme/components-theme/_a-checkbox.theme.scss +3 -45
  155. package/styles-theme/components-theme/_a-chip.theme.scss +32 -0
  156. package/styles-theme/components-theme/_a-form-field.theme.scss +1 -1
  157. package/styles-theme/components-theme/_a-pry-select.theme.scss +11 -3
  158. package/styles-theme/components-theme/_a-toggle.theme.scss +7 -8
  159. package/styles-theme/components-theme/_m-filter.theme.scss +4 -13
  160. package/styles-theme/components-theme/_m-form-radio-group.theme.scss +17 -0
  161. package/styles-theme/components-theme/_m-info-icon.theme.scss +11 -0
  162. package/styles-theme/components-theme/_m-minus-plus.theme.scss +2 -2
  163. package/styles-theme/components-theme/_m-notifications.theme.scss +8 -4
  164. package/styles-theme/components-theme/_m-time-picker.theme.scss +1 -1
  165. package/styles-theme/components-theme/_o-catalog.theme.scss +1 -1
  166. package/styles-theme/components-theme/_o-date-picker.theme.scss +2 -2
  167. package/styles-theme/components-theme/_o-draggable-menu.theme.scss +2 -2
  168. package/styles-theme/components-theme/_o-multi-class-field-selection.theme.scss +1 -1
  169. package/styles-theme/components-theme/_o-object-panel.theme.scss +1 -1
  170. package/styles-theme/components-theme/_o-pry-admin-classes-customize.theme.scss +0 -9
  171. package/styles-theme/components-theme/_o-pry-dataset-card.theme.scss +8 -0
  172. package/styles-theme/components-theme/_o-pry-presentation.theme.scss +12 -14
  173. package/styles-theme/components-theme/_o-pry-search-tools.theme.scss +2 -13
  174. package/styles-theme/components-theme/_o-pry-stepper.theme.scss +6 -8
  175. package/styles-theme/components-theme/_o-restitution-list.theme.scss +1 -1
  176. package/styles-theme/components-theme/_o-search-fulltext.theme.scss +2 -2
  177. package/styles-theme/components-theme/_o-search-multi-class.theme.scss +0 -5
  178. package/styles-theme/components-theme/_o-settings.theme.scss +1 -1
  179. package/styles-theme/components-theme/_o-tabs.theme.scss +1 -1
  180. package/styles-theme/components-theme/_o-widget-iframe.theme.scss +2 -2
  181. package/styles-theme/components-theme/_o-widget.theme.scss +31 -2
  182. package/styles-theme/components-theme/_overlay.theme.scss +3 -3
  183. package/styles-theme/layout-theme/_o-base-layout.theme.scss +3 -3
  184. package/styles-theme/layout-theme/_o-manifest-layout.theme.scss +8 -2
  185. package/styles-theme/libs-theme/_reset-lib-ol.theme.scss +12 -3
  186. package/styles-theme/main-theme.scss +5 -4
  187. package/toolbox/components/filter-settings/filter-settings.component.d.ts +3 -2
  188. package/toolbox/components/toolbox.component.d.ts +3 -1
  189. package/toolbox/style/_o-filter-settings.scss +0 -4
  190. package/toolbox/style/_o-toolbox.scss +2 -26
  191. package/widgets/widget-map/pipe/widget-map-legend-url.pipe.d.ts +1 -1
  192. package/widgets/widget-map/style/{_o-layer-legend.scss → _m-layer-legend.scss} +7 -8
  193. package/widgets/widget-map/style/_o-widget-map.scss +2 -2
  194. package/styles/components/_a-chips.scss +0 -15
  195. package/styles-theme/components-theme/_o-datasources.theme.scss +0 -41
@@ -2,24 +2,19 @@
2
2
 
3
3
  // Primary palette
4
4
  $theme-colors-primary: (
5
- 50: #ffffff,
6
- 100: #f9fafb,
7
- 200: #f5f7f9,
8
- 300: #dfe5ec,
9
- 400: #bccad8,
10
- 500: #7b96b2,
11
- 600: #3e546a,
12
- 700: #263340,
13
- 800: #131920,
5
+ 50: #FFFFFF,
6
+ 100: #F9FAFB,
7
+ 200: #F5F7F9,
8
+ 300: #D8E7F7, // hover - card, button ("Bleu Clair" in figma)
9
+ 400: #BCCAD8, //filter border
10
+ 500: #7B96B2,
11
+ 600: #113B6E, // new primary color
12
+ 700: #3E546A, // all typography
13
+ 750: #263340, // typography - titles, categories
14
+ 800: #131920, // focus, active button
15
+
14
16
  'contrast': (
15
- 50: #263340,
16
- 100: #263340,
17
- 200: #263340,
18
- 400: #263340,
19
- 500: #ffffff,
20
- 600: #ffffff,
21
- 700: #ffffff,
22
- 800: #ffffff
17
+ 50: #FFFFFF,
23
18
  )
24
19
  );
25
20
 
@@ -32,14 +27,9 @@ $theme-colors-accent: (
32
27
  600: #40b688,
33
28
  700: #3caa7f,
34
29
  800: #328f6b,
30
+
35
31
  'contrast': (
36
- 50: #263340,
37
- 100: #ffffff,
38
- 400: #ffffff,
39
- 500: #ffffff,
40
- 600: #ffffff,
41
- 700: #ffffff,
42
- 800: #ffffff
32
+ 50: #ffffff,
43
33
  )
44
34
  );
45
35
 
@@ -48,10 +38,13 @@ $theme-colors-grey: (
48
38
  50: #fafafa,
49
39
  100: #f5f5f5,
50
40
  200: #eeeeee,
41
+ 300: #DFE5EC, // card inner border
51
42
  400: #bdbdbd,
52
43
  500: #9e9e9e,
53
44
  600: #757575,
45
+ 800: #424B5A, // filter label ("Grey Primary" in Figma)
54
46
  1000: #000000,
47
+
55
48
  'contrast': (
56
49
  50: #263340,
57
50
  100: #263340,
@@ -65,7 +58,7 @@ $theme-colors-grey: (
65
58
 
66
59
  // Status palette
67
60
  $theme-colors-status: (
68
- 'ok': #35b99f,
61
+ 'ok': #0AC865,
69
62
  'warning': #f8cd59,
70
63
  'error': #fc5640,
71
64
  'active': #242a47,
@@ -8,14 +8,14 @@
8
8
  $theme-focus-visible: (
9
9
  'border-color-light': white,
10
10
  'border-color-dark': #35b99f,
11
- 'border-radius': 22px
11
+ 'border-radius': 5px
12
12
  );
13
13
 
14
14
  // Border-radius
15
15
  $theme-border-radius: (
16
16
  'scrollbar-thumb': 6px,
17
17
  'button': (
18
- 'default': 22px
18
+ 'default': 5px
19
19
  ),
20
20
  'checkbox': 3px,
21
21
  'card': (
@@ -59,8 +59,8 @@ $theme-typography: (
59
59
  'button': (
60
60
  'font-family': '',
61
61
  'font-variation': '',
62
- 'font-size': 16px,
63
- 'line-height': 18px,
62
+ 'font-size': 14px,
63
+ 'line-height': 16px,
64
64
  'letter-spacing': '',
65
65
  'font-weight': 400,
66
66
  'font-style': ''
@@ -1,4 +1,5 @@
1
1
  @use '../../styles/abstracts' as *;
2
+ @use '../../styles/base/utils' as *;
2
3
  @use '../abstracts-theme/variables.theme' as *;
3
4
 
4
5
  /* Theme - Atom a-btn */
@@ -9,108 +10,73 @@
9
10
 
10
11
  // Default btn settings
11
12
  border-radius: $btn-radius-default;
12
- color: themed($theme-map, 'color', 'graph', 01);
13
+ border-color: themed($theme-map, 'color', 'primary', 600);
14
+ color: themed($theme-map, 'color', 'primary', 600);
13
15
  @include typography-level(themed($theme-map, 'typography', 'button'));
14
16
 
15
17
  &--primary,
16
18
  &.a-btn--primary.-circle {
17
- color: themed($theme-map, 'color', 'accent', 'contrast', 600);
18
- background-color: themed($theme-map, 'color', 'accent', 600);
19
+ border-width: 1px;
20
+ color: themed($theme-map, 'color', 'primary', 'contrast', 50);
21
+ background-color: themed($theme-map, 'color', 'primary', 600);
19
22
 
20
23
  &:hover {
21
- color: themed($theme-map, 'color', 'accent', 'contrast', 700);
22
- background-color: themed($theme-map, 'color', 'accent', 700);
24
+ @include changeBgColor(
25
+ $targetBgColor: themed($theme-map, 'color', 'primary', 300),
26
+ $targetTextColor: themed($theme-map, 'color', 'primary', 600),
27
+ $targetBorderColor: themed($theme-map, 'color', 'primary', 600)
28
+ );
23
29
  }
24
30
 
25
31
  &:focus,
26
32
  &:active {
27
- color: themed($theme-map, 'color', 'accent', 'contrast', 800);
28
- background-color: themed($theme-map, 'color', 'accent', 800);
33
+ // TODO Jessica
34
+ @include changeBgColor(
35
+ $targetBgColor: themed($theme-map, 'color', 'primary', 800),
36
+ $targetTextColor: themed($theme-map, 'color', 'primary', 'contrast', 50)
37
+ );
29
38
  }
30
39
 
31
40
  &.-disabled,
32
41
  &:disabled {
33
- color: themed($theme-map, 'color', 'accent', 'contrast', 100);
34
- background-color: themed($theme-map, 'color', 'accent', 100);
42
+ opacity: 0.5;
35
43
  }
36
44
  }
37
45
 
38
46
  &--secondary,
39
47
  &.a-btn--secondary.-circle {
40
- border: 1px solid themed($theme-map, 'color', 'primary', 500);
41
- color: themed($theme-map, 'color', 'graph', 01);
42
- background-color: transparent;
48
+ border-width: 1px;
49
+ color: themed($theme-map, 'color', 'primary', 600);
50
+ background-color: themed($theme-map, 'color', 'primary', 'contrast', 50);
43
51
 
44
52
  &:hover {
45
- border: 1px solid themed($theme-map, 'color', 'primary', 600);
46
- color: themed($theme-map, 'color', 'graph', 01);
53
+ // TODO Jessica
54
+ @include changeBgColor(
55
+ $targetBgColor: themed($theme-map, 'color', 'primary', 300)
56
+ );
47
57
  }
48
58
 
49
59
  &:focus,
50
60
  &:active {
51
- border: 1px solid themed($theme-map, 'color', 'primary', 800);
52
- color: themed($theme-map, 'color', 'primary', 800);
61
+ // TODO Jessica
62
+ background-color: themed($theme-map, 'color', 'primary', 400);
53
63
  }
54
64
 
55
65
  &.-disabled,
56
66
  &:disabled {
57
- border: 1px solid themed($theme-map, 'color', 'primary', 400);
58
- color: themed($theme-map, 'color', 'primary', 400);
67
+ // TODO Jessica
68
+ opacity: 0.5;
59
69
  }
60
70
 
61
71
  &.is-active {
62
- background-color: themed($theme-map, 'color', 'primary', 300);
63
- }
64
- }
65
-
66
- &--tertiary {
67
- border: 2px themed($theme-map, 'color', 'primary', 400) solid;
68
- color: themed($theme-map, 'color', 'primary', 'contrast', 600);
69
- background-color: transparent;
70
-
71
- &:hover,
72
- &:active,
73
- &.is-active {
74
- border-color: themed($theme-map, 'color', 'primary', 400);
75
72
  background-color: themed($theme-map, 'color', 'primary', 400);
76
73
  }
77
74
  }
78
75
 
79
- &--ghost {
80
- color: themed($theme-map, 'color', 'primary', 600);
81
- background-color: transparent;
82
-
83
- &:hover,
84
- &:active {
85
- text-decoration: underline;
86
- }
87
- }
88
-
89
76
  &--icon-only {
90
77
  @include outlineOnFocus($border-radius: 5px);
91
78
  }
92
79
 
93
- &--real-ghost,
94
- &--real-ghost.-circle,
95
- &.a-btn--real-ghost.-circle {
96
- color: themed($theme-map, 'color', 'accent', 'contrast', 400);
97
- background-color: themed($theme-map, 'color', 'primary', 500);
98
-
99
- &:hover {
100
- background-color: themed($theme-map, 'color', 'accent', 600);
101
- }
102
-
103
- &:focus,
104
- &:active {
105
- background-color: themed($theme-map, 'color', 'accent', 700);
106
- }
107
-
108
- &.-disabled,
109
- &:disabled {
110
- background-color: themed($theme-map, 'color', 'accent', 100);
111
- }
112
- }
113
-
114
80
  &--action {
115
81
  @include outlineOnFocus($border-radius: 5px);
116
82
  border-radius: toRem(10);
@@ -120,7 +86,7 @@
120
86
  &:hover,
121
87
  &:active,
122
88
  &.is-active {
123
- color: themed($theme-map, 'color', 'primary', 'contrast', 400);
89
+ color: themed($theme-map, 'color', 'primary', 'contrast', 50);
124
90
  background-color: themed($theme-map, 'color', 'primary', 400);
125
91
  }
126
92
 
@@ -132,7 +98,7 @@
132
98
  // Action button displayed close to an form input field, icon + circle background (ex: add/remove)
133
99
  &--input-action {
134
100
  .a-icon {
135
- color: themed($theme-map, 'color', 'primary', 'contrast', 400);
101
+ color: themed($theme-map, 'color', 'primary', 'contrast', 50);
136
102
  }
137
103
 
138
104
  &:before {
@@ -148,7 +114,7 @@
148
114
 
149
115
  // Action add item, circled icon on left + text on right
150
116
  &--iconcircle-text {
151
- color: themed($theme-map, 'color', 'graph', 01);
117
+ color: themed($theme-map, 'color', 'primary', 700);
152
118
  font-weight: 400;
153
119
  font-size: 14px;
154
120
 
@@ -159,28 +125,35 @@
159
125
  }
160
126
 
161
127
  .a-icon {
162
- color: themed($theme-map, 'color', 'primary', 'contrast', 400);
128
+ color: themed($theme-map, 'color', 'primary', 'contrast', 50);
163
129
  }
164
130
  }
165
131
 
166
132
  &--select {
167
133
  border-radius: toRem(5);
168
134
  color: themed($theme-map, 'color', 'primary', 600);
169
- background-color: themed($theme-map, 'color', 'primary', 'contrast', 600);
135
+ background-color: themed($theme-map, 'color', 'primary', 'contrast', 50);
170
136
  font-weight: 400;
171
137
  }
172
138
 
173
139
  // Button more dots ( ...)
174
140
  &--more {
141
+ background-color: themed($theme-map, 'color', 'primary', 50);
175
142
  color: themed($theme-map, 'color', 'primary', 500);
176
143
 
177
- &:hover {
178
- color: themed($theme-map, 'color', 'primary', 600);
179
- background-color: themed($theme-map, 'color', 'primary', 200);
144
+ &:hover,
145
+ &:active {
146
+ @include changeBgColor(
147
+ $targetBgColor: themed($theme-map, 'color', 'primary', 600),
148
+ $targetTextColor: themed($theme-map, 'color', 'primary', 'contrast', 50),
149
+ $targetBorderColor: themed($theme-map, 'color', 'primary', 600)
150
+ );
180
151
  }
181
152
 
182
153
  &:active {
183
- background-color: themed($theme-map, 'color', 'primary', 300);
154
+ background-color:themed($theme-map, 'color', 'primary', 600);
155
+ color: themed($theme-map, 'color', 'primary', 'contrast', 50),
156
+
184
157
  }
185
158
 
186
159
  &:disabled {
@@ -210,6 +183,6 @@
210
183
  /* MODIFIERS */
211
184
 
212
185
  &.-circle {
213
- background: themed($theme-map, 'color', 'primary', 50);
186
+ background: themed($theme-map, 'color', 'primary', 'contrast', 50);
214
187
  }
215
188
  }
@@ -10,12 +10,12 @@
10
10
  border-radius: themed($theme-map, 'decoration', 'border-radius', 'checkbox');
11
11
 
12
12
  &:checked {
13
- border-color: themed($theme-map, 'color', 'accent', 600);
14
- background-color: themed($theme-map, 'color', 'accent', 600);
13
+ border-color: themed($theme-map, 'color', 'primary', 600);
14
+ background-color: themed($theme-map, 'color', 'primary', 600);
15
15
 
16
16
  &:before,
17
17
  &:after {
18
- background-color: themed($theme-map, 'color', 'accent', 'contrast', 600);
18
+ background-color: themed($theme-map, 'color', 'primary', 'contrast', 50);
19
19
  }
20
20
  }
21
21
  }
@@ -23,46 +23,4 @@
23
23
  &__text {
24
24
  @include typography-level(themed($theme-map, 'typography', 'form-field'));
25
25
  }
26
-
27
- /*&__input {
28
- // No focus-visible on button but on button__content
29
- &:focus {
30
- & ~ #{$this}__checkmark {
31
- outline: 2px solid themed($theme-map, 'decoration', 'focus-visible', 'border-color-dark');
32
- }
33
- }
34
- &:focus:not(:focus-visible) {
35
- & ~ #{$this}__checkmark {
36
- outline: 0;
37
- }
38
- }
39
- &:focus-visible {
40
- & ~ #{$this}--circle #{$this}__checkmark {
41
- @include eltFocusVisible(
42
- $color1: themed($theme-map, 'decoration', 'focus-visible', 'border-color-light'),
43
- $color2: themed($theme-map, 'decoration', 'focus-visible', 'border-color-dark'),
44
- $border-radius: 9px
45
- );
46
- }
47
- }
48
- }*/
49
-
50
- /*&--circle {
51
- #{$this}__checkmark {
52
- border-color: themed($theme-map, 'color', 'primary', 400);
53
- &:before {
54
- border-color: themed($theme-map, 'color', 'accent', 'contrast', 400);
55
- background-color: themed($theme-map, 'color', 'accent', 400);
56
- }
57
- }
58
- }*/
59
-
60
- /* &__text {
61
-
62
- }*/
63
-
64
- /*&__input:checked ~ #{$this}__checkmark {
65
- border-color: themed($theme-map, 'color', 'accent', 600);
66
- background-color: themed($theme-map, 'color', 'accent', 600);
67
- }*/
68
26
  }
@@ -0,0 +1,32 @@
1
+ @use '../../styles/abstracts' as *;
2
+ @use '../abstracts-theme/variables.theme' as *;
3
+
4
+ /* Theme Atom - chip */
5
+
6
+ .a-chip {
7
+ color: themed($theme-map, 'color', 'primary', 'contrast', 50);
8
+ background-color: themed($theme-map, 'color', 'primary', 600);
9
+
10
+ &:hover {
11
+ @include changeBgColor(
12
+ $targetBgColor: themed($theme-map, 'color', 'primary', 300),
13
+ $targetTextColor: themed($theme-map, 'color', 'primary', 600)
14
+ );
15
+ }
16
+
17
+ &.-not-found {
18
+ opacity: 0.4;
19
+ }
20
+
21
+ &--light {
22
+ background-color: themed($theme-map, 'color', 'primary', 50);
23
+ color: themed($theme-map, 'color', 'primary', 600);
24
+ box-shadow: 0px 4px 4px rgba(17, 59, 110, 0.12);
25
+
26
+ &:hover {
27
+ @include changeBgColor(
28
+ $targetBgColor: themed($theme-map, 'color', 'primary', 300)
29
+ );
30
+ }
31
+ }
32
+ }
@@ -8,7 +8,7 @@
8
8
  border-color: themed($theme-map, 'color', 'primary', 400);
9
9
  border-radius: toRem(4);
10
10
  color: themed($theme-map, 'color', 'graph', 01);
11
- background-color: themed($theme-map, 'color', 'primary', 'contrast', 700);
11
+ background-color: themed($theme-map, 'color', 'primary', 'contrast', 50);
12
12
 
13
13
  &[aria-invalid='true'] {
14
14
  border-color: themed($theme-map, 'color', 'status', 'error');
@@ -15,12 +15,16 @@
15
15
  &__value {
16
16
  &.-multiple {
17
17
  background-color: themed($theme-map, 'color', 'accent', 100);
18
+
19
+ &.-warn {
20
+ background-color: themed($theme-map, 'color', 'status', warning);
21
+ }
18
22
  }
19
23
  }
20
24
 
21
25
  &__options {
22
26
  color: themed($theme-map, 'color', 'graph', 01);
23
- background-color: themed($theme-map, 'color', 'primary', 'contrast', 700);
27
+ background-color: themed($theme-map, 'color', 'primary', 'contrast', 50);
24
28
  border: 1px solid themed($theme-map, 'color', 'primary', 400);
25
29
  box-shadow: 0 4px 4px #113b6e1f;
26
30
 
@@ -28,11 +32,11 @@
28
32
  background-color: #ffffff;
29
33
 
30
34
  &[aria-selected="true"], &:hover {
31
- background-color: themed($theme-map, 'color', 'accent', 50);
35
+ background-color: themed($theme-map, 'color', 'primary', 300);
32
36
  }
33
37
 
34
38
  &:hover {
35
- color: themed($theme-map, 'color', 'primary', 'contrast', 100);
39
+ color: themed($theme-map, 'color', 'primary', 750);
36
40
  }
37
41
  }
38
42
  }
@@ -45,4 +49,8 @@
45
49
  &__clear {
46
50
  color: themed($theme-map, 'color', 'grey', 500);
47
51
  }
52
+
53
+ &__toggle {
54
+ color: themed($theme-map, 'color', 'accent', 600);
55
+ }
48
56
  }
@@ -8,7 +8,6 @@
8
8
 
9
9
  &__display {
10
10
  border-color: themed($theme-map, 'color', 'primary', 400);
11
- // background-color: themed($theme-map, 'color', 'accent', 600);
12
11
 
13
12
  &:before {
14
13
  background-color: themed($theme-map, 'color', 'primary', 400);
@@ -20,11 +19,11 @@
20
19
  // Force background color
21
20
  &.-always-active {
22
21
  #{$this}__display {
23
- border-color: themed($theme-map, 'color', 'accent', 600);
24
- background-color: themed($theme-map, 'color', 'accent', 600);
22
+ border-color: themed($theme-map, 'color', 'primary', 600);
23
+ background-color: themed($theme-map, 'color', 'primary', 600);
25
24
 
26
25
  &:before {
27
- background-color: themed($theme-map, 'color', 'primary', 'contrast', 600);
26
+ background-color: themed($theme-map, 'color', 'primary', 'contrast', 50);
28
27
  }
29
28
  }
30
29
  }
@@ -32,7 +31,7 @@
32
31
  // Ex: ET/OU
33
32
  &.-txt-inside {
34
33
  #{$this}__display {
35
- color: themed($theme-map, 'color', 'accent', 'contrast', 400);
34
+ color: themed($theme-map, 'color', 'accent', 'contrast', 50);
36
35
  }
37
36
  }
38
37
  }
@@ -42,11 +41,11 @@
42
41
  // pressed/checked
43
42
  .a-toggle[aria-pressed='true'] .a-toggle__display,
44
43
  .a-toggle__input:checked + .a-toggle__display {
45
- border-color: themed($theme-map, 'color', 'accent', 600);
46
- background-color: themed($theme-map, 'color', 'accent', 600);
44
+ border-color: themed($theme-map, 'color', 'primary', 600);
45
+ background-color: themed($theme-map, 'color', 'primary', 600);
47
46
 
48
47
  &:before {
49
- background-color: themed($theme-map, 'color', 'accent', 'contrast', 600);
48
+ background-color: themed($theme-map, 'color', 'accent', 'contrast', 50);
50
49
  }
51
50
  }
52
51
 
@@ -10,7 +10,7 @@
10
10
  &__input-wrapper {
11
11
  border: 1px solid themed($theme-map, 'color', 'primary', 400);
12
12
  color: themed($theme-map, 'color', 'graph', 01);
13
- background-color: themed($theme-map, 'color', 'primary', 'contrast', 700);
13
+ background-color: themed($theme-map, 'color', 'primary', 'contrast', 50);
14
14
 
15
15
  .pry-select {
16
16
  font-size: 12px;
@@ -22,8 +22,8 @@
22
22
  border-color: themed($theme-map, 'color', 'accent', 600);
23
23
  }
24
24
 
25
- &:has(input:not(focus)) {
26
- outline:none;
25
+ &:has(input:not(:focus)) {
26
+ outline: none;
27
27
  border-color: themed($theme-map, 'color', 'primary', 400);
28
28
  }
29
29
  }
@@ -32,20 +32,11 @@
32
32
  background: transparent;
33
33
  font-size: 12px;
34
34
  font-weight: bold;
35
- color: #424B5A; // color for label taken from figma
35
+ color: themed($theme-map, 'color', 'grey', 800);
36
36
  }
37
37
 
38
38
  &__input {
39
39
  border: none transparent;
40
40
  font-size: 12px;
41
41
  }
42
-
43
- // colors that make the clear button look like the ng-select clear button
44
- &__clear-wrapper {
45
- color: #999999;
46
-
47
- &:hover {
48
- color: #D0021B
49
- }
50
- }
51
42
  }
@@ -0,0 +1,17 @@
1
+ @use '../../styles/abstracts' as *;
2
+ @use '../abstracts-theme/variables.theme' as *;
3
+
4
+ /* Theme - Molecule m-form-radio-group */
5
+
6
+ .m-form-radio-group {
7
+ &__item {
8
+ input[type="radio"] {
9
+ border-color: themed($theme-map, 'color', 'primary', 400);
10
+ accent-color: themed($theme-map, 'color', 'primary', 600);
11
+
12
+ &:checked {
13
+ border-color: themed($theme-map, 'color', 'primary', 400);
14
+ }
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,11 @@
1
+ @use '../../styles/abstracts' as *;
2
+ @use '../abstracts-theme/variables.theme' as *;
3
+
4
+ /* Theme - Molecule m-info-icon */
5
+
6
+ .m-info-icon {
7
+ border: 1px solid themed($theme-map, 'color', 'primary', 700);
8
+ font-size: toRem(10);
9
+ font-weight: 600;
10
+ font-family: Arial, sans-serif;
11
+ }
@@ -33,7 +33,7 @@
33
33
  #{$this}__btn__sign {
34
34
  &:before,
35
35
  &:after {
36
- background-color: themed($theme-map, 'color', 'accent', 'contrast', 500);
36
+ background-color: themed($theme-map, 'color', 'accent', 'contrast', 50);
37
37
  }
38
38
  }
39
39
 
@@ -43,7 +43,7 @@
43
43
 
44
44
  #{$this}__btn__sign:before,
45
45
  #{$this}__btn__sign:after {
46
- background-color: themed($theme-map, 'color', 'accent', 'contrast', 500);
46
+ background-color: themed($theme-map, 'color', 'accent', 'contrast', 50);
47
47
  }
48
48
  }
49
49
  }
@@ -4,18 +4,18 @@
4
4
  /* Theme Molecule - notifications */
5
5
  .m-notifications {
6
6
  .a-btn {
7
- color: themed($theme-map, 'color', 'accent', 600);
7
+ color: themed($theme-map, 'color', 'primary', 600);
8
8
 
9
9
  &:before {
10
- background-color: themed($theme-map, 'color', 'accent', 50);
10
+ background-color: themed($theme-map, 'color', 'primary', 300);
11
11
  }
12
12
 
13
13
  &:hover {
14
14
  transition: none;
15
- color: themed($theme-map, 'color', 'accent', 'contrast', 600);
15
+ color: themed($theme-map, 'color', 'primary', 'contrast', 50);
16
16
 
17
17
  &:before {
18
- background-color: themed($theme-map, 'color', 'accent', 600);
18
+ background-color: themed($theme-map, 'color', 'primary', 600);
19
19
  }
20
20
  }
21
21
  }
@@ -54,6 +54,10 @@
54
54
 
55
55
  &__items {
56
56
  &__li {
57
+ &:hover {
58
+ background-color: themed($theme-map, 'color', 'primary', 300);
59
+ }
60
+
57
61
  &__txt {
58
62
  .a-h3 {
59
63
  font-size: toRem(16);
@@ -22,7 +22,7 @@
22
22
  }
23
23
 
24
24
  &.-selected {
25
- color: themed($theme-map, 'color', 'primary', 'contrast', 600);
25
+ color: themed($theme-map, 'color', 'primary', 'contrast', 50);
26
26
  background-color: themed($theme-map, 'color', 'primary', 600);
27
27
  font-weight: 500;
28
28
 
@@ -41,7 +41,7 @@
41
41
  background-color: themed($theme-map, 'color', 'primary', 600);
42
42
 
43
43
  .a-icon {
44
- color: themed($theme-map, 'color', 'primary', 'contrast', 600);
44
+ color: themed($theme-map, 'color', 'primary', 'contrast', 50);
45
45
  }
46
46
  }
47
47
  }