@humandialog/forms.svelte 1.4.9 → 1.4.10

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.
@@ -367,7 +367,7 @@ function calculateBackground(is_highlighted, active) {
367
367
  {@const active = calculateBackground(isFocused, false)}
368
368
  {@const has_submenu = operation.menu !== undefined && operation.menu.length > 0}
369
369
 
370
- <button class="block w-full pr-4 text-left flex flex-row cursor-context-menu {active} focus:outline-none"
370
+ <button class="block w-full pr-4 text-left flex flex-row cursor-context-menu {active} focus:outline-none items-center"
371
371
  id={menu_item_id}
372
372
  bind:this={menu_items[index]}
373
373
  on:click|stopPropagation={(e) => { execute_action(e, operation, index) } }
@@ -377,7 +377,7 @@ function calculateBackground(is_highlighted, active) {
377
377
  disabled={operation.disabled}
378
378
  class:opacity-60={operation.disabled}>
379
379
 
380
- <div class="flex items-center justify-center space-x-10 px-4 py-2 ml-12 sm:ml-0" >
380
+ <div class="flex justify-center space-x-10 px-4 py-2 ml-12 sm:ml-0" >
381
381
  {#if operation.icon}
382
382
  {@const cc = mobile ? 7 : 6}
383
383
  {@const icon_size = icon_placeholder_size - cc}
@@ -388,11 +388,10 @@ function calculateBackground(is_highlighted, active) {
388
388
  <div class="w-4 h-4"></div>
389
389
  {/if}
390
390
  </div>
391
- <div class="flex items-center ">
392
- <p> {operation.caption}</p>
391
+ <div class="">
392
+ <p class=""> {operation.caption}</p>
393
393
  {#if operation.description}
394
- {@const shortcut_width_px = operation.shortcut ? 80 : 0}
395
- <p class="truncate inline-block">
394
+ <p class="truncate inline-block text-xs">
396
395
  {operation.description}
397
396
  </p>
398
397
  {/if}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@humandialog/forms.svelte",
3
- "version": "1.4.9",
3
+ "version": "1.4.10",
4
4
  "description": "Basic Svelte UI components for Object Reef applications",
5
5
  "devDependencies": {
6
6
  "@playwright/test": "^1.28.1",