y200subcontrols 0.0.371 → 0.0.372

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.
@@ -35,7 +35,10 @@ function dialogClicked(event) {
35
35
  <!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
36
36
  <dialog
37
37
  bind:this={dialog}
38
- class="p-2 w-full md:w-3/4 lg:w-2/3 xl:w-1/2
38
+ class="p-2 w-full
39
+ {dialogSize === 'sm' ? 'md:w-1/2' : ''}
40
+ {dialogSize === 'md' ? 'md:w-3/4 lg:w-2/3 xl:w-1/2' : ''}
41
+ {dialogSize === 'lg' ? 'md:w-3/4' : ''}
39
42
  bg-transparent
40
43
 
41
44
  backdrop:bg-black/20 dark:backdrop:bg-white/20
@@ -79,8 +82,8 @@ function dialogClicked(event) {
79
82
  </div>
80
83
  <slot />
81
84
 
82
- <div slot="buttons" class="grid {allowSubmit ? 'grid-cols-2' : 'grid-cols-1'} gap-2 my-2" >
83
- <slot name="buttons" >
85
+ <div slot="buttons" class="grid {allowSubmit ? 'grid-cols-2' : 'grid-cols-1'} gap-2 my-2">
86
+ <slot name="buttons">
84
87
  {#if allowSubmit}
85
88
  <Button type="submit" isLoading={busy}>
86
89
  <span>Ok</span>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "y200subcontrols",
3
- "version": "0.0.371",
3
+ "version": "0.0.372",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",