@ticatec/uniface-element 0.1.67 → 0.1.68

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.
@@ -16,6 +16,8 @@
16
16
  export let closeHandler: () => void;
17
17
  export let closeAction: ButtonAction | null = null;
18
18
 
19
+ export let dialog$style: string = "";
20
+
19
21
  export const close = async () => {
20
22
  let confirm = closeConfirm ? await closeConfirm() : true;
21
23
  if (confirm) {
@@ -58,10 +60,10 @@
58
60
 
59
61
  </script>
60
62
 
61
- <div class="uniface-dialog" style="width: {width}; height: {height}; {startMove ? 'cursor: move' : ''}" transition:fade={{duration: 500}} aria-hidden="true"
63
+ <div class="uniface-dialog" style="{startMove ? 'cursor: move' : ''}" transition:fade={{duration: 500}} aria-hidden="true"
62
64
  on:mouseleave={handleMouseUp} on:mousemove={handleMouseMove}>
63
65
  <div>
64
- <div class="uniface-dialog-box" style="top: {top}px; left: {left}px">
66
+ <div class="uniface-dialog-box" style="{dialog$style}; top: {top}px; left: {left}px; width: {width}; height: {height}; ">
65
67
  <div class="title-bar" on:mousedown={handleMouseDown} on:mouseup={handleMouseUp} aria-hidden="true">
66
68
  <div style="flex: 1 1 auto"><span>{title ?? 'New window'}</span></div>
67
69
  <div style="flex: 0 0 auto; padding-left: 12px">
@@ -27,6 +27,7 @@ declare const Dialog: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWit
27
27
  content$style?: string;
28
28
  closeHandler: () => void;
29
29
  closeAction?: ButtonAction | null;
30
+ dialog$style?: string;
30
31
  close?: () => Promise<void>;
31
32
  }, {
32
33
  default: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ticatec/uniface-element",
3
- "version": "0.1.67",
3
+ "version": "0.1.68",
4
4
  "description": "uniface web elements",
5
5
  "scripts": {
6
6
  "dev": "vite dev",