Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Commit 2b07b86

Browse files
committed
Update styleguide appearance
1 parent a655f87 commit 2b07b86

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

demo/styles.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ body {
1111
box-shadow: 1px 1px 81px rgba(41,60,74,.18);
1212
}
1313

14-
.rsg--toolbar-17 {
14+
.rsg--toolbar-17, .rsg--wrapper-16 {
1515
display: none;
16-
}
16+
}

styleguide.config.js

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const path = require('path');
22
const isDEV = process.env.NODE_ENV === 'development';
3-
const moduleSource = isDEV ? 'src' : 'dist';
3+
const moduleSource = isDEV ? 'src' : 'src';
44

55
module.exports = {
66
//ignore: ['**/*.test.js', '**/DateInput/*', '**/DayCell/*', '**/Month/*', '**/InputRangeField/*'],
@@ -93,23 +93,31 @@ module.exports = {
9393
],
9494
},
9595
},
96-
96+
pagePerSection: false,
9797
sections: [
9898
{
99-
name: 'Introduction',
99+
name: 'Getting Started',
100100
content: 'demo/README.md',
101+
sectionDepth: 0,
102+
},
103+
{
104+
name: 'Components',
101105
sections: [
102106
{
103107
components: () => ['src/components/DateRangePicker/index.js'],
108+
usageMode: 'hide',
104109
},
105110
{
106111
components: () => ['src/components/DateRange/index.js'],
107112
},
108113
{
109114
components: () => ['src/components/Calendar/index.js'],
110115
},
116+
{
117+
components: () => ['src/components/DefinedRange/index.js'],
118+
},
111119
],
112-
sectionDepth: 1,
120+
sectionDepth: 0,
113121
},
114122
],
115123
};

0 commit comments

Comments
 (0)