@nulogy/components 13.5.1 → 14.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +7 -7
  3. package/dist/main.js +181 -102
  4. package/dist/main.module.js +182 -104
  5. package/dist/src/BottomSheet/BottomSheet.parts.d.ts +4 -2
  6. package/dist/src/BottomSheet/BottomSheet.styled.d.ts +4 -2
  7. package/dist/src/DescriptionList/DescriptionList.d.ts +3 -6
  8. package/dist/src/DescriptionList/DescriptionList.parts.d.ts +14 -0
  9. package/dist/src/DescriptionList/DescriptionListContext.d.ts +16 -10
  10. package/dist/src/DescriptionList/index.d.ts +5 -4
  11. package/dist/src/DescriptionList/lib/types.d.ts +26 -0
  12. package/dist/src/DescriptionList/lib/utils.d.ts +5 -0
  13. package/dist/src/DescriptionList/stories/DescriptionList.column.story.d.ts +17 -0
  14. package/dist/src/DescriptionList/stories/DescriptionList.group-min-width.story.d.ts +9 -0
  15. package/dist/src/DescriptionList/stories/DescriptionList.layout.story.d.ts +17 -0
  16. package/dist/src/DescriptionList/stories/DescriptionList.playground.story.d.ts +9 -0
  17. package/dist/src/DescriptionList/stories/DescriptionList.sizing.story.d.ts +10 -0
  18. package/dist/src/DescriptionList/stories/DescriptionList.spanning.story.d.ts +10 -0
  19. package/dist/src/DescriptionList/stories/DescriptionList.story.d.ts +8 -0
  20. package/dist/src/DescriptionList/stories/fixtures.d.ts +17 -0
  21. package/dist/src/DropdownMenu/DropdownText.d.ts +2 -1
  22. package/dist/src/FieldLabel/HelpText.d.ts +2 -1
  23. package/dist/src/Layout/Sidebar.d.ts +1 -1
  24. package/dist/src/TopBar/components/MenuItemLink.d.ts +1 -2
  25. package/dist/src/TopBar/index.d.ts +1 -0
  26. package/dist/src/Type/Headings.d.ts +8 -4
  27. package/dist/src/Type/Text.d.ts +1 -0
  28. package/dist/src/index.d.ts +3 -1
  29. package/dist/src/theme/theme.type.d.ts +1 -1
  30. package/dist/src/utils/story/code.d.ts +8 -0
  31. package/dist/src/utils/story/resizable.d.ts +18 -0
  32. package/package.json +2 -1
  33. package/dist/src/DescriptionList/DescriptionDetails.d.ts +0 -2
  34. package/dist/src/DescriptionList/DescriptionList.story.d.ts +0 -14
  35. package/dist/src/DescriptionList/DescriptionTerm.d.ts +0 -2
@@ -0,0 +1,26 @@
1
+ import React from "react";
2
+ import { DefaultNDSThemeType } from "../../theme";
3
+ import { Breakpoints } from "../../theme/theme.type";
4
+ export type Density = "medium" | "compact" | "relaxed";
5
+ export type Layout = "stacked" | "inline" | "auto";
6
+ export type Columns = number | Partial<Record<keyof Breakpoints, number>>;
7
+ export type GroupMinWidth = string;
8
+ export interface BaseDescriptionListProps {
9
+ descriptionTermMaxWidth?: string;
10
+ layout?: Layout;
11
+ autoLayoutBreakpoint?: string;
12
+ showDivider?: boolean;
13
+ density?: Density;
14
+ fontSize?: keyof DefaultNDSThemeType["fontSizes"];
15
+ lineHeight?: keyof DefaultNDSThemeType["lineHeights"];
16
+ children?: React.ReactNode;
17
+ }
18
+ export type DescriptionListWithColumns = BaseDescriptionListProps & {
19
+ columns?: Columns;
20
+ groupMinWidth?: never;
21
+ };
22
+ export type DescriptionListWithGroupMinWidth = BaseDescriptionListProps & {
23
+ groupMinWidth?: GroupMinWidth;
24
+ columns?: never;
25
+ };
26
+ export type DescriptionListProps = DescriptionListWithColumns | DescriptionListWithGroupMinWidth;
@@ -0,0 +1,5 @@
1
+ import { DescriptionListProps, Columns, GroupMinWidth } from "./types";
2
+ export declare function validateAndExtractGridProps(props: DescriptionListProps): {
3
+ columns?: Columns;
4
+ groupMinWidth?: GroupMinWidth;
5
+ };
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import DescriptionList from "../DescriptionList";
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof DescriptionList;
6
+ };
7
+ export default _default;
8
+ export declare const TwoColumns: () => React.JSX.Element;
9
+ export declare const ThreeColumns: () => React.JSX.Element;
10
+ export declare const ResponsiveColumns: {
11
+ (): React.JSX.Element;
12
+ parameters: {
13
+ chromatic: {
14
+ viewports: number[];
15
+ };
16
+ };
17
+ };
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ export declare const GroupMinWidth: {
3
+ (): React.JSX.Element;
4
+ parameters: {
5
+ chromatic: {
6
+ viewports: number[];
7
+ };
8
+ };
9
+ };
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import DescriptionList from "../DescriptionList";
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof DescriptionList;
6
+ };
7
+ export default _default;
8
+ export declare const Inline: () => React.JSX.Element;
9
+ export declare const Stacked: () => React.JSX.Element;
10
+ export declare const Auto: {
11
+ (): React.JSX.Element;
12
+ parameters: {
13
+ chromatic: {
14
+ viewports: number[];
15
+ };
16
+ };
17
+ };
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ export declare const Playground: {
3
+ (): React.JSX.Element;
4
+ parameters: {
5
+ chromatic: {
6
+ disable: boolean;
7
+ };
8
+ };
9
+ };
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import DescriptionList from "../DescriptionList";
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof DescriptionList;
6
+ };
7
+ export default _default;
8
+ export declare const Density: () => React.JSX.Element;
9
+ export declare const FontSize: () => React.JSX.Element;
10
+ export declare const LineHeight: () => React.JSX.Element;
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import DescriptionList from "../DescriptionList";
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof DescriptionList;
6
+ };
7
+ export default _default;
8
+ export declare const ColumnSpanning: () => React.JSX.Element;
9
+ export declare const RowSpanning: () => React.JSX.Element;
10
+ export declare const ColumnAndRowSpanning: () => React.JSX.Element;
@@ -0,0 +1,8 @@
1
+ import DescriptionList from "../DescriptionList";
2
+ declare const _default: {
3
+ title: string;
4
+ component: typeof DescriptionList;
5
+ };
6
+ export default _default;
7
+ export { GroupMinWidth } from "./DescriptionList.group-min-width.story";
8
+ export { Playground } from "./DescriptionList.playground.story";
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ export declare const OutlinedDt: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, never>, "ref"> & {
3
+ ref?: React.Ref<HTMLElement>;
4
+ }, {
5
+ $outlined: boolean;
6
+ $highlighted?: boolean;
7
+ }>> & string;
8
+ export declare const OutlinedDd: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, never>, "ref"> & {
9
+ ref?: React.Ref<HTMLElement>;
10
+ }, {
11
+ $outlined: boolean;
12
+ $highlighted?: boolean;
13
+ }>> & string;
14
+ export declare const DashedBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<(Record<string, unknown> & {
15
+ children?: React.ReactNode;
16
+ }) | (Omit<Record<string, unknown>, "ref"> & React.RefAttributes<React.Component<Record<string, unknown>, any, any>>), import("styled-components/dist/types").BaseObject>> & string & (Omit<React.ComponentClass<Record<string, unknown>, any>, keyof React.Component<any, {}, any>> | Omit<React.FunctionComponent<Record<string, unknown>>, keyof React.Component<any, {}, any>>);
17
+ export declare const SampleContent: () => React.JSX.Element;
@@ -1,8 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import type { TextProps } from "../Type";
3
- declare const DropdownText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("react").HTMLAttributes<HTMLParagraphElement> | "inline" | "disabled" | "textTransform" | keyof import("../StyledProps").StyledProps> & import("react").HTMLAttributes<HTMLParagraphElement> & {
3
+ declare const DropdownText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("react").HTMLAttributes<HTMLParagraphElement> | "inline" | "compact" | "disabled" | "textTransform" | keyof import("../StyledProps").StyledProps> & import("react").HTMLAttributes<HTMLParagraphElement> & {
4
4
  variant?: import("../NDSProvider/ComponentVariantContext").ComponentVariant;
5
5
  inline?: boolean;
6
+ compact?: boolean;
6
7
  disabled?: boolean;
7
8
  textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase";
8
9
  fontSize?: string;
@@ -1,7 +1,8 @@
1
1
  /// <reference types="react" />
2
- declare const HelpText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("react").HTMLAttributes<HTMLParagraphElement> | "inline" | "disabled" | "textTransform" | keyof import("..").StyledProps> & import("react").HTMLAttributes<HTMLParagraphElement> & {
2
+ declare const HelpText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("react").HTMLAttributes<HTMLParagraphElement> | "inline" | "compact" | "disabled" | "textTransform" | keyof import("..").StyledProps> & import("react").HTMLAttributes<HTMLParagraphElement> & {
3
3
  variant?: import("../NDSProvider/ComponentVariantContext").ComponentVariant;
4
4
  inline?: boolean;
5
+ compact?: boolean;
5
6
  disabled?: boolean;
6
7
  textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase";
7
8
  fontSize?: string;
@@ -14,7 +14,7 @@ export type SidebarProps = Omit<AnimatedBoxProps, "width"> & {
14
14
  triggerRef?: RefObject<HTMLInputElement | HTMLButtonElement>;
15
15
  duration?: number;
16
16
  closeOnOutsideClick?: boolean;
17
- overlay?: boolean;
17
+ overlay?: boolean | "show" | "hide" | "transparent";
18
18
  disableScroll?: boolean;
19
19
  hideCloseButton?: boolean;
20
20
  width?: SidebarWidth;
@@ -1,10 +1,9 @@
1
1
  import { IconName } from "@nulogy/icons";
2
2
  import React, { ComponentProps } from "react";
3
3
  import { TileLink } from "../TopBar.styled";
4
- interface MenuItemLinkProps extends ComponentProps<typeof TileLink> {
4
+ export interface MenuItemLinkProps extends ComponentProps<typeof TileLink> {
5
5
  title: string;
6
6
  description?: string;
7
7
  icon: IconName;
8
8
  }
9
9
  export declare function MenuItemLink({ description, title, icon, ...props }: MenuItemLinkProps): React.JSX.Element;
10
- export {};
@@ -1 +1,2 @@
1
1
  export { TopBar } from "./TopBar";
2
+ export type { MenuItemLinkProps } from "./components/MenuItemLink";
@@ -1,8 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { TextProps } from "./Text";
3
- export declare const Heading1: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("react").HTMLAttributes<HTMLParagraphElement> | "inline" | "disabled" | "textTransform" | keyof import("../StyledProps").StyledProps> & import("react").HTMLAttributes<HTMLParagraphElement> & {
3
+ export declare const Heading1: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("react").HTMLAttributes<HTMLParagraphElement> | "inline" | "compact" | "disabled" | "textTransform" | keyof import("../StyledProps").StyledProps> & import("react").HTMLAttributes<HTMLParagraphElement> & {
4
4
  variant?: import("../NDSProvider/ComponentVariantContext").ComponentVariant;
5
5
  inline?: boolean;
6
+ compact?: boolean;
6
7
  disabled?: boolean;
7
8
  textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase";
8
9
  fontSize?: string;
@@ -11,9 +12,10 @@ export declare const Heading1: import("styled-components/dist/types").IStyledCom
11
12
  }, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
12
13
  ref?: import("react").Ref<HTMLHeadingElement>;
13
14
  }>, never>, TextProps>> & string;
14
- export declare const Heading2: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("react").HTMLAttributes<HTMLParagraphElement> | "inline" | "disabled" | "textTransform" | keyof import("../StyledProps").StyledProps> & import("react").HTMLAttributes<HTMLParagraphElement> & {
15
+ export declare const Heading2: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("react").HTMLAttributes<HTMLParagraphElement> | "inline" | "compact" | "disabled" | "textTransform" | keyof import("../StyledProps").StyledProps> & import("react").HTMLAttributes<HTMLParagraphElement> & {
15
16
  variant?: import("../NDSProvider/ComponentVariantContext").ComponentVariant;
16
17
  inline?: boolean;
18
+ compact?: boolean;
17
19
  disabled?: boolean;
18
20
  textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase";
19
21
  fontSize?: string;
@@ -22,9 +24,10 @@ export declare const Heading2: import("styled-components/dist/types").IStyledCom
22
24
  }, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
23
25
  ref?: import("react").Ref<HTMLHeadingElement>;
24
26
  }>, never>, never>> & string;
25
- export declare const Heading3: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("react").HTMLAttributes<HTMLParagraphElement> | "inline" | "disabled" | "textTransform" | keyof import("../StyledProps").StyledProps> & import("react").HTMLAttributes<HTMLParagraphElement> & {
27
+ export declare const Heading3: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("react").HTMLAttributes<HTMLParagraphElement> | "inline" | "compact" | "disabled" | "textTransform" | keyof import("../StyledProps").StyledProps> & import("react").HTMLAttributes<HTMLParagraphElement> & {
26
28
  variant?: import("../NDSProvider/ComponentVariantContext").ComponentVariant;
27
29
  inline?: boolean;
30
+ compact?: boolean;
28
31
  disabled?: boolean;
29
32
  textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase";
30
33
  fontSize?: string;
@@ -33,9 +36,10 @@ export declare const Heading3: import("styled-components/dist/types").IStyledCom
33
36
  }, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & {
34
37
  ref?: import("react").Ref<HTMLHeadingElement>;
35
38
  }>, never>, never>> & string;
36
- export declare const Heading4: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("react").HTMLAttributes<HTMLParagraphElement> | "inline" | "disabled" | "textTransform" | keyof import("../StyledProps").StyledProps> & import("react").HTMLAttributes<HTMLParagraphElement> & {
39
+ export declare const Heading4: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, keyof import("react").HTMLAttributes<HTMLParagraphElement> | "inline" | "compact" | "disabled" | "textTransform" | keyof import("../StyledProps").StyledProps> & import("react").HTMLAttributes<HTMLParagraphElement> & {
37
40
  variant?: import("../NDSProvider/ComponentVariantContext").ComponentVariant;
38
41
  inline?: boolean;
42
+ compact?: boolean;
39
43
  disabled?: boolean;
40
44
  textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase";
41
45
  fontSize?: string;
@@ -4,6 +4,7 @@ import { StyledProps } from "../StyledProps";
4
4
  export type TextProps = React.HTMLAttributes<HTMLParagraphElement> & {
5
5
  variant?: ComponentVariant;
6
6
  inline?: boolean;
7
+ compact?: boolean;
7
8
  disabled?: boolean;
8
9
  textTransform?: "none" | "inherit" | "initial" | "-moz-initial" | "revert" | "unset" | "capitalize" | "full-size-kana" | "full-width" | "lowercase" | "uppercase" | undefined;
9
10
  fontSize?: string;
@@ -15,7 +15,8 @@ export { Card, CardSet } from "./Card";
15
15
  export { Checkbox, CheckboxGroup } from "./Checkbox";
16
16
  export { DatePicker, MonthPicker, WeekPicker } from "./DatePickers";
17
17
  export { DateRange } from "./DateRange";
18
- export { DescriptionDetails, DescriptionList, DescriptionTerm } from "./DescriptionList";
18
+ export { DescriptionList, DescriptionDetails, DescriptionGroup, DescriptionTerm } from "./DescriptionList";
19
+ export type { DescriptionListProps } from "./DescriptionList";
19
20
  export { Divider } from "./Divider";
20
21
  export { DropdownButton, DropdownItem, DropdownLink, DropdownMenu, DropdownText } from "./DropdownMenu";
21
22
  export { FieldLabel, HelpText, RequirementText } from "./FieldLabel";
@@ -56,6 +57,7 @@ export { toast, ToastContainer } from "./ToastContainer";
56
57
  export { Toggle } from "./Toggle";
57
58
  export { Tooltip } from "./Tooltip";
58
59
  export { TopBar } from "./TopBar";
60
+ export type { MenuItemLinkProps } from "./TopBar";
59
61
  export { TruncatedText } from "./TruncatedText";
60
62
  export { Heading1, Heading2, Heading3, Heading4, Text } from "./Type";
61
63
  export type { TextProps } from "./Type";
@@ -104,7 +104,7 @@ interface Radii {
104
104
  medium: string;
105
105
  large: string;
106
106
  circle: string;
107
- pill: string;
107
+ rounded: string;
108
108
  }
109
109
  export interface Breakpoints {
110
110
  extraSmall: string;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * A styled component for displaying code in a storybook.
4
+ *
5
+ * @example
6
+ * <Code>const code = "console.log('Hello, world!');";</Code>
7
+ */
8
+ export declare const Code: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ interface ResizableProps {
3
+ children: React.ReactNode;
4
+ containerWidth?: string;
5
+ onResize?: (width: number) => void;
6
+ showContainerOutline?: boolean;
7
+ }
8
+ export declare const Resizable: ({ children, containerWidth, onResize, showContainerOutline, }: ResizableProps) => React.JSX.Element;
9
+ export declare const WidthText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "compact" | "inline" | "disabled" | "textTransform" | keyof React.HTMLAttributes<HTMLParagraphElement> | keyof import("../..").StyledProps> & React.HTMLAttributes<HTMLParagraphElement> & {
10
+ variant?: import("../../NDSProvider/ComponentVariantContext").ComponentVariant;
11
+ inline?: boolean;
12
+ compact?: boolean;
13
+ disabled?: boolean;
14
+ textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "full-width" | "capitalize" | "full-size-kana" | "lowercase" | "uppercase";
15
+ fontSize?: string;
16
+ } & import("../..").StyledProps & import("framer-motion").MotionProps, "ref"> & React.RefAttributes<HTMLElement | SVGElement>, never>> & string & Omit<import("framer-motion").CustomDomComponent<import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, import("../../Type").TextProps>>, keyof React.Component<any, {}, any>>;
17
+ export declare const ResizeHandle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
18
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nulogy/components",
3
- "version": "13.5.1",
3
+ "version": "14.0.0",
4
4
  "description": "Component library for the Nulogy Design System - http://nulogy.design",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -129,6 +129,7 @@
129
129
  "plop": "^2.4.0",
130
130
  "prettier": "^3.4.2",
131
131
  "react": "17.0.2",
132
+ "re-resizable": "^6.10.3",
132
133
  "react-color": "^2.18.1",
133
134
  "react-dom": "17.0.2",
134
135
  "react-router-dom": "^5.2.0",
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const DescriptionDetails: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
@@ -1,14 +0,0 @@
1
- import React from "react";
2
- import { DescriptionList } from ".";
3
- declare const _default: {
4
- title: string;
5
- component: typeof DescriptionList;
6
- };
7
- export default _default;
8
- export declare function Layout(): React.JSX.Element;
9
- export declare function Density(): React.JSX.Element;
10
- export declare function FontSize(): React.JSX.Element;
11
- export declare function Divider(): React.JSX.Element;
12
- export declare function AutoLayoutCustomBreakpoint(): React.JSX.Element;
13
- export declare function CustomDescriptionTermWidth(): React.JSX.Element;
14
- export declare function CombinedFeatures(): React.JSX.Element;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const DescriptionTerm: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;