Skip to content

Commit

Permalink
feat(ui): calendar/datepicker components add
Browse files Browse the repository at this point in the history
  • Loading branch information
32penkin committed Sep 27, 2019
1 parent d35c244 commit a51159c
Show file tree
Hide file tree
Showing 71 changed files with 6,236 additions and 661 deletions.
3 changes: 3 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ const moduleAliases = {
'@kitten/theme': path.resolve(__dirname, './src/framework'),
'@kitten/ui': path.resolve(__dirname, './src/framework'),
'@ui-kitten/eva-icons': path.resolve(__dirname, './src/eva-icons'),
'@ui-kitten/moment': path.resolve(__dirname, './src/moment'),
'@ui-kitten/date-fns': path.resolve(__dirname, './src/date-fns'),
};

const moduleResolverConfig = {
Expand All @@ -31,3 +33,4 @@ module.exports = function(api) {

return { presets, plugins };
};

46 changes: 21 additions & 25 deletions docs/src/assets/images/components/calendar.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/assets/images/overview/calendar.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions docs/src/structure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,62 @@ export const structure = [
},
],
},
{
type: 'tabs',
name: 'Calendar',
icon: 'calendar.svg',
source: [
'Calendar',
],
overview: [
{
name: 'Calendar',
images: ['calendar.png'],
},
],
},
{
type: 'tabs',
name: 'RangeCalendar',
icon: 'calendar.svg',
source: [
'RangeCalendar',
],
overview: [
{
name: 'RangeCalendar',
images: ['calendar.png'],
},
],
},
{
type: 'tabs',
name: 'Datepicker',
icon: 'calendar.svg',
source: [
'Datepicker',
],
overview: [
{
name: 'Datepicker',
images: ['calendar.png'],
},
],
},
{
type: 'tabs',
name: 'RangeDatepicker',
icon: 'calendar.svg',
source: [
'RangeDatepicker',
],
overview: [
{
name: 'RangeDatepicker',
images: ['calendar.png'],
},
],
},
{
type: 'tabs',
name: 'Radio',
Expand Down

0 comments on commit a51159c

Please sign in to comment.