Skip to content

Commit

Permalink
feat(theme): add new List and Infinite List components (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg authored and nnixaa committed Aug 1, 2018
1 parent e1863ec commit a07c78c
Show file tree
Hide file tree
Showing 38 changed files with 1,928 additions and 5 deletions.
352 changes: 352 additions & 0 deletions docs/assets/data/news.json

Large diffs are not rendered by default.

46 changes: 46 additions & 0 deletions docs/assets/images/components/infinite-scroll.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions docs/assets/images/components/list.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 13 additions & 1 deletion docs/structure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,11 +327,23 @@ export const structure = [
'NbAccordionItemBodyComponent',
],
},
{
type: 'tabs',
name: 'List',
icon: 'list.svg',
source: [ 'NbListComponent', 'NbListItemComponent' ],
},
{
type: 'tabs',
name: 'Infinite List',
icon: 'infinite-scroll.svg',
source: [ 'NbInfiniteListDirective', 'NbListPageTrackerDirective' ],
},
{
type: 'tabs',
name: 'Input',
icon: 'input.svg',
source: ['NbInputDirective'],
source: [ 'NbInputDirective' ],
},
],
},
Expand Down
3 changes: 3 additions & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ module.exports = function (config) {
environment: 'dev'
},
reporters: ['spec', 'kjhtml'],
specReporter: {
suppressSkipped: true,
},
port: 9876,
browserNoActivityTimeout : 60000,
colors: true,
Expand Down
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"docsearch.js": "^2.5.2",
"gulp-bump": "2.7.0",
"highlight.js": "9.12.0",
"intersection-observer": "0.5.0",
"ionicons": "2.0.1",
"jasmine-fail-fast": "2.0.0",
"leaflet": "1.0.3",
Expand Down
1 change: 1 addition & 0 deletions scripts/gulp/tasks/bundle/rollup-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const ROLLUP_GLOBALS = {
'rxjs/operators': 'Rx.operators',

// 3rd party dependencies
'intersection-observer': 'intersection-observer',

// @nebular dependencies
'@nebular/theme': 'nb.theme',
Expand Down
Loading

0 comments on commit a07c78c

Please sign in to comment.