Permalink
Browse files

moved all dependencies into the dep file and reuse it for react and t…

…ests

Signed-off-by: Dominik Wilkowski <Hi@Dominik-Wilkowski.com>
  • Loading branch information...
dominikwilkowski committed Jul 30, 2017
1 parent 76ec9e2 commit 42e4459dd40637793291847b4bdebb08d7cdb5cd
Showing with 389 additions and 267 deletions.
  1. +11 βˆ’0 .templates/new-module/src/sass/_dependencies.scss
  2. +1 βˆ’10 .templates/new-module/tests/site/test.scss
  3. +5 βˆ’1 packages/accordion/src/js/react.js
  4. 0 packages/accordion/src/{css/styles.scss β†’ sass/_dependencies.scss}
  5. +1 βˆ’11 packages/accordion/tests/site/test.scss
  6. +11 βˆ’0 packages/animate/src/sass/_dependencies.scss
  7. +1 βˆ’11 packages/animate/tests/site/test.scss
  8. +11 βˆ’0 packages/body/src/sass/_dependencies.scss
  9. +2 βˆ’10 packages/body/tests/site/test.scss
  10. +5 βˆ’0 packages/breadcrumbs/src/js/react.js
  11. +14 βˆ’0 packages/breadcrumbs/src/sass/_dependencies.scss
  12. +2 βˆ’13 packages/breadcrumbs/tests/site/test.scss
  13. +5 βˆ’0 packages/buttons/src/js/react.js
  14. +11 βˆ’0 packages/buttons/src/sass/_dependencies.scss
  15. +1 βˆ’10 packages/buttons/tests/site/test.scss
  16. +5 βˆ’0 packages/callout/src/js/react.js
  17. +11 βˆ’0 packages/callout/src/sass/_dependencies.scss
  18. +1 βˆ’10 packages/callout/tests/site/test.scss
  19. +5 βˆ’0 packages/control-input/src/js/react.js
  20. +11 βˆ’0 packages/control-input/src/sass/_dependencies.scss
  21. +1 βˆ’10 packages/control-input/tests/site/test.scss
  22. +11 βˆ’0 packages/core/src/sass/_dependencies.scss
  23. +2 βˆ’8 packages/core/tests/site/test.scss
  24. +5 βˆ’0 packages/cta-link/src/js/react.js
  25. +11 βˆ’0 packages/cta-link/src/sass/_dependencies.scss
  26. +1 βˆ’10 packages/cta-link/tests/site/test.scss
  27. +5 βˆ’0 packages/direction-links/src/js/react.js
  28. +12 βˆ’0 packages/direction-links/src/sass/_dependencies.scss
  29. +2 βˆ’12 packages/direction-links/tests/site/test.scss
  30. +5 βˆ’0 packages/footer/src/js/react.js
  31. +11 βˆ’0 packages/footer/src/sass/_dependencies.scss
  32. +1 βˆ’10 packages/footer/tests/site/test.scss
  33. +11 βˆ’0 packages/grid-12/src/sass/_dependencies.scss
  34. +2 βˆ’10 packages/grid-12/tests/site/test.scss
  35. +5 βˆ’0 packages/header/src/js/react.js
  36. +11 βˆ’0 packages/header/src/sass/_dependencies.scss
  37. +1 βˆ’10 packages/header/tests/site/test.scss
  38. +5 βˆ’0 packages/headings/src/js/react.js
  39. +11 βˆ’0 packages/headings/src/sass/_dependencies.scss
  40. +1 βˆ’10 packages/headings/tests/site/test.scss
  41. +5 βˆ’0 packages/inpage-nav/src/js/react.js
  42. +13 βˆ’0 packages/inpage-nav/src/sass/_dependencies.scss
  43. +1 βˆ’13 packages/inpage-nav/tests/site/test.scss
  44. +5 βˆ’0 packages/keyword-list/src/js/react.js
  45. +13 βˆ’0 packages/keyword-list/src/sass/_dependencies.scss
  46. +2 βˆ’13 packages/keyword-list/tests/site/test.scss
  47. +5 βˆ’0 packages/link-list/src/js/react.js
  48. +12 βˆ’0 packages/link-list/src/sass/_dependencies.scss
  49. +2 βˆ’11 packages/link-list/tests/site/test.scss
  50. +5 βˆ’0 packages/page-alerts/src/js/react.js
  51. +11 βˆ’0 packages/page-alerts/src/sass/_dependencies.scss
  52. +1 βˆ’11 packages/page-alerts/tests/site/test.scss
  53. +5 βˆ’0 packages/progress-indicator/src/js/react.js
  54. +11 βˆ’0 packages/progress-indicator/src/sass/_dependencies.scss
  55. +1 βˆ’10 packages/progress-indicator/tests/site/test.scss
  56. +11 βˆ’0 packages/responsive-media/src/sass/_dependencies.scss
  57. +2 βˆ’10 packages/responsive-media/tests/site/test.scss
  58. +5 βˆ’0 packages/select/src/js/react.js
  59. +11 βˆ’0 packages/select/src/sass/_dependencies.scss
  60. +1 βˆ’10 packages/select/tests/site/test.scss
  61. +11 βˆ’0 packages/skip-link/src/sass/_dependencies.scss
  62. +1 βˆ’10 packages/skip-link/tests/site/test.scss
  63. +11 βˆ’0 packages/tags/src/sass/_dependencies.scss
  64. +1 βˆ’10 packages/tags/tests/site/test.scss
  65. +11 βˆ’0 packages/text-inputs/src/sass/_dependencies.scss
  66. +1 βˆ’10 packages/text-inputs/tests/site/test.scss
  67. +3 βˆ’3 scripts/helper.js
@@ -0,0 +1,11 @@
//sass-versioning
@import '../../../core/node_modules/sass-versioning/dist/_index.scss';
//dependencies
@import '../../../core/lib/sass/_module.scss';
//this module
@import '../../lib/sass/_module.scss';
//version check with sass-versioning
@include versioning-check();
@@ -1,17 +1,8 @@
//sass-versioning
@import '../../../core/node_modules/sass-versioning/dist/_index.scss';
//dependencies
@import '../../../core/lib/sass/_module.scss';
@import '../../src/sass/_dependencies.scss';
//testing includes
// @import '../../../body/lib/sass/_module.scss';
//this module
@import '_module.scss';
//styling all test files
@import '../../../../.templates/test-assets/_style.scss';
//version check with sass-versioning
@include versioning-check();
@@ -10,7 +10,11 @@
import React from 'react';
import PropTypes from 'prop-types';
/* [replace-includes] */
// The following line will be replaced automatically with generic imports for the ES5 pipeline.
// You can safely ignore this bit if you use this module with pancake
//
// [replace-imports]
let IDstart = 0;
@@ -1,22 +1,12 @@
//sass-versioning
@import '../../../core/node_modules/sass-versioning/dist/_index.scss';
//dependencies
@import '../../../core/lib/sass/_module.scss';
@import '../../../animate/lib/sass/_module.scss';
@import '../../src/sass/_dependencies.scss';
//testing includes
@import '../../../body/lib/sass/_module.scss';
//this module
@import '_module.scss';
//styling all test files
@import '../../../../.templates/test-assets/_style.scss';
//version check with sass-versioning
@include versioning-check();
.split-wrapper {
overflow: hidden;
@@ -0,0 +1,11 @@
//sass-versioning
@import '../../../core/node_modules/sass-versioning/dist/_index.scss';
//dependencies
@import '../../../core/lib/sass/_module.scss';
//this module
@import '../../lib/sass/_module.scss';
//version check with sass-versioning
@include versioning-check();
@@ -1,22 +1,12 @@
//sass-versioning
@import '../../../core/node_modules/sass-versioning/dist/_index.scss';
//dependencies
@import '../../../core/lib/sass/_module.scss';
@import '../../src/sass/_dependencies.scss';
//testing includes
//@import '../../../body/lib/sass/_module.scss';
@import '../../../grid-12/lib/sass/_module.scss';
//this module
@import '_module.scss';
//styling all test files
@import '../../../../.templates/test-assets/_style.scss';
//version check with sass-versioning
@include versioning-check();
.uikit-dropdown-example {
background-color: hotpink;
@@ -0,0 +1,11 @@
//sass-versioning
@import '../../../core/node_modules/sass-versioning/dist/_index.scss';
//dependencies
@import '../../../core/lib/sass/_module.scss';
//this module
@import '../../lib/sass/_module.scss';
//version check with sass-versioning
@include versioning-check();
@@ -1,16 +1,8 @@
//sass-versioning
@import '../../../core/node_modules/sass-versioning/dist/_index.scss';
//dependencies
@import '../../../core/lib/sass/_module.scss';
@import '../../src/sass/_dependencies.scss';
//testing includes
//this module
@import '_module.scss';
// @import '../../../body/lib/sass/_module.scss';
//styling all test files
@import '../../../../.templates/test-assets/_style.scss';
//version check with sass-versioning
@include versioning-check();
@@ -13,6 +13,11 @@ import PropTypes from 'prop-types';
import LinkList from './link-list.js';
// The following line will be replaced automatically with generic imports for the ES5 pipeline.
// You can safely ignore this bit if you use this module with pancake
//
// [replace-imports]
/**
* DEFAULT
* The breadcrumbs component
@@ -0,0 +1,14 @@
//sass-versioning
@import '../../../core/node_modules/sass-versioning/dist/_index.scss';
//dependencies
@import '../../../core/lib/sass/_module.scss';
@import '../../../link-list/lib/sass/module.scss';
@import '../../../body/lib/sass/_module.scss'; //link-list dependency
//this module
@import '../../lib/sass/_module.scss';
//version check with sass-versioning
@include versioning-check();
@@ -1,19 +1,8 @@
//sass-versioning
@import '../../../core/node_modules/sass-versioning/dist/_index.scss';
//dependencies
@import '../../../core/lib/sass/_module.scss';
@import '../../../link-list/lib/sass/module.scss';
@import '../../../body/lib/sass/_module.scss'; //link-list dependency
@import '../../src/sass/_dependencies.scss';
//testing includes
//this module
@import '_module.scss';
// @import '../../../body/lib/sass/_module.scss';
//styling all test files
@import '../../../../.templates/test-assets/_style.scss';
//version check with sass-versioning
@include versioning-check();
@@ -11,6 +11,11 @@ import React from 'react';
import PropTypes from 'prop-types';
// The following line will be replaced automatically with generic imports for the ES5 pipeline.
// You can safely ignore this bit if you use this module with pancake
//
// [replace-imports]
/**
* All different kind of button options
*
@@ -0,0 +1,11 @@
//sass-versioning
@import '../../../core/node_modules/sass-versioning/dist/_index.scss';
//dependencies
@import '../../../core/lib/sass/_module.scss';
//this module
@import '../../lib/sass/_module.scss';
//version check with sass-versioning
@include versioning-check();
@@ -1,17 +1,8 @@
//sass-versioning
@import '../../../core/node_modules/sass-versioning/dist/_index.scss';
//dependencies
@import '../../../core/lib/sass/_module.scss';
@import '../../src/sass/_dependencies.scss';
//testing includes
// @import '../../../body/lib/sass/_module.scss';
//this module
@import '_module.scss';
//styling all test files
@import '../../../../.templates/test-assets/_style.scss';
//version check with sass-versioning
@include versioning-check();
@@ -11,6 +11,11 @@ import React from 'react';
import PropTypes from 'prop-types';
// The following line will be replaced automatically with generic imports for the ES5 pipeline.
// You can safely ignore this bit if you use this module with pancake
//
// [replace-imports]
/**
* Default callout
*
@@ -0,0 +1,11 @@
//sass-versioning
@import '../../../core/node_modules/sass-versioning/dist/_index.scss';
//dependencies
@import '../../../core/lib/sass/_module.scss';
//this module
@import '../../lib/sass/_module.scss';
//version check with sass-versioning
@include versioning-check();
@@ -1,17 +1,8 @@
//sass-versioning
@import '../../../core/node_modules/sass-versioning/dist/_index.scss';
//dependencies
@import '../../../core/lib/sass/_module.scss';
@import '../../src/sass/_dependencies.scss';
//testing includes
@import '../../../body/lib/sass/_module.scss';
//this module
@import '_module.scss';
//styling all test files
@import '../../../../.templates/test-assets/_style.scss';
//version check with sass-versioning
@include versioning-check();
@@ -11,6 +11,11 @@ import React from 'react';
import PropTypes from 'prop-types';
// The following line will be replaced automatically with generic imports for the ES5 pipeline.
// You can safely ignore this bit if you use this module with pancake
//
// [replace-imports]
/**
* The checkbox component
*
@@ -0,0 +1,11 @@
//sass-versioning
@import '../../../core/node_modules/sass-versioning/dist/_index.scss';
//dependencies
@import '../../../core/lib/sass/_module.scss';
//this module
@import '../../lib/sass/_module.scss';
//version check with sass-versioning
@include versioning-check();
@@ -1,17 +1,8 @@
//sass-versioning
@import '../../../core/node_modules/sass-versioning/dist/_index.scss';
//dependencies
@import '../../../core/lib/sass/_module.scss';
@import '../../src/sass/_dependencies.scss';
//testing includes
// @import '../../../body/lib/sass/_module.scss';
//this module
@import '_module.scss';
//styling all test files
@import '../../../../.templates/test-assets/_style.scss';
//version check with sass-versioning
@include versioning-check();
@@ -0,0 +1,11 @@
//sass-versioning
@import '../../../core/node_modules/sass-versioning/dist/_index.scss';
//dependencies
// @import '../../../core/lib/sass/_module.scss';
//this module
@import '../../lib/sass/_module.scss';
//version check with sass-versioning
@include versioning-check();
@@ -1,18 +1,12 @@
//sass-versioning
@import '../../../core/node_modules/sass-versioning/dist/_index.scss';
//dependencies
@import '../../src/sass/_dependencies.scss';
//testing includes
//this module
@import '_module.scss';
// @import '../../../body/lib/sass/_module.scss';
//styling all test files
@import '../../../../.templates/test-assets/_style.scss';
//version check with sass-versioning
@include versioning-check();
html {
font-family: $uikit-font-system;
@@ -11,6 +11,11 @@ import React from 'react';
import PropTypes from 'prop-types';
// The following line will be replaced automatically with generic imports for the ES5 pipeline.
// You can safely ignore this bit if you use this module with pancake
//
// [replace-imports]
/**
* DEFAULT
* The cta link component
@@ -0,0 +1,11 @@
//sass-versioning
@import '../../../core/node_modules/sass-versioning/dist/_index.scss';
//dependencies
@import '../../../core/lib/sass/_module.scss';
//this module
@import '../../lib/sass/_module.scss';
//version check with sass-versioning
@include versioning-check();
@@ -1,17 +1,8 @@
//sass-versioning
@import '../../../core/node_modules/sass-versioning/dist/_index.scss';
//dependencies
@import '../../../core/lib/sass/_module.scss';
@import '../../src/sass/_dependencies.scss';
//testing includes
@import '../../../body/lib/sass/_module.scss';
//this module
@import '_module.scss';
//styling all test files
@import '../../../../.templates/test-assets/_style.scss';
//version check with sass-versioning
@include versioning-check();
Oops, something went wrong.

0 comments on commit 42e4459

Please sign in to comment.