@sabrenski/spire-ui 0.0.21 → 0.0.23

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": "@sabrenski/spire-ui",
3
- "version": "0.0.21",
3
+ "version": "0.0.23",
4
4
  "description": "A dependency-free Vue 3 component library built with pure CSS and OKLCH colors",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1069,6 +1069,7 @@ defineExpose({
1069
1069
  flex-direction: column;
1070
1070
  gap: var(--space-1);
1071
1071
  font-family: var(--font-sans);
1072
+ min-width: 0;
1072
1073
  }
1073
1074
 
1074
1075
  .ui-datepicker-field--block {
@@ -1106,6 +1107,7 @@ defineExpose({
1106
1107
  display: inline-flex;
1107
1108
  align-items: center;
1108
1109
  width: 100%;
1110
+ min-width: 0;
1109
1111
  background-color: var(--input-bg);
1110
1112
  border: 1px solid var(--input-border);
1111
1113
  cursor: pointer;
@@ -356,10 +356,12 @@ defineExpose({
356
356
  .ui-popover {
357
357
  display: inline-block;
358
358
  position: relative;
359
+ min-width: 0;
359
360
  }
360
361
 
361
362
  .ui-popover__trigger {
362
363
  display: inline-flex;
364
+ min-width: 0;
363
365
  }
364
366
 
365
367
  .ui-popover__content {
@@ -460,6 +460,7 @@ defineExpose({
460
460
  .ui-timepicker {
461
461
  display: inline-block;
462
462
  font-family: var(--font-sans);
463
+ min-width: 0;
463
464
  }
464
465
 
465
466
  .ui-timepicker--block {
@@ -35,6 +35,18 @@ describe('ToastProvider', () => {
35
35
  const toasts = wrapper.findAll('.ui-toast')
36
36
  expect(toasts.length).toBe(2)
37
37
  })
38
+
39
+ it('renders slot content', () => {
40
+ const wrapper = mount(ToastProvider, {
41
+ slots: { default: '<div class="child">App Content</div>' },
42
+ global: {
43
+ stubs: {
44
+ Teleport: true
45
+ }
46
+ }
47
+ })
48
+ expect(wrapper.find('.child').text()).toBe('App Content')
49
+ })
38
50
  })
39
51
 
40
52
  describe('Positions', () => {
@@ -36,6 +36,7 @@ function handleDismiss(id: string) {
36
36
  </TransitionGroup>
37
37
  </div>
38
38
  </Teleport>
39
+ <slot />
39
40
  </template>
40
41
 
41
42
  <style scoped>