mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-22 23:30:42 +03:00
Update versions
This commit is contained in:
parent
4751ddc256
commit
4826d98c14
@ -1,3 +1,4 @@
|
||||
Nri.Ui.BreadCrumbs.V1,upgrade to V2
|
||||
Nri.Ui.Checkbox.V5,upgrade to V6
|
||||
Nri.Ui.Tabs.V6,upgrade to V7
|
||||
Nri.Ui.TextArea.V4,upgrade to V5
|
||||
|
|
1
elm.json
1
elm.json
@ -69,6 +69,7 @@
|
||||
"Nri.Ui.Text.V6",
|
||||
"Nri.Ui.Text.Writing.V1",
|
||||
"Nri.Ui.TextArea.V4",
|
||||
"Nri.Ui.TextArea.V5",
|
||||
"Nri.Ui.TextInput.V7",
|
||||
"Nri.Ui.Tooltip.V3",
|
||||
"Nri.Ui.UiIcon.V1"
|
||||
|
@ -163,6 +163,9 @@ usages = [
|
||||
[forbidden."Nri.Ui.Text.V5"]
|
||||
hint = 'upgrade to V6'
|
||||
|
||||
[forbidden."Nri.Ui.TextArea.V4"]
|
||||
hint = 'upgrade to V5'
|
||||
|
||||
[forbidden."Nri.Ui.TextInput.V6"]
|
||||
hint = 'upgrade to V7'
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
CustomElement = require("../CustomElement");
|
||||
|
||||
CustomElement.create({
|
||||
tagName: "nri-textarea-v4",
|
||||
tagName: "nri-textarea-v45",
|
||||
|
||||
initialize: function () {
|
||||
this._autoresize = false;
|
||||
|
@ -1,3 +1,4 @@
|
||||
require("./TextArea/V4");
|
||||
require("./TextArea/V5");
|
||||
|
||||
exports.CustomElement = require("./CustomElement");
|
||||
|
@ -1,4 +1,4 @@
|
||||
module Nri.Ui.TextArea.V4 exposing
|
||||
module Nri.Ui.TextArea.V5 exposing
|
||||
( view, writing, Height(..), HeightBehavior(..), Model, generateId
|
||||
, contentCreation
|
||||
)
|
||||
@ -128,7 +128,7 @@ view_ theme model =
|
||||
Html.styled Html.div
|
||||
[ Css.position Css.relative ]
|
||||
[]
|
||||
[ Html.styled (Html.node "nri-textarea-v4")
|
||||
[ Html.styled (Html.node "nri-textarea-v5")
|
||||
[ Css.display Css.block ]
|
||||
autoresizeAttrs
|
||||
[ Html.styled Html.textarea
|
||||
|
@ -17,7 +17,7 @@ import Html.Styled.Attributes as Attributes exposing (css)
|
||||
import Nri.Ui.Colors.V1 as Colors
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
import Nri.Ui.InputStyles.V3 as InputStyles exposing (Theme(..))
|
||||
import Nri.Ui.TextArea.V4 as TextArea
|
||||
import Nri.Ui.TextArea.V5 as TextArea
|
||||
|
||||
|
||||
moduleName : String
|
||||
@ -27,7 +27,7 @@ moduleName =
|
||||
|
||||
version : Int
|
||||
version =
|
||||
4
|
||||
5
|
||||
|
||||
|
||||
{-| -}
|
||||
|
@ -45,6 +45,7 @@
|
||||
"Nri.Ui.Modal.V11",
|
||||
"Nri.Ui.Page.V3",
|
||||
"Nri.Ui.Palette.V1",
|
||||
"Nri.Ui.Panel.V1",
|
||||
"Nri.Ui.Pennant.V2",
|
||||
"Nri.Ui.PremiumCheckbox.V8",
|
||||
"Nri.Ui.RadioButton.V4",
|
||||
@ -64,6 +65,7 @@
|
||||
"Nri.Ui.Text.V6",
|
||||
"Nri.Ui.Text.Writing.V1",
|
||||
"Nri.Ui.TextArea.V4",
|
||||
"Nri.Ui.TextArea.V5",
|
||||
"Nri.Ui.TextInput.V7",
|
||||
"Nri.Ui.Tooltip.V3",
|
||||
"Nri.Ui.UiIcon.V1"
|
||||
|
Loading…
Reference in New Issue
Block a user