Skip to content
#

Web Components

web-components logo

Developers can create custom, reusable, encapsulated HTML tags for the web using Web Components. Components use the Custom Element standard, frequently in combination with the Shadow DOM, HTML Templates, and ES Modules.

Here are 1,674 public repositories matching this topic...

storybook
evont
evont commented May 9, 2022

Describe the bug
The validateArgs method in lib/router/src/utils.ts is using VALIDATION_REGEXP, NUMBER_REGEXP, HEX_REGEXP or COLOR_REGEXP pattern to determine whether the string value is validated or not, but any string which not match those pattern (like something with + prefix or some character that is not in Alphabet) will not be validated and be dropped in future actions.

LarsDenBakker
LarsDenBakker commented Sep 15, 2020

The semantic dom diff plugin uses some global variables like __mocha_context__ and __snapshot__ which are only available in a karma mocha context. When it's user in other test runners, or karma without mocha, it crashes with an unhelpful message.

We should check for these variables, and throw a helpful error to the user that explains this plugin can only be used in Karma.

bug good first issue hacktoberfest
tomrav
tomrav commented Jul 13, 2021

All of the various Stylable directives should warn the user when receiving no arguments and at least 1 is expected.

Current status:

at-rules

  • - @st-import
  • - @st-scope
  • - @custom-selector

rules

  • - :global()
  • - pseudo-states parameters (fixed)
    • [x]
diagnostics core tech debt good first issue
lume