@intechstudio/grid-uikit 1.20260923.1330 → 1.20260923.1530

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.
@@ -0,0 +1,14 @@
1
+ <script lang="ts">
2
+ import { Pane } from "svelte-splitpanes";
3
+
4
+ export let size: number | null = null;
5
+ export let minSize = 0;
6
+ export let maxSize = 100;
7
+ export let snapSize = 0;
8
+ let clazz = "";
9
+ export { clazz as class };
10
+ </script>
11
+
12
+ <Pane bind:size {minSize} {maxSize} {snapSize} class={clazz}>
13
+ <slot />
14
+ </Pane>
@@ -0,0 +1,33 @@
1
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
+ $$bindings?: Bindings;
4
+ } & Exports;
5
+ (internal: unknown, props: Props & {
6
+ $$events?: Events;
7
+ $$slots?: Slots;
8
+ }): Exports & {
9
+ $set?: any;
10
+ $on?: any;
11
+ };
12
+ z_$$bindings?: Bindings;
13
+ }
14
+ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
15
+ default: any;
16
+ } ? Props extends Record<string, never> ? any : {
17
+ children?: any;
18
+ } : {});
19
+ declare const GridPane: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
20
+ size?: number | null;
21
+ minSize?: number;
22
+ maxSize?: number;
23
+ snapSize?: number;
24
+ class?: string;
25
+ }, {
26
+ default: {};
27
+ }>, {
28
+ [evt: string]: CustomEvent<any>;
29
+ }, {
30
+ default: {};
31
+ }, {}, string>;
32
+ type GridPane = InstanceType<typeof GridPane>;
33
+ export default GridPane;
@@ -0,0 +1,36 @@
1
+ <script lang="ts">
2
+ import { Splitpanes } from "svelte-splitpanes";
3
+ import "./grid-splitpanes-theme.css";
4
+
5
+ export let horizontal = false;
6
+ export let pushOtherPanes = true;
7
+ export let dblClickSplitter = true;
8
+ export let firstSplitter = false;
9
+ export let rtl: boolean | "auto" = "auto";
10
+ export let id: string | undefined = undefined;
11
+ export let style: string | null = null;
12
+ let clazz = "";
13
+ export { clazz as class };
14
+ </script>
15
+
16
+ <Splitpanes
17
+ {id}
18
+ {horizontal}
19
+ {pushOtherPanes}
20
+ {dblClickSplitter}
21
+ {firstSplitter}
22
+ {rtl}
23
+ {style}
24
+ theme="grid-uikit-theme"
25
+ class={clazz}
26
+ on:pane-click
27
+ on:splitter-click
28
+ on:pane-maximize
29
+ on:ready
30
+ on:resize
31
+ on:resized
32
+ on:pane-add
33
+ on:pane-remove
34
+ >
35
+ <slot />
36
+ </Splitpanes>
@@ -0,0 +1,52 @@
1
+ import "./grid-splitpanes-theme.css";
2
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
3
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
4
+ $$bindings?: Bindings;
5
+ } & Exports;
6
+ (internal: unknown, props: Props & {
7
+ $$events?: Events;
8
+ $$slots?: Slots;
9
+ }): Exports & {
10
+ $set?: any;
11
+ $on?: any;
12
+ };
13
+ z_$$bindings?: Bindings;
14
+ }
15
+ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
16
+ default: any;
17
+ } ? Props extends Record<string, never> ? any : {
18
+ children?: any;
19
+ } : {});
20
+ declare const GridSplitpanes: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
21
+ horizontal?: boolean;
22
+ pushOtherPanes?: boolean;
23
+ dblClickSplitter?: boolean;
24
+ firstSplitter?: boolean;
25
+ rtl?: boolean | "auto";
26
+ id?: string | undefined;
27
+ style?: string | null;
28
+ class?: string;
29
+ }, {
30
+ default: {};
31
+ }>, {
32
+ 'pane-click': CustomEvent<import("svelte-splitpanes").IPane>;
33
+ 'splitter-click': CustomEvent<import("svelte-splitpanes").IPane>;
34
+ 'pane-maximize': CustomEvent<import("svelte-splitpanes").IPane>;
35
+ ready: CustomEvent<void>;
36
+ resize: CustomEvent<import("svelte-splitpanes").IPaneSizingEvent[]>;
37
+ resized: CustomEvent<import("svelte-splitpanes").IPaneSizingEvent[]>;
38
+ 'pane-add': CustomEvent<{
39
+ index: number;
40
+ panes: import("svelte-splitpanes").IPaneSizingEvent[];
41
+ }>;
42
+ 'pane-remove': CustomEvent<{
43
+ removed: import("svelte-splitpanes").IPane;
44
+ panes: import("svelte-splitpanes").IPaneSizingEvent[];
45
+ }>;
46
+ } & {
47
+ [evt: string]: CustomEvent<any>;
48
+ }, {
49
+ default: {};
50
+ }, {}, string>;
51
+ type GridSplitpanes = InstanceType<typeof GridSplitpanes>;
52
+ export default GridSplitpanes;
@@ -0,0 +1,46 @@
1
+ .splitpanes.grid-uikit-theme .splitpanes__pane {
2
+ position: relative;
3
+ overflow: visible;
4
+ background-color: transparent;
5
+ }
6
+
7
+ .splitpanes.grid-uikit-theme .splitpanes__splitter {
8
+ position: relative;
9
+ background-color: transparent;
10
+ min-width: 0;
11
+ min-height: 0;
12
+ }
13
+
14
+ .splitpanes.grid-uikit-theme .splitpanes__splitter:before {
15
+ content: "";
16
+ position: absolute;
17
+ background-color: transparent;
18
+ z-index: 1;
19
+ }
20
+
21
+ .splitpanes.grid-uikit-theme
22
+ .splitpanes__splitter.splitpanes__splitter__active {
23
+ z-index: 2;
24
+ }
25
+
26
+ .grid-uikit-theme.splitpanes--vertical > .splitpanes__splitter {
27
+ width: 0;
28
+ }
29
+ .grid-uikit-theme.splitpanes--vertical > .splitpanes__splitter:before {
30
+ top: 0;
31
+ left: -3px;
32
+ right: -3px;
33
+ height: 100%;
34
+ cursor: col-resize;
35
+ }
36
+
37
+ .grid-uikit-theme.splitpanes--horizontal > .splitpanes__splitter {
38
+ height: 0;
39
+ }
40
+ .grid-uikit-theme.splitpanes--horizontal > .splitpanes__splitter:before {
41
+ left: 0;
42
+ top: -3px;
43
+ bottom: -3px;
44
+ width: 100%;
45
+ cursor: row-resize;
46
+ }
package/dist/index.d.ts CHANGED
@@ -28,3 +28,5 @@ export { default as LogMessage } from "./LogMessage.svelte";
28
28
  export { LogMessageType } from "./LogMessageType";
29
29
  export { default as LogStream } from "./LogStream.svelte";
30
30
  export { createLogStream, logStreamStore, type LogStreamMessage, type LogStreamOptions, } from "./logStream";
31
+ export { default as GridSplitpanes } from "./GridSplitpanes.svelte";
32
+ export { default as GridPane } from "./GridPane.svelte";
package/dist/index.js CHANGED
@@ -28,3 +28,5 @@ export { default as LogMessage } from "./LogMessage.svelte";
28
28
  export { LogMessageType } from "./LogMessageType";
29
29
  export { default as LogStream } from "./LogStream.svelte";
30
30
  export { createLogStream, logStreamStore, } from "./logStream";
31
+ export { default as GridSplitpanes } from "./GridSplitpanes.svelte";
32
+ export { default as GridPane } from "./GridPane.svelte";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intechstudio/grid-uikit",
3
- "version": "1.20260923.1330",
3
+ "version": "1.20260923.1530",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/intechstudio/grid-uikit.git"
@@ -32,6 +32,7 @@
32
32
  "dependencies": {
33
33
  "@melt-ui/svelte": "^0.86.6",
34
34
  "svelte-easy-popover": "^1.0.0",
35
+ "svelte-splitpanes": "^8.0.12",
35
36
  "color-convert": "^2.0.1"
36
37
  },
37
38
  "devDependencies": {