@intechstudio/grid-uikit 1.20260912.801 → 1.20260912.1104

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.
@@ -5,14 +5,12 @@
5
5
  export let style: "normal" | "outlined" | "accept" = "normal";
6
6
  export let snap: "auto" | "full" | "wide" = "auto";
7
7
  export let disabled: boolean = false;
8
- export let popup: { duration?: number } | undefined = undefined;
9
8
  export let click: (...args: any) => void;
10
9
  export let options: any = undefined;
11
10
  export let target: any = undefined;
12
11
  export let decorations: string[] = [];
13
12
  export let grouped: boolean = false;
14
13
 
15
- let showPopup: boolean = false;
16
14
  let element: HTMLButtonElement;
17
15
  let selectedLabel = "";
18
16
 
@@ -53,13 +51,6 @@
53
51
  <button
54
52
  bind:this={element}
55
53
  on:click={(e) => {
56
- if (!showPopup && popup) {
57
- showPopup = true;
58
- setTimeout(() => {
59
- showPopup = false;
60
- }, popup?.duration ?? 3000);
61
- }
62
-
63
54
  if (typeof click !== "undefined") {
64
55
  click();
65
56
  }
@@ -72,7 +63,6 @@
72
63
  class:grouped
73
64
  >
74
65
  <span>{text}</span>
75
- <slot name="content" />
76
66
  {#if selectedLabel}
77
67
  {#if decorations?.length === 2}
78
68
  <span>{decorations[0] + selectedLabel + decorations[1]}</span>
@@ -81,10 +71,6 @@
81
71
  {/if}
82
72
  {/if}
83
73
  </button>
84
-
85
- {#if showPopup}
86
- <slot name="popup" />
87
- {/if}
88
74
  </div>
89
75
 
90
76
  <style>
@@ -16,9 +16,6 @@ declare const MoltenPushButton: $$__sveltets_2_IsomorphicComponent<{
16
16
  style?: "normal" | "outlined" | "accept";
17
17
  snap?: "auto" | "full" | "wide";
18
18
  disabled?: boolean;
19
- popup?: {
20
- duration?: number;
21
- } | undefined;
22
19
  click: (...args: any) => void;
23
20
  options?: any;
24
21
  target?: any;
@@ -28,10 +25,7 @@ declare const MoltenPushButton: $$__sveltets_2_IsomorphicComponent<{
28
25
  focus?: () => void;
29
26
  }, {
30
27
  [evt: string]: CustomEvent<any>;
31
- }, {
32
- content: {};
33
- popup: {};
34
- }, {
28
+ }, {}, {
35
29
  focus: () => void;
36
30
  }, string>;
37
31
  type MoltenPushButton = InstanceType<typeof MoltenPushButton>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intechstudio/grid-uikit",
3
- "version": "1.20260912.801",
3
+ "version": "1.20260912.1104",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/intechstudio/grid-uikit.git"