File tree Expand file tree Collapse file tree 10 files changed +13
-13
lines changed Expand file tree Collapse file tree 10 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1- /* A Card is used to display data in sematically grouped way. */
1+ /* A Card is used to display data in semantically grouped way. */
22component Ui .Card {
33 /* The click event handler. */
44 property onClick : Maybe (Function (Html .Event , Promise (Void ))) = Maybe :: Nothing
Original file line number Diff line number Diff line change 11/* An enum representing Ui.Field layouts. */
22enum Ui .Field {
3- /* The input and label are layed out horizontally (input first). */
3+ /* The input and label are laid out horizontally (input first). */
44 HorizontalReverse
55
6- /* The input and label are layed out horizontally (label first). */
6+ /* The input and label are laid out horizontally (label first). */
77 Horizontal
88
9- /* The input and label are layed out veticall (label first). */
9+ /* The input and label are laid out veticall (label first). */
1010 Vertical
1111}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ enum Ui.Position {
1717 LeftTop
1818}
1919
20- /* Utility functions for working with `Ui.Poisition `. */
20+ /* Utility functions for working with `Ui.Position `. */
2121module Ui .Position {
2222 /* Converts the given string value in to a position. */
2323 fun fromString (value : String ) : Ui .Position {
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ component Ui.FileInput {
7474 opacity : 0.75 ;
7575 }
7676
77- /* Styles for the fileds container. */
77+ /* Styles for the fields container. */
7878 style infos {
7979 border-bottom : 0.0625em solid var (--file-input-border );
8080 margin-bottom : 0.5em ;
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ component Ui.InteractiveList.Item {
99 /* The content to render. */
1010 property children : Array (Html ) = []
1111
12- /* Whether or not the item is inteded . */
12+ /* Whether or not the item is intended . */
1313 property intended : Bool = false
1414
15- /* Whether or not the item is slected . */
15+ /* Whether or not the item is selected . */
1616 property selected : Bool = false
1717
1818 /* Styles for the base. */
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ component Ui.Layout.Documentation {
88 /* The size of the component. */
99 property size : Ui .Size = Ui .Size :: Inherit
1010
11- /* The items groupped by a string. */
11+ /* The items grouped by a string. */
1212 property items : Array (Ui .NavItem ) = []
1313
1414 /* The breakpoint to render the table of contents. */
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ global component Ui.Notifications {
1515 display : flex ;
1616
1717 @media (max-width : 900px ) {
18- width : cacl (100vw - 1em );
18+ width : calc (100vw - 1em );
1919 left : 1em ;
2020 }
2121 }
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ component Ui.Picker {
127127 status == Ui .Picker .Status :: Open
128128 }
129129
130- /* Returns if the picker is focued . */
130+ /* Returns if the picker is focused . */
131131 get focused : Bool {
132132 status == Ui .Picker .Status :: Focused ||
133133 status == Ui .Picker .Status :: Open
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ component Ui.Textarea {
236236 })
237237 |> Maybe .withDefault (<></>)
238238
239- /* Map lines into spans spearated by line breaks. */
239+ /* Map lines into spans separated by line breaks. */
240240 let spans =
241241 lines
242242 |> Array .map (
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ component Ui.Toggle {
111111 }
112112 }
113113
114- /* Toggles the componnet . */
114+ /* Toggles the component . */
115115 fun toggle : Promise (Void ) {
116116 onChange (!checked )
117117 }
You can’t perform that action at this time.
0 commit comments