@redocly/theme 0.57.0 → 0.58.0-next.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.
@@ -151,17 +151,17 @@ const PLACEMENTS = {
151
151
  bottom: (0, styled_components_1.css) `
152
152
  ${({ withArrow, arrowPosition }) => withArrow && arrowPosition === 'left'
153
153
  ? (0, styled_components_1.css) `
154
- transform: translate(0, -100%);
155
- margin-top: -10px;
154
+ transform: translate(0, 10px);
155
+ margin-top: 0;
156
156
  `
157
157
  : arrowPosition === 'right'
158
158
  ? (0, styled_components_1.css) `
159
- transform: translate(-100%, -100%);
160
- margin-top: -10px;
159
+ transform: translate(-100%, 10px);
160
+ margin-top: 0;
161
161
  `
162
162
  : (0, styled_components_1.css) `
163
- transform: translate(-50%, -100%);
164
- margin-top: -10px;
163
+ transform: translate(-50%, 10px);
164
+ margin-top: 0;
165
165
  `}
166
166
 
167
167
  ${({ withArrow, arrowPosition }) => withArrow &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/theme",
3
- "version": "0.57.0",
3
+ "version": "0.58.0-next.0",
4
4
  "description": "Shared UI components lib",
5
5
  "keywords": [
6
6
  "theme",
@@ -86,8 +86,8 @@
86
86
  "nprogress": "0.2.0",
87
87
  "react-calendar": "5.1.0",
88
88
  "react-date-picker": "11.0.0",
89
- "@redocly/realm-asyncapi-sdk": "0.3.0",
90
- "@redocly/config": "0.29.0"
89
+ "@redocly/config": "0.29.0",
90
+ "@redocly/realm-asyncapi-sdk": "0.4.0-next.0"
91
91
  },
92
92
  "scripts": {
93
93
  "watch": "tsc -p tsconfig.build.json && (concurrently \"tsc -w -p tsconfig.build.json\" \"tsc-alias -w -p tsconfig.build.json\")",
@@ -184,17 +184,17 @@ const PLACEMENTS = {
184
184
  ${({ withArrow, arrowPosition }) =>
185
185
  withArrow && arrowPosition === 'left'
186
186
  ? css`
187
- transform: translate(0, -100%);
188
- margin-top: -10px;
187
+ transform: translate(0, 10px);
188
+ margin-top: 0;
189
189
  `
190
190
  : arrowPosition === 'right'
191
191
  ? css`
192
- transform: translate(-100%, -100%);
193
- margin-top: -10px;
192
+ transform: translate(-100%, 10px);
193
+ margin-top: 0;
194
194
  `
195
195
  : css`
196
- transform: translate(-50%, -100%);
197
- margin-top: -10px;
196
+ transform: translate(-50%, 10px);
197
+ margin-top: 0;
198
198
  `}
199
199
 
200
200
  ${({ withArrow, arrowPosition }) =>