vueless 1.4.12-beta.2 → 1.4.12-beta.3
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": "vueless",
|
|
3
|
-
"version": "1.4.12-beta.
|
|
3
|
+
"version": "1.4.12-beta.3",
|
|
4
4
|
"description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
|
|
5
5
|
"author": "Johnny Grid <hello@vueless.com> (https://vueless.com)",
|
|
6
6
|
"homepage": "https://vueless.com",
|
package/ui.data-list/config.ts
CHANGED
|
@@ -2,7 +2,7 @@ export default /*tw*/ {
|
|
|
2
2
|
wrapper: "",
|
|
3
3
|
draggable: "",
|
|
4
4
|
draggableDrag: "bg-lifted",
|
|
5
|
-
draggableGhost: "
|
|
5
|
+
draggableGhost: "data-list-ghost",
|
|
6
6
|
itemWrapper: "group/item-wrapper",
|
|
7
7
|
item: {
|
|
8
8
|
base: `
|
|
@@ -57,7 +57,7 @@ export default /*tw*/ {
|
|
|
57
57
|
animationDuration: 200,
|
|
58
58
|
forceFallback: false,
|
|
59
59
|
fallbackOnBody: false,
|
|
60
|
-
fallbackClass: "
|
|
60
|
+
fallbackClass: "shadow-sm",
|
|
61
61
|
/* icons */
|
|
62
62
|
dragIcon: "drag_indicator",
|
|
63
63
|
},
|
|
@@ -122,7 +122,7 @@ export const ForceFallback = DefaultTemplate.bind({});
|
|
|
122
122
|
ForceFallback.args = {
|
|
123
123
|
forceFallback: true,
|
|
124
124
|
fallbackOnBody: true,
|
|
125
|
-
fallbackClass: "
|
|
125
|
+
fallbackClass: "opacity-100!",
|
|
126
126
|
};
|
|
127
127
|
ForceFallback.parameters = {
|
|
128
128
|
docs: {
|
|
@@ -227,7 +227,7 @@ describe("UDataList.vue", () => {
|
|
|
227
227
|
expect(draggableComponent.vm.$attrs["fallback-class"]).toBe(fallbackClass);
|
|
228
228
|
});
|
|
229
229
|
|
|
230
|
-
it("Fallback Class – defaults to
|
|
230
|
+
it("Fallback Class – defaults to shadow-sm", () => {
|
|
231
231
|
const component = mount(UDataList, {
|
|
232
232
|
props: {
|
|
233
233
|
list: defaultList,
|
|
@@ -236,7 +236,7 @@ describe("UDataList.vue", () => {
|
|
|
236
236
|
|
|
237
237
|
const draggableComponent = component.findComponent(draggable);
|
|
238
238
|
|
|
239
|
-
expect(draggableComponent.vm.$attrs["fallback-class"]).toBe("
|
|
239
|
+
expect(draggableComponent.vm.$attrs["fallback-class"]).toBe("shadow-sm");
|
|
240
240
|
});
|
|
241
241
|
|
|
242
242
|
it("Nesting – renders nested items when children array is present", async () => {
|