@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/README.md +2 -0
- package/dist/index.d.ts +47 -28
- package/dist/spire-ui.css +1 -1
- package/dist/spire-ui.es.js +142 -139
- package/dist/spire-ui.umd.js +2 -2
- package/package.json +1 -1
- package/src/components/DatePicker/DatePicker.vue +2 -0
- package/src/components/Popover/Popover.vue +2 -0
- package/src/components/TimePicker/TimePicker.vue +1 -0
- package/src/components/Toast/ToastProvider.test.ts +12 -0
- package/src/components/Toast/ToastProvider.vue +1 -0
package/package.json
CHANGED
|
@@ -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;
|
|
@@ -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', () => {
|