@mozaic-ds/angular 0.22.0 → 0.23.0-beta.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/CHANGELOG.md +7 -0
  2. package/README.md +5 -3
  3. package/angular.json +2 -9
  4. package/jest.config.js +6 -0
  5. package/package.json +30 -19
  6. package/projects/kit/components/datatable/components/caption/moz-datatable-caption.component.html +13 -0
  7. package/projects/kit/components/datatable/components/caption/moz-datatable-caption.component.ts +31 -0
  8. package/projects/kit/components/datatable/components/content/moz-datatable-content-cell.component.html +1 -0
  9. package/projects/kit/components/datatable/components/content/moz-datatable-content-cell.component.ts +17 -0
  10. package/projects/kit/components/datatable/components/footer/moz-datatable-footer.component.html +34 -0
  11. package/projects/kit/components/datatable/components/footer/moz-datatable-footer.component.ts +46 -0
  12. package/projects/kit/components/datatable/components/header/moz-datatable-header-cell.component.html +1 -0
  13. package/projects/kit/components/datatable/components/header/moz-datatable-header-cell.component.ts +17 -0
  14. package/projects/kit/components/datatable/index.ts +6 -0
  15. package/projects/kit/components/datatable/model/column-def.ts +5 -0
  16. package/projects/kit/components/datatable/model/datatable-settings.ts +11 -0
  17. package/projects/kit/components/datatable/model/footer-settings.ts +14 -0
  18. package/projects/kit/components/datatable/model/row-data.ts +3 -0
  19. package/projects/kit/components/datatable/moz-datatable.component.html +75 -0
  20. package/projects/kit/components/datatable/moz-datatable.component.scss +13 -0
  21. package/projects/kit/components/datatable/moz-datatable.component.spec.ts +123 -0
  22. package/projects/kit/components/datatable/moz-datatable.component.ts +97 -0
  23. package/projects/kit/components/datatable/moz-datatable.module.ts +44 -0
  24. package/projects/kit/components/datatable/moz-datatable.stories.ts +376 -0
  25. package/projects/kit/components/datatable/public-api.ts +6 -0
  26. package/projects/kit/components/icon/icon.component.spec.ts +4 -0
  27. package/projects/kit/components/pagination/pagination.component.html +2 -0
  28. package/projects/kit/components/pagination/pagination.component.ts +2 -1
  29. package/projects/kit/components/public-api.ts +1 -0
  30. package/projects/kit/components/tabs/tabs.component.ts +4 -2
  31. package/projects/kit/package.json +16 -3
  32. package/projects/kit/setup-jest.ts +1 -0
  33. package/projects/kit/tsconfig.spec.json +1 -1
  34. package/tsconfig.json +1 -0
  35. package/projects/kit/components/dialog/dialog.component.spec.ts +0 -24
  36. package/projects/kit/karma.conf.js +0 -41
@@ -1,41 +0,0 @@
1
- // Karma configuration file, see link for more information
2
- // https://karma-runner.github.io/1.0/config/configuration-file.html
3
-
4
- module.exports = function (config) {
5
- config.set({
6
- basePath: '',
7
- frameworks: ['jasmine', '@angular-devkit/build-angular'],
8
- plugins: [
9
- require('karma-jasmine'),
10
- require('karma-chrome-launcher'),
11
- require('karma-jasmine-html-reporter'),
12
- require('karma-coverage'),
13
- require('@angular-devkit/build-angular/plugins/karma'),
14
- ],
15
- client: {
16
- jasmine: {
17
- // you can add configuration options for Jasmine here
18
- // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
19
- // for example, you can disable the random execution with `random: false`
20
- // or set a specific seed with `seed: 4321`
21
- },
22
- clearContext: false, // leave Jasmine Spec Runner output visible in browser
23
- },
24
- jasmineHtmlReporter: {
25
- suppressAll: true, // removes the duplicated traces
26
- },
27
- coverageReporter: {
28
- dir: require('path').join(__dirname, '../../coverage/kit'),
29
- subdir: '.',
30
- reporters: [{ type: 'html' }, { type: 'text-summary' }],
31
- },
32
- reporters: ['progress', 'kjhtml'],
33
- port: 9876,
34
- colors: true,
35
- logLevel: config.LOG_INFO,
36
- autoWatch: true,
37
- browsers: ['Chrome'],
38
- singleRun: false,
39
- restartOnFileChange: true,
40
- });
41
- };