Skip to content

Commit

Permalink
fix(autocomplete): Autocomplete is not built properly (#117)
Browse files Browse the repository at this point in the history
* fix(autocomplete): Autocomplete is not built properly

* fix(autocomplete): Autocomplete is not built properly
  • Loading branch information
roll314 authored and pimenovoleg committed May 7, 2019
1 parent 3783a05 commit e90199d
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 27 deletions.
1 change: 1 addition & 0 deletions src/dev-app/system-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ System.config({

'@ptsecurity/mosaic': 'dist/packages/mosaic/index.js',

'@ptsecurity/mosaic/autocomplete': 'dist/packages/mosaic/autocomplete/index.js',
'@ptsecurity/mosaic/button': 'dist/packages/mosaic/button/index.js',
'@ptsecurity/mosaic/button-toggle': 'dist/packages/mosaic/button-toggle/index.js',
'@ptsecurity/mosaic/core': 'dist/packages/mosaic/core/index.js',
Expand Down
25 changes: 13 additions & 12 deletions src/lib/core/styles/typography/_all-typography.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
@import './typography';
@import '../alerts';
@import '../badges';
@import '../../../button/button-theme';
@import '../../../autocomplete/autocomplete-theme';
@import '../../../button-toggle/button-toggle-theme';
@import '../../../button/button-theme';
@import '../../../checkbox/checkbox-theme';
@import '../../../datepicker/datepicker-theme';
@import '../../../dropdown/dropdown-theme';
Expand All @@ -12,17 +13,17 @@
@import '../../../list/list-theme';
@import '../../../modal/modal-theme';
@import '../../../navbar/navbar-theme';
@import '../../option/option-theme';
@import '../../../sidepanel/sidepanel-theme';
@import '../../../radio/radio-theme';
@import '../../../select/select-theme';
@import '../../../sidepanel/sidepanel-theme';
@import '../../../tabs/tabs-theme';
@import '../../../tags/tag-theme';
@import '../../../textarea/textarea-theme';
@import '../../../tooltip/tooltip-theme';
@import '../../../toggle/toggle-theme';
@import '../../../tree/tree-theme';
@import '../../../select/select-theme';
@import '../../../tooltip/tooltip-theme';
@import '../../../tree-select/tree-select-theme';
@import '../../../tree/tree-theme';
@import '../../option/option-theme';


@mixin mosaic-typography($config: null) {
Expand All @@ -33,9 +34,10 @@
@include mc-base-typography($config);

@include mc-alert-typography($config);
@include mc-autocomplete-typography($config);
@include mc-badge-typography($config);
@include mc-button-typography($config);
@include mc-button-toggle-typography($config);
@include mc-button-typography($config);
@include mc-checkbox-typography($config);
@include mc-datepicker-typography($config);
@include mc-dropdown-typography($config);
Expand All @@ -46,15 +48,14 @@
@include mc-modal-typography($config);
@include mc-navbar-typography($config);
@include mc-option-typography($config);
@include mc-sidepanel-typography($config);
@include mc-tag-typography($config);
@include mc-radio-typography($config);
@include mc-select-typography($config);
@include mc-sidepanel-typography($config);
@include mc-tabs-typography($config);
@include mc-tag-typography($config);
@include mc-textarea-typography($config);
@include mc-toggle-typography($config);
@include mc-tooltip-typography($config);
@include mc-tree-typography($config);
@include mc-tag-typography($config);
@include mc-select-typography($config);
@include mc-tree-select-typography($config);
@include mc-tree-typography($config);
}
29 changes: 14 additions & 15 deletions src/lib/core/theming/_all-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,50 +2,50 @@
@import '../core';
@import '../styles/badges';
@import '../styles/alerts';
@import '../../button/button-theme';
@import '../../autocomplete/autocomplete-theme';
@import '../../button-toggle/button-toggle-theme';
@import '../../button/button-theme';
@import '../../card/card-theme';
@import '../../checkbox/checkbox-theme';
@import '../../datepicker/datepicker-theme';
@import '../../dropdown/dropdown-theme';
@import '../../form-field/form-field-theme';
@import '../../input/input-theme';
@import '../../icon/icon-theme';
@import '../../input/input-theme';
@import '../../link/link-theme';
@import '../../list/list-theme';
@import '../../modal/modal-theme';
@import '../../navbar/navbar-theme';
@import '../option/option-theme';
@import '../../progress-bar/progress-bar-theme';
@import '../../progress-spinner/progress-spinner-theme';
@import '../../radio/radio-theme';
@import '../../select/select-theme';
@import '../../sidepanel/sidepanel-theme';
@import '../../splitter/splitter-theme';
@import '../../splitter/splitter-theme';
@import '../../tabs/tabs-theme';
@import '../../tags/tag-theme';
@import '../../textarea/textarea-theme';
@import '../../tooltip/tooltip-theme';
@import '../../toggle/toggle-theme';
@import '../../splitter/splitter-theme';
@import '../../sidepanel/sidepanel-theme';
@import '../../tree/tree-theme';
@import '../../tooltip/tooltip-theme';
@import '../../tree-select/tree-select-theme';
@import '../../autocomplete/autocomplete-theme';
@import '../../tree/tree-theme';
@import '../option/option-theme';
@import '../visual/panel-theme';


@mixin mosaic-theme($theme) {

@include mc-core-theme($theme);

@include mc-alert-theme($theme);
@include mc-autocomplete-theme($theme);
@include mc-badge-theme($theme);
@include mc-button-theme($theme);
@include mc-button-toggle-theme($theme);
@include mc-card-theme($theme);
@include mc-checkbox-theme($theme);
@include mc-datepicker-theme($theme);
@include mc-dropdown-theme($theme);
@include mc-checkbox-theme($theme);
@include mc-form-field-theme($theme);
@include mc-icon-theme($theme);
@include mc-input-theme($theme);
Expand All @@ -59,16 +59,15 @@
@include mc-progress-spinner-theme($theme);
@include mc-radio-theme($theme);
@include mc-select-theme($theme);
@include mc-sidepanel-theme($theme);
@include mc-splitter-theme($theme);
@include mc-splitter-theme($theme);
@include mc-tabs-theme($theme);
@include mc-tag-theme($theme);
@include mc-textarea-theme($theme);
@include mc-textarea-theme($theme);
@include mc-toggle-theme($theme);
@include mc-tooltip-theme($theme);
@include mc-textarea-theme($theme);
@include mc-splitter-theme($theme);
@include mc-sidepanel-theme($theme);
@include mc-tree-theme($theme);
@include mc-tree-select-theme($theme);
@include mc-autocomplete-theme($theme);
@include mc-tree-theme($theme);
}
1 change: 1 addition & 0 deletions src/lib/public-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export * from './version';

export * from '@ptsecurity/mosaic/core';

export * from '@ptsecurity/mosaic/autocomplete';
export * from '@ptsecurity/mosaic/button';
export * from '@ptsecurity/mosaic/button-toggle';
export * from '@ptsecurity/mosaic/card';
Expand Down

0 comments on commit e90199d

Please sign in to comment.