Goto Online Docs
MIT License (c) 2022 Privy Identitas Digital
Persona Design System, built on top Nuxt3, Typescript and Tailwind
Home Page: https://persona.privyid.dev
License: MIT License
Goto Online Docs
MIT License (c) 2022 Privy Identitas Digital
figma link: https://www.figma.com/file/wTmMNMRZmOhT04RKDH8m8Q/B-A-S-E-%2F-Foundations?node-id=336%3A1884
referensi: https://raw.githubusercontent.com/rogden/tailwind-config-viewer/master/ui-example.jpg
tampilan seperti figma boleh, tapi ditambahi nomor hexa nya
Link figma foundation: https://www.figma.com/file/wTmMNMRZmOhT04RKDH8m8Q/B-A-S-E-%2F-Foundations?node-id=400%3A2381
LINK FIGMA STYLEGUIDE
(will be provided on card as a collapsable container with accordion)
https://www.figma.com/file/tVQNwXeQkMtZlX1x3qjJu8/B-A-S-E-%2F-Style-Guide?node-id=262%3A2144
Migrate vitepress from 0.x to 1.x
Link Component Figma: https://www.figma.com/file/JIYmbyRYZHc9bnVp6Npm9K/B-A-S-E-%2F-Components?node-id=2080%3A40825
Note: Pls wait for figma link from styleguide
LINK FIGMA STYLEGUIDE
https://www.figma.com/file/tVQNwXeQkMtZlX1x3qjJu8/B-A-S-E-%2F-Style-Guide?node-id=262%3A2171
(will be comin' up there)
LINK FIGMA STYLEGUIDE
https://www.figma.com/file/tVQNwXeQkMtZlX1x3qjJu8/B-A-S-E-%2F-Style-Guide?node-id=262%3A2145
<template>
<p-chart variant="line">
<p-chart-set name="January">
<p-chart-val value="5" name="success" color="#000000" />
<p-chart-val value="6" name="failed" color="#000000" />
</p-chart-set>
</p-chart>
</template>
<template>
<p-chart variant="bar">
<p-chart-set name="January">
<p-chart-val value="5" name="success" color="#000000" />
<p-chart-val value="6" name="failed" color="#000000" />
</p-chart-set>
</p-chart>
</template>
<template>
<p-chart variant="pie">
<p-chart-set name="Dataset 1">
<p-chart-val value="5" name="success" color="#000000" />
<p-chart-val value="6" name="failed" color="#000000" />
</p-chart-set>
</p-chart>
</template>
name
is requiredcolor
is optional, if not provided, it taken from hashing name
.LINK FIGMA STYLEGUIDE
this is covering a hover state:
https://www.figma.com/file/tVQNwXeQkMtZlX1x3qjJu8/B-A-S-E-%2F-Style-Guide?node-id=1%3A260
also provided in image crop:
https://www.figma.com/file/tVQNwXeQkMtZlX1x3qjJu8/B-A-S-E-%2F-Style-Guide?node-id=1196%3A84102
Separate current eslint config into package (shareable config)
Link Figma Styleguide:
https://www.figma.com/file/tVQNwXeQkMtZlX1x3qjJu8/B-A-S-E-%2F-Style-Guide?node-id=839%3A50276
general label: title berubah sesuai active step
Link Figma Styleguide: https://www.figma.com/file/tVQNwXeQkMtZlX1x3qjJu8/B-A-S-E-%2F-Style-Guide?node-id=262%3A2148
LINK FIGMA STYLEGUIDE
(the link is the same as Image Preview)
https://www.figma.com/file/tVQNwXeQkMtZlX1x3qjJu8/B-A-S-E-%2F-Style-Guide?node-id=1196%3A84102
Add instalation guide
LINK FIGMA STYLEGUIDE
https://www.figma.com/file/tVQNwXeQkMtZlX1x3qjJu8/B-A-S-E-%2F-Style-Guide?node-id=262%3A2174
const tour = createTour({
waitTimeout : 3000, // waiting timeout
backdrop : true, // enable focus backdrop
prevLabel : 'Previous', // prev button label
nextLabel : 'Next', // next button label
dismissLabel : 'Dismiss', // dismiss button label
finishLabel : 'Finish', // finish button label
skipIfTimeout: false, // Skip tour if target not found (timeout)
skipIfHidden : false, // Skip tour if target not visible
onBeforePrev (to, from) {
// Run hook on prev button clicked (global)
},
onBeforeNext (to, from) {
// Run hook on next button clicked (global)
},
onFinished () {
// Run when tour finished
},
})
const tour = createTour({/*...*/})
tour.add({
name : 'step-1', // Unique name as identifier
target : '#step-1',
title : 'Tour Title',
text : 'Tour body text',
image : 'http://nganu.com/123.jpg',
aligment : 'top',
waitTimeout: 3000, // waiting timeout, override global setting
backdrop : true, // enable focus backdrop, , override global setting
type : 'wait-action', // 'basic' | 'wait-action', default: 'basic'
dismissBtn : true, // enable dismiss button, default: 'true'
onBeforePrev (to, from) {
// Run hook on prev button clicked (run before global hook)
},
onBeforeNext (to, from) {
// Run hook on next button clicked (run before global hook)
},
})
tour.remove('step-1' /* name */)
tour.start() // Showing tour
tour.start(5) // Showing tour at specific step
tour.stop() // Hide tour
tour.toStep(step) // Go to step, it also run the hook
tour.prev() // Programmatically tour prev, it also run the hook
tour.next() // Programmatically tour next, it also run the hook
tour.finish() // Programmatically finish, similar to close but it's run onFinished hook
basic
Basic tour's step
wait-action
Waiting user to click the target
to-page
Redirect to specific target route
Able to add tour instance as step
const tourA = createTour({/*...*/})
const tourB = createTour({/*...*/})
tourA
.add({/* step-1 */})
.add(tourB)
.add({/* step-2 */})
// It will start tourB after step-1, and show step-2 after tourB finished
link figma styleguide: https://www.figma.com/file/tVQNwXeQkMtZlX1x3qjJu8/B-A-S-E-%2F-Style-Guide?node-id=212%3A1782
Note: include basic pagination without number, only prev-next
Link figma Foundation: https://www.figma.com/file/wTmMNMRZmOhT04RKDH8m8Q/B-A-S-E-%2F-Foundations?node-id=400%3A2736
LINK FIGMA STYLEGUIDE
(will provided by a form group)
Alternate native function window.alert
, window.confirm
, window.prompt
using Modal
import dialog from "./use-dialog"
dialog.alert({
title: 'Alert Title'
message: 'Alert Message'
})
import dialog from "./use-dialog"
dialog.alert({
title: 'Alert Title'
message: 'Alert Message'
}).then((result) => {
console.log(result) // true / false
})
import dialog from "./use-dialog"
dialog.alert({
title: 'Alert Title'
message: 'Alert Message'
}).then((result) => {
console.log(result) // text user's have input
})
Link figma styleguide: https://www.figma.com/file/tVQNwXeQkMtZlX1x3qjJu8/B-A-S-E-%2F-Style-Guide?node-id=262%3A2147
Finally we decide the name of this project with name: Persona.
Todo:
p-
in all documentation (component.md
)@privyid/persona
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Warning
These dependencies are deprecated:
Datasource | Name | Replacement PR? |
---|---|---|
npm | @types/marked |
|
npm | @vitest/coverage-c8 |
|
npm | eslint-config-standard-with-typescript |
|
npm | eslint-plugin-node |
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
@nuxt/kit
, @nuxt/schema
, nuxt
)@testing-library/dom
, @testing-library/jest-dom
, @testing-library/vue
)eslint
, eslint-config-standard-with-typescript
, eslint-formatter-pretty
, eslint-plugin-n
, eslint-plugin-unicorn
)These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
eslint
, eslint-config-standard-with-typescript
, eslint-plugin-node
, eslint-plugin-promise
, eslint-plugin-vue
)@vitest/browser
, @vitest/coverage-c8
, vitest
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)@vitest/browser
, vitest
)docker-compose.yml
Dockerfile
node 20-alpine
halverneus/static-file-server v1.8.10
.github/workflows/ci.yml
actions/checkout v4
actions/cache v4
actions/setup-node v4
codecov/codecov-action v4
actions/checkout v4
actions/cache v4
actions/setup-node v4
actions/checkout v4
actions/cache v4
actions/setup-node v4
actions/checkout v4
github/codeql-action v3
github/codeql-action v3
github/codeql-action v3
actions/checkout v4
actions/cache v4
actions/setup-node v4
peaceiris/actions-gh-pages v4
.github/workflows/sync.yml
actions/checkout v4
actions/cache v4
actions/setup-node v4
peter-evans/create-pull-request v6
package.json
@floating-ui/dom ^1.0.4
@fontsource/dm-sans 5.0.21
@jill64/universal-sanitizer ^1.0.2
@juggle/resize-observer ^3.4.0
@splidejs/splide ^4.1.4
@testing-library/user-event ^14.4.3
@vueuse/core 10.9.0
@vueuse/math 10.9.0
@zxing/browser 0.1.4
@zxing/library 0.21.0
chart.js 4.4.2
date-fns 3.6.0
defu 6.1.4
fast-equals ^5.0.0
fuse.js 7.0.0
html-escaper ^3.0.3
immutable ^5.0.0-beta.5
interactjs 1.10.27
lodash-es 4.17.21
marked ^12.0.0
nanodelay 2.0.2
pdfjs-dist ^3.11.174
postcss-hexrgba ^2.1.0
postcss-lighten-darken ^0.9.0
pspdfkit ^2024.3.1
qr-code-styling ^1.6.0-rc.1
scroll-into-view ^1.16.2
tabbable 6.2.0
vue-collapsed ^1.2.5
vue-content-loader ^2.0.1
vue-demi 0.14.7
vue-router 4.3.2
webfontloader 1.6.28
zxcvbn ^4.4.2
@interactjs/types 1.10.27
@rollup/plugin-inject 5.0.5
@rushstack/eslint-patch 1.10.2
@testing-library/jest-dom 6.4.5
@testing-library/vue 8.0.3
@types/html-escaper 3.0.2
@types/lodash-es 4.17.12
@types/marked 6.0.0
@types/sanitize-html 2.11.0
@types/scroll-into-view 1.16.4
@types/webfontloader 1.6.38
@types/zxcvbn 4.4.4
@typescript-eslint/eslint-plugin 5.62.0
@typescript-eslint/parser 5.62.0
@vitejs/plugin-vue 4.5.2
@vitest/browser 0.25.8
@vitest/coverage-c8 0.24.5
@vue/eslint-config-typescript 13.0.0
autoprefixer 10.4.19
browserslist-to-esbuild 2.1.1
eslint 8.57.0
eslint-config-standard-with-typescript 21.0.1
eslint-formatter-pretty 5.0.0
eslint-plugin-align-assignments 1.1.2
eslint-plugin-import 2.29.1
eslint-plugin-n 16.6.2
eslint-plugin-node 11.1.0
eslint-plugin-promise 6.1.1
eslint-plugin-unicorn 48.0.1
eslint-plugin-varspacing 1.2.2
eslint-plugin-vue 9.23.0
happy-dom 8.9.0
husky 9.0.11
jest-extended 4.0.2
lint-staged 15.2.2
nanodelay 2.0.2
postcss 8.4.38
postcss-import 16.1.0
postcss-nested 6.0.1
sharp 0.33.3
svgo 3.3.2
tailwindcss 3.4.3
typescript 5.4.5
ufo 1.5.3
unenv 1.9.0
vite-plugin-image-optimizer 1.1.7
vitepress 1.1.0
vitest 0.24.5
vue-tsc 2.0.19
yarn 4.2.2
packages/browserslist-config/package.json
yarn 4.2.2
packages/eslint-config-persona/package.json
@typescript-eslint/eslint-plugin 5.62.0
@typescript-eslint/parser 5.62.0
@vue/eslint-config-typescript 13.0.0
eslint 9.6.0
eslint-config-standard-with-typescript 43.0.1
eslint-formatter-pretty 6.0.1
eslint-plugin-align-assignments 1.1.2
eslint-plugin-import 2.29.1
eslint-plugin-n 17.9.0
eslint-plugin-node 11.1.0
eslint-plugin-promise 6.1.1
eslint-plugin-unicorn 54.0.0
eslint-plugin-varspacing 1.2.2
eslint-plugin-vue 9.23.0
typescript 5.4.5
yarn 4.2.2
packages/persona-icon/package.json
@nuxt/kit ^3.4.3
@nuxt/module-builder 0.6.0
@types/fs-extra 11.0.4
@types/minimist 1.2.5
dotenv 16.4.5
figma-api 1.11.0
fs-extra 11.2.0
jiti 1.21.0
minimist 1.2.8
ofetch 1.3.4
ohash 1.1.3
ora 8.0.1
p-all 5.0.0
svg-path-commander 2.0.9
svgo 3.3.2
webfont 11.2.26
yarn 4.2.2
packages/persona-ilustration/package.json
@nuxt/kit ^3.4.3
@nuxt/module-builder 0.6.0
@types/fs-extra 11.0.4
@types/minimist 1.2.5
dotenv 16.4.5
figma-api 1.11.0
fs-extra 11.2.0
jiti 1.21.0
minimist 1.2.8
ofetch 1.3.4
ohash 1.1.3
ora 8.0.1
p-all 5.0.0
sharp 0.33.3
svg-path-commander 2.0.9
svgo 3.3.2
webfont 11.2.26
yarn 4.2.2
packages/persona/package.json
@floating-ui/dom 1.6.5
@jill64/universal-sanitizer 1.2.11
@juggle/resize-observer 3.4.0
@nuxt/kit 3.11.2
@splidejs/splide 4.1.4
@testing-library/dom 10.1.0
@testing-library/user-event 14.5.2
@vueuse/core 10.9.0
@vueuse/math 10.9.0
@zxing/browser 0.1.4
@zxing/library 0.21.0
chart.js 4.4.2
core-js 3
date-fns 3.6.0
defu 6.1.4
fast-equals 5.0.1
fuse.js 7.0.0
interactjs 1.10.27
lodash-es 4.17.21
marked 12.0.2
nanodelay 2.0.2
pdfjs-dist 3.11.174
scroll-into-view 1.16.2
tabbable 6.2.0
vue-collapsed 1.3.3
vue-demi 0.14.7
webfontloader 1.6.28
zxcvbn 4.4.2
@nuxt/module-builder 0.6.0
@nuxt/schema 3.11.2
@nuxtjs/tailwindcss 6.12.1
@types/sanitize-html 2.11.0
browserslist-to-esbuild 2.1.1
nuxt 3.11.2
postcss-custom-properties 13.3.10
postcss-hexrgba 2.1.0
postcss-lighten-darken 0.9.0
tailwind 4.0.0
postcss-custom-properties ^12.1.11 || ^13.0.0
postcss-hexrgba ^2.1.0
postcss-lighten-darken ^0.9.0
tailwind >=3.0.0
vue-router >=4.0.0
packages/persona/playground/package.json
packages/tailwind-animation/package.json
tailwind >= 3.0.0
yarn 4.2.2
packages/tailwind-extended/package.json
tailwind >= 3.0.0
yarn 4.2.2
packages/tailwind-preset/package.json
tailwind >= 3.0.0
yarn 4.2.2
src/public/js/[email protected]/package.json
canvas ^2.11.2
path2d-polyfill ^2.0.1
node >=18
src/public/js/[email protected]/package.json
@types/react ^17.0.39
.nvmrc
node 20
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.