-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
73ae6d9
commit 7f95346
Showing
41 changed files
with
296 additions
and
216 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
dist/components/EnhancedIconButton/EnhancedIconButton.vue.d.ts
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -3,8 +3,8 @@ | |
"version": "0.3.5", | ||
"author": "nasum <[email protected]>", | ||
"scripts": { | ||
"build": "yarn run check:types && npm run build:vue", | ||
"check:types": "vue-tsc --noEmit", | ||
"build": "npm run build:types && npm run build:vue", | ||
"build:types": "vue-tsc --declaration --emitDeclarationOnly && tsc-alias -p tsconfig.json", | ||
"lint": "eslint \"src/**/*.{ts,vue}\"", | ||
"build:vue": "vite build", | ||
"chromatic": "npx chromatic storybook:build --project-token $CHROMATIC_TOKEN -b storybook:build --exit-zero-on-changes", | ||
|
@@ -20,7 +20,8 @@ | |
}, | ||
"main": "dist/lapras-frontend.js", | ||
"files": [ | ||
"dist" | ||
"dist", | ||
"types" | ||
], | ||
"dependencies": { | ||
"@popperjs/core": "^2.11.8", | ||
|
@@ -75,7 +76,7 @@ | |
"registry": "https://npm.pkg.github.com/" | ||
}, | ||
"repository": "ssh://[email protected]/lapras-inc/lapras-frontend.git", | ||
"types": "dist/main.d.ts", | ||
"types": "types/main.d.ts", | ||
"eslintConfig": { | ||
"extends": [ | ||
"plugin:storybook/recommended" | ||
|
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,7 @@ | ||
import type { Meta, StoryObj } from '@storybook/vue3'; | ||
import AvatarImg from './AvatarImg.vue'; | ||
declare const meta: Meta<typeof AvatarImg>; | ||
export default meta; | ||
type Story = StoryObj<typeof AvatarImg>; | ||
export declare const Default: Story; | ||
export declare const NoImage: Story; |
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,12 @@ | ||
declare const _default: import("vue").DefineComponent<{ | ||
src: { | ||
type: StringConstructor; | ||
}; | ||
}, { | ||
avatarDefault: string; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ | ||
src: { | ||
type: StringConstructor; | ||
}; | ||
}>>, {}, {}>; | ||
export default _default; |
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,8 @@ | ||
import type { Meta, StoryObj } from '@storybook/vue3'; | ||
import Card from './Card.vue'; | ||
declare const meta: Meta<typeof Card>; | ||
export default meta; | ||
type Story = StoryObj<typeof Card>; | ||
export declare const SkinDefault: Story; | ||
export declare const SkinBackground: Story; | ||
export declare const SkinBackgroundLine: Story; |
5 changes: 2 additions & 3 deletions
5
dist/components/Card/Card.vue.d.ts → types/components/Card/Card.vue.d.ts
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,7 @@ | ||
import type { Meta, StoryObj } from '@storybook/vue3'; | ||
import CheckBox from './CheckBox.vue'; | ||
declare const meta: Meta<typeof CheckBox>; | ||
export default meta; | ||
type Story = StoryObj<typeof CheckBox>; | ||
export declare const Default: Story; | ||
export declare const Disabled: Story; |
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
6 changes: 6 additions & 0 deletions
6
types/components/EnhancedIconButton/EnhancedIconButton.stories.d.ts
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,6 @@ | ||
import type { Meta, StoryObj } from '@storybook/vue3'; | ||
import EnhancedIconButton from './EnhancedIconButton.vue'; | ||
declare const meta: Meta<typeof EnhancedIconButton>; | ||
export default meta; | ||
type Story = StoryObj<typeof EnhancedIconButton>; | ||
export declare const Default: Story; |
14 changes: 14 additions & 0 deletions
14
types/components/EnhancedIconButton/EnhancedIconButton.vue.d.ts
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,14 @@ | ||
declare const _default: import("vue").DefineComponent<{ | ||
tag: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ | ||
tag: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
}>>, { | ||
tag: string; | ||
}, {}>; | ||
export default _default; |
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,12 @@ | ||
import type { Meta, StoryObj } from '@storybook/vue3'; | ||
import type { ComponentProps } from 'vue-component-type-helpers'; | ||
import FieldGroup from './FieldGroup.vue'; | ||
type FieldGroupPropsAndCustomArgs = ComponentProps<typeof FieldGroup> & { | ||
error?: boolean; | ||
note: string; | ||
}; | ||
declare const meta: Meta<FieldGroupPropsAndCustomArgs>; | ||
export default meta; | ||
type Story = StoryObj<FieldGroupPropsAndCustomArgs>; | ||
export declare const Default: Story; | ||
export declare const HasOptions: Story; |
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,29 @@ | ||
import type { Meta, StoryObj } from '@storybook/vue3'; | ||
import type { ComponentProps } from 'vue-component-type-helpers'; | ||
import FlatButton from './FlatButton.vue'; | ||
type FlatButtonPropsAndCustomArgs = ComponentProps<typeof FlatButton> & { | ||
label: string; | ||
leftIcon?: string; | ||
rightIcon?: string; | ||
}; | ||
declare const meta: Meta<FlatButtonPropsAndCustomArgs>; | ||
export default meta; | ||
type Story = StoryObj<FlatButtonPropsAndCustomArgs>; | ||
export declare const Default: Story; | ||
export declare const SkinImportant: Story; | ||
export declare const SkinPrimary: Story; | ||
export declare const SkinPrimaryLine: Story; | ||
export declare const SkinSecondary: Story; | ||
export declare const SkinTertiary: Story; | ||
export declare const SkinMuted: Story; | ||
export declare const SkinDisabled: Story; | ||
export declare const SizeXl: Story; | ||
export declare const SizeL: Story; | ||
export declare const SizeM: Story; | ||
export declare const SizeS: Story; | ||
export declare const SizeXs: Story; | ||
export declare const HasIcons: Story; | ||
export declare const HasLeftIcon: Story; | ||
export declare const HasRightIcon: Story; | ||
export declare const Inline: Story; | ||
export declare const Enhanced: Story; |
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,6 @@ | ||
import type { Meta, StoryObj } from '@storybook/vue3'; | ||
import Icon from './Icon.vue'; | ||
declare const meta: Meta<typeof Icon>; | ||
export default meta; | ||
export type Story = StoryObj<typeof Icon>; | ||
export declare const IconList: Story; |
Oops, something went wrong.