@cnamts/synapse 0.0.0-alpha.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.
- package/LICENSE +21 -0
- package/README.md +2 -0
- package/dist/design-system-v3.d.ts +246 -0
- package/dist/design-system-v3.js +5425 -0
- package/dist/design-system-v3.umd.cjs +2 -0
- package/dist/style.css +1 -0
- package/package.json +104 -0
- package/src/assets/tokens.scss +500 -0
- package/src/components/Alert/Alert.mdx +36 -0
- package/src/components/Alert/Alert.stories.ts +115 -0
- package/src/components/Alert/Alert.vue +248 -0
- package/src/components/Alert/locales.ts +3 -0
- package/src/components/Alert/tests/Alert.spec.ts +105 -0
- package/src/components/Alert/tests/__snapshots__/Alert.spec.ts.snap +15 -0
- package/src/components/BackBtn/BackBtn.mdx +26 -0
- package/src/components/BackBtn/BackBtn.stories.ts +138 -0
- package/src/components/BackBtn/BackBtn.vue +60 -0
- package/src/components/BackBtn/locales.ts +3 -0
- package/src/components/BackBtn/tests/BackBtn.spec.ts +103 -0
- package/src/components/BackBtn/tests/__snapshots__/BackBtn.spec.ts.snap +9 -0
- package/src/components/BackToTopBtn/BackToTopBtn.mdx +52 -0
- package/src/components/BackToTopBtn/BackToTopBtn.stories.ts +188 -0
- package/src/components/BackToTopBtn/BackToTopBtn.vue +137 -0
- package/src/components/BackToTopBtn/config.ts +12 -0
- package/src/components/BackToTopBtn/locales.ts +3 -0
- package/src/components/BackToTopBtn/tests/BackToTopBtn.spec.ts +173 -0
- package/src/components/BackToTopBtn/tests/__snapshots__/BackToTopBtn.spec.ts.snap +17 -0
- package/src/components/Beta/beta.mdx +5 -0
- package/src/components/CopyBtn/CopyBtn.mdx +38 -0
- package/src/components/CopyBtn/CopyBtn.stories.ts +209 -0
- package/src/components/CopyBtn/CopyBtn.vue +103 -0
- package/src/components/CopyBtn/config.ts +17 -0
- package/src/components/CopyBtn/locales.ts +3 -0
- package/src/components/CopyBtn/tests/CopyBtn.spec.ts +99 -0
- package/src/components/CopyBtn/tests/__snapshots__/CopyBtn.spec.ts.snap +7 -0
- package/src/components/Deprecated/deprecated.mdx +5 -0
- package/src/components/DownloadBtn/DownloadBtn.mdx +94 -0
- package/src/components/DownloadBtn/DownloadBtn.stories.ts +211 -0
- package/src/components/DownloadBtn/DownloadBtn.vue +113 -0
- package/src/components/DownloadBtn/config.ts +13 -0
- package/src/components/DownloadBtn/tests/DownloadBtn.spec.ts +82 -0
- package/src/components/DownloadBtn/tests/__snapshots__/DownloadBtn.spec.ts.snap +17 -0
- package/src/components/DownloadBtn/tests/data/filePromise.ts +53 -0
- package/src/components/DownloadBtn/tests/data/test.json +0 -0
- package/src/components/FranceConnectBtn/FranceConnectBtn.mdx +34 -0
- package/src/components/FranceConnectBtn/FranceConnectBtn.stories.ts +92 -0
- package/src/components/FranceConnectBtn/FranceConnectBtn.vue +154 -0
- package/src/components/FranceConnectBtn/locales.ts +6 -0
- package/src/components/FranceConnectBtn/tests/FranceConnectBtn.spec.ts +62 -0
- package/src/components/FranceConnectBtn/tests/__snapshots__/FranceConnectBtn.spec.ts.snap +36 -0
- package/src/components/LangBtn/LangBtn.mdx +37 -0
- package/src/components/LangBtn/LangBtn.stories.ts +147 -0
- package/src/components/LangBtn/LangBtn.vue +167 -0
- package/src/components/LangBtn/config.ts +17 -0
- package/src/components/LangBtn/locales.ts +3 -0
- package/src/components/LangBtn/tests/Config.spec.ts +24 -0
- package/src/components/LangBtn/tests/LangBtn.spec.ts +283 -0
- package/src/components/LangBtn/tests/__snapshots__/LangBtn.spec.ts.snap +11 -0
- package/src/components/LangBtn/types.d.ts +7 -0
- package/src/components/NotificationBar/NotificationBar.mdx +94 -0
- package/src/components/NotificationBar/NotificationBar.stories.ts +366 -0
- package/src/components/NotificationBar/NotificationBar.vue +296 -0
- package/src/components/NotificationBar/options.ts +15 -0
- package/src/components/NotificationBar/tests/NotificationBar.spec.ts +332 -0
- package/src/components/NotificationBar/tests/__snapshots__/NotificationBar.spec.ts.snap +7 -0
- package/src/components/NotificationBar/types.ts +7 -0
- package/src/components/PageContainer/PageContainer.mdx +29 -0
- package/src/components/PageContainer/PageContainer.stories.ts +115 -0
- package/src/components/PageContainer/PageContainer.vue +68 -0
- package/src/components/PageContainer/tests/PageContainer.spec.ts +56 -0
- package/src/components/PageContainer/tests/__snapshots__/PageContainer.spec.ts.snap +7 -0
- package/src/components/SkipLink/SkipLink.mdx +55 -0
- package/src/components/SkipLink/SkipLink.stories.ts +70 -0
- package/src/components/SkipLink/SkipLink.vue +79 -0
- package/src/components/SkipLink/locales.ts +3 -0
- package/src/components/SkipLink/tests/__snapshots__/skipLink.spec.ts.snap +3 -0
- package/src/components/SkipLink/tests/skipLink.spec.ts +46 -0
- package/src/components/index.ts +8 -0
- package/src/composables/useCustomizableOptions.ts +23 -0
- package/src/designTokens/bootstrapColors.md +66 -0
- package/src/designTokens/cnamColors.md +193 -0
- package/src/designTokens/index.ts +15 -0
- package/src/designTokens/tokens/bootstrap/bootstrapColors.ts +158 -0
- package/src/designTokens/tokens/bootstrap/bootstrapLightTheme.ts +22 -0
- package/src/designTokens/tokens/cnam/cnamColors.ts +171 -0
- package/src/designTokens/tokens/cnam/cnamContextual.ts +58 -0
- package/src/designTokens/tokens/cnam/cnamLightTheme.ts +90 -0
- package/src/designTokens/tokens/cnam/cnamSemantic.ts +87 -0
- package/src/designTokens/tokens/json/contextual-tokens.json +156 -0
- package/src/designTokens/tokens/json/primitives.json +209 -0
- package/src/designTokens/tokens/json/semantic.json +120 -0
- package/src/designTokens/utils/convertGaps.ts +11 -0
- package/src/designTokens/utils/convertSemanticsToken.ts +32 -0
- package/src/designTokens/utils/createFlattenTheme.ts +19 -0
- package/src/designTokens/utils/index.ts +4 -0
- package/src/main.ts +2 -0
- package/src/services/NotificationService.ts +27 -0
- package/src/stories/Fondamentaux/Accessibilite/Accessibilite.mdx +52 -0
- package/src/stories/Fondamentaux/Accessibilite/Accessibilite.stories.ts +36 -0
- package/src/stories/Fondamentaux/Accessibilite/AccessibiliteItems.ts +706 -0
- package/src/stories/Fondamentaux/Accessibilite/constants/ExpertiseLevelEnum.ts +5 -0
- package/src/stories/Fondamentaux/Accessibilite/constants/RGAALevelEnum.ts +4 -0
- package/src/stories/Fondamentaux/EcoConception/EcoConception.mdx +24 -0
- package/src/stories/Fondamentaux/EcoConception/Econception.stories.ts +30 -0
- package/src/stories/Fondamentaux/EcoConception/ecoDesignItems.ts +55 -0
- package/src/stories/GuideDuDev/CommentContribuer.mdx +22 -0
- package/src/stories/GuideDuDev/components.stories.ts +23 -0
- package/src/stories/GuideDuDev/moduleDeNotification.mdx +182 -0
- package/src/stories/GuideDuDev/vuetifyOptions.mdx +72 -0
- package/src/stories/Guidelines/Colors.mdx +220 -0
- package/src/stories/Guidelines/CustomisationEtThemes.mdx +3 -0
- package/src/stories/Guidelines/Introduction.mdx +35 -0
- package/src/stories/Guidelines/Typo.mdx +53 -0
- package/src/stories/Home/Accueil.mdx +7 -0
- package/src/stories/Home/PolitiqueDeConfidentialite.mdx +4 -0
- package/src/stories/Home/synapse.webp +0 -0
- package/src/temp/TestA11y.vue +14 -0
- package/src/temp/TestComponent.vue +37 -0
- package/src/temp/TestDTComponent.vue +93 -0
- package/src/temp/customizableOptions.vue +18 -0
- package/src/temp/gridsTests.vue +54 -0
- package/src/temp/options.json +5 -0
- package/src/types/vuetifyTypes.ts +3 -0
- package/src/utils/convertToUnit/index.ts +16 -0
- package/src/utils/convertToUnit/test/convertToUnit.spec.ts +32 -0
- package/src/utils/functions/copyToClipboard/index.ts +38 -0
- package/src/utils/functions/copyToClipboard/tests/copyToClipboard.spec.ts +104 -0
- package/src/utils/functions/downloadFile/index.ts +37 -0
- package/src/utils/functions/downloadFile/tests/downloadFile.spec.ts +69 -0
- package/src/utils/functions/downloadFile/types.ts +1 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Le Digital de l'Assurance Maladie
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
2
|
+
import { ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { ComputedRef } from 'vue';
|
|
4
|
+
import { DefineComponent } from 'vue';
|
|
5
|
+
import { PublicProps } from 'vue';
|
|
6
|
+
import { Ref } from 'vue';
|
|
7
|
+
|
|
8
|
+
declare type __VLS_PublicProps = {
|
|
9
|
+
modelValue?: boolean;
|
|
10
|
+
} & typeof __VLS_typeProps;
|
|
11
|
+
|
|
12
|
+
declare let __VLS_typeProps: {
|
|
13
|
+
type?: 'success' | 'info' | 'warning' | 'error';
|
|
14
|
+
closable?: boolean;
|
|
15
|
+
variant?: 'tonal' | 'outlined';
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export declare const Alert: __VLS_WithTemplateSlots_2<DefineComponent<__VLS_PublicProps, {
|
|
55
|
+
prependIcon: ComputedRef<string>;
|
|
56
|
+
dismissAlert: typeof dismissAlert;
|
|
57
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
58
|
+
"update:modelValue": (modelValue: boolean) => any;
|
|
59
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
60
|
+
"onUpdate:modelValue"?: ((modelValue: boolean) => any) | undefined;
|
|
61
|
+
}>, {
|
|
62
|
+
type: "error" | "success" | "info" | "warning";
|
|
63
|
+
closable: boolean;
|
|
64
|
+
variant: "tonal" | "outlined";
|
|
65
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
66
|
+
icon?(_: {}): any;
|
|
67
|
+
default?(_: {}): any;
|
|
68
|
+
}>;
|
|
69
|
+
|
|
70
|
+
export declare const BackToTopBtn: __VLS_WithTemplateSlots_5<DefineComponent<Props & CustomizableOptions, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props & CustomizableOptions> & Readonly<{}>, {
|
|
71
|
+
target: string;
|
|
72
|
+
threshold: number;
|
|
73
|
+
nudgeRight: string | number;
|
|
74
|
+
nudgeBottom: string | number;
|
|
75
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
76
|
+
default?(_: {}): any;
|
|
77
|
+
icon?(_: {}): any;
|
|
78
|
+
}>;
|
|
79
|
+
|
|
80
|
+
declare type ComponentsProps = Record<string, PropsList>;
|
|
81
|
+
|
|
82
|
+
declare function copy(): void;
|
|
83
|
+
|
|
84
|
+
export declare const CopyBtn: __VLS_WithTemplateSlots_3<DefineComponent<CustomizableOptions & {
|
|
85
|
+
ariaLabel?: string | undefined;
|
|
86
|
+
ariaOwns?: string | undefined;
|
|
87
|
+
textToCopy: string | (() => string);
|
|
88
|
+
hideTooltip?: boolean | undefined;
|
|
89
|
+
tooltipDuration?: number | undefined;
|
|
90
|
+
}, {
|
|
91
|
+
copy: typeof copy;
|
|
92
|
+
tooltip: Ref<boolean, boolean>;
|
|
93
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CustomizableOptions & {
|
|
94
|
+
ariaLabel?: string | undefined;
|
|
95
|
+
ariaOwns?: string | undefined;
|
|
96
|
+
textToCopy: string | (() => string);
|
|
97
|
+
hideTooltip?: boolean | undefined;
|
|
98
|
+
tooltipDuration?: number | undefined;
|
|
99
|
+
}> & Readonly<{}>, {
|
|
100
|
+
ariaLabel: string;
|
|
101
|
+
ariaOwns: string;
|
|
102
|
+
textToCopy: string | (() => string);
|
|
103
|
+
hideTooltip: boolean;
|
|
104
|
+
tooltipDuration: number;
|
|
105
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
106
|
+
icon?(_: {}): any;
|
|
107
|
+
tooltip?(_: {}): any;
|
|
108
|
+
}>;
|
|
109
|
+
|
|
110
|
+
declare interface CustomizableOptions {
|
|
111
|
+
vuetifyOptions?: ComponentsProps;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
declare function dismissAlert(): void;
|
|
115
|
+
|
|
116
|
+
export declare const FranceConnectBtn: DefineComponent< {
|
|
117
|
+
href: string;
|
|
118
|
+
isConnectPlus?: boolean | undefined;
|
|
119
|
+
dark?: boolean | undefined;
|
|
120
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
121
|
+
href: string;
|
|
122
|
+
isConnectPlus?: boolean | undefined;
|
|
123
|
+
dark?: boolean | undefined;
|
|
124
|
+
}> & Readonly<{}>, {
|
|
125
|
+
isConnectPlus: boolean;
|
|
126
|
+
dark: boolean;
|
|
127
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
128
|
+
|
|
129
|
+
export declare const LangBtn: DefineComponent<CustomizableOptions & {
|
|
130
|
+
modelValue?: string | undefined;
|
|
131
|
+
hideDownArrow?: boolean | undefined;
|
|
132
|
+
ariaLabel?: string | undefined;
|
|
133
|
+
ariaOwns?: string | undefined;
|
|
134
|
+
availableLanguages?: string[] | "*" | undefined;
|
|
135
|
+
}, {
|
|
136
|
+
currentLangData: ComputedRef< {
|
|
137
|
+
name: string;
|
|
138
|
+
label: string;
|
|
139
|
+
}>;
|
|
140
|
+
updateLang: typeof updateLang;
|
|
141
|
+
selectedLanguage: Ref<string, string>;
|
|
142
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
143
|
+
change: (...args: any[]) => void;
|
|
144
|
+
"update:modelValue": (...args: any[]) => void;
|
|
145
|
+
}, string, PublicProps, Readonly<CustomizableOptions & {
|
|
146
|
+
modelValue?: string | undefined;
|
|
147
|
+
hideDownArrow?: boolean | undefined;
|
|
148
|
+
ariaLabel?: string | undefined;
|
|
149
|
+
ariaOwns?: string | undefined;
|
|
150
|
+
availableLanguages?: string[] | "*" | undefined;
|
|
151
|
+
}> & Readonly<{
|
|
152
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
153
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
154
|
+
}>, {
|
|
155
|
+
modelValue: string;
|
|
156
|
+
ariaLabel: string;
|
|
157
|
+
ariaOwns: string;
|
|
158
|
+
hideDownArrow: boolean;
|
|
159
|
+
availableLanguages: string[] | "*";
|
|
160
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
161
|
+
|
|
162
|
+
declare interface Notification_2 {
|
|
163
|
+
id: string;
|
|
164
|
+
message: string;
|
|
165
|
+
type: 'info' | 'success' | 'warning' | 'error';
|
|
166
|
+
timeout?: number;
|
|
167
|
+
icon?: string | null;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export declare const NotificationBar: __VLS_WithTemplateSlots_6<DefineComponent<CustomizableOptions & {
|
|
171
|
+
closeBtnText?: string | undefined;
|
|
172
|
+
rounded?: true | 0 | "xl" | "xs" | "sm" | "lg" | 1 | 2 | 3 | 4 | "circle" | "pill" | "shaped" | undefined;
|
|
173
|
+
bottom?: boolean | undefined;
|
|
174
|
+
}, {
|
|
175
|
+
openNotification: (notification: Notification_2) => void;
|
|
176
|
+
handleClearNotification: () => void;
|
|
177
|
+
showNextNotification: () => void;
|
|
178
|
+
processNotificationQueue: () => Promise<void>;
|
|
179
|
+
currentNotification: Ref<Notification_2 | undefined, Notification_2 | undefined>;
|
|
180
|
+
isNotificationVisible: Ref<boolean, boolean>;
|
|
181
|
+
hasActionSlot: ComputedRef<boolean>;
|
|
182
|
+
isMobileVersion: ComputedRef<boolean>;
|
|
183
|
+
hasLongContent: ComputedRef<boolean>;
|
|
184
|
+
color: ComputedRef<string>;
|
|
185
|
+
icon: ComputedRef<string | null>;
|
|
186
|
+
contentStyle: ComputedRef< {
|
|
187
|
+
contentColor: string;
|
|
188
|
+
}>;
|
|
189
|
+
smallCloseBtn: ComputedRef<boolean>;
|
|
190
|
+
isVertical: ComputedRef<boolean>;
|
|
191
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CustomizableOptions & {
|
|
192
|
+
closeBtnText?: string | undefined;
|
|
193
|
+
rounded?: true | 0 | "xl" | "xs" | "sm" | "lg" | 1 | 2 | 3 | 4 | "circle" | "pill" | "shaped" | undefined;
|
|
194
|
+
bottom?: boolean | undefined;
|
|
195
|
+
}> & Readonly<{}>, {
|
|
196
|
+
rounded: true | 0 | "xl" | "xs" | "sm" | "lg" | 1 | 2 | 3 | 4 | "circle" | "pill" | "shaped";
|
|
197
|
+
bottom: boolean;
|
|
198
|
+
closeBtnText: string;
|
|
199
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
200
|
+
action?(_: {}): any;
|
|
201
|
+
}>;
|
|
202
|
+
|
|
203
|
+
export declare const PageContainer: __VLS_WithTemplateSlots<DefineComponent< {
|
|
204
|
+
size?: "xl" | "l" | "m" | "s" | undefined;
|
|
205
|
+
spacing?: "xl" | "xs" | "sm" | "md" | "lg" | undefined;
|
|
206
|
+
color?: string | undefined;
|
|
207
|
+
}, {
|
|
208
|
+
spacingClass: ComputedRef<string>;
|
|
209
|
+
containerSize: ComputedRef<number>;
|
|
210
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
211
|
+
size?: "xl" | "l" | "m" | "s" | undefined;
|
|
212
|
+
spacing?: "xl" | "xs" | "sm" | "md" | "lg" | undefined;
|
|
213
|
+
color?: string | undefined;
|
|
214
|
+
}> & Readonly<{}>, {
|
|
215
|
+
size: "xl" | "l" | "m" | "s";
|
|
216
|
+
spacing: "xl" | "xs" | "sm" | "md" | "lg";
|
|
217
|
+
color: string;
|
|
218
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
219
|
+
default?(_: {}): any;
|
|
220
|
+
}>;
|
|
221
|
+
|
|
222
|
+
declare interface Props {
|
|
223
|
+
threshold?: number;
|
|
224
|
+
nudgeRight?: string | number;
|
|
225
|
+
nudgeBottom?: string | number;
|
|
226
|
+
target?: string;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
declare type PropsList = Record<string, unknown>;
|
|
230
|
+
|
|
231
|
+
export declare const SkipLink: __VLS_WithTemplateSlots_4<DefineComponent< {
|
|
232
|
+
label?: string | undefined;
|
|
233
|
+
target?: string | undefined;
|
|
234
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
235
|
+
label?: string | undefined;
|
|
236
|
+
target?: string | undefined;
|
|
237
|
+
}> & Readonly<{}>, {
|
|
238
|
+
label: string;
|
|
239
|
+
target: string;
|
|
240
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
241
|
+
default?(_: {}): any;
|
|
242
|
+
}>;
|
|
243
|
+
|
|
244
|
+
declare function updateLang(lang: string): void;
|
|
245
|
+
|
|
246
|
+
export { }
|