Skip to content

Commit

Permalink
fix: material panel style (#769)
Browse files Browse the repository at this point in the history
* fix: material panel style

* fix: import styles
  • Loading branch information
alvinhui authored Feb 5, 2021
1 parent ef69b11 commit 73e6d46
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 14 deletions.
4 changes: 4 additions & 0 deletions extensions/iceworks-material-helper/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 0.5.6

- refactor: internal optimization

## 0.5.5

- fix: generator page by blocks
Expand Down
2 changes: 1 addition & 1 deletion extensions/iceworks-material-helper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Component Helper",
"description": "Easily use Component in React/Vue/Rax.",
"publisher": "iceworks-team",
"version": "0.5.5",
"version": "0.5.6",
"main": "./build/extension.js",
"engines": {
"vscode": "^1.41.0"
Expand Down
2 changes: 1 addition & 1 deletion extensions/iceworks-material-helper/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@alifd/theme-iceworks-dark": "^1.1.0",
"@formily/next": "^1.3.5",
"@formily/next-components": "^1.3.5",
"@iceworks/material-ui": "^0.1.5",
"@iceworks/material-ui": "^0.1.17",
"@iceworks/material-utils": "^0.1.3",
"@iceworks/vscode-webview": "^0.1.1",
"lodash.forin": "^4.4.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Icon, Input } from '@alifd/next';
import { SortableContainer, SortableElement, SortableHandle } from 'react-sortable-hoc';
import { PLACEHOLDER_IMG } from '@iceworks/material-utils';
import { FormattedMessage } from 'react-intl';
import * as styles from './index.module.scss';
import styles from './index.module.scss';

export const BlockDragHandle = SortableHandle(({ title, screenshot }) => (
<div className={styles.screenshot}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Icon, Input } from '@alifd/next';
import { SortableContainer, SortableElement, SortableHandle } from 'react-sortable-hoc';
import { PLACEHOLDER_IMG } from '@iceworks/material-utils';
import { FormattedMessage } from 'react-intl';
import * as styles from './index.module.scss';
import styles from './index.module.scss';

export const BlockDragHandle = SortableHandle(({ title, screenshot }) => (
<div className={styles.screenshot}>
Expand Down
4 changes: 4 additions & 0 deletions extensions/iceworks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 0.16.3

- chore: upgrade material helper

## 0.16.2

- fix: generator page by blocks
Expand Down
2 changes: 1 addition & 1 deletion extensions/iceworks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Iceworks",
"description": "Visual Intelligent Development Pack, provide visualization and intelligent technology to build Universal Application faster and better, support Web / H5 / MiniProgram(小程序) Application.",
"publisher": "iceworks-team",
"version": "0.16.2",
"version": "0.16.3",
"engines": {
"vscode": "^1.41.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/material-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@iceworks/material-ui",
"version": "0.1.15",
"version": "0.1.17",
"description": "Material panel for display and select materials.",
"files": [
"demo/",
Expand Down Expand Up @@ -54,6 +54,6 @@
"access": "public"
},
"license": "MIT",
"homepage": "https://unpkg.com/@iceworks/[email protected].15/build/index.html",
"homepage": "https://unpkg.com/@iceworks/[email protected].17/build/index.html",
"gitHead": "fc5b35f95ab4cc24898845916acf598c2f34d576"
}
2 changes: 1 addition & 1 deletion packages/material-ui/src/components/base.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { IMaterialBase } from '@iceworks/material-utils';
import classnames from 'classnames';
import * as styles from './base.module.scss';
import styles from './base.module.scss';

export const MaterialBase: React.FC<{
dataSource: IMaterialBase;
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/src/components/block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react';
import { IMaterialBlock, PLACEHOLDER_IMG } from '@iceworks/material-utils';
import classnames from 'classnames';
import { Icon } from '@alifd/next';
import * as styles from './block.module.scss';
import styles from './block.module.scss';

export const MaterialBlock: React.FC<{
dataSource: IMaterialBlock;
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/src/components/component.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { IMaterialComponent } from '@iceworks/material-utils';
import classnames from 'classnames';
import * as styles from './component.module.scss';
import styles from './component.module.scss';

export const MaterialComponent: React.FC<{
dataSource: IMaterialComponent;
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/src/components/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react';
import { IMaterialBlock, PLACEHOLDER_IMG } from '@iceworks/material-utils';
import classnames from 'classnames';
import { Icon } from '@alifd/next';
import * as styles from './page.module.scss';
import styles from './page.module.scss';

export const MaterialPage: React.FC<{
dataSource: IMaterialBlock;
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/src/components/scaffold.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { Icon } from '@alifd/next';
import { IMaterialScaffold, PLACEHOLDER_IMG } from '@iceworks/material-utils';
import * as styles from './scaffold.module.scss';
import styles from './scaffold.module.scss';

export const MaterialScaffold: React.FC<{
dataSource: IMaterialScaffold;
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/src/components/type.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { MaterialBlock } from './block';
import { MaterialComponent } from './component';
import { MaterialBase } from './base';
import { MaterialPage } from './page';
import * as styles from './type.module.scss';
import styles from './type.module.scss';

const { Cell } = ResponsiveGrid;

Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/src/components/view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
IMaterialPage,
} from '@iceworks/material-utils';
import { MaterialType } from './type';
import * as styles from './view.module.scss';
import styles from './view.module.scss';

const { Item } = Tab;

Expand Down

0 comments on commit 73e6d46

Please sign in to comment.