GithubHelp home page GithubHelp logo

kasperskylab / uif Goto Github PK

View Code? Open in Web Editor NEW
28.0 28.0 3.0 29.1 MB

Integration Platform to build UI and Web Services

Home Page: https://kasperskylab.github.io/uif/components/

License: Apache License 2.0

JavaScript 35.37% TypeScript 53.60% HTML 3.56% MDX 2.10% Less 5.12% CSS 0.25%

uif's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

uif's Issues

Replace CSS-in-JS + Conthext API theming with vanilla CSS

Currently @kaspersky/components uses styled-components and Provider to switch between light and dark theme.

It would be the same quality and more perfomant to use css-only solution like so:

  1. design tokens defined as css-variables;
  2. theme switching by data attribute and cascade.

Add typings to UI Builder

It will very helpful to add typings for UI Builder.
For 3 reasons:

  1. For users (developers) — they get types for each handler type etc.
  2. For maintainers — it will be more predictable to work with current code.
  3. Also it unblocks the next step — @kaspersky/form-builder. Tool to build UI forms from typed code.

yarn.lock contains broken links to packages (405 Method Not Allowed)

I'm trying to install dependencies in ui-builder but I'm getting the error

https://registry.npmjs.org/image-size/image-size-0.5.5.tgz: Request failed "405 Method Not Allowed"

Link to package in yarn.lock: https://registry.npmjs.org/interpret/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296

Correct link: https://registry.npmjs.org/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296

This is not the only package with a broken link

Add Navigation component

  • Base Navigation
  • Hamburger mode
  • Links example
  • Fix click on item without subs
  • Expand 2nd and 3rd lvl in collapsed and expanded modes
  • User menu in footer
  • badge / counter for menu items
  • pin items

Create @kaspersky/form-builder

@kaspersky/form-builder must be based on the rich experience of @kaspersky/ui-builder but also it should be the next generation step including at least 4 key points:

  1. form builds from code;
  2. fully typed;
  3. only one way to do something (including data layer);
  4. no gap with @kaspersky/components or other UI Kits

Also new library should keep UI Builder feature: DSL.

ui-builder: EACCES: permission denied, open '/.yarnrc'

I'm trying to build a docker image for ui-builder but I'm getting an error:

#0 0.424 warning Skipping preferred cache folder "/.cache/yarn" because it is not writable.
#0 0.424 warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-1001".
#0 0.431 error An unexpected error occurred: "EACCES: permission denied, open '/.yarnrc'".

@kl/-/components-v6-0.24.2.tgz: Request failed 404 Not Found

package.json (ui-builder) contains dependencies @kl/components-v6, @kl/dev-tools, @kl/runtime that can't be installed.

[2/4] Fetching packages...
error An unexpected error occurred: "https://registry.npmjs.org/@kl/components-v6/-/@kl/-/components-v6-0.24.2.tgz: Request failed \"404 Not Found\"".

Research monorepo tooling

UIF has several scenarios:

  • Cross package updates, i.e. dependencies and versioning
  • Auto-publish on merging to main branch
  • Tests, linting

Now UIF uses obsolete Lerna version and it can be right way to update to Nx + latest Lerna.
Also, it might be easier and more efficient to avoid using Lerna and get tiny tools for release management.

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.