@machinerd/js-module 0.9.0 → 0.10.0
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/README.md +0 -6
- package/dist/{api-client-C0sbSOQf.mjs → api-client-B-kwZogn.mjs} +1 -1
- package/dist/hooks/common/index.cjs +1 -1
- package/dist/hooks/common/index.d.cts +6 -7
- package/dist/hooks/common/index.d.mts +6 -7
- package/dist/hooks/common/index.mjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/providers/api-client/index.cjs +1 -1
- package/dist/providers/api-client/index.d.cts +3 -3
- package/dist/providers/api-client/index.d.mts +3 -3
- package/dist/providers/api-client/index.mjs +1 -1
- package/dist/providers/noti-stack/index.d.cts +2 -2
- package/dist/{skeleton-Y22bmaaB.mjs → skeleton-azZrk5-3.mjs} +1 -1
- package/dist/styles/index.css +0 -251
- package/dist/ui/carousel/index.cjs +1 -1
- package/dist/ui/carousel/index.d.cts +9 -9
- package/dist/ui/carousel/index.d.mts +9 -9
- package/dist/ui/carousel/index.mjs +1 -1
- package/dist/ui/dialog/index.cjs +1 -1
- package/dist/ui/dialog/index.d.cts +2 -2
- package/dist/ui/dialog/index.d.mts +4 -4
- package/dist/ui/dialog/index.mjs +1 -1
- package/dist/ui/dnd/index.d.cts +2 -2
- package/dist/ui/image/index.cjs +1 -1
- package/dist/ui/image/index.d.cts +8 -8
- package/dist/ui/image/index.d.mts +8 -8
- package/dist/ui/image/index.mjs +1 -1
- package/dist/ui/index.cjs +1 -1
- package/dist/ui/index.d.cts +55 -12
- package/dist/ui/index.d.mts +58 -15
- package/dist/ui/index.mjs +1 -1
- package/dist/ui/motion-dialog/index.cjs +1 -1
- package/dist/ui/motion-dialog/index.mjs +1 -1
- package/dist/ui/sheet/index.cjs +1 -1
- package/dist/ui/sheet/index.d.cts +2 -2
- package/dist/ui/sheet/index.d.mts +2 -2
- package/dist/ui/sheet/index.mjs +1 -1
- package/dist/ui/switch/index.cjs +1 -1
- package/dist/ui/switch/index.mjs +1 -1
- package/dist/ui/tooltip/index.cjs +1 -1
- package/dist/ui/tooltip/index.d.cts +2 -2
- package/dist/ui/tooltip/index.mjs +1 -1
- package/dist/{use-subset-image-o_gmC1HL.cjs → use-subset-image-CTy5mCLo.cjs} +1 -1
- package/dist/{use-subset-image-Df2fCrtH.mjs → use-subset-image-LQWsE5P4.mjs} +1 -1
- package/dist/util/common.mjs +1 -1
- package/dist/util/file.mjs +1 -1
- package/dist/util/format.cjs +1 -1
- package/dist/util/format.d.cts +1 -29
- package/dist/util/format.d.mts +1 -29
- package/dist/util/format.mjs +1 -1
- package/package.json +4 -42
- package/dist/button-CQZuaIU7.mjs +0 -1
- package/dist/button-ChX3XGbR.cjs +0 -1
- package/dist/button-DHvx-GAg.d.cts +0 -50
- package/dist/button-DRIyBtEB.d.mts +0 -50
- package/dist/editor/index.cjs +0 -1
- package/dist/editor/index.d.cts +0 -80
- package/dist/editor/index.d.mts +0 -80
- package/dist/editor/index.mjs +0 -1
- package/dist/format-1_RTNUQv.mjs +0 -1
- package/dist/format-DEuImTYJ.cjs +0 -1
- package/dist/styles/editor.css +0 -255
- package/dist/ui/dropdown/index.cjs +0 -1
- package/dist/ui/dropdown/index.d.cts +0 -72
- package/dist/ui/dropdown/index.d.mts +0 -72
- package/dist/ui/dropdown/index.mjs +0 -1
- package/dist/ui/preserve-focus-button/index.cjs +0 -1
- package/dist/ui/preserve-focus-button/index.d.cts +0 -12
- package/dist/ui/preserve-focus-button/index.d.mts +0 -12
- package/dist/ui/preserve-focus-button/index.mjs +0 -1
- package/dist/ui-Bs9PP9eC.cjs +0 -1
- package/dist/ui-D2DoC_0E.mjs +0 -1
- package/dist/use-drag-resize-BdeLdulk.mjs +0 -1
- package/dist/use-drag-resize-DEgcua2U.d.cts +0 -48
- package/dist/use-drag-resize-DRHPv5RK.d.mts +0 -48
- package/dist/use-drag-resize-DeDqPC4h.cjs +0 -1
- package/dist/util/editor.cjs +0 -1
- package/dist/util/editor.d.cts +0 -21
- package/dist/util/editor.d.mts +0 -21
- package/dist/util/editor.mjs +0 -1
- /package/dist/{api-client-C3o2pO0q.cjs → api-client-BH5tW3p8.cjs} +0 -0
- /package/dist/{common-B8HXyhZa.cjs → common-BQEGjmFn.cjs} +0 -0
- /package/dist/{common-ZUMpASnc.mjs → common-CCtD91nO.mjs} +0 -0
- /package/dist/{common-CWHkXe0F.mjs → common-L3y7_eAy.mjs} +0 -0
- /package/dist/{file-B-UJkabO.mjs → file-CjW1pMb_.mjs} +0 -0
- /package/dist/{index-B1YNV_Vm.d.cts → index-CFOJBfVt.d.mts} +0 -0
- /package/dist/{index-C8chDULk.d.mts → index-ChiDX5zW.d.cts} +0 -0
- /package/dist/{skeleton-B5ZccRFX.cjs → skeleton-BCdxpynL.cjs} +0 -0
- /package/dist/{src-CIMlbgv1.mjs → src-Ce2i3Lkj.mjs} +0 -0
- /package/dist/{use-dialog-stack-YiLs-sNf.cjs → use-dialog-stack-DmBRPhe2.cjs} +0 -0
- /package/dist/{use-dialog-stack-Crj8YWJl.mjs → use-dialog-stack-STwnhvBB.mjs} +0 -0
- /package/dist/{use-subset-image-Dygkyw-W.d.mts → use-subset-image-Ck1Gk5Qk.d.mts} +0 -0
- /package/dist/{use-subset-image-bDB5TSd4.d.cts → use-subset-image-oZAiC9VK.d.cts} +0 -0
package/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./src-
|
|
1
|
+
import{t as e}from"./src-Ce2i3Lkj.mjs";import{createContext as t,useContext as n,useMemo as r}from"react";import{jsx as i}from"react/jsx-runtime";const a=t(null);function o({children:t,config:n}){let{apiEndpoint:o,cdnEndpoint:s}=n,c=r(()=>new e({apiEndpoint:o,cdnEndpoint:s}),[o,s]);return i(a.Provider,{value:c,children:t})}function s(){let e=n(a);if(!e)throw Error(`ApiClient not found`);return e}export{s as n,o as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";require(`../../src-6KfzqI9Z.cjs`),require(`../../file-5mweNdAM.cjs`);const e=require(`../../
|
|
1
|
+
"use client";require(`../../src-6KfzqI9Z.cjs`),require(`../../file-5mweNdAM.cjs`);const e=require(`../../common-BQEGjmFn.cjs`),t=require(`../../use-dialog-stack-DmBRPhe2.cjs`);require(`../../api-client-BH5tW3p8.cjs`);const n=require(`../../use-subset-image-CTy5mCLo.cjs`);exports.SKIP=e.o,exports.SUBSETS=n.t,exports.useDelayUnmount=e.l,exports.useDialogStack=t.t,exports.useDragScroll=e.c,exports.useEffectOnce=e.s,exports.useOutsideClick=e.a,exports.useScrollLock=e.i,exports.useScrollTop=e.r,exports.useSticky=e.n,exports.useSubsetImage=n.n,exports.useWindowSize=e.t;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import
|
|
3
|
-
import * as react6 from "react";
|
|
1
|
+
import { a as useSubsetImage, i as UseSubsetImageProps, n as Folder, r as SUBSETS, t as BaseProps } from "../../use-subset-image-oZAiC9VK.cjs";
|
|
2
|
+
import * as react0 from "react";
|
|
4
3
|
import { DependencyList, Dispatch, EffectCallback, RefObject, SetStateAction } from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/hooks/use-delay-unmount.d.ts
|
|
@@ -11,7 +10,7 @@ declare function useDialogStack(isOpen: boolean, onClose: () => void, lockScroll
|
|
|
11
10
|
//#endregion
|
|
12
11
|
//#region src/hooks/use-drag-scroll.d.ts
|
|
13
12
|
declare function useDragScroll(speed?: number): {
|
|
14
|
-
ref:
|
|
13
|
+
ref: react0.RefObject<HTMLDivElement>;
|
|
15
14
|
onMouseDown: (e: React.MouseEvent) => void;
|
|
16
15
|
onMouseLeave: () => void;
|
|
17
16
|
onMouseUp: () => void;
|
|
@@ -55,12 +54,12 @@ declare function useScrollTop({
|
|
|
55
54
|
}?: UseScrollTopProps): {
|
|
56
55
|
isVisible: boolean;
|
|
57
56
|
handleScrolToTop: () => void;
|
|
58
|
-
ref:
|
|
57
|
+
ref: react0.RefObject<HTMLDivElement>;
|
|
59
58
|
};
|
|
60
59
|
//#endregion
|
|
61
60
|
//#region src/hooks/use-sticky.d.ts
|
|
62
61
|
declare function useSticky(): {
|
|
63
|
-
sentinelRef:
|
|
62
|
+
sentinelRef: react0.Dispatch<react0.SetStateAction<HTMLDivElement | null>>;
|
|
64
63
|
isStuck: boolean;
|
|
65
64
|
};
|
|
66
65
|
//#endregion
|
|
@@ -69,4 +68,4 @@ declare function useWindowSize(defaultWidth?: number): {
|
|
|
69
68
|
windowSize: number;
|
|
70
69
|
};
|
|
71
70
|
//#endregion
|
|
72
|
-
export { BaseProps, Folder,
|
|
71
|
+
export { BaseProps, Folder, SKIP, SUBSETS, UseOutsideClickProps, UseScrollLockProps, UseScrollTopProps, UseSubsetImageProps, useDelayUnmount, useDialogStack, useDragScroll, useEffectOnce, useOutsideClick, useScrollLock, useScrollTop, useSticky, useSubsetImage, useWindowSize };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import
|
|
3
|
-
import * as react5 from "react";
|
|
1
|
+
import { a as useSubsetImage, i as UseSubsetImageProps, n as Folder, r as SUBSETS, t as BaseProps } from "../../use-subset-image-Ck1Gk5Qk.mjs";
|
|
2
|
+
import * as react1 from "react";
|
|
4
3
|
import { DependencyList, Dispatch, EffectCallback, RefObject, SetStateAction } from "react";
|
|
5
4
|
|
|
6
5
|
//#region src/hooks/use-delay-unmount.d.ts
|
|
@@ -11,7 +10,7 @@ declare function useDialogStack(isOpen: boolean, onClose: () => void, lockScroll
|
|
|
11
10
|
//#endregion
|
|
12
11
|
//#region src/hooks/use-drag-scroll.d.ts
|
|
13
12
|
declare function useDragScroll(speed?: number): {
|
|
14
|
-
ref:
|
|
13
|
+
ref: react1.RefObject<HTMLDivElement>;
|
|
15
14
|
onMouseDown: (e: React.MouseEvent) => void;
|
|
16
15
|
onMouseLeave: () => void;
|
|
17
16
|
onMouseUp: () => void;
|
|
@@ -55,12 +54,12 @@ declare function useScrollTop({
|
|
|
55
54
|
}?: UseScrollTopProps): {
|
|
56
55
|
isVisible: boolean;
|
|
57
56
|
handleScrolToTop: () => void;
|
|
58
|
-
ref:
|
|
57
|
+
ref: react1.RefObject<HTMLDivElement>;
|
|
59
58
|
};
|
|
60
59
|
//#endregion
|
|
61
60
|
//#region src/hooks/use-sticky.d.ts
|
|
62
61
|
declare function useSticky(): {
|
|
63
|
-
sentinelRef:
|
|
62
|
+
sentinelRef: react1.Dispatch<react1.SetStateAction<HTMLDivElement | null>>;
|
|
64
63
|
isStuck: boolean;
|
|
65
64
|
};
|
|
66
65
|
//#endregion
|
|
@@ -69,4 +68,4 @@ declare function useWindowSize(defaultWidth?: number): {
|
|
|
69
68
|
windowSize: number;
|
|
70
69
|
};
|
|
71
70
|
//#endregion
|
|
72
|
-
export { BaseProps, Folder,
|
|
71
|
+
export { BaseProps, Folder, SKIP, SUBSETS, UseOutsideClickProps, UseScrollLockProps, UseScrollTopProps, UseSubsetImageProps, useDelayUnmount, useDialogStack, useDragScroll, useEffectOnce, useOutsideClick, useScrollLock, useScrollTop, useSticky, useSubsetImage, useWindowSize };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import"../../src-
|
|
1
|
+
"use client";import"../../src-Ce2i3Lkj.mjs";import"../../file-CjW1pMb_.mjs";import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c}from"../../common-L3y7_eAy.mjs";import{t as l}from"../../use-dialog-stack-STwnhvBB.mjs";import"../../api-client-B-kwZogn.mjs";import{n as u,t as d}from"../../use-subset-image-LQWsE5P4.mjs";export{a as SKIP,d as SUBSETS,r as useDelayUnmount,l as useDialogStack,t as useDragScroll,s as useEffectOnce,e as useOutsideClick,n as useScrollLock,o as useScrollTop,i as useSticky,u as useSubsetImage,c as useWindowSize};
|
package/dist/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ApiConfig, r as UploadValues, t as ApiClient } from "./index-
|
|
1
|
+
import { n as ApiConfig, r as UploadValues, t as ApiClient } from "./index-ChiDX5zW.cjs";
|
|
2
2
|
export { ApiConfig, UploadValues, ApiClient as default };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ApiConfig, r as UploadValues, t as ApiClient } from "./index-
|
|
1
|
+
import { n as ApiConfig, r as UploadValues, t as ApiClient } from "./index-CFOJBfVt.mjs";
|
|
2
2
|
export { ApiConfig, UploadValues, ApiClient as default };
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./src-
|
|
1
|
+
import{t as e}from"./src-Ce2i3Lkj.mjs";export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`../../src-6KfzqI9Z.cjs`);const e=require(`../../api-client-
|
|
1
|
+
require(`../../src-6KfzqI9Z.cjs`);const e=require(`../../api-client-BH5tW3p8.cjs`);exports.ApiClientProvider=e.t,exports.useApiClient=e.n;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ApiConfig, t as ApiClient } from "../../index-
|
|
2
|
-
import * as
|
|
1
|
+
import { n as ApiConfig, t as ApiClient } from "../../index-ChiDX5zW.cjs";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/providers/api-client/api-client.d.ts
|
|
5
5
|
declare function ApiClientProvider({
|
|
@@ -8,7 +8,7 @@ declare function ApiClientProvider({
|
|
|
8
8
|
}: {
|
|
9
9
|
children: React.ReactNode;
|
|
10
10
|
config: ApiConfig;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
12
12
|
declare function useApiClient(): ApiClient;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { ApiClientProvider, useApiClient };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ApiConfig, t as ApiClient } from "../../index-
|
|
2
|
-
import * as
|
|
1
|
+
import { n as ApiConfig, t as ApiClient } from "../../index-CFOJBfVt.mjs";
|
|
2
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/providers/api-client/api-client.d.ts
|
|
5
5
|
declare function ApiClientProvider({
|
|
@@ -8,7 +8,7 @@ declare function ApiClientProvider({
|
|
|
8
8
|
}: {
|
|
9
9
|
children: React.ReactNode;
|
|
10
10
|
config: ApiConfig;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime10.JSX.Element;
|
|
12
12
|
declare function useApiClient(): ApiClient;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { ApiClientProvider, useApiClient };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../src-
|
|
1
|
+
import"../../src-Ce2i3Lkj.mjs";import{n as e,t}from"../../api-client-B-kwZogn.mjs";export{t as ApiClientProvider,e as useApiClient};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
|
-
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
3
2
|
import { SnackbarProvider } from "notistack";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/providers/noti-stack/noti-stack.d.ts
|
|
6
6
|
declare function NotiStackProvider({
|
|
7
7
|
maxSnack,
|
|
8
8
|
...props
|
|
9
|
-
}: ComponentProps<typeof SnackbarProvider>):
|
|
9
|
+
}: ComponentProps<typeof SnackbarProvider>): react_jsx_runtime0.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { NotiStackProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e}from"./common-
|
|
1
|
+
import{n as e}from"./common-CCtD91nO.mjs";import{jsx as t}from"react/jsx-runtime";import{cva as n}from"class-variance-authority";const r=n(e(`komc:w-full komc:animate-pulse komc:bg-gray-200`),{variants:{size:{xs:`komc:h-4`,sm:`komc:h-8`,md:`komc:h-12`,lg:`komc:h-16`,xl:`komc:h-20`,"2xl":`komc:h-24`,"3xl":`komc:h-28`,square:`komc:h-auto komc:aspect-square`,full:`komc:h-full`},rounded:{none:`komc:rounded-none`,sm:`komc:rounded-sm`,md:`komc:rounded-md`,lg:`komc:rounded-lg`,xl:`komc:rounded-xl`,"2xl":`komc:rounded-2xl`,"3xl":`komc:rounded-3xl`,full:`komc:rounded-full`}},defaultVariants:{size:`sm`,rounded:`sm`}});function i({size:e,rounded:n,width:i,height:a,className:o,...s}){let c=i?typeof i==`string`?i:`${i}px`:void 0,l=a?typeof a==`string`?a:`${a}px`:void 0;return t(`div`,{"data-komc":!0,"aria-hidden":`true`,className:r({size:e,rounded:n,className:o}),style:{width:c,height:l},...s})}export{i as t};
|
package/dist/styles/index.css
CHANGED
|
@@ -5,11 +5,9 @@
|
|
|
5
5
|
:root, :host {
|
|
6
6
|
--komc-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
|
7
7
|
monospace;
|
|
8
|
-
--komc-color-red-600: oklch(57.7% 0.245 27.325);
|
|
9
8
|
--komc-color-sky-950: #006699;
|
|
10
9
|
--komc-color-blue-50: oklch(97% 0.014 254.604);
|
|
11
10
|
--komc-color-blue-500: oklch(62.3% 0.214 259.815);
|
|
12
|
-
--komc-color-blue-600: oklch(54.6% 0.245 262.881);
|
|
13
11
|
--komc-color-indigo-600: oklch(51.1% 0.262 276.966);
|
|
14
12
|
--komc-color-indigo-700: oklch(45.7% 0.24 277.023);
|
|
15
13
|
--komc-color-gray-50: #fafafa;
|
|
@@ -83,16 +81,9 @@
|
|
|
83
81
|
container-type: inline-size;
|
|
84
82
|
container-name: dialog-content;
|
|
85
83
|
}
|
|
86
|
-
.komc\:\@container\/komc-editor {
|
|
87
|
-
container-type: inline-size;
|
|
88
|
-
container-name: komc-editor;
|
|
89
|
-
}
|
|
90
84
|
.komc\:pointer-events-auto {
|
|
91
85
|
pointer-events: auto;
|
|
92
86
|
}
|
|
93
|
-
.komc\:pointer-events-none {
|
|
94
|
-
pointer-events: none;
|
|
95
|
-
}
|
|
96
87
|
.komc\:invisible {
|
|
97
88
|
visibility: hidden;
|
|
98
89
|
}
|
|
@@ -111,54 +102,30 @@
|
|
|
111
102
|
.komc\:sticky {
|
|
112
103
|
position: sticky;
|
|
113
104
|
}
|
|
114
|
-
.komc\:-inset-1\.5 {
|
|
115
|
-
inset: calc(var(--komc-spacing) * -1.5);
|
|
116
|
-
}
|
|
117
105
|
.komc\:inset-0 {
|
|
118
106
|
inset: 0px;
|
|
119
107
|
}
|
|
120
|
-
.komc\:-top-1 {
|
|
121
|
-
top: calc(var(--komc-spacing) * -1);
|
|
122
|
-
}
|
|
123
108
|
.komc\:top-0 {
|
|
124
109
|
top: 0px;
|
|
125
110
|
}
|
|
126
|
-
.komc\:top-1\/2 {
|
|
127
|
-
top: calc(1 / 2 * 100%);
|
|
128
|
-
}
|
|
129
111
|
.komc\:top-full {
|
|
130
112
|
top: 100%;
|
|
131
113
|
}
|
|
132
|
-
.komc\:-right-1 {
|
|
133
|
-
right: calc(var(--komc-spacing) * -1);
|
|
134
|
-
}
|
|
135
114
|
.komc\:right-0 {
|
|
136
115
|
right: 0px;
|
|
137
116
|
}
|
|
138
|
-
.komc\:right-1 {
|
|
139
|
-
right: var(--komc-spacing);
|
|
140
|
-
}
|
|
141
117
|
.komc\:right-5 {
|
|
142
118
|
right: calc(var(--komc-spacing) * 5);
|
|
143
119
|
}
|
|
144
|
-
.komc\:-bottom-1 {
|
|
145
|
-
bottom: calc(var(--komc-spacing) * -1);
|
|
146
|
-
}
|
|
147
120
|
.komc\:bottom-0 {
|
|
148
121
|
bottom: 0px;
|
|
149
122
|
}
|
|
150
123
|
.komc\:bottom-full {
|
|
151
124
|
bottom: 100%;
|
|
152
125
|
}
|
|
153
|
-
.komc\:-left-1 {
|
|
154
|
-
left: calc(var(--komc-spacing) * -1);
|
|
155
|
-
}
|
|
156
126
|
.komc\:left-0 {
|
|
157
127
|
left: 0px;
|
|
158
128
|
}
|
|
159
|
-
.komc\:left-1 {
|
|
160
|
-
left: var(--komc-spacing);
|
|
161
|
-
}
|
|
162
129
|
.komc\:left-1\/2 {
|
|
163
130
|
left: calc(1 / 2 * 100%);
|
|
164
131
|
}
|
|
@@ -168,18 +135,9 @@
|
|
|
168
135
|
.komc\:z-0 {
|
|
169
136
|
z-index: 0;
|
|
170
137
|
}
|
|
171
|
-
.komc\:z-2 {
|
|
172
|
-
z-index: 2;
|
|
173
|
-
}
|
|
174
138
|
.komc\:z-10 {
|
|
175
139
|
z-index: 10;
|
|
176
140
|
}
|
|
177
|
-
.komc\:z-20 {
|
|
178
|
-
z-index: 20;
|
|
179
|
-
}
|
|
180
|
-
.komc\:z-50 {
|
|
181
|
-
z-index: 50;
|
|
182
|
-
}
|
|
183
141
|
.komc\:z-99 {
|
|
184
142
|
z-index: 99;
|
|
185
143
|
}
|
|
@@ -195,9 +153,6 @@
|
|
|
195
153
|
.komc\:-mt-4 {
|
|
196
154
|
margin-top: calc(var(--komc-spacing) * -4);
|
|
197
155
|
}
|
|
198
|
-
.komc\:mt-0\.5 {
|
|
199
|
-
margin-top: calc(var(--komc-spacing) * 0.5);
|
|
200
|
-
}
|
|
201
156
|
.komc\:mt-3 {
|
|
202
157
|
margin-top: calc(var(--komc-spacing) * 3);
|
|
203
158
|
}
|
|
@@ -213,9 +168,6 @@
|
|
|
213
168
|
.komc\:-ml-4 {
|
|
214
169
|
margin-left: calc(var(--komc-spacing) * -4);
|
|
215
170
|
}
|
|
216
|
-
.komc\:ml-1 {
|
|
217
|
-
margin-left: var(--komc-spacing);
|
|
218
|
-
}
|
|
219
171
|
.komc\:block {
|
|
220
172
|
display: block;
|
|
221
173
|
}
|
|
@@ -228,9 +180,6 @@
|
|
|
228
180
|
.komc\:hidden {
|
|
229
181
|
display: none;
|
|
230
182
|
}
|
|
231
|
-
.komc\:inline {
|
|
232
|
-
display: inline;
|
|
233
|
-
}
|
|
234
183
|
.komc\:inline-flex {
|
|
235
184
|
display: inline-flex;
|
|
236
185
|
}
|
|
@@ -328,9 +277,6 @@
|
|
|
328
277
|
.komc\:min-h-16 {
|
|
329
278
|
min-height: calc(var(--komc-spacing) * 16);
|
|
330
279
|
}
|
|
331
|
-
.komc\:min-h-25 {
|
|
332
|
-
min-height: calc(var(--komc-spacing) * 25);
|
|
333
|
-
}
|
|
334
280
|
.komc\:min-h-32 {
|
|
335
281
|
min-height: calc(var(--komc-spacing) * 32);
|
|
336
282
|
}
|
|
@@ -355,15 +301,9 @@
|
|
|
355
301
|
.komc\:w-5 {
|
|
356
302
|
width: calc(var(--komc-spacing) * 5);
|
|
357
303
|
}
|
|
358
|
-
.komc\:w-6 {
|
|
359
|
-
width: calc(var(--komc-spacing) * 6);
|
|
360
|
-
}
|
|
361
304
|
.komc\:w-10 {
|
|
362
305
|
width: calc(var(--komc-spacing) * 10);
|
|
363
306
|
}
|
|
364
|
-
.komc\:w-14 {
|
|
365
|
-
width: calc(var(--komc-spacing) * 14);
|
|
366
|
-
}
|
|
367
307
|
.komc\:w-\[50dvw\] {
|
|
368
308
|
width: 50dvw;
|
|
369
309
|
}
|
|
@@ -451,10 +391,6 @@
|
|
|
451
391
|
--tw-translate-x: 100%;
|
|
452
392
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
453
393
|
}
|
|
454
|
-
.komc\:-translate-y-1\/2 {
|
|
455
|
-
--tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
|
|
456
|
-
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
457
|
-
}
|
|
458
394
|
.komc\:-translate-y-2 {
|
|
459
395
|
--tw-translate-y: calc(var(--komc-spacing) * -2);
|
|
460
396
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
@@ -477,33 +413,9 @@
|
|
|
477
413
|
.komc\:cursor-default {
|
|
478
414
|
cursor: default;
|
|
479
415
|
}
|
|
480
|
-
.komc\:cursor-ew-resize {
|
|
481
|
-
cursor: ew-resize;
|
|
482
|
-
}
|
|
483
|
-
.komc\:cursor-grab {
|
|
484
|
-
cursor: grab;
|
|
485
|
-
}
|
|
486
|
-
.komc\:cursor-ne-resize {
|
|
487
|
-
cursor: ne-resize;
|
|
488
|
-
}
|
|
489
|
-
.komc\:cursor-ns-resize {
|
|
490
|
-
cursor: ns-resize;
|
|
491
|
-
}
|
|
492
|
-
.komc\:cursor-nw-resize {
|
|
493
|
-
cursor: nw-resize;
|
|
494
|
-
}
|
|
495
416
|
.komc\:cursor-pointer {
|
|
496
417
|
cursor: pointer;
|
|
497
418
|
}
|
|
498
|
-
.komc\:cursor-se-resize {
|
|
499
|
-
cursor: se-resize;
|
|
500
|
-
}
|
|
501
|
-
.komc\:cursor-sw-resize {
|
|
502
|
-
cursor: sw-resize;
|
|
503
|
-
}
|
|
504
|
-
.komc\:touch-none {
|
|
505
|
-
touch-action: none;
|
|
506
|
-
}
|
|
507
419
|
.komc\:grid-cols-2 {
|
|
508
420
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
509
421
|
}
|
|
@@ -566,9 +478,6 @@
|
|
|
566
478
|
margin-block-start: calc(calc(var(--komc-spacing) * 3) * var(--tw-space-y-reverse));
|
|
567
479
|
margin-block-end: calc(calc(var(--komc-spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
|
|
568
480
|
}
|
|
569
|
-
.komc\:gap-x-1 {
|
|
570
|
-
column-gap: var(--komc-spacing);
|
|
571
|
-
}
|
|
572
481
|
.komc\:gap-x-2 {
|
|
573
482
|
column-gap: calc(var(--komc-spacing) * 2);
|
|
574
483
|
}
|
|
@@ -619,10 +528,6 @@
|
|
|
619
528
|
border-style: var(--tw-border-style);
|
|
620
529
|
border-width: 2px;
|
|
621
530
|
}
|
|
622
|
-
.komc\:border-\[0\.6px\] {
|
|
623
|
-
border-style: var(--tw-border-style);
|
|
624
|
-
border-width: 0.6px;
|
|
625
|
-
}
|
|
626
531
|
.komc\:border-t {
|
|
627
532
|
border-top-style: var(--tw-border-style);
|
|
628
533
|
border-top-width: 1px;
|
|
@@ -739,12 +644,6 @@
|
|
|
739
644
|
.komc\:bg-white {
|
|
740
645
|
background-color: var(--komc-color-white);
|
|
741
646
|
}
|
|
742
|
-
.komc\:bg-white\/60 {
|
|
743
|
-
background-color: var(--komc-color-white);
|
|
744
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
745
|
-
background-color: color-mix(in oklab, var(--komc-color-white) 60%, transparent);
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
647
|
.komc\:p-0 {
|
|
749
648
|
padding: 0px;
|
|
750
649
|
}
|
|
@@ -871,9 +770,6 @@
|
|
|
871
770
|
.komc\:break-all {
|
|
872
771
|
word-break: break-all;
|
|
873
772
|
}
|
|
874
|
-
.komc\:whitespace-pre {
|
|
875
|
-
white-space: pre;
|
|
876
|
-
}
|
|
877
773
|
.komc\:text-\[\#1890FF\] {
|
|
878
774
|
color: #1890FF;
|
|
879
775
|
}
|
|
@@ -901,9 +797,6 @@
|
|
|
901
797
|
.komc\:text-neutral-800 {
|
|
902
798
|
color: var(--komc-color-neutral-800);
|
|
903
799
|
}
|
|
904
|
-
.komc\:text-red-600 {
|
|
905
|
-
color: var(--komc-color-red-600);
|
|
906
|
-
}
|
|
907
800
|
.komc\:text-white {
|
|
908
801
|
color: var(--komc-color-white);
|
|
909
802
|
}
|
|
@@ -1012,38 +905,6 @@
|
|
|
1012
905
|
--tw-outline-style: none;
|
|
1013
906
|
outline-style: none;
|
|
1014
907
|
}
|
|
1015
|
-
.komc\:select-none {
|
|
1016
|
-
-webkit-user-select: none;
|
|
1017
|
-
user-select: none;
|
|
1018
|
-
}
|
|
1019
|
-
:is(.komc\:\*\:h-1\.5 > *) {
|
|
1020
|
-
height: calc(var(--komc-spacing) * 1.5);
|
|
1021
|
-
}
|
|
1022
|
-
:is(.komc\:\*\:h-full > *) {
|
|
1023
|
-
height: 100%;
|
|
1024
|
-
}
|
|
1025
|
-
:is(.komc\:\*\:w-1\.5 > *) {
|
|
1026
|
-
width: calc(var(--komc-spacing) * 1.5);
|
|
1027
|
-
}
|
|
1028
|
-
:is(.komc\:\*\:w-full > *) {
|
|
1029
|
-
width: 100%;
|
|
1030
|
-
}
|
|
1031
|
-
:is(.komc\:\*\*\:pointer-events-auto *) {
|
|
1032
|
-
pointer-events: auto;
|
|
1033
|
-
}
|
|
1034
|
-
@media (hover: hover) {
|
|
1035
|
-
.komc\:group-hover\:opacity-100:is(:where(.komc\:group):hover *) {
|
|
1036
|
-
opacity: 100%;
|
|
1037
|
-
}
|
|
1038
|
-
.komc\:group-hover\/resize\:bg-blue-500\/50:is(:where(.komc\:group\/resize):hover *) {
|
|
1039
|
-
background-color: var(--komc-color-blue-500);
|
|
1040
|
-
}
|
|
1041
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
1042
|
-
.komc\:group-hover\/resize\:bg-blue-500\/50:is(:where(.komc\:group\/resize):hover *) {
|
|
1043
|
-
background-color: color-mix(in oklab, var(--komc-color-blue-500) 50%, transparent);
|
|
1044
|
-
}
|
|
1045
|
-
}
|
|
1046
|
-
}
|
|
1047
908
|
.komc\:after\:pointer-events-none::after {
|
|
1048
909
|
content: var(--tw-content);
|
|
1049
910
|
pointer-events: none;
|
|
@@ -1052,18 +913,6 @@
|
|
|
1052
913
|
content: var(--tw-content);
|
|
1053
914
|
visibility: hidden;
|
|
1054
915
|
}
|
|
1055
|
-
.komc\:after\:absolute::after {
|
|
1056
|
-
content: var(--tw-content);
|
|
1057
|
-
position: absolute;
|
|
1058
|
-
}
|
|
1059
|
-
.komc\:after\:-inset-1\.5::after {
|
|
1060
|
-
content: var(--tw-content);
|
|
1061
|
-
inset: calc(var(--komc-spacing) * -1.5);
|
|
1062
|
-
}
|
|
1063
|
-
.komc\:after\:z-1::after {
|
|
1064
|
-
content: var(--tw-content);
|
|
1065
|
-
z-index: 1;
|
|
1066
|
-
}
|
|
1067
916
|
.komc\:after\:h-0::after {
|
|
1068
917
|
content: var(--tw-content);
|
|
1069
918
|
height: 0px;
|
|
@@ -1072,47 +921,11 @@
|
|
|
1072
921
|
content: var(--tw-content);
|
|
1073
922
|
overflow: hidden;
|
|
1074
923
|
}
|
|
1075
|
-
.komc\:after\:rounded-\(--node-radius\)::after {
|
|
1076
|
-
content: var(--tw-content);
|
|
1077
|
-
border-radius: var(--node-radius);
|
|
1078
|
-
}
|
|
1079
|
-
.komc\:after\:bg-\[\#2383E2\]\/14::after {
|
|
1080
|
-
content: var(--tw-content);
|
|
1081
|
-
background-color: color-mix(in oklab, #2383E2 14%, transparent);
|
|
1082
|
-
}
|
|
1083
924
|
.komc\:after\:font-bold::after {
|
|
1084
925
|
content: var(--tw-content);
|
|
1085
926
|
--tw-font-weight: var(--komc-font-weight-bold);
|
|
1086
927
|
font-weight: var(--komc-font-weight-bold);
|
|
1087
928
|
}
|
|
1088
|
-
.komc\:after\:opacity-0::after {
|
|
1089
|
-
content: var(--tw-content);
|
|
1090
|
-
opacity: 0%;
|
|
1091
|
-
}
|
|
1092
|
-
.komc\:after\:opacity-100::after {
|
|
1093
|
-
content: var(--tw-content);
|
|
1094
|
-
opacity: 100%;
|
|
1095
|
-
}
|
|
1096
|
-
.komc\:after\:transition-opacity::after {
|
|
1097
|
-
content: var(--tw-content);
|
|
1098
|
-
transition-property: opacity;
|
|
1099
|
-
transition-timing-function: var(--tw-ease, var(--komc-default-transition-timing-function));
|
|
1100
|
-
transition-duration: var(--tw-duration, var(--komc-default-transition-duration));
|
|
1101
|
-
}
|
|
1102
|
-
.komc\:after\:duration-200::after {
|
|
1103
|
-
content: var(--tw-content);
|
|
1104
|
-
--tw-duration: 200ms;
|
|
1105
|
-
transition-duration: 200ms;
|
|
1106
|
-
}
|
|
1107
|
-
.komc\:after\:ease-in-out::after {
|
|
1108
|
-
content: var(--tw-content);
|
|
1109
|
-
--tw-ease: var(--komc-ease-in-out);
|
|
1110
|
-
transition-timing-function: var(--komc-ease-in-out);
|
|
1111
|
-
}
|
|
1112
|
-
.komc\:after\:content-\[\"\"\]::after {
|
|
1113
|
-
--tw-content: "";
|
|
1114
|
-
content: var(--tw-content);
|
|
1115
|
-
}
|
|
1116
929
|
.komc\:after\:content-\[attr\(data-text\)\]::after {
|
|
1117
930
|
--tw-content: attr(data-text);
|
|
1118
931
|
content: var(--tw-content);
|
|
@@ -1122,17 +935,7 @@
|
|
|
1122
935
|
-webkit-user-select: none;
|
|
1123
936
|
user-select: none;
|
|
1124
937
|
}
|
|
1125
|
-
.komc\:focus-within\:border-blue-500:focus-within {
|
|
1126
|
-
border-color: var(--komc-color-blue-500);
|
|
1127
|
-
}
|
|
1128
|
-
.komc\:focus-within\:ring-4:focus-within {
|
|
1129
|
-
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1130
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1131
|
-
}
|
|
1132
938
|
@media (hover: hover) {
|
|
1133
|
-
.komc\:hover\:z-1:hover {
|
|
1134
|
-
z-index: 1;
|
|
1135
|
-
}
|
|
1136
939
|
.komc\:hover\:border-transparent:hover {
|
|
1137
940
|
border-color: transparent;
|
|
1138
941
|
}
|
|
@@ -1145,9 +948,6 @@
|
|
|
1145
948
|
.komc\:hover\:bg-blue-500:hover {
|
|
1146
949
|
background-color: var(--komc-color-blue-500);
|
|
1147
950
|
}
|
|
1148
|
-
.komc\:hover\:bg-blue-600:hover {
|
|
1149
|
-
background-color: var(--komc-color-blue-600);
|
|
1150
|
-
}
|
|
1151
951
|
.komc\:hover\:bg-gray-100:hover {
|
|
1152
952
|
background-color: var(--komc-color-gray-100);
|
|
1153
953
|
}
|
|
@@ -1200,9 +1000,6 @@
|
|
|
1200
1000
|
text-decoration-line: underline;
|
|
1201
1001
|
}
|
|
1202
1002
|
}
|
|
1203
|
-
.komc\:active\:cursor-grabbing:active {
|
|
1204
|
-
cursor: grabbing;
|
|
1205
|
-
}
|
|
1206
1003
|
.komc\:active\:border-transparent:active {
|
|
1207
1004
|
border-color: transparent;
|
|
1208
1005
|
}
|
|
@@ -1257,9 +1054,6 @@
|
|
|
1257
1054
|
.komc\:active\:underline:active {
|
|
1258
1055
|
text-decoration-line: underline;
|
|
1259
1056
|
}
|
|
1260
|
-
.komc\:disabled\:pointer-events-none:disabled {
|
|
1261
|
-
pointer-events: none;
|
|
1262
|
-
}
|
|
1263
1057
|
.komc\:disabled\:cursor-default:disabled {
|
|
1264
1058
|
cursor: default;
|
|
1265
1059
|
}
|
|
@@ -1290,45 +1084,6 @@
|
|
|
1290
1084
|
.komc\:disabled\:text-gray-800:disabled {
|
|
1291
1085
|
color: var(--komc-color-gray-800);
|
|
1292
1086
|
}
|
|
1293
|
-
:is(.komc\:\*\:data-komc-node-clip\:opacity-100 > *)[data-komc-node-clip] {
|
|
1294
|
-
opacity: 100%;
|
|
1295
|
-
}
|
|
1296
|
-
:is(.komc\:\*\:data-komc-node-clip\:outline-0 > *)[data-komc-node-clip] {
|
|
1297
|
-
outline-style: var(--tw-outline-style);
|
|
1298
|
-
outline-width: 0px;
|
|
1299
|
-
}
|
|
1300
|
-
:is(.komc\:\*\:data-komc-node-clip\:-outline-offset-1 > *)[data-komc-node-clip] {
|
|
1301
|
-
outline-offset: calc(1px * -1);
|
|
1302
|
-
}
|
|
1303
|
-
:is(.komc\:\*\:data-komc-node-clip\:outline-gray-700 > *)[data-komc-node-clip] {
|
|
1304
|
-
outline-color: var(--komc-color-gray-700);
|
|
1305
|
-
}
|
|
1306
|
-
:is(.komc\:\*\:data-komc-node-clip\:transition-opacity > *)[data-komc-node-clip] {
|
|
1307
|
-
transition-property: opacity;
|
|
1308
|
-
transition-timing-function: var(--tw-ease, var(--komc-default-transition-timing-function));
|
|
1309
|
-
transition-duration: var(--tw-duration, var(--komc-default-transition-duration));
|
|
1310
|
-
}
|
|
1311
|
-
:is(.komc\:\*\:data-komc-node-clip\:duration-200 > *)[data-komc-node-clip] {
|
|
1312
|
-
--tw-duration: 200ms;
|
|
1313
|
-
transition-duration: 200ms;
|
|
1314
|
-
}
|
|
1315
|
-
:is(.komc\:\*\:data-komc-node-clip\:ease-in-out > *)[data-komc-node-clip] {
|
|
1316
|
-
--tw-ease: var(--komc-ease-in-out);
|
|
1317
|
-
transition-timing-function: var(--komc-ease-in-out);
|
|
1318
|
-
}
|
|
1319
|
-
:is(.komc\:\*\:data-komc-node-clip\:outline-none > *)[data-komc-node-clip] {
|
|
1320
|
-
--tw-outline-style: none;
|
|
1321
|
-
outline-style: none;
|
|
1322
|
-
}
|
|
1323
|
-
@media (hover: hover) {
|
|
1324
|
-
:is(.komc\:hover\:\*\:data-komc-node-clip\:opacity-70:hover > *)[data-komc-node-clip] {
|
|
1325
|
-
opacity: 70%;
|
|
1326
|
-
}
|
|
1327
|
-
:is(.komc\:hover\:\*\:data-komc-node-clip\:outline-3:hover > *)[data-komc-node-clip] {
|
|
1328
|
-
outline-style: var(--tw-outline-style);
|
|
1329
|
-
outline-width: 3px;
|
|
1330
|
-
}
|
|
1331
|
-
}
|
|
1332
1087
|
.komc\:data-\[state\=closed\]\:scale-95[data-state="closed"] {
|
|
1333
1088
|
--tw-scale-x: 95%;
|
|
1334
1089
|
--tw-scale-y: 95%;
|
|
@@ -1639,11 +1394,6 @@
|
|
|
1639
1394
|
initial-value: "";
|
|
1640
1395
|
inherits: false;
|
|
1641
1396
|
}
|
|
1642
|
-
@property --tw-outline-style {
|
|
1643
|
-
syntax: "*";
|
|
1644
|
-
inherits: false;
|
|
1645
|
-
initial-value: solid;
|
|
1646
|
-
}
|
|
1647
1397
|
@property --tw-scale-x {
|
|
1648
1398
|
syntax: "*";
|
|
1649
1399
|
inherits: false;
|
|
@@ -1713,7 +1463,6 @@
|
|
|
1713
1463
|
--tw-duration: initial;
|
|
1714
1464
|
--tw-ease: initial;
|
|
1715
1465
|
--tw-content: "";
|
|
1716
|
-
--tw-outline-style: solid;
|
|
1717
1466
|
--tw-scale-x: 1;
|
|
1718
1467
|
--tw-scale-y: 1;
|
|
1719
1468
|
--tw-scale-z: 1;
|