New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@descope/web-components-ui

Package Overview
Dependencies
Maintainers
4
Versions
415
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@descope/web-components-ui

# Architecture

  • 1.0.43
  • npm
  • Socket score

Version published
Weekly downloads
3K
decreased by-74.36%
Maintainers
4
Weekly downloads
 
Created
Source

web-components-ui

Architecture

page-editor-components

screen-renderer-service

web-components-ui

Components

  • DescopeUI
  • Components Library (Vaadain Components)

Build

Webpack

  • UMD - Hosted, consumed by client in runtime

Rollup

  • ESM - Consumed by console-app in build
  • CJS - Consumed by screen-renderer-service in build

CreateProxy

Wraps the web component with a ProxyElement.

Discovery & Lazy Loading

Hosted Service

Style API

  • Cover gaps between style API of our components and Vaadain’s style API

Mixins

DraggableMixin

Versioning

TBD

font

color bgColor

size

-- Theme colors Theme fonts

Button

- Variant
- Text Color
- Text Size
- Font Family
- BgColor
- Radius

Autocomplete

  • Variant: V1: Default

    • Button
    • Input
      • Variant
      • Text Color
      • Border
      • Radius
    • List
      • Variant
      • Border
      • BgColor
      • Radius
    • Chip
      • Variant
      • Text Color
      • Bg Color
      • Radius
  • Variant: V2: Outline

  • Variant: V3: Contained

spacing1 spacing2 font1 font2 color1 color2 color3 color4 color5 . . .

Primary Color Secondary Color Info Success Error Warning

prop

THEME: Global Theme Prop: PrimaryColor Component Variant Prop: PrimaryColor / GlobalThemeProp / Custom

{
    colors: {
        PrimaryColor: red;
        SecondaryColor: blue;
        Success: green;
    },
    components: {
        Button: {
            success: {
                color
                radius
                fontFamily
            }
            colors: {
                BgColor: yellow;
                TextColor
                Radius
            },
            sizes: {
                small: '',
            }
            fonts: {
                FontSize
            },
        }
        Phone: {
            colors: {
                TextColor: red;
            }

        }
    }
}

COMP: <descope-web-component variant="contained" overrides=[PrimaryColor: red, Success: blue]>

PrimaryColor => BgColor

WCProp BgColor WCProp -

outline: { borderColor: theme[color] || color // red color: theme[variant] * 0.2 }

contained: { bgColor: theme[variant] color: theme[variant] \* 0.8 } .contained.success { bgColor: theme[PrimayColor] color: theme[variant] \* 0.8 }

<descope-web-component variant="contained" color, radius, fontFamily>

FAQs

Package last updated on 13 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc