Skip to content

Commit

Permalink
Change package and group to co.touchlab.composeanimations
Browse files Browse the repository at this point in the history
  • Loading branch information
kpgalligan committed Apr 30, 2024
1 parent 6666283 commit cbe2a98
Show file tree
Hide file tree
Showing 39 changed files with 2,080 additions and 85 deletions.
2 changes: 1 addition & 1 deletion app/src/androidMain/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
android:supportsRtl="true"
android:theme="@style/Theme.ComposeAnimations">
<activity
android:name=".MainActivity"
android:name="co.touchlab.composeanimations.animations.MainActivity"
android:exported="true"
android:label="@string/app_name"
android:theme="@style/Theme.ComposeAnimations.NoActionBar">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.animations
package co.touchlab.composeanimations.animations

import android.os.Bundle
import androidx.activity.ComponentActivity
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package co.touchlab.compose.animations
package co.touchlab.composeanimations.animations

import androidx.compose.material.MaterialTheme
import androidx.compose.material.Surface
import androidx.compose.runtime.Composable
import cafe.adriel.voyager.navigator.Navigator
import cafe.adriel.voyager.transitions.SlideTransition
import co.touchlab.compose.animations.screen.HomeScreen
import co.touchlab.compose.animations.theme.ComposeAnimationsTheme
import co.touchlab.composeanimations.animations.screen.HomeScreen
import co.touchlab.composeanimations.animations.theme.ComposeAnimationsTheme

@Composable
fun App() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.animations.page
package co.touchlab.composeanimations.animations.page

import androidx.compose.animation.core.Easing
import androidx.compose.animation.core.FastOutLinearInEasing
Expand Down Expand Up @@ -33,36 +33,36 @@ import androidx.compose.ui.geometry.Offset
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.dp
import co.touchlab.compose.easing.EaseInBack
import co.touchlab.compose.easing.EaseInBounce
import co.touchlab.compose.easing.EaseInCirc
import co.touchlab.compose.easing.EaseInCubic
import co.touchlab.compose.easing.EaseInElastic
import co.touchlab.compose.easing.EaseInExpo
import co.touchlab.compose.easing.EaseInOutBack
import co.touchlab.compose.easing.EaseInOutBounce
import co.touchlab.compose.easing.EaseInOutCirc
import co.touchlab.compose.easing.EaseInOutCubic
import co.touchlab.compose.easing.EaseInOutElastic
import co.touchlab.compose.easing.EaseInOutExpo
import co.touchlab.compose.easing.EaseInOutQuad
import co.touchlab.compose.easing.EaseInOutQuart
import co.touchlab.compose.easing.EaseInOutQuint
import co.touchlab.compose.easing.EaseInOutSine
import co.touchlab.compose.easing.EaseInQuad
import co.touchlab.compose.easing.EaseInQuart
import co.touchlab.compose.easing.EaseInQuint
import co.touchlab.compose.easing.EaseInSine
import co.touchlab.compose.easing.EaseOutBack
import co.touchlab.compose.easing.EaseOutBounce
import co.touchlab.compose.easing.EaseOutCirc
import co.touchlab.compose.easing.EaseOutCubic
import co.touchlab.compose.easing.EaseOutElastic
import co.touchlab.compose.easing.EaseOutExpo
import co.touchlab.compose.easing.EaseOutQuad
import co.touchlab.compose.easing.EaseOutQuart
import co.touchlab.compose.easing.EaseOutQuint
import co.touchlab.compose.easing.EaseOutSine
import co.touchlab.composeanimations.easing.EaseInBack
import co.touchlab.composeanimations.easing.EaseInBounce
import co.touchlab.composeanimations.easing.EaseInCirc
import co.touchlab.composeanimations.easing.EaseInCubic
import co.touchlab.composeanimations.easing.EaseInElastic
import co.touchlab.composeanimations.easing.EaseInExpo
import co.touchlab.composeanimations.easing.EaseInOutBack
import co.touchlab.composeanimations.easing.EaseInOutBounce
import co.touchlab.composeanimations.easing.EaseInOutCirc
import co.touchlab.composeanimations.easing.EaseInOutCubic
import co.touchlab.composeanimations.easing.EaseInOutElastic
import co.touchlab.composeanimations.easing.EaseInOutExpo
import co.touchlab.composeanimations.easing.EaseInOutQuad
import co.touchlab.composeanimations.easing.EaseInOutQuart
import co.touchlab.composeanimations.easing.EaseInOutQuint
import co.touchlab.composeanimations.easing.EaseInOutSine
import co.touchlab.composeanimations.easing.EaseInQuad
import co.touchlab.composeanimations.easing.EaseInQuart
import co.touchlab.composeanimations.easing.EaseInQuint
import co.touchlab.composeanimations.easing.EaseInSine
import co.touchlab.composeanimations.easing.EaseOutBack
import co.touchlab.composeanimations.easing.EaseOutBounce
import co.touchlab.composeanimations.easing.EaseOutCirc
import co.touchlab.composeanimations.easing.EaseOutCubic
import co.touchlab.composeanimations.easing.EaseOutElastic
import co.touchlab.composeanimations.easing.EaseOutExpo
import co.touchlab.composeanimations.easing.EaseOutQuad
import co.touchlab.composeanimations.easing.EaseOutQuart
import co.touchlab.composeanimations.easing.EaseOutQuint
import co.touchlab.composeanimations.easing.EaseOutSine

@Composable
fun EasingDemo(goBack: () -> Unit) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.animations.page
package co.touchlab.composeanimations.animations.page

import androidx.compose.desktop.ui.tooling.preview.Preview
import androidx.compose.foundation.clickable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.animations.page
package co.touchlab.composeanimations.animations.page

import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.RepeatMode
Expand Down Expand Up @@ -35,12 +35,12 @@ import androidx.compose.ui.graphics.graphicsLayer
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import co.touchlab.compose.animations.shapes.Ball
import co.touchlab.compose.animations.shapes.Triangle
import co.touchlab.compose.animations.utils.size
import co.touchlab.compose.value.animator.animateColorValuesAsState
import co.touchlab.compose.value.animator.animateFloatValuesAsState
import co.touchlab.compose.value.animator.animateIntValues
import co.touchlab.composeanimations.animations.shapes.Ball
import co.touchlab.composeanimations.animations.shapes.Triangle
import co.touchlab.composeanimations.animations.utils.size
import co.touchlab.composeanimations.value.animator.animateColorValuesAsState
import co.touchlab.composeanimations.value.animator.animateFloatValuesAsState
import co.touchlab.composeanimations.value.animator.animateIntValues
import kotlinx.coroutines.delay

@Composable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package co.touchlab.compose.animations.screen
package co.touchlab.composeanimations.animations.screen

import androidx.compose.runtime.Composable
import cafe.adriel.voyager.core.screen.Screen
import cafe.adriel.voyager.navigator.LocalNavigator
import cafe.adriel.voyager.navigator.currentOrThrow
import co.touchlab.compose.animations.page.EasingDemo
import co.touchlab.composeanimations.animations.page.EasingDemo

object EasingsScreen : Screen {
@Composable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package co.touchlab.compose.animations.screen
package co.touchlab.composeanimations.animations.screen

import androidx.compose.runtime.Composable
import cafe.adriel.voyager.core.screen.Screen
import cafe.adriel.voyager.navigator.LocalNavigator
import cafe.adriel.voyager.navigator.currentOrThrow
import co.touchlab.compose.animations.page.Home
import co.touchlab.composeanimations.animations.page.Home

object HomeScreen : Screen {
@Composable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package co.touchlab.compose.animations.screen
package co.touchlab.composeanimations.animations.screen

import androidx.compose.runtime.Composable
import cafe.adriel.voyager.core.screen.Screen
import cafe.adriel.voyager.navigator.LocalNavigator
import cafe.adriel.voyager.navigator.currentOrThrow
import co.touchlab.compose.animations.page.ValueAnimatorDemo
import co.touchlab.composeanimations.animations.page.ValueAnimatorDemo

object ValueAnimatorScreen : Screen {
@Composable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.animations.shapes
package co.touchlab.composeanimations.animations.shapes

import androidx.compose.desktop.ui.tooling.preview.Preview
import androidx.compose.foundation.background
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.animations.shapes
package co.touchlab.composeanimations.animations.shapes

import androidx.compose.desktop.ui.tooling.preview.Preview
import androidx.compose.foundation.background
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.animations.theme
package co.touchlab.composeanimations.animations.theme

import androidx.compose.ui.graphics.Color

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.animations.theme
package co.touchlab.composeanimations.animations.theme

import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.Shapes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.animations.theme
package co.touchlab.composeanimations.animations.theme

import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material.MaterialTheme
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.animations.theme
package co.touchlab.composeanimations.animations.theme

import androidx.compose.material.Typography
import androidx.compose.ui.text.TextStyle
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package co.touchlab.composeanimations.animations.utils

val IntRange.size: Int
get() = toList().size
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package co.touchlab.compose.animations.vc
package co.touchlab.composeanimations.animations.vc

import androidx.compose.ui.window.ComposeUIViewController
import co.touchlab.compose.animations.App
import co.touchlab.composeanimations.animations.App

fun MainViewController() = ComposeUIViewController { App() }
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.animations
package co.touchlab.composeanimations.animations

import androidx.compose.ui.unit.DpSize
import androidx.compose.ui.unit.dp
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.easing
package co.touchlab.composeanimations.easing

import androidx.compose.animation.core.Easing
import kotlin.math.pow
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.easing
package co.touchlab.composeanimations.easing

import androidx.compose.animation.core.Easing
import kotlin.math.pow
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.easing
package co.touchlab.composeanimations.easing

import androidx.compose.animation.core.Easing
import kotlin.math.pow
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.easing
package co.touchlab.composeanimations.easing

import androidx.compose.animation.core.Easing
import kotlin.math.pow
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.easing
package co.touchlab.composeanimations.easing

import androidx.compose.animation.core.Easing
import kotlin.math.PI
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.easing
package co.touchlab.composeanimations.easing

import androidx.compose.animation.core.Easing
import kotlin.math.pow
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.easing
package co.touchlab.composeanimations.easing

import androidx.compose.animation.core.Easing
import kotlin.math.pow
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.easing
package co.touchlab.composeanimations.easing

import androidx.compose.animation.core.Easing
import kotlin.math.pow
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.easing
package co.touchlab.composeanimations.easing

import androidx.compose.animation.core.Easing
import kotlin.math.pow
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package co.touchlab.compose.easing
package co.touchlab.composeanimations.easing

import androidx.compose.animation.core.Easing
import kotlin.math.PI
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ org.jetbrains.compose.experimental.wasm.enabled=true

SONATYPE_HOST=DEFAULT
RELEASE_SIGNING_ENABLED=true
GROUP=co.touchlab.compose
GROUP=co.touchlab.composeanimations
VERSION_NAME=1.0.0

POM_NAME=ComposeAnimations
Expand Down
Loading

0 comments on commit cbe2a98

Please sign in to comment.