This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
/// A heart break icon animation in SwiftUI. | |
struct HeartBreakView: View { | |
@Binding private var isSelected: Bool | |
@State private var rotation: CGFloat = 0 | |
@State private var strokeHeartOpacity: CGFloat = 1 | |
@State private var heartBreakOpacity: CGFloat = 0 | |
@State private var trimProgress: CGFloat = 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
/// Happy Valentines Day! | |
struct HappyValentinesDayView: View { | |
@State private var progress: CGFloat = 0 | |
var body: some View { | |
AnimatedStrokePath(progress: progress) | |
.trim(from: 0, to: progress) | |
.stroke(.red, style: .init(lineWidth: 6, lineCap: .round, lineJoin: .round)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
private let kNumDots = 16 | |
private let kTau: CGFloat = 2 * .pi | |
private let kDotPeriod: CGFloat = 10 | |
private let kWavePeriod: CGFloat = 10 / (4 * kTau) | |
private let kRingRadiusFactor: CGFloat = 0.35 | |
private let kWaveRadiusFactor: CGFloat = 0.10 | |
struct RingOfCircles: View { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.segmentedcontrol | |
import androidx.compose.animation.ExperimentalSharedTransitionApi | |
import androidx.compose.animation.animateBounds | |
import androidx.compose.foundation.BorderStroke | |
import androidx.compose.foundation.layout.Box | |
import androidx.compose.foundation.layout.IntrinsicSize | |
import androidx.compose.foundation.layout.height | |
import androidx.compose.foundation.layout.heightIn | |
import androidx.compose.foundation.layout.padding |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This file is automatically generated. Do not edit. | |
package com.lyft.android.design.coreui.compose.attributes | |
import com.lyft.android.design.coreui.compose.components.Icon | |
import com.lyft.android.design.coreui.compose.components.IconButton | |
import com.lyft.android.design.coreui.iconography.R | |
/** | |
* Definitions for LPL iconography. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This plugin recurses every layer in every page of the current figma file, and detaches | |
// color styles that are backed by a single bound color variable. | |
(function main() { | |
recurseLayerHierarchy(figma.root, false); | |
figma.closePlugin(); | |
})(); | |
function recurseLayerHierarchy(node: BaseNode, isChildOfInstanceNode: boolean) { | |
if (node.type === 'INSTANCE') { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using FG.Common; | |
using SRF; | |
using UnityEngine; | |
namespace Levels.CrownMaze | |
{ | |
// Token: 0x020004C1 RID: 1217 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using FG.Common; | |
using Levels.ProceduralGeneration; | |
using MPG.Utility; | |
using UnityEngine; | |
namespace Levels.CrownMaze | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<!-- This module was also published with a richer model, Gradle metadata, --> | |
<!-- which should be used instead. Do not delete the following line which --> | |
<!-- is to indicate to Gradle or any Gradle module metadata file consumer --> | |
<!-- that they should prefer consuming it instead. --> | |
<!-- do_not_remove: published-with-gradle-metadata --> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>androidx.compose.foundation</groupId> | |
<artifactId>foundation</artifactId> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"formatVersion": "1.1", | |
"component": { | |
"group": "androidx.compose.foundation", | |
"module": "foundation", | |
"version": "1.5.0-beta01", | |
"attributes": { | |
"org.gradle.status": "release" | |
} | |
}, |
NewerOlder