diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml deleted file mode 100644 index e3bb963fff..0000000000 --- a/.buildkite/pipeline.yml +++ /dev/null @@ -1,16 +0,0 @@ -steps: - - block: ":rocket: Release!" - prompt: "Fill out the details for release" - if: 'build.message =~ /^release\$/i' - fields: - - text: "VERSION" - key: "version" - - - label: ":hammer_and_pick: Build" - command: - - "nvm install" - - "npm install" - - "npm run test" - - "npm run build" - - "[[ $BUILDKITE_PULL_REQUEST == 'false' ]] && npm run release && npm run demo || true" - timeout_in_minutes: 15 diff --git a/.bundle/config b/.bundle/config deleted file mode 100644 index 44d3f461d1..0000000000 --- a/.bundle/config +++ /dev/null @@ -1,2 +0,0 @@ -BUNDLE_PATH: "vendor/bundle" -2 BUNDLE_FORCE_RUBY_PLATFORM: 1 \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md deleted file mode 100644 index 06ebb1de7c..0000000000 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ /dev/null @@ -1,84 +0,0 @@ ---- -name: Bug Report -about: Create a report to help us improve -title: '' -labels: bug -assignees: '' - ---- - - - -## Description - - - -### Related to - -- [ ] Components -- [ ] Demo -- [ ] Docs -- [ ] Typings - -### Steps to reproduce - - - -#### Expected behavior - - - -#### Actual behavior - - - -## More Info - -### Code snippet - - - -``` - - -``` - -### Screenshots/Video - - - -### Environment - - - -- React Native version: -- React Native UI Lib version: - -### Affected platforms - -- [ ] Android -- [ ] iOS -- [ ] Web diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index 6cadf7c9c4..0000000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,8 +0,0 @@ -blank_issues_enabled: false -contact_links: - - name: Question - url: https://github.com/wix/react-native-ui-lib/discussions/categories/q-a - about: Please ask and answer questions here. - - name: Feature Request - url: https://github.com/wix/react-native-ui-lib/discussions/categories/ideas - about: Please submit feature requests here. \ No newline at end of file diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index 5114464702..0000000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,14 +0,0 @@ -## Description - - -## Changelog - - -## Additional info - diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index a94074f806..0000000000 --- a/.github/stale.yml +++ /dev/null @@ -1,61 +0,0 @@ -# Configuration for probot-stale - https://github.com/probot/stale - -# Number of days of inactivity before an Issue or Pull Request becomes stale -daysUntilStale: 60 - -# Number of days of inactivity before an Issue or Pull Request with the stale label is closed. -# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. -daysUntilClose: 7 - -# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled) -onlyLabels: [] - -# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable -exemptLabels: - - pinned - - WIP - - "typescript" - -# Set to true to ignore issues in a project (defaults to false) -exemptProjects: true - -# Set to true to ignore issues in a milestone (defaults to false) -exemptMilestones: false - -# Set to true to ignore issues with an assignee (defaults to false) -exemptAssignees: false - -# Label to use when marking as stale -staleLabel: wontfix - -# Comment to post when marking as stale. Set to `false` to disable -markComment: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. Thank you - for your contributions. - -# Comment to post when removing the stale label. -# unmarkComment: > -# Your comment here. - -# Comment to post when closing a stale Issue or Pull Request. -# closeComment: > -# Your comment here. - -# Limit the number of actions per hour, from 1-30. Default is 30 -limitPerRun: 30 - -# Limit to only `issues` or `pulls` -# only: issues - -# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls': -# pulls: -# daysUntilStale: 30 -# markComment: > -# This pull request has been automatically marked as stale because it has not had -# recent activity. It will be closed if no further activity occurs. Thank you -# for your contributions. - -# issues: -# exemptLabels: -# - confirmed diff --git a/.npmignore b/.npmignore index 178a5650a5..92336c7cbe 100644 --- a/.npmignore +++ b/.npmignore @@ -241,6 +241,7 @@ markdowns/ # typings/ # eslint-rules/ scripts/* +!scripts/postinstall.js !scripts/prReleaseNotesCommon.js demo-app.component.js index.android.js @@ -254,3 +255,6 @@ index.ios.js !*.d.ts !testkit/*.ts + +!src/native/v1/*.ts +!src/native/v2/*.ts diff --git a/COMMITTERS.md b/COMMITTERS.md new file mode 100644 index 0000000000..aef6509195 --- /dev/null +++ b/COMMITTERS.md @@ -0,0 +1,11 @@ +## Committers列表 + +### 以下是此项目的committer人员 + +不区分先后顺序 + +- [MaDiXin](https://gitee.com/MaDiXin) +- [xiafeng_xf_admin](https://gitee.com/xiafeng_xf_admin) +- [ChenLixi](https://gitee.com/Louis-C7) +- [LinJiacheng](https://gitee.com/LLLLLLin) +- [ZhengJinshou](https://gitee.com/longziz) \ No newline at end of file diff --git a/OAT.XML b/OAT.XML new file mode 100644 index 0000000000..ce76a544cb --- /dev/null +++ b/OAT.XML @@ -0,0 +1,109 @@ + + + + LICENSE + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/README.OpenSource b/README.OpenSource new file mode 100644 index 0000000000..6db87b352c --- /dev/null +++ b/README.OpenSource @@ -0,0 +1,11 @@ +[ + { + "Name": "react-native-ui-lib", + "License": "MIT", + "License File": "https://github.com/wix/react-native-ui-lib/blob/master/LICENSE", + "Version Number": "7.29.1", + "Owner" : "xiafeng@huawei.com", + "Upstream URL": "https://github.com/wix/react-native-ui-lib", + "Description": "react native ui lib" + } +] \ No newline at end of file diff --git a/README.md b/README.md index 5829ebe3e3..55b8dcc0a1 100644 --- a/README.md +++ b/README.md @@ -1,137 +1,13 @@ -[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct.svg)](https://stand-with-ukraine.pp.ua) +# @react-native-oh-tpl/react-native-ui-lib -

- -

-

UI Toolset & Components Library for React Native

-

- -

+This project is based on [react-native-ui-lib](https://github.com/wix/react-native-ui-lib) ---- +## Documentation -[![Build Status](https://travis-ci.org/wix/react-native-ui-lib.svg?branch=master)](https://travis-ci.org/wix/react-native-ui-lib) -[![npm](https://img.shields.io/npm/v/react-native-ui-lib.svg)](https://www.npmjs.com/package/react-native-ui-lib) -[![NPM Downloads](https://img.shields.io/npm/dm/react-native-ui-lib.svg?style=flat)](https://www.npmjs.com/package/react-native-ui-lib) -Follow on Twitter +- [中文](https://gitee.com/react-native-oh-library/usage-docs/blob/master/zh-cn/react-native-ui-lib.md) +- [English](https://gitee.com/react-native-oh-library/usage-docs/blob/master/en/react-native-ui-lib.md) -## Links -- [Docs](https://wix.github.io/react-native-ui-lib/) -- [Figma library](https://www.figma.com/community/file/1379775092983284111/rnui-library) -- [Discord Channel](https://discord.gg/2eW4g6Z) +## License - -Download our Expo demo app
-
-(You will need the Expo App) -or open link in your devices -[expo ] [exp://exp.host/@vn.chemgio/rnuilib?release-channel=default](exp://exp.host/@vn.chemgio/rnuilib?release-channel=default) - -## Installing - -See setup instructions [here](https://wix.github.io/react-native-ui-lib/docs/getting-started/setup). - -#### New Major Version 6.0 - -See [breaking changes](https://wix.github.io/react-native-ui-lib/docs/getting-started/v6) - -#### For React Native >= 0.60.0 - -please use `react-native-ui-lib` - -#### For React Native < 0.60.0 - -please use `react-native-ui-lib@^3.0.0` - -## Create your own Design System in 3 easy steps - -### Step 1 - -Load your foundations and presets (colors, typography, spacings, etc...) - -```js -// FoundationConfig.js - -import {Colors, Typography, Spacings} from 'react-native-ui-lib'; - -Colors.loadColors({ - primaryColor: '#2364AA', - secondaryColor: '#81C3D7', - textColor: '##221D23', - errorColor: '#E63B2E', - successColor: '#ADC76F', - warnColor: '##FF963C' -}); - -Typography.loadTypographies({ - heading: {fontSize: 36, fontWeight: '600'}, - subheading: {fontSize: 28, fontWeight: '500'}, - body: {fontSize: 18, fontWeight: '400'} -}); - -Spacings.loadSpacings({ - page: 20, - card: 12, - gridGutter: 16 -}); -``` - -### Step 2 - -Set default configurations to your components - -```js -// ComponentsConfig.js - -import {ThemeManager} from 'react-native-ui-lib'; - -// with plain object -ThemeManager.setComponentTheme('Card', { - borderRadius: 8 -}); - -// with a dynamic function -ThemeManager.setComponentTheme('Button', (props, context) => { - // 'square' is not an original Button prop, but a custom prop that can - // be used to create different variations of buttons in your app - if (props.square) { - return { - borderRadius: 0 - }; - } -}); -``` - -### Step 3 - -Use it all together. -Your configurations will be applied on uilib components so you can use them easily with [modifiers](https://wix.github.io/react-native-ui-lib/docs/foundation/modifiers). - -```jsx -// MyScreen.js - -import React, {Component} from 'react'; -import {View, Text, Card, Button} from 'react-native-ui-lib'; - -class MyScreen extends Component { - render() { - return ( - - - My Screen - - - This is an example card - - - - - ); - } -} -``` - -## Contributing - See [Contribution Guide](https://github.com/wix/react-native-ui-lib/blob/master/CONTRIBUTING.md) - +This library is licensed under [The MIT License (MIT)](https://github.com/react-native-oh-library/react-native-ui-lib/blob/sig/LICENSE) diff --git a/android/app/build.gradle b/android/app/build.gradle deleted file mode 100644 index 96d5d9d552..0000000000 --- a/android/app/build.gradle +++ /dev/null @@ -1,170 +0,0 @@ -apply plugin: "com.android.application" -apply plugin: "com.facebook.react" - -import com.android.build.OutputFile - -// project.ext.react = [ -// entryFile: "index.js", -// enableHermes: true, // clean and rebuild if changing -// ] - -/* This is the configuration block to customize your React Native Android app. - * By default you don't need to apply any configuration, just uncomment the lines you need. - */ -react { - /* Folders */ - // The root of your project, i.e. where "package.json" lives. Default is '..' - root = file("../../") - // The folder where the react-native NPM package is. Default is ../node_modules/react-native - reactNativeDir = file("../../node_modules/react-native") - // The folder where the react-native Codegen package is. Default is ../node_modules/react-native-codegen - // codegenDir = file("../node_modules/react-native-codegen") - // The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js - // cliFile = file("../node_modules/react-native/cli.js") - /* Variants */ - // The list of variants to that are debuggable. For those we're going to - // skip the bundling of the JS bundle and the assets. By default is just 'debug'. - // If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants. - // debuggableVariants = ["liteDebug", "prodDebug"] - /* Bundling */ - // A list containing the node command and its flags. Default is just 'node'. - // nodeExecutableAndArgs = ["node"] - // - // The command to run when bundling. By default is 'bundle' - // bundleCommand = "ram-bundle" - // - // The path to the CLI configuration file. Default is empty. - // bundleConfig = file(../rn-cli.config.js) - // - // The name of the generated asset file containing your JS bundle - // bundleAssetName = "MyApplication.android.bundle" - // - // The entry file for bundle generation. Default is 'index.android.js' or 'index.js' - entryFile = file("index.js") - // - // A list of extra flags to pass to the 'bundle' commands. - // See https://github.com/react-native-community/cli/blob/main/docs/commands.md#bundle - // extraPackagerArgs = [] - /* Hermes Commands */ - // The hermes compiler command to run. By default it is 'hermesc' - // hermesCommand = "$rootDir/my-custom-hermesc/bin/hermesc" - // - // The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map" - // hermesFlags = ["-O", "-output-source-map"] -} - - /* Set this to true to create four separate APKs instead of one, - * one for each native architecture. This is useful if you don't - * use App Bundles (https://developer.android.com/guide/app-bundle/) - * and want to have separate APKs to upload to the Play Store. - */ -def enableSeparateBuildPerCPUArchitecture = false -/** - * Set this to true to Run Proguard on Release builds to minify the Java bytecode. - */ -def enableProguardInReleaseBuilds = false -/** - * The preferred build flavor of JavaScriptCore (JSC) - * - * For example, to use the international variant, you can use: - * `def jscFlavor = 'org.webkit:android-jsc-intl:+'` - * - * The international variant includes ICU i18n library and necessary data - * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that - * give correct results when using with locales other than en-US. Note that - * this variant is about 6MiB larger per architecture than default. - */ -def jscFlavor = 'org.webkit:android-jsc:+' -/* Private function to get the list of Native Architectures you want to build. - * This reads the value from reactNativeArchitectures in your gradle.properties - * file and works together with the --active-arch-only flag of react-native run-android. - */ -def reactNativeArchitectures() { - def value = project.getProperties().get("reactNativeArchitectures") - return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"] -} - -android { - compileSdkVersion rootProject.ext.compileSdkVersion - ndkVersion rootProject.ext.ndkVersion - namespace "com.rnuilib" - - defaultConfig { - applicationId "com.rnuilib" - minSdkVersion rootProject.ext.minSdkVersion - targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 1 - versionName "1.0" - multiDexEnabled true - } - - splits { - abi { - reset() - enable enableSeparateBuildPerCPUArchitecture - universalApk false // If true, also generate a universal APK - include (*reactNativeArchitectures()) - } - } - signingConfigs { - debug { - storeFile file('debug.keystore') - storePassword 'android' - keyAlias 'androiddebugkey' - keyPassword 'android' - } - } - buildTypes { - debug { - signingConfig signingConfigs.debug - } - release { - // Caution! In production, you need to generate your own keystore file. - // see https://reactnative.dev/docs/signed-apk-android. - signingConfig signingConfigs.debug - minifyEnabled enableProguardInReleaseBuilds - proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" - } - } - - // applicationVariants are e.g. debug, release - applicationVariants.all { variant -> - variant.outputs.each { output -> - // For each separate APK per architecture, set a unique version code as described here: - // https://developer.android.com/studio/build/configure-apk-splits.html - // Example: versionCode 1 will generate 1001 for armeabi-v7a, 1002 for x86, etc. - def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4] - def abi = output.getFilter(OutputFile.ABI) - if (abi != null) { // null for the universal-debug, universal-release variants - output.versionCodeOverride = - defaultConfig.versionCode * 1000 + versionCodes.get(abi) - } - - } - } -} - -dependencies { - // The version of react-native is set by the React Native Gradle Plugin - implementation("com.facebook.react:react-android") - implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.0.0") - - debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") - debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") { - exclude group:'com.squareup.okhttp3', module:'okhttp' - } - debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") - - implementation project(':react-native-navigation') - implementation project(':react-native-ui-lib') - implementation 'com.facebook.fresco:fresco:2.5.0' - implementation 'com.facebook.fresco:animated-gif:2.5.0' - - if (hermesEnabled.toBoolean()) { - implementation("com.facebook.react:hermes-android") - } else { - implementation jscFlavor - } -} - -apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) diff --git a/android/app/debug.keystore b/android/app/debug.keystore deleted file mode 100644 index 364e105ed3..0000000000 Binary files a/android/app/debug.keystore and /dev/null differ diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro deleted file mode 100644 index 11b025724a..0000000000 --- a/android/app/proguard-rules.pro +++ /dev/null @@ -1,10 +0,0 @@ -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the proguardFiles -# directive in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml deleted file mode 100644 index a8b752f342..0000000000 --- a/android/app/src/debug/AndroidManifest.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - diff --git a/android/app/src/debug/java/com/rnuilib/ReactNativeFlipper.java b/android/app/src/debug/java/com/rnuilib/ReactNativeFlipper.java deleted file mode 100644 index 01c2c273d9..0000000000 --- a/android/app/src/debug/java/com/rnuilib/ReactNativeFlipper.java +++ /dev/null @@ -1,75 +0,0 @@ -/** - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - *

This source code is licensed under the MIT license found in the LICENSE file in the root - * directory of this source tree. - */ -package com.rnuilib; - -import android.content.Context; -import com.facebook.flipper.android.AndroidFlipperClient; -import com.facebook.flipper.android.utils.FlipperUtils; -import com.facebook.flipper.core.FlipperClient; -import com.facebook.flipper.plugins.crashreporter.CrashReporterPlugin; -import com.facebook.flipper.plugins.databases.DatabasesFlipperPlugin; -import com.facebook.flipper.plugins.fresco.FrescoFlipperPlugin; -import com.facebook.flipper.plugins.inspector.DescriptorMapping; -import com.facebook.flipper.plugins.inspector.InspectorFlipperPlugin; -import com.facebook.flipper.plugins.network.FlipperOkhttpInterceptor; -import com.facebook.flipper.plugins.network.NetworkFlipperPlugin; -import com.facebook.flipper.plugins.sharedpreferences.SharedPreferencesFlipperPlugin; -import com.facebook.react.ReactInstanceEventListener; -import com.facebook.react.ReactInstanceManager; -import com.facebook.react.bridge.ReactContext; -import com.facebook.react.modules.network.NetworkingModule; -import okhttp3.OkHttpClient; - -/** - * Class responsible of loading Flipper inside your React Native application. This is the debug - * flavor of it. Here you can add your own plugins and customize the Flipper setup. - */ -public class ReactNativeFlipper { - public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) { - if (FlipperUtils.shouldEnableFlipper(context)) { - final FlipperClient client = AndroidFlipperClient.getInstance(context); - - client.addPlugin(new InspectorFlipperPlugin(context, DescriptorMapping.withDefaults())); - client.addPlugin(new DatabasesFlipperPlugin(context)); - client.addPlugin(new SharedPreferencesFlipperPlugin(context)); - client.addPlugin(CrashReporterPlugin.getInstance()); - - NetworkFlipperPlugin networkFlipperPlugin = new NetworkFlipperPlugin(); - NetworkingModule.setCustomClientBuilder( - new NetworkingModule.CustomClientBuilder() { - @Override - public void apply(OkHttpClient.Builder builder) { - builder.addNetworkInterceptor(new FlipperOkhttpInterceptor(networkFlipperPlugin)); - } - }); - client.addPlugin(networkFlipperPlugin); - client.start(); - - // Fresco Plugin needs to ensure that ImagePipelineFactory is initialized - // Hence we run if after all native modules have been initialized - ReactContext reactContext = reactInstanceManager.getCurrentReactContext(); - if (reactContext == null) { - reactInstanceManager.addReactInstanceEventListener( - new ReactInstanceEventListener() { - @Override - public void onReactContextInitialized(ReactContext reactContext) { - reactInstanceManager.removeReactInstanceEventListener(this); - reactContext.runOnNativeModulesQueueThread( - new Runnable() { - @Override - public void run() { - client.addPlugin(new FrescoFlipperPlugin()); - } - }); - } - }); - } else { - client.addPlugin(new FrescoFlipperPlugin()); - } - } - } -} \ No newline at end of file diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml deleted file mode 100644 index 4122f36a59..0000000000 --- a/android/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - diff --git a/android/app/src/main/ic_launcher-playstore.png b/android/app/src/main/ic_launcher-playstore.png deleted file mode 100644 index 1bf75b2cf3..0000000000 Binary files a/android/app/src/main/ic_launcher-playstore.png and /dev/null differ diff --git a/android/app/src/main/ic_launcher-web.png b/android/app/src/main/ic_launcher-web.png deleted file mode 100644 index 80c4892e7a..0000000000 Binary files a/android/app/src/main/ic_launcher-web.png and /dev/null differ diff --git a/android/app/src/main/java/com/rnuilib/MainActivity.java b/android/app/src/main/java/com/rnuilib/MainActivity.java deleted file mode 100644 index c6b53a484b..0000000000 --- a/android/app/src/main/java/com/rnuilib/MainActivity.java +++ /dev/null @@ -1,43 +0,0 @@ -package com.rnuilib; - -//import com.facebook.react.ReactActivity; -//import com.facebook.react.ReactActivityDelegate; -// import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint; -// import com.facebook.react.defaults.DefaultReactActivityDelegate; -import com.reactnativenavigation.NavigationActivity; - -public class MainActivity extends NavigationActivity { - -// This is needed for the new architecture, RNN needs to support this first (see https://github.com/wix/react-native-navigation/issues/7466) -// /** -// * Returns the instance of the {@link ReactActivityDelegate}. Here we use a util class {@link -// * DefaultReactActivityDelegate} which allows you to easily enable Fabric and Concurrent React -// * (aka React 18) with two boolean flags. -// */ -// @Override -// protected ReactActivityDelegate createReactActivityDelegate() { - -// return new DefaultReactActivityDelegate( -// this, -// getMainComponentName(), -// // If you opted-in for the New Architecture, we enable the Fabric Renderer. -// DefaultNewArchitectureEntryPoint.getFabricEnabled(), // fabricEnabled -// // If you opted-in for the New Architecture, we enable Concurrent React (i.e. React 18). -// DefaultNewArchitectureEntryPoint.getConcurrentReactEnabled() // concurrentRootEnabled -// ); -} - -//public class MainActivity extends ReactActivity { -// -// /** -// * Returns the name of the main component registered from JavaScript. This is used to schedule -// * rendering of the component. -// */ -// @Override -// protected String getMainComponentName() { -// return "rnuilib"; -// } -//} - - - diff --git a/android/app/src/main/java/com/rnuilib/MainApplication.java b/android/app/src/main/java/com/rnuilib/MainApplication.java deleted file mode 100644 index 376c4f39c0..0000000000 --- a/android/app/src/main/java/com/rnuilib/MainApplication.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.rnuilib; - -import com.facebook.react.PackageList; -import com.facebook.react.ReactNativeHost; -import com.facebook.react.ReactPackage; -import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint; -import com.facebook.react.defaults.DefaultReactNativeHost; -import com.facebook.react.bridge.JSIModulePackage; - -import com.reactnativenavigation.NavigationApplication; -import com.reactnativenavigation.react.NavigationReactNativeHost; -import com.wix.reactnativeuilib.UiLibPackageList; - -import java.util.List; - - -public class MainApplication extends NavigationApplication { - - private final ReactNativeHost mReactNativeHost = new NavigationReactNativeHost(this) { //DefaultReactNativeHost - @Override - protected String getJSMainModuleName() { - return "demo"; - } - - @Override - public boolean getUseDeveloperSupport() { - return BuildConfig.DEBUG; - } - - @Override - protected List getPackages() { - List packages = new PackageList(this).getPackages(); - packages.addAll(new UiLibPackageList(MainApplication.this).getPackageList()); - return packages; - } - - // private final ReactNativeHost mNewArchitectureNativeHost = new MainApplicationReactNativeHost(this); - protected boolean isNewArchEnabled() { - return BuildConfig.IS_NEW_ARCHITECTURE_ENABLED; - } - protected Boolean isHermesEnabled() { - return BuildConfig.IS_HERMES_ENABLED; - } - }; - - @Override - public ReactNativeHost getReactNativeHost() { - return mReactNativeHost; - } - - @Override - public void onCreate() { - super.onCreate(); - - if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) { - // If you opted-in for the New Architecture, we load the native entry point for this app. - DefaultNewArchitectureEntryPoint.load(); - } - ReactNativeFlipper.initializeFlipper(this, getReactNativeHost().getReactInstanceManager()); - } -} diff --git a/android/app/src/main/java/com/rnuilib/MainApplicationReactNativeHost.java b/android/app/src/main/java/com/rnuilib/MainApplicationReactNativeHost.java deleted file mode 100644 index 1a6968902e..0000000000 --- a/android/app/src/main/java/com/rnuilib/MainApplicationReactNativeHost.java +++ /dev/null @@ -1,101 +0,0 @@ -package com.rnuilib; -import android.app.Application; -import androidx.annotation.NonNull; -import com.facebook.react.PackageList; -import com.facebook.react.ReactInstanceManager; -import com.facebook.react.ReactNativeHost; -import com.facebook.react.ReactPackage; -import com.facebook.react.ReactPackageTurboModuleManagerDelegate; -import com.facebook.react.bridge.JSIModulePackage; -import com.facebook.react.bridge.JSIModuleProvider; -import com.facebook.react.bridge.JSIModuleSpec; -import com.facebook.react.bridge.JSIModuleType; -import com.facebook.react.bridge.JavaScriptContextHolder; -import com.facebook.react.bridge.ReactApplicationContext; -import com.facebook.react.bridge.UIManager; -import com.facebook.react.fabric.ComponentFactory; -import com.facebook.react.fabric.CoreComponentsRegistry; -import com.facebook.react.fabric.EmptyReactNativeConfig; -import com.facebook.react.fabric.FabricJSIModuleProvider; -import com.facebook.react.uimanager.ViewManagerRegistry; -import com.rnuilib.BuildConfig; -import java.util.ArrayList; -import java.util.List; -/** - * A {@link ReactNativeHost} that helps you load everything needed for the New Architecture, both - * TurboModule delegates and the Fabric Renderer. - * - *

Please note that this class is used ONLY if you opt-in for the New Architecture (see the - * `newArchEnabled` property). Is ignored otherwise. - */ -public class MainApplicationReactNativeHost extends ReactNativeHost { - public MainApplicationReactNativeHost(Application application) { - super(application); - } - @Override - public boolean getUseDeveloperSupport() { - return BuildConfig.DEBUG; - } - @Override - protected List getPackages() { - List packages = new PackageList(this).getPackages(); - // Packages that cannot be autolinked yet can be added manually here, for example: - // packages.add(new MyReactNativePackage()); - // TurboModules must also be loaded here providing a valid TurboReactPackage implementation: - // packages.add(new TurboReactPackage() { ... }); - // If you have custom Fabric Components, their ViewManagers should also be loaded here - // inside a ReactPackage. - return packages; - } - @Override - protected String getJSMainModuleName() { - return "index"; - } - @NonNull - @Override - protected ReactPackageTurboModuleManagerDelegate.Builder - getReactPackageTurboModuleManagerDelegateBuilder() { - // Here we provide the ReactPackageTurboModuleManagerDelegate Builder. This is necessary - // for the new architecture and to use TurboModules correctly. - return new MainApplicationTurboModuleManagerDelegate.Builder(); - } - @Override - protected JSIModulePackage getJSIModulePackage() { - return new JSIModulePackage() { - @Override - public List getJSIModules( - final ReactApplicationContext reactApplicationContext, - final JavaScriptContextHolder jsContext) { - final List specs = new ArrayList<>(); - // Here we provide a new JSIModuleSpec that will be responsible of providing the - // custom Fabric Components. - specs.add( - new JSIModuleSpec() { - @Override - public JSIModuleType getJSIModuleType() { - return JSIModuleType.UIManager; - } - @Override - public JSIModuleProvider getJSIModuleProvider() { - final ComponentFactory componentFactory = new ComponentFactory(); - CoreComponentsRegistry.register(componentFactory); - // Here we register a Components Registry. - // The one that is generated with the template contains no components - // and just provides you the one from React Native core. - MainComponentsRegistry.register(componentFactory); - final ReactInstanceManager reactInstanceManager = getReactInstanceManager(); - ViewManagerRegistry viewManagerRegistry = - new ViewManagerRegistry( - reactInstanceManager.getOrCreateViewManagers(reactApplicationContext)); - return new FabricJSIModuleProvider( - reactApplicationContext, - componentFactory, - new EmptyReactNativeConfig(), - viewManagerRegistry); - } - }); - return specs; - } - }; - } -} \ No newline at end of file diff --git a/android/app/src/main/java/com/rnuilib/MainApplicationTurboModuleManagerDelegate.java b/android/app/src/main/java/com/rnuilib/MainApplicationTurboModuleManagerDelegate.java deleted file mode 100644 index 4037e21e8d..0000000000 --- a/android/app/src/main/java/com/rnuilib/MainApplicationTurboModuleManagerDelegate.java +++ /dev/null @@ -1,41 +0,0 @@ -package com.rnuilib; - -import com.facebook.jni.HybridData; -import com.facebook.react.ReactPackage; -import com.facebook.react.ReactPackageTurboModuleManagerDelegate; -import com.facebook.react.bridge.ReactApplicationContext; -import com.facebook.soloader.SoLoader; -import java.util.List; -/** - * Class responsible to load the TurboModules. This class has native methods and needs a - * corresponding C++ implementation/header file to work correctly (already placed inside the jni/ - * folder for you). - * - *

Please note that this class is used ONLY if you opt-in for the New Architecture (see the - * `newArchEnabled` property). Is ignored otherwise. - */ -public class MainApplicationTurboModuleManagerDelegate - extends ReactPackageTurboModuleManagerDelegate { - private static volatile boolean sIsSoLibraryLoaded; - protected MainApplicationTurboModuleManagerDelegate( - ReactApplicationContext reactApplicationContext, List packages) { - super(reactApplicationContext, packages); - } - protected native HybridData initHybrid(); - native boolean canCreateTurboModule(String moduleName); - public static class Builder extends ReactPackageTurboModuleManagerDelegate.Builder { - protected MainApplicationTurboModuleManagerDelegate build( - ReactApplicationContext context, List packages) { - return new MainApplicationTurboModuleManagerDelegate(context, packages); - } - } - @Override - protected synchronized void maybeLoadOtherSoLibraries() { - if (!sIsSoLibraryLoaded) { - // If you change the name of your application .so file in the Android.mk file, - // make sure you update the name here as well. - SoLoader.loadLibrary("rnuilib_appmodules"); - sIsSoLibraryLoaded = true; - } - } -} diff --git a/android/app/src/main/java/com/rnuilib/MainComponentsRegistry.java b/android/app/src/main/java/com/rnuilib/MainComponentsRegistry.java deleted file mode 100644 index 0361190785..0000000000 --- a/android/app/src/main/java/com/rnuilib/MainComponentsRegistry.java +++ /dev/null @@ -1,31 +0,0 @@ -package com.rnuilib; - -import com.facebook.jni.HybridData; -import com.facebook.proguard.annotations.DoNotStrip; -import com.facebook.react.fabric.ComponentFactory; -import com.facebook.soloader.SoLoader; -/** - * Class responsible to load the custom Fabric Components. This class has native methods and needs a - * corresponding C++ implementation/header file to work correctly (already placed inside the jni/ - * folder for you). - * - *

Please note that this class is used ONLY if you opt-in for the New Architecture (see the - * `newArchEnabled` property). Is ignored otherwise. - */ -@DoNotStrip -public class MainComponentsRegistry { - static { - SoLoader.loadLibrary("fabricjni"); - } - @DoNotStrip private final HybridData mHybridData; - @DoNotStrip - private native HybridData initHybrid(ComponentFactory componentFactory); - @DoNotStrip - private MainComponentsRegistry(ComponentFactory componentFactory) { - mHybridData = initHybrid(componentFactory); - } - @DoNotStrip - public static MainComponentsRegistry register(ComponentFactory componentFactory) { - return new MainComponentsRegistry(componentFactory); - } -} diff --git a/android/app/src/main/res/drawable/ic_launcher_background.xml b/android/app/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100644 index ca3826a46c..0000000000 --- a/android/app/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/android/app/src/main/res/drawable/rn_edit_text_material.xml b/android/app/src/main/res/drawable/rn_edit_text_material.xml deleted file mode 100644 index a902b2a3a6..0000000000 --- a/android/app/src/main/res/drawable/rn_edit_text_material.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - diff --git a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml deleted file mode 100644 index c4a603d4cc..0000000000 --- a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml deleted file mode 100644 index c4a603d4cc..0000000000 --- a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index ef2adddcae..0000000000 Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png deleted file mode 100644 index 0dfe76be09..0000000000 Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png deleted file mode 100644 index 1f63abc41a..0000000000 Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index e73a68fb50..0000000000 Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png deleted file mode 100644 index 1a6ea551af..0000000000 Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png deleted file mode 100644 index a7dbafab03..0000000000 Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png deleted file mode 100644 index 578642d390..0000000000 Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png deleted file mode 100644 index 5b7a00ee50..0000000000 Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png deleted file mode 100644 index 8aa2baaccc..0000000000 Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index 29f589dde2..0000000000 Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png deleted file mode 100644 index 866d44ad44..0000000000 Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png deleted file mode 100644 index b442fb5870..0000000000 Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index 1e8e558e11..0000000000 Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png deleted file mode 100644 index 571d815d86..0000000000 Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png deleted file mode 100644 index 72fb0f05a5..0000000000 Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png and /dev/null differ diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml deleted file mode 100644 index 9229ec00ee..0000000000 --- a/android/app/src/main/res/values/strings.xml +++ /dev/null @@ -1,3 +0,0 @@ - - R N U I L I B - diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml deleted file mode 100644 index f988ecc34a..0000000000 --- a/android/app/src/main/res/values/styles.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - diff --git a/android/app/src/release/java/com/rnuilib/ReactNativeFlipper.java b/android/app/src/release/java/com/rnuilib/ReactNativeFlipper.java deleted file mode 100644 index 86fb652beb..0000000000 --- a/android/app/src/release/java/com/rnuilib/ReactNativeFlipper.java +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - *

This source code is licensed under the MIT license found in the LICENSE file in the root - * directory of this source tree. - */ -package com.rnuilib; -import android.content.Context; -import com.facebook.react.ReactInstanceManager; -/** - * Class responsible of loading Flipper inside your React Native application. This is the release - * flavor of it so it's empty as we don't want to load Flipper. - */ -public class ReactNativeFlipper { - public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) { - // Do nothing as we don't want to initialize Flipper on Release. - } -} diff --git a/android/build.gradle b/android/build.gradle deleted file mode 100644 index 5a7e676638..0000000000 --- a/android/build.gradle +++ /dev/null @@ -1,44 +0,0 @@ -// Top-level build file where you can add configuration options common to all sub-projects/modules. - -buildscript { - ext { - buildToolsVersion = "33.0.0" - minSdkVersion = 21 - compileSdkVersion = 33 - targetSdkVersion = 33 - RNNKotlinVersion = "1.8.0" - // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP. - ndkVersion = "23.1.7779620" - } - repositories { - mavenLocal() - mavenCentral() - google() - } - dependencies { - classpath("com.android.tools.build:gradle:7.3.1") - classpath("com.facebook.react:react-native-gradle-plugin") - - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$RNNKotlinVersion" - } -} - -// allprojects { -// repositories { -// exclusiveContent { -// // We get React Native's Android binaries exclusively through npm, -// // from a local Maven repo inside node_modules/react-native/. -// // (The use of exclusiveContent prevents looking elsewhere like Maven Central -// // and potentially getting a wrong version.) -// filter { -// includeGroup "com.facebook.react" -// } -// forRepository { -// maven { -// url "$rootDir/../node_modules/react-native/android" -// } -// } -// } -// jcenter() -// } -// } diff --git a/android/gradle.properties b/android/gradle.properties deleted file mode 100644 index c4887c5482..0000000000 --- a/android/gradle.properties +++ /dev/null @@ -1,38 +0,0 @@ -# Project-wide Gradle settings. - -# IDE (e.g. Android Studio) users: -# Gradle settings configured through the IDE *will override* -# any settings specified in this file. - -# For more details on how to configure your build environment visit -# http://www.gradle.org/docs/current/userguide/build_environment.html - -# Specifies the JVM arguments used for the daemon process. -# The setting is particularly useful for tweaking memory settings. -# Default value: -Xmx512m -XX:MaxMetaspaceSize=256m -org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m - -# When configured, Gradle will run in incubating parallel mode. -# This option should only be used with decoupled projects. More details, visit -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true - -android.useAndroidX=true -android.enableJetifier=true - -# Version of flipper SDK to use with React Native -FLIPPER_VERSION=0.125.0 -# Use this property to specify which architecture you want to build. -# You can also override it from the CLI using -# ./gradlew -PreactNativeArchitectures=x86_64 -reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64 -# Use this property to enable support to the new architecture. -# This will allow you to use TurboModules and the Fabric render in -# your application. You should enable this flag either if you want -# to write custom TurboModules/Fabric components OR use libraries that -# are providing them. -newArchEnabled=false - -# Use this property to enable or disable the Hermes JS engine. -# If set to false, you will be using JSC instead. -hermesEnabled=true \ No newline at end of file diff --git a/android/gradle/wrapper/gradle-wrapper.jar b/android/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index 5c2d1cf016..0000000000 Binary files a/android/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index 8fad3f5a98..0000000000 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,5 +0,0 @@ -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists diff --git a/android/gradlew b/android/gradlew deleted file mode 100755 index 4a403d1bc4..0000000000 --- a/android/gradlew +++ /dev/null @@ -1,226 +0,0 @@ -#!/bin/sh - -# -# Copyright © 2015-2021 the original authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -############################################################################## -# -# Gradle start up script for POSIX generated by Gradle. -# -# Important for running: -# -# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is -# noncompliant, but you have some other compliant shell such as ksh or -# bash, then to run this script, type that shell name before the whole -# command line, like: -# -# ksh Gradle -# -# Busybox and similar reduced shells will NOT work, because this script -# requires all of these POSIX shell features: -# * functions; -# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», -# «${var#prefix}», «${var%suffix}», and «$( cmd )»; -# * compound commands having a testable exit status, especially «case»; -# * various built-in commands including «command», «set», and «ulimit». -# -# Important for patching: -# -# (2) This script targets any POSIX shell, so it avoids extensions provided -# by Bash, Ksh, etc; in particular arrays are avoided. -# -# The "traditional" practice of packing multiple parameters into a -# space-separated string is a well documented source of bugs and security -# problems, so this is (mostly) avoided, by progressively accumulating -# options in "$@", and eventually passing that to Java. -# -# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, -# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; -# see the in-line comments for details. -# -# There are tweaks for specific operating systems such as AIX, CygWin, -# Darwin, MinGW, and NonStop. -# -# (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt -# within the Gradle project. -# -# You can find Gradle at https://github.com/gradle/gradle/. -# -############################################################################## - -# Attempt to set APP_HOME - -# Resolve links: $0 may be a link -app_path=$0 -# Need this for daisy-chained symlinks. -while - APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path - [ -h "$app_path" ] -do - ls=$( ls -ld "$app_path" ) - link=${ls#*' -> '} - case $link in #( - /*) app_path=$link ;; #( - *) app_path=$APP_HOME$link ;; - esac -done -APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit - -APP_NAME="Gradle" -APP_BASE_NAME=${0##*/} - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD=maximum - -warn () { - echo "$*" -} >&2 - -die () { - echo - echo "$*" - echo - exit 1 -} >&2 - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -nonstop=false -case "$( uname )" in #( - CYGWIN* ) cygwin=true ;; #( - Darwin* ) darwin=true ;; #( - MSYS* | MINGW* ) msys=true ;; #( - NONSTOP* ) nonstop=true ;; -esac - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD=$JAVA_HOME/jre/sh/java - else - JAVACMD=$JAVA_HOME/bin/java - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD=java - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then - case $MAX_FD in #( - max*) - MAX_FD=$( ulimit -H -n ) || - warn "Could not query maximum file descriptor limit" - esac - case $MAX_FD in #( - '' | soft) :;; #( - *) - ulimit -n "$MAX_FD" || - warn "Could not set maximum file descriptor limit to $MAX_FD" - esac -fi - -# Collect all arguments for the java command, stacking in reverse order: -# * args from the command line -# * the main class name -# * -classpath -# * -D...appname settings -# * --module-path (only if needed) -# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. - -# For Cygwin or MSYS, switch paths to Windows format before running java -if "$cygwin" || "$msys" ; then - APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) - CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) - JAVACMD=$( cygpath --unix "$JAVACMD" ) - # Now convert the arguments - kludge to limit ourselves to /bin/sh - for arg do - if - case $arg in #( - -*) false ;; # don't mess with options #( - /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath - [ -e "$t" ] ;; #( - *) false ;; - esac - then - arg=$( cygpath --path --ignore --mixed "$arg" ) - fi - # Roll the args list around exactly as many times as the number of - # args, so each arg winds up back in the position where it started, but - # possibly modified. - # - # NB: a `for` loop captures its iteration list before it begins, so - # changing the positional parameters here affects neither the number of - # iterations, nor the values presented in `arg`. - shift # remove old arg - set -- "$@" "$arg" # push replacement arg - done -fi - -# Collect all arguments for the java command; -# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of -# shell script including quotes and variable substitutions, so put them in -# double quotes to make sure that they get re-expanded; and -# * put everything else in single quotes, so that it's not re-expanded. -set -- \ - "-Dorg.gradle.appname=$APP_BASE_NAME" \ - -classpath "$CLASSPATH" \ - org.gradle.wrapper.GradleWrapperMain \ - "$@" -# Use "xargs" to parse quoted args. -# -# With -n1 it outputs one arg per line, with the quotes and backslashes removed. -# -# In Bash we could simply go: -# -# readarray ARGS < <( xargs -n1 <<<"$var" ) && -# set -- "${ARGS[@]}" "$@" -# -# but POSIX shell has neither arrays nor command substitution, so instead we -# post-process each arg (as a line of input to sed) to backslash-escape any -# character that might be a shell metacharacter, then use eval to reverse -# that process (while maintaining the separation between arguments), and wrap -# the whole thing up as a single "set" statement. -# -# This will of course break if any of these variables contains a newline or -# an unmatched quote. -# -eval "set -- $( - printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | - xargs -n1 | - sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | - tr '\n' ' ' - )" '"$@"' - -exec "$JAVACMD" "$@" diff --git a/android/settings.gradle b/android/settings.gradle deleted file mode 100644 index a397a5f31e..0000000000 --- a/android/settings.gradle +++ /dev/null @@ -1,7 +0,0 @@ -rootProject.name = 'rnuilib' -apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) -include ':app' -includeBuild('../node_modules/react-native-gradle-plugin') - -include ':react-native-ui-lib' -project(':react-native-ui-lib').projectDir = new File(rootProject.projectDir, '../lib/android') diff --git a/demo/.npmignore b/demo/.npmignore deleted file mode 100644 index f251868c86..0000000000 --- a/demo/.npmignore +++ /dev/null @@ -1,3 +0,0 @@ -node_modules/ -.npmignore -showcase/ diff --git a/demo/package.json b/demo/package.json deleted file mode 100644 index 9d67ce93a9..0000000000 --- a/demo/package.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "name": "unicorn-demo-app", - "version": "1.1.16", - "main": "src/index.js", - "author": "Ethan Sharabi ", - "license": "MIT", - "publishConfig": { - "registry": "https://registry.npmjs.org/" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/wix/react-native-ui-lib.git" - }, - "scripts": { - "release": "node ./scripts/release.js", - "demoRelease": "node ./scripts/demoRelease.js" - }, - "dependencies": { - "light-date": "^1.2.0" - }, - "devDependencies": { - "react-native-ui-lib": "7.1.0", - "shell-utils": "^1.0.10" - }, - "peerDependencies": { - "react": "^18.2.0", - "react-native": "^0.71.2", - "react-native-ui-lib": "*", - "semver": "^5.5.0" - } -} diff --git a/demo/scripts/.npmrc b/demo/scripts/.npmrc deleted file mode 100644 index 1727810128..0000000000 --- a/demo/scripts/.npmrc +++ /dev/null @@ -1,2 +0,0 @@ -email=${NPM_EMAIL} -//registry.npmjs.org/:_authToken=${NPM_TOKEN} diff --git a/demo/scripts/demoRelease.js b/demo/scripts/demoRelease.js deleted file mode 100644 index 56e1768c10..0000000000 --- a/demo/scripts/demoRelease.js +++ /dev/null @@ -1,77 +0,0 @@ -const exec = require('shell-utils').exec; -const semver = require('semver'); -const _ = require('lodash'); -const p = require('path'); -const cp = require('child_process'); - -// Workaround JS - -const isRelease = process.env.BUILDKITE_MESSAGE.match(/^release$/i); -let VERSION; -if (isRelease) { - VERSION = cp.execSync(`buildkite-agent meta-data get version`).toString(); -} - -const VERSION_TAG = isRelease ? 'latest' : 'snapshot'; -const VERSION_INC = 'patch'; - -function run() { - if (!validateEnv()) { - return; - } - createNpmRc(); - versionTagAndPublish(); -} - -function validateEnv() { - if (!process.env.CI) { - throw new Error('releasing is only available from CI'); - } - return true; -} - -function createNpmRc() { - exec.execSync('rm -f package-lock.json'); - const npmrcPath = p.resolve(`${__dirname}/.npmrc`); - exec.execSync(`cp -rf ${npmrcPath} .`); -} - -function versionTagAndPublish() { - const currentPublished = findCurrentPublishedVersion(); - console.log(`current published version: ${currentPublished}`); - - const version = isRelease ? VERSION : `${currentPublished}-snapshot.${process.env.BUILDKITE_BUILD_NUMBER}`; - console.log(`Publishing version: ${version}`); - - tryPublishAndTag(version); -} - -function findCurrentPublishedVersion() { - return exec.execSyncRead(`npm view ${process.env.npm_package_name} dist-tags.latest`); -} - -function tryPublishAndTag(version) { - let theCandidate = version; - for (let retry = 0; retry < 5; retry++) { - try { - tagAndPublish(theCandidate); - console.log(`Released ${theCandidate}`); - return; - } catch (err) { - const alreadyPublished = _.includes(err.toString(), 'You cannot publish over the previously published version'); - if (!alreadyPublished) { - throw err; - } - console.log(`previously published. retrying with increased ${VERSION_INC}...`); - theCandidate = semver.inc(theCandidate, VERSION_INC); - } - } -} - -function tagAndPublish(newVersion) { - console.log(`trying to publish ${newVersion}...`); - exec.execSync(`npm --no-git-tag-version version ${newVersion}`); - exec.execSync(`npm publish --tag ${VERSION_TAG}`); -} - -run(); diff --git a/demo/scripts/release.js b/demo/scripts/release.js deleted file mode 100644 index b951f6e505..0000000000 --- a/demo/scripts/release.js +++ /dev/null @@ -1,67 +0,0 @@ -const cp = require('child_process'); -const p = require('path'); -const semver = require('semver'); - -function execSync(cmd) { - cp.execSync(cmd, { stdio: ['inherit', 'inherit', 'inherit'] }); -} - -function execSyncRead(cmd) { - return String(cp.execSync(cmd, { stdio: ['inherit', 'pipe', 'inherit'] })).trim(); -} - -function execSyncSilently(cmd) { - cp.execSync(cmd, { stdio: ['ignore', 'ignore', 'ignore'] }); -} - -function validateEnv() { - if (!process.env.CI || !process.env.TRAVIS) { - throw new Error('releasing is only available from Travis CI'); - } - - if (process.env.TRAVIS_BRANCH !== 'master') { - console.error(`not publishing on branch ${process.env.TRAVIS_BRANCH}`); - return false; - } - - if (process.env.TRAVIS_PULL_REQUEST !== 'false') { - console.error(`not publishing as triggered by pull request ${process.env.TRAVIS_PULL_REQUEST}`); - return false; - } - - return true; -} - -function calcNewVersion() { - const latestVersion = execSyncRead(`npm view ${process.env.npm_package_name}@latest version`); - console.log(`latest version is: ${latestVersion}`); - console.log(`package version is: ${process.env.npm_package_version}`); - if (semver.gt(process.env.npm_package_version, latestVersion)) { - return semver.inc(process.env.npm_package_version, 'patch'); - } else { - return semver.inc(latestVersion, 'patch'); - } -} - -function copyNpmRc() { - execSync('rm -f package-lock.json'); - const npmrcPath = p.resolve(`${__dirname}/.npmrc`); - execSync(`cp -rf ${npmrcPath} .`); -} - -function tagAndPublish(newVersion) { - console.log(`new version is: ${newVersion}`); - execSync(`npm version ${newVersion} -m "v${newVersion} [ci skip]"`); - execSync('npm publish --tag latest'); - execSyncSilently('git push deploy --tags'); -} - -function run() { - if (!validateEnv()) { - return; - } - copyNpmRc(); - tagAndPublish(calcNewVersion()); -} - -run(); diff --git a/demo/showcase/ActionBar/ActionBar.gif b/demo/showcase/ActionBar/ActionBar.gif deleted file mode 100644 index a42a13da6c..0000000000 Binary files a/demo/showcase/ActionBar/ActionBar.gif and /dev/null differ diff --git a/demo/showcase/Avatar/Avarat_1.png b/demo/showcase/Avatar/Avarat_1.png deleted file mode 100644 index a788826ec6..0000000000 Binary files a/demo/showcase/Avatar/Avarat_1.png and /dev/null differ diff --git a/demo/showcase/Avatar/Avarat_2.png b/demo/showcase/Avatar/Avarat_2.png deleted file mode 100644 index 3db8dae5b0..0000000000 Binary files a/demo/showcase/Avatar/Avarat_2.png and /dev/null differ diff --git a/demo/showcase/Button/Button Animated.gif b/demo/showcase/Button/Button Animated.gif deleted file mode 100644 index 033f8eb6dc..0000000000 Binary files a/demo/showcase/Button/Button Animated.gif and /dev/null differ diff --git a/demo/showcase/Button/Button Corners.png b/demo/showcase/Button/Button Corners.png deleted file mode 100644 index 0f789c767e..0000000000 Binary files a/demo/showcase/Button/Button Corners.png and /dev/null differ diff --git a/demo/showcase/Button/Button Custom.png b/demo/showcase/Button/Button Custom.png deleted file mode 100644 index b5a59b3cb4..0000000000 Binary files a/demo/showcase/Button/Button Custom.png and /dev/null differ diff --git a/demo/showcase/Button/Button Full.png b/demo/showcase/Button/Button Full.png deleted file mode 100644 index 2be63358d3..0000000000 Binary files a/demo/showcase/Button/Button Full.png and /dev/null differ diff --git a/demo/showcase/Button/Button Inspirations.png b/demo/showcase/Button/Button Inspirations.png deleted file mode 100644 index b911d9eca2..0000000000 Binary files a/demo/showcase/Button/Button Inspirations.png and /dev/null differ diff --git a/demo/showcase/Button/Button Outlines.png b/demo/showcase/Button/Button Outlines.png deleted file mode 100644 index 16ba3f8565..0000000000 Binary files a/demo/showcase/Button/Button Outlines.png and /dev/null differ diff --git a/demo/showcase/Button/Button Round.png b/demo/showcase/Button/Button Round.png deleted file mode 100644 index 819acff756..0000000000 Binary files a/demo/showcase/Button/Button Round.png and /dev/null differ diff --git a/demo/showcase/Button/Button Sizes.png b/demo/showcase/Button/Button Sizes.png deleted file mode 100644 index d3e3652da0..0000000000 Binary files a/demo/showcase/Button/Button Sizes.png and /dev/null differ diff --git a/demo/showcase/Button/Button Typographies.png b/demo/showcase/Button/Button Typographies.png deleted file mode 100644 index e95ee48848..0000000000 Binary files a/demo/showcase/Button/Button Typographies.png and /dev/null differ diff --git a/demo/showcase/Card/Card_Selecteable.gif b/demo/showcase/Card/Card_Selecteable.gif deleted file mode 100644 index 3ed959a7dc..0000000000 Binary files a/demo/showcase/Card/Card_Selecteable.gif and /dev/null differ diff --git a/demo/showcase/Card/Cards_01.png b/demo/showcase/Card/Cards_01.png deleted file mode 100644 index 479f20ee6f..0000000000 Binary files a/demo/showcase/Card/Cards_01.png and /dev/null differ diff --git a/demo/showcase/Card/Cards_02.png b/demo/showcase/Card/Cards_02.png deleted file mode 100644 index 47c1f80cd6..0000000000 Binary files a/demo/showcase/Card/Cards_02.png and /dev/null differ diff --git a/demo/showcase/Card/Cards_03.png b/demo/showcase/Card/Cards_03.png deleted file mode 100644 index 2780497429..0000000000 Binary files a/demo/showcase/Card/Cards_03.png and /dev/null differ diff --git a/demo/showcase/Card/Cards_activeScale.gif b/demo/showcase/Card/Cards_activeScale.gif deleted file mode 100644 index 2e34c49e08..0000000000 Binary files a/demo/showcase/Card/Cards_activeScale.gif and /dev/null differ diff --git a/demo/showcase/Checkbox/Checkbox.gif b/demo/showcase/Checkbox/Checkbox.gif deleted file mode 100644 index 03be43307a..0000000000 Binary files a/demo/showcase/Checkbox/Checkbox.gif and /dev/null differ diff --git a/demo/showcase/ChipsInput/ChipsInput.gif b/demo/showcase/ChipsInput/ChipsInput.gif deleted file mode 100644 index 48d16130fa..0000000000 Binary files a/demo/showcase/ChipsInput/ChipsInput.gif and /dev/null differ diff --git a/demo/showcase/ColorPalette/ColorPalette.gif b/demo/showcase/ColorPalette/ColorPalette.gif deleted file mode 100644 index e4ac6a8c63..0000000000 Binary files a/demo/showcase/ColorPalette/ColorPalette.gif and /dev/null differ diff --git a/demo/showcase/ColorPicker/ColorPicker.gif b/demo/showcase/ColorPicker/ColorPicker.gif deleted file mode 100644 index 5d7982a316..0000000000 Binary files a/demo/showcase/ColorPicker/ColorPicker.gif and /dev/null differ diff --git a/demo/showcase/ColorSliderGroup/ColorSliderGroup.gif b/demo/showcase/ColorSliderGroup/ColorSliderGroup.gif deleted file mode 100644 index fac92a9a3e..0000000000 Binary files a/demo/showcase/ColorSliderGroup/ColorSliderGroup.gif and /dev/null differ diff --git a/demo/showcase/DateTimePicker/DateTimePicker_Android.gif b/demo/showcase/DateTimePicker/DateTimePicker_Android.gif deleted file mode 100644 index 38c20001d7..0000000000 Binary files a/demo/showcase/DateTimePicker/DateTimePicker_Android.gif and /dev/null differ diff --git a/demo/showcase/DateTimePicker/DateTimePicker_iOS.gif b/demo/showcase/DateTimePicker/DateTimePicker_iOS.gif deleted file mode 100644 index fe5d7f8f6b..0000000000 Binary files a/demo/showcase/DateTimePicker/DateTimePicker_iOS.gif and /dev/null differ diff --git a/demo/showcase/Dialog/Dialog.gif b/demo/showcase/Dialog/Dialog.gif deleted file mode 100644 index 8c9bd5610a..0000000000 Binary files a/demo/showcase/Dialog/Dialog.gif and /dev/null differ diff --git a/demo/showcase/Drawer/Drawer.gif b/demo/showcase/Drawer/Drawer.gif deleted file mode 100644 index 715a9cb706..0000000000 Binary files a/demo/showcase/Drawer/Drawer.gif and /dev/null differ diff --git a/demo/showcase/ExpandableSection/ExpandableSection.gif b/demo/showcase/ExpandableSection/ExpandableSection.gif deleted file mode 100644 index 4bdde5efe2..0000000000 Binary files a/demo/showcase/ExpandableSection/ExpandableSection.gif and /dev/null differ diff --git a/demo/showcase/Fader/Fader.gif b/demo/showcase/Fader/Fader.gif deleted file mode 100644 index 970d38225a..0000000000 Binary files a/demo/showcase/Fader/Fader.gif and /dev/null differ diff --git a/demo/showcase/FeatureHighlight/FeatureHighlight.gif b/demo/showcase/FeatureHighlight/FeatureHighlight.gif deleted file mode 100644 index 3668aabbfa..0000000000 Binary files a/demo/showcase/FeatureHighlight/FeatureHighlight.gif and /dev/null differ diff --git a/demo/showcase/FloatingButton/FloatingButton.gif b/demo/showcase/FloatingButton/FloatingButton.gif deleted file mode 100644 index 524cf34bd3..0000000000 Binary files a/demo/showcase/FloatingButton/FloatingButton.gif and /dev/null differ diff --git a/demo/showcase/GradientSlider/GradientSlider.gif b/demo/showcase/GradientSlider/GradientSlider.gif deleted file mode 100644 index 9cdf724bab..0000000000 Binary files a/demo/showcase/GradientSlider/GradientSlider.gif and /dev/null differ diff --git a/demo/showcase/Hint/Hint.gif b/demo/showcase/Hint/Hint.gif deleted file mode 100644 index c888f1b941..0000000000 Binary files a/demo/showcase/Hint/Hint.gif and /dev/null differ diff --git a/demo/showcase/Incubator.TextField/CharCounter.gif b/demo/showcase/Incubator.TextField/CharCounter.gif deleted file mode 100644 index 6bd50dcca6..0000000000 Binary files a/demo/showcase/Incubator.TextField/CharCounter.gif and /dev/null differ diff --git a/demo/showcase/Incubator.TextField/ColorByState.gif b/demo/showcase/Incubator.TextField/ColorByState.gif deleted file mode 100644 index 142104c50f..0000000000 Binary files a/demo/showcase/Incubator.TextField/ColorByState.gif and /dev/null differ diff --git a/demo/showcase/Incubator.TextField/FloatingPlaceholder.gif b/demo/showcase/Incubator.TextField/FloatingPlaceholder.gif deleted file mode 100644 index 2e90370eef..0000000000 Binary files a/demo/showcase/Incubator.TextField/FloatingPlaceholder.gif and /dev/null differ diff --git a/demo/showcase/Incubator.TextField/Hint.gif b/demo/showcase/Incubator.TextField/Hint.gif deleted file mode 100644 index ee24d1f2de..0000000000 Binary files a/demo/showcase/Incubator.TextField/Hint.gif and /dev/null differ diff --git a/demo/showcase/Incubator.TextField/Validation.gif b/demo/showcase/Incubator.TextField/Validation.gif deleted file mode 100644 index c3c52e9f20..0000000000 Binary files a/demo/showcase/Incubator.TextField/Validation.gif and /dev/null differ diff --git a/demo/showcase/KeyboardAccessoryView/KeyboardAccessoryView.gif b/demo/showcase/KeyboardAccessoryView/KeyboardAccessoryView.gif deleted file mode 100644 index 3d49b369e1..0000000000 Binary files a/demo/showcase/KeyboardAccessoryView/KeyboardAccessoryView.gif and /dev/null differ diff --git a/demo/showcase/KeyboardTrackingView/KeyboardTrackingView.gif b/demo/showcase/KeyboardTrackingView/KeyboardTrackingView.gif deleted file mode 100644 index aa375bf015..0000000000 Binary files a/demo/showcase/KeyboardTrackingView/KeyboardTrackingView.gif and /dev/null differ diff --git a/demo/showcase/PanDismissibleView/PanDismissibleView.gif b/demo/showcase/PanDismissibleView/PanDismissibleView.gif deleted file mode 100644 index d4e162247f..0000000000 Binary files a/demo/showcase/PanDismissibleView/PanDismissibleView.gif and /dev/null differ diff --git a/demo/showcase/PanListenerView/PanListenerView.gif b/demo/showcase/PanListenerView/PanListenerView.gif deleted file mode 100644 index 81df89f6e4..0000000000 Binary files a/demo/showcase/PanListenerView/PanListenerView.gif and /dev/null differ diff --git a/demo/showcase/PanResponderView/PanResponderView.gif b/demo/showcase/PanResponderView/PanResponderView.gif deleted file mode 100644 index 4dfdbf7bc6..0000000000 Binary files a/demo/showcase/PanResponderView/PanResponderView.gif and /dev/null differ diff --git a/demo/showcase/Picker/CustomPicker.gif b/demo/showcase/Picker/CustomPicker.gif deleted file mode 100644 index ad2ef211d2..0000000000 Binary files a/demo/showcase/Picker/CustomPicker.gif and /dev/null differ diff --git a/demo/showcase/Picker/Default.gif b/demo/showcase/Picker/Default.gif deleted file mode 100644 index 8d145fe0b7..0000000000 Binary files a/demo/showcase/Picker/Default.gif and /dev/null differ diff --git a/demo/showcase/Picker/DialogPicker.gif b/demo/showcase/Picker/DialogPicker.gif deleted file mode 100644 index 0bd61df28b..0000000000 Binary files a/demo/showcase/Picker/DialogPicker.gif and /dev/null differ diff --git a/demo/showcase/Picker/MultiPicker.gif b/demo/showcase/Picker/MultiPicker.gif deleted file mode 100644 index 6492c248a2..0000000000 Binary files a/demo/showcase/Picker/MultiPicker.gif and /dev/null differ diff --git a/demo/showcase/Picker/NativePicker.gif b/demo/showcase/Picker/NativePicker.gif deleted file mode 100644 index 5b05b243c4..0000000000 Binary files a/demo/showcase/Picker/NativePicker.gif and /dev/null differ diff --git a/demo/showcase/RadioButton/Alignment.gif b/demo/showcase/RadioButton/Alignment.gif deleted file mode 100644 index 95214d168e..0000000000 Binary files a/demo/showcase/RadioButton/Alignment.gif and /dev/null differ diff --git a/demo/showcase/RadioButton/Custom.gif b/demo/showcase/RadioButton/Custom.gif deleted file mode 100644 index 2dadfd9027..0000000000 Binary files a/demo/showcase/RadioButton/Custom.gif and /dev/null differ diff --git a/demo/showcase/RadioButton/Default.gif b/demo/showcase/RadioButton/Default.gif deleted file mode 100644 index bec5a60ca1..0000000000 Binary files a/demo/showcase/RadioButton/Default.gif and /dev/null differ diff --git a/demo/showcase/RadioButton/Individual.png b/demo/showcase/RadioButton/Individual.png deleted file mode 100644 index 798195c19b..0000000000 Binary files a/demo/showcase/RadioButton/Individual.png and /dev/null differ diff --git a/demo/showcase/SectionsWheelPicker/SectionsWheelPicker.gif b/demo/showcase/SectionsWheelPicker/SectionsWheelPicker.gif deleted file mode 100644 index 453d866d99..0000000000 Binary files a/demo/showcase/SectionsWheelPicker/SectionsWheelPicker.gif and /dev/null differ diff --git a/demo/showcase/SegmentedControl/SegmentedControl.gif b/demo/showcase/SegmentedControl/SegmentedControl.gif deleted file mode 100644 index ef466b73a5..0000000000 Binary files a/demo/showcase/SegmentedControl/SegmentedControl.gif and /dev/null differ diff --git a/demo/showcase/Skeleton/Skeleton.gif b/demo/showcase/Skeleton/Skeleton.gif deleted file mode 100644 index fbe6da1a5c..0000000000 Binary files a/demo/showcase/Skeleton/Skeleton.gif and /dev/null differ diff --git a/demo/showcase/Slider/Slider.gif b/demo/showcase/Slider/Slider.gif deleted file mode 100644 index 7e98847a44..0000000000 Binary files a/demo/showcase/Slider/Slider.gif and /dev/null differ diff --git a/demo/showcase/StackAggregator/StackAggregator.gif b/demo/showcase/StackAggregator/StackAggregator.gif deleted file mode 100644 index f574221c49..0000000000 Binary files a/demo/showcase/StackAggregator/StackAggregator.gif and /dev/null differ diff --git a/demo/showcase/Stepper/Stepper.gif b/demo/showcase/Stepper/Stepper.gif deleted file mode 100644 index da48e4cb1a..0000000000 Binary files a/demo/showcase/Stepper/Stepper.gif and /dev/null differ diff --git a/demo/showcase/Switch/Switch.gif b/demo/showcase/Switch/Switch.gif deleted file mode 100644 index 0966c714e9..0000000000 Binary files a/demo/showcase/Switch/Switch.gif and /dev/null differ diff --git a/demo/showcase/TabController/CenterSelected.gif b/demo/showcase/TabController/CenterSelected.gif deleted file mode 100644 index 7edf143539..0000000000 Binary files a/demo/showcase/TabController/CenterSelected.gif and /dev/null differ diff --git a/demo/showcase/TabController/Default.gif b/demo/showcase/TabController/Default.gif deleted file mode 100644 index 194d916b43..0000000000 Binary files a/demo/showcase/TabController/Default.gif and /dev/null differ diff --git a/demo/showcase/TabController/PageCarousel.gif b/demo/showcase/TabController/PageCarousel.gif deleted file mode 100644 index b6a4a910ba..0000000000 Binary files a/demo/showcase/TabController/PageCarousel.gif and /dev/null differ diff --git a/demo/showcase/Text/Highlights.png b/demo/showcase/Text/Highlights.png deleted file mode 100644 index aceb8d336b..0000000000 Binary files a/demo/showcase/Text/Highlights.png and /dev/null differ diff --git a/demo/showcase/Text/Modifiers.png b/demo/showcase/Text/Modifiers.png deleted file mode 100644 index 3f106b3c8e..0000000000 Binary files a/demo/showcase/Text/Modifiers.png and /dev/null differ diff --git a/demo/showcase/Text/Transformation.png b/demo/showcase/Text/Transformation.png deleted file mode 100644 index 4a2c71c469..0000000000 Binary files a/demo/showcase/Text/Transformation.png and /dev/null differ diff --git a/demo/showcase/Toast/Toast.gif b/demo/showcase/Toast/Toast.gif deleted file mode 100644 index 969225a266..0000000000 Binary files a/demo/showcase/Toast/Toast.gif and /dev/null differ diff --git a/demo/showcase/Toast/ToastAttachment.gif b/demo/showcase/Toast/ToastAttachment.gif deleted file mode 100644 index f16632a436..0000000000 Binary files a/demo/showcase/Toast/ToastAttachment.gif and /dev/null differ diff --git a/demo/showcase/Wizard/Wizard.gif b/demo/showcase/Wizard/Wizard.gif deleted file mode 100644 index 97556610ef..0000000000 Binary files a/demo/showcase/Wizard/Wizard.gif and /dev/null differ diff --git a/demo/showcase/Wizard/WizardPresets.png b/demo/showcase/Wizard/WizardPresets.png deleted file mode 100644 index face70c3ea..0000000000 Binary files a/demo/showcase/Wizard/WizardPresets.png and /dev/null differ diff --git a/demo/src/assets/animations/HamburgerArrow.json b/demo/src/assets/animations/HamburgerArrow.json deleted file mode 100755 index 886cc5756b..0000000000 --- a/demo/src/assets/animations/HamburgerArrow.json +++ /dev/null @@ -1 +0,0 @@ -{"assets":[],"layers":[{"ddd":0,"ind":0,"ty":3,"nm":"Rotator","ks":{"o":{"k":0},"r":{"k":[{"i":{"x":[0.56],"y":[1]},"o":{"x":[0.634],"y":[0]},"n":["0p56_1_0p634_0"],"t":19,"s":[0],"e":[190.7]},{"i":{"x":[0.562],"y":[1]},"o":{"x":[0.398],"y":[0]},"n":["0p562_1_0p398_0"],"t":33,"s":[190.7],"e":[176.1]},{"i":{"x":[0.684],"y":[1]},"o":{"x":[0.31],"y":[0]},"n":["0p684_1_0p31_0"],"t":40.5,"s":[176.1],"e":[181.8]},{"i":{"x":[0.684],"y":[1]},"o":{"x":[0.438],"y":[0]},"n":["0p684_1_0p438_0"],"t":55,"s":[181.8],"e":[180]},{"i":{"x":[0.733],"y":[0.733]},"o":{"x":[0.385],"y":[0.385]},"n":["0p733_0p733_0p385_0p385"],"t":71,"s":[180],"e":[180]},{"i":{"x":[0.092],"y":[1]},"o":{"x":[0.406],"y":[0]},"n":["0p092_1_0p406_0"],"t":111,"s":[180],"e":[167.9]},{"i":{"x":[0.341],"y":[1]},"o":{"x":[0.6],"y":[0]},"n":["0p341_1_0p6_0"],"t":116,"s":[167.9],"e":[363]},{"i":{"x":[0.462],"y":[1]},"o":{"x":[0.167],"y":[0]},"n":["0p462_1_0p167_0"],"t":134,"s":[363],"e":[360]},{"t":141}]},"p":{"k":[200.5,149.375,0]},"a":{"k":[60,60,0]},"s":{"k":[100,100,100]}},"ao":0,"ip":0,"op":180,"st":0,"bm":0,"sr":1},{"ddd":0,"ind":1,"ty":4,"nm":"A1","parent":0,"ks":{"o":{"k":100},"r":{"k":[{"i":{"x":[0.56],"y":[1]},"o":{"x":[0.634],"y":[0]},"n":["0p56_1_0p634_0"],"t":19,"s":[0],"e":[-45]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":33,"s":[-45],"e":[-45]},{"i":{"x":[0.341],"y":[1]},"o":{"x":[0.6],"y":[0]},"n":["0p341_1_0p6_0"],"t":116,"s":[-45],"e":[0]},{"t":134}]},"p":{"k":[{"i":{"x":0.56,"y":1},"o":{"x":0.634,"y":0},"n":"0p56_1_0p634_0","t":19,"s":[94.5,82.875,0],"e":[96.2,57.055,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0,"y":0},"o":{"x":0.167,"y":0.167},"n":"0_0_0p167_0p167","t":33,"s":[96.2,57.055,0],"e":[96.2,57.055,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.341,"y":1},"o":{"x":0.6,"y":0},"n":"0p341_1_0p6_0","t":116,"s":[96.2,57.055,0],"e":[94.5,82.875,0],"to":[0,0,0],"ti":[0,0,0]},{"t":134}]},"a":{"k":[35,22.25,0]},"s":{"k":[100,100,100]}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ks":{"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-34,22.25],[35,22.25]],"c":false}},"nm":"Path 1"},{"ty":"st","fillEnabled":true,"c":{"k":[0.4,0.16,0.7,1]},"o":{"k":100},"w":{"k":10},"lc":1,"lj":1,"ml":4,"nm":"Stroke 1"},{"ty":"tr","p":{"k":[0,0],"ix":2},"a":{"k":[0,0],"ix":1},"s":{"k":[100,100],"ix":3},"r":{"k":0,"ix":6},"o":{"k":100,"ix":7},"sk":{"k":0,"ix":4},"sa":{"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1"},{"ty":"tm","s":{"k":[{"i":{"x":[0.56],"y":[1]},"o":{"x":[0.634],"y":[0]},"n":["0p56_1_0p634_0"],"t":19,"s":[0],"e":[26]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":33,"s":[26],"e":[26]},{"i":{"x":[0.341],"y":[1]},"o":{"x":[0.6],"y":[0]},"n":["0p341_1_0p6_0"],"t":116,"s":[26],"e":[0]},{"t":134}],"ix":1},"e":{"k":[{"i":{"x":[0.56],"y":[0.56]},"o":{"x":[0.634],"y":[0.634]},"n":["0p56_0p56_0p634_0p634"],"t":19,"s":[100],"e":[100]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":33,"s":[100],"e":[100]},{"i":{"x":[0.341],"y":[0.341]},"o":{"x":[0.6],"y":[0.6]},"n":["0p341_0p341_0p6_0p6"],"t":116,"s":[100],"e":[100]},{"t":134}],"ix":2},"o":{"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1"}],"ip":0,"op":180,"st":0,"bm":0,"sr":1},{"ddd":0,"ind":2,"ty":4,"nm":"A2","parent":0,"ks":{"o":{"k":100},"r":{"k":0},"p":{"k":[60,60.625,0]},"a":{"k":[0.5,0,0]},"s":{"k":[100,100,100]}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ks":{"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-34,0],[35,0]],"c":false}},"nm":"Path 1"},{"ty":"st","fillEnabled":true,"c":{"k":[0.4,0.16,0.7,1]},"o":{"k":100},"w":{"k":10},"lc":1,"lj":1,"ml":4,"nm":"Stroke 1"},{"ty":"tr","p":{"k":[0,0],"ix":2},"a":{"k":[0,0],"ix":1},"s":{"k":[100,100],"ix":3},"r":{"k":0,"ix":6},"o":{"k":100,"ix":7},"sk":{"k":0,"ix":4},"sa":{"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1"}],"ip":0,"op":180,"st":0,"bm":0,"sr":1},{"ddd":0,"ind":3,"ty":4,"nm":"A3","parent":0,"ks":{"o":{"k":100},"r":{"k":[{"i":{"x":[0.56],"y":[1]},"o":{"x":[0.634],"y":[0]},"n":["0p56_1_0p634_0"],"t":19,"s":[0],"e":[45]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":33,"s":[45],"e":[45]},{"i":{"x":[0.341],"y":[1]},"o":{"x":[0.6],"y":[0]},"n":["0p341_1_0p6_0"],"t":116,"s":[45],"e":[0]},{"t":134}]},"p":{"k":[{"i":{"x":0.56,"y":1},"o":{"x":0.634,"y":0},"n":"0p56_1_0p634_0","t":19,"s":[94.5,37.125,0],"e":[96.2,64.045,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0,"y":0},"o":{"x":0.167,"y":0.167},"n":"0_0_0p167_0p167","t":33,"s":[96.2,64.045,0],"e":[96.2,64.045,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.341,"y":1},"o":{"x":0.6,"y":0},"n":"0p341_1_0p6_0","t":116,"s":[96.2,64.045,0],"e":[94.5,37.125,0],"to":[0,0,0],"ti":[0,0,0]},{"t":134}]},"a":{"k":[35,-23.5,0]},"s":{"k":[100,100,100]}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ks":{"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-34,-23.5],[35,-23.5]],"c":false}},"nm":"Path 1"},{"ty":"st","fillEnabled":true,"c":{"k":[0.4,0.16,0.7,1]},"o":{"k":100},"w":{"k":10},"lc":1,"lj":1,"ml":4,"nm":"Stroke 1"},{"ty":"tr","p":{"k":[0,0],"ix":2},"a":{"k":[0,0],"ix":1},"s":{"k":[100,100],"ix":3},"r":{"k":0,"ix":6},"o":{"k":100,"ix":7},"sk":{"k":0,"ix":4},"sa":{"k":0,"ix":5},"nm":"Transform"}],"nm":"Shape 1"},{"ty":"tm","s":{"k":[{"i":{"x":[0.56],"y":[1]},"o":{"x":[0.634],"y":[0]},"n":["0p56_1_0p634_0"],"t":19,"s":[0],"e":[26]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":33,"s":[26],"e":[26]},{"i":{"x":[0.341],"y":[1]},"o":{"x":[0.6],"y":[0]},"n":["0p341_1_0p6_0"],"t":116,"s":[26],"e":[0]},{"t":134}],"ix":1},"e":{"k":[{"i":{"x":[0.56],"y":[0.56]},"o":{"x":[0.634],"y":[0.634]},"n":["0p56_0p56_0p634_0p634"],"t":19,"s":[100],"e":[100]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"n":["0p833_0p833_0p167_0p167"],"t":33,"s":[100],"e":[100]},{"i":{"x":[0.341],"y":[0.341]},"o":{"x":[0.6],"y":[0.6]},"n":["0p341_0p341_0p6_0p6"],"t":116,"s":[100],"e":[100]},{"t":134}],"ix":2},"o":{"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1"}],"ip":0,"op":180,"st":0,"bm":0,"sr":1}],"v":"4.4.26","ddd":0,"ip":0,"op":180,"fr":30,"w":400,"h":300} \ No newline at end of file diff --git a/demo/src/assets/icons/add.png b/demo/src/assets/icons/add.png deleted file mode 100644 index e7bc1e78d7..0000000000 Binary files a/demo/src/assets/icons/add.png and /dev/null differ diff --git a/demo/src/assets/icons/add@1.5x.png b/demo/src/assets/icons/add@1.5x.png deleted file mode 100644 index c44f4e7d6f..0000000000 Binary files a/demo/src/assets/icons/add@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/add@2x.png b/demo/src/assets/icons/add@2x.png deleted file mode 100644 index dfc90aa1e6..0000000000 Binary files a/demo/src/assets/icons/add@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/add@3x.png b/demo/src/assets/icons/add@3x.png deleted file mode 100644 index 41f4a5dd19..0000000000 Binary files a/demo/src/assets/icons/add@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/add@4x.png b/demo/src/assets/icons/add@4x.png deleted file mode 100644 index 4cc63be05c..0000000000 Binary files a/demo/src/assets/icons/add@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/archive.png b/demo/src/assets/icons/archive.png deleted file mode 100755 index 98fa4ba69c..0000000000 Binary files a/demo/src/assets/icons/archive.png and /dev/null differ diff --git a/demo/src/assets/icons/archive@1.5x.png b/demo/src/assets/icons/archive@1.5x.png deleted file mode 100755 index 48e003005b..0000000000 Binary files a/demo/src/assets/icons/archive@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/archive@2x.png b/demo/src/assets/icons/archive@2x.png deleted file mode 100755 index 57bd49d8c3..0000000000 Binary files a/demo/src/assets/icons/archive@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/archive@3x.png b/demo/src/assets/icons/archive@3x.png deleted file mode 100755 index 295e315efa..0000000000 Binary files a/demo/src/assets/icons/archive@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/archive@4x.png b/demo/src/assets/icons/archive@4x.png deleted file mode 100755 index e4a03447e6..0000000000 Binary files a/demo/src/assets/icons/archive@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/bell.png b/demo/src/assets/icons/bell.png deleted file mode 100644 index 4936f84574..0000000000 Binary files a/demo/src/assets/icons/bell.png and /dev/null differ diff --git a/demo/src/assets/icons/bell@2x.png b/demo/src/assets/icons/bell@2x.png deleted file mode 100644 index 5c2f33b0d9..0000000000 Binary files a/demo/src/assets/icons/bell@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/bell@3x.png b/demo/src/assets/icons/bell@3x.png deleted file mode 100644 index 44a2212a6c..0000000000 Binary files a/demo/src/assets/icons/bell@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/cameraSelected.png b/demo/src/assets/icons/cameraSelected.png deleted file mode 100644 index f46c98593f..0000000000 Binary files a/demo/src/assets/icons/cameraSelected.png and /dev/null differ diff --git a/demo/src/assets/icons/cameraSelected@1.5x.png b/demo/src/assets/icons/cameraSelected@1.5x.png deleted file mode 100644 index c77e7017ec..0000000000 Binary files a/demo/src/assets/icons/cameraSelected@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/cameraSelected@2x.png b/demo/src/assets/icons/cameraSelected@2x.png deleted file mode 100644 index af2b62e175..0000000000 Binary files a/demo/src/assets/icons/cameraSelected@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/cameraSelected@3x.png b/demo/src/assets/icons/cameraSelected@3x.png deleted file mode 100644 index f48acaf7b5..0000000000 Binary files a/demo/src/assets/icons/cameraSelected@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/cameraSelected@4x.png b/demo/src/assets/icons/cameraSelected@4x.png deleted file mode 100644 index 5be0c2b52d..0000000000 Binary files a/demo/src/assets/icons/cameraSelected@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/check-small.png b/demo/src/assets/icons/check-small.png deleted file mode 100644 index 6e22b87659..0000000000 Binary files a/demo/src/assets/icons/check-small.png and /dev/null differ diff --git a/demo/src/assets/icons/check-small@1.5x.png b/demo/src/assets/icons/check-small@1.5x.png deleted file mode 100644 index 902f55cb35..0000000000 Binary files a/demo/src/assets/icons/check-small@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/check-small@2x.png b/demo/src/assets/icons/check-small@2x.png deleted file mode 100644 index d460167b87..0000000000 Binary files a/demo/src/assets/icons/check-small@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/check-small@3x.png b/demo/src/assets/icons/check-small@3x.png deleted file mode 100644 index 81c4dbada7..0000000000 Binary files a/demo/src/assets/icons/check-small@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/check-small@4x.png b/demo/src/assets/icons/check-small@4x.png deleted file mode 100644 index 8346c27327..0000000000 Binary files a/demo/src/assets/icons/check-small@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/chevronDown.png b/demo/src/assets/icons/chevronDown.png deleted file mode 100644 index 6439e5c516..0000000000 Binary files a/demo/src/assets/icons/chevronDown.png and /dev/null differ diff --git a/demo/src/assets/icons/chevronDown@2x.png b/demo/src/assets/icons/chevronDown@2x.png deleted file mode 100644 index 7ac964e33f..0000000000 Binary files a/demo/src/assets/icons/chevronDown@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/chevronDown@3x.png b/demo/src/assets/icons/chevronDown@3x.png deleted file mode 100644 index a8a445fadb..0000000000 Binary files a/demo/src/assets/icons/chevronDown@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/chevronDown@4x.android.png b/demo/src/assets/icons/chevronDown@4x.android.png deleted file mode 100644 index d21606a0bc..0000000000 Binary files a/demo/src/assets/icons/chevronDown@4x.android.png and /dev/null differ diff --git a/demo/src/assets/icons/chevronRight.png b/demo/src/assets/icons/chevronRight.png deleted file mode 100644 index 8fd98c696e..0000000000 Binary files a/demo/src/assets/icons/chevronRight.png and /dev/null differ diff --git a/demo/src/assets/icons/chevronRight@1.5x.android.png b/demo/src/assets/icons/chevronRight@1.5x.android.png deleted file mode 100644 index 395b05810e..0000000000 Binary files a/demo/src/assets/icons/chevronRight@1.5x.android.png and /dev/null differ diff --git a/demo/src/assets/icons/chevronRight@2x.png b/demo/src/assets/icons/chevronRight@2x.png deleted file mode 100644 index 8f06c077db..0000000000 Binary files a/demo/src/assets/icons/chevronRight@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/chevronRight@3x.png b/demo/src/assets/icons/chevronRight@3x.png deleted file mode 100644 index a67ae8a85f..0000000000 Binary files a/demo/src/assets/icons/chevronRight@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/chevronRight@4x.android.png b/demo/src/assets/icons/chevronRight@4x.android.png deleted file mode 100644 index f4f2c8d8ab..0000000000 Binary files a/demo/src/assets/icons/chevronRight@4x.android.png and /dev/null differ diff --git a/demo/src/assets/icons/chevronUp.png b/demo/src/assets/icons/chevronUp.png deleted file mode 100644 index d371ad1f59..0000000000 Binary files a/demo/src/assets/icons/chevronUp.png and /dev/null differ diff --git a/demo/src/assets/icons/chevronUp@1.5x.android.png b/demo/src/assets/icons/chevronUp@1.5x.android.png deleted file mode 100644 index beeac7f1cb..0000000000 Binary files a/demo/src/assets/icons/chevronUp@1.5x.android.png and /dev/null differ diff --git a/demo/src/assets/icons/chevronUp@2x.png b/demo/src/assets/icons/chevronUp@2x.png deleted file mode 100644 index 1d1b897c46..0000000000 Binary files a/demo/src/assets/icons/chevronUp@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/chevronUp@3x.png b/demo/src/assets/icons/chevronUp@3x.png deleted file mode 100644 index 9f67898a1b..0000000000 Binary files a/demo/src/assets/icons/chevronUp@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/chevronUp@4x.android.png b/demo/src/assets/icons/chevronUp@4x.android.png deleted file mode 100644 index 344baf2c07..0000000000 Binary files a/demo/src/assets/icons/chevronUp@4x.android.png and /dev/null differ diff --git a/demo/src/assets/icons/close.png b/demo/src/assets/icons/close.png deleted file mode 100644 index 2e089eb234..0000000000 Binary files a/demo/src/assets/icons/close.png and /dev/null differ diff --git a/demo/src/assets/icons/close@1.5x.png b/demo/src/assets/icons/close@1.5x.png deleted file mode 100644 index 36117a1ae8..0000000000 Binary files a/demo/src/assets/icons/close@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/close@2x.png b/demo/src/assets/icons/close@2x.png deleted file mode 100644 index 0f7e2f5f00..0000000000 Binary files a/demo/src/assets/icons/close@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/close@3x.png b/demo/src/assets/icons/close@3x.png deleted file mode 100644 index 44f8c1497b..0000000000 Binary files a/demo/src/assets/icons/close@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/close@4x.png b/demo/src/assets/icons/close@4x.png deleted file mode 100644 index 1c9517db07..0000000000 Binary files a/demo/src/assets/icons/close@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/collections.png b/demo/src/assets/icons/collections.png deleted file mode 100644 index 3f1698bd2b..0000000000 Binary files a/demo/src/assets/icons/collections.png and /dev/null differ diff --git a/demo/src/assets/icons/collections@1.5x.png b/demo/src/assets/icons/collections@1.5x.png deleted file mode 100644 index 460caa3cf9..0000000000 Binary files a/demo/src/assets/icons/collections@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/collections@2x.png b/demo/src/assets/icons/collections@2x.png deleted file mode 100644 index 5cfff4c64e..0000000000 Binary files a/demo/src/assets/icons/collections@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/collections@3x.png b/demo/src/assets/icons/collections@3x.png deleted file mode 100644 index ef4e32f356..0000000000 Binary files a/demo/src/assets/icons/collections@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/collections@4x.png b/demo/src/assets/icons/collections@4x.png deleted file mode 100644 index 97f23af2f2..0000000000 Binary files a/demo/src/assets/icons/collections@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/dashboard.png b/demo/src/assets/icons/dashboard.png deleted file mode 100644 index 264fe63c88..0000000000 Binary files a/demo/src/assets/icons/dashboard.png and /dev/null differ diff --git a/demo/src/assets/icons/dashboard@1.5x.png b/demo/src/assets/icons/dashboard@1.5x.png deleted file mode 100644 index 3aa6a36350..0000000000 Binary files a/demo/src/assets/icons/dashboard@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/dashboard@2x.png b/demo/src/assets/icons/dashboard@2x.png deleted file mode 100644 index a2018e3a56..0000000000 Binary files a/demo/src/assets/icons/dashboard@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/dashboard@3x.png b/demo/src/assets/icons/dashboard@3x.png deleted file mode 100644 index 5253fc42a2..0000000000 Binary files a/demo/src/assets/icons/dashboard@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/dashboard@4x.png b/demo/src/assets/icons/dashboard@4x.png deleted file mode 100644 index 2c3b65eb5e..0000000000 Binary files a/demo/src/assets/icons/dashboard@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/delete.png b/demo/src/assets/icons/delete.png deleted file mode 100644 index 07e68ac41c..0000000000 Binary files a/demo/src/assets/icons/delete.png and /dev/null differ diff --git a/demo/src/assets/icons/delete@1.5x.png b/demo/src/assets/icons/delete@1.5x.png deleted file mode 100644 index 49e606e226..0000000000 Binary files a/demo/src/assets/icons/delete@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/delete@2x.png b/demo/src/assets/icons/delete@2x.png deleted file mode 100644 index 6ed41daab9..0000000000 Binary files a/demo/src/assets/icons/delete@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/delete@3x.png b/demo/src/assets/icons/delete@3x.png deleted file mode 100644 index 065bdf33c7..0000000000 Binary files a/demo/src/assets/icons/delete@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/delete@4x.png b/demo/src/assets/icons/delete@4x.png deleted file mode 100644 index db0509f03e..0000000000 Binary files a/demo/src/assets/icons/delete@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/drag.png b/demo/src/assets/icons/drag.png deleted file mode 100644 index dd3cfcd1b3..0000000000 Binary files a/demo/src/assets/icons/drag.png and /dev/null differ diff --git a/demo/src/assets/icons/drag@1.5x.png b/demo/src/assets/icons/drag@1.5x.png deleted file mode 100644 index d2621f2c0d..0000000000 Binary files a/demo/src/assets/icons/drag@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/drag@2x.png b/demo/src/assets/icons/drag@2x.png deleted file mode 100644 index 98fb02f846..0000000000 Binary files a/demo/src/assets/icons/drag@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/drag@3x.png b/demo/src/assets/icons/drag@3x.png deleted file mode 100644 index bf30ef48ec..0000000000 Binary files a/demo/src/assets/icons/drag@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/drag@4x.png b/demo/src/assets/icons/drag@4x.png deleted file mode 100644 index 3fca1a3003..0000000000 Binary files a/demo/src/assets/icons/drag@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/exclamationFillSmall.png b/demo/src/assets/icons/exclamationFillSmall.png deleted file mode 100644 index beea12c36a..0000000000 Binary files a/demo/src/assets/icons/exclamationFillSmall.png and /dev/null differ diff --git a/demo/src/assets/icons/exclamationFillSmall@1.5x.png b/demo/src/assets/icons/exclamationFillSmall@1.5x.png deleted file mode 100644 index a6d7e68227..0000000000 Binary files a/demo/src/assets/icons/exclamationFillSmall@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/exclamationFillSmall@2x.png b/demo/src/assets/icons/exclamationFillSmall@2x.png deleted file mode 100644 index ddd7522e38..0000000000 Binary files a/demo/src/assets/icons/exclamationFillSmall@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/exclamationFillSmall@3x.png b/demo/src/assets/icons/exclamationFillSmall@3x.png deleted file mode 100644 index 6817fcdf63..0000000000 Binary files a/demo/src/assets/icons/exclamationFillSmall@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/exclamationFillSmall@4x.png b/demo/src/assets/icons/exclamationFillSmall@4x.png deleted file mode 100644 index d1a1dfa329..0000000000 Binary files a/demo/src/assets/icons/exclamationFillSmall@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/image.png b/demo/src/assets/icons/image.png deleted file mode 100644 index 5542b20edc..0000000000 Binary files a/demo/src/assets/icons/image.png and /dev/null differ diff --git a/demo/src/assets/icons/image@1.5x.png b/demo/src/assets/icons/image@1.5x.png deleted file mode 100644 index c40137f095..0000000000 Binary files a/demo/src/assets/icons/image@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/image@2x.png b/demo/src/assets/icons/image@2x.png deleted file mode 100644 index cbe60e32ca..0000000000 Binary files a/demo/src/assets/icons/image@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/image@3x.png b/demo/src/assets/icons/image@3x.png deleted file mode 100644 index cadf0ddf9e..0000000000 Binary files a/demo/src/assets/icons/image@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/image@4x.png b/demo/src/assets/icons/image@4x.png deleted file mode 100644 index 2908d1e71b..0000000000 Binary files a/demo/src/assets/icons/image@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/info.png b/demo/src/assets/icons/info.png deleted file mode 100644 index c5d52d721b..0000000000 Binary files a/demo/src/assets/icons/info.png and /dev/null differ diff --git a/demo/src/assets/icons/info@1.5x.png b/demo/src/assets/icons/info@1.5x.png deleted file mode 100644 index a02dcc59b2..0000000000 Binary files a/demo/src/assets/icons/info@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/info@2x.png b/demo/src/assets/icons/info@2x.png deleted file mode 100644 index 1818ebfbad..0000000000 Binary files a/demo/src/assets/icons/info@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/info@3x.png b/demo/src/assets/icons/info@3x.png deleted file mode 100644 index 0621792d4f..0000000000 Binary files a/demo/src/assets/icons/info@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/info@4x.png b/demo/src/assets/icons/info@4x.png deleted file mode 100644 index 6f18585648..0000000000 Binary files a/demo/src/assets/icons/info@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/mail.png b/demo/src/assets/icons/mail.png deleted file mode 100644 index 7e19edf7ae..0000000000 Binary files a/demo/src/assets/icons/mail.png and /dev/null differ diff --git a/demo/src/assets/icons/mail@1.5x.png b/demo/src/assets/icons/mail@1.5x.png deleted file mode 100644 index fbae918b11..0000000000 Binary files a/demo/src/assets/icons/mail@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/mail@2x.png b/demo/src/assets/icons/mail@2x.png deleted file mode 100644 index 023f0848f2..0000000000 Binary files a/demo/src/assets/icons/mail@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/mail@3x.png b/demo/src/assets/icons/mail@3x.png deleted file mode 100644 index 28c50b5ac4..0000000000 Binary files a/demo/src/assets/icons/mail@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/mail@4x.png b/demo/src/assets/icons/mail@4x.png deleted file mode 100644 index d7e774d236..0000000000 Binary files a/demo/src/assets/icons/mail@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/plus.png b/demo/src/assets/icons/plus.png deleted file mode 100644 index e7c2af3073..0000000000 Binary files a/demo/src/assets/icons/plus.png and /dev/null differ diff --git a/demo/src/assets/icons/plus@1.5x.png b/demo/src/assets/icons/plus@1.5x.png deleted file mode 100644 index 14031ccf00..0000000000 Binary files a/demo/src/assets/icons/plus@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/plus@2x.png b/demo/src/assets/icons/plus@2x.png deleted file mode 100644 index b97f8ad140..0000000000 Binary files a/demo/src/assets/icons/plus@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/plus@3x.png b/demo/src/assets/icons/plus@3x.png deleted file mode 100644 index 65c2853f3b..0000000000 Binary files a/demo/src/assets/icons/plus@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/plus@4x.png b/demo/src/assets/icons/plus@4x.png deleted file mode 100644 index 6c515c365e..0000000000 Binary files a/demo/src/assets/icons/plus@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/refresh.png b/demo/src/assets/icons/refresh.png deleted file mode 100644 index 7eaca62d5d..0000000000 Binary files a/demo/src/assets/icons/refresh.png and /dev/null differ diff --git a/demo/src/assets/icons/refresh@1.5x.png b/demo/src/assets/icons/refresh@1.5x.png deleted file mode 100644 index e6c9582be9..0000000000 Binary files a/demo/src/assets/icons/refresh@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/refresh@2x.png b/demo/src/assets/icons/refresh@2x.png deleted file mode 100644 index 2d098e72a8..0000000000 Binary files a/demo/src/assets/icons/refresh@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/refresh@3x.png b/demo/src/assets/icons/refresh@3x.png deleted file mode 100644 index a620e0f345..0000000000 Binary files a/demo/src/assets/icons/refresh@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/refresh@4x.png b/demo/src/assets/icons/refresh@4x.png deleted file mode 100644 index 087976f5cc..0000000000 Binary files a/demo/src/assets/icons/refresh@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/richText.png b/demo/src/assets/icons/richText.png deleted file mode 100644 index 5cdb118370..0000000000 Binary files a/demo/src/assets/icons/richText.png and /dev/null differ diff --git a/demo/src/assets/icons/richText@1.5x.png b/demo/src/assets/icons/richText@1.5x.png deleted file mode 100644 index a0b2cf351b..0000000000 Binary files a/demo/src/assets/icons/richText@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/richText@2x.png b/demo/src/assets/icons/richText@2x.png deleted file mode 100644 index b419dd0c6a..0000000000 Binary files a/demo/src/assets/icons/richText@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/richText@3x.png b/demo/src/assets/icons/richText@3x.png deleted file mode 100644 index bd89625fd5..0000000000 Binary files a/demo/src/assets/icons/richText@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/richText@4x.png b/demo/src/assets/icons/richText@4x.png deleted file mode 100644 index 1fa9f0e58c..0000000000 Binary files a/demo/src/assets/icons/richText@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/search.png b/demo/src/assets/icons/search.png deleted file mode 100644 index c940bca742..0000000000 Binary files a/demo/src/assets/icons/search.png and /dev/null differ diff --git a/demo/src/assets/icons/search@1.5x.png b/demo/src/assets/icons/search@1.5x.png deleted file mode 100644 index ebc5f85da4..0000000000 Binary files a/demo/src/assets/icons/search@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/search@2x.png b/demo/src/assets/icons/search@2x.png deleted file mode 100644 index 4b86f825d4..0000000000 Binary files a/demo/src/assets/icons/search@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/search@3x.png b/demo/src/assets/icons/search@3x.png deleted file mode 100644 index be61a57f96..0000000000 Binary files a/demo/src/assets/icons/search@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/search@4x.png b/demo/src/assets/icons/search@4x.png deleted file mode 100644 index 2dd5199507..0000000000 Binary files a/demo/src/assets/icons/search@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/settings.png b/demo/src/assets/icons/settings.png deleted file mode 100644 index 326daf32cc..0000000000 Binary files a/demo/src/assets/icons/settings.png and /dev/null differ diff --git a/demo/src/assets/icons/settings@1.5x.android.png b/demo/src/assets/icons/settings@1.5x.android.png deleted file mode 100644 index 91a7c7be38..0000000000 Binary files a/demo/src/assets/icons/settings@1.5x.android.png and /dev/null differ diff --git a/demo/src/assets/icons/settings@1.5x.png b/demo/src/assets/icons/settings@1.5x.png deleted file mode 100644 index 91a7c7be38..0000000000 Binary files a/demo/src/assets/icons/settings@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/settings@2x.png b/demo/src/assets/icons/settings@2x.png deleted file mode 100644 index d8843c3206..0000000000 Binary files a/demo/src/assets/icons/settings@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/settings@3x.png b/demo/src/assets/icons/settings@3x.png deleted file mode 100644 index 8cd338179e..0000000000 Binary files a/demo/src/assets/icons/settings@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/settings@4x.android.png b/demo/src/assets/icons/settings@4x.android.png deleted file mode 100644 index 2178a96a7e..0000000000 Binary files a/demo/src/assets/icons/settings@4x.android.png and /dev/null differ diff --git a/demo/src/assets/icons/settings@4x.png b/demo/src/assets/icons/settings@4x.png deleted file mode 100644 index 2178a96a7e..0000000000 Binary files a/demo/src/assets/icons/settings@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/share.png b/demo/src/assets/icons/share.png deleted file mode 100644 index 74c04e7698..0000000000 Binary files a/demo/src/assets/icons/share.png and /dev/null differ diff --git a/demo/src/assets/icons/share@1.5x.png b/demo/src/assets/icons/share@1.5x.png deleted file mode 100644 index 7b3947e25a..0000000000 Binary files a/demo/src/assets/icons/share@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/share@2x.png b/demo/src/assets/icons/share@2x.png deleted file mode 100644 index c66dada09e..0000000000 Binary files a/demo/src/assets/icons/share@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/share@3x.png b/demo/src/assets/icons/share@3x.png deleted file mode 100644 index ff30e0d1ce..0000000000 Binary files a/demo/src/assets/icons/share@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/share@4x.png b/demo/src/assets/icons/share@4x.png deleted file mode 100644 index 475bc79687..0000000000 Binary files a/demo/src/assets/icons/share@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/star.png b/demo/src/assets/icons/star.png deleted file mode 100644 index 9e8803483b..0000000000 Binary files a/demo/src/assets/icons/star.png and /dev/null differ diff --git a/demo/src/assets/icons/star@1.5x.png b/demo/src/assets/icons/star@1.5x.png deleted file mode 100644 index d8be0df1ce..0000000000 Binary files a/demo/src/assets/icons/star@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/star@2x.png b/demo/src/assets/icons/star@2x.png deleted file mode 100644 index 3d95d1d9c9..0000000000 Binary files a/demo/src/assets/icons/star@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/star@3x.png b/demo/src/assets/icons/star@3x.png deleted file mode 100644 index c8d5c182d5..0000000000 Binary files a/demo/src/assets/icons/star@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/star@4x.png b/demo/src/assets/icons/star@4x.png deleted file mode 100644 index 381a0b83a0..0000000000 Binary files a/demo/src/assets/icons/star@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/tags.png b/demo/src/assets/icons/tags.png deleted file mode 100644 index 4d4c519d38..0000000000 Binary files a/demo/src/assets/icons/tags.png and /dev/null differ diff --git a/demo/src/assets/icons/tags@1.5x.png b/demo/src/assets/icons/tags@1.5x.png deleted file mode 100644 index 63850ffa8e..0000000000 Binary files a/demo/src/assets/icons/tags@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/tags@2x.png b/demo/src/assets/icons/tags@2x.png deleted file mode 100644 index e9bdb7f747..0000000000 Binary files a/demo/src/assets/icons/tags@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/tags@3x.png b/demo/src/assets/icons/tags@3x.png deleted file mode 100644 index 4bc3bc7dd6..0000000000 Binary files a/demo/src/assets/icons/tags@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/tags@4x.png b/demo/src/assets/icons/tags@4x.png deleted file mode 100644 index 195e3d7393..0000000000 Binary files a/demo/src/assets/icons/tags@4x.png and /dev/null differ diff --git a/demo/src/assets/icons/video.png b/demo/src/assets/icons/video.png deleted file mode 100644 index e3ca814d8d..0000000000 Binary files a/demo/src/assets/icons/video.png and /dev/null differ diff --git a/demo/src/assets/icons/video@1.5x.png b/demo/src/assets/icons/video@1.5x.png deleted file mode 100644 index 92f5cba075..0000000000 Binary files a/demo/src/assets/icons/video@1.5x.png and /dev/null differ diff --git a/demo/src/assets/icons/video@2x.png b/demo/src/assets/icons/video@2x.png deleted file mode 100644 index e20af4522e..0000000000 Binary files a/demo/src/assets/icons/video@2x.png and /dev/null differ diff --git a/demo/src/assets/icons/video@3x.png b/demo/src/assets/icons/video@3x.png deleted file mode 100644 index e239f33ae0..0000000000 Binary files a/demo/src/assets/icons/video@3x.png and /dev/null differ diff --git a/demo/src/assets/icons/video@4x.png b/demo/src/assets/icons/video@4x.png deleted file mode 100644 index ba841f4e49..0000000000 Binary files a/demo/src/assets/icons/video@4x.png and /dev/null differ diff --git a/demo/src/assets/images/FadeOut.png b/demo/src/assets/images/FadeOut.png deleted file mode 100644 index bcbd770a85..0000000000 Binary files a/demo/src/assets/images/FadeOut.png and /dev/null differ diff --git a/demo/src/assets/images/FadeOut@1.5x.png b/demo/src/assets/images/FadeOut@1.5x.png deleted file mode 100644 index 526e54d990..0000000000 Binary files a/demo/src/assets/images/FadeOut@1.5x.png and /dev/null differ diff --git a/demo/src/assets/images/FadeOut@2x.png b/demo/src/assets/images/FadeOut@2x.png deleted file mode 100644 index e0dd385b34..0000000000 Binary files a/demo/src/assets/images/FadeOut@2x.png and /dev/null differ diff --git a/demo/src/assets/images/FadeOut@3x.png b/demo/src/assets/images/FadeOut@3x.png deleted file mode 100644 index 80c0eae2b8..0000000000 Binary files a/demo/src/assets/images/FadeOut@3x.png and /dev/null differ diff --git a/demo/src/assets/images/FadeOut@4x.png b/demo/src/assets/images/FadeOut@4x.png deleted file mode 100644 index bd8b14cf74..0000000000 Binary files a/demo/src/assets/images/FadeOut@4x.png and /dev/null differ diff --git a/demo/src/assets/images/card-example.jpg b/demo/src/assets/images/card-example.jpg deleted file mode 100644 index 67d4b6c213..0000000000 Binary files a/demo/src/assets/images/card-example.jpg and /dev/null differ diff --git a/demo/src/assets/images/empty-state.jpg b/demo/src/assets/images/empty-state.jpg deleted file mode 100644 index 9891648abd..0000000000 Binary files a/demo/src/assets/images/empty-state.jpg and /dev/null differ diff --git a/demo/src/assets/images/placeholderMissingImage.png b/demo/src/assets/images/placeholderMissingImage.png deleted file mode 100644 index 3dccd42560..0000000000 Binary files a/demo/src/assets/images/placeholderMissingImage.png and /dev/null differ diff --git a/demo/src/assets/images/placeholderMissingImage@1.5x.png b/demo/src/assets/images/placeholderMissingImage@1.5x.png deleted file mode 100644 index b839022f38..0000000000 Binary files a/demo/src/assets/images/placeholderMissingImage@1.5x.png and /dev/null differ diff --git a/demo/src/assets/images/placeholderMissingImage@2x.png b/demo/src/assets/images/placeholderMissingImage@2x.png deleted file mode 100644 index ae6b19ce60..0000000000 Binary files a/demo/src/assets/images/placeholderMissingImage@2x.png and /dev/null differ diff --git a/demo/src/assets/images/placeholderMissingImage@3x.png b/demo/src/assets/images/placeholderMissingImage@3x.png deleted file mode 100644 index 69359baf41..0000000000 Binary files a/demo/src/assets/images/placeholderMissingImage@3x.png and /dev/null differ diff --git a/demo/src/assets/images/placeholderMissingImage@4x.png b/demo/src/assets/images/placeholderMissingImage@4x.png deleted file mode 100644 index 7614d4d391..0000000000 Binary files a/demo/src/assets/images/placeholderMissingImage@4x.png and /dev/null differ diff --git a/demo/src/assets/svgs/headerLogo.svg b/demo/src/assets/svgs/headerLogo.svg deleted file mode 100644 index 5aa98e74a3..0000000000 --- a/demo/src/assets/svgs/headerLogo.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/demo/src/configurations.js b/demo/src/configurations.js deleted file mode 100644 index cf1d9a1636..0000000000 --- a/demo/src/configurations.js +++ /dev/null @@ -1,62 +0,0 @@ -import {Assets, Colors, Typography, Spacings, TextField} from 'react-native-ui-lib'; // eslint-disable-line - -export const loadDemoConfigurations = () => { - Assets.loadAssetsGroup('icons.demo', { - chevronDown: require('./assets/icons/chevronDown.png'), - chevronRight: require('./assets/icons/chevronRight.png'), - add: require('./assets/icons/add.png'), - camera: require('./assets/icons/cameraSelected.png'), - close: require('./assets/icons/close.png'), - dashboard: require('./assets/icons/dashboard.png'), - drag: require('./assets/icons/drag.png'), - image: require('./assets/icons/image.png'), - plus: require('./assets/icons/plus.png'), - refresh: require('./assets/icons/refresh.png'), - search: require('./assets/icons/search.png'), - settings: require('./assets/icons/settings.png'), - share: require('./assets/icons/share.png'), - info: require('./assets/icons/info.png'), - exclamation: require('./assets/icons/exclamationFillSmall.png') - }); - - Assets.loadAssetsGroup('images.demo', { - brokenImage: require('./assets/images/placeholderMissingImage.png') - }); - - Assets.loadAssetsGroup('svgs.demo', { - logo: require('./assets/svgs/headerLogo.svg').default - }); - - Typography.loadTypographies({ - h1: {...Typography.text40}, - h2: {...Typography.text50}, - h3: {...Typography.text70M}, - body: Typography.text70, - bodySmall: Typography.text80 - }); - - Spacings.loadSpacings({ - page: Spacings.s5 - }); - - /* Dark Mode Schemes */ - Colors.loadSchemes({ - light: { - screenBG: Colors.white, - textColor: Colors.grey10, - moonOrSun: Colors.yellow30, - mountainForeground: Colors.green30, - mountainBackground: Colors.green50 - }, - dark: { - screenBG: Colors.grey10, - textColor: Colors.white, - moonOrSun: Colors.grey80, - mountainForeground: Colors.violet10, - mountainBackground: Colors.violet20 - } - }); - - /* Components */ - TextField.defaultProps = {preset: TextField.presets.UNDERLINE, ...TextField.defaultProps}; -}; diff --git a/demo/src/data/conversations.ts b/demo/src/data/conversations.ts deleted file mode 100644 index 617a85dea0..0000000000 --- a/demo/src/data/conversations.ts +++ /dev/null @@ -1,1674 +0,0 @@ -const conversations = [ - { - name: 'rallylongmailname@wix.com', - text: 'Made a purchase in the total of 7.00$', - timestamp: '7/14/2016', - thumbnail: 'https://i.pravatar.cc/150?img=1', - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Johnny Gibson', - text: 'Do you also carry these shoes in black?', - timestamp: '36 min', - count: '5', - thumbnail: 'https://i.pravatar.cc/150?img=2', - isNew: false - }, - { - name: 'Jennifer Clark', - text: 'This might be the subject\nAnd the content is on a new line', - timestamp: '2 hours', - count: '1', - thumbnail: 'https://i.pravatar.cc/150?img=3', - isNew: true - }, - { - name: 'Rebecka', - text: 'Yep', - timestamp: '3 hours', - count: '12', - thumbnail: 'https://i.pravatar.cc/150?img=4', - isNew: true, - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Murphy', - text: 'Do you have international shipping?', - timestamp: '1 Day', - count: '2', - thumbnail: 'https://i.pravatar.cc/150?img=5', - isNew: false - }, - { - name: 'Matttt', - text: 'will get to you next week with that', - timestamp: '1 Week', - count: '99', - thumbnail: 'https://i.pravatar.cc/150?img=6', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Brad Taylor', - text: 'Will I be able to receive it before July 3rd?', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/7c69c135804b473c9788266540cd90d3.jpg/v1/fit/w_750,h_750/7c69c135804b473c9788266540cd90d3.jpg', - isNew: false - }, - { - name: 'Lina Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/a7adbc41a9f24a64803cac9aec2deb6b.jpg/v1/fit/w_750,h_750/a7adbc41a9f24a64803cac9aec2deb6b.jpg', - isNew: true, - leftTitleBadge: 'facebookOn' - }, - { - name: 'Marissa Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: '', - isNew: true - }, - { - name: 'Elliot Brown', - text: '2 - 3 weeks', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/66003687fdce4e6197cbaf816ca8fd17.jpg/v1/fit/w_750,h_750/66003687fdce4e6197cbaf816ca8fd17.jpg', - isNew: true - }, - { - name: 'Vanessa Campbell', - text: 'Do you have these in other colors?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/d4367b20ae2e4036b18c34262d5ed031.jpg/v1/fit/w_750,h_750/d4367b20ae2e4036b18c34262d5ed031.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Sir Robert Walpole', - text: 'Made a purchase in the total of 7.00$', - timestamp: '7/14/2016', - thumbnail: - 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'A. Schwarzenegger', - text: 'Get to the chopper', - timestamp: 'Jul 19th 214' - }, - { - name: 'Johnny Gibson', - text: 'Do you also carry these shoes in black?', - timestamp: '36 min', - count: '5', - // thumbnail: 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - isNew: false - }, - { - name: 'Jennifer Clark', - text: 'This might be the subject\nAnd the content is on a new line', - timestamp: '2 hours', - count: '1', - thumbnail: - 'https://static.wixstatic.com/media/c1ca83a468ae4c998fe4fddea60ea84d.jpg/v1/fit/w_750,h_750/c1ca83a468ae4c998fe4fddea60ea84d.jpg', - isNew: true - }, - { - name: 'Rebecka', - text: 'Yep', - timestamp: '3 hours', - count: '12', - thumbnail: - 'https://static.wixstatic.com/media/43cddb4301684a01a26eaea100162934.jpeg/v1/fit/w_750,h_750/43cddb4301684a01a26eaea100162934.jpeg', - isNew: true, - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Murphy', - text: 'Do you have international shipping?', - timestamp: '1 Day', - count: '2', - thumbnail: - 'https://static.wixstatic.com/media/84e86e9bec8d46dd8296c510629a8d97.jpg/v1/fit/w_750,h_750/84e86e9bec8d46dd8296c510629a8d97.jpg', - isNew: false - }, - { - name: 'Matttt', - text: 'will get to you next week with that', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/b27921b8c46841b48032f11c16d6e009.jpg/v1/fit/w_750,h_750/b27921b8c46841b48032f11c16d6e009.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Brad Taylor', - text: 'Will I be able to receive it before July 3rd?', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/7c69c135804b473c9788266540cd90d3.jpg/v1/fit/w_750,h_750/7c69c135804b473c9788266540cd90d3.jpg', - isNew: false - }, - { - name: 'Lina Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/a7adbc41a9f24a64803cac9aec2deb6b.jpg/v1/fit/w_750,h_750/a7adbc41a9f24a64803cac9aec2deb6b.jpg', - isNew: true, - leftTitleBadge: 'facebookOn' - }, - { - name: 'Marissa Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: '', - isNew: true - }, - { - name: 'Elliot Brown', - text: '2 - 3 weeks', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/66003687fdce4e6197cbaf816ca8fd17.jpg/v1/fit/w_750,h_750/66003687fdce4e6197cbaf816ca8fd17.jpg', - isNew: true - }, - { - name: 'Vanessa Campbell', - text: 'Do you have these in other colors?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/d4367b20ae2e4036b18c34262d5ed031.jpg/v1/fit/w_750,h_750/d4367b20ae2e4036b18c34262d5ed031.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Spencer Compton', - text: 'Made a purchase in the total of 7.00$', - timestamp: '7/14/2016', - thumbnail: - 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Arnold S.', - text: 'Get to the chopper', - timestamp: 'Jul 19th 214' - }, - { - name: 'Johnny Gibson', - text: 'Do you also carry these shoes in black?', - timestamp: '36 min', - count: '5', - // thumbnail: 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - isNew: false - }, - { - name: 'Jennifer Clark', - text: 'This might be the subject\nAnd the content is on a new line', - timestamp: '2 hours', - count: '1', - thumbnail: - 'https://static.wixstatic.com/media/c1ca83a468ae4c998fe4fddea60ea84d.jpg/v1/fit/w_750,h_750/c1ca83a468ae4c998fe4fddea60ea84d.jpg', - isNew: true - }, - { - name: 'Rebecka', - text: 'Yep', - timestamp: '3 hours', - count: '12', - thumbnail: - 'https://static.wixstatic.com/media/43cddb4301684a01a26eaea100162934.jpeg/v1/fit/w_750,h_750/43cddb4301684a01a26eaea100162934.jpeg', - isNew: true, - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Murphy', - text: 'Do you have international shipping?', - timestamp: '1 Day', - count: '2', - thumbnail: - 'https://static.wixstatic.com/media/84e86e9bec8d46dd8296c510629a8d97.jpg/v1/fit/w_750,h_750/84e86e9bec8d46dd8296c510629a8d97.jpg', - isNew: false - }, - { - name: 'Matttt', - text: 'will get to you next week with that', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/b27921b8c46841b48032f11c16d6e009.jpg/v1/fit/w_750,h_750/b27921b8c46841b48032f11c16d6e009.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Brad Taylor', - text: 'Will I be able to receive it before July 3rd?', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/7c69c135804b473c9788266540cd90d3.jpg/v1/fit/w_750,h_750/7c69c135804b473c9788266540cd90d3.jpg', - isNew: false - }, - { - name: 'Lina Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/a7adbc41a9f24a64803cac9aec2deb6b.jpg/v1/fit/w_750,h_750/a7adbc41a9f24a64803cac9aec2deb6b.jpg', - isNew: true, - leftTitleBadge: 'facebookOn' - }, - { - name: 'Marissa Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: '', - isNew: true - }, - { - name: 'Elliot Brown', - text: '2 - 3 weeks', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/66003687fdce4e6197cbaf816ca8fd17.jpg/v1/fit/w_750,h_750/66003687fdce4e6197cbaf816ca8fd17.jpg', - isNew: true - }, - { - name: 'Vanessa Campbell', - text: 'Do you have these in other colors?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/d4367b20ae2e4036b18c34262d5ed031.jpg/v1/fit/w_750,h_750/d4367b20ae2e4036b18c34262d5ed031.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Henry Pelham', - text: 'Made a purchase in the total of 7.00$', - timestamp: '7/14/2016', - thumbnail: - 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Arnold Schwarz', - text: 'Get to the chopper', - timestamp: 'Jul 19th 214' - }, - { - name: 'Johnny Gibson', - text: 'Do you also carry these shoes in black?', - timestamp: '36 min', - count: '5', - // thumbnail: 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - isNew: false - }, - { - name: 'Jennifer Clark', - text: 'This might be the subject\nAnd the content is on a new line', - timestamp: '2 hours', - count: '1', - thumbnail: - 'https://static.wixstatic.com/media/c1ca83a468ae4c998fe4fddea60ea84d.jpg/v1/fit/w_750,h_750/c1ca83a468ae4c998fe4fddea60ea84d.jpg', - isNew: true - }, - { - name: 'Rebecka', - text: 'Yep', - timestamp: '3 hours', - count: '12', - thumbnail: - 'https://static.wixstatic.com/media/43cddb4301684a01a26eaea100162934.jpeg/v1/fit/w_750,h_750/43cddb4301684a01a26eaea100162934.jpeg', - isNew: true, - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Murphy', - text: 'Do you have international shipping?', - timestamp: '1 Day', - count: '2', - thumbnail: - 'https://static.wixstatic.com/media/84e86e9bec8d46dd8296c510629a8d97.jpg/v1/fit/w_750,h_750/84e86e9bec8d46dd8296c510629a8d97.jpg', - isNew: false - }, - { - name: 'Matttt', - text: 'will get to you next week with that', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/b27921b8c46841b48032f11c16d6e009.jpg/v1/fit/w_750,h_750/b27921b8c46841b48032f11c16d6e009.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Brad Taylor', - text: 'Will I be able to receive it before July 3rd?', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/7c69c135804b473c9788266540cd90d3.jpg/v1/fit/w_750,h_750/7c69c135804b473c9788266540cd90d3.jpg', - isNew: false - }, - { - name: 'Lina Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/a7adbc41a9f24a64803cac9aec2deb6b.jpg/v1/fit/w_750,h_750/a7adbc41a9f24a64803cac9aec2deb6b.jpg', - isNew: true, - leftTitleBadge: 'facebookOn' - }, - { - name: 'Marissa Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: '', - isNew: true - }, - { - name: 'Elliot Brown', - text: '2 - 3 weeks', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/66003687fdce4e6197cbaf816ca8fd17.jpg/v1/fit/w_750,h_750/66003687fdce4e6197cbaf816ca8fd17.jpg', - isNew: true - }, - { - name: 'Vanessa Campbell', - text: 'Do you have these in other colors?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/d4367b20ae2e4036b18c34262d5ed031.jpg/v1/fit/w_750,h_750/d4367b20ae2e4036b18c34262d5ed031.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Duke of Newcastle', - text: 'Made a purchase in the total of 7.00$', - timestamp: '7/14/2016', - thumbnail: - 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Arni Zenegger', - text: 'Get to the chopper', - timestamp: 'Jul 19th 214' - }, - { - name: 'Johnny Gibson', - text: 'Do you also carry these shoes in black?', - timestamp: '36 min', - count: '5', - // thumbnail: 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - isNew: false - }, - { - name: 'Jennifer Clark', - text: 'This might be the subject\nAnd the content is on a new line', - timestamp: '2 hours', - count: '1', - thumbnail: - 'https://static.wixstatic.com/media/c1ca83a468ae4c998fe4fddea60ea84d.jpg/v1/fit/w_750,h_750/c1ca83a468ae4c998fe4fddea60ea84d.jpg', - isNew: true - }, - { - name: 'Rebecka', - text: 'Yep', - timestamp: '3 hours', - count: '12', - thumbnail: - 'https://static.wixstatic.com/media/43cddb4301684a01a26eaea100162934.jpeg/v1/fit/w_750,h_750/43cddb4301684a01a26eaea100162934.jpeg', - isNew: true, - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Murphy', - text: 'Do you have international shipping?', - timestamp: '1 Day', - count: '2', - thumbnail: - 'https://static.wixstatic.com/media/84e86e9bec8d46dd8296c510629a8d97.jpg/v1/fit/w_750,h_750/84e86e9bec8d46dd8296c510629a8d97.jpg', - isNew: false - }, - { - name: 'Matttt', - text: 'will get to you next week with that', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/b27921b8c46841b48032f11c16d6e009.jpg/v1/fit/w_750,h_750/b27921b8c46841b48032f11c16d6e009.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Brad Taylor', - text: 'Will I be able to receive it before July 3rd?', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/7c69c135804b473c9788266540cd90d3.jpg/v1/fit/w_750,h_750/7c69c135804b473c9788266540cd90d3.jpg', - isNew: false - }, - { - name: 'Lina Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/a7adbc41a9f24a64803cac9aec2deb6b.jpg/v1/fit/w_750,h_750/a7adbc41a9f24a64803cac9aec2deb6b.jpg', - isNew: true, - leftTitleBadge: 'facebookOn' - }, - { - name: 'Marissa Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: '', - isNew: true - }, - { - name: 'Elliot Brown', - text: '2 - 3 weeks', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/66003687fdce4e6197cbaf816ca8fd17.jpg/v1/fit/w_750,h_750/66003687fdce4e6197cbaf816ca8fd17.jpg', - isNew: true - }, - { - name: 'Vanessa Campbell', - text: 'Do you have these in other colors?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/d4367b20ae2e4036b18c34262d5ed031.jpg/v1/fit/w_750,h_750/d4367b20ae2e4036b18c34262d5ed031.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'John Stuart', - text: 'Made a purchase in the total of 7.00$', - timestamp: '7/14/2016', - thumbnail: - 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Nold Gger', - text: 'Get to the chopper', - timestamp: 'Jul 19th 214' - }, - { - name: 'Johnny Gibson', - text: 'Do you also carry these shoes in black?', - timestamp: '36 min', - count: '5', - // thumbnail: 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - isNew: false - }, - { - name: 'Jennifer Clark', - text: 'This might be the subject\nAnd the content is on a new line', - timestamp: '2 hours', - count: '1', - thumbnail: - 'https://static.wixstatic.com/media/c1ca83a468ae4c998fe4fddea60ea84d.jpg/v1/fit/w_750,h_750/c1ca83a468ae4c998fe4fddea60ea84d.jpg', - isNew: true - }, - { - name: 'Rebecka', - text: 'Yep', - timestamp: '3 hours', - count: '12', - thumbnail: - 'https://static.wixstatic.com/media/43cddb4301684a01a26eaea100162934.jpeg/v1/fit/w_750,h_750/43cddb4301684a01a26eaea100162934.jpeg', - isNew: true, - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Murphy', - text: 'Do you have international shipping?', - timestamp: '1 Day', - count: '2', - thumbnail: - 'https://static.wixstatic.com/media/84e86e9bec8d46dd8296c510629a8d97.jpg/v1/fit/w_750,h_750/84e86e9bec8d46dd8296c510629a8d97.jpg', - isNew: false - }, - { - name: 'Matttt', - text: 'will get to you next week with that', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/b27921b8c46841b48032f11c16d6e009.jpg/v1/fit/w_750,h_750/b27921b8c46841b48032f11c16d6e009.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Brad Taylor', - text: 'Will I be able to receive it before July 3rd?', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/7c69c135804b473c9788266540cd90d3.jpg/v1/fit/w_750,h_750/7c69c135804b473c9788266540cd90d3.jpg', - isNew: false - }, - { - name: 'Lina Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/a7adbc41a9f24a64803cac9aec2deb6b.jpg/v1/fit/w_750,h_750/a7adbc41a9f24a64803cac9aec2deb6b.jpg', - isNew: true, - leftTitleBadge: 'facebookOn' - }, - { - name: 'Marissa Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: '', - isNew: true - }, - { - name: 'Elliot Brown', - text: '2 - 3 weeks', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/66003687fdce4e6197cbaf816ca8fd17.jpg/v1/fit/w_750,h_750/66003687fdce4e6197cbaf816ca8fd17.jpg', - isNew: true - }, - { - name: 'Vanessa Campbell', - text: 'Do you have these in other colors?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/d4367b20ae2e4036b18c34262d5ed031.jpg/v1/fit/w_750,h_750/d4367b20ae2e4036b18c34262d5ed031.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'George Grenville', - text: 'Made a purchase in the total of 7.00$', - timestamp: '7/14/2016', - thumbnail: - 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Ard Benegger', - text: 'Get to the chopper', - timestamp: 'Jul 19th 214' - }, - { - name: 'Johnny Gibson', - text: 'Do you also carry these shoes in black?', - timestamp: '36 min', - count: '5', - // thumbnail: 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - isNew: false - }, - { - name: 'Jennifer Clark', - text: 'This might be the subject\nAnd the content is on a new line', - timestamp: '2 hours', - count: '1', - thumbnail: - 'https://static.wixstatic.com/media/c1ca83a468ae4c998fe4fddea60ea84d.jpg/v1/fit/w_750,h_750/c1ca83a468ae4c998fe4fddea60ea84d.jpg', - isNew: true - }, - { - name: 'Rebecka', - text: 'Yep', - timestamp: '3 hours', - count: '12', - thumbnail: - 'https://static.wixstatic.com/media/43cddb4301684a01a26eaea100162934.jpeg/v1/fit/w_750,h_750/43cddb4301684a01a26eaea100162934.jpeg', - isNew: true, - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Murphy', - text: 'Do you have international shipping?', - timestamp: '1 Day', - count: '2', - thumbnail: - 'https://static.wixstatic.com/media/84e86e9bec8d46dd8296c510629a8d97.jpg/v1/fit/w_750,h_750/84e86e9bec8d46dd8296c510629a8d97.jpg', - isNew: false - }, - { - name: 'Matttt', - text: 'will get to you next week with that', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/b27921b8c46841b48032f11c16d6e009.jpg/v1/fit/w_750,h_750/b27921b8c46841b48032f11c16d6e009.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Brad Taylor', - text: 'Will I be able to receive it before July 3rd?', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/7c69c135804b473c9788266540cd90d3.jpg/v1/fit/w_750,h_750/7c69c135804b473c9788266540cd90d3.jpg', - isNew: false - }, - { - name: 'Lina Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/a7adbc41a9f24a64803cac9aec2deb6b.jpg/v1/fit/w_750,h_750/a7adbc41a9f24a64803cac9aec2deb6b.jpg', - isNew: true, - leftTitleBadge: 'facebookOn' - }, - { - name: 'Marissa Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: '', - isNew: true - }, - { - name: 'Elliot Brown', - text: '2 - 3 weeks', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/66003687fdce4e6197cbaf816ca8fd17.jpg/v1/fit/w_750,h_750/66003687fdce4e6197cbaf816ca8fd17.jpg', - isNew: true - }, - { - name: 'Vanessa Campbell', - text: 'Do you have these in other colors?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/d4367b20ae2e4036b18c34262d5ed031.jpg/v1/fit/w_750,h_750/d4367b20ae2e4036b18c34262d5ed031.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Charles Watson-Wentworth', - text: 'Made a purchase in the total of 7.00$', - timestamp: '7/14/2016', - thumbnail: - 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'A.B. Schwa', - text: 'Get to the chopper', - timestamp: 'Jul 19th 214' - }, - { - name: 'Johnny Gibson', - text: 'Do you also carry these shoes in black?', - timestamp: '36 min', - count: '5', - // thumbnail: 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - isNew: false - }, - { - name: 'Jennifer Clark', - text: 'This might be the subject\nAnd the content is on a new line', - timestamp: '2 hours', - count: '1', - thumbnail: - 'https://static.wixstatic.com/media/c1ca83a468ae4c998fe4fddea60ea84d.jpg/v1/fit/w_750,h_750/c1ca83a468ae4c998fe4fddea60ea84d.jpg', - isNew: true - }, - { - name: 'Rebecka', - text: 'Yep', - timestamp: '3 hours', - count: '12', - thumbnail: - 'https://static.wixstatic.com/media/43cddb4301684a01a26eaea100162934.jpeg/v1/fit/w_750,h_750/43cddb4301684a01a26eaea100162934.jpeg', - isNew: true, - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Murphy', - text: 'Do you have international shipping?', - timestamp: '1 Day', - count: '2', - thumbnail: - 'https://static.wixstatic.com/media/84e86e9bec8d46dd8296c510629a8d97.jpg/v1/fit/w_750,h_750/84e86e9bec8d46dd8296c510629a8d97.jpg', - isNew: false - }, - { - name: 'Matttt', - text: 'will get to you next week with that', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/b27921b8c46841b48032f11c16d6e009.jpg/v1/fit/w_750,h_750/b27921b8c46841b48032f11c16d6e009.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Brad Taylor', - text: 'Will I be able to receive it before July 3rd?', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/7c69c135804b473c9788266540cd90d3.jpg/v1/fit/w_750,h_750/7c69c135804b473c9788266540cd90d3.jpg', - isNew: false - }, - { - name: 'Lina Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/a7adbc41a9f24a64803cac9aec2deb6b.jpg/v1/fit/w_750,h_750/a7adbc41a9f24a64803cac9aec2deb6b.jpg', - isNew: true, - leftTitleBadge: 'facebookOn' - }, - { - name: 'Marissa Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: '', - isNew: true - }, - { - name: 'Elliot Brown', - text: '2 - 3 weeks', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/66003687fdce4e6197cbaf816ca8fd17.jpg/v1/fit/w_750,h_750/66003687fdce4e6197cbaf816ca8fd17.jpg', - isNew: true - }, - { - name: 'Vanessa Campbell', - text: 'Do you have these in other colors?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/d4367b20ae2e4036b18c34262d5ed031.jpg/v1/fit/w_750,h_750/d4367b20ae2e4036b18c34262d5ed031.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'William Pitt', - text: 'Made a purchase in the total of 7.00$', - timestamp: '7/14/2016', - thumbnail: - 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Roni Arnold', - text: 'Get to the chopper', - timestamp: 'Jul 19th 214' - }, - { - name: 'Johnny Gibson', - text: 'Do you also carry these shoes in black?', - timestamp: '36 min', - count: '5', - // thumbnail: 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - isNew: false - }, - { - name: 'Jennifer Clark', - text: 'This might be the subject\nAnd the content is on a new line', - timestamp: '2 hours', - count: '1', - thumbnail: - 'https://static.wixstatic.com/media/c1ca83a468ae4c998fe4fddea60ea84d.jpg/v1/fit/w_750,h_750/c1ca83a468ae4c998fe4fddea60ea84d.jpg', - isNew: true - }, - { - name: 'Rebecka', - text: 'Yep', - timestamp: '3 hours', - count: '12', - thumbnail: - 'https://static.wixstatic.com/media/43cddb4301684a01a26eaea100162934.jpeg/v1/fit/w_750,h_750/43cddb4301684a01a26eaea100162934.jpeg', - isNew: true, - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Murphy', - text: 'Do you have international shipping?', - timestamp: '1 Day', - count: '2', - thumbnail: - 'https://static.wixstatic.com/media/84e86e9bec8d46dd8296c510629a8d97.jpg/v1/fit/w_750,h_750/84e86e9bec8d46dd8296c510629a8d97.jpg', - isNew: false - }, - { - name: 'Matttt', - text: 'will get to you next week with that', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/b27921b8c46841b48032f11c16d6e009.jpg/v1/fit/w_750,h_750/b27921b8c46841b48032f11c16d6e009.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Brad Taylor', - text: 'Will I be able to receive it before July 3rd?', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/7c69c135804b473c9788266540cd90d3.jpg/v1/fit/w_750,h_750/7c69c135804b473c9788266540cd90d3.jpg', - isNew: false - }, - { - name: 'Lina Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/a7adbc41a9f24a64803cac9aec2deb6b.jpg/v1/fit/w_750,h_750/a7adbc41a9f24a64803cac9aec2deb6b.jpg', - isNew: true, - leftTitleBadge: 'facebookOn' - }, - { - name: 'Marissa Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: '', - isNew: true - }, - { - name: 'Elliot Brown', - text: '2 - 3 weeks', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/66003687fdce4e6197cbaf816ca8fd17.jpg/v1/fit/w_750,h_750/66003687fdce4e6197cbaf816ca8fd17.jpg', - isNew: true - }, - { - name: 'Vanessa Campbell', - text: 'Do you have these in other colors?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/d4367b20ae2e4036b18c34262d5ed031.jpg/v1/fit/w_750,h_750/d4367b20ae2e4036b18c34262d5ed031.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Augustus FitzRoy', - text: 'Made a purchase in the total of 7.00$', - timestamp: '7/14/2016', - thumbnail: - 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Old Schwarzenegger', - text: 'Get to the chopper', - timestamp: 'Jul 19th 214' - }, - { - name: 'Johnny Gibson', - text: 'Do you also carry these shoes in black?', - timestamp: '36 min', - count: '5', - // thumbnail: 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - isNew: false - }, - { - name: 'Jennifer Clark', - text: 'This might be the subject\nAnd the content is on a new line', - timestamp: '2 hours', - count: '1', - thumbnail: - 'https://static.wixstatic.com/media/c1ca83a468ae4c998fe4fddea60ea84d.jpg/v1/fit/w_750,h_750/c1ca83a468ae4c998fe4fddea60ea84d.jpg', - isNew: true - }, - { - name: 'Rebecka', - text: 'Yep', - timestamp: '3 hours', - count: '12', - thumbnail: - 'https://static.wixstatic.com/media/43cddb4301684a01a26eaea100162934.jpeg/v1/fit/w_750,h_750/43cddb4301684a01a26eaea100162934.jpeg', - isNew: true, - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Murphy', - text: 'Do you have international shipping?', - timestamp: '1 Day', - count: '2', - thumbnail: - 'https://static.wixstatic.com/media/84e86e9bec8d46dd8296c510629a8d97.jpg/v1/fit/w_750,h_750/84e86e9bec8d46dd8296c510629a8d97.jpg', - isNew: false - }, - { - name: 'Matttt', - text: 'will get to you next week with that', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/b27921b8c46841b48032f11c16d6e009.jpg/v1/fit/w_750,h_750/b27921b8c46841b48032f11c16d6e009.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Brad Taylor', - text: 'Will I be able to receive it before July 3rd?', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/7c69c135804b473c9788266540cd90d3.jpg/v1/fit/w_750,h_750/7c69c135804b473c9788266540cd90d3.jpg', - isNew: false - }, - { - name: 'Lina Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/a7adbc41a9f24a64803cac9aec2deb6b.jpg/v1/fit/w_750,h_750/a7adbc41a9f24a64803cac9aec2deb6b.jpg', - isNew: true, - leftTitleBadge: 'facebookOn' - }, - { - name: 'Marissa Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: '', - isNew: true - }, - { - name: 'Elliot Brown', - text: '2 - 3 weeks', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/66003687fdce4e6197cbaf816ca8fd17.jpg/v1/fit/w_750,h_750/66003687fdce4e6197cbaf816ca8fd17.jpg', - isNew: true - }, - { - name: 'Vanessa Campbell', - text: 'Do you have these in other colors?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/d4367b20ae2e4036b18c34262d5ed031.jpg/v1/fit/w_750,h_750/d4367b20ae2e4036b18c34262d5ed031.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Frederick North', - text: 'Made a purchase in the total of 7.00$', - timestamp: '7/14/2016', - thumbnail: - 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Bold Schwarzenegger', - text: 'Get to the chopper', - timestamp: 'Jul 19th 214' - }, - { - name: 'Johnny Gibson', - text: 'Do you also carry these shoes in black?', - timestamp: '36 min', - count: '5', - // thumbnail: 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - isNew: false - }, - { - name: 'Jennifer Clark', - text: 'This might be the subject\nAnd the content is on a new line', - timestamp: '2 hours', - count: '1', - thumbnail: - 'https://static.wixstatic.com/media/c1ca83a468ae4c998fe4fddea60ea84d.jpg/v1/fit/w_750,h_750/c1ca83a468ae4c998fe4fddea60ea84d.jpg', - isNew: true - }, - { - name: 'Rebecka', - text: 'Yep', - timestamp: '3 hours', - count: '12', - thumbnail: - 'https://static.wixstatic.com/media/43cddb4301684a01a26eaea100162934.jpeg/v1/fit/w_750,h_750/43cddb4301684a01a26eaea100162934.jpeg', - isNew: true, - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Murphy', - text: 'Do you have international shipping?', - timestamp: '1 Day', - count: '2', - thumbnail: - 'https://static.wixstatic.com/media/84e86e9bec8d46dd8296c510629a8d97.jpg/v1/fit/w_750,h_750/84e86e9bec8d46dd8296c510629a8d97.jpg', - isNew: false - }, - { - name: 'Matttt', - text: 'will get to you next week with that', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/b27921b8c46841b48032f11c16d6e009.jpg/v1/fit/w_750,h_750/b27921b8c46841b48032f11c16d6e009.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Brad Taylor', - text: 'Will I be able to receive it before July 3rd?', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/7c69c135804b473c9788266540cd90d3.jpg/v1/fit/w_750,h_750/7c69c135804b473c9788266540cd90d3.jpg', - isNew: false - }, - { - name: 'Lina Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/a7adbc41a9f24a64803cac9aec2deb6b.jpg/v1/fit/w_750,h_750/a7adbc41a9f24a64803cac9aec2deb6b.jpg', - isNew: true, - leftTitleBadge: 'facebookOn' - }, - { - name: 'Marissa Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: '', - isNew: true - }, - { - name: 'Elliot Brown', - text: '2 - 3 weeks', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/66003687fdce4e6197cbaf816ca8fd17.jpg/v1/fit/w_750,h_750/66003687fdce4e6197cbaf816ca8fd17.jpg', - isNew: true - }, - { - name: 'Vanessa Campbell', - text: 'Do you have these in other colors?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/d4367b20ae2e4036b18c34262d5ed031.jpg/v1/fit/w_750,h_750/d4367b20ae2e4036b18c34262d5ed031.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Charles Watson-Wentworth', - text: 'Made a purchase in the total of 7.00$', - timestamp: '7/14/2016', - thumbnail: - 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Mold Schwarzenegger', - text: 'Get to the chopper', - timestamp: 'Jul 19th 214' - }, - { - name: 'Johnny Gibson', - text: 'Do you also carry these shoes in black?', - timestamp: '36 min', - count: '5', - // thumbnail: 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - isNew: false - }, - { - name: 'Jennifer Clark', - text: 'This might be the subject\nAnd the content is on a new line', - timestamp: '2 hours', - count: '1', - thumbnail: - 'https://static.wixstatic.com/media/c1ca83a468ae4c998fe4fddea60ea84d.jpg/v1/fit/w_750,h_750/c1ca83a468ae4c998fe4fddea60ea84d.jpg', - isNew: true - }, - { - name: 'Rebecka', - text: 'Yep', - timestamp: '3 hours', - count: '12', - thumbnail: - 'https://static.wixstatic.com/media/43cddb4301684a01a26eaea100162934.jpeg/v1/fit/w_750,h_750/43cddb4301684a01a26eaea100162934.jpeg', - isNew: true, - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Murphy', - text: 'Do you have international shipping?', - timestamp: '1 Day', - count: '2', - thumbnail: - 'https://static.wixstatic.com/media/84e86e9bec8d46dd8296c510629a8d97.jpg/v1/fit/w_750,h_750/84e86e9bec8d46dd8296c510629a8d97.jpg', - isNew: false - }, - { - name: 'Matttt', - text: 'will get to you next week with that', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/b27921b8c46841b48032f11c16d6e009.jpg/v1/fit/w_750,h_750/b27921b8c46841b48032f11c16d6e009.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Brad Taylor', - text: 'Will I be able to receive it before July 3rd?', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/7c69c135804b473c9788266540cd90d3.jpg/v1/fit/w_750,h_750/7c69c135804b473c9788266540cd90d3.jpg', - isNew: false - }, - { - name: 'Lina Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/a7adbc41a9f24a64803cac9aec2deb6b.jpg/v1/fit/w_750,h_750/a7adbc41a9f24a64803cac9aec2deb6b.jpg', - isNew: true, - leftTitleBadge: 'facebookOn' - }, - { - name: 'Marissa Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: '', - isNew: true - }, - { - name: 'Elliot Brown', - text: '2 - 3 weeks', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/66003687fdce4e6197cbaf816ca8fd17.jpg/v1/fit/w_750,h_750/66003687fdce4e6197cbaf816ca8fd17.jpg', - isNew: true - }, - { - name: 'Vanessa Campbell', - text: 'Do you have these in other colors?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/d4367b20ae2e4036b18c34262d5ed031.jpg/v1/fit/w_750,h_750/d4367b20ae2e4036b18c34262d5ed031.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'William Petty', - text: 'Made a purchase in the total of 7.00$', - timestamp: '7/14/2016', - thumbnail: - 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Cold Schwarzenegger', - text: 'Get to the chopper', - timestamp: 'Jul 19th 214' - }, - { - name: 'Johnny Gibson', - text: 'Do you also carry these shoes in black?', - timestamp: '36 min', - count: '5', - // thumbnail: 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - isNew: false - }, - { - name: 'Jennifer Clark', - text: 'This might be the subject\nAnd the content is on a new line', - timestamp: '2 hours', - count: '1', - thumbnail: - 'https://static.wixstatic.com/media/c1ca83a468ae4c998fe4fddea60ea84d.jpg/v1/fit/w_750,h_750/c1ca83a468ae4c998fe4fddea60ea84d.jpg', - isNew: true - }, - { - name: 'Rebecka', - text: 'Yep', - timestamp: '3 hours', - count: '12', - thumbnail: - 'https://static.wixstatic.com/media/43cddb4301684a01a26eaea100162934.jpeg/v1/fit/w_750,h_750/43cddb4301684a01a26eaea100162934.jpeg', - isNew: true, - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Murphy', - text: 'Do you have international shipping?', - timestamp: '1 Day', - count: '2', - thumbnail: - 'https://static.wixstatic.com/media/84e86e9bec8d46dd8296c510629a8d97.jpg/v1/fit/w_750,h_750/84e86e9bec8d46dd8296c510629a8d97.jpg', - isNew: false - }, - { - name: 'Matttt', - text: 'will get to you next week with that', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/b27921b8c46841b48032f11c16d6e009.jpg/v1/fit/w_750,h_750/b27921b8c46841b48032f11c16d6e009.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Brad Taylor', - text: 'Will I be able to receive it before July 3rd?', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/7c69c135804b473c9788266540cd90d3.jpg/v1/fit/w_750,h_750/7c69c135804b473c9788266540cd90d3.jpg', - isNew: false - }, - { - name: 'Lina Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/a7adbc41a9f24a64803cac9aec2deb6b.jpg/v1/fit/w_750,h_750/a7adbc41a9f24a64803cac9aec2deb6b.jpg', - isNew: true, - leftTitleBadge: 'facebookOn' - }, - { - name: 'Marissa Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: '', - isNew: true - }, - { - name: 'Elliot Brown', - text: '2 - 3 weeks', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/66003687fdce4e6197cbaf816ca8fd17.jpg/v1/fit/w_750,h_750/66003687fdce4e6197cbaf816ca8fd17.jpg', - isNew: true - }, - { - name: 'Vanessa Campbell', - text: 'Do you have these in other colors?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/d4367b20ae2e4036b18c34262d5ed031.jpg/v1/fit/w_750,h_750/d4367b20ae2e4036b18c34262d5ed031.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'William Cavendish-Bentinck', - text: 'Made a purchase in the total of 7.00$', - timestamp: '7/14/2016', - thumbnail: - 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Hold Schwarzenegger', - text: 'Get to the chopper', - timestamp: 'Jul 19th 214' - }, - { - name: 'Johnny Gibson', - text: 'Do you also carry these shoes in black?', - timestamp: '36 min', - count: '5', - // thumbnail: 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - isNew: false - }, - { - name: 'Jennifer Clark', - text: 'This might be the subject\nAnd the content is on a new line', - timestamp: '2 hours', - count: '1', - thumbnail: - 'https://static.wixstatic.com/media/c1ca83a468ae4c998fe4fddea60ea84d.jpg/v1/fit/w_750,h_750/c1ca83a468ae4c998fe4fddea60ea84d.jpg', - isNew: true - }, - { - name: 'Rebecka', - text: 'Yep', - timestamp: '3 hours', - count: '12', - thumbnail: - 'https://static.wixstatic.com/media/43cddb4301684a01a26eaea100162934.jpeg/v1/fit/w_750,h_750/43cddb4301684a01a26eaea100162934.jpeg', - isNew: true, - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Murphy', - text: 'Do you have international shipping?', - timestamp: '1 Day', - count: '2', - thumbnail: - 'https://static.wixstatic.com/media/84e86e9bec8d46dd8296c510629a8d97.jpg/v1/fit/w_750,h_750/84e86e9bec8d46dd8296c510629a8d97.jpg', - isNew: false - }, - { - name: 'Matttt', - text: 'will get to you next week with that', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/b27921b8c46841b48032f11c16d6e009.jpg/v1/fit/w_750,h_750/b27921b8c46841b48032f11c16d6e009.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Brad Taylor', - text: 'Will I be able to receive it before July 3rd?', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/7c69c135804b473c9788266540cd90d3.jpg/v1/fit/w_750,h_750/7c69c135804b473c9788266540cd90d3.jpg', - isNew: false - }, - { - name: 'Lina Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/a7adbc41a9f24a64803cac9aec2deb6b.jpg/v1/fit/w_750,h_750/a7adbc41a9f24a64803cac9aec2deb6b.jpg', - isNew: true, - leftTitleBadge: 'facebookOn' - }, - { - name: 'Marissa Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: '', - isNew: true - }, - { - name: 'Elliot Brown', - text: '2 - 3 weeks', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/66003687fdce4e6197cbaf816ca8fd17.jpg/v1/fit/w_750,h_750/66003687fdce4e6197cbaf816ca8fd17.jpg', - isNew: true - }, - { - name: 'Vanessa Campbell', - text: 'Do you have these in other colors?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/d4367b20ae2e4036b18c34262d5ed031.jpg/v1/fit/w_750,h_750/d4367b20ae2e4036b18c34262d5ed031.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Henry Addington', - text: 'Made a purchase in the total of 7.00$', - timestamp: '7/14/2016', - thumbnail: - 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Bold Schwarz', - text: 'Get to the chopper', - timestamp: 'Jul 19th 214' - }, - { - name: 'Johnny Gibson', - text: 'Do you also carry these shoes in black?', - timestamp: '36 min', - count: '5', - // thumbnail: 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - isNew: false - }, - { - name: 'Jennifer Clark', - text: 'This might be the subject\nAnd the content is on a new line', - timestamp: '2 hours', - count: '1', - thumbnail: - 'https://static.wixstatic.com/media/c1ca83a468ae4c998fe4fddea60ea84d.jpg/v1/fit/w_750,h_750/c1ca83a468ae4c998fe4fddea60ea84d.jpg', - isNew: true - }, - { - name: 'Rebecka', - text: 'Yep', - timestamp: '3 hours', - count: '12', - thumbnail: - 'https://static.wixstatic.com/media/43cddb4301684a01a26eaea100162934.jpeg/v1/fit/w_750,h_750/43cddb4301684a01a26eaea100162934.jpeg', - isNew: true, - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Murphy', - text: 'Do you have international shipping?', - timestamp: '1 Day', - count: '2', - thumbnail: - 'https://static.wixstatic.com/media/84e86e9bec8d46dd8296c510629a8d97.jpg/v1/fit/w_750,h_750/84e86e9bec8d46dd8296c510629a8d97.jpg', - isNew: false - }, - { - name: 'Matttt', - text: 'will get to you next week with that', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/b27921b8c46841b48032f11c16d6e009.jpg/v1/fit/w_750,h_750/b27921b8c46841b48032f11c16d6e009.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Brad Taylor', - text: 'Will I be able to receive it before July 3rd?', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/7c69c135804b473c9788266540cd90d3.jpg/v1/fit/w_750,h_750/7c69c135804b473c9788266540cd90d3.jpg', - isNew: false - }, - { - name: 'Lina Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/a7adbc41a9f24a64803cac9aec2deb6b.jpg/v1/fit/w_750,h_750/a7adbc41a9f24a64803cac9aec2deb6b.jpg', - isNew: true, - leftTitleBadge: 'facebookOn' - }, - { - name: 'Marissa Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: '', - isNew: true - }, - { - name: 'Elliot Brown', - text: '2 - 3 weeks', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/66003687fdce4e6197cbaf816ca8fd17.jpg/v1/fit/w_750,h_750/66003687fdce4e6197cbaf816ca8fd17.jpg', - isNew: true - }, - { - name: 'Vanessa Campbell', - text: 'Do you have these in other colors?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/d4367b20ae2e4036b18c34262d5ed031.jpg/v1/fit/w_750,h_750/d4367b20ae2e4036b18c34262d5ed031.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'William Grenville', - text: 'Made a purchase in the total of 7.00$', - timestamp: '7/14/2016', - thumbnail: - 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'S. Zenegger', - text: 'Get to the chopper', - timestamp: 'Jul 19th 214' - }, - { - name: 'Johnny Gibson', - text: 'Do you also carry these shoes in black?', - timestamp: '36 min', - count: '5', - // thumbnail: 'https://static.wixstatic.com/media/87994e3d0dda4479a7f4d8c803e1323e.jpg/v1/fit/w_750,h_750/87994e3d0dda4479a7f4d8c803e1323e.jpg', - isNew: false - }, - { - name: 'Jennifer Clark', - text: 'This might be the subject\nAnd the content is on a new line', - timestamp: '2 hours', - count: '1', - thumbnail: - 'https://static.wixstatic.com/media/c1ca83a468ae4c998fe4fddea60ea84d.jpg/v1/fit/w_750,h_750/c1ca83a468ae4c998fe4fddea60ea84d.jpg', - isNew: true - }, - { - name: 'Rebecka', - text: 'Yep', - timestamp: '3 hours', - count: '12', - thumbnail: - 'https://static.wixstatic.com/media/43cddb4301684a01a26eaea100162934.jpeg/v1/fit/w_750,h_750/43cddb4301684a01a26eaea100162934.jpeg', - isNew: true, - leftTitleBadge: 'badgeOfficial' - }, - { - name: 'Murphy', - text: 'Do you have international shipping?', - timestamp: '1 Day', - count: '2', - thumbnail: - 'https://static.wixstatic.com/media/84e86e9bec8d46dd8296c510629a8d97.jpg/v1/fit/w_750,h_750/84e86e9bec8d46dd8296c510629a8d97.jpg', - isNew: false - }, - { - name: 'Matttt', - text: 'will get to you next week with that', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/b27921b8c46841b48032f11c16d6e009.jpg/v1/fit/w_750,h_750/b27921b8c46841b48032f11c16d6e009.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - }, - { - name: 'Brad Taylor', - text: 'Will I be able to receive it before July 3rd?', - timestamp: '1 Week', - count: '99', - thumbnail: - 'https://static.wixstatic.com/media/7c69c135804b473c9788266540cd90d3.jpg/v1/fit/w_750,h_750/7c69c135804b473c9788266540cd90d3.jpg', - isNew: false - }, - { - name: 'Lina Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/a7adbc41a9f24a64803cac9aec2deb6b.jpg/v1/fit/w_750,h_750/a7adbc41a9f24a64803cac9aec2deb6b.jpg', - isNew: true, - leftTitleBadge: 'facebookOn' - }, - { - name: 'Marissa Mayer', - text: 'When will you have them back in stock?', - timestamp: '1 Week', - count: '', - thumbnail: '', - isNew: true - }, - { - name: 'Elliot Brown', - text: '2 - 3 weeks', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/66003687fdce4e6197cbaf816ca8fd17.jpg/v1/fit/w_750,h_750/66003687fdce4e6197cbaf816ca8fd17.jpg', - isNew: true - }, - { - name: 'Vanessa Campbell', - text: 'Do you have these in other colors?', - timestamp: '1 Week', - count: '', - thumbnail: - 'https://static.wixstatic.com/media/d4367b20ae2e4036b18c34262d5ed031.jpg/v1/fit/w_750,h_750/d4367b20ae2e4036b18c34262d5ed031.jpg', - isNew: true, - leftTitleBadge: 'twitterOn' - } -]; - -export default conversations; diff --git a/demo/src/data/orders.ts b/demo/src/data/orders.ts deleted file mode 100644 index b621cb60f6..0000000000 --- a/demo/src/data/orders.ts +++ /dev/null @@ -1,137 +0,0 @@ -type InventoryType = { - trackingMethod: string; - status: string; - quantity: number; -} - -export type OrderType = { - name: string; - formattedPrice: string; - inventory: InventoryType - mediaUrl: string; -} - -const orders: Array = [ - { - name: '#100201', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'Paid', - quantity: 1 - }, - mediaUrl: 'https://static.wixstatic.com/media/d911269bdf7972c9a59ba30440cb3789.jpg_128' - }, - { - name: '#100203', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'Paid', - quantity: 2 - }, - mediaUrl: 'https://static.wixstatic.com/media/cda177_5c6d2cd3b71a41caa54309301e1dd0d7.jpg_128' - }, - { - name: '#100207', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'Unpaid', - quantity: 1 - }, - mediaUrl: 'https://static.wixstatic.com/media/cda177_7153ff06297c484498f9d6662e26d6d5.jpg_128' - }, - { - name: '#100208', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'Out of Stock', - quantity: 0 - }, - mediaUrl: 'https://static.wixstatic.com/media/cda177_e008aa7681f443b3be63a1fe86c10cfd.jpg_128' - }, - { - name: '#100209', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'Paid', - quantity: 3 - }, - mediaUrl: 'https://static.wixstatic.com/media/cda177_f9de629d8c97416f82b398725bd49918.jpg_128' - }, - { - name: '#100205', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'Unpaid', - quantity: 0 - }, - mediaUrl: 'https://static.wixstatic.com/media/cda177_1782572f1dfc49d397e830918d912568.jpg_128' - }, - { - name: '#100200', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'Unpaid', - quantity: 10 - }, - mediaUrl: 'https://static.wixstatic.com/media/cda177_03906910d07749199b09e443ce9fed6c.jpg_128' - }, - { - name: '#100206', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'Paid', - quantity: 11 - }, - mediaUrl: 'https://static.wixstatic.com/media/cda177_9d3e5b8fc70e4d2997806ece35e7de54.jpg_128' - }, - { - name: '#100212', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'Unpaid', - quantity: 10 - }, - mediaUrl: 'https://static.wixstatic.com/media/cda177_db24e0568cdc4a82be0a8559fb123b55.jpg_128' - }, - { - name: '#100211', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'Unpaid', - quantity: 2 - }, - mediaUrl: 'https://static.wixstatic.com/media/cda177_085a5f9575ba4b208f6091b26cbda4c4.jpg_128' - }, - { - name: '#10022', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'Paid', - quantity: 8 - }, - mediaUrl: 'https://static.wixstatic.com/media/cda177_82d66fece3e54a7aa10d49bda4d98259.jpg_128' - }, - { - name: '#10023', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'Paid', - quantity: 8 - }, - mediaUrl: 'https://static.wixstatic.com/media/84770f_c611ded729fd4461a1bb57134d4e9dd2.png_128' - } -]; - -export default orders; diff --git a/demo/src/data/posts.js b/demo/src/data/posts.js deleted file mode 100644 index a9c8c4cc35..0000000000 --- a/demo/src/data/posts.js +++ /dev/null @@ -1,20 +0,0 @@ -const localImageSource = require('../assets/images/empty-state.jpg'); // eslint-disable-line -const posts = [ - { - coverImage: localImageSource, - title: 'Amazing Desert', - status: 'Published', - timestamp: '31 August 2016', - description: 'Reference this table when designing your app’s interface, and make sure', - likes: 345, - }, - { - title: 'New Post', - status: 'Draft', - timestamp: '07 March 2017', - description: 'This is the beginning of a new post', - likes: 0, - }, -]; - -export default posts; diff --git a/demo/src/data/products.ts b/demo/src/data/products.ts deleted file mode 100644 index 6bba237da8..0000000000 --- a/demo/src/data/products.ts +++ /dev/null @@ -1,180 +0,0 @@ -const products = [ - { - id: 'a', - name: 'I\'m a Product', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'In Stock', - quantity: 1 - }, - mediaUrl: 'https://images.pexels.com/photos/248412/pexels-photo-248412.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=200' - }, - { - id: 'b', - name: 'I\'m a Product', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'In Stock', - quantity: 2 - }, - mediaUrl: 'https://images.pexels.com/photos/3737604/pexels-photo-3737604.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=200' - }, - { - id: 'c', - name: 'I\'m a Product', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'In Stock', - quantity: 1 - }, - mediaUrl: 'https://images.pexels.com/photos/3685538/pexels-photo-3685538.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=200' - }, - { - id: 'd', - name: 'I\'m a Product', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'Out of Stock', - quantity: 0 - }, - mediaUrl: 'https://images.pexels.com/photos/4202467/pexels-photo-4202467.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=200' - }, - { - id: 'e', - name: 'I\'m a Product', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'In Stock', - quantity: 3 - }, - mediaUrl: 'https://static.wixstatic.com/media/cda177_f9de629d8c97416f82b398725bd49918.jpg_128' - }, - { - id: 'f', - name: 'I\'m a Product', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'statu', - status: 'Out of Stock', - quantity: 0 - }, - mediaUrl: 'https://static.wixstatic.com/media/cda177_1782572f1dfc49d397e830918d912568.jpg_128' - }, - { - id: 'g', - name: 'I\'m a Product', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'In Stock', - quantity: 10 - }, - mediaUrl: 'https://static.wixstatic.com/media/cda177_03906910d07749199b09e443ce9fed6c.jpg_128' - }, - { - id: 'h', - name: 'I\'m a Product', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'In Stock', - quantity: 11 - }, - mediaUrl: 'https://static.wixstatic.com/media/cda177_9d3e5b8fc70e4d2997806ece35e7de54.jpg_128' - }, - { - id: 'i', - name: 'I\'m a Product', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'In Stock', - quantity: 10 - }, - mediaUrl: 'https://static.wixstatic.com/media/cda177_db24e0568cdc4a82be0a8559fb123b55.jpg_128' - }, - { - id: 'j', - name: 'I\'m a Product', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'In Stock', - quantity: 2 - }, - mediaUrl: 'https://static.wixstatic.com/media/cda177_085a5f9575ba4b208f6091b26cbda4c4.jpg_128' - }, - { - id: 'k', - name: 'I\'m a Product', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'In Stock', - quantity: 8 - }, - mediaUrl: 'https://static.wixstatic.com/media/cda177_82d66fece3e54a7aa10d49bda4d98259.jpg_128' - }, - { - id: 'l', - name: 'I\'m a Product', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'In Stock', - quantity: 8 - }, - mediaUrl: 'https://static.wixstatic.com/media/84770f_c611ded729fd4461a1bb57134d4e9dd2.png_128' - }, - { - id: 'm', - name: 'I\'m a Product', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'In Stock', - quantity: 3 - }, - mediaUrl: 'https://images.pexels.com/photos/3612182/pexels-photo-3612182.jpeg?auto=compress&cs=tinysrgb&dpr=2&w=150' - }, - { - id: 'n', - name: 'I\'m a Product', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'In Stock', - quantity: 22 - }, - mediaUrl: 'https://images.pexels.com/photos/4841529/pexels-photo-4841529.jpeg?auto=compress&cs=tinysrgb&dpr=2&w=150' - }, - { - id: 'o', - name: 'I\'m a Product', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'In Stock', - quantity: 10 - }, - mediaUrl: 'https://images.pexels.com/photos/4173450/pexels-photo-4173450.jpeg?auto=compress&cs=tinysrgb&dpr=2&w=150' - }, - { - id: 'p', - name: 'I\'m a Product', - formattedPrice: '$19.99', - inventory: { - trackingMethod: 'status', - status: 'In Stock', - quantity: 10 - }, - mediaUrl: 'https://images.pexels.com/photos/10513273/pexels-photo-10513273.jpeg?auto=compress&cs=tinysrgb&dpr=2&w=150' - } -]; - -export default products; diff --git a/demo/src/data/songs.js b/demo/src/data/songs.js deleted file mode 100644 index dbd3bca6a9..0000000000 --- a/demo/src/data/songs.js +++ /dev/null @@ -1,1453 +0,0 @@ -const songs = [{ - name: 'HUMBLE.', - duration: '0', - playcount: '1489800', - listeners: '166294', - mbid: '', - url: 'https://www.last.fm/music/Kendrick+Lamar/_/HUMBLE.', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Kendrick Lamar', - mbid: '381086ea-f511-4aba-bdf9-71c753dc5077', - url: 'https://www.last.fm/music/Kendrick+Lamar' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'extralarge' - }] -}, { - name: 'Shape of You', - duration: '0', - playcount: '2551417', - listeners: '230550', - mbid: '', - url: 'https://www.last.fm/music/Ed+Sheeran/_/Shape+of+You', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Ed Sheeran', - mbid: 'b8a7c51f-362c-4dcb-a259-bc6e0095f0a6', - url: 'https://www.last.fm/music/Ed+Sheeran' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/71ab2582b79a456787bf08b6e419f0dc.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/71ab2582b79a456787bf08b6e419f0dc.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/71ab2582b79a456787bf08b6e419f0dc.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/71ab2582b79a456787bf08b6e419f0dc.png', - size: 'extralarge' - }] -}, { - name: 'DNA.', - duration: '0', - playcount: '1048783', - listeners: '137701', - mbid: '', - url: 'https://www.last.fm/music/Kendrick+Lamar/_/DNA.', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Kendrick Lamar', - mbid: '381086ea-f511-4aba-bdf9-71c753dc5077', - url: 'https://www.last.fm/music/Kendrick+Lamar' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'extralarge' - }] -}, { - name: 'Malibu', - duration: '0', - playcount: '628068', - listeners: '65597', - mbid: '', - url: 'https://www.last.fm/music/Miley+Cyrus/_/Malibu', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Miley Cyrus', - mbid: '7e9bd05a-117f-4cce-87bc-e011527a8b18', - url: 'https://www.last.fm/music/Miley+Cyrus' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/450b202c44c397f29dc06bb15b61ef36.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/450b202c44c397f29dc06bb15b61ef36.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/450b202c44c397f29dc06bb15b61ef36.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/450b202c44c397f29dc06bb15b61ef36.png', - size: 'extralarge' - }] -}, { - name: 'Despacito - Remix', - duration: '0', - playcount: '577278', - listeners: '79006', - mbid: '', - url: 'https://www.last.fm/music/Luis+Fonsi/_/Despacito+-+Remix', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Luis Fonsi', - mbid: 'd68fda90-ab8d-4799-be56-317ba4ae700f', - url: 'https://www.last.fm/music/Luis+Fonsi' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/770e3952b46f2e7b29d061e86674e1dc.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/770e3952b46f2e7b29d061e86674e1dc.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/770e3952b46f2e7b29d061e86674e1dc.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/770e3952b46f2e7b29d061e86674e1dc.png', - size: 'extralarge' - }] -}, { - name: 'Sign Of The Times', - duration: '0', - playcount: '1111321', - listeners: '93206', - mbid: '', - url: 'https://www.last.fm/music/Harry+Styles/_/Sign+Of+The+Times', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Harry Styles', - mbid: '', - url: 'https://www.last.fm/music/Harry+Styles' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/5f58f9c4f79bff1043caa2ccd127544b.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/5f58f9c4f79bff1043caa2ccd127544b.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/5f58f9c4f79bff1043caa2ccd127544b.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/5f58f9c4f79bff1043caa2ccd127544b.png', - size: 'extralarge' - }] -}, { - name: 'Bad Liar', - duration: '0', - playcount: '417915', - listeners: '52325', - mbid: '', - url: 'https://www.last.fm/music/Selena+Gomez/_/Bad+Liar', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Selena Gomez', - mbid: 'e4bc69e2-a064-4f93-ada1-f7f209cc1cc3', - url: 'https://www.last.fm/music/Selena+Gomez' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/1dd812bfa1f45e0a2d3269fdfda2cf7f.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/1dd812bfa1f45e0a2d3269fdfda2cf7f.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/1dd812bfa1f45e0a2d3269fdfda2cf7f.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/1dd812bfa1f45e0a2d3269fdfda2cf7f.png', - size: 'extralarge' - }] -}, { - name: 'Black Hole Sun', - duration: '0', - playcount: '5095014', - listeners: '955904', - mbid: '18f44eb2-4bac-4768-8e31-ceacb971faac', - url: 'https://www.last.fm/music/Soundgarden/_/Black+Hole+Sun', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Soundgarden', - mbid: '153c9281-268f-4cf3-8938-f5a4593e5df4', - url: 'https://www.last.fm/music/Soundgarden' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/7f1e7ce25a71467196580d18fce25db2.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/7f1e7ce25a71467196580d18fce25db2.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/7f1e7ce25a71467196580d18fce25db2.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/7f1e7ce25a71467196580d18fce25db2.png', - size: 'extralarge' - }] -}, { - name: 'I\'m the One', - duration: '0', - playcount: '329403', - listeners: '63587', - mbid: '', - url: 'https://www.last.fm/music/DJ+Khaled/_/I%27m+the+One', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'DJ Khaled', - mbid: '081a2d60-9791-4e05-a075-f1890355eeee', - url: 'https://www.last.fm/music/DJ+Khaled' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/49c58b915c7342cbbdef7a264d564e93.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/49c58b915c7342cbbdef7a264d564e93.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/49c58b915c7342cbbdef7a264d564e93.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/49c58b915c7342cbbdef7a264d564e93.png', - size: 'extralarge' - }] -}, { - name: 'HarD TiMEs', - duration: '0', - playcount: '837105', - listeners: '74270', - mbid: '', - url: 'https://www.last.fm/music/Paramore/_/HarD+TiMEs', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Paramore', - mbid: '728ea90d-279b-4201-a8c4-597830883150', - url: 'https://www.last.fm/music/Paramore' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/a7f713f5e2031607ca37b166775c2d17.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/a7f713f5e2031607ca37b166775c2d17.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/a7f713f5e2031607ca37b166775c2d17.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/a7f713f5e2031607ca37b166775c2d17.png', - size: 'extralarge' - }] -}, { - name: 'Thunder', - duration: '0', - playcount: '417946', - listeners: '59733', - mbid: '', - url: 'https://www.last.fm/music/Imagine+Dragons/_/Thunder', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Imagine Dragons', - mbid: '012151a8-0f9a-44c9-997f-ebd68b5389f9', - url: 'https://www.last.fm/music/Imagine+Dragons' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/b89d483809639a549eaddb6090f7451e.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/b89d483809639a549eaddb6090f7451e.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/b89d483809639a549eaddb6090f7451e.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/b89d483809639a549eaddb6090f7451e.png', - size: 'extralarge' - }] -}, { - name: 'Swish Swish', - duration: '0', - playcount: '441231', - listeners: '44638', - mbid: '', - url: 'https://www.last.fm/music/Katy+Perry/_/Swish+Swish', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Katy Perry', - mbid: '122d63fc-8671-43e4-9752-34e846d62a9c', - url: 'https://www.last.fm/music/Katy+Perry' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/87156aec9593180909fe5f72ede47a03.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/87156aec9593180909fe5f72ede47a03.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/87156aec9593180909fe5f72ede47a03.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/87156aec9593180909fe5f72ede47a03.png', - size: 'extralarge' - }] -}, { - name: 'Passionfruit', - duration: '0', - playcount: '996327', - listeners: '112386', - mbid: '', - url: 'https://www.last.fm/music/Drake/_/Passionfruit', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Drake', - mbid: 'b49b81cc-d5b7-4bdd-aadb-385df8de69a6', - url: 'https://www.last.fm/music/Drake' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/d1e64270f77a12040dd464703377d855.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/d1e64270f77a12040dd464703377d855.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/d1e64270f77a12040dd464703377d855.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/d1e64270f77a12040dd464703377d855.png', - size: 'extralarge' - }] -}, { - name: 'Attention', - duration: '0', - playcount: '331354', - listeners: '55138', - mbid: '', - url: 'https://www.last.fm/music/Charlie+Puth/_/Attention', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Charlie Puth', - mbid: '525f1f1c-03f0-4bc8-8dfd-e7521f87631b', - url: 'https://www.last.fm/music/Charlie+Puth' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/0f2055a36bc01e0d81d18039e26deeca.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/0f2055a36bc01e0d81d18039e26deeca.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/0f2055a36bc01e0d81d18039e26deeca.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/0f2055a36bc01e0d81d18039e26deeca.png', - size: 'extralarge' - }] -}, { - name: 'Mask Off', - duration: '0', - playcount: '624005', - listeners: '91992', - mbid: '', - url: 'https://www.last.fm/music/Future/_/Mask+Off', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Future', - mbid: '9f1195cf-9900-45db-bf9c-21c205672ae0', - url: 'https://www.last.fm/music/Future' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/3274f6049b991483ffe5681d0319c44c.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/3274f6049b991483ffe5681d0319c44c.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/3274f6049b991483ffe5681d0319c44c.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/3274f6049b991483ffe5681d0319c44c.png', - size: 'extralarge' - }] -}, { - name: 'Now or Never', - duration: '0', - playcount: '483460', - listeners: '66969', - mbid: '', - url: 'https://www.last.fm/music/Halsey/_/Now+or+Never', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Halsey', - mbid: '', - url: 'https://www.last.fm/music/Halsey' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/14e7f4d6e74521f795de8ca141c6bf89.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/14e7f4d6e74521f795de8ca141c6bf89.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/14e7f4d6e74521f795de8ca141c6bf89.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/14e7f4d6e74521f795de8ca141c6bf89.png', - size: 'extralarge' - }] -}, { - name: 'There\'s Nothing Holdin\' Me Back', - duration: '0', - playcount: '367656', - listeners: '58239', - mbid: '', - url: 'https://www.last.fm/music/Shawn+Mendes/_/There%27s+Nothing+Holdin%27+Me+Back', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Shawn Mendes', - mbid: 'b7d92248-97e3-4450-8057-6fe06738f735', - url: 'https://www.last.fm/music/Shawn+Mendes' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/aa28b1d640f10dbc3b484444d3307a80.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/aa28b1d640f10dbc3b484444d3307a80.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/aa28b1d640f10dbc3b484444d3307a80.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/aa28b1d640f10dbc3b484444d3307a80.png', - size: 'extralarge' - }] -}, { - name: 'Something Just Like This', - duration: '0', - playcount: '795523', - listeners: '114311', - mbid: '', - url: 'https://www.last.fm/music/The+Chainsmokers/_/Something+Just+Like+This', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'The Chainsmokers', - mbid: '91a81925-92f9-4fc9-b897-93cf01226282', - url: 'https://www.last.fm/music/The+Chainsmokers' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/b7457fa791ece7fa673eb0b4431657f4.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/b7457fa791ece7fa673eb0b4431657f4.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/b7457fa791ece7fa673eb0b4431657f4.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/b7457fa791ece7fa673eb0b4431657f4.png', - size: 'extralarge' - }] -}, { - name: 'The Cure', - duration: '0', - playcount: '1392982', - listeners: '71651', - mbid: '', - url: 'https://www.last.fm/music/Lady+Gaga/_/The+Cure', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Lady Gaga', - mbid: '650e7db6-b795-4eb5-a702-5ea2fc46c848', - url: 'https://www.last.fm/music/Lady+Gaga' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/27be033c8f51e85ef9e78df45f1897ce.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/27be033c8f51e85ef9e78df45f1897ce.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/27be033c8f51e85ef9e78df45f1897ce.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/27be033c8f51e85ef9e78df45f1897ce.png', - size: 'extralarge' - }] -}, { - name: 'Redbone', - duration: '0', - playcount: '873872', - listeners: '126320', - mbid: '', - url: 'https://www.last.fm/music/Childish+Gambino/_/Redbone', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Childish Gambino', - mbid: '7fb57fba-a6ef-44c2-abab-2fa3bdee607e', - url: 'https://www.last.fm/music/Childish+Gambino' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/4925ae3c7ec04df9b0c65e0adc12c6a1.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/4925ae3c7ec04df9b0c65e0adc12c6a1.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/4925ae3c7ec04df9b0c65e0adc12c6a1.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/4925ae3c7ec04df9b0c65e0adc12c6a1.png', - size: 'extralarge' - }] -}, { - name: 'ELEMENT.', - duration: '0', - playcount: '700659', - listeners: '110573', - mbid: '', - url: 'https://www.last.fm/music/Kendrick+Lamar/_/ELEMENT.', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Kendrick Lamar', - mbid: '381086ea-f511-4aba-bdf9-71c753dc5077', - url: 'https://www.last.fm/music/Kendrick+Lamar' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'extralarge' - }] -}, { - name: 'Green Light', - duration: '0', - playcount: '1298741', - listeners: '123184', - mbid: '', - url: 'https://www.last.fm/music/Lorde/_/Green+Light', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Lorde', - mbid: '8e494408-8620-4c6a-82c2-c2ca4a1e4f12', - url: 'https://www.last.fm/music/Lorde' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/8987fadfc88af0db542ac2f711969c59.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/8987fadfc88af0db542ac2f711969c59.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/8987fadfc88af0db542ac2f711969c59.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/8987fadfc88af0db542ac2f711969c59.png', - size: 'extralarge' - }] -}, { - name: 'Swalla (feat. Nicki Minaj & Ty Dolla $ign)', - duration: '0', - playcount: '417927', - listeners: '73877', - mbid: '', - url: 'https://www.last.fm/music/Jason+Der%C3%BClo/_/Swalla+(feat.+Nicki+Minaj+&+Ty+Dolla+$ign)', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Jason Derülo', - mbid: '6de0f914-3e60-4418-be3b-42e0feb6eb4d', - url: 'https://www.last.fm/music/Jason+Der%C3%BClo' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/544cd29f74a11479418fe9eaf509c935.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/544cd29f74a11479418fe9eaf509c935.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/544cd29f74a11479418fe9eaf509c935.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/544cd29f74a11479418fe9eaf509c935.png', - size: 'extralarge' - }] -}, { - name: 'That\'s What I Like', - duration: '0', - playcount: '697515', - listeners: '106859', - mbid: '', - url: 'https://www.last.fm/music/Bruno+Mars/_/That%27s+What+I+Like', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Bruno Mars', - mbid: 'afb680f2-b6eb-4cd7-a70b-a63b25c763d5', - url: 'https://www.last.fm/music/Bruno+Mars' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/85ebe2bcd85fec1c35c571509aa27d1a.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/85ebe2bcd85fec1c35c571509aa27d1a.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/85ebe2bcd85fec1c35c571509aa27d1a.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/85ebe2bcd85fec1c35c571509aa27d1a.png', - size: 'extralarge' - }] -}, { - name: 'First Time', - duration: '0', - playcount: '224474', - listeners: '53996', - mbid: '', - url: 'https://www.last.fm/music/Kygo/_/First+Time', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Kygo', - mbid: 'ba0e7638-0cd6-4ff4-8987-c3e224d22c23', - url: 'https://www.last.fm/music/Kygo' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/7427d1a8917577205b4d8ecaf30f4973.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/7427d1a8917577205b4d8ecaf30f4973.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/7427d1a8917577205b4d8ecaf30f4973.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/7427d1a8917577205b4d8ecaf30f4973.png', - size: 'extralarge' - }] -}, { - name: 'Stay (with Alessia Cara)', - duration: '0', - playcount: '560479', - listeners: '88187', - mbid: '', - url: 'https://www.last.fm/music/Zedd/_/Stay+(with+Alessia+Cara)', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Zedd', - mbid: '56c4b861-0922-4c3a-a9b9-3bfcb00f8274', - url: 'https://www.last.fm/music/Zedd' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/384c8a50ddcbf0a340288888ef9f8f30.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/384c8a50ddcbf0a340288888ef9f8f30.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/384c8a50ddcbf0a340288888ef9f8f30.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/384c8a50ddcbf0a340288888ef9f8f30.png', - size: 'extralarge' - }] -}, { - name: 'Galway Girl', - duration: '0', - playcount: '789192', - listeners: '106712', - mbid: '', - url: 'https://www.last.fm/music/Ed+Sheeran/_/Galway+Girl', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Ed Sheeran', - mbid: 'b8a7c51f-362c-4dcb-a259-bc6e0095f0a6', - url: 'https://www.last.fm/music/Ed+Sheeran' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/71ab2582b79a456787bf08b6e419f0dc.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/71ab2582b79a456787bf08b6e419f0dc.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/71ab2582b79a456787bf08b6e419f0dc.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/71ab2582b79a456787bf08b6e419f0dc.png', - size: 'extralarge' - }] -}, { - name: 'Believer', - duration: '0', - playcount: '793700', - listeners: '109044', - mbid: '', - url: 'https://www.last.fm/music/Imagine+Dragons/_/Believer', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Imagine Dragons', - mbid: '012151a8-0f9a-44c9-997f-ebd68b5389f9', - url: 'https://www.last.fm/music/Imagine+Dragons' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/b89d483809639a549eaddb6090f7451e.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/b89d483809639a549eaddb6090f7451e.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/b89d483809639a549eaddb6090f7451e.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/b89d483809639a549eaddb6090f7451e.png', - size: 'extralarge' - }] -}, { - name: 'Slide', - duration: '0', - playcount: '670791', - listeners: '99374', - mbid: '', - url: 'https://www.last.fm/music/Calvin+Harris/_/Slide', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Calvin Harris', - mbid: '8dd98bdc-80ec-4e93-8509-2f46bafc09a7', - url: 'https://www.last.fm/music/Calvin+Harris' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/ca83997a225a4368eb55f82717add274.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/ca83997a225a4368eb55f82717add274.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/ca83997a225a4368eb55f82717add274.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/ca83997a225a4368eb55f82717add274.png', - size: 'extralarge' - }] -}, { - name: 'YAH.', - duration: '0', - playcount: '613708', - listeners: '107488', - mbid: '', - url: 'https://www.last.fm/music/Kendrick+Lamar/_/YAH.', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Kendrick Lamar', - mbid: '381086ea-f511-4aba-bdf9-71c753dc5077', - url: 'https://www.last.fm/music/Kendrick+Lamar' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'extralarge' - }] -}, { - name: 'In Cold Blood', - duration: '0', - playcount: '277259', - listeners: '58405', - mbid: '', - url: 'https://www.last.fm/music/alt-J/_/In+Cold+Blood', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'alt-J', - mbid: 'fc7bbf00-fbaa-4736-986b-b3ac0266ca9b', - url: 'https://www.last.fm/music/alt-J' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/bf2571ed95b92afd6d5ee5c49ac97b06.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/bf2571ed95b92afd6d5ee5c49ac97b06.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/bf2571ed95b92afd6d5ee5c49ac97b06.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/bf2571ed95b92afd6d5ee5c49ac97b06.png', - size: 'extralarge' - }] -}, { - name: 'cRYINg In THE clUB', - duration: '0', - playcount: '512484', - listeners: '34779', - mbid: '', - url: 'https://www.last.fm/music/Camila+Cabello/_/cRYINg+In+THE+clUB', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Camila Cabello', - mbid: '', - url: 'https://www.last.fm/music/Camila+Cabello' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/4b10761e170a2b104308ad5286c55414.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/4b10761e170a2b104308ad5286c55414.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/4b10761e170a2b104308ad5286c55414.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/4b10761e170a2b104308ad5286c55414.png', - size: 'extralarge' - }] -}, { - name: 'Do I Wanna Know?', - duration: '272', - playcount: '10468137', - listeners: '771234', - mbid: 'f1e57531-e0df-4b3e-938f-1ae30c5b1a11', - url: 'https://www.last.fm/music/Arctic+Monkeys/_/Do+I+Wanna+Know%3F', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Arctic Monkeys', - mbid: 'ada7a83c-e3e1-40f1-93f9-3e73dbc9298a', - url: 'https://www.last.fm/music/Arctic+Monkeys' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/c825233e09af4641a5ce7b6ece883aae.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/c825233e09af4641a5ce7b6ece883aae.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/c825233e09af4641a5ce7b6ece883aae.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/c825233e09af4641a5ce7b6ece883aae.png', - size: 'extralarge' - }] -}, { - name: 'bOn aPpétIT', - duration: '0', - playcount: '496897', - listeners: '50769', - mbid: '', - url: 'https://www.last.fm/music/Katy+Perry/_/bOn+aPp%C3%A9tIT', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Katy Perry', - mbid: '122d63fc-8671-43e4-9752-34e846d62a9c', - url: 'https://www.last.fm/music/Katy+Perry' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/87156aec9593180909fe5f72ede47a03.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/87156aec9593180909fe5f72ede47a03.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/87156aec9593180909fe5f72ede47a03.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/87156aec9593180909fe5f72ede47a03.png', - size: 'extralarge' - }] -}, { - name: 'TOlD YOU SO', - duration: '0', - playcount: '400238', - listeners: '44884', - mbid: '', - url: 'https://www.last.fm/music/Paramore/_/TOlD+YOU+SO', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Paramore', - mbid: '728ea90d-279b-4201-a8c4-597830883150', - url: 'https://www.last.fm/music/Paramore' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/a7f713f5e2031607ca37b166775c2d17.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/a7f713f5e2031607ca37b166775c2d17.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/a7f713f5e2031607ca37b166775c2d17.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/a7f713f5e2031607ca37b166775c2d17.png', - size: 'extralarge' - }] -}, { - name: 'Strip That Down', - duration: '0', - playcount: '236305', - listeners: '34092', - mbid: '', - url: 'https://www.last.fm/music/Liam+Payne/_/Strip+That+Down', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Liam Payne', - mbid: '', - url: 'https://www.last.fm/music/Liam+Payne' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/7f9dfb7433caf0fb74ab3362b09908cc.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/7f9dfb7433caf0fb74ab3362b09908cc.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/7f9dfb7433caf0fb74ab3362b09908cc.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/7f9dfb7433caf0fb74ab3362b09908cc.png', - size: 'extralarge' - }] -}, { - name: 'No Promises (feat. Demi Lovato)', - duration: '0', - playcount: '326677', - listeners: '53990', - mbid: '', - url: 'https://www.last.fm/music/Cheat+Codes/_/No+Promises+(feat.+Demi+Lovato)', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Cheat Codes', - mbid: '', - url: 'https://www.last.fm/music/Cheat+Codes' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/c60ad048c9c22e1f8204b5bbadd128cc.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/c60ad048c9c22e1f8204b5bbadd128cc.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/c60ad048c9c22e1f8204b5bbadd128cc.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/c60ad048c9c22e1f8204b5bbadd128cc.png', - size: 'extralarge' - }] -}, { - name: 'PRIDE.', - duration: '0', - playcount: '566164', - listeners: '99235', - mbid: '', - url: 'https://www.last.fm/music/Kendrick+Lamar/_/PRIDE.', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Kendrick Lamar', - mbid: '381086ea-f511-4aba-bdf9-71c753dc5077', - url: 'https://www.last.fm/music/Kendrick+Lamar' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'extralarge' - }] -}, { - name: 'Everything Now', - duration: '0', - playcount: '119547', - listeners: '33944', - mbid: '', - url: 'https://www.last.fm/music/Arcade+Fire/_/Everything+Now', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Arcade Fire', - mbid: '52074ba6-e495-4ef3-9bb4-0703888a9f68', - url: 'https://www.last.fm/music/Arcade+Fire' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/9c27b0c51d0f4270afbe4342fb3efc17.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/9c27b0c51d0f4270afbe4342fb3efc17.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/9c27b0c51d0f4270afbe4342fb3efc17.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/9c27b0c51d0f4270afbe4342fb3efc17.png', - size: 'extralarge' - }] -}, { - name: 'Like a Stone', - duration: '0', - playcount: '4936084', - listeners: '834395', - mbid: 'e20a9641-2668-4a58-8295-624678a8a883', - url: 'https://www.last.fm/music/Audioslave/_/Like+a+Stone', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Audioslave', - mbid: '020bfbb4-05c3-4c86-b372-17825c262094', - url: 'https://www.last.fm/music/Audioslave' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/7ba191ade5588c99adbec9201ce8266b.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/7ba191ade5588c99adbec9201ce8266b.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/7ba191ade5588c99adbec9201ce8266b.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/7ba191ade5588c99adbec9201ce8266b.png', - size: 'extralarge' - }] -}, { - name: 'Mr. Brightside', - duration: '224', - playcount: '16323183', - listeners: '1846999', - mbid: '37d516ab-d61f-4bcb-9316-7a0b3eb845a8', - url: 'https://www.last.fm/music/The+Killers/_/Mr.+Brightside', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'The Killers', - mbid: '95e1ead9-4d31-4808-a7ac-32c3614c116b', - url: 'https://www.last.fm/music/The+Killers' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/96a6bf1778a9cd84014c3d37a69320e7.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/96a6bf1778a9cd84014c3d37a69320e7.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/96a6bf1778a9cd84014c3d37a69320e7.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/96a6bf1778a9cd84014c3d37a69320e7.png', - size: 'extralarge' - }] -}, { - name: 'FEEL.', - duration: '0', - playcount: '553978', - listeners: '101739', - mbid: '', - url: 'https://www.last.fm/music/Kendrick+Lamar/_/FEEL.', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Kendrick Lamar', - mbid: '381086ea-f511-4aba-bdf9-71c753dc5077', - url: 'https://www.last.fm/music/Kendrick+Lamar' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'extralarge' - }] -}, { - name: 'Adeline', - duration: '0', - playcount: '101101', - listeners: '33000', - mbid: '', - url: 'https://www.last.fm/music/alt-J/_/Adeline', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'alt-J', - mbid: 'fc7bbf00-fbaa-4736-986b-b3ac0266ca9b', - url: 'https://www.last.fm/music/alt-J' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/bf2571ed95b92afd6d5ee5c49ac97b06.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/bf2571ed95b92afd6d5ee5c49ac97b06.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/bf2571ed95b92afd6d5ee5c49ac97b06.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/bf2571ed95b92afd6d5ee5c49ac97b06.png', - size: 'extralarge' - }] -}, { - name: 'sWeeT CreAtUre', - duration: '0', - playcount: '255085', - listeners: '44696', - mbid: '', - url: 'https://www.last.fm/music/Harry+Styles/_/sWeeT+CreAtUre', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Harry Styles', - mbid: '', - url: 'https://www.last.fm/music/Harry+Styles' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/5f58f9c4f79bff1043caa2ccd127544b.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/5f58f9c4f79bff1043caa2ccd127544b.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/5f58f9c4f79bff1043caa2ccd127544b.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/5f58f9c4f79bff1043caa2ccd127544b.png', - size: 'extralarge' - }] -}, { - name: 'chAiNEd tO the RhyTHM', - duration: '0', - playcount: '1170150', - listeners: '107152', - mbid: '', - url: 'https://www.last.fm/music/Katy+Perry/_/chAiNEd+tO+the+RhyTHM', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Katy Perry', - mbid: '122d63fc-8671-43e4-9752-34e846d62a9c', - url: 'https://www.last.fm/music/Katy+Perry' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/87156aec9593180909fe5f72ede47a03.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/87156aec9593180909fe5f72ede47a03.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/87156aec9593180909fe5f72ede47a03.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/87156aec9593180909fe5f72ede47a03.png', - size: 'extralarge' - }] -}, { - name: 'Rose-Colored Boy', - duration: '0', - playcount: '230434', - listeners: '37090', - mbid: '', - url: 'https://www.last.fm/music/Paramore/_/Rose-Colored+Boy', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Paramore', - mbid: '728ea90d-279b-4201-a8c4-597830883150', - url: 'https://www.last.fm/music/Paramore' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/a7f713f5e2031607ca37b166775c2d17.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/a7f713f5e2031607ca37b166775c2d17.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/a7f713f5e2031607ca37b166775c2d17.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/a7f713f5e2031607ca37b166775c2d17.png', - size: 'extralarge' - }] -}, { - name: '3WW', - duration: '0', - playcount: '287185', - listeners: '62364', - mbid: '', - url: 'https://www.last.fm/music/alt-J/_/3WW', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'alt-J', - mbid: 'fc7bbf00-fbaa-4736-986b-b3ac0266ca9b', - url: 'https://www.last.fm/music/alt-J' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/bf2571ed95b92afd6d5ee5c49ac97b06.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/bf2571ed95b92afd6d5ee5c49ac97b06.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/bf2571ed95b92afd6d5ee5c49ac97b06.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/bf2571ed95b92afd6d5ee5c49ac97b06.png', - size: 'extralarge' - }] -}, { - name: 'LOYALTY. FEAT. RIHANNA.', - duration: '0', - playcount: '492660', - listeners: '88839', - mbid: '', - url: 'https://www.last.fm/music/Kendrick+Lamar/_/LOYALTY.+FEAT.+RIHANNA.', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Kendrick Lamar', - mbid: '381086ea-f511-4aba-bdf9-71c753dc5077', - url: 'https://www.last.fm/music/Kendrick+Lamar' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/ede2d97c462d20b25a63565ef5a8bf02.png', - size: 'extralarge' - }] -}, { - name: 'The Less I Know the Better', - duration: '0', - playcount: '2553058', - listeners: '274211', - mbid: '', - url: 'https://www.last.fm/music/Tame+Impala/_/The+Less+I+Know+the+Better', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Tame Impala', - mbid: '63aa26c3-d59b-4da4-84ac-716b54f1ef4d', - url: 'https://www.last.fm/music/Tame+Impala' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/af87aba641a04fa9836fbf72f08b95cc.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/af87aba641a04fa9836fbf72f08b95cc.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/af87aba641a04fa9836fbf72f08b95cc.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/af87aba641a04fa9836fbf72f08b95cc.png', - size: 'extralarge' - }] -}, { - name: 'Slow Hands', - duration: '0', - playcount: '218957', - listeners: '39757', - mbid: '', - url: 'https://www.last.fm/music/Niall+Horan/_/Slow+Hands', - streamable: { - '#text': '0', - fulltrack: '0' - }, - artist: { - name: 'Niall Horan', - mbid: '', - url: 'https://www.last.fm/music/Niall+Horan' - }, - image: [{ - '#text': 'https://lastfm-img2.akamaized.net/i/u/34s/164741df95c250f6ea93faa470c098be.png', - size: 'small' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/64s/164741df95c250f6ea93faa470c098be.png', - size: 'medium' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/174s/164741df95c250f6ea93faa470c098be.png', - size: 'large' - }, { - '#text': 'https://lastfm-img2.akamaized.net/i/u/300x300/164741df95c250f6ea93faa470c098be.png', - size: 'extralarge' - }] -}]; - -export default songs; diff --git a/demo/src/demoApp.js b/demo/src/demoApp.js deleted file mode 100644 index 959ff47443..0000000000 --- a/demo/src/demoApp.js +++ /dev/null @@ -1,144 +0,0 @@ -import {Navigation} from 'react-native-navigation'; -import {Constants, Colors, Typography} from 'react-native-ui-lib'; // eslint-disable-line -import {registerScreens} from './screens'; -import Storage, {DEFAULT_SCREEN} from './storage'; - -/** Examples - uncomment when needed */ -// Typography.loadTypographies({ -// h1: {fontSize: 58, fontWeight: '300', lineHeight: 80}, -// h2: {fontSize: 46, fontWeight: '300', lineHeight: 64}, -// }); - -// Colors.loadColors({ -// pink: '#FF69B4', -// gold: '#FFD700', -// }); - -// const customAnimationsDefinitions = { -// customAnimation1: { -// from: {opacity: 0, translateY: 20}, -// to: {opacity: 1, translateY: 0}, -// }, -// customAnimation2: { -// from: {opacity: 0, translateY: 40}, -// to: {opacity: 1, translateY: 0}, -// }, -// }; - -function getDefaultNavigationStyle() { - return { - statusBar: { - visible: true, - style: 'light', - backgroundColor: Colors.$backgroundPrimaryHeavy // for Android - }, - layout: { - backgroundColor: Colors.$backgroundDefault, - orientation: ['portrait', 'landscape'], - componentBackgroundColor: Colors.$backgroundDefault - }, - topBar: { - visible: true, - noBorder: true, // for iOS - elevation: 0, // for Android - background: { - color: Colors.$backgroundPrimaryHeavy - }, - title: { - color: Colors.$textDefaultLight, - fontSize: Typography.text60H.fontSize, - fontFamily: Typography.text65H.fontFamily - }, - subtitle: { - color: Colors.$textDefaultLight, - fontSize: Typography.text80T.fontSize, - fontFamily: Typography.text80.fontFamily - }, - backButton: { - // visible: true, - color: Colors.$iconDefaultLight, - showTitle: Constants.isIOS ? false : undefined, - testID: 'pop' - }, - leftButtonColor: Colors.$iconDefaultLight, - leftButtonDisabledColor: Colors.$iconDisabled, - rightButtonColor: Colors.$iconDefaultLight, - rightButtonDisabledColor: Colors.$iconDisabled - } - }; -} - -function startApp(defaultScreen) { - Navigation.setDefaultOptions(getDefaultNavigationStyle()); - - const rootObject = { - root: { - stack: { - children: [ - { - component: { - name: 'unicorn.MainScreen', - options: { - topBar: { - title: { - text: 'R N U I L I B' - } - } - } - } - } - ] - } - } - }; - - if (defaultScreen) { - rootObject.root.stack.children.push({ - component: { - name: defaultScreen - } - }); - } - - Navigation.setRoot(rootObject); -} - -function getDefaultScreenAndStartApp() { - if (Storage.contains(DEFAULT_SCREEN)) { - startApp(Storage.getString(DEFAULT_SCREEN)); - } else { - startApp(); - } -} - -Navigation.events().registerAppLaunchedListener(() => { - registerScreens(Navigation.registerComponent.bind(Navigation)); - getDefaultScreenAndStartApp(); -}); - - -/* Setting Intl Polyfills -This is due to lack of Intl support in Hermes engine - */ - -if (global.HermesInternal) { - if (Constants.isIOS) { - - // Polyfills required to use Intl with Hermes engine - require('@formatjs/intl-getcanonicallocales/polyfill').default; - require('@formatjs/intl-locale/polyfill').default; - require('@formatjs/intl-pluralrules/polyfill').default; - require('@formatjs/intl-pluralrules/locale-data/en').default; - require('@formatjs/intl-numberformat/polyfill').default; - require('@formatjs/intl-numberformat/locale-data/en').default; - require('@formatjs/intl-datetimeformat/polyfill').default; - require('@formatjs/intl-datetimeformat/locale-data/en').default; - require('@formatjs/intl-datetimeformat/add-all-tz').default; - } else { - require('@formatjs/intl-getcanonicallocales/polyfill'); - require('@formatjs/intl-locale/polyfill'); - require('@formatjs/intl-datetimeformat/polyfill'); - require('@formatjs/intl-datetimeformat/locale-data/en'); - require('@formatjs/intl-datetimeformat/add-all-tz'); - } -} diff --git a/demo/src/index.js b/demo/src/index.js deleted file mode 100644 index ed47fc9fad..0000000000 --- a/demo/src/index.js +++ /dev/null @@ -1,313 +0,0 @@ -import {UIManager, I18nManager} from 'react-native'; -import {navigationData as menuStructure} from './screens/MenuStructure'; -import {loadDemoConfigurations} from './configurations'; - -UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true); // eslint-disable-line -I18nManager.allowRTL(true); - -module.exports = { - name: 'unicorn demo app', - menuStructure, - loadDemoConfigurations, - // componentScreens - get screens() { - return { - get ActionSheetScreen() { - return require('./screens/componentScreens/ActionSheetScreen').default; - }, - get ActionBarScreen() { - return require('./screens/componentScreens/ActionBarScreen').default; - }, - get AvatarsScreen() { - return require('./screens/componentScreens/AvatarsScreen').default; - }, - get AnimatedImageScreen() { - return require('./screens/componentScreens/AnimatedImageScreen').default; - }, - get ButtonsScreen() { - return require('./screens/componentScreens/ButtonsScreen').default; - }, - get BadgesScreen() { - return require('./screens/componentScreens/BadgesScreen').default; - }, - get CardsScreen() { - return require('./screens/componentScreens/CardsScreen').default; - }, - get CarouselScreen() { - return require('./screens/componentScreens/CarouselScreen').default; - }, - get CarouselVerticalScreen() { - return require('./screens/componentScreens/CarouselVerticalScreen').default; - }, - get CheckboxScreen() { - return require('./screens/componentScreens/CheckboxScreen').default; - }, - get ChipScreen() { - return require('./screens/componentScreens/ChipScreen').default; - }, - get ConnectionStatusBarScreen() { - return require('./screens/componentScreens/ConnectionStatusBarScreen').default; - }, - get DialogScreen() { - return require('./screens/componentScreens/DialogScreen').default; - }, - get DrawerScreen() { - return require('./screens/componentScreens/DrawerScreen').default; - }, - get ExpandableSectionScreen() { - return require('./screens/componentScreens/ExpandableSectionScreen').default; - }, - get ChipsInputScreen() { - return require('./screens/componentScreens/ChipsInputScreen').default; - }, - get HapticScreen() { - return require('./screens/componentScreens/HapticScreen').default; - }, - get HintsScreen() { - return require('./screens/componentScreens/HintsScreen').default; - }, - get HorizontalSortableListScreen() { - return require('./screens/componentScreens/HorizontalSortableListScreen').default; - }, - get IconScreen() { - return require('./screens/componentScreens/IconScreen').default; - }, - get ImageScreen() { - return require('./screens/componentScreens/ImageScreen').default; - }, - get ProgressiveImageScreen() { - return require('./screens/componentScreens/ProgressiveImageScreen').default; - }, - get MaskedInputScreen() { - return require('./screens/componentScreens/MaskedInputScreen').default; - }, - get OverlaysScreen() { - return require('./screens/componentScreens/OverlaysScreen').default; - }, - get PageControlScreen() { - return require('./screens/componentScreens/PageControlScreen').default; - }, - get PanDismissibleScreen() { - return require('./screens/componentScreens/PanDismissibleScreen').default; - }, - get PanListenerScreen() { - return require('./screens/componentScreens/PanListenerScreen').default; - }, - get PanResponderScreen() { - return require('./screens/componentScreens/PanResponderScreen').default; - }, - get PickerScreen() { - return require('./screens/componentScreens/PickerScreen').default; - }, - get RadioButtonScreen() { - return require('./screens/componentScreens/RadioButtonScreen').default; - }, - get SectionsWheelPickerScreen() { - return require('./screens/componentScreens/SectionsWheelPickerScreen').default; - }, - get SegmentedControlScreen() { - return require('./screens/componentScreens/SegmentedControlScreen').default; - }, - get SharedTransitionScreen() { - return require('./screens/componentScreens/SharedTransitionScreen').default; - }, - get SkeletonViewScreen() { - return require('./screens/componentScreens/SkeletonViewScreen').default; - }, - get SortableListScreen() { - return require('./screens/componentScreens/SortableListScreen').default; - }, - get StepperScreen() { - return require('./screens/componentScreens/StepperScreen').default; - }, - get SwitchScreen() { - return require('./screens/componentScreens/SwitchScreen').default; - }, - get ToastsScreen() { - return require('./screens/componentScreens/ToastsScreen').default; - }, - get TabControllerScreen() { - return require('./screens/componentScreens/TabControllerScreen').default; - }, - get TextScreen() { - return require('./screens/componentScreens/TextScreen').default; - }, - // TODO: fix Expo issues (navigation) before un-commenting - get TextFieldScreen() { - return require('./screens/componentScreens/TextFieldScreen').default; - }, - get TourScreen() { - return require('./screens/componentScreens/TourScreen').default; - }, - get FeatureHighlightScreen() { - return require('./screens/componentScreens/FeatureHighlightScreen').default; - }, - get SliderScreen() { - return require('./screens/componentScreens/SliderScreen').default; - }, - get FloatingButtonScreen() { - return require('./screens/componentScreens/FloatingButtonScreen').default; - }, - get ColorPickerScreen() { - return require('./screens/componentScreens/ColorPickerScreen').default; - }, - get ColorSwatchScreen() { - return require('./screens/componentScreens/ColorSwatchScreen').default; - }, - get StackAggregatorScreen() { - return require('./screens/componentScreens/StackAggregatorScreen').default; - }, - get DateTimePickerScreen() { - return require('./screens/componentScreens/DateTimePickerScreen').default; - }, - get ViewScreen() { - return require('./screens/componentScreens/ViewScreen').default; - }, - get WizardScreen() { - return require('./screens/componentScreens/WizardScreen').default; - }, - // nativeComponentScreens - get DynamicFontsScreen() { - return require('./screens/nativeComponentScreens/DynamicFontsScreen').default; - }, - get HighlightOverlayViewScreen() { - return require('./screens/nativeComponentScreens/HighlightOverlayViewScreen').default; - }, - get SafeAreaSpacerViewScreen() { - return require('./screens/nativeComponentScreens/SafeAreaSpacerViewScreen').default; - }, - // Full Screen components - get EmptyStateScreen() { - return require('./screens/componentScreens/EmptyStateScreen').default; - }, - get LoadingScreen() { - return require('./screens/componentScreens/LoadingScreen').default; - }, - // TODO: fix Expo issues (navigation) before un-commenting - // get ModalScreen() { - // return require('./screens/componentScreens/ModalScreen').default; - // }, - // listScreens - get BasicListScreen() { - return require('./screens/componentScreens/BasicListScreen').default; - }, - get ContactsListScreen() { - return require('./screens/componentScreens/ContactsListScreen').default; - }, - get ConversationListScreen() { - return require('./screens/componentScreens/ConversationListScreen').default; - }, - // styleScreens - get BorderRadiusesScreen() { - return require('./screens/foundationScreens/BorderRadiusesScreen').default; - }, - get ColorsScreen() { - return require('./screens/foundationScreens/ColorsScreen').default; - }, - get DarkMode() { - return require('./screens/foundationScreens/DarkModeScreen').default; - }, - get TypographyScreen() { - return require('./screens/foundationScreens/TypographyScreen').default; - }, - get ShadowsScreen() { - return require('./screens/foundationScreens/ShadowsScreen').default; - }, - get SpacingsScreen() { - return require('./screens/foundationScreens/SpacingsScreen').default; - }, - get RTLScreen() { - return require('./screens/foundationScreens/RTLScreen').default; - }, - // animationScreens - get CardScannerScreen() { - return require('./screens/componentScreens/CardScannerScreen').default; - }, - get ProgressBarScreen() { - return require('./screens/componentScreens/ProgressBarScreen').default; - }, - get ScrollBar() { - return require('./screens/componentScreens/ScrollBarScreen').default; - }, - get Marquee() { - return require('./screens/componentScreens/MarqueeScreen').default; - }, - get NumberInput() { - return require('./screens/componentScreens/NumberInputScreen').default; - }, - get WheelPicker() { - return require('./screens/componentScreens/WheelPickerScreen').default; - }, - get GridList() { - return require('./screens/componentScreens/GridListScreen').default; - }, - get SortableGridList() { - return require('./screens/componentScreens/SortableGridListScreen').default; - }, - // Incubator - get PanViewScreen() { - return require('./screens/incubatorScreens/PanViewScreen').default; - }, - get IncubatorSlider() { - return require('./screens/incubatorScreens/IncubatorSliderScreen').default; - }, - get IncubatorDialog() { - return require('./screens/incubatorScreens/IncubatorDialogScreen').default; - }, - get IncubatorToast() { - return require('./screens/incubatorScreens/IncubatorToastScreen').default; - }, - get IncubatorExpandableOverlay() { - return require('./screens/incubatorScreens/IncubatorExpandableOverlayScreen').default; - }, - // realExamples - get AppleMusic() { - return require('./screens/realExamples/AppleMusic').default; - }, - get Pinterest() { - return require('./screens/realExamples/Pinterest').default; - }, - get ListActionsScreen() { - return require('./screens/realExamples/ListActions/ListActionsScreen').default; - }, - get ProductPage() { - return require('./screens/realExamples/ProductPage').default; - }, - get Twitter() { - return require('./screens/realExamples/Twitter').default; - }, - // wrapperScreens - get TouchableOpacityScreen() { - return require('./screens/componentScreens/TouchableOpacityScreen').default; - }, - get Modal() { - return require('./screens/componentScreens/ModalScreen').default; - }, - get Timeline() { - return require('./screens/componentScreens/TimelineScreen').default; - }, - get WithScrollEnabler() { - return require('./screens/componentScreens/WithScrollEnablerScreen').default; - }, - get WithScrollReached() { - return require('./screens/componentScreens/WithScrollReachedScreen').default; - }, - get Fader() { - return require('./screens/componentScreens/FaderScreen').default; - }, - get GridView() { - return require('./screens/componentScreens/GridViewScreen').default; - }, - get Playground() { - return require('./screens/PlaygroundScreen').default; - }, - get KeyboardAwareScrollView() { - return require('./screens/componentScreens/KeyboardAwareScrollViewScreen').default; - } - }; - }, - // General - get ExampleScreenPresenter() { - return require('./screens/ExampleScreenPresenter'); - } -}; diff --git a/demo/src/navigation.js b/demo/src/navigation.js deleted file mode 100644 index 766ee41196..0000000000 --- a/demo/src/navigation.js +++ /dev/null @@ -1,39 +0,0 @@ -import {Navigation} from 'react-native-navigation'; - -export const pushScreen = ({componentId, name, title, passProps}) => { - Navigation.push(componentId, { - component: { - name, - passProps, - options: { - topBar: { - title: { - text: title - } - } - } - } - }); -}; - -export const showModal = ({name, title, passProps}) => { - Navigation.showModal({ - stack: { - children: [ - { - component: { - name, - passProps, - options: { - topBar: { - title: { - text: title - } - } - } - } - } - ] - } - }); -}; diff --git a/demo/src/screens/DemoScreen.js b/demo/src/screens/DemoScreen.js deleted file mode 100644 index 0b501336d2..0000000000 --- a/demo/src/screens/DemoScreen.js +++ /dev/null @@ -1,96 +0,0 @@ -import React, {Component} from 'react'; -import PropTypes from 'prop-types'; -import _ from 'lodash'; -import {ScrollView, Switch} from 'react-native'; -import {View, TextField, Text, Badge, Colors} from 'react-native-ui-lib';//eslint-disable-line - -export default class DemoScreen extends Component { - - constructor(props) { - super(props); - - this.state = { - backgroundColor: Colors.red50, - label: '12', - }; - - this.updatePropValue = this.updatePropValue.bind(this); - } - - componentDidMount() { - this.getComponentProps(); - } - - getComponentProps() { - const DemoComponent = this.getComponent(); - return DemoComponent.propTypes; - } - - shouldRenderProp(propId) { - let shouldRender = true; - shouldRender = shouldRender && propId !== 'testID'; - if (this.propsToRender) { - shouldRender = shouldRender && _.includes(this.propsToRender, propId); - } - return shouldRender; - } - - updatePropValue(value, propId, prop) { - let validValue = value; - - if (prop === PropTypes.number) { - validValue = isNaN(value) ? undefined : Number(value); - } - - this.setState({ - [propId]: validValue, - }); - } - - - renderProp(prop, propId) { - if (!this.shouldRenderProp(propId)) return; - - if (PropTypes.bool === prop) { - return ( - - - {propId} - - this.updatePropValue(value, propId, prop)} - /> - - ); - } - - // if (_.includes([PropTypes.string, PropTypes.number], prop)) { - return ( - - this.updatePropValue(text, propId, prop)} - autoCapitalize='none' - /> - - ); - // } - } - - renderComponentSettings() { - const props = this.getComponentProps(); - return ( - - - {_.map(props, (prop, propId) => { - return this.renderProp(prop, propId); - })} - - - ); - } -} diff --git a/demo/src/screens/ExampleScreenPresenter.tsx b/demo/src/screens/ExampleScreenPresenter.tsx deleted file mode 100644 index 638de2cf70..0000000000 --- a/demo/src/screens/ExampleScreenPresenter.tsx +++ /dev/null @@ -1,230 +0,0 @@ -import _ from 'lodash'; -import React from 'react'; -import {StyleSheet} from 'react-native'; -import { - Checkbox, - Switch, - ColorPalette, - Colors, - RadioButton, - RadioGroup, - Slider, - SegmentedControl, - SegmentedControlItemProps, - Text, - TextProps, - View -} from 'react-native-ui-lib'; - -interface RadioGroupOptions { - isRow?: boolean; - afterValueChanged?: () => void; - useValueAsLabel?: boolean; -} - -interface BooleanGroupOptions { - spread?: boolean; - afterValueChanged?: () => void; - state?: boolean; - setState?: React.Dispatch>; -} - -interface SegmentsExtraOptions { - state?: string; - setState?: React.Dispatch>; -} - -export function renderHeader(title: string, others?: TextProps) { - return ( - - {title} - - ); -} - -export function renderBooleanOption(title: string, - key: string, - {spread, afterValueChanged, state, setState}: BooleanGroupOptions = {spread: true}) { - // @ts-ignore - const value = state ?? this.state[key]; - return ( - - - {title} - - { - if (setState) { - setState(value); - } else { - // @ts-ignore - this.setState({[key]: value}, afterValueChanged); - } - }} - /> - - ); -} - -export function renderBooleanGroup(title: string, options: string[]) { - return ( - - - {title} - - - {_.map(options, key => { - // @ts-ignore - const value = this.state[key]; - return ( - - this.setState({[key]: value})} - /> - - {key} - - - ); - })} - - - ); -} - -export function renderRadioGroup(title: string, - key: string, - options: object, - {isRow, afterValueChanged, useValueAsLabel}: RadioGroupOptions = {}) { - // @ts-ignore - const value = this.state[key]; - return ( - - {!_.isUndefined(title) && ( - - {title} - - )} - this.setState({[key]: value}, afterValueChanged)} - > - {_.map(options, (value, key) => { - return ( - - ); - })} - - - ); -} - -export function renderColorOption(title: string, - key: string, - colors = ['transparent', Colors.blue30, Colors.grey10, Colors.yellow30, Colors.green30, Colors.purple30]) { - // @ts-ignore - const value = this.state[key]; - return ( - - - {title} - - this.setState({[key]: value === 'transparent' ? undefined : value})} - /> - - ); -} - -export function renderSliderOption(title: string, - key: string, - {min = 0, max = 10, step = 1, initial = 0, sliderText = ''}) { - // @ts-ignore - const value = this.state[key] || initial; - return ( - - - {title} - - - this.setState({[key]: value})} - /> - - {sliderText} - {value} - - - - ); -} - -export function renderMultipleSegmentOptions(title: string, - key: string, - options: (SegmentedControlItemProps & {value: any})[], - {state, setState}: SegmentsExtraOptions = {}) { - // @ts-ignore - const value = state ?? this.state[key]; - const index = _.findIndex(options, {value}); - - return ( - - {!!title && ( - - {title} - - )} - { - const value = options[index].value; - if (setState) { - setState(value); - } else { - // @ts-ignore - this.setState({[key]: value}); - } - }} - /> - - ); -} - -const styles = StyleSheet.create({ - rowWrap: { - flexWrap: 'wrap' - }, - text: { - width: 30 - } -}); diff --git a/demo/src/screens/MainScreen.js b/demo/src/screens/MainScreen.js deleted file mode 100644 index 7284e25b1a..0000000000 --- a/demo/src/screens/MainScreen.js +++ /dev/null @@ -1,465 +0,0 @@ -import _ from 'lodash'; -import React, {Component} from 'react'; -import PropTypes from 'prop-types'; -import {StyleSheet, FlatList, SectionList, ScrollView} from 'react-native'; -import {ViewPropTypes} from 'deprecated-react-native-prop-types'; -import {Navigation} from 'react-native-navigation'; -import {gestureHandlerRootHOC} from 'react-native-gesture-handler'; -import { - Assets, - Colors, - Spacings, - View, - Text, - TextField, - TouchableOpacity, - Icon, - Button, - Fader, - Chip, - Dividers -} from 'react-native-ui-lib'; //eslint-disable-line -import {navigationData} from './MenuStructure'; -import Storage, {DEFAULT_SCREEN} from '../storage'; - -const settingsIcon = require('../assets/icons/settings.png'); -const chevronIcon = require('../assets/icons/chevronRight.png'); -const FADER_SIZE = 50; - -class MainScreen extends Component { - static propTypes = { - containerStyle: ViewPropTypes.style, - renderItem: PropTypes.func, - pageStyle: ViewPropTypes.style - }; - - settingsScreenName = 'unicorn.Settings'; - - static options() { - return { - topBar: { - rightButtons: [ - { - id: 'uilib.settingsButton', - testID: 'uilib.settingsButton', - enabled: true, - icon: settingsIcon - } - ] - } - }; - } - - constructor(props) { - super(props); - - const data = props.navigationData || navigationData; - this.state = { - currentPage: 0, - filteredNavigationData: data, - chipsLabels: _.map(data, section => section.title), - sectionsData: _.map(data, section => ({title: section.title, data: section.screens})), - selectedSection: 0, - faderStart: false, - faderEnd: true - }; - - Navigation.events().bindComponent(this); - } - - sectionListRef = React.createRef(); - scrollViewRef = React.createRef(); - - viewabilityConfig = {itemVisiblePercentThreshold: 60}; - - hasPressItem = false; - hasUserScrolled = false; - - componentDidUpdate(prevState) { - const {selectedSection} = this.state; - if (prevState.selectedSection !== selectedSection) { - if (this.hasPressItem) { - this.scrollToSection(selectedSection); - this.scrollChipsSection(selectedSection); - } - if (this.hasUserScrolled) { - this.scrollChipsSection(selectedSection); - } - this.hasPressItem = false; - } - } - - onSearchBoxBlur = () => { - this.closeSearchBox(); - }; - - getMenuData = () => { - return this.props.navigationData || navigationData; - }; - - navigationButtonPressed = event => { - const {buttonId} = event; - const data = this.getMenuData(); - - if (buttonId === 'uilib.settingsButton') { - this.pushScreen({ - name: this.settingsScreenName, - passProps: { - navigationData: data, - playground: this.props.playground, - extraSettingsUI: this.props.extraSettingsUI - } - }); - } - }; - - scrollToSection = index => { - this?.sectionListRef?.current?.scrollToLocation({ - animated: true, - sectionIndex: index, - itemIndex: 1, - viewPosition: 0 - }); - }; - - scrollChipsSection = index => { - const {selectedSection, filterText} = this.state; - const offset = index < selectedSection ? 60 * index : 85 * index; - if (!filterText) { - this?.scrollViewRef?.current.scrollTo({x: offset, animated: true}); - } - }; - - pushScreen = options => { - Navigation.push(this.props.componentId, { - component: { - name: options.name || options.screen, - id: this.settingsScreenName, - passProps: options.passProps, - options: { - topBar: { - title: { - text: options.title - } - } - } - } - }); - }; - - closeSearchBox = () => { - this.input?.blur(); - }; - - setDefaultScreen = ({customValue: item}) => { - Storage.set(DEFAULT_SCREEN, item.screen); - this.openScreen({customValue: item}); - }; - - openScreen = ({customValue: row}) => { - this.closeSearchBox(); - - setTimeout(() => { - this.pushScreen(row); - }, 0); - }; - - updateSearch = _.throttle(filterText => { - this.setState({filterText}, () => { - this.filterExplorerScreens(); - }); - }, 800); - - clearSearch = () => { - this.updateSearch(''); - this.input?.clear(); - }; - - filterExplorerScreens = () => { - const {filterText} = this.state; - let filteredNavigationData = {}; - const data = this.getMenuData(); - - if (!filterText) { - filteredNavigationData = data; - } else { - _.each(data, (menuSection, menuSectionKey) => { - const filteredMenuSection = _.filter(menuSection.screens, menuItem => { - const {title, description, tags} = menuItem; - return ( - _.includes(_.toLower(title), _.toLower(filterText)) || - _.includes(_.toLower(description), _.toLower(filterText)) || - _.includes(_.toLower(tags), _.toLower(filterText)) - ); - }); - - if (!_.isEmpty(filteredMenuSection)) { - filteredNavigationData[menuSectionKey] = filteredMenuSection; - } - }); - } - - this.setState({ - filteredNavigationData - }); - }; - - setHasUserScrolled = () => { - this.hasUserScrolled = true; - }; - - removeHasUserScrolled = () => { - this.hasUserScrolled = false; - }; - - onEndReached = () => { - const {chipsLabels} = this.state; - this.removeHasUserScrolled; - this.scrollChipsSection(chipsLabels.length - 1); - this.setState({ - selectedSection: chipsLabels.length - 1, - faderStart: true, - faderEnd: false - }); - }; - - /** Renders */ - renderSearch = () => { - const {filterText} = this.state; - return ( - (this.input = r)} - testID="uilib.search_for_component" - placeholder="Search for your component..." - onChangeText={this.updateSearch} - onBlur={this.onSearchBoxBlur} - containerStyle={styles.searchContainer} - fieldStyle={styles.searchField} - enableErrors={false} - hideUnderline - floatingPlaceholder={false} - text70 - leadingAccessory={ - - - - } - trailingAccessory={ - filterText ? ( - - -