xframelib 1.0.3 → 1.0.4

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.
@@ -194,9 +194,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
194
194
  };
195
195
  }>> & Readonly<{}>, {
196
196
  title: string;
197
- resizable: boolean;
198
197
  isOpen: boolean;
199
198
  closeButton: boolean;
199
+ resizable: boolean;
200
200
  isScrollable: boolean;
201
201
  padding: number;
202
202
  activateWhenOpen: boolean;
package/dist/index.css CHANGED
@@ -15,6 +15,49 @@
15
15
  font-size: 18px;
16
16
  }
17
17
 
18
+ .window {
19
+ display: flex;
20
+ flex-flow: column;
21
+ position: absolute;
22
+ border-radius: 4pt 4pt 0 0;
23
+ }
24
+
25
+ .titlebar {
26
+ display: flex;
27
+ flex-flow: row nowrap;
28
+ border-radius: 4pt 4pt 0 0;
29
+ font-family: sans-serif;
30
+ padding: 0.5em;
31
+ flex: 0 0 auto;
32
+ }
33
+
34
+ .title {
35
+ flex-grow: 1;
36
+ white-space: nowrap;
37
+ overflow: hidden;
38
+ text-overflow: ellipsis;
39
+ }
40
+
41
+ .content {
42
+ flex-grow: 1;
43
+ padding: 0.5em;
44
+ }
45
+
46
+ .draggable-handle {
47
+ cursor: move;
48
+ }
49
+
50
+ .fade-enter,
51
+ .fade-leave-to {
52
+ opacity: 0;
53
+ transform: scale(0.9);
54
+ }
55
+
56
+ .fade-enter-active,
57
+ .fade-leave-active {
58
+ transition: 0.2s;
59
+ }
60
+
18
61
  .splitpanes {
19
62
  display: flex;
20
63
  width: 100%;
@@ -147,49 +190,6 @@
147
190
  margin-top: 1px;
148
191
  }
149
192
 
150
- .window {
151
- display: flex;
152
- flex-flow: column;
153
- position: absolute;
154
- border-radius: 4pt 4pt 0 0;
155
- }
156
-
157
- .titlebar {
158
- display: flex;
159
- flex-flow: row nowrap;
160
- border-radius: 4pt 4pt 0 0;
161
- font-family: sans-serif;
162
- padding: 0.5em;
163
- flex: 0 0 auto;
164
- }
165
-
166
- .title {
167
- flex-grow: 1;
168
- white-space: nowrap;
169
- overflow: hidden;
170
- text-overflow: ellipsis;
171
- }
172
-
173
- .content {
174
- flex-grow: 1;
175
- padding: 0.5em;
176
- }
177
-
178
- .draggable-handle {
179
- cursor: move;
180
- }
181
-
182
- .fade-enter,
183
- .fade-leave-to {
184
- opacity: 0;
185
- transform: scale(0.9);
186
- }
187
-
188
- .fade-enter-active,
189
- .fade-leave-active {
190
- transition: 0.2s;
191
- }
192
-
193
193
  .layoutContainer {
194
194
  position: relative;
195
195
  width: 100%;
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export * from './controls/routertransition';
4
4
  export * from './controls/xwindow';
5
5
  export * from './controls/index';
6
6
  export * from './core';
7
- export * from './mitt';
7
+ export { GlobalMitt, default as mitt } from './mitt';
8
8
  export * from './utils';
9
9
  export * from './hprose';
10
10
  export * from './api';