@nanoporetech-digital/components-vue 8.7.1 → 8.8.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.
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "@nanoporetech-digital/components-vue",
5
- "version": "8.7.0",
5
+ "version": "8.7.2",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -1419,7 +1419,7 @@
1419
1419
  "required": false,
1420
1420
  "value": {
1421
1421
  "kind": "expression",
1422
- "type": "\"false\" | \"true\""
1422
+ "type": "boolean"
1423
1423
  }
1424
1424
  },
1425
1425
  {
@@ -4938,6 +4938,167 @@
4938
4938
  }
4939
4939
  ]
4940
4940
  },
4941
+ {
4942
+ "name": "NanoInputOtp",
4943
+ "doc-url": "https://digital.git.oxfordnanolabs.local/nano-components/?path=/docs/components-input-otp",
4944
+ "description": "A component for entering one-time passwords (OTP) with multiple input fields.",
4945
+ "source": {
4946
+ "module": "@nanoporetech-digital/components/src/components/input-otp/input-otp.d.ts",
4947
+ "symbol": "InputOtp"
4948
+ },
4949
+ "attributes": [
4950
+ {
4951
+ "name": "allow-invalid",
4952
+ "description": "If `true`, allows the input to be completely filled with invalid values.\nBy default, if any input box contains an invalid value, the entire input group\nis marked as invalid.\nDefault is `false`.",
4953
+ "required": false,
4954
+ "default": "false",
4955
+ "value": {
4956
+ "kind": "expression",
4957
+ "type": "boolean"
4958
+ }
4959
+ },
4960
+ {
4961
+ "name": "disabled",
4962
+ "description": "If `true`, the user cannot interact with the input.",
4963
+ "required": false,
4964
+ "default": "false",
4965
+ "value": {
4966
+ "kind": "expression",
4967
+ "type": "boolean"
4968
+ }
4969
+ },
4970
+ {
4971
+ "name": "inputmode",
4972
+ "description": "A hint to the browser for which keyboard to display.\nPossible values: `\"none\"`, `\"text\"`, `\"tel\"`, `\"url\"`,\n`\"email\"`, `\"numeric\"`, `\"decimal\"`, and `\"search\"`.\n\nFor numbers (type=\"number\"): \"numeric\"\nFor text (type=\"text\"): \"text\"",
4973
+ "required": false,
4974
+ "value": {
4975
+ "kind": "expression",
4976
+ "type": "\"decimal\" | \"email\" | \"none\" | \"numeric\" | \"search\" | \"tel\" | \"text\" | \"url\""
4977
+ }
4978
+ },
4979
+ {
4980
+ "name": "length",
4981
+ "description": "The number of input boxes to display.",
4982
+ "required": false,
4983
+ "default": "6",
4984
+ "value": {
4985
+ "kind": "expression",
4986
+ "type": "number"
4987
+ }
4988
+ },
4989
+ {
4990
+ "name": "pattern",
4991
+ "description": "A regex pattern string for allowed characters. Defaults based on type.\n\nFor numbers (`type=\"number\"`): `\"[\\p{N}]\"`\nFor text (`type=\"text\"`): `\"[\\p{L}\\p{N}]\"`",
4992
+ "required": false,
4993
+ "value": {
4994
+ "kind": "expression",
4995
+ "type": "string"
4996
+ }
4997
+ },
4998
+ {
4999
+ "name": "readonly",
5000
+ "description": "If `true`, the user cannot modify the value.",
5001
+ "required": false,
5002
+ "default": "false",
5003
+ "value": {
5004
+ "kind": "expression",
5005
+ "type": "boolean"
5006
+ }
5007
+ },
5008
+ {
5009
+ "name": "show-validity",
5010
+ "description": "If `true`, shows a validity icon when all input boxes are filled.\nA check icon is shown if all values are valid, and an X icon is shown if any value is invalid.\nThis does not affect the `invalid` or `valid` states of the input group.\nDefault is `false`.",
5011
+ "required": false,
5012
+ "default": "false",
5013
+ "value": {
5014
+ "kind": "expression",
5015
+ "type": "boolean"
5016
+ }
5017
+ },
5018
+ {
5019
+ "name": "type",
5020
+ "description": "The type of input allowed in the input boxes.",
5021
+ "required": false,
5022
+ "default": "'number'",
5023
+ "value": {
5024
+ "kind": "expression",
5025
+ "type": "\"number\" | \"text\""
5026
+ }
5027
+ },
5028
+ {
5029
+ "name": "value",
5030
+ "description": "The value of the input group.",
5031
+ "required": false,
5032
+ "default": "''",
5033
+ "value": {
5034
+ "kind": "expression",
5035
+ "type": "number | string"
5036
+ }
5037
+ }
5038
+ ],
5039
+ "slots": [
5040
+ {
5041
+ "name": "default",
5042
+ "description": "The default slot for the input description."
5043
+ },
5044
+ {
5045
+ "name": "validity-icon",
5046
+ "description": "A slot for a custom validity icon. If not provided, a default icon will be used."
5047
+ }
5048
+ ],
5049
+ "events": [
5050
+ {
5051
+ "name": "nanoBlur",
5052
+ "description": "Emitted when the input group loses focus.",
5053
+ "arguments": [
5054
+ {
5055
+ "name": "detail",
5056
+ "type": "FocusEvent"
5057
+ }
5058
+ ]
5059
+ },
5060
+ {
5061
+ "name": "nanoChange",
5062
+ "description": "The `nanoChange` event is fired when the user modifies the input's value.\nUnlike the `nanoInput` event, the `nanoChange` event is only fired when changes\nare committed, not as the user types.\n\nThe `nanoChange` event fires when the `<nano-input-otp>` component loses\nfocus after its value has changed.\n\nThis event will not emit when programmatically setting the `value` property.",
5063
+ "arguments": [
5064
+ {
5065
+ "name": "detail",
5066
+ "type": "InputOtpChangeEventDetail"
5067
+ }
5068
+ ]
5069
+ },
5070
+ {
5071
+ "name": "nanoComplete",
5072
+ "description": "Emitted when all input boxes have been filled with valid values.",
5073
+ "arguments": [
5074
+ {
5075
+ "name": "detail",
5076
+ "type": "InputOtpCompleteEventDetail"
5077
+ }
5078
+ ]
5079
+ },
5080
+ {
5081
+ "name": "nanoFocus",
5082
+ "description": "Emitted when the input group has focus.",
5083
+ "arguments": [
5084
+ {
5085
+ "name": "detail",
5086
+ "type": "FocusEvent"
5087
+ }
5088
+ ]
5089
+ },
5090
+ {
5091
+ "name": "nanoInput",
5092
+ "description": "The `nanoInput` event is fired each time the user modifies the input's value.\nUnlike the `nanoChange` event, the `nanoInput` event is fired for each alteration\nto the input's value. This typically happens for each keystroke as the user types.\n\nFor elements that accept text input (`type=text`, `type=tel`, etc.), the interface\nis [`InputEvent`](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent); for others,\nthe interface is [`Event`](https://developer.mozilla.org/en-US/docs/Web/API/Event). If\nthe input is cleared on edit, the type is `null`.",
5093
+ "arguments": [
5094
+ {
5095
+ "name": "detail",
5096
+ "type": "InputOtpInputEventDetail"
5097
+ }
5098
+ ]
5099
+ }
5100
+ ]
5101
+ },
4941
5102
  {
4942
5103
  "name": "NanoIntersectionObserve",
4943
5104
  "doc-url": "https://digital.git.oxfordnanolabs.local/nano-components/?path=/docs/components-intersection-observe",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanoporetech-digital/components-vue",
3
- "version": "8.7.1",
3
+ "version": "8.8.0",
4
4
  "sideEffects": false,
5
5
  "description": "Vue 3 wrapper for Nano Components",
6
6
  "repository": {
@@ -49,8 +49,8 @@
49
49
  "vue-tsc": "^2.1.6"
50
50
  },
51
51
  "dependencies": {
52
- "@nanoporetech-digital/style": "8.7.1",
53
- "@nanoporetech-digital/components": "8.7.1"
52
+ "@nanoporetech-digital/components": "8.8.0",
53
+ "@nanoporetech-digital/style": "8.8.0"
54
54
  },
55
55
  "gitHead": "cff1d0168dbe2193c1dc1a814ed1cb97b30cfc25",
56
56
  "vetur": {