@noya-app/noya-designsystem 0.0.10 → 0.0.12
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 +8 -11
- package/CHANGELOG.md +24 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -9
- package/src/components/ScrollArea.tsx +2 -7
package/dist/index.mjs
CHANGED
|
@@ -2008,9 +2008,14 @@ var DividerVertical = memo11(function DividerVertical2(props) {
|
|
|
2008
2008
|
import React22, { forwardRef as forwardRef8, memo as memo14 } from "react";
|
|
2009
2009
|
import styled18 from "styled-components";
|
|
2010
2010
|
|
|
2011
|
-
// ../noya-file-format/
|
|
2011
|
+
// ../noya-file-format/dist/index.mjs
|
|
2012
|
+
var __defProp2 = Object.defineProperty;
|
|
2013
|
+
var __export2 = (target, all) => {
|
|
2014
|
+
for (var name in all)
|
|
2015
|
+
__defProp2(target, name, { get: all[name], enumerable: true });
|
|
2016
|
+
};
|
|
2012
2017
|
var types_exports = {};
|
|
2013
|
-
|
|
2018
|
+
__export2(types_exports, {
|
|
2014
2019
|
AnimationType: () => AnimationType,
|
|
2015
2020
|
BlendMode: () => BlendMode,
|
|
2016
2021
|
BlurType: () => BlurType,
|
|
@@ -2654,10 +2659,6 @@ import * as RadixScrollArea from "@radix-ui/react-scroll-area";
|
|
|
2654
2659
|
import React24, { memo as memo16, useCallback as useCallback8, useState as useState4 } from "react";
|
|
2655
2660
|
import styled20 from "styled-components";
|
|
2656
2661
|
var SCROLLBAR_SIZE = 10;
|
|
2657
|
-
var StyledScrollArea = styled20(RadixScrollArea.Root)({
|
|
2658
|
-
width: "100%",
|
|
2659
|
-
height: "100%"
|
|
2660
|
-
});
|
|
2661
2662
|
var StyledViewport = styled20(RadixScrollArea.Viewport)({
|
|
2662
2663
|
width: "100%",
|
|
2663
2664
|
height: "100%",
|
|
@@ -2685,7 +2686,7 @@ var Container2 = styled20.div({
|
|
|
2685
2686
|
});
|
|
2686
2687
|
var ScrollArea = memo16(function ScrollArea2({ children }) {
|
|
2687
2688
|
const [scrollElementRef, setScrollElementRef] = useState4(null);
|
|
2688
|
-
return /* @__PURE__ */ React24.createElement(Container2, null, /* @__PURE__ */ React24.createElement(
|
|
2689
|
+
return /* @__PURE__ */ React24.createElement(Container2, null, /* @__PURE__ */ React24.createElement(RadixScrollArea.Root, { style: { width: "100%", height: "100%" } }, /* @__PURE__ */ React24.createElement(
|
|
2689
2690
|
StyledViewport,
|
|
2690
2691
|
{
|
|
2691
2692
|
ref: useCallback8(
|