-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #547 from privy-open-source/release/0.14.0
- Loading branch information
Showing
14 changed files
with
717 additions
and
617 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@privyid/design-system", | ||
"version": "0.13.1", | ||
"version": "0.14.0", | ||
"packageManager": "[email protected]", | ||
"private": true, | ||
"scripts": { | ||
|
@@ -33,7 +33,7 @@ | |
"@rollup/plugin-babel": "^6.0.2", | ||
"@rollup/plugin-inject": "^5.0.3", | ||
"@rollup/plugin-replace": "^5.0.1", | ||
"@rushstack/eslint-patch": "1.2.0", | ||
"@rushstack/eslint-patch": "1.3.0", | ||
"@testing-library/jest-dom": "5.16.5", | ||
"@testing-library/vue": "6.6.0", | ||
"@types/babel__core": "^7", | ||
|
@@ -54,30 +54,30 @@ | |
"autoprefixer": "10.4.14", | ||
"browserslist-to-esbuild": "^1.2.0", | ||
"browserslist-useragent-regexp": "^4.0.0", | ||
"eslint": "8.33.0", | ||
"eslint": "8.42.0", | ||
"eslint-config-standard-with-typescript": "latest", | ||
"eslint-formatter-pretty": "4.1.0", | ||
"eslint-plugin-align-assignments": "1.1.2", | ||
"eslint-plugin-import": "2.27.5", | ||
"eslint-plugin-n": "15.6.1", | ||
"eslint-plugin-n": "15.7.0", | ||
"eslint-plugin-node": "11.1.0", | ||
"eslint-plugin-promise": "6.1.1", | ||
"eslint-plugin-unicorn": "45.0.2", | ||
"eslint-plugin-unicorn": "47.0.0", | ||
"eslint-plugin-varspacing": "1.2.2", | ||
"eslint-plugin-vue": "9.9.0", | ||
"eslint-plugin-vue": "9.14.1", | ||
"happy-dom": "8.9.0", | ||
"husky": "8.0.3", | ||
"jest-extended": "3.2.4", | ||
"lint-staged": "13.2.2", | ||
"nanodelay": "2.0.2", | ||
"postcss": "8.4.23", | ||
"postcss": "8.4.24", | ||
"postcss-nested": "6.0.1", | ||
"tailwindcss": "3.2.7", | ||
"typescript": "5.0.4", | ||
"ufo": "^1.0.1", | ||
"vitepress": "1.0.0-beta.1", | ||
"vitest": "0.24.5", | ||
"vue-tsc": "^1.0.13" | ||
"vue-tsc": "1.4.4" | ||
}, | ||
"dependencies": { | ||
"@carbon/icons-vue": "10.49.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@privyid/browserslist-config", | ||
"description": "Browserslist shareable config for Persona project", | ||
"version": "0.13.1", | ||
"version": "0.14.0", | ||
"packageManager": "[email protected]", | ||
"license": "MIT", | ||
"repository": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@privyid/eslint-config-persona", | ||
"description": "Eslint shareable config for Persona project", | ||
"version": "0.13.1", | ||
"version": "0.14.0", | ||
"packageManager": "[email protected]", | ||
"license": "MIT", | ||
"repository": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@privyid/persona-icon", | ||
"description": "Persona icon package", | ||
"version": "0.13.1", | ||
"version": "0.14.0", | ||
"packageManager": "[email protected]", | ||
"type": "module", | ||
"main": "./dist/module.cjs", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@privyid/tailwind-animation", | ||
"version": "0.13.1", | ||
"version": "0.14.0", | ||
"packageManager": "[email protected]", | ||
"license": "MIT", | ||
"repository": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@privyid/tailwind-extended", | ||
"description": "Add missing tailwind utilities", | ||
"version": "0.13.1", | ||
"version": "0.14.0", | ||
"packageManager": "[email protected]", | ||
"license": "MIT", | ||
"repository": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@privyid/tailwind-preset", | ||
"description": "Tailwind preset for Persona project", | ||
"version": "0.13.1", | ||
"version": "0.14.0", | ||
"packageManager": "[email protected]", | ||
"license": "MIT", | ||
"repository": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
export function capitalize (text: string) { | ||
return String(text) | ||
.toLowerCase() | ||
.replace(/^\w|([\s,.])(\w)/gm, (i) => i.toUpperCase()) | ||
.replaceAll(/^\w|([\s,.])(\w)/gm, (i) => i.toUpperCase()) | ||
} | ||
|
||
export function formatName (text: string) { | ||
if (!text) | ||
return '' | ||
|
||
return capitalize(String(text).trim().replace(/[^\s,.A-Za-z]+/g, '')) | ||
return capitalize(String(text).trim().replaceAll(/[^\s,.A-Za-z]+/g, '')) | ||
} |
Oops, something went wrong.
201d257
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
design-system – ./
design-system-git-main-privyid.vercel.app
design-system-privyid.vercel.app
privy-design-system.vercel.app