Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nulogy/components

Package Overview
Dependencies
Maintainers
0
Versions
489
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nulogy/components - npm Package Versions

13
49

12.2.0

Diff

Changelog

Source

12.2.0 (2024-12-13)

Features

  • re-export NDS themes to be used as an escape hatch (0a5ddf4)
haidera_nulogy
published 12.1.0 •

Changelog

Source

12.1.0 (2024-12-13)

Bug Fixes

  • export TopBar (104b4dc)
  • layout, visual and API issues with the DescriptionList (a52f836)

Features

  • Add a DescriptionList component (92a6a51)
haidera_nulogy
published 12.0.0 •

Changelog

Source

12.0.0 (2024-12-13)

Bug Fixes

  • increase chromatic delay for bottomSheet (85d95a7)
  • prefix Pseudo-classes with an ampersand (cf17a6e)

Features

BREAKING CHANGES

  • styled-components peer dependency bumped up to v6

NDS was upgraded with re-enabled vendor prefixes and using a StyleSheetManager to restore v5 behaviour for shouldForwardProp

Follow the migration guide for app upgrades to v6

haidera_nulogy
published 11.3.1 •

Changelog

Source

11.3.1 (2024-12-11)

Bug Fixes

  • BottomSheet footer blur Firefox bug (06fb9ef)
haidera_nulogy
published 11.3.0 •

Changelog

Source

11.3.0 (2024-12-06)

Bug Fixes

  • change desktop to experimental to reflect alpha stage of the theme (8c61aea)
  • change MenuItems distance to the Menu (942c5dc)
  • Export the useMediaQuery Hook (29087ad)
  • use the right testing mode in Chromatic (3cfb81d)

Features

  • add semantic breakpoints (21bd5b4)
  • add TopBar component (6d6a95a)
  • allow MenuItems to be router links (658def4)
  • documentation improvements (a48a687)
  • further revise TopBar API, animation, and default behavior (70754c1)
  • localize TopBar accessible strings and add e2e specs (234dc45)
  • revise API and add documentation (c9c96ec)
  • revise TopBar API and add more stories (f0a8d18)
haidera_nulogy
published 11.2.0 •

Changelog

Source

11.2.0 (2024-11-26)

Bug Fixes

  • Add vertical margin to checkboxes with labels only (ccceb0e)
  • align interactive elements with the label (c67a53d)
  • change the fontSize back to medium (73622fd)
  • CI issues (5e699a0)
  • lint issues (5c2a476)
  • MultiSelect pills padding (9fc499c)
  • pipeline build errors (97ccfde)
  • Use a specific width and height for Chromatic (861cd58)

Features

  • add futureFlags (6da589b)
  • change font size and line height for touch interactive elements (e0848a2)
  • export the BottomSheet (ff29269)
  • improve BottomSheet API and types (1b1bf85)
  • introduce new desktop typography scale (5bd7744)
  • prop for secondary dividers (1fbd983)
  • release v11 changes (0157626)
haidera_nulogy
published 10.4.0 •

Changelog

Source

10.4.0 (2024-11-25)

Features

  • type the icon prop to improve DX (4f215fa)
haidera_nulogy
published 11.1.0 •

Changelog

Source

11.1.0 (2024-11-15)

Features

  • add a BottomSheet component (9f6eddd)
  • add a component spec (2e1a59c)
  • add BottomSheet parts (6b8ad6c)
  • Add documentation and refine the API (1ef3c5f)
  • further refine the API, stories, and documentation (fd308f9)
  • improve BottomSheet API and types (fe42f8b)
  • test the BottomSheet interactivity (463fd2d)

Bug Fixes

  • cypress global scope const declaration (029fb35)
  • minor format/copy corrections (e4b8458)
  • unused parameter (9959206)
haidera_nulogy
published 10.3.0 •

Changelog

Source

10.3.0 (2024-11-12)

Bug Fixes

  • do not shrink the toggle when put in a small container (#1450) (6b3b63f)
  • make the icons and indicators in the select accessible (#1462) (3b6d900)
  • remove underlines from breadcrumbs (#1451) (6a68084)
haidera_nulogy
published 11.0.0 •

Changelog

Source

11.0.0 (2024-11-25)

Bug Fixes

  • Add vertical margin to checkboxes with labels only (ccceb0e)
  • align interactive elements with the label (c67a53d)
  • change the fontSize back to medium (73622fd)
  • CI issues (5e699a0)
  • correct the theme generator scale and types (9c20343)
  • cypress global scope const declaration (74b5be8)
  • format theme after generating it (7d875b7)
  • issues with scaling up the theme (9850d73)
  • lint issues (5c2a476)
  • lint issues (3e7b40b)
  • lint issues (ca30c26)
  • minor format/copy corrections (5a9cc30)
  • MultiSelect pills padding (9fc499c)
  • pipeline build errors (97ccfde)
  • preserve styled components composability (10d691c)
  • prevent shrinking icon (1479862)
  • remove obsolete stories (bad72fe)
  • remove theme configuration panel (6f17f2e)
  • TypeScript parse error (ef8d8e3)
  • unexport the theme directly (e0acb1a)
  • unused parameter (06566df)
  • Use a specific width and height for Chromatic (861cd58)
  • visual defects following theme change (3fea07a)
  • visual defects in the touch variant (4e3e631)

Code Refactoring

Features

  • add a BottomSheet component (c7b7f64)
  • add a component spec (489c3fc)
  • add a touch variant (cd1a496)
  • add BottomSheet parts (6d5f005)
  • Add documentation and refine the API (6996a10)
  • add futureFlags (6da589b)
  • allow adding left and right icons to the input (e45d8cd)
  • change font size and line height for touch interactive elements (e0848a2)
  • export the BottomSheet (ff29269)
  • further refine the API, stories, and documentation (5cb4e14)
  • generate the theme based on a base unit (19673d5)
  • improve BottomSheet API and types (1b1bf85)
  • improve BottomSheet API and types (41c656a)
  • introduce new desktop typography scale (5bd7744)
  • refactor away from size to variant (52d1c9d)
  • release v11 changes (0157626)
  • support tablet and phone media queries (2e4e4b7)
  • test the BottomSheet interactivity (bf02d85)
  • update theme (08ab964)

BREAKING CHANGES

  • removes the old unused NavBar component that was replaced with the BrandedNavBar
  • removes the icon and iconSize props from the input in-favor of iconLeft, iconRight, iconRightSize, iconLeftSize

Migration:

  • Replace icon prop with iconRight
  • Replace iconSize prop with iconRightSize
  • changes NDSProvider size prop to variant.

The size prop was originally used sparingly in some components like the Button and the Icon to resize those components.

It was later extended to make all interactive components large enough to be used on a touch screen, through changing the size prop directly or by passing a size prop to the NDSProvider globally.

With this change, we retain the use of the size prop for select components, and introduce a variant prop that can be passed either to individual components or the NDSProvider globally with the value of either desktop or touch.

  • theme can no longer be imported from "@nulogy/components"

NDS is introducing context-specific default themes. Directly importing themes from NDS may result in using the wrong theme, causing conflicts between custom app themes, desktop, and touch variants.

Instead of importing the theme from NDS like so: import { theme } from "@nulogy/components", you can use and access the theme in one of the following ways:

  • Inside styled components
const Example = styled.div(({ theme }) => ({
  marginLeft: theme.space.x3,
  marginBottom: theme.space.x1,
  color: theme.colors.darkBlue,
}));
  • Inside components: using styled props
function Component(props: Props) {
  return (
    <Box ml="x3" mb="x1" color="darkBlue">
      {props.children}
    </Box>
  )
}
  • Inside components: using useTheme()
import { useTheme } from "styled-components"

function getPaddingBasedOnSomeProp(foo, theme) { ... }

function Component(props: Props) {
  const theme = useTheme()
  const horizontalPadding = getPaddingBasedOnSomeProp(props.foo, theme)

  return (
    <Box px={horizontalPadding}>
      {props.children}
    </Box>
  )
}
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