@nanoporetech-digital/components 8.5.7 → 8.6.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 (33) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/nano-card.cjs.entry.js +2 -0
  3. package/dist/cjs/nano-components.cjs.js +1 -1
  4. package/dist/collection/components/breadcrumb/breadcrumb.js +1 -1
  5. package/dist/collection/components/card/card.js +21 -0
  6. package/dist/components/nano-card.js +4 -1
  7. package/dist/esm/loader.js +1 -1
  8. package/dist/esm/nano-card.entry.js +2 -0
  9. package/dist/esm/nano-components.js +1 -1
  10. package/dist/nano-components/nano-card.entry.js +1 -1
  11. package/dist/nano-components/nano-components.css +3 -1
  12. package/dist/nano-components/nano-components.esm.js +1 -1
  13. package/dist/style/components.css +1 -1
  14. package/dist/style/components.css.map +1 -1
  15. package/dist/style/nano.css +1 -1
  16. package/dist/style/nano.css.map +1 -1
  17. package/dist/types/components/card/card.d.ts +2 -0
  18. package/dist/types/components.d.ts +8 -0
  19. package/docs-json.json +25 -2
  20. package/docs-vscode.json +4 -0
  21. package/hydrate/index.js +5 -2
  22. package/hydrate/index.mjs +5 -2
  23. package/package.json +2 -2
  24. /package/dist/types/builds/{uSGJX_GU → W1hp42tj}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/generate-vue-component.d.ts +0 -0
  25. /package/dist/types/builds/{uSGJX_GU → W1hp42tj}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/index.d.ts +0 -0
  26. /package/dist/types/builds/{uSGJX_GU → W1hp42tj}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/output-vue.d.ts +0 -0
  27. /package/dist/types/builds/{uSGJX_GU → W1hp42tj}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/plugin.d.ts +0 -0
  28. /package/dist/types/builds/{uSGJX_GU → W1hp42tj}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/types.d.ts +0 -0
  29. /package/dist/types/builds/{uSGJX_GU → W1hp42tj}/0/Digital/nano-components/packages/components/.stencil/plugins/stencil/vue-output/utils.d.ts +0 -0
  30. /package/dist/types/builds/{uSGJX_GU → W1hp42tj}/0/Digital/nano-components/packages/components/.stencil/stencil.config.d.ts +0 -0
  31. /package/dist/types/builds/{uSGJX_GU → W1hp42tj}/0/Digital/nano-components/packages/components/.stencil/stencil.config.prod.d.ts +0 -0
  32. /package/dist/types/builds/{uSGJX_GU → W1hp42tj}/0/Digital/nano-components/packages/components/.stencil/testing/mocks/intersection-observer.d.ts +0 -0
  33. /package/dist/types/builds/{uSGJX_GU → W1hp42tj}/0/Digital/nano-components/packages/components/.stencil/wdio.conf.d.ts +0 -0
@@ -18,4 +18,6 @@ export declare class NanoCard {
18
18
  variant?: 'promo' | 'promo-aero' | 'promo-plain' | 'promo-grey' | 'product';
19
19
  /** Size of card's heading. Defaults to `large`. Has no baring on `variant="promo"` cards */
20
20
  size?: 'small' | 'large';
21
+ /** If true, disables the whole-card click effect. */
22
+ disableCardClick?: boolean;
21
23
  }
@@ -419,6 +419,10 @@ export namespace Components {
419
419
  * @type CSS Only
420
420
  */
421
421
  interface NanoCard {
422
+ /**
423
+ * If true, disables the whole-card click effect.
424
+ */
425
+ "disableCardClick"?: boolean;
422
426
  /**
423
427
  * The layout of the card. `landscape` only applies when the card is large enough. Defaults to portrait.
424
428
  */
@@ -5403,6 +5407,10 @@ declare namespace LocalJSX {
5403
5407
  * @type CSS Only
5404
5408
  */
5405
5409
  interface NanoCard {
5410
+ /**
5411
+ * If true, disables the whole-card click effect.
5412
+ */
5413
+ "disableCardClick"?: boolean;
5406
5414
  /**
5407
5415
  * The layout of the card. `landscape` only applies when the card is large enough. Defaults to portrait.
5408
5416
  */
package/docs-json.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-09-10T13:11:19",
2
+ "timestamp": "2025-09-11T08:35:41",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.36.1",
@@ -3358,7 +3358,7 @@
3358
3358
  "references": {
3359
3359
  "Breadcrumb": {
3360
3360
  "location": "local",
3361
- "path": "/builds/uSGJX_GU/0/Digital/nano-components/packages/components/src/components/breadcrumb/breadcrumb.tsx",
3361
+ "path": "/builds/W1hp42tj/0/Digital/nano-components/packages/components/src/components/breadcrumb/breadcrumb.tsx",
3362
3362
  "id": "src/components/breadcrumb/breadcrumb.tsx::Breadcrumb"
3363
3363
  }
3364
3364
  }
@@ -3449,6 +3449,29 @@
3449
3449
  ],
3450
3450
  "usage": {},
3451
3451
  "props": [
3452
+ {
3453
+ "name": "disableCardClick",
3454
+ "type": "boolean",
3455
+ "complexType": {
3456
+ "original": "boolean",
3457
+ "resolved": "boolean",
3458
+ "references": {}
3459
+ },
3460
+ "mutable": false,
3461
+ "attr": "disable-card-click",
3462
+ "reflectToAttr": true,
3463
+ "docs": "If true, disables the whole-card click effect.",
3464
+ "docsTags": [],
3465
+ "values": [
3466
+ {
3467
+ "type": "boolean"
3468
+ }
3469
+ ],
3470
+ "optional": true,
3471
+ "required": false,
3472
+ "getter": false,
3473
+ "setter": false
3474
+ },
3452
3475
  {
3453
3476
  "name": "layout",
3454
3477
  "type": "\"landscape\" | \"portrait\"",
package/docs-vscode.json CHANGED
@@ -838,6 +838,10 @@
838
838
  "value": "Cards are used to display content in a compact and organized way."
839
839
  },
840
840
  "attributes": [
841
+ {
842
+ "name": "disable-card-click",
843
+ "description": "If true, disables the whole-card click effect."
844
+ },
841
845
  {
842
846
  "name": "layout",
843
847
  "description": "The layout of the card. `landscape` only applies when the card is large enough. Defaults to portrait.",
package/hydrate/index.js CHANGED
@@ -19090,6 +19090,8 @@ class NanoCard {
19090
19090
  variant;
19091
19091
  /** Size of card's heading. Defaults to `large`. Has no baring on `variant="promo"` cards */
19092
19092
  size;
19093
+ /** If true, disables the whole-card click effect. */
19094
+ disableCardClick;
19093
19095
  static get style() { return cardCss; }
19094
19096
  static get cmpMeta() { return {
19095
19097
  "$flags$": 0,
@@ -19097,11 +19099,12 @@ class NanoCard {
19097
19099
  "$members$": {
19098
19100
  "layout": [513],
19099
19101
  "variant": [513],
19100
- "size": [513]
19102
+ "size": [513],
19103
+ "disableCardClick": [516, "disable-card-click"]
19101
19104
  },
19102
19105
  "$listeners$": undefined,
19103
19106
  "$lazyBundleId$": "-",
19104
- "$attrsToReflect$": [["layout", "layout"], ["variant", "variant"], ["size", "size"]]
19107
+ "$attrsToReflect$": [["layout", "layout"], ["variant", "variant"], ["size", "size"], ["disableCardClick", "disable-card-click"]]
19105
19108
  }; }
19106
19109
  }
19107
19110
 
package/hydrate/index.mjs CHANGED
@@ -19088,6 +19088,8 @@ class NanoCard {
19088
19088
  variant;
19089
19089
  /** Size of card's heading. Defaults to `large`. Has no baring on `variant="promo"` cards */
19090
19090
  size;
19091
+ /** If true, disables the whole-card click effect. */
19092
+ disableCardClick;
19091
19093
  static get style() { return cardCss; }
19092
19094
  static get cmpMeta() { return {
19093
19095
  "$flags$": 0,
@@ -19095,11 +19097,12 @@ class NanoCard {
19095
19097
  "$members$": {
19096
19098
  "layout": [513],
19097
19099
  "variant": [513],
19098
- "size": [513]
19100
+ "size": [513],
19101
+ "disableCardClick": [516, "disable-card-click"]
19099
19102
  },
19100
19103
  "$listeners$": undefined,
19101
19104
  "$lazyBundleId$": "-",
19102
- "$attrsToReflect$": [["layout", "layout"], ["variant", "variant"], ["size", "size"]]
19105
+ "$attrsToReflect$": [["layout", "layout"], ["variant", "variant"], ["size", "size"], ["disableCardClick", "disable-card-click"]]
19103
19106
  }; }
19104
19107
  }
19105
19108
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanoporetech-digital/components",
3
- "version": "8.5.7",
3
+ "version": "8.6.0",
4
4
  "sideEffects": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -60,7 +60,7 @@
60
60
  "smart-array-filter": "^4.0.2",
61
61
  "stencil-wormhole": "3.2.1",
62
62
  "tyqs": "^0.1.3",
63
- "@nanoporetech-digital/style": "8.5.7"
63
+ "@nanoporetech-digital/style": "8.6.0"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@algolia/client-search": "^4.22.1",