frappe-ui 0.0.77 → 0.0.78

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.0.77",
3
+ "version": "0.0.78",
4
4
  "description": "A set of components and utilities for rapid UI development",
5
5
  "main": "./src/index.js",
6
6
  "scripts": {
@@ -36,7 +36,20 @@
36
36
  leave-to="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
37
37
  >
38
38
  <div
39
- class="my-8 inline-block w-full max-w-lg transform overflow-hidden rounded-lg bg-white text-left align-middle shadow-xl transition-all"
39
+ class="my-8 inline-block w-full transform overflow-hidden rounded-lg bg-white text-left align-middle shadow-xl transition-all"
40
+ :class="{
41
+ 'max-w-7xl': options.size === '7xl',
42
+ 'max-w-6xl': options.size === '6xl',
43
+ 'max-w-5xl': options.size === '5xl',
44
+ 'max-w-4xl': options.size === '4xl',
45
+ 'max-w-3xl': options.size === '3xl',
46
+ 'max-w-2xl': options.size === '2xl',
47
+ 'max-w-xl': options.size === 'xl',
48
+ 'max-w-md': options.size === 'md',
49
+ 'max-w-lg': options.size === 'lg' || !options.size,
50
+ 'max-w-sm': options.size === 'sm',
51
+ 'max-w-xs': options.size === 'xs',
52
+ }"
40
53
  >
41
54
  <slot name="body">
42
55
  <slot name="body-main">
@@ -76,7 +89,10 @@
76
89
  </DialogTitle>
77
90
 
78
91
  <slot name="body-content">
79
- <p class="text-sm text-gray-600" v-if="options.message">
92
+ <p
93
+ class="text-base text-gray-600"
94
+ v-if="options.message"
95
+ >
80
96
  {{ options.message }}
81
97
  </p>
82
98
  </slot>