Skip to content

Commit

Permalink
v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbanes committed Jan 31, 2024
1 parent 3ea4fa7 commit f5c57fe
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ SONATYPE_HOST=DEFAULT
RELEASE_SIGNING_ENABLED=true

GROUP=dev.chrisbanes.haze
VERSION_NAME=0.5.0-SNAPSHOT
VERSION_NAME=0.5.0

POM_DESCRIPTION=Haze
POM_URL=https://github.com/chrisbanes/haze/
Expand Down
17 changes: 17 additions & 0 deletions haze-materials/api/0.5.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Signature format: 4.0
package dev.chrisbanes.haze.materials {

@kotlin.RequiresOptIn(message="Experimental Haze Materials API", level=kotlin.RequiresOptIn.Level.WARNING) public @interface ExperimentalHazeMaterialsApi {
}

public final class HazeMaterials {
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle regular(optional long containerColor);
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle thick(optional long containerColor);
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle thin(optional long containerColor);
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle ultraThick(optional long containerColor);
method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable @dev.chrisbanes.haze.materials.ExperimentalHazeMaterialsApi public dev.chrisbanes.haze.HazeStyle ultraThin(optional long containerColor);
field public static final dev.chrisbanes.haze.materials.HazeMaterials INSTANCE;
}

}

74 changes: 74 additions & 0 deletions haze/api/0.5.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
// Signature format: 4.0
package dev.chrisbanes.haze {

@androidx.compose.runtime.Stable public final class HazeArea {
ctor public HazeArea(optional long size, optional long positionOnScreen, optional androidx.compose.ui.graphics.Shape shape, optional dev.chrisbanes.haze.HazeStyle style);
method public long getPositionOnScreen();
method public androidx.compose.ui.graphics.Shape getShape();
method public long getSize();
method public dev.chrisbanes.haze.HazeStyle getStyle();
method public boolean isValid();
property public final boolean isValid;
property public final long positionOnScreen;
property public final androidx.compose.ui.graphics.Shape shape;
property public final long size;
property public final dev.chrisbanes.haze.HazeStyle style;
}

public final class HazeChildKt {
method public static androidx.compose.ui.Modifier hazeChild(androidx.compose.ui.Modifier, dev.chrisbanes.haze.HazeState state, optional androidx.compose.ui.graphics.Shape shape, optional dev.chrisbanes.haze.HazeStyle style);
method @Deprecated public static androidx.compose.ui.Modifier hazeChild(androidx.compose.ui.Modifier, dev.chrisbanes.haze.HazeState state, optional androidx.compose.ui.graphics.Shape shape, optional long tint, optional float blurRadius, optional float noiseFactor);
}

public final class HazeDefaults {
method public float getBlurRadius();
method public dev.chrisbanes.haze.HazeStyle style(optional long backgroundColor, optional long tint, optional float blurRadius, optional float noiseFactor);
method public long tint(long color);
property public final float blurRadius;
field public static final dev.chrisbanes.haze.HazeDefaults INSTANCE;
field public static final float noiseFactor = 0.15f;
field public static final float tintAlpha = 0.7f;
}

public final class HazeKt {
method public static androidx.compose.ui.Modifier haze(androidx.compose.ui.Modifier, dev.chrisbanes.haze.HazeState state, optional dev.chrisbanes.haze.HazeStyle style);
method @Deprecated public static androidx.compose.ui.Modifier haze(androidx.compose.ui.Modifier, dev.chrisbanes.haze.HazeState state, long backgroundColor, optional long tint, optional float blurRadius, optional float noiseFactor);
}

public final class HazeScreenshotTest {
ctor public HazeScreenshotTest();
method public error.NonExistentClass! creditCard();
method public error.NonExistentClass! creditCard_childTint();
method public error.NonExistentClass! creditCard_transparentTint();
}

@androidx.compose.runtime.Stable public final class HazeState {
ctor public HazeState();
method public java.util.List<dev.chrisbanes.haze.HazeArea> getAreas();
method public void registerArea(dev.chrisbanes.haze.HazeArea area);
method public void unregisterArea(dev.chrisbanes.haze.HazeArea area);
property public final java.util.List<dev.chrisbanes.haze.HazeArea> areas;
}

@androidx.compose.runtime.Immutable public final class HazeStyle {
ctor public HazeStyle(optional long tint, optional float blurRadius, optional float noiseFactor);
method public long component1-0d7_KjU();
method public float component2-D9Ej5fM();
method public float component3();
method public dev.chrisbanes.haze.HazeStyle copy-5DgIosw(long tint, float blurRadius, float noiseFactor);
method public float getBlurRadius();
method public float getNoiseFactor();
method public long getTint();
property public final float blurRadius;
property public final float noiseFactor;
property public final long tint;
field public static final dev.chrisbanes.haze.HazeStyle.Companion Companion;
}

public static final class HazeStyle.Companion {
method public dev.chrisbanes.haze.HazeStyle getUnspecified();
property public final dev.chrisbanes.haze.HazeStyle Unspecified;
}

}

0 comments on commit f5c57fe

Please sign in to comment.