Skip to content

Commit

Permalink
Merge pull request #547 from privy-open-source/release/0.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adenvt authored Jun 5, 2023
2 parents 893186c + 9cd9795 commit 201d257
Show file tree
Hide file tree
Showing 14 changed files with 717 additions and 617 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ src/.vitepress/cache/
.vscode-test

# yarn v2
.yarn/versions
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
Expand Down
7 changes: 0 additions & 7 deletions .yarn/versions/622ce82b.yml

This file was deleted.

Empty file removed .yarn/versions/ff562665.yml
Empty file.
16 changes: 8 additions & 8 deletions package.json
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": {
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/browserslist-config/package.json
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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-persona/package.json
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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/persona-icon/package.json
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",
Expand Down
2 changes: 1 addition & 1 deletion packages/persona/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@privyid/persona",
"description": "Persona core package",
"version": "0.13.1",
"version": "0.14.0",
"license": "MIT",
"repository": {
"url": "https://github.com/privy-open-source/design-system.git",
Expand Down
2 changes: 1 addition & 1 deletion packages/tailwind-animation/package.json
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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/tailwind-extended/package.json
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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/tailwind-preset/package.json
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": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/collapse/__mocks__/use-media-query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
const screenWidth = ref(0)

export const useMediaQuery = (query: string) => {
const minWidth = Number.parseInt(query.replace(/\D/g, ''))
const minWidth = Number.parseInt(query.replaceAll(/\D/g, ''))
const result = computed(() => {
return screenWidth.value >= minWidth
})
Expand Down
4 changes: 2 additions & 2 deletions src/components/signature-text/utils/formatter.ts
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, ''))
}
Loading

1 comment on commit 201d257

@vercel
Copy link

@vercel vercel bot commented on 201d257 Jun 5, 2023

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

Please sign in to comment.