@noya-app/noya-designsystem 0.0.11 → 0.0.13
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 +18 -17
- package/CHANGELOG.md +24 -0
- package/dist/index.js +1 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -13
- package/src/components/ScrollArea.tsx +2 -7
package/dist/index.mjs
CHANGED
|
@@ -2654,10 +2654,6 @@ import * as RadixScrollArea from "@radix-ui/react-scroll-area";
|
|
|
2654
2654
|
import React24, { memo as memo16, useCallback as useCallback8, useState as useState4 } from "react";
|
|
2655
2655
|
import styled20 from "styled-components";
|
|
2656
2656
|
var SCROLLBAR_SIZE = 10;
|
|
2657
|
-
var StyledScrollArea = styled20(RadixScrollArea.Root)({
|
|
2658
|
-
width: "100%",
|
|
2659
|
-
height: "100%"
|
|
2660
|
-
});
|
|
2661
2657
|
var StyledViewport = styled20(RadixScrollArea.Viewport)({
|
|
2662
2658
|
width: "100%",
|
|
2663
2659
|
height: "100%",
|
|
@@ -2685,7 +2681,7 @@ var Container2 = styled20.div({
|
|
|
2685
2681
|
});
|
|
2686
2682
|
var ScrollArea = memo16(function ScrollArea2({ children }) {
|
|
2687
2683
|
const [scrollElementRef, setScrollElementRef] = useState4(null);
|
|
2688
|
-
return /* @__PURE__ */ React24.createElement(Container2, null, /* @__PURE__ */ React24.createElement(
|
|
2684
|
+
return /* @__PURE__ */ React24.createElement(Container2, null, /* @__PURE__ */ React24.createElement(RadixScrollArea.Root, { style: { width: "100%", height: "100%" } }, /* @__PURE__ */ React24.createElement(
|
|
2689
2685
|
StyledViewport,
|
|
2690
2686
|
{
|
|
2691
2687
|
ref: useCallback8(
|