mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-01 00:34:27 +03:00
💀 remove Widgets category
This commit is contained in:
parent
7bb00f7213
commit
93fe288d39
@ -25,7 +25,6 @@ type Category
|
|||||||
| Inputs
|
| Inputs
|
||||||
| Buttons
|
| Buttons
|
||||||
| Icons
|
| Icons
|
||||||
| Widgets
|
|
||||||
| Layout
|
| Layout
|
||||||
| Messaging
|
| Messaging
|
||||||
| Atoms
|
| Atoms
|
||||||
@ -44,7 +43,6 @@ all =
|
|||||||
, Layout
|
, Layout
|
||||||
, Tables
|
, Tables
|
||||||
, Text
|
, Text
|
||||||
, Widgets
|
|
||||||
, Messaging
|
, Messaging
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -60,9 +58,6 @@ fromString string =
|
|||||||
"Inputs" ->
|
"Inputs" ->
|
||||||
Ok Inputs
|
Ok Inputs
|
||||||
|
|
||||||
"Widgets" ->
|
|
||||||
Ok Widgets
|
|
||||||
|
|
||||||
"Layout" ->
|
"Layout" ->
|
||||||
Ok Layout
|
Ok Layout
|
||||||
|
|
||||||
@ -98,9 +93,6 @@ forDisplay category =
|
|||||||
Inputs ->
|
Inputs ->
|
||||||
"Inputs"
|
"Inputs"
|
||||||
|
|
||||||
Widgets ->
|
|
||||||
"Widgets"
|
|
||||||
|
|
||||||
Layout ->
|
Layout ->
|
||||||
"Layout"
|
"Layout"
|
||||||
|
|
||||||
@ -139,9 +131,6 @@ forId category =
|
|||||||
Inputs ->
|
Inputs ->
|
||||||
"inputs"
|
"inputs"
|
||||||
|
|
||||||
Widgets ->
|
|
||||||
"widgets"
|
|
||||||
|
|
||||||
Layout ->
|
Layout ->
|
||||||
"layout"
|
"layout"
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ example =
|
|||||||
, state = init
|
, state = init
|
||||||
, update = update
|
, update = update
|
||||||
, subscriptions = \_ -> Sub.none
|
, subscriptions = \_ -> Sub.none
|
||||||
, categories = [ Widgets ]
|
, categories = [ Layout ]
|
||||||
, keyboardSupport =
|
, keyboardSupport =
|
||||||
[ { keys = [ Space ], result = "Opens the menu" }
|
[ { keys = [ Space ], result = "Opens the menu" }
|
||||||
, { keys = [ Enter ], result = "Opens the menu" }
|
, { keys = [ Enter ], result = "Opens the menu" }
|
||||||
|
@ -68,7 +68,7 @@ example =
|
|||||||
, positioning = options.positioning
|
, positioning = options.positioning
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
, categories = [ Widgets, Layout ]
|
, categories = [ Layout, Inputs ]
|
||||||
, keyboardSupport =
|
, keyboardSupport =
|
||||||
[ { keys = [ KeyboardSupport.Tab ]
|
[ { keys = [ KeyboardSupport.Tab ]
|
||||||
, result = "Move focus to the currently-selected Control's content"
|
, result = "Move focus to the currently-selected Control's content"
|
||||||
|
@ -29,7 +29,7 @@ example : Example State Msg
|
|||||||
example =
|
example =
|
||||||
{ name = "Tooltip"
|
{ name = "Tooltip"
|
||||||
, version = 2
|
, version = 2
|
||||||
, categories = [ Widgets ]
|
, categories = [ Messaging ]
|
||||||
, keyboardSupport = []
|
, keyboardSupport = []
|
||||||
, state = init
|
, state = init
|
||||||
, update = update
|
, update = update
|
||||||
|
Loading…
Reference in New Issue
Block a user