@datagouv/components-next 0.0.17 → 0.0.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datagouv/components-next",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./src/main.ts",
package/src/main.ts CHANGED
@@ -15,6 +15,7 @@ import type { Site } from './types/site'
15
15
  import type { Weight, WellType } from './types/ui'
16
16
  import type { User } from './types/users'
17
17
 
18
+ import AppLink from './components/AppLink.vue'
18
19
  import Avatar from './components/Avatar.vue'
19
20
  import AvatarWithName from './components/AvatarWithName.vue'
20
21
  import BannerAction from './components/BannerAction.vue'
@@ -106,18 +107,18 @@ export type {
106
107
  // Vue Plugin
107
108
  const datagouv: Plugin<PluginConfig> = {
108
109
  async install(app: App, options) {
110
+ app.provide(configKey, options)
109
111
  if (!options.textClamp) {
110
112
  const textClamp = await import('vue3-text-clamp')
111
113
  options.textClamp = textClamp.default
112
114
  }
113
-
114
- app.provide(configKey, options)
115
115
  },
116
116
  }
117
117
 
118
118
  export {
119
119
  datagouv,
120
120
  useComponentsConfig,
121
+ AppLink,
121
122
  Avatar,
122
123
  AvatarWithName,
123
124
  BannerAction,
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./main-DCjiKaCW.js";
2
- export {
3
- f as default
4
- };