frappe-ui 0.1.198 → 0.1.199

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.198",
3
+ "version": "0.1.199",
4
4
  "description": "A set of components and utilities for rapid UI development",
5
5
  "main": "./src/index.ts",
6
6
  "type": "module",
@@ -311,7 +311,7 @@ defineExpose({
311
311
  position="popper"
312
312
  @openAutoFocus.prevent
313
313
  @closeAutoFocus.prevent
314
- :align="'start'"
314
+ :align="props.placement || 'start'"
315
315
  >
316
316
  <ComboboxViewport
317
317
  class="max-h-60 overflow-auto pb-1.5"
@@ -32,4 +32,5 @@ export interface ComboboxProps {
32
32
  disabled?: boolean
33
33
  openOnFocus?: boolean
34
34
  openOnClick?: boolean
35
+ placement?: 'start' | 'center' | 'end'
35
36
  }
@@ -11,7 +11,7 @@
11
11
  :class="dialogPositionClasses"
12
12
  >
13
13
  <DialogContent
14
- class="my-8 inline-block w-full transform overflow-hidden rounded-xl bg-surface-modal text-left align-middle shadow-xl dialog-content"
14
+ class="my-8 inline-block w-full transform overflow-hidden rounded-xl bg-surface-modal text-left align-middle shadow-xl dialog-content focus-visible:outline-none"
15
15
  :class="{
16
16
  'max-w-7xl': options.size === '7xl',
17
17
  'max-w-6xl': options.size === '6xl',
@@ -3,7 +3,7 @@
3
3
  class="flex h-full w-full flex-col items-center justify-center text-base"
4
4
  >
5
5
  <slot>
6
- <div class="text-xl font-medium">{{ list.options.emptyState.title }}</div>
6
+ <div class="text-xl font-medium text-ink-gray-8 mt-6">{{ list.options.emptyState.title }}</div>
7
7
  <div class="mt-1 text-base text-ink-gray-5">
8
8
  {{ list.options.emptyState.description }}
9
9
  </div>