-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #250 from LUI-UI/fix-ts-export
refactor: struct
- Loading branch information
Showing
144 changed files
with
9,161 additions
and
4,452 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,34 @@ | ||
module.exports = { | ||
extends: ['@commitlint/config-conventional'], | ||
rules: { | ||
// 'scope-enum': [ | ||
// 2, | ||
// 'always', | ||
// [ | ||
// "style", "lint", "review", "uiux", "deps", "build", | ||
// "release", "flags", "logs", "security", "perf", | ||
// "a11y", "i18n", "typos", "literals", "analytics", | ||
// "seo", "linux", "windows", "osx", "android", "ios" | ||
// ], | ||
// ], | ||
'type-enum': [ | ||
2, | ||
'always', | ||
[ | ||
'wip', 'feat', 'fix', 'config', 'refactor', 'revert', | ||
'chore', 'ci', 'assets', 'test', 'docs', 'init' | ||
], | ||
extends: ['@commitlint/config-conventional'], | ||
rules: { | ||
// 'scope-enum': [ | ||
// 2, | ||
// 'always', | ||
// [ | ||
// "style", "lint", "review", "uiux", "deps", "build", | ||
// "release", "flags", "logs", "security", "perf", | ||
// "a11y", "i18n", "typos", "literals", "analytics", | ||
// "seo", "linux", "windows", "osx", "android", "ios" | ||
// ], | ||
// ], | ||
'type-enum': [ | ||
2, | ||
'always', | ||
[ | ||
'wip', | ||
'feat', | ||
'fix', | ||
'config', | ||
'refactor', | ||
'revert', | ||
'chore', | ||
'ci', | ||
'assets', | ||
'test', | ||
'docs', | ||
'init', | ||
'version', | ||
], | ||
}, | ||
} | ||
], | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ permissions: | |
on: | ||
pull_request: | ||
|
||
|
||
jobs: | ||
client-ci: | ||
name: 📚 Main | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,75 @@ | ||
const descriptions = { | ||
variant: "Controls the component's appearance", | ||
narrowedVariant: "Controls the component's appearance", | ||
variant: 'Controls the component\'s appearance', | ||
narrowedVariant: 'Controls the component\'s appearance', | ||
block: 'Renders a full width component (expands to the width of its parent container)', | ||
color: "Controls the component's color", | ||
color: 'Controls the component\'s color', | ||
text: 'Used to add a text in the component', | ||
rounded: "Controls the rounding of the component's corners", | ||
size: "Controls the component's width, height and inline spacing options", | ||
rounded: 'Controls the rounding of the component\'s corners', | ||
size: 'Controls the component\'s width, height and inline spacing options', | ||
stateIcon: | ||
'Provides a state icon inside the component and is used for validation and error handling', | ||
state: | ||
'Provides a colored border around the component and is used for validation and error handling', | ||
filter: "Controls the tone of the component's color", | ||
filter: 'Controls the tone of the component\'s color', | ||
description: 'Used to add a description to the component', | ||
border: "Controls the component's border" | ||
border: 'Controls the component\'s border', | ||
} | ||
|
||
export const variant = { | ||
control: 'select', | ||
options: ['solid', 'outline', 'text', 'link'], | ||
description: descriptions.variant | ||
description: descriptions.variant, | ||
} | ||
export const narrowedVariant = { | ||
control: 'select', | ||
options: ['solid', 'outline'], | ||
description: descriptions.narrowedVariant | ||
description: descriptions.narrowedVariant, | ||
} | ||
export const block = { | ||
control: 'boolean', | ||
options: [true, false], | ||
description: descriptions.block | ||
description: descriptions.block, | ||
} | ||
export const border = { | ||
control: 'boolean', | ||
options: [true, false], | ||
description: descriptions.block | ||
description: descriptions.block, | ||
} | ||
export const color = { | ||
control: 'select', | ||
options: ['primary', 'secondary', 'info', 'success', 'warning', 'danger'], | ||
description: descriptions.color | ||
description: descriptions.color, | ||
} | ||
export const rounded = { | ||
control: 'select', | ||
options: [true, false, 'full'], | ||
description: descriptions.rounded | ||
description: descriptions.rounded, | ||
} | ||
export const size = { | ||
control: 'select', | ||
options: ['xs', 'sm', 'md', 'lg', 'xl'], | ||
description: descriptions.size | ||
description: descriptions.size, | ||
} | ||
export const stateIcon = { | ||
control: 'boolean', | ||
options: [true, false], | ||
description: descriptions.stateIcon | ||
description: descriptions.stateIcon, | ||
} | ||
export const state = { | ||
control: 'select', | ||
options: ['warning', true, false, null], | ||
description: descriptions.state | ||
description: descriptions.state, | ||
} | ||
export const filter = { | ||
control: 'select', | ||
options: ['lighten', 'darken', 'none'], | ||
description: descriptions.filter | ||
description: descriptions.filter, | ||
} | ||
export const description = { | ||
control: 'text', | ||
description: descriptions.description | ||
description: descriptions.description, | ||
} | ||
export const text = { | ||
control: 'text', | ||
description: descriptions.text | ||
description: descriptions.text, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import antfu from '@antfu/eslint-config' | ||
|
||
export default antfu( | ||
{}, | ||
{ | ||
ignores: [ | ||
'dist', | ||
'.github', | ||
'node_modules', | ||
'public', | ||
'coverage', | ||
'storybook-static', | ||
'.nuxt', | ||
'*.md', | ||
'*.d.ts', | ||
'.nx', | ||
'.vitest-cache', | ||
'**/shims-vue.d.ts', | ||
], | ||
}, | ||
{ | ||
rules: { | ||
'node/prefer-global/process': 'off', | ||
'ts/consistent-type-definitions': 'off', | ||
}, | ||
}, | ||
{ | ||
files: [ | ||
'**/*.vue', | ||
], | ||
rules: { | ||
'import/first': 'off', | ||
'import/order': 'off', | ||
'vue/block-tag-newline': 'off', | ||
}, | ||
}, | ||
) |
Oops, something went wrong.