styles/src/element/interactive/index.ts → styles/src/element/index.ts 🔗
Nate Butler created
styles/src/element/index.ts | 0
styles/src/element/interactive.test.ts | 0
styles/src/element/interactive.ts | 0
styles/src/styleTree/assistant.ts | 2
styles/src/styleTree/commandPalette.ts | 2
styles/src/styleTree/contactList.ts | 2
styles/src/styleTree/contactNotification.ts | 2
styles/src/styleTree/contextMenu.ts | 2
styles/src/styleTree/copilot.ts | 2
styles/src/styleTree/editor.ts | 2
styles/src/styleTree/feedback.ts | 2
styles/src/styleTree/picker.ts | 2
styles/src/styleTree/projectPanel.ts | 2
styles/src/styleTree/search.ts | 2
styles/src/styleTree/simpleMessageNotification.ts | 2
styles/src/styleTree/statusBar.ts | 2
styles/src/styleTree/tabBar.ts | 2
styles/src/styleTree/toolbarDropdownMenu.ts | 2
styles/src/styleTree/updateNotification.ts | 2
styles/src/styleTree/welcome.ts | 2
styles/src/styleTree/workspace.ts | 2
styles/tsconfig.json | 30 +++++++++++++++-
22 files changed, 46 insertions(+), 20 deletions(-)
@@ -1,7 +1,7 @@
import { ColorScheme } from "../theme/colorScheme"
import { text, border, background, foreground } from "./components"
import editor from "./editor"
-import { interactive } from "../element/interactive"
+import { interactive } from "../element"
export default function assistant(colorScheme: ColorScheme) {
const layer = colorScheme.highest
@@ -2,7 +2,7 @@ import { ColorScheme } from "../theme/colorScheme"
import { withOpacity } from "../theme/color"
import { text, background } from "./components"
import { toggleable } from "./toggle"
-import { interactive } from "../element/interactive"
+import { interactive } from "../element"
export default function commandPalette(colorScheme: ColorScheme) {
let layer = colorScheme.highest
@@ -1,7 +1,7 @@
import { ColorScheme } from "../theme/colorScheme"
import { background, border, borderColor, foreground, text } from "./components"
import { toggleable } from "./toggle"
-import { interactive } from "../element/interactive"
+import { interactive } from "../element"
export default function contactsPanel(colorScheme: ColorScheme) {
const nameMargin = 8
const sidePadding = 12
@@ -1,6 +1,6 @@
import { ColorScheme } from "../theme/colorScheme"
import { background, foreground, text } from "./components"
-import { interactive } from "../element/interactive"
+import { interactive } from "../element"
const avatarSize = 12
const headerPadding = 8
@@ -1,6 +1,6 @@
import { ColorScheme } from "../theme/colorScheme"
import { background, border, borderColor, text } from "./components"
-import { interactive } from "../element/interactive"
+import { interactive } from "../element"
import { toggleable } from "./toggle"
export default function contextMenu(colorScheme: ColorScheme) {
@@ -1,6 +1,6 @@
import { ColorScheme } from "../theme/colorScheme"
import { background, border, foreground, svg, text } from "./components"
-import { interactive } from "../element/interactive"
+import { interactive } from "../element"
export default function copilot(colorScheme: ColorScheme) {
let layer = colorScheme.middle
@@ -4,7 +4,7 @@ import { background, border, borderColor, foreground, text } from "./components"
import hoverPopover from "./hoverPopover"
import { buildSyntax } from "../theme/syntax"
-import { interactive } from "../element/interactive"
+import { interactive } from "../element"
import { toggleable } from "./toggle"
export default function editor(colorScheme: ColorScheme) {
@@ -1,6 +1,6 @@
import { ColorScheme } from "../theme/colorScheme"
import { background, border, text } from "./components"
-import { interactive } from "../element/interactive"
+import { interactive } from "../element"
export default function feedback(colorScheme: ColorScheme) {
let layer = colorScheme.highest
@@ -2,7 +2,7 @@ import { ColorScheme } from "../theme/colorScheme"
import { withOpacity } from "../theme/color"
import { background, border, text } from "./components"
import { toggleable } from "./toggle"
-import { interactive } from "../element/interactive"
+import { interactive } from "../element"
export default function picker(colorScheme: ColorScheme): any {
let layer = colorScheme.lowest
@@ -1,7 +1,7 @@
import { ColorScheme } from "../theme/colorScheme"
import { withOpacity } from "../theme/color"
import { background, border, foreground, text } from "./components"
-import { interactive } from "../element/interactive"
+import { interactive } from "../element"
import { toggleable } from "./toggle"
export default function projectPanel(colorScheme: ColorScheme) {
const { isLight } = colorScheme
@@ -1,7 +1,7 @@
import { ColorScheme } from "../theme/colorScheme"
import { withOpacity } from "../theme/color"
import { background, border, foreground, text } from "./components"
-import { interactive } from "../element/interactive"
+import { interactive } from "../element"
import { toggleable } from "./toggle"
export default function search(colorScheme: ColorScheme) {
@@ -1,6 +1,6 @@
import { ColorScheme } from "../theme/colorScheme"
import { background, border, foreground, text } from "./components"
-import { interactive } from "../element/interactive"
+import { interactive } from "../element"
const headerPadding = 8
@@ -1,6 +1,6 @@
import { ColorScheme } from "../theme/colorScheme"
import { background, border, foreground, text } from "./components"
-import { interactive } from "../element/interactive"
+import { interactive } from "../element"
import { toggleable } from "./toggle"
export default function statusBar(colorScheme: ColorScheme) {
let layer = colorScheme.lowest
@@ -2,7 +2,7 @@ import { ColorScheme } from "../theme/colorScheme"
import { withOpacity } from "../theme/color"
import { text, border, background, foreground } from "./components"
import { toggleable } from "./toggle"
-import { interactive } from "../element/interactive"
+import { interactive } from "../element"
export default function tabBar(colorScheme: ColorScheme) {
const height = 32
@@ -1,6 +1,6 @@
import { ColorScheme } from "../theme/colorScheme"
import { background, border, text } from "./components"
-import { interactive } from "../element/interactive"
+import { interactive } from "../element"
import { toggleable } from "./toggle"
export default function dropdownMenu(colorScheme: ColorScheme) {
let layer = colorScheme.middle
@@ -1,6 +1,6 @@
import { ColorScheme } from "../theme/colorScheme"
import { foreground, text } from "./components"
-import { interactive } from "../element/interactive"
+import { interactive } from "../element"
const headerPadding = 8
@@ -8,7 +8,7 @@ import {
TextProperties,
svg,
} from "./components"
-import { interactive } from "../element/interactive"
+import { interactive } from "../element"
export default function welcome(colorScheme: ColorScheme) {
let layer = colorScheme.highest
@@ -11,7 +11,7 @@ import {
} from "./components"
import statusBar from "./statusBar"
import tabBar from "./tabBar"
-import { interactive } from "../element/interactive"
+import { interactive } from "../element"
import merge from 'ts-deepmerge';
export default function workspace(colorScheme: ColorScheme) {
const layer = colorScheme.lowest
@@ -20,7 +20,33 @@
"noFallthroughCasesInSwitch": false,
"experimentalDecorators": true,
"strictPropertyInitialization": false,
- "skipLibCheck": true
+ "skipLibCheck": true,
+ "baseUrl": ".",
+ "paths": {
+ "@/*": [
+ "./*"
+ ],
+ "@element/*": [
+ "./src/element/*"
+ ],
+ "@component/*": [
+ "./src/component/*"
+ ],
+ "@styleTree/*": [
+ "./src/styleTree/*"
+ ],
+ "@theme/*": [
+ "./src/theme/*"
+ ],
+ "@themes/*": [
+ "./src/themes/*"
+ ],
+ "@util/*": [
+ "./src/util/*"
+ ]
+ }
},
- "exclude": ["node_modules"]
+ "exclude": [
+ "node_modules"
+ ]
}