frosted-ui 0.0.1-canary.88 → 0.0.1-canary.89
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.
|
@@ -22,7 +22,7 @@ const Tooltip = (props) => {
|
|
|
22
22
|
React.createElement(radix_ui_1.Tooltip.Portal, { container: container, forceMount: forceMount },
|
|
23
23
|
React.createElement(theme_1.Theme, { asChild: true },
|
|
24
24
|
React.createElement(radix_ui_1.Tooltip.Content, { sideOffset: 4, collisionPadding: 10, ...tooltipContentProps, className: (0, classnames_1.default)('fui-TooltipContent', className) },
|
|
25
|
-
React.createElement(text_1.Text, { as: "p", className: "fui-TooltipText", size: "
|
|
25
|
+
React.createElement(text_1.Text, { as: "p", className: "fui-TooltipText", size: "2" }, content),
|
|
26
26
|
React.createElement(radix_ui_1.Tooltip.Arrow, { className: "fui-TooltipArrow" }))))));
|
|
27
27
|
};
|
|
28
28
|
exports.Tooltip = Tooltip;
|
|
@@ -18,7 +18,7 @@ const Tooltip = (props) => {
|
|
|
18
18
|
React.createElement(TooltipPrimitive.Portal, { container: container, forceMount: forceMount },
|
|
19
19
|
React.createElement(Theme, { asChild: true },
|
|
20
20
|
React.createElement(TooltipPrimitive.Content, { sideOffset: 4, collisionPadding: 10, ...tooltipContentProps, className: classNames('fui-TooltipContent', className) },
|
|
21
|
-
React.createElement(Text, { as: "p", className: "fui-TooltipText", size: "
|
|
21
|
+
React.createElement(Text, { as: "p", className: "fui-TooltipText", size: "2" }, content),
|
|
22
22
|
React.createElement(TooltipPrimitive.Arrow, { className: "fui-TooltipArrow" }))))));
|
|
23
23
|
};
|
|
24
24
|
Tooltip.displayName = 'Tooltip';
|
package/package.json
CHANGED
package/styles.css
CHANGED
|
@@ -5406,15 +5406,15 @@ video {
|
|
|
5406
5406
|
}
|
|
5407
5407
|
|
|
5408
5408
|
.frosted-ui {
|
|
5409
|
-
--cursor-button:
|
|
5410
|
-
--cursor-checkbox:
|
|
5409
|
+
--cursor-button: pointer;
|
|
5410
|
+
--cursor-checkbox: pointer;
|
|
5411
5411
|
--cursor-disabled: not-allowed;
|
|
5412
5412
|
--cursor-link: pointer;
|
|
5413
|
-
--cursor-menu-item:
|
|
5414
|
-
--cursor-radio:
|
|
5415
|
-
--cursor-slider-thumb:
|
|
5416
|
-
--cursor-slider-thumb-active:
|
|
5417
|
-
--cursor-switch:
|
|
5413
|
+
--cursor-menu-item: pointer;
|
|
5414
|
+
--cursor-radio: pointer;
|
|
5415
|
+
--cursor-slider-thumb: pointer;
|
|
5416
|
+
--cursor-slider-thumb-active: pointer;
|
|
5417
|
+
--cursor-switch: pointer;
|
|
5418
5418
|
--space-1: 4px;
|
|
5419
5419
|
--space-2: 8px;
|
|
5420
5420
|
--space-3: 12px;
|
|
@@ -7263,7 +7263,7 @@ video {
|
|
|
7263
7263
|
|
|
7264
7264
|
.fui-CalendarGridCellInner {
|
|
7265
7265
|
position: relative;
|
|
7266
|
-
cursor:
|
|
7266
|
+
cursor: var(--cursor-button);
|
|
7267
7267
|
text-align: center;
|
|
7268
7268
|
padding: 6px 8px;
|
|
7269
7269
|
margin: 2px 0;
|
|
@@ -9066,7 +9066,7 @@ video {
|
|
|
9066
9066
|
|
|
9067
9067
|
.fui-RadioButtonGroupRoot :where(.fui-RadioButtonGroupButton) {
|
|
9068
9068
|
position: relative;
|
|
9069
|
-
cursor:
|
|
9069
|
+
cursor: var(--cursor-button);
|
|
9070
9070
|
-webkit-user-select: none;
|
|
9071
9071
|
user-select: none;
|
|
9072
9072
|
}
|
|
@@ -11348,15 +11348,15 @@ video {
|
|
|
11348
11348
|
|
|
11349
11349
|
.fui-TooltipContent {
|
|
11350
11350
|
padding: var(--space-1) var(--space-2);
|
|
11351
|
-
background-color: var(--
|
|
11352
|
-
|
|
11353
|
-
backdrop-filter: var(--backdrop-filter-panel);
|
|
11351
|
+
background-color: var(--gray-12);
|
|
11352
|
+
color: var(--gray-1);
|
|
11354
11353
|
|
|
11355
11354
|
border-radius: var(--radius-4);
|
|
11356
|
-
border: 1px solid var(--gray-a6);
|
|
11357
|
-
outline: 0.5px solid var(--color-tooltip-outline);
|
|
11358
11355
|
|
|
11359
|
-
box-shadow:
|
|
11356
|
+
box-shadow:
|
|
11357
|
+
0 4px 16px -8px rgba(0, 0, 0, 0.08),
|
|
11358
|
+
0 3px 12px -4px rgba(0, 0, 0, 0.05),
|
|
11359
|
+
0 2px 3px -2px rgba(0, 0, 61, 0.05);
|
|
11360
11360
|
|
|
11361
11361
|
transform-origin: var(--radix-tooltip-content-transform-origin);
|
|
11362
11362
|
|
|
@@ -11380,14 +11380,14 @@ video {
|
|
|
11380
11380
|
}
|
|
11381
11381
|
|
|
11382
11382
|
.fui-TooltipText {
|
|
11383
|
-
color: var(--gray-
|
|
11383
|
+
color: var(--gray-1);
|
|
11384
11384
|
-webkit-user-select: none;
|
|
11385
11385
|
user-select: none;
|
|
11386
11386
|
cursor: default;
|
|
11387
11387
|
}
|
|
11388
11388
|
|
|
11389
11389
|
.fui-TooltipArrow {
|
|
11390
|
-
fill:
|
|
11390
|
+
fill: var(--gray-12);
|
|
11391
11391
|
}
|
|
11392
11392
|
|
|
11393
11393
|
.fui-WidgetStackStack {
|