Skip to content
This repository has been archived by the owner on May 20, 2022. It is now read-only.

Commit

Permalink
fix(ant-tree-web): css
Browse files Browse the repository at this point in the history
  • Loading branch information
engalar committed Dec 1, 2021
1 parent 96c03b6 commit 4eeacbd
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 26,259 deletions.
5 changes: 3 additions & 2 deletions packages/pluggableWidgets/ant-tree-web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ant-tree-web",
"widgetName": "Tree",
"version": "1.1.0",
"version": "1.1.1",
"description": "My widget description",
"copyright": "2020 Mendix Technology BV",
"author": "John",
Expand All @@ -20,7 +20,8 @@
"lint": "pluggable-widgets-tools lint",
"lint:fix": "pluggable-widgets-tools lint:fix",
"prerelease": "npm run lint",
"release": "pluggable-widgets-tools release:web"
"release": "pluggable-widgets-tools release:web",
"tar": "tar -a -c -f demo-tree-960.zip tests/testProject"
},
"license": "Apache-2.0",
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ export class preview extends Component<TreePreviewProps> {
}

export function getPreviewCss(): string {
return require("./ui/antd.css");
return require("./ui/index.scss");
}
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/ant-tree-web/src/Tree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useDebounceFn, useWhyDidYouUpdate } from "ahooks";

import { TreeContainerProps } from "../typings/TreeProps";

import "./ui/Tree.css";
import "./ui/index.scss";
import { TreeContainer } from "./components/TreeContainer";
import { DataNode } from "antd/lib/tree";
import useMxWidget from "./useMxWidget";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { useControllableValue, useWhyDidYouUpdate } from "ahooks";
import { Tree } from "antd";
import { DataNode, EventDataNode } from "antd/lib/tree";
import { createElement, Key, ReactElement } from "react";
import "../ui/antd.css";

export interface TreeNode {
title: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/pluggableWidgets/ant-tree-web/src/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="Tree" version="1.1.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="Tree" version="1.1.1" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="Tree.xml"/>
</widgetFiles>
Expand Down
6 changes: 0 additions & 6 deletions packages/pluggableWidgets/ant-tree-web/src/ui/Tree.css

This file was deleted.

Loading

0 comments on commit 4eeacbd

Please sign in to comment.