@budibase/bbui 3.22.6 → 3.23.0

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/bbui",
3
3
  "description": "A UI solution used in the different Budibase projects.",
4
- "version": "3.22.6",
4
+ "version": "3.23.0",
5
5
  "license": "MPL-2.0",
6
6
  "svelte": "src/index.ts",
7
7
  "module": "dist/bbui.mjs",
@@ -106,5 +106,5 @@
106
106
  }
107
107
  }
108
108
  },
109
- "gitHead": "f6e71ab7c7a105865d720d1f37591a17416003f3"
109
+ "gitHead": "18f752a8c015ddfff03824f887db75deccb1e7ff"
110
110
  }
@@ -88,4 +88,13 @@
88
88
  u {
89
89
  font-weight: 600;
90
90
  }
91
+
92
+ .spectrum-Toast {
93
+ border-radius: 0px;
94
+ }
95
+ .spectrum-Toast-body {
96
+ display: flex;
97
+ justify-content: center;
98
+ align-items: center;
99
+ }
91
100
  </style>
@@ -277,23 +277,6 @@
277
277
  on:mouseleave={e => onOptionMouseleave(e, option)}
278
278
  class:is-disabled={!isOptionEnabled(option)}
279
279
  >
280
- {#if getOptionIcon(option, idx)}
281
- <span class="option-extra icon">
282
- {#if useOptionIconImage}
283
- <img
284
- class="icon-dims"
285
- src={getOptionIcon(option, idx)}
286
- alt="icon"
287
- />
288
- {:else}
289
- <Icon
290
- size="M"
291
- color="var(--spectrum-global-color-gray-600)"
292
- name={getOptionIcon(option, idx)}
293
- />
294
- {/if}
295
- </span>
296
- {/if}
297
280
  {#if (optionIconDescriptor = resolveIcon(getOptionIcon(option, idx)))}
298
281
  <span class="option-extra icon">
299
282
  <PickerIcon icon={optionIconDescriptor} {useOptionIconImage} />
@@ -352,10 +335,6 @@
352
335
  </Popover>
353
336
 
354
337
  <style>
355
- .icon-dims {
356
- height: 15px;
357
- width: auto;
358
- }
359
338
  .spectrum-Picker {
360
339
  width: 100%;
361
340
  box-shadow: none;
@@ -40,6 +40,7 @@
40
40
  <!-- svelte-ignore a11y-click-events-have-key-events -->
41
41
  <li
42
42
  on:click={disabled ? null : onClick}
43
+ on:auxclick
43
44
  class="spectrum-Menu-item"
44
45
  class:is-disabled={disabled}
45
46
  role="menuitem"