@troshab/slidev-theme-troshab 0.1.2 → 0.1.4

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.
@@ -31,6 +31,7 @@ const props = withDefaults(defineProps<{
31
31
  direction?: 'horizontal' | 'vertical'
32
32
  mode?: 'static' | 'clicks'
33
33
  current?: number
34
+ start?: number
34
35
  color?: SemanticColor
35
36
  trackValign?: VAlign
36
37
  contentValign?: VAlign
@@ -39,6 +40,7 @@ const props = withDefaults(defineProps<{
39
40
  direction: 'horizontal',
40
41
  mode: 'static',
41
42
  color: 'primary',
43
+ start: 1,
42
44
  trackValign: 'center',
43
45
  contentValign: 'center',
44
46
  })
@@ -192,7 +194,7 @@ function isUpcoming(index: number) {
192
194
  </template>
193
195
  <!-- Number (numbers + arrows) -->
194
196
  <template v-else-if="variant !== 'dots'">
195
- {{ index + 1 }}
197
+ {{ index + start }}
196
198
  </template>
197
199
  <!-- Dots: empty circle, no content -->
198
200
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@troshab/slidev-theme-troshab",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "A minimal, universal Slidev theme with flexible layouts and ready-to-use slide templates",
5
5
  "author": "troshab",
6
6
  "license": "PolyForm-Noncommercial-1.0.0",