@riebeckite/plugin-lightbox 0.0.22 → 0.0.23

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 (2) hide show
  1. package/dist/index.js +12 -5
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -261,12 +261,19 @@ function lightboxPlugin(options = {}) {
261
261
  extendHtmlPipeline: (pipeline) => {
262
262
  pipeline.use(rehypeLightbox, options);
263
263
  },
264
- assets: [createStyleAsset("lightbox")],
264
+ assets: [
265
+ createStyleAsset("lightbox", "@riebeckite/plugin-lightbox/style.css")
266
+ ],
265
267
  clientEntries: [
266
- createClientEntry("lightbox", "initLightboxFromOptions", {
267
- expandLabel: options.expandLabel ?? DEFAULT_EXPAND_LABEL,
268
- closeLabel: options.closeLabel ?? DEFAULT_CLOSE_LABEL
269
- })
268
+ createClientEntry(
269
+ "lightbox",
270
+ "@riebeckite/plugin-lightbox/client",
271
+ "initLightboxFromOptions",
272
+ {
273
+ expandLabel: options.expandLabel ?? DEFAULT_EXPAND_LABEL,
274
+ closeLabel: options.closeLabel ?? DEFAULT_CLOSE_LABEL
275
+ }
276
+ )
270
277
  ]
271
278
  });
272
279
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-lightbox",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -21,7 +21,7 @@
21
21
  "./style.css": "./style.css"
22
22
  },
23
23
  "dependencies": {
24
- "@riebeckite/core": "0.0.22"
24
+ "@riebeckite/core": "0.0.23"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"