frappe-ui 0.1.228 → 0.1.229

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "frappe-ui",
3
- "version": "0.1.228",
3
+ "version": "0.1.229",
4
4
  "description": "A set of components and utilities for rapid UI development",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -0,0 +1,5 @@
1
+ export {
2
+ createSuggestionExtension,
3
+ type BaseSuggestionItem,
4
+ type CreateSuggestionExtensionOptions,
5
+ } from './createSuggestionExtension'
@@ -12,6 +12,10 @@
12
12
  :y="l.y"
13
13
  :w="l.w"
14
14
  :h="l.h"
15
+ :min-w="l.minW"
16
+ :min-h="l.minH"
17
+ :max-w="l.maxW"
18
+ :max-h="l.maxH"
15
19
  >
16
20
  <slot
17
21
  v-if="layoutReady"
@@ -22,9 +26,23 @@
22
26
  :y="l.y"
23
27
  :w="l.w"
24
28
  :h="l.h"
29
+ :min-w="l.minW"
30
+ :min-h="l.minH"
31
+ :max-w="l.maxW"
32
+ :max-h="l.maxH"
25
33
  >
26
34
  <pre class="h-full w-full rounded bg-surface-white p-4 shadow">{{
27
- { i: l.i, x: l.x, y: l.y, w: l.w, h: l.h }
35
+ {
36
+ i: l.i,
37
+ x: l.x,
38
+ y: l.y,
39
+ w: l.w,
40
+ h: l.h,
41
+ minW: l.minW,
42
+ minH: l.minH,
43
+ maxW: l.maxW,
44
+ maxH: l.maxH,
45
+ }
28
46
  }}</pre>
29
47
  </slot>
30
48
  </GridItem>
package/src/index.ts CHANGED
@@ -65,7 +65,6 @@ export { default as FrappeUIProvider } from './components/Provider/FrappeUIProvi
65
65
  export * from './components/Sidebar/index.ts'
66
66
  export { default as ConfirmDialog } from './components/ConfirmDialog.vue'
67
67
 
68
-
69
68
  // grid layout
70
69
  export { default as GridLayout } from './components/VueGridLayout/Layout.vue'
71
70
 
@@ -90,6 +89,7 @@ export { dayjsLocal, dayjs } from './utils/dayjs'
90
89
  export * from './utils/useFileUpload'
91
90
  export * from './utils/theme'
92
91
  export * from './components/TextEditor/extensions/image'
92
+ export * from './components/TextEditor/extensions/suggestion'
93
93
 
94
94
  // old data-fetching: resources
95
95
  export * from './resources/index.ts'