@noya-app/noya-designsystem 0.0.11 → 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 +7 -7
- package/CHANGELOG.md +12 -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/.turbo/turbo-build.log
CHANGED
|
@@ -5,13 +5,13 @@ CLI tsup v8.0.1
|
|
|
5
5
|
CLI Target: esnext
|
|
6
6
|
CJS Build start
|
|
7
7
|
ESM Build start
|
|
8
|
-
CJS dist/index.js 184.
|
|
9
|
-
CJS dist/index.js.map
|
|
10
|
-
CJS ⚡️ Build success in
|
|
11
|
-
ESM dist/index.mjs
|
|
12
|
-
ESM dist/index.mjs.map
|
|
13
|
-
ESM ⚡️ Build success in
|
|
8
|
+
CJS dist/index.js 184.37 KB
|
|
9
|
+
CJS dist/index.js.map 368.96 KB
|
|
10
|
+
CJS ⚡️ Build success in 141ms
|
|
11
|
+
ESM dist/index.mjs 168.10 KB
|
|
12
|
+
ESM dist/index.mjs.map 368.04 KB
|
|
13
|
+
ESM ⚡️ Build success in 142ms
|
|
14
14
|
DTS Build start
|
|
15
|
-
DTS ⚡️ Build success in
|
|
15
|
+
DTS ⚡️ Build success in 6815ms
|
|
16
16
|
DTS dist/index.d.ts 53.26 KB
|
|
17
17
|
DTS dist/index.d.mts 53.26 KB
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @noya-app/noya-designsystem
|
|
2
2
|
|
|
3
|
+
## 0.0.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix deps
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @noya-app/noya-colorpicker@0.0.6
|
|
10
|
+
- @noya-app/noya-geometry@0.0.10
|
|
11
|
+
- @noya-app/noya-icons@0.0.3
|
|
12
|
+
- @noya-app/noya-keymap@0.0.5
|
|
13
|
+
- @noya-app/noya-utils@0.0.9
|
|
14
|
+
|
|
3
15
|
## 0.0.11
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -272,8 +272,8 @@ declare const DropdownMenu: <T extends string>(props: MenuProps<T> & {
|
|
|
272
272
|
onCloseAutoFocus?: ((event: React__default.SyntheticEvent<unknown, Event>) => void) | undefined;
|
|
273
273
|
} & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
274
274
|
|
|
275
|
-
declare const SUPPORTED_IMAGE_UPLOAD_TYPES: ("image/png" | "image/jpeg" | "image/webp" | "
|
|
276
|
-
declare const SUPPORTED_CANVAS_UPLOAD_TYPES: ("" | "image/png" | "image/jpeg" | "image/webp" | "
|
|
275
|
+
declare const SUPPORTED_IMAGE_UPLOAD_TYPES: ("image/png" | "image/jpeg" | "image/webp" | "application/pdf" | "image/svg+xml")[];
|
|
276
|
+
declare const SUPPORTED_CANVAS_UPLOAD_TYPES: ("" | "image/png" | "image/jpeg" | "image/webp" | "application/pdf" | "image/svg+xml")[];
|
|
277
277
|
type SupportedImageUploadType = (typeof SUPPORTED_IMAGE_UPLOAD_TYPES)[number];
|
|
278
278
|
type SupportedCanvasUploadType = (typeof SUPPORTED_CANVAS_UPLOAD_TYPES)[number];
|
|
279
279
|
type SketchPattern = {
|
package/dist/index.d.ts
CHANGED
|
@@ -272,8 +272,8 @@ declare const DropdownMenu: <T extends string>(props: MenuProps<T> & {
|
|
|
272
272
|
onCloseAutoFocus?: ((event: React__default.SyntheticEvent<unknown, Event>) => void) | undefined;
|
|
273
273
|
} & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
274
274
|
|
|
275
|
-
declare const SUPPORTED_IMAGE_UPLOAD_TYPES: ("image/png" | "image/jpeg" | "image/webp" | "
|
|
276
|
-
declare const SUPPORTED_CANVAS_UPLOAD_TYPES: ("" | "image/png" | "image/jpeg" | "image/webp" | "
|
|
275
|
+
declare const SUPPORTED_IMAGE_UPLOAD_TYPES: ("image/png" | "image/jpeg" | "image/webp" | "application/pdf" | "image/svg+xml")[];
|
|
276
|
+
declare const SUPPORTED_CANVAS_UPLOAD_TYPES: ("" | "image/png" | "image/jpeg" | "image/webp" | "application/pdf" | "image/svg+xml")[];
|
|
277
277
|
type SupportedImageUploadType = (typeof SUPPORTED_IMAGE_UPLOAD_TYPES)[number];
|
|
278
278
|
type SupportedCanvasUploadType = (typeof SUPPORTED_CANVAS_UPLOAD_TYPES)[number];
|
|
279
279
|
type SketchPattern = {
|
package/dist/index.js
CHANGED
|
@@ -2074,9 +2074,14 @@ var DividerVertical = (0, import_react20.memo)(function DividerVertical2(props)
|
|
|
2074
2074
|
var import_react24 = __toESM(require("react"));
|
|
2075
2075
|
var import_styled_components20 = __toESM(require("styled-components"));
|
|
2076
2076
|
|
|
2077
|
-
// ../noya-file-format/
|
|
2077
|
+
// ../noya-file-format/dist/index.mjs
|
|
2078
|
+
var __defProp2 = Object.defineProperty;
|
|
2079
|
+
var __export2 = (target, all) => {
|
|
2080
|
+
for (var name in all)
|
|
2081
|
+
__defProp2(target, name, { get: all[name], enumerable: true });
|
|
2082
|
+
};
|
|
2078
2083
|
var types_exports = {};
|
|
2079
|
-
|
|
2084
|
+
__export2(types_exports, {
|
|
2080
2085
|
AnimationType: () => AnimationType,
|
|
2081
2086
|
BlendMode: () => BlendMode,
|
|
2082
2087
|
BlurType: () => BlurType,
|
|
@@ -2695,10 +2700,6 @@ var RadixScrollArea = __toESM(require("@radix-ui/react-scroll-area"));
|
|
|
2695
2700
|
var import_react26 = __toESM(require("react"));
|
|
2696
2701
|
var import_styled_components22 = __toESM(require("styled-components"));
|
|
2697
2702
|
var SCROLLBAR_SIZE = 10;
|
|
2698
|
-
var StyledScrollArea = (0, import_styled_components22.default)(RadixScrollArea.Root)({
|
|
2699
|
-
width: "100%",
|
|
2700
|
-
height: "100%"
|
|
2701
|
-
});
|
|
2702
2703
|
var StyledViewport = (0, import_styled_components22.default)(RadixScrollArea.Viewport)({
|
|
2703
2704
|
width: "100%",
|
|
2704
2705
|
height: "100%",
|
|
@@ -2726,7 +2727,7 @@ var Container2 = import_styled_components22.default.div({
|
|
|
2726
2727
|
});
|
|
2727
2728
|
var ScrollArea = (0, import_react26.memo)(function ScrollArea2({ children }) {
|
|
2728
2729
|
const [scrollElementRef, setScrollElementRef] = (0, import_react26.useState)(null);
|
|
2729
|
-
return /* @__PURE__ */ import_react26.default.createElement(Container2, null, /* @__PURE__ */ import_react26.default.createElement(
|
|
2730
|
+
return /* @__PURE__ */ import_react26.default.createElement(Container2, null, /* @__PURE__ */ import_react26.default.createElement(RadixScrollArea.Root, { style: { width: "100%", height: "100%" } }, /* @__PURE__ */ import_react26.default.createElement(
|
|
2730
2731
|
StyledViewport,
|
|
2731
2732
|
{
|
|
2732
2733
|
ref: (0, import_react26.useCallback)(
|