Skip to content

Commit

Permalink
Merge pull request #13 from forman/0.1.0-alpha.5
Browse files Browse the repository at this point in the history
0.1.0 alpha.5
  • Loading branch information
forman authored Nov 15, 2023
2 parents cfd7bcc + 8761556 commit f56a71a
Show file tree
Hide file tree
Showing 19 changed files with 1,335 additions and 134 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ To see the API in action, you can run the
using `npm run dev`,
see section [Development](#development) below. It is a simple React
application that demonstrates how extensions are installed,
activated, and how they contribute UI elements to the application.
activated, and how they can contribute elements such as commands or
UI components to an application.

# Installation

Expand Down Expand Up @@ -279,9 +280,7 @@ export function activate() {

Such code contributions are loaded lazily. Only the first time a
code contribution is needed by a consumer, the contributing extension will be
activated.

Therefore, code contributions are loaded asynchronously using the
activated. Therefore, code contributions are loaded asynchronously using the
[`loadCodeContribution`](https://forman.github.io/extendit/functions/core.loadCodeContribution.html)
function:

Expand Down Expand Up @@ -324,7 +323,7 @@ export default function CommandButton({ command }: CommandButtonProps) {

# Documentation

We currently only have this file, the
We currently only have this file and the
[API docs](https://forman.github.io/extendit/), sorry.

# Development
Expand Down
1 change: 0 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

## For first stable version

* Find out how to test React hooks using `vitest`.
* Make `contrib` an own toplevel subpackage
- Every contribution point should go into a separate submodule.
- Every submodule should be exported, so points can
Expand Down
56 changes: 0 additions & 56 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,62 +12,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ExtendIt.js Demo</title>
</head>
<style>
body {
font-family: Segoe UI, Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;

color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;

font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

p {
font-weight: normal;
font-size: small;
color: rgba(255, 255, 255, 0.6);
}

code {
color: rgba(255, 255, 255, 0.9);
}

h1 {
font-size: 1.1em;
line-height: 1.1;
color: rgba(200, 200, 255, 0.8);
}

button {
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.3);
padding: 0.6em 1em;
font-size: 0.8em;
font-weight: 400;
font-family: inherit;
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
}

button:hover {
border-color: #646cff;
}

button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}

#root {
}
</style>
<body>
<div id="root"></div>
<script type="module" src="/src/demo/main.tsx"></script>
Expand Down
Loading

0 comments on commit f56a71a

Please sign in to comment.