@nxgt/material-vue 0.3.2 → 0.5.0

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.
Files changed (115) hide show
  1. package/README.md +25 -7
  2. package/dist/{camera-0FF92_uw.js → camera-Gbi9FZ9_.js} +7 -7
  3. package/dist/{components-CIZI-QTh.js → components-7Ajwd8cr.js} +31524 -29120
  4. package/dist/components.js +5 -4
  5. package/dist/{use-localized-date-C8vHzgho.js → composables-C5LhV5Vi.js} +126 -46
  6. package/dist/composables.js +3 -70
  7. package/dist/{dnd-DxjI7Q-L.js → dnd-DJL4dR9c.js} +1 -1
  8. package/dist/dnd.js +1 -1
  9. package/dist/{i18n-DXZMN9FA.js → i18n-GAjGs1da.js} +86 -0
  10. package/dist/i18n.js +1 -1
  11. package/dist/lib/components/index.d.ts +15 -0
  12. package/dist/lib/components/ui/anchor-heading/anchor-heading.vue.d.ts +20 -0
  13. package/dist/lib/components/ui/anchor-heading/index.d.ts +2 -0
  14. package/dist/lib/components/ui/api-endpoint/api-endpoint.vue.d.ts +20 -0
  15. package/dist/lib/components/ui/api-endpoint/index.d.ts +2 -0
  16. package/dist/lib/components/ui/api-operation/api-operation.vue.d.ts +24 -0
  17. package/dist/lib/components/ui/api-operation/index.d.ts +2 -0
  18. package/dist/lib/components/ui/cards/crew-card.vue.d.ts +21 -0
  19. package/dist/lib/components/ui/cards/feature-card.vue.d.ts +22 -0
  20. package/dist/lib/components/ui/cards/index.d.ts +22 -0
  21. package/dist/lib/components/ui/cards/media-card.vue.d.ts +21 -0
  22. package/dist/lib/components/ui/cards/notice-card.vue.d.ts +20 -0
  23. package/dist/lib/components/ui/cards/overlay-card.vue.d.ts +22 -0
  24. package/dist/lib/components/ui/cards/pricing-card.vue.d.ts +25 -0
  25. package/dist/lib/components/ui/cards/profile-card.vue.d.ts +22 -0
  26. package/dist/lib/components/ui/cards/quote-card.vue.d.ts +20 -0
  27. package/dist/lib/components/ui/cards/split-card.vue.d.ts +22 -0
  28. package/dist/lib/components/ui/cards/spotlight-card.vue.d.ts +20 -0
  29. package/dist/lib/components/ui/cards/ticket-card.vue.d.ts +21 -0
  30. package/dist/lib/components/ui/code/code-group.vue.d.ts +17 -0
  31. package/dist/lib/components/ui/code/index.d.ts +2 -0
  32. package/dist/lib/components/ui/contacts/consts.d.ts +1 -1
  33. package/dist/lib/components/ui/copy-button/copy-button.vue.d.ts +12 -2
  34. package/dist/lib/components/ui/doc/doc-context.d.ts +7 -0
  35. package/dist/lib/components/ui/doc/doc.keyboard.d.ts +20 -0
  36. package/dist/lib/components/ui/doc/doc.store.d.ts +2 -0
  37. package/dist/lib/components/ui/doc/doc.utils.d.ts +19 -0
  38. package/dist/lib/components/ui/doc/doc.vue.d.ts +37 -0
  39. package/dist/lib/components/ui/doc/index.d.ts +24 -0
  40. package/dist/lib/components/ui/doc/partials/doc-article.vue.d.ts +17 -0
  41. package/dist/lib/components/ui/doc/partials/doc-child-cards.vue.d.ts +6 -0
  42. package/dist/lib/components/ui/doc/partials/doc-copy-markdown.vue.d.ts +6 -0
  43. package/dist/lib/components/ui/doc/partials/doc-empty.vue.d.ts +25 -0
  44. package/dist/lib/components/ui/doc/partials/doc-header.vue.d.ts +31 -0
  45. package/dist/lib/components/ui/doc/partials/doc-link.vue.d.ts +18 -0
  46. package/dist/lib/components/ui/doc/partials/doc-nav-list.vue.d.ts +8 -0
  47. package/dist/lib/components/ui/doc/partials/doc-nav.vue.d.ts +7 -0
  48. package/dist/lib/components/ui/doc/partials/doc-page.vue.d.ts +27 -0
  49. package/dist/lib/components/ui/doc/partials/doc-pager.vue.d.ts +7 -0
  50. package/dist/lib/components/ui/doc/partials/doc-progress.vue.d.ts +5 -0
  51. package/dist/lib/components/ui/doc/partials/doc-search-hit.vue.d.ts +12 -0
  52. package/dist/lib/components/ui/doc/partials/doc-search.vue.d.ts +3 -0
  53. package/dist/lib/components/ui/doc/partials/doc-see-also.vue.d.ts +6 -0
  54. package/dist/lib/components/ui/doc/partials/doc-sidebar.vue.d.ts +17 -0
  55. package/dist/lib/components/ui/doc/partials/doc-skip-link.vue.d.ts +6 -0
  56. package/dist/lib/components/ui/doc/partials/doc-toc.vue.d.ts +9 -0
  57. package/dist/lib/components/ui/doc/partials/doc-topbar.vue.d.ts +19 -0
  58. package/dist/lib/components/ui/doc/types.d.ts +37 -0
  59. package/dist/lib/components/ui/doc/use-doc.d.ts +29 -0
  60. package/dist/lib/components/ui/event-calendar/event-calendar.vue.d.ts +1 -1
  61. package/dist/lib/components/ui/feedback/index.d.ts +2 -0
  62. package/dist/lib/components/ui/feedback/scroll-progress.vue.d.ts +10 -0
  63. package/dist/lib/components/ui/figure/figure.vue.d.ts +18 -0
  64. package/dist/lib/components/ui/figure/index.d.ts +2 -0
  65. package/dist/lib/components/ui/hero/hero.vue.d.ts +22 -0
  66. package/dist/lib/components/ui/hero/index.d.ts +2 -0
  67. package/dist/lib/components/ui/highlight-text/highlight-text.vue.d.ts +10 -0
  68. package/dist/lib/components/ui/highlight-text/index.d.ts +2 -0
  69. package/dist/lib/components/ui/list-tile/list-tile.vue.d.ts +2 -0
  70. package/dist/lib/components/ui/metrics/breakdown-card.vue.d.ts +14 -0
  71. package/dist/lib/components/ui/metrics/goal-card.vue.d.ts +11 -0
  72. package/dist/lib/components/ui/metrics/index.d.ts +10 -0
  73. package/dist/lib/components/ui/metrics/rank-card.vue.d.ts +15 -0
  74. package/dist/lib/components/ui/metrics/sparkline.vue.d.ts +7 -0
  75. package/dist/lib/components/ui/metrics/trend-card.vue.d.ts +13 -0
  76. package/dist/lib/components/ui/pager/index.d.ts +2 -0
  77. package/dist/lib/components/ui/pager/pager.vue.d.ts +21 -0
  78. package/dist/lib/components/ui/param-table/index.d.ts +2 -0
  79. package/dist/lib/components/ui/param-table/param-table.vue.d.ts +15 -0
  80. package/dist/lib/components/ui/see-also/index.d.ts +2 -0
  81. package/dist/lib/components/ui/see-also/see-also.vue.d.ts +16 -0
  82. package/dist/lib/components/ui/skip-link/index.d.ts +2 -0
  83. package/dist/lib/components/ui/skip-link/skip-link.vue.d.ts +20 -0
  84. package/dist/lib/components/ui/steps/index.d.ts +4 -0
  85. package/dist/lib/components/ui/steps/steps-item.vue.d.ts +21 -0
  86. package/dist/lib/components/ui/steps/steps.vue.d.ts +17 -0
  87. package/dist/lib/components/ui/stx-player/index.d.ts +2 -2
  88. package/dist/lib/components/ui/stx-player/stx-player.vue.d.ts +1 -1
  89. package/dist/lib/components/ui/toc/index.d.ts +2 -0
  90. package/dist/lib/components/ui/toc/toc.vue.d.ts +24 -0
  91. package/dist/lib/composables/index.d.ts +1 -0
  92. package/dist/lib/composables/use-heading-spy.d.ts +7 -0
  93. package/dist/lib/i18n/resources/en/index.d.ts +49 -0
  94. package/dist/lib/i18n/resources/en/material.json.d.ts +49 -0
  95. package/dist/lib/i18n/resources/fr/index.d.ts +49 -0
  96. package/dist/lib/i18n/resources/fr/material.json.d.ts +49 -0
  97. package/dist/lib/i18n/resources/index.d.ts +98 -0
  98. package/dist/lib/i18n/translator.d.ts +1 -1
  99. package/dist/lib/lib/string.utils.d.ts +9 -0
  100. package/dist/lib/lib/url.utils.d.ts +2 -0
  101. package/dist/lib/nuxt/component-names.d.ts +1 -1
  102. package/dist/{lib-kSGjbZgz.js → lib-DZZQQdzj.js} +146 -119
  103. package/dist/lib.js +3 -3
  104. package/dist/main.js +9 -10
  105. package/dist/material-vue.css +1 -1
  106. package/dist/{pdf-outline-sidebar-iHgJ3Tdm.js → pdf-outline-sidebar-7EEhkMof.js} +6 -6
  107. package/dist/{pdf-page-g1icnvlW.js → pdf-page-bDjssyjX.js} +1 -1
  108. package/dist/{pdf-page-list-BW9tw41T.js → pdf-page-list-DPGxoujP.js} +16 -16
  109. package/dist/{pdf-reader-C_dSoAH6.js → pdf-reader-B4Qeofx-.js} +13 -13
  110. package/dist/{pdf-sidebar-DW_or7mU.js → pdf-sidebar-C36bGZ5M.js} +4 -4
  111. package/dist/{pdf-thumbnail-sidebar-xrrwRQIL.js → pdf-thumbnail-sidebar-B5M7JduL.js} +17 -17
  112. package/dist/{pdf-toolbar-BcKsxHJ2.js → pdf-toolbar-BKeM1-o9.js} +21 -21
  113. package/dist/{stx-player-lvdY9PTs.js → stx-player-W-82wI6s.js} +7 -7
  114. package/lib/nuxt/component-names.ts +45 -0
  115. package/package.json +1 -1
@@ -19,11 +19,11 @@ declare const __VLS_base: import('vue').DefineComponent<EventCalendarProps, {},
19
19
  onSlotClick?: ((slot: EventCalendarSlot) => any) | undefined;
20
20
  }>, {
21
21
  disabled: boolean;
22
+ searchable: boolean;
22
23
  startHour: number;
23
24
  endHour: number;
24
25
  hourHeight: number;
25
26
  slotDurationMinutes: number;
26
- searchable: boolean;
27
27
  defaultView: EventCalendarView;
28
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
29
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -17,6 +17,8 @@ export type { EmptyStateProps, EmptyStateVariant } from './empty-state.vue';
17
17
  export { default as EmptyState } from './empty-state.vue';
18
18
  export type { ProgressFieldProps } from './progress-field.vue';
19
19
  export { default as ProgressField } from './progress-field.vue';
20
+ export type { ScrollProgressProps } from './scroll-progress.vue';
21
+ export { default as ScrollProgress } from './scroll-progress.vue';
20
22
  export { type SpinnerVariants, spinnerVariants } from './spinner.variants';
21
23
  export type { SpinnerProps } from './spinner.vue';
22
24
  export { default as Spinner } from './spinner.vue';
@@ -0,0 +1,10 @@
1
+ export type ScrollProgressProps = {
2
+ /** Scrollable element. Defaults to the window. */
3
+ target?: HTMLElement | null;
4
+ class?: string;
5
+ 'aria-label'?: string;
6
+ 'data-slot'?: string;
7
+ };
8
+ declare const __VLS_export: import('vue').DefineComponent<ScrollProgressProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ScrollProgressProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export type FigureProps = {
3
+ caption?: string;
4
+ class?: HTMLAttributes['class'];
5
+ };
6
+ declare var __VLS_1: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_1) => any;
9
+ };
10
+ declare const __VLS_base: import('vue').DefineComponent<FigureProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FigureProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,2 @@
1
+ export type { FigureProps } from './figure.vue';
2
+ export { default as Figure } from './figure.vue';
@@ -0,0 +1,22 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export type HeroProps = {
3
+ eyebrow?: string;
4
+ title: string;
5
+ description?: string;
6
+ class?: HTMLAttributes['class'];
7
+ };
8
+ declare var __VLS_1: {}, __VLS_3: {};
9
+ type __VLS_Slots = {} & {
10
+ actions?: (props: typeof __VLS_1) => any;
11
+ } & {
12
+ default?: (props: typeof __VLS_3) => any;
13
+ };
14
+ declare const __VLS_base: import('vue').DefineComponent<HeroProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<HeroProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,2 @@
1
+ export type { HeroProps } from './hero.vue';
2
+ export { default as Hero } from './hero.vue';
@@ -0,0 +1,10 @@
1
+ export type HighlightTextProps = {
2
+ text: string;
3
+ query?: string;
4
+ class?: string;
5
+ };
6
+ declare const __VLS_export: import('vue').DefineComponent<HighlightTextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<HighlightTextProps> & Readonly<{}>, {
7
+ query: string;
8
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export type { HighlightTextProps } from './highlight-text.vue';
2
+ export { default as HighlightText } from './highlight-text.vue';
@@ -3,6 +3,7 @@ export type ListTileProps = {
3
3
  title: string;
4
4
  subtitle?: string;
5
5
  selected?: boolean;
6
+ size?: 'sm' | 'md';
6
7
  href?: string;
7
8
  disabled?: boolean;
8
9
  class?: HTMLAttributes['class'];
@@ -22,6 +23,7 @@ declare const __VLS_base: import('vue').DefineComponent<ListTileProps, {}, {}, {
22
23
  }, string, import('vue').PublicProps, Readonly<ListTileProps> & Readonly<{
23
24
  onClick?: ((event: MouseEvent) => any) | undefined;
24
25
  }>, {
26
+ size: "sm" | "md";
25
27
  selected: boolean;
26
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
29
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -0,0 +1,14 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export type BreakdownItem = {
3
+ label: string;
4
+ value?: string;
5
+ percent: number;
6
+ };
7
+ export type BreakdownCardProps = {
8
+ label: string;
9
+ items: BreakdownItem[];
10
+ class?: HTMLAttributes['class'];
11
+ };
12
+ declare const __VLS_export: import('vue').DefineComponent<BreakdownCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BreakdownCardProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export type GoalCardProps = {
3
+ label: string;
4
+ value: number;
5
+ target: number;
6
+ unit?: string;
7
+ class?: HTMLAttributes['class'];
8
+ };
9
+ declare const __VLS_export: import('vue').DefineComponent<GoalCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<GoalCardProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -0,0 +1,10 @@
1
+ export type { BreakdownCardProps, BreakdownItem } from './breakdown-card.vue';
2
+ export { default as BreakdownCard } from './breakdown-card.vue';
3
+ export type { GoalCardProps } from './goal-card.vue';
4
+ export { default as GoalCard } from './goal-card.vue';
5
+ export type { RankCardProps, RankItem } from './rank-card.vue';
6
+ export { default as RankCard } from './rank-card.vue';
7
+ export type { SparklineProps } from './sparkline.vue';
8
+ export { default as Sparkline } from './sparkline.vue';
9
+ export type { TrendCardProps } from './trend-card.vue';
10
+ export { default as TrendCard } from './trend-card.vue';
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export type RankItem = {
3
+ title: string;
4
+ subtitle?: string;
5
+ trailing?: string;
6
+ rank?: number;
7
+ };
8
+ export type RankCardProps = {
9
+ label: string;
10
+ items: RankItem[];
11
+ class?: HTMLAttributes['class'];
12
+ };
13
+ declare const __VLS_export: import('vue').DefineComponent<RankCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<RankCardProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
@@ -0,0 +1,7 @@
1
+ export type SparklineProps = {
2
+ series: number[];
3
+ class?: string;
4
+ };
5
+ declare const __VLS_export: import('vue').DefineComponent<SparklineProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SparklineProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -0,0 +1,13 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { StatDeltaTone } from '../stat-card/format-stat-delta';
3
+ export type TrendCardProps = {
4
+ label: string;
5
+ value: string;
6
+ delta?: number;
7
+ deltaTone?: StatDeltaTone;
8
+ series?: number[];
9
+ class?: HTMLAttributes['class'];
10
+ };
11
+ declare const __VLS_export: import('vue').DefineComponent<TrendCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TrendCardProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export type { PagerItem, PagerProps } from './pager.vue';
2
+ export { default as Pager } from './pager.vue';
@@ -0,0 +1,21 @@
1
+ import { Component, HTMLAttributes } from 'vue';
2
+ export type PagerItem = {
3
+ title: string;
4
+ href: string;
5
+ description?: string;
6
+ };
7
+ export type PagerProps = {
8
+ previous?: PagerItem;
9
+ next?: PagerItem;
10
+ previousLabel?: string;
11
+ nextLabel?: string;
12
+ shortcuts?: boolean;
13
+ linkComponent?: Component;
14
+ class?: HTMLAttributes['class'];
15
+ 'data-slot'?: string;
16
+ };
17
+ declare const __VLS_export: import('vue').DefineComponent<PagerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PagerProps> & Readonly<{}>, {
18
+ shortcuts: boolean;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export type { ParamTableProps, ParamTableRow } from './param-table.vue';
2
+ export { default as ParamTable } from './param-table.vue';
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export type ParamTableRow = {
3
+ name: string;
4
+ type?: string;
5
+ defaultValue?: string;
6
+ required?: boolean;
7
+ description?: string;
8
+ };
9
+ export type ParamTableProps = {
10
+ params: ParamTableRow[];
11
+ class?: HTMLAttributes['class'];
12
+ };
13
+ declare const __VLS_export: import('vue').DefineComponent<ParamTableProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ParamTableProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export type { SeeAlsoItem, SeeAlsoProps } from './see-also.vue';
2
+ export { default as SeeAlso } from './see-also.vue';
@@ -0,0 +1,16 @@
1
+ import { Component, HTMLAttributes } from 'vue';
2
+ export type SeeAlsoItem = {
3
+ id?: string;
4
+ title: string;
5
+ href: string;
6
+ };
7
+ export type SeeAlsoProps = {
8
+ items: SeeAlsoItem[];
9
+ label?: string;
10
+ linkComponent?: Component;
11
+ class?: HTMLAttributes['class'];
12
+ 'data-slot'?: string;
13
+ };
14
+ declare const __VLS_export: import('vue').DefineComponent<SeeAlsoProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SeeAlsoProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export type { SkipLinkProps } from './skip-link.vue';
2
+ export { default as SkipLink } from './skip-link.vue';
@@ -0,0 +1,20 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export type SkipLinkProps = {
3
+ href?: string;
4
+ class?: HTMLAttributes['class'];
5
+ };
6
+ declare var __VLS_1: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_1) => any;
9
+ };
10
+ declare const __VLS_base: import('vue').DefineComponent<SkipLinkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SkipLinkProps> & Readonly<{}>, {
11
+ href: string;
12
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,4 @@
1
+ export type { StepsProps } from './steps.vue';
2
+ export { default as Steps } from './steps.vue';
3
+ export type { StepsItemProps } from './steps-item.vue';
4
+ export { default as StepsItem } from './steps-item.vue';
@@ -0,0 +1,21 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export type StepsItemProps = {
3
+ title?: string;
4
+ index?: number;
5
+ class?: HTMLAttributes['class'];
6
+ };
7
+ declare var __VLS_1: {}, __VLS_3: {};
8
+ type __VLS_Slots = {} & {
9
+ index?: (props: typeof __VLS_1) => any;
10
+ } & {
11
+ default?: (props: typeof __VLS_3) => any;
12
+ };
13
+ declare const __VLS_base: import('vue').DefineComponent<StepsItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StepsItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,17 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export type StepsProps = {
3
+ class?: HTMLAttributes['class'];
4
+ };
5
+ declare var __VLS_1: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_1) => any;
8
+ };
9
+ declare const __VLS_base: import('vue').DefineComponent<StepsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StepsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -3,8 +3,8 @@ export declare const StxPlayer: import('vue').Component<import('vue').CreateComp
3
3
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
4
4
  trackChange: (index: number, track: import('./types').StxTrack) => any;
5
5
  }, import('vue').PublicProps, {
6
- layout: import('./types').StxPlayerLayout;
7
6
  loop: boolean;
7
+ layout: import('./types').StxPlayerLayout;
8
8
  defaultIndex: number;
9
9
  autoPlay: boolean;
10
10
  showQueue: boolean;
@@ -18,8 +18,8 @@ export declare const StxPlayer: import('vue').Component<import('vue').CreateComp
18
18
  }, Readonly<import('./types').StxPlayerProps> & Readonly<{
19
19
  onTrackChange?: ((index: number, track: import('./types').StxTrack) => any) | undefined;
20
20
  }>, {}, {}, {}, {}, {
21
- layout: import('./types').StxPlayerLayout;
22
21
  loop: boolean;
22
+ layout: import('./types').StxPlayerLayout;
23
23
  defaultIndex: number;
24
24
  autoPlay: boolean;
25
25
  showQueue: boolean;
@@ -4,8 +4,8 @@ declare const __VLS_export: import('vue').DefineComponent<StxPlayerProps, {}, {}
4
4
  }, string, import('vue').PublicProps, Readonly<StxPlayerProps> & Readonly<{
5
5
  onTrackChange?: ((index: number, track: StxTrack) => any) | undefined;
6
6
  }>, {
7
- layout: import('./types').StxPlayerLayout;
8
7
  loop: boolean;
8
+ layout: import('./types').StxPlayerLayout;
9
9
  defaultIndex: number;
10
10
  autoPlay: boolean;
11
11
  showQueue: boolean;
@@ -0,0 +1,2 @@
1
+ export type { TocItem, TocProps } from './toc.vue';
2
+ export { default as Toc } from './toc.vue';
@@ -0,0 +1,24 @@
1
+ import { Component, HTMLAttributes } from 'vue';
2
+ export type TocItem = {
3
+ id: string;
4
+ title: string;
5
+ level?: 2 | 3 | 4;
6
+ };
7
+ export type TocProps = {
8
+ items: TocItem[];
9
+ activeId?: string;
10
+ placement?: 'rail' | 'panel';
11
+ label?: string;
12
+ linkComponent?: Component;
13
+ class?: HTMLAttributes['class'];
14
+ 'data-slot'?: string;
15
+ };
16
+ declare const __VLS_export: import('vue').DefineComponent<TocProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ select: (id: string) => any;
18
+ }, string, import('vue').PublicProps, Readonly<TocProps> & Readonly<{
19
+ onSelect?: ((id: string) => any) | undefined;
20
+ }>, {
21
+ placement: "rail" | "panel";
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: typeof __VLS_export;
24
+ export default _default;
@@ -1,5 +1,6 @@
1
1
  export * from './resolve-theme';
2
2
  export * from './use-allowed-transitions';
3
+ export * from './use-heading-spy';
3
4
  export * from './use-is-client';
4
5
  export * from './use-localized-date';
5
6
  export * from './use-mobile';
@@ -0,0 +1,7 @@
1
+ import { MaybeRefOrGetter } from 'vue';
2
+ export type UseHeadingSpyOptions = {
3
+ rootMargin?: string;
4
+ threshold?: number | number[];
5
+ };
6
+ /** Watches heading elements by id and reports the topmost intersecting one. */
7
+ export declare function useHeadingSpy(ids: MaybeRefOrGetter<readonly string[]>, onActive: (id: string) => void, options?: UseHeadingSpyOptions): void;
@@ -31,6 +31,22 @@ export declare const en: {
31
31
  title: string;
32
32
  description: string;
33
33
  };
34
+ "scroll-progress": string;
35
+ "skip-link": string;
36
+ "see-also": string;
37
+ cards: {
38
+ "per-month": string;
39
+ };
40
+ metrics: {
41
+ "of-target": string;
42
+ };
43
+ pager: {
44
+ previous: string;
45
+ next: string;
46
+ };
47
+ toc: {
48
+ "on-this-page": string;
49
+ };
34
50
  upload: {
35
51
  dropzone: {
36
52
  idle: string;
@@ -890,5 +906,38 @@ export declare const en: {
890
906
  subtitle: string;
891
907
  "wip-full": string;
892
908
  };
909
+ doc: {
910
+ search: string;
911
+ "search-placeholder": string;
912
+ filter: string;
913
+ "filter-empty": string;
914
+ "no-results": string;
915
+ "search-navigate": string;
916
+ "search-select": string;
917
+ "search-close": string;
918
+ "skip-to-content": string;
919
+ "reading-progress": string;
920
+ "on-this-page": string;
921
+ menu: string;
922
+ "menu-description": string;
923
+ previous: string;
924
+ next: string;
925
+ "see-also": string;
926
+ "copy-link": string;
927
+ "copied-link": string;
928
+ "copy-page": string;
929
+ "copy-markdown": string;
930
+ edit: string;
931
+ "last-updated": string;
932
+ collapse: string;
933
+ expand: string;
934
+ };
935
+ "param-table": {
936
+ name: string;
937
+ type: string;
938
+ default: string;
939
+ description: string;
940
+ required: string;
941
+ };
893
942
  };
894
943
  };
@@ -21,6 +21,22 @@ declare const _default: {
21
21
  "title": "Command Palette",
22
22
  "description": "Search for a command to run..."
23
23
  },
24
+ "scroll-progress": "Scroll progress",
25
+ "skip-link": "Skip to content",
26
+ "see-also": "See also",
27
+ "cards": {
28
+ "per-month": "/ month"
29
+ },
30
+ "metrics": {
31
+ "of-target": "of {target}"
32
+ },
33
+ "pager": {
34
+ "previous": "Previous",
35
+ "next": "Next"
36
+ },
37
+ "toc": {
38
+ "on-this-page": "On this page"
39
+ },
24
40
  "upload": {
25
41
  "dropzone": {
26
42
  "idle": "Drag & drop files here, or click to browse",
@@ -879,6 +895,39 @@ declare const _default: {
879
895
  "card-title": "Card title",
880
896
  "subtitle": "Add subtitle",
881
897
  "wip-full": "Column is at WIP limit"
898
+ },
899
+ "doc": {
900
+ "search": "Search docs",
901
+ "search-placeholder": "Search the documentation…",
902
+ "filter": "Filter pages",
903
+ "filter-empty": "Try a different filter.",
904
+ "no-results": "No results",
905
+ "search-navigate": "to navigate",
906
+ "search-select": "to select",
907
+ "search-close": "to close",
908
+ "skip-to-content": "Skip to content",
909
+ "reading-progress": "Reading progress",
910
+ "on-this-page": "On this page",
911
+ "menu": "Menu",
912
+ "menu-description": "Documentation navigation",
913
+ "previous": "Previous",
914
+ "next": "Next",
915
+ "see-also": "See also",
916
+ "copy-link": "Copy link",
917
+ "copied-link": "Copied",
918
+ "copy-page": "Copy page",
919
+ "copy-markdown": "Copy markdown",
920
+ "edit": "Edit this page",
921
+ "last-updated": "Updated",
922
+ "collapse": "Collapse",
923
+ "expand": "Expand"
924
+ },
925
+ "param-table": {
926
+ "name": "Name",
927
+ "type": "Type",
928
+ "default": "Default",
929
+ "description": "Description",
930
+ "required": "required"
882
931
  }
883
932
  }
884
933
  ;
@@ -31,6 +31,22 @@ export declare const fr: {
31
31
  title: string;
32
32
  description: string;
33
33
  };
34
+ "scroll-progress": string;
35
+ "skip-link": string;
36
+ "see-also": string;
37
+ cards: {
38
+ "per-month": string;
39
+ };
40
+ metrics: {
41
+ "of-target": string;
42
+ };
43
+ pager: {
44
+ previous: string;
45
+ next: string;
46
+ };
47
+ toc: {
48
+ "on-this-page": string;
49
+ };
34
50
  upload: {
35
51
  dropzone: {
36
52
  idle: string;
@@ -890,5 +906,38 @@ export declare const fr: {
890
906
  subtitle: string;
891
907
  "wip-full": string;
892
908
  };
909
+ doc: {
910
+ search: string;
911
+ "search-placeholder": string;
912
+ filter: string;
913
+ "filter-empty": string;
914
+ "no-results": string;
915
+ "search-navigate": string;
916
+ "search-select": string;
917
+ "search-close": string;
918
+ "skip-to-content": string;
919
+ "reading-progress": string;
920
+ "on-this-page": string;
921
+ menu: string;
922
+ "menu-description": string;
923
+ previous: string;
924
+ next: string;
925
+ "see-also": string;
926
+ "copy-link": string;
927
+ "copied-link": string;
928
+ "copy-page": string;
929
+ "copy-markdown": string;
930
+ edit: string;
931
+ "last-updated": string;
932
+ collapse: string;
933
+ expand: string;
934
+ };
935
+ "param-table": {
936
+ name: string;
937
+ type: string;
938
+ default: string;
939
+ description: string;
940
+ required: string;
941
+ };
893
942
  };
894
943
  };