frappe-ui 0.1.31 → 0.1.33

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.31",
3
+ "version": "0.1.33",
4
4
  "description": "A set of components and utilities for rapid UI development",
5
5
  "main": "./src/index.js",
6
6
  "scripts": {
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="min-w-50 space-y-[10px]">
2
+ <div class="w-full space-y-[10px]">
3
3
  <div
4
4
  v-if="props.label || props.hint"
5
5
  class="flex items-baseline justify-between"
@@ -23,11 +23,9 @@ let createMixin = (mixinOptions) => ({
23
23
  console.warn('Failed to get resource options\n\n', error)
24
24
  out = null
25
25
  }
26
- return JSON.stringify(out)
26
+ return out
27
27
  },
28
- (_options, _oldOptions) => {
29
- let options = _options ? JSON.parse(_options) : null
30
- let oldOptions = _oldOptions ? JSON.parse(_oldOptions) : null
28
+ (options, oldOptions) => {
31
29
  if (!options) {
32
30
  return
33
31
  }