@nulogy/components 14.0.0 → 14.1.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.
@@ -6,22 +6,22 @@ declare const Overlay: import("styled-components/dist/types").IStyledComponentBa
6
6
  ref?: import("react").Ref<HTMLDivElement>;
7
7
  }, "as" | keyof import("@reach/dialog/dist/declarations/src").DialogOverlayProps> & import("@reach/dialog/dist/declarations/src").DialogOverlayProps & {
8
8
  as?: "div";
9
- } & import("framer-motion").MotionProps, "ref"> & import("react").RefAttributes<HTMLElement | SVGElement>, never>> & string & Omit<import("framer-motion").CustomDomComponent<import("@reach/utils/dist/declarations/src/polymorphic").Merge<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
9
+ } & import("framer-motion").MotionProps, "ref"> & import("react").RefAttributes<HTMLElement | SVGElement>, never>> & string & Omit<import("framer-motion").CustomDomComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
10
10
  ref?: import("react").Ref<HTMLDivElement>;
11
- }, import("@reach/dialog/dist/declarations/src").DialogOverlayProps & {
11
+ }, "as" | keyof import("@reach/dialog/dist/declarations/src").DialogOverlayProps> & import("@reach/dialog/dist/declarations/src").DialogOverlayProps & {
12
12
  as?: "div";
13
- }>>, keyof import("react").Component<any, {}, any>>;
13
+ }>, keyof import("react").Component<any, {}, any>>;
14
14
  interface SheetProps extends DialogContentProps, AnimationProps, WidthProps, MaxWidthProps, HeightProps, MaxHeightProps, SpaceProps, LayoutProps {
15
15
  }
16
16
  declare const Sheet: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
17
17
  ref?: import("react").Ref<HTMLDivElement>;
18
- }, "as" | "children"> & DialogContentProps & {
18
+ }, "as" | "children"> & {
19
19
  as?: "div";
20
- } & import("framer-motion").MotionProps, "ref"> & import("react").RefAttributes<HTMLElement | SVGElement>, SheetProps>> & string & Omit<import("framer-motion").CustomDomComponent<import("@reach/utils/dist/declarations/src/polymorphic").Merge<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
20
+ } & import("framer-motion").MotionProps, "ref"> & import("react").RefAttributes<HTMLElement | SVGElement>, SheetProps>> & string & Omit<import("framer-motion").CustomDomComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
21
21
  ref?: import("react").Ref<HTMLDivElement>;
22
- }, DialogContentProps & {
22
+ }, "as" | "children"> & {
23
23
  as?: "div";
24
- }>>, keyof import("react").Component<any, {}, any>>;
24
+ }>, keyof import("react").Component<any, {}, any>>;
25
25
  declare const ContentContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
26
26
  declare const Footer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
27
27
  declare const Header: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -14,11 +14,11 @@ declare const Overlay: import("styled-components/dist/types").IStyledComponentBa
14
14
  ref?: import("react").Ref<HTMLDivElement>;
15
15
  }, "as" | keyof import("@reach/dialog/dist/declarations/src").DialogOverlayProps> & import("@reach/dialog/dist/declarations/src").DialogOverlayProps & {
16
16
  as?: "div";
17
- } & import("framer-motion").MotionProps, "ref"> & import("react").RefAttributes<HTMLElement | SVGElement>, never>> & string & Omit<import("framer-motion").CustomDomComponent<import("@reach/utils/dist/declarations/src/polymorphic").Merge<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
17
+ } & import("framer-motion").MotionProps, "ref"> & import("react").RefAttributes<HTMLElement | SVGElement>, never>> & string & Omit<import("framer-motion").CustomDomComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
18
18
  ref?: import("react").Ref<HTMLDivElement>;
19
- }, import("@reach/dialog/dist/declarations/src").DialogOverlayProps & {
19
+ }, "as" | keyof import("@reach/dialog/dist/declarations/src").DialogOverlayProps> & import("@reach/dialog/dist/declarations/src").DialogOverlayProps & {
20
20
  as?: "div";
21
- }>>, keyof import("react").Component<any, {}, any>>;
21
+ }>, keyof import("react").Component<any, {}, any>>;
22
22
  declare const TileLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
23
23
  declare const StyledMenuItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<{
24
24
  defaultChecked?: boolean;
@@ -13,6 +13,13 @@ export declare const WidthText: import("styled-components/dist/types").IStyledCo
13
13
  disabled?: boolean;
14
14
  textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "full-width" | "capitalize" | "full-size-kana" | "lowercase" | "uppercase";
15
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>>;
16
+ } & import("../..").StyledProps & import("framer-motion").MotionProps, "ref"> & React.RefAttributes<HTMLElement | SVGElement>, never>> & string & Omit<import("framer-motion").CustomDomComponent<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "compact" | "inline" | "disabled" | "textTransform" | keyof React.HTMLAttributes<HTMLParagraphElement> | keyof import("../..").StyledProps> & React.HTMLAttributes<HTMLParagraphElement> & {
17
+ variant?: import("../../NDSProvider/ComponentVariantContext").ComponentVariant;
18
+ inline?: boolean;
19
+ compact?: boolean;
20
+ disabled?: boolean;
21
+ textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "full-width" | "capitalize" | "full-size-kana" | "lowercase" | "uppercase";
22
+ fontSize?: string;
23
+ } & import("../..").StyledProps>, keyof React.Component<any, {}, any>>;
17
24
  export declare const ResizeHandle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
18
25
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nulogy/components",
3
- "version": "14.0.0",
3
+ "version": "14.1.0",
4
4
  "description": "Component library for the Nulogy Design System - http://nulogy.design",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -10,17 +10,18 @@
10
10
  "ci": "yarn && yarn build && yarn test && yarn run check",
11
11
  "new": "plop",
12
12
  "generate:theme": "npx tsx src/scripts/generateTheme.ts && prettier -w src/theme/theme.ts",
13
- "start": "concurrently \"yarn build --watch\" \"yarn start:storybook\"",
13
+ "start": "concurrently \"yarn build:watch\" \"yarn start:storybook\"",
14
14
  "start:cypress": "yarn concurrently --kill-others \"yarn start --ci\" \"yarn wait-on http://localhost:9999 && cypress open\"",
15
15
  "start:storybook": "start-storybook -p 9999",
16
16
  "clean:storybook": "rm -rf node_modules/.cache/storybook && rm -rf ./storybook-static",
17
17
  "build": "rollup -c",
18
+ "build:watch": "rollup -c --watch",
18
19
  "build:storybook": "build-storybook",
19
20
  "warn:prepush": "echo \"Make sure you also run all the other CI steps before pushing by running 'yarn ci'\"",
20
21
  "check": "yarn warn:prepush && yarn check:types && yarn check:lint && yarn check:format",
21
22
  "check:types": "tsc && cd cypress && tsc --noEmit",
22
23
  "check:lint": "eslint --config ./.eslintrc .'*/**/*.{js,ts,tsx}'",
23
- "check:format": "prettier -c .",
24
+ "check:format": "prettier -c --ignore-path .prettierignore-check .",
24
25
  "fix": "yarn fix:lint && yarn fix:format",
25
26
  "fix:lint": "yarn check:lint --fix",
26
27
  "fix:format": "prettier -w .",
@@ -87,7 +88,6 @@
87
88
  "@storybook/addon-toolbars": "^6.1.9",
88
89
  "@storybook/addon-viewport": "^6.1.9",
89
90
  "@storybook/codemod": "^6.1.9",
90
- "@storybook/react": "^6.3.12",
91
91
  "@storybook/theming": "^6.1.9",
92
92
  "@testing-library/jest-dom": "5.11.5",
93
93
  "@testing-library/react": "^12.1.5",
@@ -128,8 +128,8 @@
128
128
  "mockdate": "^3.0.2",
129
129
  "plop": "^2.4.0",
130
130
  "prettier": "^3.4.2",
131
- "react": "17.0.2",
132
131
  "re-resizable": "^6.10.3",
132
+ "react": "17.0.2",
133
133
  "react-color": "^2.18.1",
134
134
  "react-dom": "17.0.2",
135
135
  "react-router-dom": "^5.2.0",
@@ -154,6 +154,7 @@
154
154
  "@emotion/is-prop-valid": "^1.3.1",
155
155
  "@nulogy/tokens": "^5.4.0",
156
156
  "@reach/dialog": "0.17.0",
157
+ "@storybook/react": "6.3.12",
157
158
  "@styled-system/prop-types": "^5.1.4",
158
159
  "@styled-system/theme-get": "^5.1.2",
159
160
  "@types/react-window": "^1.8.8",
@@ -162,7 +163,7 @@
162
163
  "date-fns": "2.23.0",
163
164
  "debounce": "^1.2.0",
164
165
  "deep-equal": "^2.2.1",
165
- "framer-motion": "^3.1.3",
166
+ "framer-motion": "6.5.1",
166
167
  "i18next": "^19.3.1",
167
168
  "polished": "3.4.4",
168
169
  "react-datepicker": "^4.25.0",