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