@rotki/ui-library 0.1.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.
Files changed (36) hide show
  1. package/LICENSE.md +659 -0
  2. package/README.md +170 -0
  3. package/dist/all-icons.d.ts +2495 -0
  4. package/dist/colors-01d79c7b.mjs +47 -0
  5. package/dist/components/alerts/Alert.vue.d.ts +84 -0
  6. package/dist/components/buttons/button/Button.vue.d.ts +97 -0
  7. package/dist/components/buttons/button-group/ButtonGroup.vue.d.ts +48 -0
  8. package/dist/components/chips/Chip.vue.d.ts +78 -0
  9. package/dist/components/forms/auto-complete/AutoComplete.vue.d.ts +184 -0
  10. package/dist/components/forms/auto-complete/AutoCompleteSelection.vue.d.ts +81 -0
  11. package/dist/components/forms/checkbox/Checkbox.vue.d.ts +101 -0
  12. package/dist/components/forms/radio-button/radio/Radio.vue.d.ts +98 -0
  13. package/dist/components/forms/radio-button/radio-group/RadioGroup.vue.d.ts +61 -0
  14. package/dist/components/forms/revealable-text-field/RevealableTextField.vue.d.ts +10 -0
  15. package/dist/components/forms/text-field/TextField.vue.d.ts +156 -0
  16. package/dist/components/icons/Icon.vue.d.ts +37 -0
  17. package/dist/components/logos/Logo.vue.d.ts +17 -0
  18. package/dist/components/progress/Progress.vue.d.ts +102 -0
  19. package/dist/components/steppers/FooterStepper.vue.d.ts +40 -0
  20. package/dist/components/steppers/Stepper.vue.d.ts +77 -0
  21. package/dist/components/steppers/StepperCustomIcon.vue.d.ts +21 -0
  22. package/dist/components/steppers/StepperIcon.vue.d.ts +21 -0
  23. package/dist/composables/icons.d.ts +5 -0
  24. package/dist/composables/theme.d.ts +6 -0
  25. package/dist/consts/colors.d.ts +8 -0
  26. package/dist/consts/typography.d.ts +5 -0
  27. package/dist/index.d.ts +34 -0
  28. package/dist/index.es.js +13500 -0
  29. package/dist/style.css +1 -0
  30. package/dist/theme/index.d.ts +5 -0
  31. package/dist/theme.es.js +169 -0
  32. package/dist/types/icons.d.ts +4 -0
  33. package/dist/types/stepper.d.ts +20 -0
  34. package/dist/types/theme.d.ts +40 -0
  35. package/dist/utils/generate-id.d.ts +4 -0
  36. package/package.json +128 -0
package/package.json ADDED
@@ -0,0 +1,128 @@
1
+ {
2
+ "name": "@rotki/ui-library",
3
+ "version": "0.1.0",
4
+ "packageManager": "pnpm@8.6.9",
5
+ "description": "A vue design system and component library for rotki",
6
+ "keywords": [
7
+ "vue",
8
+ "ui",
9
+ "components",
10
+ "rotki"
11
+ ],
12
+ "license": "AGPL-3.0",
13
+ "homepage": "https://github.com/rotki/ui-library#readme",
14
+ "bugs": {
15
+ "url": "https://github.com/rotki/ui-library/issues"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/rotki/ui-library.git"
20
+ },
21
+ "author": "Rotki Solutions GmbH <info@rotki.com>",
22
+ "files": [
23
+ "/dist"
24
+ ],
25
+ "module": "dist/index.es.js",
26
+ "types": "dist/index.d.ts",
27
+ "exports": {
28
+ "./*": {
29
+ "default": "./"
30
+ },
31
+ ".": {
32
+ "types": "./dist/index.d.ts",
33
+ "default": "./dist/index.es.js"
34
+ },
35
+ "./theme": {
36
+ "types": "./dist/theme.d.ts",
37
+ "default": "./dist/theme.es.js"
38
+ }
39
+ },
40
+ "peerDependencies": {
41
+ "@fontsource/roboto": ">=5.0.5",
42
+ "vue": ">=3.3.4"
43
+ },
44
+ "devDependencies": {
45
+ "@babel/core": "7.22.9",
46
+ "@babel/types": "7.22.5",
47
+ "@commitlint/cli": "17.6.7",
48
+ "@commitlint/config-conventional": "17.6.7",
49
+ "@fontsource/roboto": "5.0.5",
50
+ "@headlessui/vue": "1.7.14",
51
+ "@rotki/eslint-config": "1.1.0",
52
+ "@storybook/addon-essentials": "7.1.0",
53
+ "@storybook/addon-interactions": "7.1.0",
54
+ "@storybook/addon-links": "7.1.0",
55
+ "@storybook/addon-styling": "1.3.4",
56
+ "@storybook/addons": "7.1.0",
57
+ "@storybook/blocks": "7.1.0",
58
+ "@storybook/testing-library": "0.2.0",
59
+ "@storybook/vue3": "7.1.0",
60
+ "@storybook/vue3-vite": "7.1.0",
61
+ "@types/node": "20.2.4",
62
+ "@unhead/vue": "1.1.32",
63
+ "@vitejs/plugin-vue": "4.2.3",
64
+ "@vitest/coverage-v8": "0.33.0",
65
+ "@vitest/ui": "0.33.0",
66
+ "@vue/test-utils": "2.4.0",
67
+ "@vue/tsconfig": "0.4.0",
68
+ "@vueuse/core": "10.2.1",
69
+ "@vueuse/shared": "10.2.1",
70
+ "argparse": "2.0.1",
71
+ "autoprefixer": "10.4.14",
72
+ "babel-loader": "8.3.0",
73
+ "bumpp": "9.1.1",
74
+ "css-loader": "6.8.1",
75
+ "eslint": "8.45.0",
76
+ "fast-xml-parser": "4.2.6",
77
+ "fs-extra": "11.1.1",
78
+ "husky": "8.0.3",
79
+ "jsdom": "22.1.0",
80
+ "lint-staged": "13.2.3",
81
+ "postcss": "8.4.26",
82
+ "react": "18.2.0",
83
+ "react-dom": "18.2.0",
84
+ "remixicon": "3.4.0",
85
+ "sass": "1.63.6",
86
+ "scule": "1.0.0",
87
+ "storybook": "7.1.0",
88
+ "tailwindcss": "3.3.3",
89
+ "tsc-alias": "1.8.7",
90
+ "typescript": "5.1.6",
91
+ "unplugin-auto-import": "0.16.6",
92
+ "vite": "4.4.4",
93
+ "vitest": "0.33.0",
94
+ "vue": "3.3.4",
95
+ "vue-loader": "17.2.2",
96
+ "vue-tsc": "1.8.5"
97
+ },
98
+ "engines": {
99
+ "pnpm": ">=8 <9"
100
+ },
101
+ "lint-staged": {
102
+ "*.{js,cjs,ts,vue,yml,json,md}": "eslint"
103
+ },
104
+ "scripts": {
105
+ "postinstall": "node scripts/postinstall.cjs",
106
+ "build:prod": "node scripts/dist-build.cjs",
107
+ "build": "vite build",
108
+ "build:storybook": "STORYBOOK=true storybook build",
109
+ "build:tailwind": "tailwindcss -o dist/style.css --minify",
110
+ "build:types": "vue-tsc -p tsconfig.build.json",
111
+ "generate-icons": "node scripts/generate-icons.cjs",
112
+ "resolve:alias": "tsc-alias -p tsconfig.build.json",
113
+ "dev": "vite",
114
+ "lint": "eslint .",
115
+ "lint:fix": "eslint . --fix",
116
+ "storybook": "storybook dev -p 6006",
117
+ "test": "vitest --ui",
118
+ "test:run": "vitest run",
119
+ "test:ci": "vitest run",
120
+ "test:e2e": "pnpm --filter {example} test:e2e",
121
+ "test:e2e:dev": "pnpm --filter {example} test:e2e:dev",
122
+ "test:all": "pnpm test:run && pnpm test:e2e",
123
+ "coverage": "vitest run --coverage",
124
+ "coverage:preview": "npx vite preview --open --outDir tests/coverage",
125
+ "typecheck": "vue-tsc --noEmit",
126
+ "release": "bumpp -r --no-push"
127
+ }
128
+ }