Skip to content

UIK 5438/rewrite base components to ns#3042

Open
slizhevskyv-semrush wants to merge 11 commits into
release/v17from
UIK-5438/rewrite-base-components-to-ns
Open

UIK 5438/rewrite base components to ns#3042
slizhevskyv-semrush wants to merge 11 commits into
release/v17from
UIK-5438/rewrite-base-components-to-ns

Conversation

@slizhevskyv-semrush

@slizhevskyv-semrush slizhevskyv-semrush commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Changelog

@semcore/animation

Fixed

  • Refactor component's types. Deprecated atomic types. Atomic types are part of NSAnimation namespace.

@semcore/ellipsis

Fixed

  • Refactor component's types. Deprecated atomic types. Atomic types are part of NSEllipsis namespace.

@semcore/flex-box

Fixed

  • Refactor component's types. Deprecated atomic types. Atomic types are part of NSBox/NSFlex/NSInvalidStateBox/NSScreenReaderOnly namespaces.

@semcore/grid

Fixed

  • Refactor component's types. Deprecated atomic types. Atomic types are part of NSGrid namespace.

@semcore/hint

Fixed

  • Refactor component's types. Deprecated atomic types. Atomic types are part of NSHint namespace.

@semcore/neighbor-location

Fixed

  • Refactor component's types. Deprecated atomic types. Atomic types are part of NSNeighborLocation namespace.

@semcore/outside-click

Fixed

  • Refactor component's types. Deprecated atomic types. Atomic types are part of NSOutsideClick namespace.

@semcore/popper

Fixed

  • Refactor component's types. Deprecated atomic types. Atomic types are part of NSPopper namespace.

@semcore/portal

Fixed

  • Refactor component's types. Deprecated atomic types. Atomic types are part of NSPortal namespace.

@semcore/scroll-area

Fixed

  • Refactor component's types. Deprecated atomic types. Atomic types are part of NSScrollArea namespace.

Motivation and Context

How has this been tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).
  • Nice improve.

Checklist:

  • I have updated the documentation accordingly.
  • I have added new tests on added of fixed functionality.

@slizhevskyv-semrush slizhevskyv-semrush Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ilyabrower I leave Collapse/FadeInOut/FadeInOut/Scale/Slide within NSAnimation namespace (we had similar approach with feedback-form, but it were private components). Let me know if it's feasible to separate each component to it's own namespace.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's leave them in NSAnimation

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's leave them in NSAnimation

return sstyled(style)(
<SCollapse
// `ref` is overriden by spread props.
// @ts-ignore

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe expect error?

return sstyled(style)(
<Animation
// `ref` is overriden by spread props.
// @ts-ignore

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

expect?

return sstyled(style)(
<Animation
// `ref` is overriden by spread props.
// @ts-ignore

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

expect

return sstyled(style)(
<Animation
// `ref` is overriden by spread props.
// @ts-ignore

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

expect

return sstyled(style)(
<Animation
// `ref` is overriden by spread props.
// @ts-ignore

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

expect

setTimeout(() => {
if (activeRef.current) return;
if (!isFocusInside(popperRef.current) && document.activeElement !== document.body) return;
if (popperRef.current === null || !isFocusInside(popperRef.current) && document.activeElement !== document.body) return;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should move the first check to the first if statement? First check if the link exists, and then all the other logic?

Content: typeof Flex;
Addon: NSBox.Component;
Content: NSFlex.Component;
Text: typeof Text;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NSText.Component?

@slizhevskyv-semrush slizhevskyv-semrush requested review from Valeria-Zimnitskaya and removed request for j-mnizhek July 8, 2026 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment