Giter Site home page Giter Site logo

langium-ui-framework's People

Contributors

claaspetersen avatar danieldietrich avatar emilkrebs avatar gfontorbe avatar jbicker avatar spoenemann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

langium-ui-framework's Issues

Handle nested CSS

Example:

.center {}

.center > a {}

Current behavior: If the center class is called inside of a html element, only the rule for .center will be in the final stylesheet.

Expected behavior: When the center class is added to a html element, all nested rules should also be added.

Import other .sui file

It would be a very cool feature if you could import other .sui files and use all components from this file

import example
will import all components from
example.sui

Autocompletion for CSS classes

For now, the autocompletion for the CSS classes is hardcoded into the grammar.

We need to move the autocompletion logic into the LSP with custom services

Give components custom variables

It would be cool if you could give components variables like

component example variables[title, text] {
    div classes[border, hidden-border, shadow] {width: "50%"} {
        heading $title level: 4
        paragraph $text{ width: "50%"}
    }
}

And use the component like this

usecomponent example ["Title", "Lorem ipsum dolor sit amet"]

Maybe that's too advanced for now but it would be a very cool feature.

Issues with the Prebuild step

Just found out that if the assets directory is empty or doesn't exist it will cancel the build process because the 'cp' command returns an error due to the folder being empty or not existing.

Bildschirmfoto 2022-01-24 um 09 09 17

This error currently does not exist in the main branch but we should change it where it exists so that it won't become a problem later

Improve JavaScript integration

At the moment we only have basic stuff like functions and popups (alerts) so we need to add some JavaScript functionality.

The Goal is to have some JavaScript "Toys" like changing CSS properties with the press of a button or with a Timer.
These JavaScript Toys should be simple, not to Specific and also visual so the end-user can see that it's doing something.

Refactoring grammar

For now the grammar is very repetitive and is getting more and more difficult to scale and maintain.

Need to be refactored so it is easier to implement new features without having to modify the existing ones.

Add possibility to section a page

The idea is to have the possibility to add

s from the grammar.

These sections could later be referenced for the navigation in the header/footer

Create highlevel CSS

Create examples for general purpose styles for advanced and easy use of CSS (maybe like Tailwind or Flutter)

Write a README.md

In order to explain to others how to use SimpleUI, we should write a README.md file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.