File tree Expand file tree Collapse file tree 12 files changed +170
-6
lines changed
src/main/kotlin/com/github/underlow/semantic Expand file tree Collapse file tree 12 files changed +170
-6
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ external interface GridRowProps : RProps {
1919 var only: String? // typealias GridOnlyProp = String //| 'computer' | 'largeScreen' | 'mobile' | 'tablet mobile' | 'tablet' | 'widescreen';
2020 var reversed: String? // export type GridReversedProp = string | 'computer' | 'computer vertically' | 'mobile' | 'mobile vertically' | 'tablet' | 'tablet vertically';
2121 var stretched: Boolean?
22- // var textAlign: SemanticTEXTALIGNMENTS? get() = definedExternally; set(value) = definedExternally
23- // var verticalAlign: SemanticVERTICALALIGNMENTS? get() = definedExternally; set(value) = definedExternally
22+ // var textAlign: SemanticTEXTALIGNMENTS?
23+ // var verticalAlign: SemanticVERTICALALIGNMENTS?
2424}
2525
2626@JsName(" default" )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ external interface LabelProps : RProps {
2222 var color: SemanticCOLORS ?
2323 var content: ReactElement ?
2424 var corner: dynamic /* Boolean | String /* "left" */ | String /* "right" */ */
25- // var detail: SemanticShorthandItem<LabelDetailProps>? get() = definedExternally; set(value) = definedExternally
25+ // var detail: SemanticShorthandItem<LabelDetailProps>?
2626 var empty: Any?
2727 var floating: Boolean?
2828 var horizontal: Boolean?
Original file line number Diff line number Diff line change 1+ @file:JsModule(" semantic-ui-react/dist/commonjs/elements/List" )
2+
3+ package com.github.underlow.semantic.elements.list
4+
5+ import com.github.underlow.semantic.*
6+ import org.w3c.dom.events.Event
7+ import react.RClass
8+ import react.RProps
9+ import react.ReactElement
10+
11+ external interface ListProps : RProps {
12+ var `as `: Any?
13+ var animated: Boolean?
14+ var bulleted: Boolean?
15+ var celled: Boolean?
16+ var children: ReactElement ?
17+ var className: String?
18+ var content: SemanticShorthandContent ?
19+ var divided: Boolean?
20+ var floated: SemanticFLOATS ?
21+ var horizontal: Boolean?
22+ var inverted: Boolean?
23+ var items: SemanticShorthandCollection <ListItemProps >?
24+ var link: Boolean?
25+ var onItemClick: ((event: Event , data: ListItemProps ) -> Unit )?
26+ var ordered: Boolean?
27+ var relaxed: dynamic /* Boolean | String /* "very" */ */
28+ var selection: Boolean?
29+ var size: SemanticSIZES ?
30+ var verticalAlign: SemanticVERTICALALIGNMENTS ?
31+ }
32+
33+ external interface ListComponent : RClass <ListProps >
34+
35+ @JsName(" default" )
36+ external var List : ListComponent = definedExternally
Original file line number Diff line number Diff line change 1+ @file:JsModule(" semantic-ui-react/dist/commonjs/elements/List" )
2+
3+ package com.github.underlow.semantic.elements.list
4+
5+ import com.github.underlow.semantic.SemanticFLOATS
6+ import com.github.underlow.semantic.SemanticShorthandContent
7+ import com.github.underlow.semantic.SemanticShorthandItem
8+ import com.github.underlow.semantic.SemanticVERTICALALIGNMENTS
9+ import react.RClass
10+ import react.RProps
11+ import react.ReactElement
12+
13+ external interface ListContentProps : RProps {
14+ var `as `: Any?
15+ var children: ReactElement ?
16+ var className: String?
17+ var content: SemanticShorthandContent ?
18+ var description: SemanticShorthandItem <ListDescriptionProps >?
19+ var floated: SemanticFLOATS ?
20+ var header: SemanticShorthandItem <ListHeaderProps >?
21+ var verticalAlign: SemanticVERTICALALIGNMENTS ?
22+ }
23+
24+ @JsName(" default" )
25+ external var ListContent : RClass <ListContentProps > = definedExternally
Original file line number Diff line number Diff line change 1+ @file:JsModule(" semantic-ui-react/dist/commonjs/elements/List" )
2+
3+ package com.github.underlow.semantic.elements.list
4+
5+ import com.github.underlow.semantic.SemanticShorthandContent
6+ import react.RClass
7+ import react.RProps
8+ import react.ReactElement
9+
10+ external interface ListDescriptionProps : RProps {
11+ var `as `: Any?
12+ var children: ReactElement ?
13+ var className: String?
14+ var content: SemanticShorthandContent ?
15+ }
16+
17+ @JsName(" default" )
18+ external var ListDescription : RClass <ListDescriptionProps > = definedExternally
Original file line number Diff line number Diff line change 1+ @file:JsModule(" semantic-ui-react/dist/commonjs/elements/List" )
2+
3+ package com.github.underlow.semantic.elements.list
4+
5+ import com.github.underlow.semantic.SemanticShorthandContent
6+ import react.RClass
7+ import react.RProps
8+ import react.ReactElement
9+
10+ external interface ListHeaderProps : RProps {
11+ var `as `: Any?
12+ var children: ReactElement ?
13+ var className: String?
14+ var content: SemanticShorthandContent ?
15+ }
16+
17+ @JsName(" default" )
18+ external var ListHeader : RClass <ListHeaderProps > = definedExternally
Original file line number Diff line number Diff line change 1+ @file:JsModule(" semantic-ui-react/dist/commonjs/elements/List" )
2+
3+ package com.github.underlow.semantic.elements.list
4+
5+ import com.github.underlow.semantic.SemanticVERTICALALIGNMENTS
6+ import com.github.underlow.semantic.elements.icon.IconProps
7+ import react.RClass
8+
9+ external interface ListIconProps : IconProps {
10+ override var className: String?
11+ var verticalAlign: SemanticVERTICALALIGNMENTS ?
12+ }
13+
14+ @JsName(" default" )
15+ external var ListIcon : RClass <ListIconProps > = definedExternally
Original file line number Diff line number Diff line change 1+ @file:JsModule(" semantic-ui-react/dist/commonjs/elements/List" )
2+
3+ package com.github.underlow.semantic.elements.list
4+
5+ import com.github.underlow.semantic.SemanticShorthandItem
6+ import com.github.underlow.semantic.elements.image.ImageProps
7+ import org.w3c.dom.events.Event
8+ import react.RClass
9+ import react.RProps
10+ import react.ReactElement
11+
12+ external interface ListItemProps : RProps {
13+ var `as `: Any?
14+ var active: Boolean?
15+ var children: ReactElement ?
16+ var className: String?
17+ var content: SemanticShorthandItem <ListContentProps >?
18+ var description: SemanticShorthandItem <ListDescriptionProps >?
19+ var disabled: Boolean?
20+ var header: SemanticShorthandItem <ListHeaderProps >?
21+ var icon: SemanticShorthandItem <ListIconProps >?
22+ var image: SemanticShorthandItem <ImageProps >?
23+ var onClick: ((event: Event , data: ListItemProps ) -> Unit )?
24+ var value: String?
25+ }
26+
27+ @JsName(" default" )
28+ external var ListItem : RClass <ListItemProps > = definedExternally
Original file line number Diff line number Diff line change 1+ @file:JsModule(" semantic-ui-react/dist/commonjs/elements/List" )
2+
3+ package com.github.underlow.semantic.elements.list
4+
5+ import com.github.underlow.semantic.SemanticShorthandContent
6+ import react.RClass
7+ import react.RProps
8+ import react.ReactElement
9+
10+ external interface ListListProps : RProps {
11+ @nativeGetter
12+ operator fun get (key : String ): Any?
13+
14+ @nativeSetter
15+ operator fun set (key : String , value : Any )
16+
17+ var `as `: Any?
18+ var children: ReactElement ?
19+ var className: String?
20+ var content: SemanticShorthandContent ?
21+ }
22+
23+ @JsName(" default" )
24+ external var ListList : RClass <ListListProps > = definedExternally
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ external interface DropdownHeaderProps : RProps {
1414 var children: ReactElement ?
1515 var className: String?
1616 var content: SemanticShorthandContent ?
17- var icon: SemanticShorthandItem <IconProps >? get() = definedExternally; set(value) = definedExternally
17+ var icon: SemanticShorthandItem <IconProps >?
1818}
1919
2020@JsName(" default" )
You can’t perform that action at this time.
0 commit comments