From d4d20533556928f63c8759437f67e76336bab55e Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Mon, 6 Apr 2020 18:55:25 +0200 Subject: Delete old React/TypeScript UI --- sw-ui-kt/src/main/kotlin/blueprintjs.kt | 525 -------------------------------- 1 file changed, 525 deletions(-) delete mode 100644 sw-ui-kt/src/main/kotlin/blueprintjs.kt (limited to 'sw-ui-kt/src/main/kotlin/blueprintjs.kt') diff --git a/sw-ui-kt/src/main/kotlin/blueprintjs.kt b/sw-ui-kt/src/main/kotlin/blueprintjs.kt deleted file mode 100644 index 13de8744..00000000 --- a/sw-ui-kt/src/main/kotlin/blueprintjs.kt +++ /dev/null @@ -1,525 +0,0 @@ -@file:JsModule("@blueprintjs/core") -package com.palantir.blueprintjs - -import org.w3c.dom.HTMLElement -import org.w3c.dom.HTMLInputElement -import org.w3c.dom.events.Event -import org.w3c.dom.events.MouseEvent -import react.* - -/** - * The four basic intents. - */ -// export declare const Intent: { -// NONE: "none"; -// PRIMARY: "primary"; -// SUCCESS: "success"; -// WARNING: "warning"; -// DANGER: "danger"; -//}; -//export declare type Intent = typeof Intent[keyof typeof Intent]; -external enum class Intent { - NONE, - PRIMARY, - SUCCESS, - WARNING, - DANGER -} - -/** Alignment along the horizontal axis. */ -//export declare const Alignment: { -// CENTER: "center"; -// LEFT: "left"; -// RIGHT: "right"; -//}; -//export declare type Alignment = typeof Alignment[keyof typeof Alignment]; -external enum class Alignment { - CENTER, - LEFT, - RIGHT -} - -/** - * A shared base interface for all Blueprint component props. - */ -external interface IProps : RProps { - /** A space-delimited list of class names to pass along to a child element. */ - var className: String? -} -external interface IIntentProps { - /** Visual intent color to apply to element. */ - var intent: Intent? -} -/** - * Interface for a clickable action, such as a button or menu item. - * These props can be spready directly to a `