frappe-ui 0.1.142 → 0.1.143

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.142",
3
+ "version": "0.1.143",
4
4
  "description": "A set of components and utilities for rapid UI development",
5
5
  "main": "./src/index.ts",
6
6
  "type": "module",
@@ -127,6 +127,7 @@
127
127
  class="w-full"
128
128
  v-for="action in actions"
129
129
  :key="action.label"
130
+ :disabled="action.disabled"
130
131
  v-bind="action"
131
132
  >
132
133
  {{ action.label }}
@@ -223,7 +224,7 @@ const actions = computed(() => {
223
224
  // let context: DialogActionContext = { close }
224
225
  let backwardsCompatibleContext = function () {
225
226
  console.warn(
226
- 'Value passed to onClick is a context object. Please use context.close() instead of context() to close the dialog.',
227
+ 'Value passed to onClick is a context object. Please use context.close() instead of context() to close the dialog.'
227
228
  )
228
229
  close()
229
230
  }