vueless 1.4.12-beta.2 → 1.4.12-beta.4

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.2",
3
+ "version": "1.4.12-beta.4",
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",
@@ -59,7 +59,7 @@
59
59
  "@vue/eslint-config-typescript": "^14.7.0",
60
60
  "@vue/test-utils": "^2.4.8",
61
61
  "@vue/tsconfig": "^0.9.1",
62
- "@vueless/storybook": "^1.7.3",
62
+ "@vueless/storybook": "^1.7.4",
63
63
  "eslint": "^10.2.1",
64
64
  "eslint-plugin-storybook": "^10.3.5",
65
65
  "eslint-plugin-tailwindcss": "^4.0.0-alpha.7",
@@ -2,7 +2,7 @@ export default /*tw*/ {
2
2
  wrapper: "",
3
3
  draggable: "",
4
4
  draggableDrag: "bg-lifted",
5
- draggableGhost: "bg-lifted/50",
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: "sortable-fallback",
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: "sortable-fallback",
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 sortable-fallback", () => {
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("sortable-fallback");
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 () => {