@itcase/storybook-config 1.0.33 → 1.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45,16 +45,12 @@ const defaultSortLast = ['Footer', 'After']
45
45
 
46
46
  const STORYSORT = {
47
47
  storySort: {
48
- includeNames: true,
49
48
  order: [
50
49
  '*',
51
- 'Tokens',
52
- 'Components',
53
50
  [
54
- ...defaultDocSort,
55
- ...defaultSortFirst,
56
- '*',
57
- ...defaultSortLast,
51
+ 'Tokens',
52
+ 'API',
53
+ 'Components',
58
54
  [
59
55
  ...defaultDocSort,
60
56
  ...defaultSortFirst,
@@ -75,36 +71,35 @@ const STORYSORT = {
75
71
  ...defaultSortFirst,
76
72
  '*',
77
73
  ...defaultSortLast,
78
- [...defaultDocSort, ...defaultSortFirst, '*', ...defaultSortLast],
79
74
  [
80
- 'First',
81
- 'First Bet',
82
- 'Bet',
83
- 'New Offer',
84
- 'Wait',
85
- 'Finished',
86
- 'Stopped',
87
- 'Canceled',
88
- 'Need Confirm',
89
- 'Confirmed',
90
- 'Refused',
75
+ ...defaultDocSort,
76
+ ...defaultSortFirst,
77
+ '*',
78
+ ...defaultSortLast,
79
+ [...defaultDocSort, ...defaultSortFirst, '*', ...defaultSortLast],
80
+ [
81
+ 'First',
82
+ 'First Bet',
83
+ 'Bet',
84
+ 'New Offer',
85
+ 'Wait',
86
+ 'Finished',
87
+ 'Stopped',
88
+ 'Canceled',
89
+ 'Need Confirm',
90
+ 'Confirmed',
91
+ 'Refused',
92
+ '*',
93
+ ],
91
94
  '*',
95
+ ...defaultSortLast,
92
96
  ],
93
- '*',
94
- ...defaultSortLast,
95
97
  ],
96
98
  ],
97
99
  ],
98
100
  ],
99
- ],
100
- 'Pages',
101
- 'Page Blocks',
102
- [
103
- ...defaultDocSort,
104
- ...defaultSortFirst,
105
- ...defaultStateSort,
106
- '*',
107
- ...defaultSortLast,
101
+ 'Pages',
102
+ 'Page Blocks',
108
103
  [
109
104
  ...defaultDocSort,
110
105
  ...defaultSortFirst,
@@ -117,17 +112,23 @@ const STORYSORT = {
117
112
  ...defaultStateSort,
118
113
  '*',
119
114
  ...defaultSortLast,
120
- [...defaultDocSort, ...defaultSortFirst, ...defaultStateSort, '*', ...defaultSortLast],
115
+ [
116
+ ...defaultDocSort,
117
+ ...defaultSortFirst,
118
+ ...defaultStateSort,
119
+ '*',
120
+ ...defaultSortLast,
121
+ [
122
+ ...defaultDocSort,
123
+ ...defaultSortFirst,
124
+ ...defaultStateSort,
125
+ '*',
126
+ ...defaultSortLast,
127
+ ],
128
+ ],
121
129
  ],
122
130
  ],
123
- ],
124
- 'Page Components',
125
- [
126
- ...defaultDocSort,
127
- ...defaultSortFirst,
128
- ...defaultStateSort,
129
- '*',
130
- ...defaultSortLast,
131
+ 'Page Components',
131
132
  [
132
133
  ...defaultDocSort,
133
134
  ...defaultSortFirst,
@@ -140,21 +141,33 @@ const STORYSORT = {
140
141
  ...defaultStateSort,
141
142
  '*',
142
143
  ...defaultSortLast,
143
- [...defaultDocSort, ...defaultSortFirst, ...defaultStateSort, '*', ...defaultSortLast],
144
+ [
145
+ ...defaultDocSort,
146
+ ...defaultSortFirst,
147
+ ...defaultStateSort,
148
+ '*',
149
+ ...defaultSortLast,
150
+ [
151
+ ...defaultDocSort,
152
+ ...defaultSortFirst,
153
+ ...defaultStateSort,
154
+ '*',
155
+ ...defaultSortLast,
156
+ ],
157
+ ],
144
158
  ],
145
159
  ],
160
+ 'Forms',
161
+ [...defaultDocSort, ...defaultFormSort, '*'],
162
+ 'Email',
163
+ [...defaultDocSort, '*'],
146
164
  ],
147
- 'Forms',
148
- [...defaultDocSort, ...defaultFormSort, '*'],
149
- 'Email',
150
- [...defaultDocSort, '*'],
151
165
  ],
152
166
  },
153
167
  }
154
168
 
155
169
  const STORYSORT_DOCUMENTATION = {
156
170
  storySort: {
157
- includeNames: true,
158
171
  order: [
159
172
  '*',
160
173
  [
@@ -183,7 +196,6 @@ const STORYSORT_DOCUMENTATION = {
183
196
 
184
197
  const STORYSORT_ICONS = {
185
198
  storySort: {
186
- includeNames: true,
187
199
  order: ['Overview', 'Usage', 'Default Icons', '*'],
188
200
  },
189
201
  }
@@ -45,16 +45,12 @@ const defaultSortLast = ['Footer', 'After']
45
45
 
46
46
  const STORYSORT = {
47
47
  storySort: {
48
- includeNames: true,
49
48
  order: [
50
49
  '*',
51
- 'Tokens',
52
- 'Components',
53
50
  [
54
- ...defaultDocSort,
55
- ...defaultSortFirst,
56
- '*',
57
- ...defaultSortLast,
51
+ 'Tokens',
52
+ 'API',
53
+ 'Components',
58
54
  [
59
55
  ...defaultDocSort,
60
56
  ...defaultSortFirst,
@@ -75,36 +71,35 @@ const STORYSORT = {
75
71
  ...defaultSortFirst,
76
72
  '*',
77
73
  ...defaultSortLast,
78
- [...defaultDocSort, ...defaultSortFirst, '*', ...defaultSortLast],
79
74
  [
80
- 'First',
81
- 'First Bet',
82
- 'Bet',
83
- 'New Offer',
84
- 'Wait',
85
- 'Finished',
86
- 'Stopped',
87
- 'Canceled',
88
- 'Need Confirm',
89
- 'Confirmed',
90
- 'Refused',
75
+ ...defaultDocSort,
76
+ ...defaultSortFirst,
77
+ '*',
78
+ ...defaultSortLast,
79
+ [...defaultDocSort, ...defaultSortFirst, '*', ...defaultSortLast],
80
+ [
81
+ 'First',
82
+ 'First Bet',
83
+ 'Bet',
84
+ 'New Offer',
85
+ 'Wait',
86
+ 'Finished',
87
+ 'Stopped',
88
+ 'Canceled',
89
+ 'Need Confirm',
90
+ 'Confirmed',
91
+ 'Refused',
92
+ '*',
93
+ ],
91
94
  '*',
95
+ ...defaultSortLast,
92
96
  ],
93
- '*',
94
- ...defaultSortLast,
95
97
  ],
96
98
  ],
97
99
  ],
98
100
  ],
99
- ],
100
- 'Pages',
101
- 'Page Blocks',
102
- [
103
- ...defaultDocSort,
104
- ...defaultSortFirst,
105
- ...defaultStateSort,
106
- '*',
107
- ...defaultSortLast,
101
+ 'Pages',
102
+ 'Page Blocks',
108
103
  [
109
104
  ...defaultDocSort,
110
105
  ...defaultSortFirst,
@@ -117,17 +112,23 @@ const STORYSORT = {
117
112
  ...defaultStateSort,
118
113
  '*',
119
114
  ...defaultSortLast,
120
- [...defaultDocSort, ...defaultSortFirst, ...defaultStateSort, '*', ...defaultSortLast],
115
+ [
116
+ ...defaultDocSort,
117
+ ...defaultSortFirst,
118
+ ...defaultStateSort,
119
+ '*',
120
+ ...defaultSortLast,
121
+ [
122
+ ...defaultDocSort,
123
+ ...defaultSortFirst,
124
+ ...defaultStateSort,
125
+ '*',
126
+ ...defaultSortLast,
127
+ ],
128
+ ],
121
129
  ],
122
130
  ],
123
- ],
124
- 'Page Components',
125
- [
126
- ...defaultDocSort,
127
- ...defaultSortFirst,
128
- ...defaultStateSort,
129
- '*',
130
- ...defaultSortLast,
131
+ 'Page Components',
131
132
  [
132
133
  ...defaultDocSort,
133
134
  ...defaultSortFirst,
@@ -140,21 +141,33 @@ const STORYSORT = {
140
141
  ...defaultStateSort,
141
142
  '*',
142
143
  ...defaultSortLast,
143
- [...defaultDocSort, ...defaultSortFirst, ...defaultStateSort, '*', ...defaultSortLast],
144
+ [
145
+ ...defaultDocSort,
146
+ ...defaultSortFirst,
147
+ ...defaultStateSort,
148
+ '*',
149
+ ...defaultSortLast,
150
+ [
151
+ ...defaultDocSort,
152
+ ...defaultSortFirst,
153
+ ...defaultStateSort,
154
+ '*',
155
+ ...defaultSortLast,
156
+ ],
157
+ ],
144
158
  ],
145
159
  ],
160
+ 'Forms',
161
+ [...defaultDocSort, ...defaultFormSort, '*'],
162
+ 'Email',
163
+ [...defaultDocSort, '*'],
146
164
  ],
147
- 'Forms',
148
- [...defaultDocSort, ...defaultFormSort, '*'],
149
- 'Email',
150
- [...defaultDocSort, '*'],
151
165
  ],
152
166
  },
153
167
  }
154
168
 
155
169
  const STORYSORT_DOCUMENTATION = {
156
170
  storySort: {
157
- includeNames: true,
158
171
  order: [
159
172
  '*',
160
173
  [
@@ -183,7 +196,6 @@ const STORYSORT_DOCUMENTATION = {
183
196
 
184
197
  const STORYSORT_ICONS = {
185
198
  storySort: {
186
- includeNames: true,
187
199
  order: ['Overview', 'Usage', 'Default Icons', '*'],
188
200
  },
189
201
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/storybook-config",
3
- "version": "1.0.33",
3
+ "version": "1.0.35",
4
4
  "author": "ITCase",
5
5
  "description": "Code style linter configuration presets",
6
6
  "engines": {