Skip to content

Commit

Permalink
chore: version upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
gokh4nozturk authored and Gökhan Öztürk committed Sep 13, 2022
1 parent 6e66cbc commit 578b261
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 3 deletions.
25 changes: 24 additions & 1 deletion lib/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,33 @@ import '../src/index.css';
import '../src/components/Button/button.css';
import '../src/components/Checkbox/checkbox.css';
import '../src/components/Textfield/textfield.css';
import '../src/components/Alert/alert.css';
import '../src/components/Badge/badge.css';
import '../src/components/Chips/chip.css';
import '../src/components/Dropdown/dropdown.css';
import '../src/components/Switch/switch.css';
import '../src/components/Tooltip/tooltip.css';

import Button from '../src/components/Button/Button.vue';
import Icon from '../src/components/Icon/Icon.vue';
import Checkbox from '../src/components/Checkbox/Checkbox.vue';
import Textfield from '../src/components/Textfield/Textfield.vue';
import Alert from '../src/components/Alert/Alert.vue';
import Badge from '../src/components/Badge/Badge.vue';
import Chip from '../src/components/Chips/Chip.vue';
import Dropdown from '../src/components/Dropdown/Dropdown.vue';
import Switch from '../src/components/Switch/Switch.vue';
import Tooltip from '../src/components/Tooltip/Tooltip.vue';

export { Button, Icon, Checkbox, Textfield };
export {
Button,
Icon,
Checkbox,
Textfield,
Alert,
Badge,
Chip,
Dropdown,
Switch,
Tooltip,
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "design-system-vue",
"version": "0.0.4",
"version": "0.0.5",
"type": "module",
"files": [
"dist"
Expand Down
14 changes: 13 additions & 1 deletion src/components/Button/Button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,19 @@ export interface Props {
type?: 'button' | 'submit' | 'reset';
backgroundColor?: string;
}
const props = defineProps<Props>();
const props = withDefaults(defineProps<Props>(), {
variant: 'primary',
loading: false,
disabled: false,
icon: '',
iconColor: '',
iconSize: '',
iconKind: '',
iconRight: false,
size: 'medium',
type: 'button',
backgroundColor: '',
});
const emit = defineEmits(['click']);
const classes = computed(() => ({
button: true,
Expand Down

0 comments on commit 578b261

Please # to comment.