Socket
Socket
Sign inDemoInstall

@primer/view-components

Package Overview
Dependencies
Maintainers
0
Versions
5321
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@primer/view-components - npm Package Versions

1
533

0.0.41

Diff

Changelog

Source

0.0.41

New

  • Create LocalTime component.

    Kristján Oddsson

  • Create Image component.

    Manuel Puyol

  • Add extra slot to TabNav.

    Manuel Puyol

  • Do not raise error if Primer CSS class name is passed to component if PRIMER_WARNINGS_DISABLED is set.

    Joel Hawksley

Accessibility

  • Accept aria-current="true" in tabbed components.

    Manuel Puyol

Changes

  • Promote Tooltip component to beta.

    Manuel Puyol

Bug fixes

  • Ensure that ClipboardCopy behaviors only target ViewComponents.

    Manuel Puyol

  • Ensure that the rounded attribute for <image-crop> is represented as a boolean attribute.

    Kristján Oddsson

Breaking changes

  • Rename TooltipComponent to Tooltip.

    Manuel Puyol

  • Don't allow OcticonComponent height/width values under 16px

    Jon Rohan

  • Remove :large size option from OcticonComponent and change :medium to 24px

    Jon Rohan

  • Restrict Label tag to span, div, a, summary.

    Kate Higa

Misc

  • Add a CI check for changes to the CHANGELOG file.

    Kristján Oddsson

manuelpuyol
published 0.0.40 •

Changelog

Source

0.0.40

New

  • Create ImageCrop component.

    Kristján Oddsson

Changes

  • Promote IconButton to beta.

    Manuel Puyol

  • Add box argument to IconButton.

    Manuel Puyol

  • Promote Markdown to beta.

    Manuel Puyol

Bug fixes

  • Fix IconButton raising when aria-label was provided using an object.

    Manuel Puyol

  • Fix disabling of default styles for SpinnerComponent via nil style parameter.

    Chris Wilson

Deprecations

  • Deprecate Flex in favor of BoxComponent.

    Manuel Puyol

Breaking Changes

  • Restrict ButtonGroup tag to :div and update docs for Text tag.

    Kate Higa

  • Remove non-functional width and height :fill option.

    Jon Rohan, Joel Hawksley

  • Restrict Subhead heading slot tag to div and h1-h6.

    Kate Higa

  • Restrict Blankslate tag to div.

    Kate Higa

  • Explicitly limit tag for AvatarStack to :div and :span.

    Kate Higa

  • Rename MarkdownComponent to Markdown.

    Manuel Puyol

manuelpuyol
published 0.0.39 •

Changelog

Source

0.0.39

  • Promote CloseButton to beta.

    Manuel Puyol

  • Update ClipboardCopy to not toggle icons unless they both exist.

    Kristján Oddsson

  • Add icon and counter slots to ButtonComponent.

    Manuel Puyol

  • Create IconButton component.

    Manuel Puyol

  • Removing trailing whitespace from output of class="" Classify generation.

    Jon Rohan

  • Deprecate FlexItem in favor of BoxComponent.

    Manuel Puyol

  • Dropping requirement of octicons_helper and updating OcticonComponent to use octicon gem directly.

    Jon Rohan

  • Breaking change: Remove :overlay option from border_color.

    Simon Luthi

manuelpuyol
published 0.0.38 •

Changelog

Source

0.0.38

  • Extract BaseButton component.

    Manuel Puyol

  • Add default aria-label of "Close" to CloseButton component.

    Kate Higa

  • Set button variants in the ButtonGroup parent.

    Manuel Puyol

  • Create ClipboardCopy component.

    Kristján Oddsson

  • Breaking change: Rename ButtonGroupComponent to ButtonGroup and promote it to beta.

    Manuel Puyol

  • Breaking change: Do not provide default for Heading and improve documentation.

    Kate Higa

  • Breaking change: Don't allow StateComponent to be a link.

    Kate Higa

manuelpuyol
published 0.0.37 •

Changelog

Source

0.0.37

  • Update NPM package to include subdirectory JS files.

    Manuel Puyol

manuelpuyol
published 0.0.36 •

Changelog

Source

0.0.36

  • Add block flag to ButtonComponent.

    Manuel Puyol

  • Add link and invisible schemes to ButtonComponent.

    Manuel Puyol

  • Create CloseButton and HiddenTextExpander component.

    Manuel Puyol

  • Breaking change: Rename AutoCompleteComponent to AutoComplete and AutoCompleteItemComponent to AutoComplete::Item.

    Manuel Puyol

  • Breaking change: Rename TruncateComponent to Truncate and promote it to beta.

    Manuel Puyol

manuelpuyol
published 0.0.35 •

Changelog

Source

0.0.35

  • Promote AutoCompleteComponent, AutoCompleteItemComponent, AvatarStackComponent and ButtonComponent to beta.

    Manuel Puyol

  • Allow UnderlineNav tabs to be rendered as a <ul><li> list.

    Manuel Puyol

  • Accessibility: Don't add tab roles when UnderlineNav or TabNav use link redirects.

    Manuel Puyol

  • Breaking change: Make label required for UnderlineNav and TabNav.

    Manuel Puyol

manuelpuyol
published 0.0.34 •

Changelog

Source

0.0.34

  • Add p: :responsive and m: :auto system arguments.

    Manuel Puyol

  • Remove my: :auto and negative m: system arguments.

    Manuel Puyol

  • Breaking change: Rename FlashComponent variant argument to scheme.

    Manuel Puyol

  • Breaking change: Rename LinkComponent variant argument to scheme.

    Manuel Puyol

  • Breaking change: Rename ButtonComponent button_type argument to scheme.

    Manuel Puyol

  • Breaking change: Rename ButtonMarketing button_type argument to scheme.

    Manuel Puyol

  • Breaking change: Rename StateComponent color argument to scheme.

    Manuel Puyol

manuelpuyol
published 0.0.33 •

Changelog

Source

0.0.33

  • Remove TabbedComponent validation requiring a tab to be selected.

    Manuel Puyol

manuelpuyol
published 0.0.32 •

Changelog

Source

0.0.32

  • Allow passing the icon name as a positional argument to OcticonComponent.

    Manuel Puyol

  • Promote TimeAgoComponent to beta.

    Manuel Puyol

  • Breaking change: Update TabNav#tab API to accept the tab content as a block and panel content as a slot.

    Manuel Puyol

  • Breaking change: Update UnderlineNavComponent API be more strict and support TabContainer.

    Manuel Puyol

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