-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
8 changed files
with
106 additions
and
12 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
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
28 changes: 28 additions & 0 deletions
28
packages/wiz-ui-next/src/components/base/navigation/content.vue
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,28 @@ | ||
<template> | ||
<div | ||
:class="navigationContentStyle" | ||
:style="{ marginLeft: computedMarginLeft }" | ||
> | ||
<slot /> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { ComponentName } from "@wizleap-inc/wiz-ui-constants"; | ||
import { navigationContentStyle } from "@wizleap-inc/wiz-ui-styles/bases/navigation.css"; | ||
import { defineProps, computed } from "vue"; | ||
defineOptions({ | ||
name: ComponentName.NavigationContent, | ||
}); | ||
const props = defineProps({ | ||
isOpen: { | ||
type: Boolean, | ||
required: false, | ||
default: false, | ||
}, | ||
}); | ||
const computedMarginLeft = computed(() => (props.isOpen ? "181px" : "61px")); | ||
</script> |
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,2 +1,3 @@ | ||
export { default as WizNavContainer } from "./container.vue"; | ||
export { default as WizNavItem } from "./item.vue"; | ||
export { default as WizNavContent } from "./content.vue"; |
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
28 changes: 28 additions & 0 deletions
28
packages/wiz-ui/src/components/base/navigation/content.vue
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,28 @@ | ||
<template> | ||
<div | ||
:class="navigationContentStyle" | ||
:style="{ marginLeft: computedMarginLeft }" | ||
> | ||
<slot /> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { ComponentName } from "@wizleap-inc/wiz-ui-constants"; | ||
import { navigationContentStyle } from "@wizleap-inc/wiz-ui-styles/bases/navigation.css"; | ||
import { computed } from "vue"; | ||
defineOptions({ | ||
name: ComponentName.NavigationContent, | ||
}); | ||
const props = defineProps({ | ||
isOpen: { | ||
type: Boolean, | ||
required: false, | ||
default: false, | ||
}, | ||
}); | ||
const computedMarginLeft = computed(() => (props.isOpen ? "181px" : "61px")); | ||
</script> |
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,2 +1,3 @@ | ||
export { default as WizNavContainer } from "./container.vue"; | ||
export { default as WizNavItem } from "./item.vue"; | ||
export { default as WizNavContent } from "./content.vue"; |