diff --git a/components/package.json b/components/package.json index 3ccb27f..04921cb 100644 --- a/components/package.json +++ b/components/package.json @@ -1,6 +1,6 @@ { "name": "ivy-ui", - "version": "1.0.0-beta.2", + "version": "1.0.0-beta.3", "description": "Stencil Component Starter", "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/components/src/components/ivy-pager/readme.md b/components/src/components/ivy-pager/readme.md index f27a502..f08c878 100644 --- a/components/src/components/ivy-pager/readme.md +++ b/components/src/components/ivy-pager/readme.md @@ -11,13 +11,29 @@ | ------------- | ------------- | ----------- | -------- | ------------------- | | `defaultPage` | `defaultpage` | | `string` | `'1'` | | `layout` | `layout` | | `string` | `'prev,pager,next'` | +| `size` | `size` | | `string` | `'10'` | +| `sizes` | `sizes` | | `string` | `''` | +| `total` | `total` | | `string` | `'0'` | ## Events -| Event | Description | Type | -| ------------ | ----------- | --------------------- | -| `pageChange` | | `CustomEvent` | +| Event | Description | Type | +| ---------------- | ----------- | --------------------- | +| `current-change` | | `CustomEvent` | + + +## Methods + +### `setTotal(total: number) => Promise` + + + +#### Returns + +Type: `Promise` + + ---------------------------------------------- diff --git a/components/src/components/ivy-progress/readme.md b/components/src/components/ivy-progress/readme.md new file mode 100644 index 0000000..5d6ab8f --- /dev/null +++ b/components/src/components/ivy-progress/readme.md @@ -0,0 +1,33 @@ +# ivy-progress + + + + + + +## Properties + +| Property | Attribute | Description | Type | Default | +| ----------- | ----------- | ----------- | ------------------ | ------------ | +| `color` | `color` | | `string` | `undefined` | +| `formatter` | `formatter` | | `string` | `'{value}%'` | +| `showText` | `show-text` | | `boolean` | `false` | +| `value` | `value` | | `number \| string` | `'0'` | + + +## Methods + +### `setValue(val: string | number) => Promise` + + + +#### Returns + +Type: `Promise` + + + + +---------------------------------------------- + +*Built with [StencilJS](https://stenciljs.com/)* diff --git a/icons/package.json b/icons/package.json index 06126c6..abb1f78 100644 --- a/icons/package.json +++ b/icons/package.json @@ -1,6 +1,6 @@ { "name": "ivy-icon", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "description": "使用web component技术的icon组件库", "main": "dist/index.cjs.js", "module": "dist/index.js", diff --git a/icons/readme.md b/icons/readme.md index 5728d9c..e2e3cac 100644 --- a/icons/readme.md +++ b/icons/readme.md @@ -3,5 +3,5 @@ ## 现有图标 ```json -["ivy-arrow-down","ivy-arrow-left","ivy-arrow-right","ivy-arrow-up","ivy-refresh"] +["ivy-arrow-down","ivy-arrow-left","ivy-arrow-right","ivy-arrow-up","ivy-down","ivy-left","ivy-left-circle","ivy-refresh","ivy-right","ivy-right-circle","ivy-up","ivy-up-circle","ivy-down-circle"] ``` \ No newline at end of file diff --git a/icons/src/components/ivy-arrow-down/readme.md b/icons/src/components/ivy-arrow-down/readme.md new file mode 100644 index 0000000..fc03f85 --- /dev/null +++ b/icons/src/components/ivy-arrow-down/readme.md @@ -0,0 +1,18 @@ +# ivy-arrow-down + + + + + + +## Properties + +| Property | Attribute | Description | Type | Default | +| -------- | --------- | ----------- | -------- | ----------- | +| `color` | `color` | | `string` | `'#333333'` | +| `size` | `size` | | `string` | `'14px'` | + + +---------------------------------------------- + +*Built with [StencilJS](https://stenciljs.com/)* diff --git a/icons/src/components/ivy-arrow-left/readme.md b/icons/src/components/ivy-arrow-left/readme.md new file mode 100644 index 0000000..edede17 --- /dev/null +++ b/icons/src/components/ivy-arrow-left/readme.md @@ -0,0 +1,18 @@ +# ivy-arrow-left + + + + + + +## Properties + +| Property | Attribute | Description | Type | Default | +| -------- | --------- | ----------- | -------- | ----------- | +| `color` | `color` | | `string` | `'#333333'` | +| `size` | `size` | | `string` | `'14px'` | + + +---------------------------------------------- + +*Built with [StencilJS](https://stenciljs.com/)* diff --git a/icons/src/components/ivy-arrow-right/readme.md b/icons/src/components/ivy-arrow-right/readme.md new file mode 100644 index 0000000..3917167 --- /dev/null +++ b/icons/src/components/ivy-arrow-right/readme.md @@ -0,0 +1,18 @@ +# ivy-arrow-right + + + + + + +## Properties + +| Property | Attribute | Description | Type | Default | +| -------- | --------- | ----------- | -------- | ----------- | +| `color` | `color` | | `string` | `'#333333'` | +| `size` | `size` | | `string` | `'14px'` | + + +---------------------------------------------- + +*Built with [StencilJS](https://stenciljs.com/)* diff --git a/icons/src/components/ivy-arrow-up/readme.md b/icons/src/components/ivy-arrow-up/readme.md new file mode 100644 index 0000000..1df9468 --- /dev/null +++ b/icons/src/components/ivy-arrow-up/readme.md @@ -0,0 +1,18 @@ +# ivy-arrow-up + + + + + + +## Properties + +| Property | Attribute | Description | Type | Default | +| -------- | --------- | ----------- | -------- | ----------- | +| `color` | `color` | | `string` | `'#333333'` | +| `size` | `size` | | `string` | `'14px'` | + + +---------------------------------------------- + +*Built with [StencilJS](https://stenciljs.com/)* diff --git a/icons/src/components/ivy-down-circle/readme.md b/icons/src/components/ivy-down-circle/readme.md new file mode 100644 index 0000000..65f86b9 --- /dev/null +++ b/icons/src/components/ivy-down-circle/readme.md @@ -0,0 +1,18 @@ +# ivy-down-circle + + + + + + +## Properties + +| Property | Attribute | Description | Type | Default | +| -------- | --------- | ----------- | -------- | ----------- | +| `color` | `color` | | `string` | `'#333333'` | +| `size` | `size` | | `string` | `'14px'` | + + +---------------------------------------------- + +*Built with [StencilJS](https://stenciljs.com/)* diff --git a/icons/src/components/ivy-down/readme.md b/icons/src/components/ivy-down/readme.md new file mode 100644 index 0000000..06ac9fa --- /dev/null +++ b/icons/src/components/ivy-down/readme.md @@ -0,0 +1,18 @@ +# ivy-down + + + + + + +## Properties + +| Property | Attribute | Description | Type | Default | +| -------- | --------- | ----------- | -------- | ----------- | +| `color` | `color` | | `string` | `'#333333'` | +| `size` | `size` | | `string` | `'14px'` | + + +---------------------------------------------- + +*Built with [StencilJS](https://stenciljs.com/)* diff --git a/icons/src/components/ivy-left-circle/readme.md b/icons/src/components/ivy-left-circle/readme.md new file mode 100644 index 0000000..193f4c6 --- /dev/null +++ b/icons/src/components/ivy-left-circle/readme.md @@ -0,0 +1,18 @@ +# ivy-left-circle + + + + + + +## Properties + +| Property | Attribute | Description | Type | Default | +| -------- | --------- | ----------- | -------- | ----------- | +| `color` | `color` | | `string` | `'#333333'` | +| `size` | `size` | | `string` | `'14px'` | + + +---------------------------------------------- + +*Built with [StencilJS](https://stenciljs.com/)* diff --git a/icons/src/components/ivy-left/readme.md b/icons/src/components/ivy-left/readme.md new file mode 100644 index 0000000..e89aabe --- /dev/null +++ b/icons/src/components/ivy-left/readme.md @@ -0,0 +1,18 @@ +# ivy-left + + + + + + +## Properties + +| Property | Attribute | Description | Type | Default | +| -------- | --------- | ----------- | -------- | ----------- | +| `color` | `color` | | `string` | `'#333333'` | +| `size` | `size` | | `string` | `'14px'` | + + +---------------------------------------------- + +*Built with [StencilJS](https://stenciljs.com/)* diff --git a/icons/src/components/ivy-right-circle/readme.md b/icons/src/components/ivy-right-circle/readme.md new file mode 100644 index 0000000..d225e2e --- /dev/null +++ b/icons/src/components/ivy-right-circle/readme.md @@ -0,0 +1,18 @@ +# ivy-right-circle + + + + + + +## Properties + +| Property | Attribute | Description | Type | Default | +| -------- | --------- | ----------- | -------- | ----------- | +| `color` | `color` | | `string` | `'#333333'` | +| `size` | `size` | | `string` | `'14px'` | + + +---------------------------------------------- + +*Built with [StencilJS](https://stenciljs.com/)* diff --git a/icons/src/components/ivy-right/readme.md b/icons/src/components/ivy-right/readme.md new file mode 100644 index 0000000..be4ab68 --- /dev/null +++ b/icons/src/components/ivy-right/readme.md @@ -0,0 +1,18 @@ +# ivy-right + + + + + + +## Properties + +| Property | Attribute | Description | Type | Default | +| -------- | --------- | ----------- | -------- | ----------- | +| `color` | `color` | | `string` | `'#333333'` | +| `size` | `size` | | `string` | `'14px'` | + + +---------------------------------------------- + +*Built with [StencilJS](https://stenciljs.com/)* diff --git a/icons/src/components/ivy-up-circle/readme.md b/icons/src/components/ivy-up-circle/readme.md new file mode 100644 index 0000000..d713ce9 --- /dev/null +++ b/icons/src/components/ivy-up-circle/readme.md @@ -0,0 +1,18 @@ +# ivy-up-circle + + + + + + +## Properties + +| Property | Attribute | Description | Type | Default | +| -------- | --------- | ----------- | -------- | ----------- | +| `color` | `color` | | `string` | `'#333333'` | +| `size` | `size` | | `string` | `'14px'` | + + +---------------------------------------------- + +*Built with [StencilJS](https://stenciljs.com/)* diff --git a/icons/src/components/ivy-up/readme.md b/icons/src/components/ivy-up/readme.md new file mode 100644 index 0000000..63e8750 --- /dev/null +++ b/icons/src/components/ivy-up/readme.md @@ -0,0 +1,18 @@ +# ivy-up + + + + + + +## Properties + +| Property | Attribute | Description | Type | Default | +| -------- | --------- | ----------- | -------- | ----------- | +| `color` | `color` | | `string` | `'#333333'` | +| `size` | `size` | | `string` | `'14px'` | + + +---------------------------------------------- + +*Built with [StencilJS](https://stenciljs.com/)*