Skip to content
This repository was archived by the owner on Nov 19, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
533 commits
Select commit Hold shift + click to select a range
4e766b1
[fix]Add toString method
subroh0508 Jun 24, 2019
f99ba0d
v0.1.15
subroh0508 Jun 26, 2019
59c77f2
v0.1.16(Update libraries)
subroh0508 Jul 23, 2019
dc7ade9
[fix]Fix wrong library version
subroh0508 Jul 25, 2019
7e2730e
v0.1.17
subroh0508 Jul 25, 2019
a8f167d
[update]Update Gradle version 4.4 -> 5.3.1
subroh0508 Jul 28, 2019
8b4729d
[add]Add buildSrc module
subroh0508 Jul 28, 2019
9fd9afd
[edit]Change scripts Groovy to Kotlin DSL
subroh0508 Jul 28, 2019
da7add9
[edit]Delete comment
subroh0508 Jul 28, 2019
debce9c
v0.2.0
subroh0508 Jul 28, 2019
80d15ce
[edit]Add a badge to README.md
subroh0508 Jul 28, 2019
9b46466
[update]Update Kotlin -> 1.3.50
subroh0508 Aug 23, 2019
5e7a703
[edit]nodejs() -> browser()
subroh0508 Aug 23, 2019
952ec61
v0.2.3
subroh0508 Aug 23, 2019
00ccf6a
[add]Add webpackTask settings
subroh0508 Aug 23, 2019
7abd624
[update]Update Kotlin -> 1.3.60
subroh0508 Dec 19, 2019
87ed4ed
[edit]archiveFileName -> outputFileName
subroh0508 Dec 19, 2019
1bdf9ab
[update]Gradle -> 6.0.1
subroh0508 Dec 19, 2019
ef2f166
Merge pull request #3 from subroh0508/update-kotlin-1.3.60
subroh0508 Dec 19, 2019
1fce0d1
[edit]Add .idea/artifacts to .gitignore
subroh0508 Dec 19, 2019
1b1984f
v0.2.4
subroh0508 Dec 19, 2019
6c55fd3
[fix]Fix duplicated dependency(fix #8)
subroh0508 Dec 24, 2019
3a304ef
[fix]Remove settings.gradle.kts in sub-modules(fix #4)
subroh0508 Jan 7, 2020
60ff28b
[fix]Fix library dependencies
subroh0508 Jan 15, 2020
b6c13d0
v0.2.5
subroh0508 Jan 15, 2020
2f791e2
v0.2.6
subroh0508 Jan 15, 2020
5cd189b
[update]Update Material-UI -> 4.8.3
subroh0508 Jan 15, 2020
ac01ccd
[fix]Fix spacing.unit property -> spacing function
subroh0508 Jan 26, 2020
4ae09c7
[fix]Remove color property from TypographyStyle
subroh0508 Jan 26, 2020
4bf0efe
[fix]Rename MuiThemeProvider -> ThemeProvider
subroh0508 Jan 26, 2020
0f1f26e
[fix]Fix spacing function
subroh0508 Jan 26, 2020
5307ce1
[update]Update Kotlin -> 1.3.70 / React -> 16.13.0
subroh0508 Mar 20, 2020
d8d50d4
v0.2.7
subroh0508 Mar 20, 2020
1a75f7b
Merge remote-tracking branch 'remotes/origin/master' into update-mate…
subroh0508 Mar 20, 2020
df27f84
[update]Update Material-UI -> 4.9.6
subroh0508 Mar 20, 2020
b124020
[fix]Fix spacing function(one argument)
subroh0508 Mar 20, 2020
3e5189b
[fix]Fix Grid spacing 0..10
subroh0508 Mar 20, 2020
9fcaceb
[fix]Fix CardActions
subroh0508 Mar 20, 2020
515c155
[fix]Fix DialogActions
subroh0508 Mar 20, 2020
5ed4e39
[fix]Fix Divider
subroh0508 Mar 20, 2020
c278395
[fix]Fix ExpansionPanel / ExpansionPanelActions
subroh0508 Mar 20, 2020
28a8f58
[fix]Fix SwitchStyle
subroh0508 Mar 20, 2020
2f5d7a9
[fix]Fix SvgIcon
subroh0508 Mar 20, 2020
06d1dee
[fix]Fix Tab
subroh0508 Mar 20, 2020
6eb9f58
[fix]Fix TableCell
subroh0508 Mar 20, 2020
727de29
[fix]Fix InputLabel
subroh0508 Mar 20, 2020
d23a93d
[fix]Fix InputBase
subroh0508 Mar 20, 2020
ef7accd
[fix]Fix Typography
subroh0508 Mar 20, 2020
615e1c0
[fix]Fix index.html
subroh0508 Mar 20, 2020
c2a4c10
[fix]Fix sample
subroh0508 Mar 20, 2020
cdfabc0
Merge pull request #9 from subroh0508/update-material-ui-v4
subroh0508 Mar 20, 2020
5b9db3e
v0.3.0
subroh0508 Mar 20, 2020
3817533
[add]Add makeStyles method
subroh0508 Mar 31, 2020
aaa4dae
v0.3.1
subroh0508 Mar 31, 2020
068446b
[fix]Fix Minxins properties number to number.px
subroh0508 Apr 3, 2020
67243cf
v0.3.2
subroh0508 Apr 3, 2020
ac59e20
[add]Add AlertElementBuilder and support methods
subroh0508 Apr 4, 2020
bbb5b74
[add]Add :lab module
subroh0508 Apr 4, 2020
074e876
[edit]Move AlertElementBuilder to :lab module
subroh0508 Apr 4, 2020
bac4087
[Add]Add AlertTitle
subroh0508 Apr 4, 2020
6392960
[fix]Fix method name
subroh0508 Apr 4, 2020
9f9058b
[fix]Add onClose property to AlertProps
subroh0508 Apr 4, 2020
534f511
[update]Update Material-UI -> 4.9.8
subroh0508 Apr 4, 2020
b27c0db
Core: v0.3.3 / Lab: v0.3.0
subroh0508 Apr 4, 2020
bc072d7
[edit]Update README.md
subroh0508 Apr 4, 2020
ddd289a
[edit]Update README.md
subroh0508 Apr 4, 2020
5b4b05c
[fix]Fix README.md
subroh0508 Apr 5, 2020
349daac
[add]Add ButtonGroup
oxc Apr 4, 2020
adcd5df
[add]Add Skeleton
oxc Apr 5, 2020
b2045a1
Merge pull request #10 from oxc/buttongroup
subroh0508 Apr 6, 2020
8d9493e
Merge pull request #11 from oxc/skeleton
subroh0508 Apr 6, 2020
085dc33
[fix]Fix warning of sample(fixes #6, #7)
subroh0508 Apr 6, 2020
3947655
[add]Add withStyles function that returns a RClass
oxc Apr 6, 2020
0b77d26
Merge pull request #12 from oxc/withStyles
subroh0508 Apr 6, 2020
289db7e
[fix]Fix withStyles with RPureComponent
oxc Apr 6, 2020
5af15be
Merge pull request #13 from oxc/withStyles_component
subroh0508 Apr 7, 2020
ecc09e8
Core: v0.3.4 / Lab: v0.3.1
subroh0508 Apr 8, 2020
80a860c
Deprecate childWithStyles
oxc Apr 13, 2020
9a04e8b
Merge pull request #14 from oxc/deprecate_childWithStyles
subroh0508 Apr 14, 2020
cccfc3f
[fix]Update button props/styles
oxc Apr 14, 2020
b2dabc3
Merge pull request #15 from oxc/fix_button
subroh0508 Apr 15, 2020
a6739f3
[add]add makeStyles with props argument
subroh0508 Apr 16, 2020
aa60365
[edit]Change StylesBuilder receiving lambda
subroh0508 Apr 16, 2020
b1b3dad
[delete]Delete StylesSet interface
subroh0508 Apr 16, 2020
b6f0745
[edit]Remove internal from StylesBuilder#css property
subroh0508 Apr 16, 2020
7b57432
v0.3.6
subroh0508 Apr 16, 2020
649ed66
[fix] Fix buttons demo (remove outdated import)
oxc Apr 18, 2020
be58c88
[update]Update Kotlin -> 1.3.72
subroh0508 Apr 19, 2020
c699ddb
Merge pull request #16 from oxc/fix_buttons_demo
subroh0508 Apr 19, 2020
3152fad
v0.3.7
subroh0508 Apr 19, 2020
23ef3ef
[update]Update to wrapper pre.98
oxc Apr 19, 2020
b3f6709
[change]Use KClass.rClass in withStyles
oxc Apr 19, 2020
b517593
[fix]Update typography to latest version
oxc Apr 19, 2020
d0fc660
[add]Add convenience functions for typography h1-h6
oxc Apr 19, 2020
93d4f5c
[edit]Add edge property to IconButtonProps
subroh0508 Apr 20, 2020
368d725
[add]Add useMediaQuery function
subroh0508 Apr 20, 2020
85b4d6d
Merge pull request #18 from oxc/kotlin_wrappers_pre98
subroh0508 Apr 20, 2020
76c5105
Merge pull request #19 from oxc/typography
subroh0508 Apr 20, 2020
225b278
[update]Update kotlin-wrappers -> pre.100
subroh0508 Apr 20, 2020
6075553
v0.3.9
subroh0508 Apr 20, 2020
147a797
[fix]Fix Transitions#create method
subroh0508 Apr 23, 2020
6795853
[fix]Move parsing transitions method to TransitionsDelegate
subroh0508 Apr 23, 2020
2e413f4
v0.3.10
subroh0508 Apr 23, 2020
0ee6098
[add]Add useTheme
subroh0508 Apr 26, 2020
b624143
v0.3.11
subroh0508 Apr 26, 2020
72384e7
[add]Add Container component
subroh0508 Apr 26, 2020
a023373
v0.3.12
subroh0508 Apr 26, 2020
603c88b
[edit]Enable classes property on CssBaseline
subroh0508 Apr 27, 2020
38c576e
Revert "[edit]Enable classes property on CssBaseline"
subroh0508 Apr 27, 2020
fa1f91c
[edit]Enable setting global styles
subroh0508 Apr 27, 2020
11ecec1
v0.3.13
subroh0508 Apr 27, 2020
388afda
implemented breadcrumbs wrapper
zole40 Mar 9, 2020
67895db
added missing Divider properties
zole40 Mar 12, 2020
b2b8ee0
Implemented TreeView and TreeItem wrappers
zole40 Mar 12, 2020
cc25853
Added align to grid, added new anchorEl tag to Popover
zole40 Mar 18, 2020
868aeb7
created Alert components
zole40 Apr 20, 2020
ba37d86
fixed alert tag
zole40 Apr 28, 2020
582de74
fixed requested changes https://github.com/subroh0508/kotlin-material…
zole40 Apr 28, 2020
a89b402
reverted PopoverElementBuilder.kt changes
zole40 Apr 28, 2020
7424c69
[add]Add :pickers module
subroh0508 Apr 30, 2020
51990cc
[fix]Fix Link component P to A
subroh0508 Apr 30, 2020
e6d6c25
[edit]Add focusVisible entry
subroh0508 Apr 30, 2020
650fbf0
v0.3.14
subroh0508 Apr 30, 2020
1bceaa6
fixed requested changes https://github.com/subroh0508/kotlin-material…
zole40 Apr 30, 2020
959de8c
fixed ElementBuilders
zole40 Apr 30, 2020
93ef85b
clear imports
zole40 Apr 30, 2020
23d4b45
Merge pull request #22 from zole40/Contribution
subroh0508 May 1, 2020
74bbd47
[edit]Add property setter extension method to TreeViewElementBuilder
subroh0508 May 3, 2020
8b6ff16
[edit]Add property setter extension method to TreeItemElementBuilder
subroh0508 May 3, 2020
bf8a5aa
[edit]Add property setter extension method to BreadcrumbsElementBuilder
subroh0508 May 3, 2020
2d52927
v0.3.15
subroh0508 May 3, 2020
e0eb798
[update]Update kotlin-wrappers -> pre.104
oxc May 4, 2020
57f7c14
Merge pull request #23 from oxc/kotlin_wrappers_pre104
subroh0508 May 4, 2020
478dd3b
[add]Create BasePickerProps and BasePickerElementBuilder
subroh0508 May 4, 2020
7631c30
[add]Add Tag extension properties to BasePickerElementBuilder
subroh0508 May 4, 2020
aa63a7b
[add]Add date-io modules
subroh0508 May 5, 2020
2ceaf80
[add]Add pickers:date-io:core module
subroh0508 May 5, 2020
e738022
[add]Add DateIOFormats and IUtils by external interface
subroh0508 May 5, 2020
f32a874
[edit]Move :date-io:core -> :date-io
subroh0508 May 5, 2020
2f6534c
[add]Add DateFnsUtils
subroh0508 May 5, 2020
f50c07c
v0.3.16
subroh0508 May 5, 2020
bf05f00
[add]Add LocalizationProviderBuilder
subroh0508 May 6, 2020
1faad7e
[add]Add MobileDatePickerElementBuilder
subroh0508 May 6, 2020
19f2505
Merge branch 'master' into add-material-ui-pickers-support
subroh0508 May 6, 2020
dc73b8b
[edit]Add DateValidationProps and fix accessing LocalizationProvider
subroh0508 May 6, 2020
b6812ac
[add]Add StaticWrapperElementBuilder
subroh0508 May 6, 2020
2b81c78
[add]Add DesktopDatePickerElementBuilder
subroh0508 May 6, 2020
9e4308b
[add]Add DatePickerElementBuilder
subroh0508 May 6, 2020
16d49ba
[add]Add DateInputProps/ArrowSwitcherElement/CalendarElement
subroh0508 May 6, 2020
3d6cf58
[edit]Change BasePickerElementBuilder inherited RElementBuilder
subroh0508 May 6, 2020
dd3f4ab
[add]Add CalendarElementBuilder
subroh0508 May 6, 2020
d85b162
[edit]Change second argument Array<String> -> dynamic onNodeSelect(fi…
subroh0508 May 9, 2020
9c29b8c
[edit]Divide TreeViewElementBuilder to SingleSelect/MultiSelect(fix #24)
subroh0508 May 9, 2020
88ed1ad
[Add]Add SliderElementBuilder(fix #26)
subroh0508 May 11, 2020
0764487
[add]Add ClockViewElementBuilder
subroh0508 May 14, 2020
2a42685
[Add]Add TimePickerElementBuilders
subroh0508 May 14, 2020
632859e
[add]Add SharedPickerProps' properties to BasePickerProps
subroh0508 May 14, 2020
3455734
[fix](var|fun) Tag. -> (var|fun) RProps
subroh0508 May 14, 2020
393820a
[add]Add DateTimePickerElementBuilders
subroh0508 May 14, 2020
c480584
[edit]Inherit TextFieldProps of BasePickerProps
subroh0508 May 15, 2020
5f08f5d
[edit]Remove unnecessary extension properties
subroh0508 May 15, 2020
6a3926a
v0.3.17
subroh0508 May 16, 2020
e1d001d
[Add]Add DateRangePickerElementBuilders
subroh0508 May 17, 2020
fed6763
[edit]datePicker -> dateRangePicker
subroh0508 May 17, 2020
a6ef386
[Add]Add dateRangeDelimiter
subroh0508 May 17, 2020
1f32924
[update]Update Material-UI -> 4.9.14 / Material-UI-Pickers -> 4.0.0-a…
subroh0508 May 17, 2020
72c6ecb
[edit]Change renderInput used buildElement -> buildElements
subroh0508 May 17, 2020
f70d939
[edit]Add props method to MaterialElementBuilder
subroh0508 May 17, 2020
d2a2764
[Add]Add DayElementBuilder
subroh0508 May 17, 2020
a1c1ff7
[edit]Remove unnecessary extension method
subroh0508 May 17, 2020
97f8aca
Merge pull request #29 from subroh0508/add-material-ui-pickers-support
subroh0508 May 17, 2020
0068acb
[edit]Fix bintray.gradle
subroh0508 May 17, 2020
d3050be
v0.4.0
subroh0508 May 17, 2020
6d04a7e
[edit]Aggregate @JsModule to imports.kt
subroh0508 May 30, 2020
737a7ef
[edit]Change Spacing to dynamic
subroh0508 May 30, 2020
0443a75
[revert]Revert main.kt
subroh0508 May 30, 2020
1d048d5
[edit]Aggregate @JsModule to imports.kt(styles)
subroh0508 May 30, 2020
9f820b4
[edit]Replace [a-zA-Z]+Component to [a-zA-Z]+ defined imports.kt
subroh0508 May 30, 2020
89fbd2b
[edit]Replace style methods to raw style method in imports.kt
subroh0508 May 30, 2020
5927e62
[edit]Replace ThemeProvider to imports.kt
subroh0508 May 31, 2020
63fa62d
[update]Update @material-ui/core -> v4.10.0
subroh0508 May 31, 2020
4d84574
v0.4.1
subroh0508 May 31, 2020
57e68cb
[edit]add warning/info/success property to Palette
subroh0508 Jun 3, 2020
c181bc6
v0.4.2
subroh0508 Jun 3, 2020
e6bc8b3
[add]Add ToggleButtonElementBuilder(fix #30)
subroh0508 Jun 14, 2020
d758431
[add]Add ToggleButtonGroupElementBuilder(fix #30)
subroh0508 Jun 14, 2020
71eabcf
v0.4.3
subroh0508 Jun 28, 2020
c4b64a7
update to more recent wrapper builds.
nikanorov Jun 29, 2020
39c76cf
bump gradle version to support JDK14
nikanorov Jun 29, 2020
ef642aa
Merge pull request #31 from nikanorov/master
subroh0508 Jun 30, 2020
6d0127f
v0.4.4
subroh0508 Jul 4, 2020
56649f1
[update]Update Material-UI -> v4.11.0
subroh0508 Aug 1, 2020
f30eb2c
[update]Update kotlin-wrappers -> pre.110
subroh0508 Aug 8, 2020
561a46c
v0.4.5
subroh0508 Aug 9, 2020
eb3db96
[update]Update Kotlin -> 1.4.0
subroh0508 Aug 18, 2020
548b983
[fix]Add external modifier
subroh0508 Aug 18, 2020
8b412f2
v0.5.0-beta1
subroh0508 Aug 18, 2020
328ffc0
[edit]Change IR backend IR -> BOTH
subroh0508 Aug 20, 2020
42381bd
[edit]Add @JsNonModule annotation
subroh0508 Aug 20, 2020
1516d04
Merge pull request #32 from subroh0508/kotlin-1.4.0
subroh0508 Aug 20, 2020
d689ab1
v0.5.0-beta2
subroh0508 Sep 3, 2020
9956cc5
[update]Update bintray-plugin -> 1.8.5
subroh0508 Sep 3, 2020
76f8faa
[add]Add maven-publishing.gradle.kts
subroh0508 Sep 3, 2020
b2c7e16
[edit]Replace plugins `maven-publish`/id("com.jfrog.bintray") -> id("…
subroh0508 Sep 3, 2020
d2af170
[edit]Fix maven-publishing.gradle.kts for publishToMavenLocal success…
subroh0508 Sep 3, 2020
9cfd49a
[edit]Aggregate JS target settings to root/build.gradle.kts
subroh0508 Sep 3, 2020
9c3cca7
[delete]Delete comment out codes
subroh0508 Sep 5, 2020
708fc73
[delete]Delete bintray.gradle
subroh0508 Sep 5, 2020
3bff64e
[add]Add bintray-metadata.gradle.kts
subroh0508 Sep 5, 2020
d7015e7
[edit]Enable :sample module
subroh0508 Sep 6, 2020
074bff3
v0.5.0-beta3
subroh0508 Sep 6, 2020
c7a0b66
[update]Update Gradle -> 6.6
subroh0508 Sep 6, 2020
7ef0963
[edit]Delete unnecessary codes of build.gradle.kts
subroh0508 Sep 6, 2020
243b5a0
[fix]dayjs -> luxon
subroh0508 Sep 6, 2020
a7f2225
[edit]Rename groupId "subroh0508.net.kotlinmaterialui" -> "net.subroh…
subroh0508 Sep 6, 2020
1992a75
v0.5.0
subroh0508 Sep 6, 2020
73f30e9
[fix]Fix :pickers:date-io artifacts
subroh0508 Sep 16, 2020
24a5cb5
[fix]Fix repoNameSuffix
subroh0508 Sep 16, 2020
b8c92b7
v0.5.1
subroh0508 Sep 16, 2020
5744926
Add the missing GreyType 50
gm666q Sep 24, 2020
266642b
[update]Update kotlin-wrappers -> pre.121 / Kotlin -> 1.4.10
subroh0508 Oct 13, 2020
71da40b
v0.5.2
subroh0508 Oct 13, 2020
ec82519
[update]Update kotlin-wrappers -> pre.124
subroh0508 Oct 13, 2020
ad6f0a0
v0.5.3
subroh0508 Oct 13, 2020
7aff0de
Merge pull request #35 from gm666q/feature/grey-type
subroh0508 Oct 25, 2020
a5e2bdc
EFLUX-37 - Data and time input
lucgirardin Nov 13, 2020
0953b5e
Add autocomplete component
hamed-sb Nov 24, 2020
4142dbb
Add StyleProvider component
hamed-sb Nov 24, 2020
5c54190
[edit]add staticStyle to StylesBuilder
hamed-sb Nov 25, 2020
98be205
[edit]add same missing options
hamed-sb Nov 25, 2020
0c06910
[update]Update Kotlin -> 1.4.21 / kotlin-wrappers -> pre.132
subroh0508 Dec 19, 2020
24105d6
Merge remote-tracking branch 'origin/master'
subroh0508 Dec 19, 2020
7245358
v0.5.4
subroh0508 Dec 19, 2020
b958ac1
add autocomplete sample
hamed-sb Dec 25, 2020
a526e75
fix flip (jss property)
hamed-sb Dec 25, 2020
a1826e4
JetPack Compose 0.3.0-build139 (streamlined)
lucgirardin Jan 6, 2021
06787e4
Update from upstream
lucgirardin Feb 6, 2021
f2e330f
Kotlin 1.4.30
lucgirardin Feb 6, 2021
c5f4cd3
Material-UI update
lucgirardin Feb 6, 2021
14a30ad
publishToMavenLocal
lucgirardin Feb 10, 2021
55c820f
Merge pull request #40 from hamed-sb/master
subroh0508 Feb 21, 2021
f358b5d
[update]Update Kotlin -> 1.4.30
subroh0508 Feb 21, 2021
e78f8e6
[fix]Fix invoke function of StylesBuilder
subroh0508 Feb 21, 2021
d514664
[fix]Fix invoke function of StylesBuilder
subroh0508 Feb 21, 2021
0b5c3e1
Merge pull request #41 from subroh0508/update-kotlin-1.4.30
subroh0508 Feb 21, 2021
d5271ed
v0.5.5
subroh0508 Feb 21, 2021
07938b7
Merge remote-tracking branch 'upstream/master'
lucgirardin Feb 22, 2021
4dfd533
Inverted package path
lucgirardin Feb 22, 2021
cd4f294
Enable publishToMavenLocal
lucgirardin Feb 22, 2021
ce54c43
Gradle 6.8.3
lucgirardin Feb 25, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
# .idea/*.iml
# .idea/modules

.idea/caches
.idea/artifacts

# CMake
cmake-build-*/

Expand Down
11 changes: 11 additions & 0 deletions .idea/compiler.xml

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

50 changes: 50 additions & 0 deletions .idea/jarRepositories.xml

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

6 changes: 6 additions & 0 deletions .idea/kotlinScripting.xml

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

6 changes: 6 additions & 0 deletions .idea/kotlinc.xml

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

8 changes: 7 additions & 1 deletion .idea/misc.xml

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

21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 subroh_0508

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,25 @@
# kotlin-material-ui
Kotlin Wrapper Library of Material-UI

Core: [ ![Download](https://api.bintray.com/packages/subroh0508/maven/Kotlin-Material-UI/images/download.svg) ](https://bintray.com/subroh0508/maven/Kotlin-Material-UI/_latestVersion)

Lab: [ ![Download](https://api.bintray.com/packages/subroh0508/maven/Kotlin-Material-UI-Lab/images/download.svg) ](https://bintray.com/subroh0508/maven/Kotlin-Material-UI-Lab/_latestVersion)

## Installation

```
repositories {
jcenter()
// or maven { url 'https://dl.bintray.com/subroh0508/maven' }
}

dependencies {
implementation "net.subroh0508.kotlinmaterialui:core:${version}"
implementation "net.subroh0508.kotlinmaterialui:lab:${version}"
}
```

## License

This project is licensed under the terms of the
[MIT license](/LICENSE).
24 changes: 0 additions & 24 deletions build.gradle

This file was deleted.

60 changes: 60 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
import org.gradle.api.Project
import org.jetbrains.kotlin.gradle.dsl.KotlinJsCompile
import org.jetbrains.kotlin.gradle.plugin.KotlinJsPluginWrapper
import org.jetbrains.kotlin.gradle.dsl.KotlinJsProjectExtension

group = Packages.group
version = "1.0-SNAPSHOT"

plugins {
kotlin("js") apply false
}

internal val Task.jsOutputDir: File
get() = project.rootProject.buildDir
.resolve("js/packages/${project.name}/kotlin")

internal val Task.jsOutputFileName: String
get() = "${project.name}.js"

val Task.jsOutputFile: String
get() = jsOutputDir.resolve(jsOutputFileName).absolutePath

subprojects {
repositories {
google()
jcenter()
mavenCentral()
maven(url = "https://dl.bintray.com/kotlin/kotlin-eap")
maven(url = "http://dl.bintray.com/kotlin/kotlinx.html")
maven(url = "http://dl.bintray.com/kotlin/kotlin-js-wrappers")
}

if (project.name != "sample") {
jsPlugin()
}
}

fun Project.jsPlugin() {
plugins.withType<KotlinJsPluginWrapper> {
extensions.configure<KotlinJsProjectExtension> {
js(BOTH) {
browser()
}

tasks.withType<KotlinJsCompile>().configureEach {
kotlinOptions {
moduleKind = "commonjs"

if (name == "compileKotlinJs") {
outputFile = jsOutputFile
sourceMapEmbedSources = "always"
sourceMap = true
} else {
sourceMap = false
}
}
}
}
}
}
12 changes: 12 additions & 0 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
plugins {
`kotlin-dsl`
}

repositories {
gradlePluginPortal()
}

dependencies {
implementation(kotlin("gradle-plugin", "1.4.30"))
implementation("com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5")
}
50 changes: 50 additions & 0 deletions buildSrc/src/main/java/Libraries.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
@Suppress("unused")
object Libraries {
object Plugin {
const val kotlinGradle = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Kotlin.version}"
}

const val bintray = "1.8.5"

object Kotlin {
const val version = "1.4.30"
const val wrappersBuild = "pre.148-kotlin-$version"

const val js = "org.jetbrains.kotlin:kotlin-stdlib-js:$version"
const val jsTest = "org.jetbrains.kotlin:kotlin-test-js:$version"

const val reactVersion = "${Npm.react}-$wrappersBuild"
const val react = "org.jetbrains:kotlin-react:$reactVersion"
const val reactDom = "org.jetbrains:kotlin-react-dom:$reactVersion"

const val htmlVersion = "0.7.1"
const val html = "org.jetbrains.kotlinx:kotlinx-html-js:$htmlVersion"

const val cssVersion = "1.0.0-$wrappersBuild"
const val css = "org.jetbrains:kotlin-css-js:$cssVersion"

const val styledVersion = "${Npm.styledComponent}-$wrappersBuild"
const val styled = "org.jetbrains:kotlin-styled:$styledVersion"

const val extensionsVersion = "1.0.1-$wrappersBuild"
const val extensions = "org.jetbrains:kotlin-extensions:$extensionsVersion"
}

object Npm {
const val styledComponent = "5.2.1"
const val inlineStyledPrefixer = "^5.1.2"
const val react = "17.0.1"

const val dateIo = "^2.6.0"
const val dateFns = "^2.12.0"
const val dayjs = "^1.8.16"
const val luxon = "^1.24.1"
const val moment = "^2.25.3"

object MaterialUi {
const val core = "4.11.3"
const val lab = "4.0.0-alpha.57"
const val pickers = "4.0.0-alpha.7"
}
}
}
4 changes: 4 additions & 0 deletions buildSrc/src/main/java/Packages.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
object Packages {
const val group = "net.subroh0508.kotlinmaterialui"
const val version = "0.5.5"
}
21 changes: 21 additions & 0 deletions buildSrc/src/main/java/bintray-metadata.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import org.gradle.api.Project
import org.gradle.api.publish.PublicationArtifact
import org.gradle.api.publish.maven.MavenPublication
import org.gradle.api.publish.maven.internal.artifact.FileBasedMavenArtifact
import java.io.File

tasks.named("bintrayUpload") {
doFirst {
project.extensions
.getByName<PublishingExtension>("publishing")
.publications.withType<MavenPublication>()
.all { artifact(project.moduleArtifact(name)) }
}
}

fun Project.moduleArtifact(publicationName: String): PublicationArtifact =
ModuleArtifact(buildDir.resolve("publications/$publicationName/module.json"))

class ModuleArtifact(moduleFile: File) : FileBasedMavenArtifact(moduleFile) {
override fun getDefaultExtension() = "module"
}
Loading