2024-02-13 06:24:01 +00:00
|
|
|
<template>
|
|
|
|
<div class="doc-main">
|
|
|
|
<div class="doc-intro">
|
|
|
|
<h1>Stepper Theming</h1>
|
|
|
|
</div>
|
|
|
|
<DocSections :docs="docs" />
|
|
|
|
</div>
|
|
|
|
<DocSectionNav :docs="docs" />
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2024-05-22 13:52:40 +00:00
|
|
|
import DocApiTable from '@/components/doc/DocApiTable.vue';
|
2024-05-23 11:07:36 +00:00
|
|
|
import { getStyleOptions, getTokenOptions } from '@/components/doc/helpers';
|
2024-02-13 06:24:01 +00:00
|
|
|
import TailwindDoc from './TailwindDoc.vue';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
docs: [
|
|
|
|
{
|
|
|
|
id: 'theming.styled',
|
|
|
|
label: 'Styled',
|
2024-05-22 13:52:40 +00:00
|
|
|
children: [
|
|
|
|
{
|
|
|
|
id: 'theming.classes',
|
2024-06-04 06:23:16 +00:00
|
|
|
label: 'Stepper CSS Classes',
|
2024-05-22 13:52:40 +00:00
|
|
|
description: 'List of class names used in the styled mode.',
|
|
|
|
component: DocApiTable,
|
|
|
|
data: getStyleOptions('Stepper')
|
2024-05-23 11:07:36 +00:00
|
|
|
},
|
2024-06-04 06:23:16 +00:00
|
|
|
{
|
|
|
|
id: 'theming.classes',
|
|
|
|
label: 'StepList CSS Classes',
|
|
|
|
description: 'List of class names used in the styled mode.',
|
|
|
|
component: DocApiTable,
|
|
|
|
data: getStyleOptions('StepList')
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'theming.classes',
|
|
|
|
label: 'StepPanels CSS Classes',
|
|
|
|
description: 'List of class names used in the styled mode.',
|
|
|
|
component: DocApiTable,
|
|
|
|
data: getStyleOptions('StepPanels')
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'theming.classes',
|
|
|
|
label: 'StepItem CSS Classes',
|
|
|
|
description: 'List of class names used in the styled mode.',
|
|
|
|
component: DocApiTable,
|
|
|
|
data: getStyleOptions('StepItem')
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'theming.classes',
|
|
|
|
label: 'Step CSS Classes',
|
|
|
|
description: 'List of class names used in the styled mode.',
|
|
|
|
component: DocApiTable,
|
|
|
|
data: getStyleOptions('Step')
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'theming.classes',
|
|
|
|
label: 'StepPanel CSS Classes',
|
|
|
|
description: 'List of class names used in the styled mode.',
|
|
|
|
component: DocApiTable,
|
|
|
|
data: getStyleOptions('StepPanel')
|
|
|
|
},
|
2024-05-23 11:07:36 +00:00
|
|
|
{
|
|
|
|
id: 'theming.tokens',
|
|
|
|
label: 'Design Tokens',
|
|
|
|
description: 'List of design tokens used in a preset.',
|
|
|
|
component: DocApiTable,
|
|
|
|
data: getTokenOptions('Stepper')
|
2024-05-22 13:52:40 +00:00
|
|
|
}
|
|
|
|
]
|
2024-02-13 06:24:01 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'theming.unstyled',
|
|
|
|
label: 'Unstyled',
|
|
|
|
description: 'Theming is implemented with the pass through properties in unstyled mode.',
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
id: 'theming.tailwind',
|
|
|
|
label: 'Tailwind',
|
|
|
|
component: TailwindDoc
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|