-
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.
Merge branch main into feat/update-storybook
- Loading branch information
Showing
83 changed files
with
4,780 additions
and
41 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
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
File renamed without changes.
10 changes: 5 additions & 5 deletions
10
docs/stories/Introduction.mdx → docs/stories/docs/Introduction.mdx
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
File renamed without changes.
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
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
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,5 @@ | ||
import '@puik/components/base/style/css' | ||
import '@puik/theme/puik-sidebar-group-item.css' | ||
import '@puik/theme/puik-accordion.css' | ||
import '@puik/theme/puik-button.css' | ||
import '@puik/theme/puik-icon.css' |
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,5 @@ | ||
import '@puik/components/base/style' | ||
import '@puik/theme/src/sidebar-group-item.scss' | ||
import '@puik/theme/src/accordion.scss' | ||
import '@puik/theme/src/button.scss' | ||
import '@puik/theme/src/icon.scss' |
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,3 @@ | ||
import '@puik/components/base/style/css' | ||
import '@puik/theme/puik-sidebar-item.css' | ||
import '@puik/theme/puik-button.css' |
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,3 @@ | ||
import '@puik/components/base/style' | ||
import '@puik/theme/src/sidebar-item.scss' | ||
import '@puik/theme/src/button.scss' |
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,2 @@ | ||
import '@puik/components/base/style/css' | ||
import '@puik/theme/puik-sidebar-title.css' |
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,2 @@ | ||
import '@puik/components/base/style' | ||
import '@puik/theme/src/sidebar-title.scss' |
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,18 @@ | ||
import { withInstall } from '@puik/utils' | ||
|
||
import Sidebar from './src/sidebar.vue' | ||
import SidebarGroupItem from './src/sidebar-group-item.vue' | ||
import SidebarItem from './src/sidebar-item.vue' | ||
import SidebarTitle from './src/sidebar-title.vue' | ||
|
||
export const PuikSidebar = withInstall(Sidebar) | ||
export const PuikSidebarGroupItem = withInstall(SidebarGroupItem) | ||
export const PuikSidebarItem = withInstall(SidebarItem) | ||
export const PuikSidebarTitle = withInstall(SidebarTitle) | ||
|
||
export default PuikSidebar | ||
|
||
export * from './src/sidebar' | ||
export * from './src/sidebar-item' | ||
export * from './src/sidebar-group-item' | ||
export * from './src/sidebar-title' |
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,30 @@ | ||
import { buildProps } from '@puik/utils' | ||
import type { ExtractPropTypes } from 'vue' | ||
import type SidebarGroupItem from './sidebar-group-item.vue' | ||
|
||
export const sidebarGroupItemProps = buildProps({ | ||
title: { | ||
type: String, | ||
required: true, | ||
}, | ||
icon: { | ||
type: String, | ||
required: true, | ||
}, | ||
name: { | ||
type: String, | ||
required: false, | ||
default: undefined, | ||
}, | ||
active: { | ||
type: Boolean, | ||
default: false, | ||
required: false, | ||
}, | ||
} as const) | ||
|
||
export type SidebarGroupItemProps = ExtractPropTypes< | ||
typeof sidebarGroupItemProps | ||
> | ||
|
||
export type SidebarGroupItemInstance = InstanceType<typeof SidebarGroupItem> |
Oops, something went wrong.