dhre-component-lib 0.0.1 → 0.0.2

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 (90) hide show
  1. package/coverage/clover.xml +260 -0
  2. package/coverage/coverage-final.json +19 -0
  3. package/coverage/lcov-report/base.css +224 -0
  4. package/coverage/lcov-report/block-navigation.js +87 -0
  5. package/coverage/lcov-report/components/Avatar/Avatar.tsx.html +163 -0
  6. package/coverage/lcov-report/components/Avatar/index.html +116 -0
  7. package/coverage/lcov-report/components/Badge/Badge.tsx.html +160 -0
  8. package/coverage/lcov-report/components/Badge/index.html +116 -0
  9. package/coverage/lcov-report/components/BreadCrumb/BreadCrumb.tsx.html +193 -0
  10. package/coverage/lcov-report/components/BreadCrumb/index.html +116 -0
  11. package/coverage/lcov-report/components/Button/Button.tsx.html +151 -0
  12. package/coverage/lcov-report/components/Button/index.html +116 -0
  13. package/coverage/lcov-report/components/Checkbox/Checkbox.tsx.html +190 -0
  14. package/coverage/lcov-report/components/Checkbox/index.html +116 -0
  15. package/coverage/lcov-report/components/CircularProgress/CircularProgress.tsx.html +196 -0
  16. package/coverage/lcov-report/components/CircularProgress/index.html +116 -0
  17. package/coverage/lcov-report/components/Divider/Divider.tsx.html +157 -0
  18. package/coverage/lcov-report/components/Divider/index.html +116 -0
  19. package/coverage/lcov-report/components/Enum.ts.html +142 -0
  20. package/coverage/lcov-report/components/InputTextField/InputTextField.tsx.html +229 -0
  21. package/coverage/lcov-report/components/InputTextField/index.html +116 -0
  22. package/coverage/lcov-report/components/Link/Link.tsx.html +184 -0
  23. package/coverage/lcov-report/components/Link/index.html +116 -0
  24. package/coverage/lcov-report/components/Modal/Modal.tsx.html +169 -0
  25. package/coverage/lcov-report/components/Modal/index.html +116 -0
  26. package/coverage/lcov-report/components/Notification/Notification.tsx.html +208 -0
  27. package/coverage/lcov-report/components/Notification/index.html +116 -0
  28. package/coverage/lcov-report/components/PdfView/PdfView.tsx.html +400 -0
  29. package/coverage/lcov-report/components/PdfView/index.html +116 -0
  30. package/coverage/lcov-report/components/Progress/Progress.tsx.html +190 -0
  31. package/coverage/lcov-report/components/Progress/index.html +116 -0
  32. package/coverage/lcov-report/components/RadioButton/RadioButton.tsx.html +214 -0
  33. package/coverage/lcov-report/components/RadioButton/index.html +116 -0
  34. package/coverage/lcov-report/components/Switch/Switch.tsx.html +199 -0
  35. package/coverage/lcov-report/components/Switch/index.html +116 -0
  36. package/coverage/lcov-report/components/Tag/Tag.tsx.html +160 -0
  37. package/coverage/lcov-report/components/Tag/index.html +116 -0
  38. package/coverage/lcov-report/components/Tooltip/Tooltip.tsx.html +187 -0
  39. package/coverage/lcov-report/components/Tooltip/index.html +116 -0
  40. package/coverage/lcov-report/components/index.html +116 -0
  41. package/coverage/lcov-report/favicon.png +0 -0
  42. package/coverage/lcov-report/index.html +371 -0
  43. package/coverage/lcov-report/prettify.css +1 -0
  44. package/coverage/lcov-report/prettify.js +2 -0
  45. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  46. package/coverage/lcov-report/sorter.js +196 -0
  47. package/coverage/lcov.info +457 -0
  48. package/jest.config.ts +1 -1
  49. package/package.json +9 -6
  50. package/src/components/Avatar/Avatar.test.tsx +52 -0
  51. package/src/components/Avatar/__snapshots__/Avatar.test.tsx.snap +9 -0
  52. package/src/components/Badge/Badge.test.tsx +63 -0
  53. package/src/components/Badge/__snapshots__/Badge.test.tsx.snap +9 -0
  54. package/src/components/BreadCrumb/BreadCrumb.test.tsx +90 -0
  55. package/src/components/BreadCrumb/index.ts +1 -0
  56. package/src/components/Button/Button.test.tsx +62 -0
  57. package/src/components/Button/__snapshots__/Button.test.tsx.snap +9 -0
  58. package/src/components/Checkbox/Checkbox.test.tsx +71 -43
  59. package/src/components/Checkbox/__snapshots__/Checkbox.test.tsx.snap +17 -0
  60. package/src/components/{Circular_Progress → CircularProgress}/CircularProgress.tsx +1 -1
  61. package/src/components/Divider/Divider.test.tsx +35 -10
  62. package/src/components/InputTextField/InputTextField.test.tsx +103 -33
  63. package/src/components/InputTextField/InputTextField.tsx +7 -5
  64. package/src/components/Link/Link.test.tsx +44 -36
  65. package/src/components/Link/Link.tsx +1 -1
  66. package/src/components/Map/Directions.tsx +36 -0
  67. package/src/components/Map/GoogleMap.module.scss +5 -0
  68. package/src/components/Map/GoogleMap.tsx +186 -0
  69. package/src/components/Map/GoogleMapsLoader.tsx +12 -0
  70. package/src/components/Map/index.ts +2 -0
  71. package/src/components/Modal/Modal.css +26 -0
  72. package/src/components/Modal/Modal.test.tsx +53 -34
  73. package/src/components/Modal/Modal.tsx +15 -6
  74. package/src/components/PdfView/PdfView.css +70 -0
  75. package/src/components/PdfView/PdfView.test.tsx +27 -63
  76. package/src/components/PdfView/PdfView.tsx +53 -41
  77. package/src/components/Progress/Progress.test.tsx +34 -26
  78. package/src/components/Progress/Progress.tsx +2 -2
  79. package/src/components/RadioButton/RadioButton.test.tsx +59 -30
  80. package/src/components/Switch/Switch.test.tsx +83 -0
  81. package/src/components/Tag/Tag.test.tsx +57 -0
  82. package/src/components/Tag/__snapshots__/Tag.test.tsx.snap +9 -0
  83. package/src/components/Tooltip/Tooltip.test.tsx +73 -0
  84. package/src/components/Tooltip/__snapshots__/Tooltip.test.tsx.snap +22 -0
  85. package/src/components/index.ts +5 -2
  86. package/src/typings.d.ts +1 -0
  87. package/tsconfig.json +17 -18
  88. /package/src/components/{Circular_Progress → CircularProgress}/CircularProgress.css +0 -0
  89. /package/src/components/{Circular_Progress → CircularProgress}/CircularProgress.test.tsx +0 -0
  90. /package/src/components/{Circular_Progress → CircularProgress}/index.ts +0 -0
package/tsconfig.json CHANGED
@@ -9,7 +9,7 @@
9
9
  // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
10
10
  // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
11
11
  /* Language and Environment */
12
- "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
12
+ "target": "es2016" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
13
13
  // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
14
14
  // "jsx": "preserve", /* Specify what JSX code is generated. */
15
15
  // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
@@ -29,7 +29,11 @@
29
29
  // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
30
30
  // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
31
31
  // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
32
- "types": ["node", "jest","@testing-library/jest-dom"], /* Specify type package names to be included without being referenced in a source file. */
32
+ "types": [
33
+ "node",
34
+ "jest",
35
+ "@testing-library/jest-dom"
36
+ ] /* Specify type package names to be included without being referenced in a source file. */,
33
37
  // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
34
38
  // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
35
39
  // "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */
@@ -44,8 +48,8 @@
44
48
  // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
45
49
  // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
46
50
  /* Emit */
47
- "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
48
- "declarationMap": true, /* Create sourcemaps for d.ts files. */
51
+ "declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */,
52
+ "declarationMap": true /* Create sourcemaps for d.ts files. */,
49
53
  // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
50
54
  // "sourceMap": true, /* Create source map files for emitted JavaScript files. */
51
55
  // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
@@ -70,11 +74,11 @@
70
74
  // "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */
71
75
  // "isolatedDeclarations": true, /* Require sufficient annotation on exports so other tools can trivially generate declaration files. */
72
76
  // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
73
- "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
77
+ "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */,
74
78
  // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
75
- "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
79
+ "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
76
80
  /* Type Checking */
77
- "strict": true, /* Enable all strict type-checking options. */
81
+ "strict": true /* Enable all strict type-checking options. */,
78
82
  // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
79
83
  // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
80
84
  // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
@@ -94,8 +98,8 @@
94
98
  // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
95
99
  // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
96
100
  /* Completeness */
97
- "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
98
- "skipLibCheck": true, /* Skip type checking all .d.ts files. */
101
+ "skipDefaultLibCheck": true /* Skip type checking .d.ts files that are included with TypeScript. */,
102
+ "skipLibCheck": true /* Skip type checking all .d.ts files. */,
99
103
 
100
104
  // Added
101
105
  "jsx": "react",
@@ -109,13 +113,8 @@
109
113
  "emitDeclarationOnly": true,
110
114
  "resolveJsonModule": true,
111
115
  "experimentalDecorators": true,
112
- "emitDecoratorMetadata": true
116
+ "emitDecoratorMetadata": true,
113
117
  },
114
- "include": [
115
- "src/**/*"
116
- ],
117
- "exclude": [
118
- "node_modules",
119
- "**/*.test.tsx"
120
- ]
121
- }
118
+ "include": ["src/**/*"],
119
+ "exclude": ["node_modules", "**/*.test.tsx"]
120
+ }