@officesdk/design 0.1.5 → 0.1.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.
- package/dist/components/cjs/index.d.ts +5 -5
- package/dist/components/cjs/index.js +178 -110
- package/dist/components/cjs/index.js.map +1 -1
- package/dist/components/esm/index.d.ts +5 -5
- package/dist/components/esm/index.js +178 -110
- package/dist/components/esm/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TooltipProps as TooltipProps$1 } from 'rc-tooltip/lib/Tooltip';
|
|
3
|
+
import { Theme } from '@officesdk/design-theme';
|
|
3
4
|
import { ThemedStyledInterface } from 'styled-components';
|
|
4
|
-
import { CommonThemeConfig } from '@officesdk/editor-sdk-core/shared';
|
|
5
5
|
|
|
6
6
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
7
7
|
/**
|
|
@@ -756,7 +756,7 @@ interface TabsProps {
|
|
|
756
756
|
*/
|
|
757
757
|
declare const Tabs: React.FC<TabsProps>;
|
|
758
758
|
|
|
759
|
-
interface TooltipProps extends Partial<TooltipProps$1> {
|
|
759
|
+
interface TooltipProps extends Omit<Partial<TooltipProps$1>, 'prefixCls'> {
|
|
760
760
|
/**
|
|
761
761
|
* Tooltip content
|
|
762
762
|
*/
|
|
@@ -967,7 +967,7 @@ interface UIConfig {
|
|
|
967
967
|
/**
|
|
968
968
|
* Theme configuration (required)
|
|
969
969
|
*/
|
|
970
|
-
theme:
|
|
970
|
+
theme: Theme;
|
|
971
971
|
/**
|
|
972
972
|
* Icon registry (optional)
|
|
973
973
|
*/
|
|
@@ -1063,8 +1063,8 @@ declare const createUIConfig: (config: UIConfig) => UIConfig;
|
|
|
1063
1063
|
*/
|
|
1064
1064
|
declare const mergeUIConfig: (baseConfig: UIConfig, ...configs: Partial<UIConfig>[]) => UIConfig;
|
|
1065
1065
|
|
|
1066
|
-
declare const styled: ThemedStyledInterface<
|
|
1066
|
+
declare const styled: ThemedStyledInterface<Theme>;
|
|
1067
1067
|
|
|
1068
|
-
declare const getGlobalTheme: () =>
|
|
1068
|
+
declare const getGlobalTheme: () => Theme;
|
|
1069
1069
|
|
|
1070
1070
|
export { type A11yConfig, type AnimationConfig, Button, type ButtonProps, Checkbox, type CheckboxProps, type I18nConfig, Icon, type IconComponent, type IconProps, IconProvider, type IconProviderProps, type IconRegistry, Input, type InputProps, NumberInput, type NumberInputProps, Radio, type RadioProps, SearchInput, type SearchInputProps, Slider, type SliderProps, SpinButton, type SpinButtonProps, Switch, type SwitchProps, type TabItem, Tabs, type TabsProps, Toast, type ToastConfig, ToastContainer, type ToastContainerProps, type ToastPosition, type ToastProps, ToolbarButton, type ToolbarButtonProps, Tooltip, type TooltipProps, type UIConfig, UIConfigProvider, type UIConfigProviderProps, type ZIndexConfig, createUIConfig, getGlobalTheme, mergeUIConfig, styled, useIconRegistry, useToast, useUIConfig };
|
|
@@ -2141,65 +2141,133 @@ var Tooltip = ({
|
|
|
2141
2141
|
...getPopupContainer && { getPopupContainer },
|
|
2142
2142
|
...rest
|
|
2143
2143
|
};
|
|
2144
|
-
return /* @__PURE__ */ React12__default.default.createElement(RcTooltip__default.default, { ...tooltipProps }, children);
|
|
2144
|
+
return /* @__PURE__ */ React12__default.default.createElement(RcTooltip__default.default, { ...tooltipProps, prefixCls: "od-tooltip" }, children);
|
|
2145
2145
|
};
|
|
2146
2146
|
Tooltip.displayName = "Tooltip";
|
|
2147
2147
|
var theme = getGlobalTheme();
|
|
2148
|
-
var
|
|
2149
|
-
var
|
|
2148
|
+
var arrowSize = 5;
|
|
2149
|
+
var paddingDistance = `${arrowSize}px`;
|
|
2150
|
+
var arrowDistance = `${arrowSize}px`;
|
|
2150
2151
|
var TooltipGlobalStyles = baseStyled.createGlobalStyle`
|
|
2151
|
-
|
|
2152
|
+
/* Base tooltip container */
|
|
2153
|
+
.od-tooltip {
|
|
2154
|
+
position: absolute;
|
|
2155
|
+
z-index: 1070;
|
|
2156
|
+
display: block;
|
|
2157
|
+
visibility: visible;
|
|
2158
|
+
font-size: 12px;
|
|
2159
|
+
line-height: 1.5;
|
|
2152
2160
|
opacity: 1;
|
|
2153
2161
|
}
|
|
2154
2162
|
|
|
2155
|
-
.
|
|
2163
|
+
.od-tooltip-hidden {
|
|
2156
2164
|
display: none;
|
|
2157
2165
|
}
|
|
2158
2166
|
|
|
2159
|
-
|
|
2160
|
-
.
|
|
2161
|
-
|
|
2167
|
+
/* Tooltip content wrapper */
|
|
2168
|
+
.od-tooltip-content {
|
|
2169
|
+
position: relative;
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
/* Tooltip inner content */
|
|
2173
|
+
.od-tooltip-inner {
|
|
2174
|
+
padding: 6px 8px;
|
|
2175
|
+
text-align: left;
|
|
2176
|
+
text-decoration: none;
|
|
2177
|
+
word-wrap: break-word;
|
|
2178
|
+
min-height: unset;
|
|
2179
|
+
}
|
|
2180
|
+
|
|
2181
|
+
/* Tooltip arrow base */
|
|
2182
|
+
.od-tooltip-arrow {
|
|
2183
|
+
position: absolute;
|
|
2184
|
+
width: 0;
|
|
2185
|
+
height: 0;
|
|
2186
|
+
border-color: transparent;
|
|
2187
|
+
border-style: solid;
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
.od-tooltip-placement-top,
|
|
2191
|
+
.od-tooltip-placement-topLeft,
|
|
2192
|
+
.od-tooltip-placement-topRight {
|
|
2162
2193
|
padding-bottom: ${paddingDistance};
|
|
2163
2194
|
}
|
|
2164
2195
|
|
|
2165
|
-
.
|
|
2166
|
-
.
|
|
2167
|
-
.
|
|
2196
|
+
.od-tooltip-placement-right,
|
|
2197
|
+
.od-tooltip-placement-rightTop,
|
|
2198
|
+
.od-tooltip-placement-rightBottom {
|
|
2168
2199
|
padding-left: ${paddingDistance};
|
|
2169
2200
|
}
|
|
2170
2201
|
|
|
2171
|
-
.
|
|
2172
|
-
.
|
|
2173
|
-
.
|
|
2202
|
+
.od-tooltip-placement-bottom,
|
|
2203
|
+
.od-tooltip-placement-bottomLeft,
|
|
2204
|
+
.od-tooltip-placement-bottomRight {
|
|
2174
2205
|
padding-top: ${paddingDistance};
|
|
2175
2206
|
}
|
|
2176
2207
|
|
|
2177
|
-
.
|
|
2178
|
-
.
|
|
2179
|
-
.
|
|
2208
|
+
.od-tooltip-placement-left,
|
|
2209
|
+
.od-tooltip-placement-leftTop,
|
|
2210
|
+
.od-tooltip-placement-leftBottom {
|
|
2180
2211
|
padding-right: ${paddingDistance};
|
|
2181
2212
|
}
|
|
2182
2213
|
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2214
|
+
/* Placement specific adjustments - position arrows close to content edge */
|
|
2215
|
+
.od-tooltip-placement-top .od-tooltip-arrow,
|
|
2216
|
+
.od-tooltip-placement-topLeft .od-tooltip-arrow,
|
|
2217
|
+
.od-tooltip-placement-topRight .od-tooltip-arrow {
|
|
2218
|
+
bottom: ${arrowDistance};
|
|
2219
|
+
margin-left: -${arrowSize}px;
|
|
2186
2220
|
}
|
|
2187
2221
|
|
|
2188
|
-
.
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2222
|
+
.od-tooltip-placement-right .od-tooltip-arrow,
|
|
2223
|
+
.od-tooltip-placement-rightTop .od-tooltip-arrow,
|
|
2224
|
+
.od-tooltip-placement-rightBottom .od-tooltip-arrow {
|
|
2225
|
+
left: ${arrowDistance};
|
|
2226
|
+
margin-top: -${arrowSize}px;
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2229
|
+
.od-tooltip-placement-left .od-tooltip-arrow,
|
|
2230
|
+
.od-tooltip-placement-leftTop .od-tooltip-arrow,
|
|
2231
|
+
.od-tooltip-placement-leftBottom .od-tooltip-arrow {
|
|
2232
|
+
right: ${arrowDistance};
|
|
2233
|
+
margin-top: -${arrowSize}px;
|
|
2234
|
+
}
|
|
2235
|
+
|
|
2236
|
+
.od-tooltip-placement-bottom .od-tooltip-arrow,
|
|
2237
|
+
.od-tooltip-placement-bottomLeft .od-tooltip-arrow,
|
|
2238
|
+
.od-tooltip-placement-bottomRight .od-tooltip-arrow {
|
|
2239
|
+
top: ${arrowDistance};
|
|
2240
|
+
margin-left: -${arrowSize}px;
|
|
2241
|
+
}
|
|
2242
|
+
|
|
2243
|
+
/* Alignment adjustments */
|
|
2244
|
+
.od-tooltip-placement-topLeft .od-tooltip-arrow,
|
|
2245
|
+
.od-tooltip-placement-bottomLeft .od-tooltip-arrow {
|
|
2246
|
+
left: 15%;
|
|
2247
|
+
}
|
|
2248
|
+
|
|
2249
|
+
.od-tooltip-placement-topRight .od-tooltip-arrow,
|
|
2250
|
+
.od-tooltip-placement-bottomRight .od-tooltip-arrow {
|
|
2251
|
+
right: 15%;
|
|
2252
|
+
}
|
|
2253
|
+
|
|
2254
|
+
.od-tooltip-placement-rightTop .od-tooltip-arrow,
|
|
2255
|
+
.od-tooltip-placement-leftTop .od-tooltip-arrow {
|
|
2256
|
+
top: 15%;
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2259
|
+
.od-tooltip-placement-rightBottom .od-tooltip-arrow,
|
|
2260
|
+
.od-tooltip-placement-leftBottom .od-tooltip-arrow {
|
|
2261
|
+
bottom: 15%;
|
|
2194
2262
|
}
|
|
2195
2263
|
|
|
2196
|
-
.
|
|
2197
|
-
.
|
|
2264
|
+
.od-tooltip.od-tooltip-zoom-enter,
|
|
2265
|
+
.od-tooltip.od-tooltip-zoom-leave {
|
|
2198
2266
|
display: block;
|
|
2199
2267
|
}
|
|
2200
2268
|
|
|
2201
|
-
.
|
|
2202
|
-
.
|
|
2269
|
+
.od-tooltip-zoom-enter,
|
|
2270
|
+
.od-tooltip-zoom-appear {
|
|
2203
2271
|
opacity: 0;
|
|
2204
2272
|
animation-duration: 0.3s;
|
|
2205
2273
|
animation-fill-mode: both;
|
|
@@ -2207,20 +2275,20 @@ var TooltipGlobalStyles = baseStyled.createGlobalStyle`
|
|
|
2207
2275
|
animation-play-state: paused;
|
|
2208
2276
|
}
|
|
2209
2277
|
|
|
2210
|
-
.
|
|
2278
|
+
.od-tooltip-zoom-leave {
|
|
2211
2279
|
animation-duration: 0.3s;
|
|
2212
2280
|
animation-fill-mode: both;
|
|
2213
2281
|
animation-timing-function: cubic-bezier(0.6, -0.3, 0.74, 0.05);
|
|
2214
2282
|
animation-play-state: paused;
|
|
2215
2283
|
}
|
|
2216
2284
|
|
|
2217
|
-
.
|
|
2218
|
-
.
|
|
2285
|
+
.od-tooltip-zoom-enter.od-tooltip-zoom-enter-active,
|
|
2286
|
+
.od-tooltip-zoom-appear.od-tooltip-zoom-appear-active {
|
|
2219
2287
|
animation-name: rcToolTipZoomIn;
|
|
2220
2288
|
animation-play-state: running;
|
|
2221
2289
|
}
|
|
2222
2290
|
|
|
2223
|
-
.
|
|
2291
|
+
.od-tooltip-zoom-leave.od-tooltip-zoom-leave-active {
|
|
2224
2292
|
animation-name: rcToolTipZoomOut;
|
|
2225
2293
|
animation-play-state: running;
|
|
2226
2294
|
}
|
|
@@ -2252,7 +2320,7 @@ var TooltipGlobalStyles = baseStyled.createGlobalStyle`
|
|
|
2252
2320
|
}
|
|
2253
2321
|
|
|
2254
2322
|
/* Black variant */
|
|
2255
|
-
.tooltip-variant-black .
|
|
2323
|
+
.tooltip-variant-black .od-tooltip-inner {
|
|
2256
2324
|
background: ${() => theme.components.tooltip.black.background};
|
|
2257
2325
|
border: 1px solid ${() => theme.components.tooltip.black.borderColor};
|
|
2258
2326
|
color: ${() => theme.components.tooltip.black.color};
|
|
@@ -2267,44 +2335,44 @@ var TooltipGlobalStyles = baseStyled.createGlobalStyle`
|
|
|
2267
2335
|
text-decoration: none;
|
|
2268
2336
|
}
|
|
2269
2337
|
|
|
2270
|
-
.tooltip-variant-black.
|
|
2271
|
-
.tooltip-variant-black.
|
|
2272
|
-
.tooltip-variant-black.
|
|
2273
|
-
bottom: ${
|
|
2274
|
-
margin-left:
|
|
2275
|
-
border-width:
|
|
2338
|
+
.tooltip-variant-black.od-tooltip-placement-top .od-tooltip-arrow,
|
|
2339
|
+
.tooltip-variant-black.od-tooltip-placement-topLeft .od-tooltip-arrow,
|
|
2340
|
+
.tooltip-variant-black.od-tooltip-placement-topRight .od-tooltip-arrow {
|
|
2341
|
+
bottom: ${arrowDistance};
|
|
2342
|
+
margin-left: -${arrowSize}px;
|
|
2343
|
+
border-width: ${arrowSize}px ${arrowSize}px 0;
|
|
2276
2344
|
border-top-color: ${() => theme.components.tooltip.black.background};
|
|
2277
2345
|
}
|
|
2278
2346
|
|
|
2279
|
-
.tooltip-variant-black.
|
|
2280
|
-
.tooltip-variant-black.
|
|
2281
|
-
.tooltip-variant-black.
|
|
2282
|
-
left: ${
|
|
2283
|
-
margin-top:
|
|
2284
|
-
border-width:
|
|
2347
|
+
.tooltip-variant-black.od-tooltip-placement-right .od-tooltip-arrow,
|
|
2348
|
+
.tooltip-variant-black.od-tooltip-placement-rightTop .od-tooltip-arrow,
|
|
2349
|
+
.tooltip-variant-black.od-tooltip-placement-rightBottom .od-tooltip-arrow {
|
|
2350
|
+
left: ${arrowDistance};
|
|
2351
|
+
margin-top: -${arrowSize}px;
|
|
2352
|
+
border-width: ${arrowSize}px ${arrowSize}px ${arrowSize}px 0;
|
|
2285
2353
|
border-right-color: ${() => theme.components.tooltip.black.background};
|
|
2286
2354
|
}
|
|
2287
2355
|
|
|
2288
|
-
.tooltip-variant-black.
|
|
2289
|
-
.tooltip-variant-black.
|
|
2290
|
-
.tooltip-variant-black.
|
|
2291
|
-
right: ${
|
|
2292
|
-
margin-top:
|
|
2293
|
-
border-width:
|
|
2356
|
+
.tooltip-variant-black.od-tooltip-placement-left .od-tooltip-arrow,
|
|
2357
|
+
.tooltip-variant-black.od-tooltip-placement-leftTop .od-tooltip-arrow,
|
|
2358
|
+
.tooltip-variant-black.od-tooltip-placement-leftBottom .od-tooltip-arrow {
|
|
2359
|
+
right: ${arrowDistance};
|
|
2360
|
+
margin-top: -${arrowSize}px;
|
|
2361
|
+
border-width: ${arrowSize}px 0 ${arrowSize}px ${arrowSize}px;
|
|
2294
2362
|
border-left-color: ${() => theme.components.tooltip.black.background};
|
|
2295
2363
|
}
|
|
2296
2364
|
|
|
2297
|
-
.tooltip-variant-black.
|
|
2298
|
-
.tooltip-variant-black.
|
|
2299
|
-
.tooltip-variant-black.
|
|
2300
|
-
top: ${
|
|
2301
|
-
margin-left:
|
|
2302
|
-
border-width: 0
|
|
2365
|
+
.tooltip-variant-black.od-tooltip-placement-bottom .od-tooltip-arrow,
|
|
2366
|
+
.tooltip-variant-black.od-tooltip-placement-bottomLeft .od-tooltip-arrow,
|
|
2367
|
+
.tooltip-variant-black.od-tooltip-placement-bottomRight .od-tooltip-arrow {
|
|
2368
|
+
top: ${arrowDistance};
|
|
2369
|
+
margin-left: -${arrowSize}px;
|
|
2370
|
+
border-width: 0 ${arrowSize}px ${arrowSize}px;
|
|
2303
2371
|
border-bottom-color: ${() => theme.components.tooltip.black.background};
|
|
2304
2372
|
}
|
|
2305
2373
|
|
|
2306
2374
|
/* White variant - small size */
|
|
2307
|
-
.tooltip-variant-white.tooltip-size-small .
|
|
2375
|
+
.tooltip-variant-white.tooltip-size-small .od-tooltip-inner {
|
|
2308
2376
|
background: ${() => theme.components.tooltip.white.small.background};
|
|
2309
2377
|
border: 1px solid ${() => theme.components.tooltip.white.small.borderColor};
|
|
2310
2378
|
color: ${() => theme.components.tooltip.white.small.color};
|
|
@@ -2318,44 +2386,44 @@ var TooltipGlobalStyles = baseStyled.createGlobalStyle`
|
|
|
2318
2386
|
text-decoration: none;
|
|
2319
2387
|
}
|
|
2320
2388
|
|
|
2321
|
-
.tooltip-variant-white.tooltip-size-small.
|
|
2322
|
-
.tooltip-variant-white.tooltip-size-small.
|
|
2323
|
-
.tooltip-variant-white.tooltip-size-small.
|
|
2324
|
-
bottom: ${
|
|
2325
|
-
margin-left:
|
|
2326
|
-
border-width:
|
|
2389
|
+
.tooltip-variant-white.tooltip-size-small.od-tooltip-placement-top .od-tooltip-arrow,
|
|
2390
|
+
.tooltip-variant-white.tooltip-size-small.od-tooltip-placement-topLeft .od-tooltip-arrow,
|
|
2391
|
+
.tooltip-variant-white.tooltip-size-small.od-tooltip-placement-topRight .od-tooltip-arrow {
|
|
2392
|
+
bottom: ${arrowDistance};
|
|
2393
|
+
margin-left: -${arrowSize}px;
|
|
2394
|
+
border-width: ${arrowSize}px ${arrowSize}px 0;
|
|
2327
2395
|
border-top-color: ${() => theme.components.tooltip.white.small.background};
|
|
2328
2396
|
}
|
|
2329
2397
|
|
|
2330
|
-
.tooltip-variant-white.tooltip-size-small.
|
|
2331
|
-
.tooltip-variant-white.tooltip-size-small.
|
|
2332
|
-
.tooltip-variant-white.tooltip-size-small.
|
|
2333
|
-
left: ${
|
|
2334
|
-
margin-top:
|
|
2335
|
-
border-width:
|
|
2398
|
+
.tooltip-variant-white.tooltip-size-small.od-tooltip-placement-right .od-tooltip-arrow,
|
|
2399
|
+
.tooltip-variant-white.tooltip-size-small.od-tooltip-placement-rightTop .od-tooltip-arrow,
|
|
2400
|
+
.tooltip-variant-white.tooltip-size-small.od-tooltip-placement-rightBottom .od-tooltip-arrow {
|
|
2401
|
+
left: ${arrowDistance};
|
|
2402
|
+
margin-top: -${arrowSize}px;
|
|
2403
|
+
border-width: ${arrowSize}px ${arrowSize}px ${arrowSize}px 0;
|
|
2336
2404
|
border-right-color: ${() => theme.components.tooltip.white.small.background};
|
|
2337
2405
|
}
|
|
2338
2406
|
|
|
2339
|
-
.tooltip-variant-white.tooltip-size-small.
|
|
2340
|
-
.tooltip-variant-white.tooltip-size-small.
|
|
2341
|
-
.tooltip-variant-white.tooltip-size-small.
|
|
2342
|
-
right: ${
|
|
2343
|
-
margin-top:
|
|
2344
|
-
border-width:
|
|
2407
|
+
.tooltip-variant-white.tooltip-size-small.od-tooltip-placement-left .od-tooltip-arrow,
|
|
2408
|
+
.tooltip-variant-white.tooltip-size-small.od-tooltip-placement-leftTop .od-tooltip-arrow,
|
|
2409
|
+
.tooltip-variant-white.tooltip-size-small.od-tooltip-placement-leftBottom .od-tooltip-arrow {
|
|
2410
|
+
right: ${arrowDistance};
|
|
2411
|
+
margin-top: -${arrowSize}px;
|
|
2412
|
+
border-width: ${arrowSize}px 0 ${arrowSize}px ${arrowSize}px;
|
|
2345
2413
|
border-left-color: ${() => theme.components.tooltip.white.small.background};
|
|
2346
2414
|
}
|
|
2347
2415
|
|
|
2348
|
-
.tooltip-variant-white.tooltip-size-small.
|
|
2349
|
-
.tooltip-variant-white.tooltip-size-small.
|
|
2350
|
-
.tooltip-variant-white.tooltip-size-small.
|
|
2351
|
-
top: ${
|
|
2352
|
-
margin-left:
|
|
2353
|
-
border-width: 0
|
|
2416
|
+
.tooltip-variant-white.tooltip-size-small.od-tooltip-placement-bottom .od-tooltip-arrow,
|
|
2417
|
+
.tooltip-variant-white.tooltip-size-small.od-tooltip-placement-bottomLeft .od-tooltip-arrow,
|
|
2418
|
+
.tooltip-variant-white.tooltip-size-small.od-tooltip-placement-bottomRight .od-tooltip-arrow {
|
|
2419
|
+
top: ${arrowDistance};
|
|
2420
|
+
margin-left: -${arrowSize}px;
|
|
2421
|
+
border-width: 0 ${arrowSize}px ${arrowSize}px;
|
|
2354
2422
|
border-bottom-color: ${() => theme.components.tooltip.white.small.background};
|
|
2355
2423
|
}
|
|
2356
2424
|
|
|
2357
2425
|
/* White variant - large size */
|
|
2358
|
-
.tooltip-variant-white.tooltip-size-large .
|
|
2426
|
+
.tooltip-variant-white.tooltip-size-large .od-tooltip-inner {
|
|
2359
2427
|
background: ${() => theme.components.tooltip.white.large.background};
|
|
2360
2428
|
border: 1px solid ${() => theme.components.tooltip.white.large.borderColor};
|
|
2361
2429
|
color: ${() => theme.components.tooltip.white.large.color};
|
|
@@ -2369,39 +2437,39 @@ var TooltipGlobalStyles = baseStyled.createGlobalStyle`
|
|
|
2369
2437
|
text-decoration: none;
|
|
2370
2438
|
}
|
|
2371
2439
|
|
|
2372
|
-
.tooltip-variant-white.tooltip-size-large.
|
|
2373
|
-
.tooltip-variant-white.tooltip-size-large.
|
|
2374
|
-
.tooltip-variant-white.tooltip-size-large.
|
|
2375
|
-
bottom: ${
|
|
2376
|
-
margin-left:
|
|
2377
|
-
border-width:
|
|
2378
|
-
border-top-color: ${() => theme.components.tooltip.white.large.
|
|
2440
|
+
.tooltip-variant-white.tooltip-size-large.od-tooltip-placement-top .od-tooltip-arrow,
|
|
2441
|
+
.tooltip-variant-white.tooltip-size-large.od-tooltip-placement-topLeft .od-tooltip-arrow,
|
|
2442
|
+
.tooltip-variant-white.tooltip-size-large.od-tooltip-placement-topRight .od-tooltip-arrow {
|
|
2443
|
+
bottom: ${arrowDistance};
|
|
2444
|
+
margin-left: -${arrowSize}px;
|
|
2445
|
+
border-width: ${arrowSize}px ${arrowSize}px 0;
|
|
2446
|
+
border-top-color: ${() => theme.components.tooltip.white.large.borderColor};
|
|
2379
2447
|
}
|
|
2380
2448
|
|
|
2381
|
-
.tooltip-variant-white.tooltip-size-large.
|
|
2382
|
-
.tooltip-variant-white.tooltip-size-large.
|
|
2383
|
-
.tooltip-variant-white.tooltip-size-large.
|
|
2384
|
-
left: ${
|
|
2385
|
-
margin-top:
|
|
2386
|
-
border-width:
|
|
2449
|
+
.tooltip-variant-white.tooltip-size-large.od-tooltip-placement-right .od-tooltip-arrow,
|
|
2450
|
+
.tooltip-variant-white.tooltip-size-large.od-tooltip-placement-rightTop .od-tooltip-arrow,
|
|
2451
|
+
.tooltip-variant-white.tooltip-size-large.od-tooltip-placement-rightBottom .od-tooltip-arrow {
|
|
2452
|
+
left: ${arrowDistance};
|
|
2453
|
+
margin-top: -${arrowSize}px;
|
|
2454
|
+
border-width: ${arrowSize}px ${arrowSize}px ${arrowSize}px 0;
|
|
2387
2455
|
border-right-color: ${() => theme.components.tooltip.white.large.background};
|
|
2388
2456
|
}
|
|
2389
2457
|
|
|
2390
|
-
.tooltip-variant-white.tooltip-size-large.
|
|
2391
|
-
.tooltip-variant-white.tooltip-size-large.
|
|
2392
|
-
.tooltip-variant-white.tooltip-size-large.
|
|
2393
|
-
right: ${
|
|
2394
|
-
margin-top:
|
|
2395
|
-
border-width:
|
|
2458
|
+
.tooltip-variant-white.tooltip-size-large.od-tooltip-placement-left .od-tooltip-arrow,
|
|
2459
|
+
.tooltip-variant-white.tooltip-size-large.od-tooltip-placement-leftTop .od-tooltip-arrow,
|
|
2460
|
+
.tooltip-variant-white.tooltip-size-large.od-tooltip-placement-leftBottom .od-tooltip-arrow {
|
|
2461
|
+
right: ${arrowDistance};
|
|
2462
|
+
margin-top: -${arrowSize}px;
|
|
2463
|
+
border-width: ${arrowSize}px 0 ${arrowSize}px ${arrowSize}px;
|
|
2396
2464
|
border-left-color: ${() => theme.components.tooltip.white.large.background};
|
|
2397
2465
|
}
|
|
2398
2466
|
|
|
2399
|
-
.tooltip-variant-white.tooltip-size-large.
|
|
2400
|
-
.tooltip-variant-white.tooltip-size-large.
|
|
2401
|
-
.tooltip-variant-white.tooltip-size-large.
|
|
2402
|
-
top: ${
|
|
2403
|
-
margin-left:
|
|
2404
|
-
border-width: 0
|
|
2467
|
+
.tooltip-variant-white.tooltip-size-large.od-tooltip-placement-bottom .od-tooltip-arrow,
|
|
2468
|
+
.tooltip-variant-white.tooltip-size-large.od-tooltip-placement-bottomLeft .od-tooltip-arrow,
|
|
2469
|
+
.tooltip-variant-white.tooltip-size-large.od-tooltip-placement-bottomRight .od-tooltip-arrow {
|
|
2470
|
+
top: ${arrowDistance};
|
|
2471
|
+
margin-left: -${arrowSize}px;
|
|
2472
|
+
border-width: 0 ${arrowSize}px ${arrowSize}px;
|
|
2405
2473
|
border-bottom-color: ${() => theme.components.tooltip.white.large.background};
|
|
2406
2474
|
}
|
|
2407
2475
|
`;
|