@ctlyst.id/internal-ui 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +1 -0
  3. package/dist/index.js +894 -0
  4. package/dist/index.mjs +20508 -0
  5. package/dist/types/components/breadcrumb/components/BreadCrumb.d.ts +17 -0
  6. package/dist/types/components/breadcrumb/index.d.ts +2 -0
  7. package/dist/types/components/data-table/components/data-table.d.ts +40 -0
  8. package/dist/types/components/data-table/components/indeterminate-checkbox.d.ts +5 -0
  9. package/dist/types/components/data-table/index.d.ts +2 -0
  10. package/dist/types/components/datepicker/components/datepicker.d.ts +17 -0
  11. package/dist/types/components/datepicker/components/styles.d.ts +2 -0
  12. package/dist/types/components/datepicker/components/time-input.d.ts +9 -0
  13. package/dist/types/components/datepicker/index.d.ts +2 -0
  14. package/dist/types/components/field/components/field.d.ts +11 -0
  15. package/dist/types/components/field/components/input-field.d.ts +12 -0
  16. package/dist/types/components/field/components/textarea-field.d.ts +12 -0
  17. package/dist/types/components/field/index.d.ts +6 -0
  18. package/dist/types/components/header/components/header.d.ts +10 -0
  19. package/dist/types/components/header/components/logo.d.ts +2 -0
  20. package/dist/types/components/header/components/profile.d.ts +8 -0
  21. package/dist/types/components/header/components/switch-mode.d.ts +3 -0
  22. package/dist/types/components/header/components/version.d.ts +9 -0
  23. package/dist/types/components/header/index.d.ts +2 -0
  24. package/dist/types/components/header/types.d.ts +10 -0
  25. package/dist/types/components/header/utils/formatter.d.ts +2 -0
  26. package/dist/types/components/index.d.ts +11 -0
  27. package/dist/types/components/modal/components/modal-close-button.d.ts +4 -0
  28. package/dist/types/components/modal/components/modal-footer.d.ts +4 -0
  29. package/dist/types/components/modal/components/modal-header.d.ts +4 -0
  30. package/dist/types/components/modal/index.d.ts +5 -0
  31. package/dist/types/components/navigation/components/navigation.d.ts +9 -0
  32. package/dist/types/components/navigation/index.d.ts +2 -0
  33. package/dist/types/components/navigation/types.d.ts +8 -0
  34. package/dist/types/components/pagination/components/pagination-button-trigger.d.ts +10 -0
  35. package/dist/types/components/pagination/components/pagination-button.d.ts +6 -0
  36. package/dist/types/components/pagination/components/pagination-detail.d.ts +10 -0
  37. package/dist/types/components/pagination/components/pagination-filter.d.ts +13 -0
  38. package/dist/types/components/pagination/components/pagination.d.ts +16 -0
  39. package/dist/types/components/pagination/index.d.ts +6 -0
  40. package/dist/types/components/select/components/select-async-creatable.d.ts +4 -0
  41. package/dist/types/components/select/components/select-async.d.ts +5 -0
  42. package/dist/types/components/select/components/select-creatable.d.ts +4 -0
  43. package/dist/types/components/select/components/select.d.ts +4 -0
  44. package/dist/types/components/select/components/utils.d.ts +26 -0
  45. package/dist/types/components/select/index.d.ts +8 -0
  46. package/dist/types/components/tabs/components/tab-list.d.ts +3 -0
  47. package/dist/types/components/tabs/components/tab-panel.d.ts +3 -0
  48. package/dist/types/components/tabs/components/tab.d.ts +11 -0
  49. package/dist/types/components/tabs/index.d.ts +5 -0
  50. package/dist/types/components/uploader/components/uploader.d.ts +12 -0
  51. package/dist/types/components/uploader/constants.d.ts +8 -0
  52. package/dist/types/components/uploader/index.d.ts +2 -0
  53. package/dist/types/config/index.d.ts +1 -0
  54. package/dist/types/config/theme/components/button.d.ts +3 -0
  55. package/dist/types/config/theme/components/checkbox.d.ts +3 -0
  56. package/dist/types/config/theme/components/form-label.d.ts +19 -0
  57. package/dist/types/config/theme/components/index.d.ts +8 -0
  58. package/dist/types/config/theme/components/input.d.ts +114 -0
  59. package/dist/types/config/theme/components/popover.d.ts +3 -0
  60. package/dist/types/config/theme/components/radio.d.ts +3 -0
  61. package/dist/types/config/theme/components/switch.d.ts +32 -0
  62. package/dist/types/config/theme/components/textarea.d.ts +3 -0
  63. package/dist/types/config/theme/foundations/colors.d.ts +158 -0
  64. package/dist/types/config/theme/foundations/index.d.ts +5 -0
  65. package/dist/types/config/theme/foundations/radius.d.ts +8 -0
  66. package/dist/types/config/theme/foundations/sizes.d.ts +66 -0
  67. package/dist/types/config/theme/foundations/spacing.d.ts +42 -0
  68. package/dist/types/config/theme/foundations/typography.d.ts +173 -0
  69. package/dist/types/config/theme/index.d.ts +1 -0
  70. package/dist/types/config/theme/themeConfiguration.d.ts +4 -0
  71. package/dist/types/index.d.ts +3 -0
  72. package/dist/types/provider/index.d.ts +2 -0
  73. package/dist/types/provider/provider.d.ts +6 -0
  74. package/dist/types/provider/types.d.ts +14 -0
  75. package/package.json +73 -0
package/package.json ADDED
@@ -0,0 +1,73 @@
1
+ {
2
+ "name": "@ctlyst.id/internal-ui",
3
+ "version": "1.0.0",
4
+ "description": "Voila Internal UI Component",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/types/index.d.ts",
8
+ "internal-ui:src": "./src/index.ts",
9
+ "repository": "https://github.com/machtwatch/voila-ui",
10
+ "author": "Catalyst Tech",
11
+ "license": "Apache-2.0",
12
+ "files": [
13
+ "dist"
14
+ ],
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
18
+ "scripts": {
19
+ "build": "vite build",
20
+ "clean": "rimraf dist",
21
+ "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
22
+ "lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
23
+ "prepublish": "yarn build",
24
+ "report-coverage": "codecov -f ./coverage/*.json",
25
+ "start": "vite build --watch",
26
+ "test": "jest",
27
+ "test:coverage": "jest --coverage",
28
+ "type-check": "tsc --emitDeclarationOnly"
29
+ },
30
+ "dependencies": {
31
+ "@tanstack/react-table": "^8.5.17",
32
+ "axios": "^0.27.2",
33
+ "clsx": "^1.1.1",
34
+ "react-datepicker": "^4.8.0",
35
+ "react-dropzone": "^14.2.3",
36
+ "react-icons": "^4.6.0",
37
+ "react-select": "^5.6.0",
38
+ "react-select-async-paginate": "^0.7.0",
39
+ "tslib": "^2.3.1"
40
+ },
41
+ "peerDependencies": {
42
+ "@chakra-ui/anatomy": "^2.1.1",
43
+ "@chakra-ui/icons": "^2.0.18",
44
+ "@chakra-ui/react": "^2.5.5",
45
+ "@chakra-ui/styled-system": "^2.8.0",
46
+ "@chakra-ui/system": "^2.5.5",
47
+ "@chakra-ui/theme-tools": "^2.0.16",
48
+ "@chakra-ui/utils": "^2.0.14",
49
+ "@emotion/core": "^11.0.0",
50
+ "@emotion/react": "^11.10.6",
51
+ "@emotion/styled": "^11.10.6",
52
+ "react": "^18.2.0",
53
+ "react-dom": "^18.2.0"
54
+ },
55
+ "resolutions": {
56
+ "jest-environment-jsdom": "27.3.1"
57
+ },
58
+ "devDependencies": {
59
+ "@babel/core": "^7.20.12",
60
+ "@babel/preset-typescript": "^7.18.6",
61
+ "@testing-library/jest-dom": "^5.16.5",
62
+ "@testing-library/react": "^13.4.0",
63
+ "@types/jest": "^29.4.0",
64
+ "@types/react-datepicker": "^4.8.0",
65
+ "babel-loader": "^9.1.2",
66
+ "babel-preset-react-app": "^10.0.1",
67
+ "codecov": "^3.8.3",
68
+ "framer-motion": "^6.3.13",
69
+ "jest": "^29.4.1",
70
+ "jest-environment-jsdom": "29.4.1"
71
+ },
72
+ "gitHead": "da41b932835d2285020a610eb1b3eb007798b99c"
73
+ }