@vygruppen/spor-react 12.8.2 → 12.8.3
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/.turbo/turbo-build.log +12 -12
- package/.turbo/turbo-postinstall.log +1 -1
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs +21 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.mjs +20 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/index.tsx +1 -0
- package/src/theme/slot-recipes/index.ts +1 -0
- package/src/theme/slot-recipes/popover.ts +2 -0
- package/src/tooltip.tsx +38 -0
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@12.8.
|
2
|
+
> @vygruppen/spor-react@12.8.3 build /home/runner/work/spor/spor/packages/spor-react
|
3
3
|
> tsup
|
4
4
|
|
5
5
|
CLI Building entry: src/index.tsx, src/icons/index.tsx
|
@@ -11,18 +11,18 @@ CLI Cleaning output folder
|
|
11
11
|
ESM Build start
|
12
12
|
CJS Build start
|
13
13
|
DTS Build start
|
14
|
-
|
15
|
-
ESM dist/icons/index.mjs 110.00 B
|
16
|
-
ESM dist/index.mjs.map 625.25 KB
|
17
|
-
ESM dist/icons/index.mjs.map 157.00 B
|
18
|
-
ESM ⚡️ Build success in 3028ms
|
19
|
-
CJS dist/index.cjs 312.53 KB
|
14
|
+
CJS dist/index.cjs 313.52 KB
|
20
15
|
CJS dist/icons/index.cjs 381.00 B
|
21
16
|
CJS dist/icons/index.cjs.map 157.00 B
|
22
|
-
CJS dist/index.cjs.map
|
23
|
-
CJS ⚡️ Build success in
|
24
|
-
|
17
|
+
CJS dist/index.cjs.map 627.10 KB
|
18
|
+
CJS ⚡️ Build success in 3142ms
|
19
|
+
ESM dist/index.mjs 292.69 KB
|
20
|
+
ESM dist/icons/index.mjs 110.00 B
|
21
|
+
ESM dist/index.mjs.map 627.10 KB
|
22
|
+
ESM dist/icons/index.mjs.map 157.00 B
|
23
|
+
ESM ⚡️ Build success in 3146ms
|
24
|
+
DTS ⚡️ Build success in 30320ms
|
25
25
|
DTS dist/icons/index.d.ts 44.00 B
|
26
|
-
DTS dist/index.d.ts
|
26
|
+
DTS dist/index.d.ts 156.38 KB
|
27
27
|
DTS dist/icons/index.d.cts 44.00 B
|
28
|
-
DTS dist/index.d.cts
|
28
|
+
DTS dist/index.d.cts 156.38 KB
|
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
@@ -8551,6 +8551,7 @@ var popoverSlotRecipe = react.defineSlotRecipe({
|
|
8551
8551
|
position: "relative",
|
8552
8552
|
display: "flex",
|
8553
8553
|
flexDirection: "row-reverse",
|
8554
|
+
color: "text.inverted",
|
8554
8555
|
gap: "0.625rem",
|
8555
8556
|
padding: "0.563rem 0.75rem",
|
8556
8557
|
textStyle: "sm",
|
@@ -9760,7 +9761,8 @@ var slotRecipes = {
|
|
9760
9761
|
travelTag: travelTagSlotRecipe,
|
9761
9762
|
toast: toastSlotRecipe,
|
9762
9763
|
checkboxCard: choiceChipSlotRecipe,
|
9763
|
-
collapsible: collapsibleSlotRecipe
|
9764
|
+
collapsible: collapsibleSlotRecipe,
|
9765
|
+
tooltip: popoverSlotRecipe
|
9764
9766
|
};
|
9765
9767
|
var animations = react.defineTokens.animations({
|
9766
9768
|
spin: {
|
@@ -10576,6 +10578,21 @@ var themes = {
|
|
10576
10578
|
)
|
10577
10579
|
};
|
10578
10580
|
var system = themes["VyDigital" /* VyDigital */];
|
10581
|
+
var Tooltip = react.Tooltip.Root;
|
10582
|
+
var TooltipTrigger = React27.forwardRef(({ children, ...props }, ref) => {
|
10583
|
+
const isStringChild = typeof children === "string";
|
10584
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react.Tooltip.Trigger, { ...props, ref, asChild: !isStringChild, children });
|
10585
|
+
});
|
10586
|
+
TooltipTrigger.displayName = "TooltipTrigger";
|
10587
|
+
var TooltipContent = React27.forwardRef(
|
10588
|
+
({ children, ...props }, ref) => {
|
10589
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(react.Tooltip.Positioner, { children: /* @__PURE__ */ jsxRuntime.jsxs(react.Tooltip.Content, { ref, ...props, children: [
|
10590
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.Tooltip.Arrow, {}),
|
10591
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.Tooltip.Content, { ...props, children })
|
10592
|
+
] }) }) });
|
10593
|
+
}
|
10594
|
+
);
|
10595
|
+
TooltipContent.displayName = "TooltipContent";
|
10579
10596
|
|
10580
10597
|
Object.defineProperty(exports, "Box", {
|
10581
10598
|
enumerable: true,
|
@@ -10951,6 +10968,9 @@ exports.Text = Text3;
|
|
10951
10968
|
exports.TextLink = TextLink;
|
10952
10969
|
exports.Textarea = Textarea;
|
10953
10970
|
exports.TimePicker = TimePicker;
|
10971
|
+
exports.Tooltip = Tooltip;
|
10972
|
+
exports.TooltipContent = TooltipContent;
|
10973
|
+
exports.TooltipTrigger = TooltipTrigger;
|
10954
10974
|
exports.TravelTag = TravelTag;
|
10955
10975
|
exports.VyLogo = VyLogo;
|
10956
10976
|
exports.VyLogoPride = VyLogoPride;
|