@provoly/dashboard 0.22.4 → 0.22.6

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 (228) hide show
  1. package/README.md +0 -2
  2. package/admin/components/admin-classes/admin-classes-customize/tooltip/admin-classes-customize-tooltip.component.d.ts +8 -4
  3. package/dataset/style/_o-pry-dataset-card.scss +24 -2
  4. package/esm2022/admin/components/admin-abac-rules/admin-abac-rules-form/admin-abac-rules-form.component.mjs +1 -1
  5. package/esm2022/admin/components/admin-abac-rules/components/attribute-condition/attribute-condition.component.mjs +1 -1
  6. package/esm2022/admin/components/admin-abac-rules/components/metadata-condition/metadata-condition.component.mjs +1 -1
  7. package/esm2022/admin/components/admin-classes/admin-classes-customize/admin-classes-customize.component.mjs +7 -6
  8. package/esm2022/admin/components/admin-classes/admin-classes-customize/symbol/admin-classes-customize-symbol.component.mjs +1 -1
  9. package/esm2022/admin/components/admin-classes/admin-classes-customize/tooltip/admin-classes-customize-tooltip.component.mjs +44 -30
  10. package/esm2022/admin/components/admin-classes/admin-classes-form/admin-classes-form.component.mjs +1 -1
  11. package/esm2022/admin/components/admin-classes/admin-classes-view/admin-attributes-form/admin-attributes-form.component.mjs +3 -3
  12. package/esm2022/admin/components/admin-dataset/shared/admin-form-dataset/admin-form-dataset.component.mjs +1 -1
  13. package/esm2022/admin/components/admin-environment/admin-environment-form/admin-environment-form.component.mjs +1 -1
  14. package/esm2022/admin/components/admin-fields/admin-fields-form/admin-fields-form.component.mjs +1 -1
  15. package/esm2022/admin/components/admin-links/admin-links-new/admin-links-new.component.mjs +1 -1
  16. package/esm2022/admin/components/admin-menu/admin-menu.component.mjs +3 -3
  17. package/esm2022/admin/components/admin-metadata/shared/form-metadata/form-metadata.component.mjs +1 -1
  18. package/esm2022/admin/components/admin-metadata-rules/shared/admin-form-metadata-rules/admin-form-metadata-rules.component.mjs +1 -1
  19. package/esm2022/components/checkbox/checkbox.component.mjs +3 -3
  20. package/esm2022/components/metadata-editor/metadata-editor.component.mjs +1 -1
  21. package/esm2022/components/scheme-picker/scheme-picker.component.mjs +1 -1
  22. package/esm2022/dataset/components/dataset-card/dataset-card.component.mjs +3 -3
  23. package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +3 -3
  24. package/esm2022/dataset/components/dataset.component.mjs +3 -3
  25. package/esm2022/dataset/style/css.component.mjs +2 -2
  26. package/esm2022/filters/autocomplete/autocomplete.component.mjs +1 -1
  27. package/esm2022/filters/list/list-filter.component.mjs +1 -1
  28. package/esm2022/import/components/import.component.mjs +1 -1
  29. package/esm2022/lib/core/components/about/about.component.mjs +3 -3
  30. package/esm2022/lib/core/components/base-menu/base-menu.component.mjs +3 -3
  31. package/esm2022/lib/core/components/base-toolbox-action/base-toolbox-action.component.mjs +3 -3
  32. package/esm2022/lib/core/components/chips-selector/chips-selector.component.mjs +8 -4
  33. package/esm2022/lib/core/components/overlay/dialog-confirm.component.mjs +3 -3
  34. package/esm2022/lib/core/components/select/select.component.mjs +21 -9
  35. package/esm2022/lib/core/components/select/select.module.mjs +5 -4
  36. package/esm2022/lib/core/components/select-image/select-image.component.mjs +2 -2
  37. package/esm2022/lib/core/components/share/share.component.mjs +1 -1
  38. package/esm2022/lib/core/i18n/en.translations.mjs +7 -2
  39. package/esm2022/lib/core/i18n/fr.translations.mjs +8 -3
  40. package/esm2022/lib/core/store/image/image.service.mjs +4 -3
  41. package/esm2022/lib/dashboard/components/context-menu/object-edition/object-edition.component.mjs +3 -3
  42. package/esm2022/lib/dashboard/components/dashboard.component.mjs +3 -3
  43. package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-selector.component.mjs +3 -3
  44. package/esm2022/lib/dashboard/components/widgets/header/widget-header.component.mjs +2 -2
  45. package/esm2022/lib/dashboard/components/widgets/widget-instanciator/widget-factory.service.mjs +16 -1
  46. package/esm2022/lib/dashboard/filter/components/filter-group/filter-group.component.mjs +3 -3
  47. package/esm2022/lib/dashboard/filter/style/css.component.mjs +2 -2
  48. package/esm2022/lib/dashboard/item-utils.mjs +2 -2
  49. package/esm2022/lib/dashboard/store/dashboard.selectors.mjs +1 -4
  50. package/esm2022/lib/dashboard/store/refresh.service.mjs +14 -9
  51. package/esm2022/notification/store/notification.service.mjs +1 -1
  52. package/esm2022/notification/style/css.component.mjs +2 -2
  53. package/esm2022/pipeline/components/pipeline-editor/pipeline-editor.component.mjs +3 -3
  54. package/esm2022/pipeline-components/filter/component/filter.component.mjs +1 -1
  55. package/esm2022/pipeline-components/input-datasource/component/input-datasource.component.mjs +1 -1
  56. package/esm2022/pipeline-components/output-dataset/component/output-dataset.component.mjs +1 -1
  57. package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +1 -1
  58. package/esm2022/presentation/components/presentation.component.mjs +4 -3
  59. package/esm2022/presentation/style/css.component.mjs +2 -2
  60. package/esm2022/restitution/components/restitution/restitution.component.mjs +3 -3
  61. package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +3 -3
  62. package/esm2022/restitution/components/restitution-list/restitution-list.component.mjs +3 -3
  63. package/esm2022/restitution/components/restitution-list-item/restitution-list-item.component.mjs +3 -3
  64. package/esm2022/restitution/style/css.component.mjs +2 -2
  65. package/esm2022/search/search-home/search-home.component.mjs +2 -2
  66. package/esm2022/search/search-mono-class/components/search-condition/search-condition.component.mjs +1 -1
  67. package/esm2022/search/search-mono-class/components/search-mono-class/search-mono-class.component.mjs +1 -1
  68. package/esm2022/search/search-mono-class/components/search-order/search-order.component.mjs +1 -1
  69. package/esm2022/search/search-multi-class/components/multi-class-condition/multi-class-condition.component.mjs +1 -1
  70. package/esm2022/toolbox/components/automate-refresh/automate-refresh.component.mjs +13 -10
  71. package/esm2022/toolbox/components/clear-view/clear-view.component.mjs +3 -3
  72. package/esm2022/toolbox/components/delete/delete.component.mjs +3 -3
  73. package/esm2022/toolbox/components/drag-widgets/drag-widgets.component.mjs +3 -3
  74. package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +20 -8
  75. package/esm2022/toolbox/components/launch-tab/launch-tab.component.mjs +3 -3
  76. package/esm2022/toolbox/components/refresh-datasets/refresh-datasets.component.mjs +20 -18
  77. package/esm2022/toolbox/components/save-view/save-view.component.mjs +3 -3
  78. package/esm2022/toolbox/components/select-grid-layout/select-grid-layout.component.mjs +3 -3
  79. package/esm2022/toolbox/components/share/share.component.mjs +4 -3
  80. package/esm2022/toolbox/components/switch-to-edit-content/switch-to-edit-content.component.mjs +3 -3
  81. package/esm2022/toolbox/components/toolbox.component.mjs +19 -6
  82. package/esm2022/toolbox/style/css.component.mjs +2 -2
  83. package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +3 -3
  84. package/esm2022/widgets/widget-aggregated-chart/style/css.component.mjs +2 -2
  85. package/esm2022/widgets/widget-chart/component/widget-chart.component.mjs +1 -1
  86. package/esm2022/widgets/widget-graph/component/widget-graph.component.mjs +4 -5
  87. package/esm2022/widgets/widget-graph/style/css.component.mjs +2 -2
  88. package/esm2022/widgets/widget-map/component/widget-map.component.mjs +8 -8
  89. package/esm2022/widgets/widget-map/pipe/widget-map-legend-url.pipe.mjs +3 -2
  90. package/esm2022/widgets/widget-map/style/css.component.mjs +3 -3
  91. package/esm2022/widgets/widget-map/utils/widget-map.utils.mjs +5 -1
  92. package/esm2022/widgets/widget-table/component/widget-table.component.mjs +1 -1
  93. package/esm2022/widgets/widget-tile/component/widget-tile.component.mjs +1 -1
  94. package/fesm2022/provoly-dashboard-admin.mjs +62 -47
  95. package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
  96. package/fesm2022/provoly-dashboard-components-checkbox.mjs +2 -2
  97. package/fesm2022/provoly-dashboard-components-checkbox.mjs.map +1 -1
  98. package/fesm2022/provoly-dashboard-components-metadata-editor.mjs +1 -1
  99. package/fesm2022/provoly-dashboard-components-metadata-editor.mjs.map +1 -1
  100. package/fesm2022/provoly-dashboard-components-scheme-picker.mjs +1 -1
  101. package/fesm2022/provoly-dashboard-components-scheme-picker.mjs.map +1 -1
  102. package/fesm2022/provoly-dashboard-dataset.mjs +8 -8
  103. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  104. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs +1 -1
  105. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs.map +1 -1
  106. package/fesm2022/provoly-dashboard-filters-list.mjs +1 -1
  107. package/fesm2022/provoly-dashboard-filters-list.mjs.map +1 -1
  108. package/fesm2022/provoly-dashboard-import.mjs +1 -1
  109. package/fesm2022/provoly-dashboard-import.mjs.map +1 -1
  110. package/fesm2022/provoly-dashboard-notification.mjs +2 -2
  111. package/fesm2022/provoly-dashboard-notification.mjs.map +1 -1
  112. package/fesm2022/provoly-dashboard-pipeline-components-filter.mjs +1 -1
  113. package/fesm2022/provoly-dashboard-pipeline-components-filter.mjs.map +1 -1
  114. package/fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs +1 -1
  115. package/fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs.map +1 -1
  116. package/fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs +1 -1
  117. package/fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs.map +1 -1
  118. package/fesm2022/provoly-dashboard-pipeline.mjs +2 -2
  119. package/fesm2022/provoly-dashboard-pipeline.mjs.map +1 -1
  120. package/fesm2022/provoly-dashboard-presentation.mjs +6 -5
  121. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  122. package/fesm2022/provoly-dashboard-restitution.mjs +10 -10
  123. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  124. package/fesm2022/provoly-dashboard-search.mjs +5 -5
  125. package/fesm2022/provoly-dashboard-search.mjs.map +1 -1
  126. package/fesm2022/provoly-dashboard-toolbox.mjs +83 -52
  127. package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
  128. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +4 -4
  129. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
  130. package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs +1 -1
  131. package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs.map +1 -1
  132. package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs +5 -6
  133. package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs.map +1 -1
  134. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +14 -9
  135. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
  136. package/fesm2022/provoly-dashboard-widgets-widget-table.mjs +1 -1
  137. package/fesm2022/provoly-dashboard-widgets-widget-table.mjs.map +1 -1
  138. package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs +1 -1
  139. package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs.map +1 -1
  140. package/fesm2022/provoly-dashboard.mjs +108 -65
  141. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  142. package/lib/core/components/overlay/dialog-confirm.component.d.ts +1 -1
  143. package/lib/core/components/select/select.component.d.ts +2 -1
  144. package/lib/core/components/select/select.module.d.ts +2 -1
  145. package/lib/core/i18n/en.translations.d.ts +5 -0
  146. package/lib/core/i18n/fr.translations.d.ts +5 -0
  147. package/lib/dashboard/components/widgets/header/widget-header.component.d.ts +1 -1
  148. package/lib/dashboard/components/widgets/widget-instanciator/widget-factory.service.d.ts +8 -1
  149. package/lib/dashboard/filter/style/_o-pry-filter-group.scss +1 -1
  150. package/lib/dashboard/store/dashboard.selectors.d.ts +0 -13
  151. package/lib/dashboard/store/refresh.service.d.ts +3 -1
  152. package/notification/style/_m-notifications.scss +4 -10
  153. package/package.json +13 -13
  154. package/presentation/style/_o-pry-new-presentation.scss +0 -4
  155. package/presentation/style/_o-pry-presentation.scss +6 -4
  156. package/restitution/style/_o-restitution-list.scss +1 -1
  157. package/styles/abstracts/_mixins.scss +13 -0
  158. package/styles/components/_a-btn.scss +8 -26
  159. package/styles/components/_a-chip.scss +19 -0
  160. package/styles/components/_a-pry-select.scss +13 -0
  161. package/styles/components/_a-range-slider.scss +4 -5
  162. package/styles/components/_m-info-icon.scss +2 -3
  163. package/styles/components/_m-nav-links.scss +2 -7
  164. package/styles/components/{_o-datasources.scss → _o-chips-selector.scss} +3 -4
  165. package/styles/components/_o-dashboard.scss +41 -7
  166. package/styles/components/_o-modal.scss +1 -1
  167. package/styles/components/_o-widget.scss +11 -5
  168. package/styles/layout/_o-manifest-layout.scss +4 -0
  169. package/styles/libs/_reset-lib-ol.scss +9 -5
  170. package/styles/main.scss +7 -7
  171. package/styles-theme/abstracts-theme/_abstracts-overlays.theme.scss +6 -0
  172. package/styles-theme/abstracts-theme/variables/_variables-colors.scss +18 -24
  173. package/styles-theme/abstracts-theme/variables/_variables-decoration.scss +2 -2
  174. package/styles-theme/abstracts-theme/variables/_variables-typo.scss +2 -2
  175. package/styles-theme/base-theme/_typography.theme.scss +5 -2
  176. package/styles-theme/components-theme/_a-btn.theme.scss +42 -73
  177. package/styles-theme/components-theme/_a-checkbox.theme.scss +3 -45
  178. package/styles-theme/components-theme/_a-chip.theme.scss +32 -0
  179. package/styles-theme/components-theme/_a-form-field.theme.scss +1 -1
  180. package/styles-theme/components-theme/_a-label.theme.scss +1 -0
  181. package/styles-theme/components-theme/_a-pry-select.theme.scss +13 -7
  182. package/styles-theme/components-theme/_a-range-slider.theme.scss +16 -16
  183. package/styles-theme/components-theme/_a-table.theme.scss +2 -2
  184. package/styles-theme/components-theme/_a-toggle.theme.scss +7 -8
  185. package/styles-theme/components-theme/_m-btn-sorttable.theme.scss +3 -3
  186. package/styles-theme/components-theme/_m-filter.theme.scss +4 -13
  187. package/styles-theme/components-theme/_m-form-radio-group.theme.scss +17 -0
  188. package/styles-theme/components-theme/_m-info-icon.theme.scss +11 -0
  189. package/styles-theme/components-theme/_m-minus-plus.theme.scss +2 -2
  190. package/styles-theme/components-theme/_m-nav-links.theme.scss +18 -0
  191. package/styles-theme/components-theme/_m-notifications.theme.scss +8 -4
  192. package/styles-theme/components-theme/_m-time-picker.theme.scss +1 -1
  193. package/styles-theme/components-theme/_o-catalog.theme.scss +1 -1
  194. package/styles-theme/components-theme/_o-date-picker.theme.scss +2 -2
  195. package/styles-theme/components-theme/_o-draggable-menu.theme.scss +2 -2
  196. package/styles-theme/components-theme/_o-multi-class-field-selection.theme.scss +1 -1
  197. package/styles-theme/components-theme/_o-object-panel.theme.scss +1 -1
  198. package/styles-theme/components-theme/_o-pry-admin-classes-customize.theme.scss +0 -9
  199. package/styles-theme/components-theme/_o-pry-dataset-card.theme.scss +8 -0
  200. package/styles-theme/components-theme/_o-pry-presentation.theme.scss +18 -11
  201. package/styles-theme/components-theme/_o-pry-search-tools.theme.scss +2 -13
  202. package/styles-theme/components-theme/_o-pry-stepper.theme.scss +6 -8
  203. package/styles-theme/components-theme/_o-restitution-list.theme.scss +1 -1
  204. package/styles-theme/components-theme/_o-search-fulltext.theme.scss +2 -2
  205. package/styles-theme/components-theme/_o-search-multi-class.theme.scss +0 -5
  206. package/styles-theme/components-theme/_o-settings.theme.scss +1 -1
  207. package/styles-theme/components-theme/_o-tabs.theme.scss +1 -1
  208. package/styles-theme/components-theme/_o-widget-iframe.theme.scss +2 -2
  209. package/styles-theme/components-theme/_o-widget.theme.scss +31 -2
  210. package/styles-theme/components-theme/_overlay.theme.scss +3 -3
  211. package/styles-theme/layout-theme/_o-base-layout.theme.scss +4 -3
  212. package/styles-theme/layout-theme/_o-manifest-layout.theme.scss +8 -2
  213. package/styles-theme/libs-theme/_reset-lib-ol.theme.scss +12 -3
  214. package/styles-theme/main-theme.scss +6 -4
  215. package/toolbox/components/automate-refresh/automate-refresh.component.d.ts +3 -1
  216. package/toolbox/components/filter-settings/filter-settings.component.d.ts +3 -2
  217. package/toolbox/components/refresh-datasets/refresh-datasets.component.d.ts +3 -2
  218. package/toolbox/components/toolbox.component.d.ts +3 -1
  219. package/toolbox/style/_o-filter-settings.scss +0 -4
  220. package/toolbox/style/_o-toolbox.scss +2 -26
  221. package/widgets/widget-aggregated-chart/style/_o-widget-chart.scss +3 -0
  222. package/widgets/widget-graph/component/widget-graph.component.d.ts +0 -1
  223. package/widgets/widget-graph/style/_o-widget-graph.scss +14 -0
  224. package/widgets/widget-map/pipe/widget-map-legend-url.pipe.d.ts +1 -1
  225. package/widgets/widget-map/style/{_o-layer-legend.scss → _m-layer-legend.scss} +7 -8
  226. package/widgets/widget-map/style/_o-widget-map.scss +2 -2
  227. package/styles/components/_a-chips.scss +0 -15
  228. package/styles-theme/components-theme/_o-datasources.theme.scss +0 -41
@@ -31,6 +31,10 @@
31
31
  min-height: 10px;
32
32
  }
33
33
 
34
+ .search-icon {
35
+ display: inline;
36
+ }
37
+
34
38
  .a-icon {
35
39
  position: absolute;
36
40
  right: 0.6875rem;
@@ -4,15 +4,19 @@
4
4
 
5
5
  .ol-control button,
6
6
  .ol-searchbar button {
7
- width: 30px !important;
8
- height: 30px !important;
7
+ width: 40px !important;
8
+ height: 40px !important;
9
9
  cursor: pointer;
10
10
  }
11
11
 
12
12
  .ol-zoom {
13
- border-width: toRem(1);
14
- border-style: solid;
15
- border-radius: toRem(7);
13
+ .ol-zoom-in {
14
+ border-radius: toRem(8) toRem(8) 0 0 !important;
15
+ }
16
+
17
+ .ol-zoom-out {
18
+ border-radius: 0 0 toRem(8) toRem(8) !important;
19
+ }
16
20
  }
17
21
 
18
22
  .ol-searchbar {
package/styles/main.scss CHANGED
@@ -7,19 +7,19 @@
7
7
  @use 'components/a-badge' as *;
8
8
  @use 'components/a-btn' as *;
9
9
  @use 'components/a-checkbox' as *;
10
+ @use 'components/a-chip' as *;
11
+ @use 'components/a-color-picker' as *;
10
12
  @use 'components/a-expandable-value' as *;
11
13
  @use 'components/a-form-field' as *;
12
14
  @use 'components/a-label' as *;
13
15
  @use 'components/a-link' as *;
14
16
  @use 'components/a-loader' as *;
17
+ @use 'components/a-page-loader' as *;
15
18
  @use 'components/a-pastille' as *;
16
19
  @use 'components/a-range-slider' as *;
17
20
  @use 'components/a-table' as *;
18
21
  @use 'components/a-toggle' as *;
19
22
  @use 'components/a-tooltip' as *;
20
- @use 'components/a-chips' as *;
21
- @use 'components/a-color-picker' as *;
22
- @use 'components/a-page-loader' as *;
23
23
 
24
24
  /* Atoms lib */
25
25
  @use 'components/a-pry-select' as *;
@@ -29,6 +29,7 @@
29
29
  @use 'components/m-actions-list' as *;
30
30
  @use 'components/m-btn-group' as *;
31
31
  @use 'components/m-btn-sorttable' as *;
32
+ @use 'components/m-color-scheme' as *;
32
33
  @use 'components/m-color-selector' as *;
33
34
  @use 'components/m-context-menu' as *;
34
35
  @use 'components/m-filter' as *;
@@ -41,20 +42,20 @@
41
42
  @use 'components/m-minus-plus' as *;
42
43
  @use 'components/m-nav-links' as *;
43
44
  @use 'components/m-presentation-title' as *;
45
+ @use 'components/m-pry-overlay' as *;
44
46
  @use 'components/m-snackbar' as *;
45
47
  @use 'components/m-time-picker' as *;
46
48
  @use 'components/m-toolbox' as *;
47
49
  @use 'components/m-tooltip' as *;
48
- @use 'components/m-pry-overlay' as *;
49
- @use 'components/m-color-scheme' as *;
50
50
 
51
51
  /* Organisms */
52
+ @use 'components/o-about' as *;
52
53
  @use 'components/o-accordion' as *;
53
54
  @use 'components/o-card' as *;
54
55
  @use 'components/o-cards-list' as *;
55
56
  @use 'components/o-dashboard' as *;
56
57
  @use 'components/o-date-picker' as *;
57
- @use 'components/o-datasources' as *;
58
+ @use 'components/o-chips-selector' as *;
58
59
  @use 'components/o-draggable-menu' as *;
59
60
  @use 'components/o-form' as *;
60
61
  @use 'components/o-modal' as *;
@@ -73,7 +74,6 @@
73
74
  @use 'components/o-pry-expand-panel' as *;
74
75
  @use 'components/o-pry-stepper' as *;
75
76
  @use 'components/overlay' as *;
76
- @use 'components/o-about' as *;
77
77
 
78
78
  /* Layout */
79
79
  @use 'layout/o-base-layout' as *;
@@ -8,3 +8,9 @@
8
8
  background-color: white;
9
9
  box-shadow: themed($theme-map, 'decoration', 'shadow', 'default');
10
10
  }
11
+
12
+ .backdrop {
13
+ &--with-color {
14
+ background-color: rgba(0, 0, 0, 0.3);
15
+ }
16
+ }
@@ -2,24 +2,20 @@
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,
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, // figma 600, all typography
13
+ 750: #263340, // figma 700, typography - titles, categories
13
14
  800: #131920,
15
+ 850: #092B54, // hover - slider, active - button
16
+
14
17
  '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
18
+ 50: #FFFFFF,
23
19
  )
24
20
  );
25
21
 
@@ -32,14 +28,9 @@ $theme-colors-accent: (
32
28
  600: #40b688,
33
29
  700: #3caa7f,
34
30
  800: #328f6b,
31
+
35
32
  'contrast': (
36
- 50: #263340,
37
- 100: #ffffff,
38
- 400: #ffffff,
39
- 500: #ffffff,
40
- 600: #ffffff,
41
- 700: #ffffff,
42
- 800: #ffffff
33
+ 50: #ffffff,
43
34
  )
44
35
  );
45
36
 
@@ -48,10 +39,13 @@ $theme-colors-grey: (
48
39
  50: #fafafa,
49
40
  100: #f5f5f5,
50
41
  200: #eeeeee,
42
+ 300: #DFE5EC, // card inner border
51
43
  400: #bdbdbd,
52
44
  500: #9e9e9e,
53
45
  600: #757575,
46
+ 800: #424B5A, // filter label ("Grey Primary" in Figma)
54
47
  1000: #000000,
48
+
55
49
  'contrast': (
56
50
  50: #263340,
57
51
  100: #263340,
@@ -65,7 +59,7 @@ $theme-colors-grey: (
65
59
 
66
60
  // Status palette
67
61
  $theme-colors-status: (
68
- 'ok': #35b99f,
62
+ 'ok': #0AC865,
69
63
  'warning': #f8cd59,
70
64
  'error': #fc5640,
71
65
  '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': ''
@@ -2,27 +2,30 @@
2
2
  @use '../abstracts-theme/variables.theme' as *;
3
3
 
4
4
  body {
5
- color: themed($theme-map, 'color', 'graph', 01);
5
+ color: themed($theme-map, 'color', 'primary', 700);
6
6
  @include typography-level(themed($theme-map, 'typography', 'body'));
7
7
  }
8
8
 
9
9
  .a-h1,
10
10
  h1 {
11
- color: themed($theme-map, 'color', 'graph', 02);
11
+ color: themed($theme-map, 'color', 'primary', 750);
12
12
  @include typography-level(themed($theme-map, 'typography', 'title-1'));
13
13
  }
14
14
 
15
15
  .a-h2,
16
16
  h2 {
17
+ color: themed($theme-map, 'color', 'primary', 750);
17
18
  @include typography-level(themed($theme-map, 'typography', 'title-2'));
18
19
  }
19
20
 
20
21
  .a-h3,
21
22
  h3 {
23
+ color: themed($theme-map, 'color', 'primary', 750);
22
24
  @include typography-level(themed($theme-map, 'typography', 'title-3'));
23
25
  }
24
26
 
25
27
  .a-h4,
26
28
  h4 {
29
+ color: themed($theme-map, 'color', 'primary', 750);
27
30
  @include typography-level(themed($theme-map, 'typography', 'title-4'));
28
31
  }
@@ -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,80 +10,62 @@
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
+ @include changeBgColor(
34
+ $targetBgColor: themed($theme-map, 'color', 'primary', 850),
35
+ $targetTextColor: themed($theme-map, 'color', 'primary', 'contrast', 50)
36
+ );
29
37
  }
30
38
 
31
39
  &.-disabled,
32
40
  &:disabled {
33
- color: themed($theme-map, 'color', 'accent', 'contrast', 100);
34
- background-color: themed($theme-map, 'color', 'accent', 100);
41
+ opacity: 0.5;
35
42
  }
36
43
  }
37
44
 
38
45
  &--secondary,
39
46
  &.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;
47
+ border-width: 1px;
48
+ color: themed($theme-map, 'color', 'primary', 600);
49
+ background-color: themed($theme-map, 'color', 'primary', 'contrast', 50);
43
50
 
44
51
  &:hover {
45
- border: 1px solid themed($theme-map, 'color', 'primary', 600);
46
- color: themed($theme-map, 'color', 'graph', 01);
52
+ @include changeBgColor(
53
+ $targetBgColor: themed($theme-map, 'color', 'primary', 300)
54
+ );
47
55
  }
48
56
 
49
57
  &:focus,
50
58
  &:active {
51
- border: 1px solid themed($theme-map, 'color', 'primary', 800);
52
- color: themed($theme-map, 'color', 'primary', 800);
59
+ background-color: themed($theme-map, 'color', 'primary', 600);
53
60
  }
54
61
 
55
62
  &.-disabled,
56
63
  &:disabled {
57
- border: 1px solid themed($theme-map, 'color', 'primary', 400);
58
- color: themed($theme-map, 'color', 'primary', 400);
64
+ opacity: 0.5;
59
65
  }
60
66
 
61
67
  &.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
- background-color: themed($theme-map, 'color', 'primary', 400);
76
- }
77
- }
78
-
79
- &--ghost {
80
- color: themed($theme-map, 'color', 'primary', 600);
81
- background-color: transparent;
82
-
83
- &:hover,
84
- &:active {
85
- text-decoration: underline;
68
+ background-color: themed($theme-map, 'color', 'primary', 600);
86
69
  }
87
70
  }
88
71
 
@@ -90,27 +73,6 @@
90
73
  @include outlineOnFocus($border-radius: 5px);
91
74
  }
92
75
 
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
76
  &--action {
115
77
  @include outlineOnFocus($border-radius: 5px);
116
78
  border-radius: toRem(10);
@@ -120,7 +82,7 @@
120
82
  &:hover,
121
83
  &:active,
122
84
  &.is-active {
123
- color: themed($theme-map, 'color', 'primary', 'contrast', 400);
85
+ color: themed($theme-map, 'color', 'primary', 'contrast', 50);
124
86
  background-color: themed($theme-map, 'color', 'primary', 400);
125
87
  }
126
88
 
@@ -132,7 +94,7 @@
132
94
  // Action button displayed close to an form input field, icon + circle background (ex: add/remove)
133
95
  &--input-action {
134
96
  .a-icon {
135
- color: themed($theme-map, 'color', 'primary', 'contrast', 400);
97
+ color: themed($theme-map, 'color', 'primary', 'contrast', 50);
136
98
  }
137
99
 
138
100
  &:before {
@@ -148,7 +110,7 @@
148
110
 
149
111
  // Action add item, circled icon on left + text on right
150
112
  &--iconcircle-text {
151
- color: themed($theme-map, 'color', 'graph', 01);
113
+ color: themed($theme-map, 'color', 'primary', 700);
152
114
  font-weight: 400;
153
115
  font-size: 14px;
154
116
 
@@ -159,28 +121,35 @@
159
121
  }
160
122
 
161
123
  .a-icon {
162
- color: themed($theme-map, 'color', 'primary', 'contrast', 400);
124
+ color: themed($theme-map, 'color', 'primary', 'contrast', 50);
163
125
  }
164
126
  }
165
127
 
166
128
  &--select {
167
129
  border-radius: toRem(5);
168
130
  color: themed($theme-map, 'color', 'primary', 600);
169
- background-color: themed($theme-map, 'color', 'primary', 'contrast', 600);
131
+ background-color: themed($theme-map, 'color', 'primary', 'contrast', 50);
170
132
  font-weight: 400;
171
133
  }
172
134
 
173
135
  // Button more dots ( ...)
174
136
  &--more {
137
+ background-color: themed($theme-map, 'color', 'primary', 50);
175
138
  color: themed($theme-map, 'color', 'primary', 500);
176
139
 
177
- &:hover {
178
- color: themed($theme-map, 'color', 'primary', 600);
179
- background-color: themed($theme-map, 'color', 'primary', 200);
140
+ &:hover,
141
+ &:active {
142
+ @include changeBgColor(
143
+ $targetBgColor: themed($theme-map, 'color', 'primary', 600),
144
+ $targetTextColor: themed($theme-map, 'color', 'primary', 'contrast', 50),
145
+ $targetBorderColor: themed($theme-map, 'color', 'primary', 600)
146
+ );
180
147
  }
181
148
 
182
149
  &:active {
183
- background-color: themed($theme-map, 'color', 'primary', 300);
150
+ background-color:themed($theme-map, 'color', 'primary', 600);
151
+ color: themed($theme-map, 'color', 'primary', 'contrast', 50),
152
+
184
153
  }
185
154
 
186
155
  &:disabled {
@@ -210,6 +179,6 @@
210
179
  /* MODIFIERS */
211
180
 
212
181
  &.-circle {
213
- background: themed($theme-map, 'color', 'primary', 50);
182
+ background: themed($theme-map, 'color', 'primary', 'contrast', 50);
214
183
  }
215
184
  }
@@ -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');
@@ -4,6 +4,7 @@
4
4
  /* Theme Atom - form label */
5
5
  .a-label {
6
6
  @include typography-level(themed($theme-map, 'typography', 'label'));
7
+ color: themed($theme-map, 'color', 'primary', 750);
7
8
 
8
9
  &--help {
9
10
  color: themed($theme-map, 'color', 'graph', 01);
@@ -14,25 +14,27 @@
14
14
 
15
15
  &__value {
16
16
  &.-multiple {
17
- background-color: themed($theme-map, 'color', 'accent', 100);
17
+ color: themed($theme-map, 'color', 'primary', 'contrast', 50);
18
+ background-color: themed($theme-map, 'color', 'primary', 600);
19
+
20
+ &.-warn {
21
+ background-color: themed($theme-map, 'color', 'status', warning);
22
+ color: themed($theme-map, 'color', 'grey', 1000);
23
+ }
18
24
  }
19
25
  }
20
26
 
21
27
  &__options {
22
28
  color: themed($theme-map, 'color', 'graph', 01);
23
- background-color: themed($theme-map, 'color', 'primary', 'contrast', 700);
29
+ background-color: themed($theme-map, 'color', 'primary', 'contrast', 50);
24
30
  border: 1px solid themed($theme-map, 'color', 'primary', 400);
25
31
  box-shadow: 0 4px 4px #113b6e1f;
26
32
 
27
33
  &__option {
28
34
  background-color: #ffffff;
29
35
 
30
- &[aria-selected="true"], &:hover {
31
- background-color: themed($theme-map, 'color', 'accent', 50);
32
- }
33
-
34
36
  &:hover {
35
- color: themed($theme-map, 'color', 'primary', 'contrast', 100);
37
+ color: themed($theme-map, 'color', 'primary', 750);
36
38
  }
37
39
  }
38
40
  }
@@ -45,4 +47,8 @@
45
47
  &__clear {
46
48
  color: themed($theme-map, 'color', 'grey', 500);
47
49
  }
50
+
51
+ &__toggle {
52
+ color: themed($theme-map, 'color', 'primary', 600);
53
+ }
48
54
  }