ublo-lib 1.0.7 → 1.0.10

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.
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { useUbloContext } from "ublo/with-ublo";
3
3
  import { loadFileManager } from "../../utils/file-manager";
4
- import styles from "./index.module.css";
4
+ import styles from "./admin-links.module.css";
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
6
  import { jsxs as _jsxs } from "react/jsx-runtime";
7
7
  import { Fragment as _Fragment } from "react/jsx-runtime";
@@ -21,7 +21,7 @@
21
21
  }
22
22
 
23
23
  .toggle {
24
- bottom: 236px;
24
+ bottom: 182px;
25
25
  right: 25px;
26
26
  width: 36px;
27
27
  height: 36px;
@@ -45,30 +45,6 @@
45
45
  background-color: var(--cms-green-400, #4caf50);
46
46
  }
47
47
 
48
- .action[data-tooltip]::after {
49
- content: attr(data-tooltip);
50
- position: absolute;
51
- top: calc(50% - 12px);
52
- right: calc(100% + 4px);
53
- padding: 6px 10px;
54
- font-size: 11px;
55
- line-height: 1;
56
- font-family: "Open Sans", sans-serif;
57
- color: var(--cms-grey-000, #ffffff);
58
- background-color: var(--cms-grey-500, #383838);
59
- white-space: nowrap;
60
- border-radius: var(--cms-radius-200, 10px);
61
- opacity: 0;
62
- pointer-events: none;
63
- touch-action: none;
64
- transition: opacity 240ms
65
- var(--cms-transition-easing, cubic-bezier(0.4, 0, 0.2, 1));
66
- }
67
-
68
- .action:hover::after {
69
- opacity: 1;
70
- }
71
-
72
48
  .action > svg {
73
49
  width: 24px;
74
50
  height: 24px;
@@ -183,33 +183,6 @@
183
183
  background-color: rgba(0, 0, 0, 0.05);
184
184
  }
185
185
 
186
- .presetsEditorButton[data-tooltip]::after,
187
- .removeButton[data-tooltip]::after {
188
- content: attr(data-tooltip);
189
- position: absolute;
190
- top: calc(50% - 12px);
191
- right: calc(100% + 4px);
192
- padding: 6px 10px;
193
- font-size: 11px;
194
- font-weight: 400;
195
- line-height: 1;
196
- font-family: "Open Sans", sans-serif;
197
- color: var(--cms-grey-000, #ffffff);
198
- background-color: var(--cms-grey-500, #383838);
199
- white-space: nowrap;
200
- border-radius: var(--cms-radius-200, 10px);
201
- opacity: 0;
202
- pointer-events: none;
203
- touch-action: none;
204
- transition: opacity 240ms
205
- var(--cms-transition-easing, cubic-bezier(0.4, 0, 0.2, 1));
206
- }
207
-
208
- .presetsEditorButton:hover::after,
209
- .removeButton:hover::after {
210
- opacity: 1;
211
- }
212
-
213
186
  .presetsEditorButton > svg,
214
187
  .removeButton > svg {
215
188
  width: 16px;
@@ -1,5 +1,5 @@
1
1
  import messages from "../editor/messages";
2
- import styles from "../msem-widget-linker.module.css";
2
+ import styles from "../msem-linker.module.css";
3
3
  export const remove = (section, cleanupPosition = false) => {
4
4
  const ui = section.querySelector("msem-linker-ui");
5
5
  cleanupPosition && section.style.removeProperty("position");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.0.7",
3
+ "version": "1.0.10",
4
4
  "peerDependencies": {
5
5
  "react": "^18.2.0",
6
6
  "react-dom": "^18.2.0",