@datagouv/components-next 0.0.31 → 0.0.32
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/README.md +31 -0
- package/dist/{JsonPreview.client-B5cv59th.js → JsonPreview.client-BRhCOHlE.js} +1 -1
- package/dist/{MapContainer.client-DXVDyZYz.js → MapContainer.client-Dhfz-YU8.js} +1 -1
- package/dist/{PdfPreview.client-XwjUHnmx.js → PdfPreview.client--W0FK7CN.js} +1 -1
- package/dist/{Pmtiles.client-DfnKDlpg.js → Pmtiles.client-B6vRTwrm.js} +1 -1
- package/dist/Swagger.client-ch5H8aT2.js +4 -0
- package/dist/{XmlPreview.client-BSjMew4d.js → XmlPreview.client-BcbnRWAp.js} +2 -2
- package/dist/components-next.css +1 -1
- package/dist/components-next.js +66 -53
- package/dist/components.css +1 -1
- package/dist/{main-Qu3kUOIH.js → main-yWiuApVL.js} +11634 -11556
- package/dist/{vue3-xml-viewer.common-NQY1dx9T.js → vue3-xml-viewer.common-1QyofKqS.js} +1 -1
- package/package.json +1 -1
- package/src/components/DatasetInformationPanel.vue +1 -1
- package/src/components/DatasetQuality.vue +1 -2
- package/src/components/DatasetQualityInline.vue +3 -1
- package/src/components/ExtraAccordion.vue +1 -4
- package/src/components/Placeholder.vue +9 -3
- package/src/components/ResourceAccordion/SchemaBadge.vue +3 -1
- package/src/components/Toggletip.vue +16 -20
- package/src/composables/useActiveDescendant.ts +1 -1
- package/src/functions/datasets.ts +1 -1
- package/src/functions/organizations.ts +1 -1
- package/src/main.ts +22 -6
- package/src/types/datasets.ts +1 -0
- package/dist/Swagger.client-BisHyZkP.js +0 -4
package/README.md
CHANGED
|
@@ -169,6 +169,37 @@ To do links in the application you can use the `<AppLink>` component. Not sure w
|
|
|
169
169
|
|
|
170
170
|
Maybe this component shouldn't be exposed too, because I don't know why a user should use this instead of their own component (`<RouterLink>` or `<CdataLink>`…)
|
|
171
171
|
|
|
172
|
+
## Release
|
|
173
|
+
|
|
174
|
+
This package is available as `@datagouv/components-next` on [npm](https://www.npmjs.com/package/@datagouv/components-next).
|
|
175
|
+
|
|
176
|
+
It follows the [semantic versioning specification](https://semver.org/).
|
|
177
|
+
|
|
178
|
+
To make a new release, you have to :
|
|
179
|
+
1. update the version
|
|
180
|
+
2. publish to npm
|
|
181
|
+
3. Commit and push the version change
|
|
182
|
+
|
|
183
|
+
### Update the version
|
|
184
|
+
|
|
185
|
+
Use the dedicated npm command, with the correct parameter :
|
|
186
|
+
|
|
187
|
+
```
|
|
188
|
+
npm version VERSION
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
Where VERSION is :
|
|
192
|
+
- `major` when you make incompatible API changes
|
|
193
|
+
- `minor` when you add functionality in a backward compatible manner
|
|
194
|
+
- `patch` version when you make backward compatible bug fixes
|
|
195
|
+
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
|
|
196
|
+
|
|
197
|
+
### Publish to NPM
|
|
198
|
+
|
|
199
|
+
```
|
|
200
|
+
npm run publish-stable
|
|
201
|
+
```
|
|
202
|
+
|
|
172
203
|
## 📄 License
|
|
173
204
|
|
|
174
205
|
This component library is licensed under the **MIT License**, which is the same as the main project. This allows for permissive usage of the components in other projects.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, defineAsyncComponent as C, ref as o, computed as x, onMounted as S, createElementBlock as p, openBlock as n, createBlock as f, createCommentVNode as N, createVNode as a, unref as u, toDisplayString as i, withCtx as d, createElementVNode as h } from "vue";
|
|
2
|
-
import { d as P, a as m, F as v } from "./main-
|
|
2
|
+
import { d as P, a as m, F as v } from "./main-yWiuApVL.js";
|
|
3
3
|
const T = { class: "fr-text--xs" }, $ = { key: 0 }, E = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "text-gray-medium"
|
|
@@ -7,7 +7,7 @@ var mt = (i, e, t) => si(i, typeof e != "symbol" ? e + "" : e, t), ai = (i, e, t
|
|
|
7
7
|
var Pt = (i, e, t) => e.has(i) ? Rt("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(i) : e.set(i, t);
|
|
8
8
|
var ft = (i, e, t) => (ai(i, e, "access private method"), t);
|
|
9
9
|
import { defineComponent, useTemplateRef, ref, onMounted, createBlock, createElementBlock, openBlock, withCtx, createVNode, createElementVNode, unref, toDisplayString } from "vue";
|
|
10
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs$1, u as useI18n, a as _sfc_main$1, F as Fe } from "./main-
|
|
10
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs$1, u as useI18n, a as _sfc_main$1, F as Fe } from "./main-yWiuApVL.js";
|
|
11
11
|
const ObjectEventType = {
|
|
12
12
|
/**
|
|
13
13
|
* Triggered when a property is changed.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as T, defineAsyncComponent as $, ref as l, computed as y, onMounted as B, createElementBlock as p, openBlock as t, createBlock as f, createCommentVNode as q, createVNode as a, unref as u, toDisplayString as c, withCtx as d, createElementVNode as g } from "vue";
|
|
2
|
-
import { d as L, a as h, F as m } from "./main-
|
|
2
|
+
import { d as L, a as h, F as m } from "./main-yWiuApVL.js";
|
|
3
3
|
const O = { class: "text-xs" }, S = { key: 0 }, N = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "text-gray-medium"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as Xm, ref as Ym, computed as Kc, useTemplateRef as Km, onMounted as Jm, createElementBlock as xh, openBlock as Jc, createBlock as Qm, withCtx as _d, createVNode as yd, createElementVNode as pa, unref as Ua, toDisplayString as Rl, createCommentVNode as eg, createTextVNode as tg } from "vue";
|
|
2
|
-
import { g as ig, u as rg, b as ng, d as ag, a as sg, F as og, f as lg, e as cg, K as ug, t as hg } from "./main-
|
|
2
|
+
import { g as ig, u as rg, b as ng, d as ag, a as sg, F as og, f as lg, e as cg, K as ug, t as hg } from "./main-yWiuApVL.js";
|
|
3
3
|
var nn = Uint8Array, To = Uint16Array, pg = Int32Array, Ad = new nn([
|
|
4
4
|
0,
|
|
5
5
|
0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as C, defineAsyncComponent as b, ref as a, computed as w, onMounted as L, createElementBlock as p, openBlock as r, createBlock as f, createCommentVNode as P, createVNode as o, unref as u, toDisplayString as i, withCtx as m, createElementVNode as h } from "vue";
|
|
2
|
-
import { d as T, a as d, F as v } from "./main-
|
|
2
|
+
import { d as T, a as d, F as v } from "./main-yWiuApVL.js";
|
|
3
3
|
const $ = { class: "fr-text--xs" }, E = { key: 0 }, M = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "text-gray-medium"
|
|
@@ -10,7 +10,7 @@ const $ = { class: "fr-text--xs" }, E = { key: 0 }, M = {
|
|
|
10
10
|
},
|
|
11
11
|
setup(k) {
|
|
12
12
|
const z = b(
|
|
13
|
-
() => import("./vue3-xml-viewer.common-
|
|
13
|
+
() => import("./vue3-xml-viewer.common-1QyofKqS.js").then((e) => e.v).then((e) => e.default || e.XmlViewer)
|
|
14
14
|
), n = k, g = T(), s = a(null), c = a(!1), l = a(null), y = a(!1), x = w(() => {
|
|
15
15
|
var t;
|
|
16
16
|
if (n.resource.filesize)
|