Enable ns sorting linter and clean+sort all namespaces (#17618)
This commit is contained in:
parent
00e9ee556a
commit
7ae96e86f1
|
@ -46,6 +46,7 @@
|
|||
:single-operand-comparison {:level :error}
|
||||
:syntax {:level :error}
|
||||
:unbound-destructuring-default {:level :error}
|
||||
:uninitialized-var {:level :error}
|
||||
:unknown-require-option {:level :error}
|
||||
:unreachable-code {:level :error}
|
||||
:unresolved-namespace {:level :error}
|
||||
|
@ -55,7 +56,7 @@
|
|||
number
|
||||
status-im.test-helpers/restore-app-db]}
|
||||
:unresolved-var {:level :error}
|
||||
:uninitialized-var {:level :error}
|
||||
:unsorted-required-namespaces {:level :error}
|
||||
:unused-alias {:level :warning}
|
||||
:unused-binding {:level :error}
|
||||
:unused-import {:level :error}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
(ns mocks.js-dependencies
|
||||
(:require-macros [status-im.utils.slurp :refer [slurp]])
|
||||
(:require [status-im.fleet.default-fleet :refer (default-fleets)])
|
||||
(:require
|
||||
[status-im.fleet.default-fleet :refer (default-fleets)])
|
||||
(:require [status-im.utils.test :as utils.test]))
|
||||
|
||||
;; to generate a js Proxy at js/__STATUS_MOBILE_JS_IDENTITY_PROXY__ that accept any (.xxx) call and
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
(ns native-module.core
|
||||
(:require ["react-native" :as react-native]
|
||||
[utils.validators :as validators]
|
||||
[taoensso.timbre :as log]
|
||||
(:require
|
||||
["react-native" :as react-native]
|
||||
[clojure.string :as string]
|
||||
[react-native.platform :as platform]
|
||||
[taoensso.timbre :as log]
|
||||
[utils.transforms :as types]
|
||||
[clojure.string :as string]))
|
||||
[utils.validators :as validators]))
|
||||
|
||||
(defn status
|
||||
[]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns native-module.push-notifications
|
||||
(:require ["react-native" :as react-native]
|
||||
(:require
|
||||
["react-native" :as react-native]
|
||||
[taoensso.timbre :as log]))
|
||||
|
||||
(defn push-notification
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.animated-header-flatlist.style
|
||||
(:require [quo2.foundations.colors :as colors]
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]
|
||||
[react-native.reanimated :as reanimated]))
|
||||
|
||||
(defn container-view
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
(ns quo2.components.animated-header-flatlist.view
|
||||
(:require
|
||||
[oops.core :as oops]
|
||||
[quo2.components.animated-header-flatlist.style :as style]
|
||||
[quo2.core :as quo]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[quo2.theme :as quo.theme]
|
||||
[react-native.core :as rn]
|
||||
[react-native.fast-image :as fast-image]
|
||||
[react-native.platform :as platform]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[react-native.safe-area :as safe-area]
|
||||
[react-native.fast-image :as fast-image]
|
||||
[reagent.core :as reagent]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[quo2.components.animated-header-flatlist.style :as style]
|
||||
[oops.core :as oops]
|
||||
[quo2.theme :as quo.theme]))
|
||||
[reagent.core :as reagent]))
|
||||
|
||||
(def header-height 234)
|
||||
(def cover-height 192)
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
(ns quo2.components.avatars.account-avatar.component-spec
|
||||
(:require [quo2.components.avatars.account-avatar.view :as account-avatar]
|
||||
(:require
|
||||
[quo2.components.avatars.account-avatar.style :as style]
|
||||
[test-helpers.component :as h]
|
||||
[quo2.foundations.colors :as colors]))
|
||||
[quo2.components.avatars.account-avatar.view :as account-avatar]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
(h/describe "Account Avatar"
|
||||
(h/test "default render"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.avatars.account-avatar.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(def default-size 80)
|
||||
(def default-border-radius 16)
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.avatars.account-avatar.view
|
||||
(:require [clojure.string :as string]
|
||||
(:require
|
||||
[clojure.string :as string]
|
||||
[quo2.components.avatars.account-avatar.style :as style]
|
||||
[quo2.theme :as quo.theme]
|
||||
[react-native.core :as rn]))
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.avatars.channel-avatar.component-spec
|
||||
(:require [quo2.components.avatars.channel-avatar.view :as component]
|
||||
(:require
|
||||
[quo2.components.avatars.channel-avatar.view :as component]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
(h/describe "Channel Avatar"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.avatars.channel-avatar.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(def lock-icon-size 12)
|
||||
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
(ns quo2.components.avatars.channel-avatar.view
|
||||
(:require [clojure.string :as string]
|
||||
(:require
|
||||
[clojure.string :as string]
|
||||
[quo2.components.avatars.channel-avatar.style :as style]
|
||||
[quo2.components.icon :as icons]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[quo2.theme :as quo.theme]
|
||||
[react-native.core :as rn]
|
||||
[utils.string]
|
||||
[quo2.theme :as quo.theme]))
|
||||
[utils.string]))
|
||||
|
||||
(defn- initials
|
||||
[{:keys [full-name size customization-color theme]}]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.avatars.collection-avatar.component-spec
|
||||
(:require [quo2.components.avatars.collection-avatar.view :as collection-avatar]
|
||||
(:require
|
||||
[quo2.components.avatars.collection-avatar.view :as collection-avatar]
|
||||
[quo2.foundations.resources :as resources]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.avatars.collection-avatar.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(defn collection-avatar
|
||||
[theme]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.avatars.collection-avatar.view
|
||||
(:require [quo2.components.avatars.collection-avatar.style :as style]
|
||||
(:require
|
||||
[quo2.components.avatars.collection-avatar.style :as style]
|
||||
[quo2.theme :as quo.theme]
|
||||
[react-native.fast-image :as fast-image]))
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.avatars.group-avatar.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(defn container
|
||||
[{:keys [container-size customization-color theme]}]
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
(ns quo2.components.avatars.group-avatar.view
|
||||
(:require [quo2.components.icon :as icon]
|
||||
[quo2.theme :as quo.theme]
|
||||
(:require
|
||||
[quo2.components.avatars.group-avatar.style :as style]
|
||||
[quo2.components.icon :as icon]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[quo2.theme :as quo.theme]
|
||||
[react-native.core :as rn]
|
||||
[react-native.fast-image :as fast-image]
|
||||
[quo2.components.avatars.group-avatar.style :as style]))
|
||||
[react-native.fast-image :as fast-image]))
|
||||
|
||||
(def sizes
|
||||
{:size-20 {:icon 12
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.avatars.icon-avatar
|
||||
(:require [quo2.components.icon :as icons]
|
||||
(:require
|
||||
[quo2.components.icon :as icons]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[quo2.theme :as quo.theme]
|
||||
[react-native.core :as rn]))
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.avatars.user-avatar.component-spec
|
||||
(:require [quo2.components.avatars.user-avatar.view :as user-avatar]
|
||||
(:require
|
||||
[quo2.components.avatars.user-avatar.view :as user-avatar]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
(defonce mock-picture {:uri (js/require "../resources/images/mock2/user_picture_male4.png")})
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.avatars.user-avatar.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(def sizes
|
||||
{:big {:dimensions 80
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
(ns quo2.components.avatars.wallet-user-avatar
|
||||
(:require [clojure.string :as string]
|
||||
(:require
|
||||
[clojure.string :as string]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[react-native.core :as rn]
|
||||
[quo2.theme :as quo.theme]))
|
||||
[quo2.theme :as quo.theme]
|
||||
[react-native.core :as rn]))
|
||||
|
||||
(def circle-sizes
|
||||
{:small 20
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.banners.banner.component-spec
|
||||
(:require ["@testing-library/react-native" :as rtl]
|
||||
(:require
|
||||
["@testing-library/react-native" :as rtl]
|
||||
[quo2.components.banners.banner.view :as banner]
|
||||
[reagent.core :as reagent]))
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.banners.banner.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
|
||||
(def container
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
(ns quo2.components.banners.banner.view
|
||||
(:require [quo2.components.banners.banner.style :as style]
|
||||
(:require
|
||||
[quo2.components.banners.banner.style :as style]
|
||||
[quo2.components.counter.counter.view :as counter]
|
||||
[quo2.components.icon :as icons]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[react-native.core :as rn]
|
||||
[quo2.theme :as quo.theme]))
|
||||
[quo2.theme :as quo.theme]
|
||||
[react-native.core :as rn]))
|
||||
|
||||
(defn- view-internal
|
||||
[{:keys [hide-pin? latest-pin-text pins-count on-press theme]}]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.browser.browser-input.component-spec
|
||||
(:require [quo2.components.browser.browser-input.view :as browser-input]
|
||||
(:require
|
||||
[quo2.components.browser.browser-input.view :as browser-input]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
(h/describe "Browser input"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.browser.browser-input.style
|
||||
(:require [quo2.components.markdown.text :as text]
|
||||
(:require
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(def clear-icon-container
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
(ns quo2.components.browser.browser-input.view
|
||||
(:require [quo2.components.icon :as icon]
|
||||
(:require
|
||||
[clojure.string :as string]
|
||||
[quo2.components.browser.browser-input.style :as style]
|
||||
[react-native.core :as rn]
|
||||
[reagent.core :as reagent]
|
||||
[quo2.components.icon :as icon]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[quo2.theme :as quo2.theme]
|
||||
[clojure.string :as string]
|
||||
[react-native.platform :as platform]))
|
||||
[react-native.core :as rn]
|
||||
[react-native.platform :as platform]
|
||||
[reagent.core :as reagent]))
|
||||
|
||||
(defn remove-http-https-www
|
||||
[value]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.buttons.button.component-spec
|
||||
(:require [quo2.components.buttons.button.view :as button]
|
||||
(:require
|
||||
[quo2.components.buttons.button.view :as button]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
(h/describe "button tests"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.buttons.button.properties
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(def backgrounds #{:photo :blur})
|
||||
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
(ns quo2.components.buttons.button.view
|
||||
(:require [quo2.components.icon :as quo2.icons]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.theme :as theme]
|
||||
[react-native.core :as rn]
|
||||
[react-native.blur :as blur]
|
||||
[reagent.core :as reagent]
|
||||
[quo2.components.buttons.button.style :as style]
|
||||
(:require
|
||||
[quo2.components.buttons.button.properties :as button-properties]
|
||||
[quo2.foundations.customization-colors :as customization-colors]))
|
||||
[quo2.components.buttons.button.style :as style]
|
||||
[quo2.components.icon :as quo2.icons]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.foundations.customization-colors :as customization-colors]
|
||||
[quo2.theme :as theme]
|
||||
[react-native.blur :as blur]
|
||||
[react-native.core :as rn]
|
||||
[reagent.core :as reagent]))
|
||||
|
||||
(defn- button-internal
|
||||
"with label
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.buttons.composer-button.component-spec
|
||||
(:require [quo2.components.buttons.composer-button.view :as composer-button]
|
||||
(:require
|
||||
[quo2.components.buttons.composer-button.view :as composer-button]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
(h/describe "button tests"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.buttons.composer-button.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(defn get-border-color
|
||||
[{:keys [pressed? blur? theme]}]
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
(ns quo2.components.buttons.composer-button.view
|
||||
(:require [quo2.components.icon :as quo2.icons]
|
||||
(:require
|
||||
[quo2.components.buttons.composer-button.style :as style]
|
||||
[quo2.components.icon :as quo2.icons]
|
||||
[quo2.theme :as theme]
|
||||
[react-native.core :as rn]
|
||||
[reagent.core :as reagent]
|
||||
[quo2.components.buttons.composer-button.style :as style]))
|
||||
[reagent.core :as reagent]))
|
||||
|
||||
(defn- view-internal
|
||||
[_ _]
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
(ns quo2.components.buttons.dynamic-button.view
|
||||
(:require [quo2.components.icon :as icon]
|
||||
(:require
|
||||
[quo2.components.buttons.dynamic-button.style :as style]
|
||||
[quo2.components.icon :as icon]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[react-native.core :as rn]
|
||||
[reagent.core :as reagent]
|
||||
[quo2.theme :as quo.theme]
|
||||
[quo2.components.buttons.dynamic-button.style :as style]))
|
||||
[react-native.core :as rn]
|
||||
[reagent.core :as reagent]))
|
||||
|
||||
(defn- get-button-color
|
||||
[{:keys [type pressed? customization-color theme]}]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.buttons.predictive-keyboard.component-spec
|
||||
(:require [quo2.components.buttons.predictive-keyboard.view :as predictive-keyboard]
|
||||
(:require
|
||||
[quo2.components.buttons.predictive-keyboard.view :as predictive-keyboard]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
(h/describe "predictive-keyboard"
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
(ns quo2.components.buttons.predictive-keyboard.view
|
||||
(:require [react-native.core :as rn]
|
||||
(:require
|
||||
[quo2.components.buttons.button.view :as button]
|
||||
[quo2.components.buttons.predictive-keyboard.style :as style]
|
||||
[quo2.components.info.info-message :as info-message]
|
||||
[quo2.theme :as theme]
|
||||
[react-native.linear-gradient :as linear-gradient]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[quo2.components.buttons.button.view :as button]))
|
||||
[quo2.theme :as theme]
|
||||
[react-native.core :as rn]
|
||||
[react-native.linear-gradient :as linear-gradient]))
|
||||
|
||||
(def ^:private gradients
|
||||
{:light [(colors/alpha colors/neutral-40 0.05) (colors/alpha colors/neutral-40 0)]
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
(ns quo2.components.buttons.slide-button.animations
|
||||
(:require
|
||||
[react-native.gesture :as gesture]
|
||||
[quo2.components.buttons.slide-button.utils :as utils]
|
||||
[oops.core :as oops]
|
||||
[quo2.components.buttons.slide-button.utils :as utils]
|
||||
[react-native.gesture :as gesture]
|
||||
[react-native.reanimated :as reanimated]))
|
||||
|
||||
(def ^:private extrapolation
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
(ns quo2.components.buttons.slide-button.component-spec
|
||||
(:require [quo2.components.buttons.slide-button.view :as slide-button]
|
||||
[quo2.components.buttons.slide-button.constants :as constants]
|
||||
(:require
|
||||
["@testing-library/react-native" :as rtl]
|
||||
["react-native-gesture-handler/jest-utils" :as gestures-jest]
|
||||
[quo2.components.buttons.slide-button.constants :as constants]
|
||||
[quo2.components.buttons.slide-button.view :as slide-button]
|
||||
[reagent.core :as r]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
(ns quo2.components.buttons.slide-button.view
|
||||
(:require
|
||||
[quo2.components.icon :as icon]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[oops.core :as oops]
|
||||
[quo2.components.buttons.slide-button.animations :as animations]
|
||||
[quo2.components.buttons.slide-button.constants :as constants]
|
||||
[quo2.components.buttons.slide-button.style :as style]
|
||||
[quo2.components.buttons.slide-button.utils :as utils]
|
||||
[quo2.components.buttons.slide-button.animations :as animations]
|
||||
[react-native.gesture :as gesture]
|
||||
[react-native.core :as rn]
|
||||
[reagent.core :as reagent]
|
||||
[oops.core :as oops]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[quo2.components.icon :as icon]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.components.buttons.slide-button.constants :as constants]
|
||||
[quo2.theme :as quo.theme]))
|
||||
[quo2.foundations.colors :as colors]
|
||||
[quo2.theme :as quo.theme]
|
||||
[react-native.core :as rn]
|
||||
[react-native.gesture :as gesture]
|
||||
[react-native.reanimated :as reanimated]
|
||||
[reagent.core :as reagent]))
|
||||
|
||||
(defn- f-slider
|
||||
[{:keys [disabled?]}]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.buttons.wallet-button.component-spec
|
||||
(:require [quo2.components.buttons.wallet-button.view :as wallet-button]
|
||||
(:require
|
||||
[quo2.components.buttons.wallet-button.view :as wallet-button]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
(h/describe "button tests"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.buttons.wallet-button.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(defn get-border-color
|
||||
[{:keys [pressed? theme]}]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
(ns quo2.components.buttons.wallet-ctas.component-spec
|
||||
(:require [test-helpers.component :as h]
|
||||
[quo2.components.buttons.wallet-ctas.view :as wallet-ctas]))
|
||||
(:require
|
||||
[quo2.components.buttons.wallet-ctas.view :as wallet-ctas]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
(h/describe "Wallet CTAs test"
|
||||
(h/test "Buttons render"
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
(ns quo2.components.buttons.wallet-ctas.view
|
||||
(:require
|
||||
[quo2.components.buttons.wallet-button.view :as wallet-button]
|
||||
[quo2.components.buttons.wallet-ctas.style :as style]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[quo2.theme :as quo.theme]
|
||||
[react-native.core :as rn]
|
||||
[utils.i18n :as i18n]
|
||||
[quo2.components.buttons.wallet-ctas.style :as style]))
|
||||
[utils.i18n :as i18n]))
|
||||
|
||||
|
||||
(defn action-button
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
(ns quo2.components.calendar.calendar.component-spec
|
||||
(:require [quo2.components.calendar.calendar.view :as calendar]
|
||||
[test-helpers.component :as h]
|
||||
[cljs-time.core :as time]))
|
||||
(:require
|
||||
[cljs-time.core :as time]
|
||||
[quo2.components.calendar.calendar.view :as calendar]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
(def start-date (time/date-time (time/year (time/now)) (time/month (time/now)) 5))
|
||||
(def end-date (time/date-time (time/plus start-date (time/days 2))))
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
(ns quo2.components.calendar.calendar.days-grid.utils
|
||||
(:require
|
||||
[utils.number :as utils.number]
|
||||
[cljs-time.core :as time]))
|
||||
[cljs-time.core :as time]
|
||||
[utils.number :as utils.number]))
|
||||
|
||||
(defn- day-of-week
|
||||
[date]
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
(ns quo2.components.calendar.calendar.days-grid.utils-test
|
||||
(:require [cljs.test :refer-macros [deftest is testing]]
|
||||
[quo2.components.calendar.calendar.days-grid.utils :as utils]
|
||||
[cljs-time.core :as time]))
|
||||
(:require
|
||||
[cljs-time.core :as time]
|
||||
[cljs.test :refer-macros [deftest is testing]]
|
||||
[quo2.components.calendar.calendar.days-grid.utils :as utils]))
|
||||
|
||||
(deftest day-grid-test
|
||||
(let [day-grid-result (utils/day-grid "2023" "7")]
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
(ns quo2.components.calendar.calendar.days-grid.view
|
||||
(:require [react-native.core :as rn]
|
||||
(:require
|
||||
[cljs-time.core :as time]
|
||||
[quo2.components.calendar.calendar.days-grid.utils :as utils]
|
||||
[quo2.components.calendar.calendar-day.view :as calendar-day]
|
||||
[quo2.components.calendar.calendar.days-grid.style :as style]))
|
||||
[quo2.components.calendar.calendar.days-grid.style :as style]
|
||||
[quo2.components.calendar.calendar.days-grid.utils :as utils]
|
||||
[react-native.core :as rn]))
|
||||
|
||||
(defn- day-view
|
||||
[day _ _ {:keys [year month selection-range on-press customization-color]}]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.calendar.calendar.month-picker.component-spec
|
||||
(:require [quo2.components.calendar.calendar.month-picker.view :as month-picker]
|
||||
(:require
|
||||
[quo2.components.calendar.calendar.month-picker.view :as month-picker]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
(h/describe "month-picker component"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.calendar.calendar.month-picker.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(def container
|
||||
{:align-items :center
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.calendar.calendar.month-picker.utils
|
||||
(:require [utils.datetime :as datetime]))
|
||||
(:require
|
||||
[utils.datetime :as datetime]))
|
||||
|
||||
(defn format-month-year
|
||||
[year month]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.calendar.calendar.month-picker.utils-test
|
||||
(:require [cljs.test :refer-macros [deftest is testing]]
|
||||
(:require
|
||||
[cljs.test :refer-macros [deftest is testing]]
|
||||
[quo2.components.calendar.calendar.month-picker.utils :as utils]))
|
||||
|
||||
(deftest format-month-year-test
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
(ns quo2.components.calendar.calendar.month-picker.view
|
||||
(:require [react-native.core :as rn]
|
||||
[utils.number :as utils.number]
|
||||
[quo2.theme :as theme]
|
||||
(:require
|
||||
[quo2.components.buttons.button.view :as button]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.components.calendar.calendar.month-picker.style :as style]
|
||||
[quo2.components.calendar.calendar.month-picker.utils :as utils]))
|
||||
[quo2.components.calendar.calendar.month-picker.utils :as utils]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.theme :as theme]
|
||||
[react-native.core :as rn]
|
||||
[utils.number :as utils.number]))
|
||||
|
||||
(defn- view-internal
|
||||
[{:keys [year month on-change theme]}]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.calendar.calendar.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(defn container
|
||||
[theme]
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
(ns quo2.components.calendar.calendar.utils
|
||||
(:require [utils.datetime :as datetime]
|
||||
[utils.number :as utils.number]
|
||||
[clojure.string :as string]))
|
||||
(:require
|
||||
[clojure.string :as string]
|
||||
[utils.datetime :as datetime]
|
||||
[utils.number :as utils.number]))
|
||||
|
||||
(defn generate-years
|
||||
[current-year]
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
(ns quo2.components.calendar.calendar.utils-test
|
||||
(:require [cljs.test :refer-macros [deftest is testing]]
|
||||
(:require
|
||||
[cljs.test :refer-macros [deftest is testing]]
|
||||
[clojure.string :as string]
|
||||
[quo2.components.calendar.calendar.utils :as utils]
|
||||
[utils.datetime :as datetime]
|
||||
[clojure.string :as string]
|
||||
[utils.number :as utils.number]))
|
||||
|
||||
(deftest generate-years-test
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
(ns quo2.components.calendar.calendar.view
|
||||
(:require [react-native.core :as rn]
|
||||
[quo2.theme :as theme]
|
||||
[reagent.core :as reagent]
|
||||
[utils.number :as utils.number]
|
||||
[quo2.components.calendar.calendar.utils :as utils]
|
||||
[quo2.components.calendar.calendar.style :as style]
|
||||
[quo2.components.calendar.calendar.years-list.view :as years-list]
|
||||
(:require
|
||||
[quo2.components.calendar.calendar.days-grid.view :as days-grid]
|
||||
[quo2.components.calendar.calendar.month-picker.view :as month-picker]
|
||||
[quo2.components.calendar.calendar.style :as style]
|
||||
[quo2.components.calendar.calendar.utils :as utils]
|
||||
[quo2.components.calendar.calendar.weekdays-header.view :as weekdays-header]
|
||||
[quo2.components.calendar.calendar.month-picker.view :as month-picker]))
|
||||
[quo2.components.calendar.calendar.years-list.view :as years-list]
|
||||
[quo2.theme :as theme]
|
||||
[react-native.core :as rn]
|
||||
[reagent.core :as reagent]
|
||||
[utils.number :as utils.number]))
|
||||
|
||||
(defn- view-internal
|
||||
[]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.calendar.calendar.weekdays-header.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(def container-weekday-row
|
||||
{:flex-direction :row
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
(ns quo2.components.calendar.calendar.weekdays-header.view
|
||||
(:require [react-native.core :as rn]
|
||||
[quo2.theme :as theme]
|
||||
[utils.datetime :as datetime]
|
||||
[utils.i18n :as i18n]
|
||||
(:require
|
||||
[quo2.components.calendar.calendar.weekdays-header.style :as style]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.components.calendar.calendar.weekdays-header.style :as style]))
|
||||
[quo2.theme :as theme]
|
||||
[react-native.core :as rn]
|
||||
[utils.datetime :as datetime]
|
||||
[utils.i18n :as i18n]))
|
||||
|
||||
(defn- view-internal
|
||||
[theme]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.calendar.calendar.years-list.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(defn gradient-start-color
|
||||
[theme]
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
(ns quo2.components.calendar.calendar.years-list.view
|
||||
(:require [react-native.core :as rn]
|
||||
[quo2.theme :as theme]
|
||||
[react-native.linear-gradient :as linear-gradient]
|
||||
[quo2.components.calendar.calendar.utils :as utils]
|
||||
(:require
|
||||
[quo2.components.calendar.calendar-year.view :as calendar-year]
|
||||
[quo2.components.calendar.calendar.years-list.style :as style]))
|
||||
[quo2.components.calendar.calendar.utils :as utils]
|
||||
[quo2.components.calendar.calendar.years-list.style :as style]
|
||||
[quo2.theme :as theme]
|
||||
[react-native.core :as rn]
|
||||
[react-native.linear-gradient :as linear-gradient]))
|
||||
|
||||
(defn- year-view
|
||||
[year _ _ {:keys [selected-year on-press]}]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.calendar.calendar-day.component-spec
|
||||
(:require [quo2.components.calendar.calendar-day.view :as calendar-day]
|
||||
(:require
|
||||
[quo2.components.calendar.calendar-day.view :as calendar-day]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
(h/describe "calendar-day component"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.calendar.calendar-day.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(def wrapper
|
||||
{:flex 1
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
(ns quo2.components.calendar.calendar-day.view
|
||||
(:require [react-native.core :as rn]
|
||||
[quo2.theme :as theme]
|
||||
(:require
|
||||
[quo2.components.calendar.calendar-day.style :as style]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.components.calendar.calendar-day.style :as style]))
|
||||
[quo2.theme :as theme]
|
||||
[react-native.core :as rn]))
|
||||
|
||||
(defn- view-internal
|
||||
[{:keys [state in-range on-press customization-color theme]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.calendar.calendar-year.component-spec
|
||||
(:require [quo2.components.calendar.calendar-year.view :as calendar-year]
|
||||
(:require
|
||||
[quo2.components.calendar.calendar-year.view :as calendar-year]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
(h/describe "calendar-year component"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.calendar.calendar-year.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(def container-base
|
||||
{:align-items :center
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
(ns quo2.components.calendar.calendar-year.view
|
||||
(:require [react-native.core :as rn]
|
||||
[quo2.theme :as theme]
|
||||
(:require
|
||||
[quo2.components.calendar.calendar-year.style :as style]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.components.calendar.calendar-year.style :as style]))
|
||||
[quo2.theme :as theme]
|
||||
[react-native.core :as rn]))
|
||||
|
||||
(defn- view-internal
|
||||
[{:keys [selected? disabled? on-press theme]} year]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.code.common.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
;; Example themes:
|
||||
;; https://github.com/react-syntax-highlighter/react-syntax-highlighter/tree/master/src/styles/hljs
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.code.common.view
|
||||
(:require [cljs-bean.core :as bean]
|
||||
(:require
|
||||
[cljs-bean.core :as bean]
|
||||
[clojure.string :as string]
|
||||
[quo2.components.buttons.button.view :as button]
|
||||
[quo2.components.code.common.style :as style]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
(ns quo2.components.code.snippet.view
|
||||
(:require [quo2.theme :as theme]
|
||||
[quo2.components.code.common.view :as code-common]))
|
||||
(:require
|
||||
[quo2.components.code.common.view :as code-common]
|
||||
[quo2.theme :as theme]))
|
||||
|
||||
(defn- view-internal
|
||||
[_]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.code.snippet-preview.view
|
||||
(:require [quo2.components.code.common.view :as code-common]))
|
||||
(:require
|
||||
[quo2.components.code.common.view :as code-common]))
|
||||
|
||||
(defn view
|
||||
[{:keys [language]} children]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.colors.color.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(def color-button-common
|
||||
{:width 48
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
(ns quo2.components.colors.color.view
|
||||
(:require
|
||||
[quo2.components.colors.color.style :as style]
|
||||
[quo2.components.icon :as icon]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[quo2.theme :as quo.theme]
|
||||
[react-native.core :as rn]
|
||||
[quo2.components.colors.color.style :as style]))
|
||||
[react-native.core :as rn]))
|
||||
|
||||
(defn- feng-shui
|
||||
[{:keys [color theme]}]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.colors.color-picker.component-spec
|
||||
(:require [quo2.components.colors.color-picker.view :as color-picker]
|
||||
(:require
|
||||
[quo2.components.colors.color-picker.view :as color-picker]
|
||||
[reagent.core :as reagent]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
(ns quo2.components.colors.color-picker.view
|
||||
(:require [react-native.core :as rn]
|
||||
[reagent.core :as reagent]
|
||||
[quo2.components.colors.color.view :as color]))
|
||||
(:require
|
||||
[quo2.components.colors.color.view :as color]
|
||||
[react-native.core :as rn]
|
||||
[reagent.core :as reagent]))
|
||||
|
||||
(def color-list
|
||||
[:blue :yellow :purple :turquoise :magenta :sky :orange :army :flamingo :camel :copper])
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.common.not-implemented.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(defn text
|
||||
[blur? theme]
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
(ns quo2.components.common.not-implemented.view
|
||||
(:require [react-native.core :as rn]
|
||||
(:require
|
||||
[quo2.components.common.not-implemented.style :as style]
|
||||
[quo2.theme :as quo.theme]
|
||||
[quo2.components.common.not-implemented.style :as style]))
|
||||
[react-native.core :as rn]))
|
||||
|
||||
(defn- view-internal
|
||||
[{:keys [blur? theme]}]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.common.notification-dot.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(def ^:const size 8)
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
(ns quo2.components.common.notification-dot.view
|
||||
(:require [react-native.core :as rn]
|
||||
(:require
|
||||
[quo2.components.common.notification-dot.style :as style]
|
||||
[quo2.theme :as quo.theme]))
|
||||
[quo2.theme :as quo.theme]
|
||||
[react-native.core :as rn]))
|
||||
|
||||
(defn view-internal
|
||||
[{:keys [customization-color style theme blur?]}]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.common.separator.view
|
||||
(:require [quo2.foundations.colors :as quo2.colors]
|
||||
(:require
|
||||
[quo2.foundations.colors :as quo2.colors]
|
||||
[react-native.core :as rn]))
|
||||
|
||||
(defn separator
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.common.unread-grey-dot.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(def unread-grey-dot
|
||||
{:width 8
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
(ns quo2.components.common.unread-grey-dot.view
|
||||
(:require [react-native.core :as rn]
|
||||
[quo2.components.common.unread-grey-dot.style :as style]))
|
||||
(:require
|
||||
[quo2.components.common.unread-grey-dot.style :as style]
|
||||
[react-native.core :as rn]))
|
||||
|
||||
(defn unread-grey-dot
|
||||
[accessibility-label]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.community.banner.style
|
||||
(:require [quo2.foundations.colors :as colors]
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]
|
||||
[quo2.foundations.shadows :as shadows]))
|
||||
|
||||
(defn community-card
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.community.banner.view
|
||||
(:require [quo2.components.community.banner.style :as style]
|
||||
(:require
|
||||
[quo2.components.community.banner.style :as style]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[quo2.theme :as theme]
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
(ns quo2.components.community.channel-actions
|
||||
(:require [react-native.core :as rn]
|
||||
[quo2.components.icon :as icons]
|
||||
(:require
|
||||
[quo2.components.community.style :as style]
|
||||
[quo2.components.counter.counter.view :as counter]
|
||||
[quo2.components.icon :as icons]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.components.community.style :as style]))
|
||||
[react-native.core :as rn]))
|
||||
|
||||
(defn channel-action
|
||||
[{:keys [big? color label counter-value icon on-press accessibility-label]}]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.community.community-card-view
|
||||
(:require [quo2.components.community.community-view :as community-view]
|
||||
(:require
|
||||
[quo2.components.community.community-view :as community-view]
|
||||
[quo2.components.community.icon :as icon]
|
||||
[quo2.components.community.style :as style]
|
||||
[quo2.theme :as quo.theme]
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
(ns quo2.components.community.community-list-view
|
||||
(:require [quo2.components.community.community-view :as community-view]
|
||||
(:require
|
||||
[quo2.components.common.unread-grey-dot.view :refer [unread-grey-dot]]
|
||||
[quo2.components.community.community-view :as community-view]
|
||||
[quo2.components.community.icon :as community-icon]
|
||||
[quo2.components.community.style :as style]
|
||||
[quo2.components.counter.counter.view :as counter]
|
||||
[quo2.components.icon :as icons]
|
||||
[quo2.theme :as quo.theme]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[quo2.components.community.icon :as community-icon]
|
||||
[quo2.components.common.unread-grey-dot.view :refer [unread-grey-dot]]
|
||||
[quo2.theme :as quo.theme]
|
||||
[react-native.core :as rn]))
|
||||
|
||||
(defn notification-view
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.community.community-view
|
||||
(:require [quo2.components.community.style :as style]
|
||||
(:require
|
||||
[quo2.components.community.style :as style]
|
||||
[quo2.components.icon :as icons]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.components.tags.permission-tag :as permission]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.community.icon
|
||||
(:require [react-native.core :as rn]))
|
||||
(:require
|
||||
[react-native.core :as rn]))
|
||||
|
||||
(defn community-icon
|
||||
[{:keys [images]} size]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.community.style
|
||||
(:require [quo2.foundations.colors :as colors]
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]
|
||||
[quo2.foundations.shadows :as shadows]))
|
||||
|
||||
(defn community-card
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
(ns quo2.components.community.token-gating
|
||||
(:require [quo2.components.markdown.text :as text]
|
||||
[quo2.components.tags.token-tag :as token-tag]
|
||||
[react-native.core :as rn]
|
||||
[utils.i18n :as i18n]
|
||||
(:require
|
||||
[clojure.string :as string]
|
||||
[quo2.components.community.style :as style]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.components.tags.token-tag :as token-tag]
|
||||
[quo2.theme :as quo.theme]
|
||||
[quo2.components.community.style :as style]))
|
||||
[react-native.core :as rn]
|
||||
[utils.i18n :as i18n]))
|
||||
|
||||
(defn token-requirement-list-row
|
||||
[tokens padding?]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.counter.counter.component-spec
|
||||
(:require [quo2.components.counter.counter.view :as counter]
|
||||
(:require
|
||||
[quo2.components.counter.counter.view :as counter]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
(h/describe "counter component"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.counter.counter.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(defn get-color
|
||||
[type customization-color theme]
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
(ns quo2.components.counter.counter.view
|
||||
(:require
|
||||
[quo2.components.counter.counter.style :as style]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[react-native.core :as rn]
|
||||
[utils.number]
|
||||
[quo2.theme :as quo.theme]
|
||||
[quo2.components.counter.counter.style :as style]))
|
||||
[react-native.core :as rn]
|
||||
[utils.number]))
|
||||
|
||||
(defn- view-internal
|
||||
[{:keys [type customization-color theme container-style accessibility-label max-value]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.counter.step.component-spec
|
||||
(:require [quo2.components.counter.step.view :as step]
|
||||
(:require
|
||||
[quo2.components.counter.step.view :as step]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
(h/describe "step component"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
(ns quo2.components.dividers.date
|
||||
(:require [quo2.components.markdown.text :as text]
|
||||
(:require
|
||||
[quo2.components.common.separator.view :as separator]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.foundations.colors :as colors]
|
||||
[react-native.core :as rn]))
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.dividers.divider-label.component-spec
|
||||
(:require [quo2.components.dividers.divider-label.view :as divider-label]
|
||||
(:require
|
||||
[quo2.components.dividers.divider-label.view :as divider-label]
|
||||
[test-helpers.component :as h]))
|
||||
|
||||
(h/describe "Divider Label"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.dividers.divider-label.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(defn get-height
|
||||
[tight?]
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
(ns quo2.components.dividers.divider-label.view
|
||||
(:require [quo2.components.markdown.text :as text]
|
||||
[quo2.components.dividers.divider-label.style :as style]
|
||||
[quo2.theme :as quo.theme]
|
||||
[react-native.core :as rn]
|
||||
(:require
|
||||
[quo2.components.counter.counter.view :as counter]
|
||||
[quo2.components.icon :as icons]))
|
||||
[quo2.components.dividers.divider-label.style :as style]
|
||||
[quo2.components.icon :as icons]
|
||||
[quo2.components.markdown.text :as text]
|
||||
[quo2.theme :as quo.theme]
|
||||
[react-native.core :as rn]))
|
||||
|
||||
(defn- view-internal
|
||||
"Options:
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
(ns quo2.components.dividers.divider-line.style
|
||||
(:require [quo2.foundations.colors :as colors]))
|
||||
(:require
|
||||
[quo2.foundations.colors :as colors]))
|
||||
|
||||
(defn divider-line
|
||||
[{:keys [blur? container-style theme]}]
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
(ns quo2.components.dividers.divider-line.view
|
||||
(:require
|
||||
[quo2.components.dividers.divider-line.style :as style]
|
||||
[quo2.theme :as quo.theme]
|
||||
[react-native.core :as rn]
|
||||
[quo2.components.dividers.divider-line.style :as style]))
|
||||
[react-native.core :as rn]))
|
||||
|
||||
(defn- view-internal
|
||||
[props]
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue