Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump versions, use 3.3.0-0 #16

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# antizer

[![Clojars Project](https://img.shields.io/clojars/v/org.clojars.elvn/antizer.svg)](https://clojars.org/org.clojars.elvn/antizer)

Antizer is a ClojureScript library implementing [Ant Design](https://ant.design/) React components for [Reagent](https://github.com/reagent-project/reagent) and [Rum](https://github.com/tonsky/rum).

Ant Design is an enterprise-class UI design language and React-based implementation with the following features:
Expand Down
4 changes: 2 additions & 2 deletions examples/resources/reagent.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<!-- Use minimum-scale=1 to enable GPU rasterization -->
<meta name="viewport"content="width=device-width, initial-scale=1, user-scalable=0, maximum-scale=1, minimum-scale=1">

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/antd/2.12.3/antd.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/antd/3.2.0/antd.min.css">
<link rel="stylesheet" href="css/style.css">
</head>

Expand All @@ -18,4 +18,4 @@
<script>var example="reagent";</script>
<script src="js/app.js"></script>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions examples/resources/rum.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<!-- Use minimum-scale=1 to enable GPU rasterization -->
<meta name="viewport"content="width=device-width, initial-scale=1, user-scalable=0, maximum-scale=1, minimum-scale=1">

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/antd/2.12.3/antd.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/antd/3.2.0/antd.min.css">
<link rel="stylesheet" href="css/style.css">
</head>

Expand All @@ -18,4 +18,4 @@
<script>var example="rum";</script>
<script src="js/app.js"></script>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions profiles.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{:examples
{:dependencies [[reagent "0.6.1"]
[rum "0.10.8"]]
{:dependencies [[reagent "0.8.0-alpha3"]
[rum "0.11.2"]]
:plugins [[lein-cljsbuild "1.1.5"]]
:resource-paths ["examples/resources"]
:source-paths ["examples/src"]
Expand Down
12 changes: 6 additions & 6 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
(defproject antizer "0.2.2"
(defproject antizer "3.3.0-0"
:description "Antizer"
:url "https://github.com/priornix/antizer"
:url "https://github.com/elvn/antizer"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.229"]
[cljsjs/antd "2.12.3-0"]
[cljsjs/moment "2.17.1-1"]]
:dependencies [[org.clojure/clojure "1.10.0-alpha4"]
[org.clojure/clojurescript "1.10.238"]
[cljsjs/antd "3.3.0-0"]
[cljsjs/moment "2.22.0-0"]]
:plugins [[lein-codox "0.10.3"]]
:codox {:language :clojurescript
:metadata {:doc/format :markdown}
Expand Down
25 changes: 18 additions & 7 deletions src/antizer/antd.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
Anchor
Anchor.Link
AutoComplete
AutoComplete.OptGroup
AutoComplete.Option
Avatar
BackTop
Badge
Expand All @@ -14,6 +16,8 @@
Button.Group
Calendar
Card
Card.Grid
Card.Meta
Carousel
Cascader
Checkbox
Expand All @@ -24,6 +28,8 @@
DatePicker
DatePicker.MonthPicker
DatePicker.RangePicker
DatePicker.WeekPicker
Divider
Dropdown
Dropdown.Button
Form
Expand All @@ -39,8 +45,12 @@
Layout.Footer
Layout.Header
Layout.Sider
List
List.Item
List.Item.Meta
LocaleProvider
Mention
Mention.Nav
Menu
Menu.Divider
Menu.Item
Expand All @@ -52,19 +62,21 @@
Popover
Progress
Radio
Radio.Button
Radio.Group
Rate
Row
Select
Select.Option
Select.OptGroup
Select.Option
Slider
Spin
Steps
Steps.Step
Switch
Table
Table.Column
Table.ColumnGroup
Tabs
Tabs.TabPane
Tag
Expand All @@ -83,34 +95,33 @@
(def props '[locales])

(def funcs '[message.config
message.destroy
message.error
message.info
message.loading
message.success
message.warn
message.warning
Modal.confirm
Modal.error
Modal.info
Modal.success
Modal.warning
Modal.warn
notification.close
notification.config
notification.destroy
notification.error
notification.info
notification.open
notification.success
notification.warn
notification.warning])
notification.warn])

(def form-funcs '[getFieldDecorator
getFieldError
getFieldsError
getFieldValue
getFieldsValue
isFieldTouched
getFieldValue
isFieldsTouched
isFieldTouched
isFieldValidating
resetFields
setFields
Expand Down
1 change: 1 addition & 0 deletions src/antizer/reagent.cljs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(ns antizer.reagent
(:refer-clojure :exclude [list])
(:require [antizer.core :as ant]
[goog.object :refer [getValueByKeys]]
[reagent.core :as r])
Expand Down