ublo-lib 1.31.20 → 1.31.22

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.
@@ -32,7 +32,7 @@
32
32
  display: flex;
33
33
  align-items: center;
34
34
  justify-content: center;
35
- background-color: var(--ublo-secondary-color, #4177f6);
35
+ background-color: var(--ds-secondary, var(--ds-blue-400, #0038ff));
36
36
  border-radius: var(--ublo-radius-200, 10px);
37
37
  }
38
38
 
@@ -201,12 +201,11 @@ export default function MseMPresetEditor({
201
201
  onClick: testPreset,
202
202
  children: _jsx(Icons.OpenInBrowser, {})
203
203
  })
204
- }), _jsx(Input, {
204
+ }), Boolean(preset?.widget && presetUrl !== "") && _jsx(Input, {
205
205
  type: "text",
206
206
  className: css.url,
207
207
  value: presetUrl,
208
208
  onClick: copyUrl,
209
- disabled: !preset?.widget || presetUrl === "",
210
209
  placeholder: !preset ? "Aucun preset sélectionné" : "Preset incompatible au format URL",
211
210
  readOnly: true
212
211
  })]
@@ -1,15 +1,6 @@
1
1
  .editor {
2
- --ds-primary: var(--ublo-secondary-color, #4177f6);
3
- --ds-secondary: var(--ublo-primary-color, #073ff8);
4
-
5
- --ds-button-background: var(--ublo-secondary-color, #4177f6);
6
- --ds-button-hover-background: var(--ublo-primary-color, #073ff8);
7
- --ds-button-radius: var(--ublo-radius-200, 10px);
8
-
9
2
  --ds-sans-serif-font: "Open Sans", sans-serif;
10
3
 
11
- --ds-focus-ring-color: var(--ublo-secondary-color, #4177f6);
12
-
13
4
  --ds-radius-100: var(--ublo-radius-100, 3px);
14
5
  --ds-radius-200: var(--ublo-radius-200, 10px);
15
6
  --ds-radius-300: var(--ublo-radius-300, 15px);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.31.20",
3
+ "version": "1.31.22",
4
4
  "peerDependencies": {
5
5
  "dt-design-system": "^3.8.3",
6
6
  "leaflet": "^1.9.1",