Skip to content

Commit 69b24a2

Browse files
authored
Merge pull request #825 from privy-open-source/release/0.21.0
release: `0.21.0`
2 parents 5472683 + 0756e9c commit 69b24a2

File tree

13 files changed

+45
-32
lines changed

13 files changed

+45
-32
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@privyid/design-system",
3-
"version": "0.20.0",
3+
"version": "0.21.0",
44
"packageManager": "yarn@3.6.3",
55
"private": true,
66
"type": "module",

packages/browserslist-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@privyid/browserslist-config",
33
"description": "Browserslist shareable config for Persona project",
4-
"version": "0.20.0",
4+
"version": "0.21.0",
55
"packageManager": "yarn@3.6.3",
66
"license": "MIT",
77
"repository": {

packages/eslint-config-persona/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@privyid/eslint-config-persona",
33
"description": "Eslint shareable config for Persona project",
4-
"version": "0.20.0",
4+
"version": "0.21.0",
55
"packageManager": "yarn@3.6.3",
66
"license": "MIT",
77
"repository": {

packages/persona-icon/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@privyid/persona-icon",
33
"description": "Persona icon package",
4-
"version": "0.20.0",
4+
"version": "0.21.0",
55
"packageManager": "yarn@3.6.3",
66
"type": "module",
77
"main": "./dist/module.cjs",

packages/persona/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@privyid/persona",
33
"description": "Persona core package",
4-
"version": "0.20.0",
4+
"version": "0.21.0",
55
"license": "MIT",
66
"repository": {
77
"url": "https://github.com/privy-open-source/design-system.git",

packages/tailwind-animation/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@privyid/tailwind-animation",
33
"description": "Collection animation class for vue `<transition>`",
4-
"version": "0.20.0",
4+
"version": "0.21.0",
55
"packageManager": "yarn@3.6.3",
66
"license": "MIT",
77
"repository": {

packages/tailwind-extended/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@privyid/tailwind-extended",
33
"description": "Add missing tailwind utilities",
4-
"version": "0.20.0",
4+
"version": "0.21.0",
55
"packageManager": "yarn@3.6.3",
66
"license": "MIT",
77
"repository": {

packages/tailwind-preset/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@privyid/tailwind-preset",
33
"description": "Tailwind preset for Persona project",
4-
"version": "0.20.0",
4+
"version": "0.21.0",
55
"packageManager": "yarn@3.6.3",
66
"license": "MIT",
77
"repository": {

src/components/input-pin/InputPin.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ export default defineComponent({
142142
143143
function onKeyDown (event: KeyboardEvent) {
144144
const target = event.target as HTMLInputElement
145-
if (props.readonly || props.disabled) return
145+
146+
if (props.readonly || props.disabled)
147+
return
146148
147149
if (target.value && [...event.key].length === 1 && !event.ctrlKey && !event.metaKey) {
148150
event.preventDefault()

src/components/modal/index.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -669,28 +669,28 @@ Modal use local CSS variables on `.modal` for enhanced real-time customization.
669669

670670
### Props
671671

672-
| Props | Type | Default | Description |
673-
|----------------------------|:---------:|:-------:|------------------------------------------------------------|
674-
| `v-model` | `Boolean` | `false` | Show / Hide modal |
675-
| `title` | `String` | - | Modal Title |
676-
| `text` | `String` | - | Text inside of Modal Body |
677-
| `dismissable` | `Boolean` | `true` | Show / Hide dismiss button |
678-
| `size` | `String` | `md` | Size of modal, valid value is `sm`, `md`, `lg` and `xl` |
679-
| `banner` | `Boolean` | `false` | Give modal no-padding to place image for specific purpose |
680-
| `no-close-on-esc` | `Boolean` | `false` | No close modal while Escape was pressed |
681-
| `no-close-on-backdrop` | `Boolean` | `false` | No close modal while Modal Backdrop was clicked |
682-
| `modal-body-scrollable` | `Boolean` | `false` | Scrollable modal body when content is to long |
683-
| `centered` | `Boolean` | `false` | Handle center vertically of the viewport |
672+
| Props | Type | Default | Description |
673+
|-----------------------|:---------:|:-------:|-----------------------------------------------------------|
674+
| `modelValue` | `Boolean` | `false` | `v-model` value for show / hide modal |
675+
| `title` | `String` | - | Modal Title |
676+
| `text` | `String` | - | Text inside of Modal Body |
677+
| `dismissable` | `Boolean` | `true` | Show / Hide dismiss button |
678+
| `size` | `String` | `md` | Size of modal, valid value is `sm`, `md`, `lg` and `xl` |
679+
| `banner` | `Boolean` | `false` | Give modal no-padding to place image for specific purpose |
680+
| `noCloseOnEsc` | `Boolean` | `false` | No close modal while Escape was pressed |
681+
| `noCloseOnBackdrop` | `Boolean` | `false` | No close modal while Modal Backdrop was clicked |
682+
| `modalBodyScrollable` | `Boolean` | `false` | Scrollable modal body when content is to long |
683+
| `centered` | `Boolean` | `false` | Handle center vertically of the viewport |
684684

685685
### Slots
686-
| Name | Description |
687-
|-----------|--------------------------------------------------------------------------------------------------|
688-
| `header ` | Content (in the form of— permalink or button) to place in Modal Header |
689-
| `footer ` | Content (in the form of— permalink or button) to place in Modal Footer |
686+
| Name | Description |
687+
|-----------|------------------------------------------------------------------------|
688+
| `header ` | Content (in the form of— permalink or button) to place in Modal Header |
689+
| `footer ` | Content (in the form of— permalink or button) to place in Modal Footer |
690690

691691
### Events
692692

693-
| Name | Arguments | Description |
694-
|-------------|-----------|---------------------------------|
695-
| `close` | - | Event when close button clicked |
693+
| Name | Arguments | Description |
694+
|---------|-----------|---------------------------------|
695+
| `close` | - | Event when close button clicked |
696696

0 commit comments

Comments
 (0)