Skip to content

Commit 043356c

Browse files
committed
Run formatting
1 parent c9eb1ed commit 043356c

File tree

520 files changed

+4978
-2857
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

520 files changed

+4978
-2857
lines changed

build.sbt

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
lazy val root =
2-
if (ProjectSettings.isDemoEnabled)
3-
project.in(file(".")).aggregate(core, icons, lab, bridge, demo).configure(ProjectSettings.rootProfile)
4-
else
5-
project.in(file(".")).aggregate(core, icons, lab, bridge).configure(ProjectSettings.rootProfile)
2+
if (ProjectSettings.isDemoEnabled) project
3+
.in(file("."))
4+
.aggregate(core, icons, lab, bridge, demo)
5+
.configure(ProjectSettings.rootProfile)
6+
else project
7+
.in(file("."))
8+
.aggregate(core, icons, lab, bridge)
9+
.configure(ProjectSettings.rootProfile)
610

711
lazy val core = project
812
.in(file("core"))
@@ -51,9 +55,6 @@ inThisBuild(
5155
)
5256
// format: on
5357

54-
onLoad in Global := (
55-
"project bridge" ::
56-
"bridgeImplicitsGenerator" ::
57-
"project root" ::
58-
(_: State)
59-
) compose (onLoad in Global).value
58+
onLoad in Global :=
59+
("project bridge" :: "bridgeImplicitsGenerator" :: "project root" :: (_: State))
60+
.compose((onLoad in Global).value)

core/src/main/scala/io/kinoplan/scalajs/react/material/ui/core/MuiAppBar.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ object MuiAppBar extends ReactBridgeComponent with MuiAppBarExtensions {
2121
elevation: js.UndefOr[Int] = js.undefined,
2222
square: js.UndefOr[Boolean] = js.undefined
2323
): WithProps = auto
24+
2425
}
2526

2627
trait MuiAppBarExtensions {
28+
2729
object Color extends Enumeration {
2830
type Value = String
2931

@@ -56,4 +58,5 @@ trait MuiAppBarExtensions {
5658
val colorPrimary = "colorPrimary"
5759
val colorSecondary = "colorSecondary"
5860
}
61+
5962
}

core/src/main/scala/io/kinoplan/scalajs/react/material/ui/core/MuiAvatar.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,17 @@ object MuiAvatar extends ReactBridgeComponent with MuiAvatarExtensions {
1717
component: js.UndefOr[ComponentPropType] = js.undefined,
1818
imgProps: js.UndefOr[js.Object] = js.undefined
1919
): WithProps = auto
20+
2021
}
2122

2223
trait MuiAvatarExtensions {
24+
2325
object ClassKey extends Enumeration {
2426
type Value = String
2527

2628
val root = "root"
2729
val colorDefault = "colorDefault"
2830
val img = "img"
2931
}
32+
3033
}

core/src/main/scala/io/kinoplan/scalajs/react/material/ui/core/MuiBackdrop.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,21 @@ object MuiBackdrop extends ReactBridgeComponent with MuiBackdropExtensions {
1414
object RawComponent extends js.Function
1515

1616
def apply(
17-
classes:js.UndefOr[Map[ClassKey.Value, String]] = js.undefined,
17+
classes: js.UndefOr[Map[ClassKey.Value, String]] = js.undefined,
1818
invisible: js.UndefOr[Boolean] = js.undefined,
1919
open: Boolean,
2020
transitionDuration: js.UndefOr[Int | js.Object] = js.undefined
2121
): WithPropsNoChildren = autoNoChildren
22+
2223
}
2324

2425
trait MuiBackdropExtensions {
26+
2527
object ClassKey extends Enumeration {
2628
type Value = String
2729

2830
val root = "root"
2931
val invisible = "invisible"
3032
}
33+
3134
}

core/src/main/scala/io/kinoplan/scalajs/react/material/ui/core/MuiBadge.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,19 @@ object MuiBadge extends ReactBridgeComponent with MuiBadgeExtensions {
1616

1717
def apply(
1818
badgeContent: js.UndefOr[VdomNode] = js.undefined,
19-
classes: js.UndefOr[Map[ClassKey.Value, String]] =js.undefined,
19+
classes: js.UndefOr[Map[ClassKey.Value, String]] = js.undefined,
2020
color: js.UndefOr[Color.Value] = js.undefined,
2121
component: js.UndefOr[ComponentPropType] = js.undefined,
2222
invisible: js.UndefOr[Boolean] = js.undefined,
2323
max: js.UndefOr[Int] = js.undefined,
2424
showZero: js.UndefOr[Boolean] = js.undefined,
2525
variant: js.UndefOr[Variant.Value] = js.undefined
2626
): WithProps = auto
27+
2728
}
2829

2930
trait MuiBadgeExtensions {
31+
3032
object Color extends Enumeration {
3133
type Value = String
3234

@@ -54,4 +56,5 @@ trait MuiBadgeExtensions {
5456
val invisible = "invisible"
5557
val dot = "dot"
5658
}
59+
5760
}

core/src/main/scala/io/kinoplan/scalajs/react/material/ui/core/MuiBottomNavigation.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,15 @@ object MuiBottomNavigation extends ReactBridgeComponent with MuiBottomNavigation
2020
onChange: js.UndefOr[ReactHandler2[ReactEvent, js.Any]] = js.undefined,
2121
showLabels: js.UndefOr[Boolean] = js.undefined
2222
): WithProps = auto
23+
2324
}
2425

2526
trait MuiBottomNavigationExtensions {
27+
2628
object ClassKey extends Enumeration {
2729
type Value = String
2830

2931
val root = "root"
3032
}
33+
3134
}

core/src/main/scala/io/kinoplan/scalajs/react/material/ui/core/MuiBottomNavigationAction.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ object MuiBottomNavigationAction extends ReactBridgeComponent with MuiBottomNavi
3030
onFocusVisible: js.UndefOr[js.Function] = js.undefined,
3131
TouchRippleProps: js.UndefOr[js.Object] = js.undefined
3232
): WithProps = auto
33+
3334
}
3435

3536
trait MuiBottomNavigationActionExtensions {
37+
3638
object ClassKey extends Enumeration {
3739
type Value = String
3840

@@ -44,4 +46,5 @@ trait MuiBottomNavigationActionExtensions {
4446
val disabled = "disabled"
4547
val focusVisible = "focusVisible"
4648
}
49+
4750
}

core/src/main/scala/io/kinoplan/scalajs/react/material/ui/core/MuiButton.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ object MuiButton extends ReactBridgeComponent with MuiButtonExtensions {
3131
onFocusVisible: js.UndefOr[js.Function] = js.undefined,
3232
TouchRippleProps: js.UndefOr[js.Object] = js.undefined
3333
): WithProps = auto
34+
3435
}
3536

3637
trait MuiButtonExtensions {
38+
3739
object Color extends Enumeration {
3840
type Value = String
3941

@@ -93,4 +95,5 @@ trait MuiButtonExtensions {
9395
val sizeLarge = "sizeLarge"
9496
val fullWidth = "fullWidth"
9597
}
98+
9699
}

core/src/main/scala/io/kinoplan/scalajs/react/material/ui/core/MuiButtonBase.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,17 @@ object MuiButtonBase extends ReactBridgeComponent with MuiButtonBaseExtensions {
2525
onFocusVisible: js.UndefOr[js.Function] = js.undefined,
2626
TouchRippleProps: js.UndefOr[js.Object] = js.undefined
2727
): WithProps = auto
28+
2829
}
2930

3031
trait MuiButtonBaseExtensions {
32+
3133
object ClassKey extends Enumeration {
3234
type Value = String
3335

3436
val root = "root"
3537
val disabled = "disabled"
3638
val focusVisible = "focusVisible"
3739
}
40+
3841
}

core/src/main/scala/io/kinoplan/scalajs/react/material/ui/core/MuiCard.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ object MuiCard extends ReactBridgeComponent with MuiCardExtensions {
2020
elevation: js.UndefOr[Int] = js.undefined,
2121
square: js.UndefOr[Boolean] = js.undefined
2222
): WithPropsNoChildren = autoNoChildren
23+
2324
}
2425

2526
trait MuiCardExtensions {
27+
2628
object ClassKey extends Enumeration with PaperClassKey {
2729
type Value = String
2830
}
31+
2932
}

0 commit comments

Comments
 (0)