@australiangreens/ag-internal-components 0.2.3 → 0.3.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.
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/components/AuthGuard/AuthGuard.d.ts.map +1 -1
- package/dist/components/SessionExpiryDialog/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -3
- package/dist/components/index.d.ts.map +1 -1
- package/dist/esm/index.js +796 -989
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/testing/wrappers.d.ts.map +1 -1
- package/package.json +9 -22
- package/dist/components/NavBar/NavBar.comp.test.d.ts +0 -2
- package/dist/components/NavBar/NavBar.comp.test.d.ts.map +0 -1
- package/dist/components/NavBar/NavBar.d.ts +0 -22
- package/dist/components/NavBar/NavBar.d.ts.map +0 -1
- package/dist/components/NavBar/NavBarContext.d.ts +0 -17
- package/dist/components/NavBar/NavBarContext.d.ts.map +0 -1
- package/dist/components/NavBar/NavBarDarkStyledList.d.ts +0 -3
- package/dist/components/NavBar/NavBarDarkStyledList.d.ts.map +0 -1
- package/dist/components/NavBar/NavBarLightStyledList.d.ts +0 -3
- package/dist/components/NavBar/NavBarLightStyledList.d.ts.map +0 -1
- package/dist/components/NavBar/NavBarLink.d.ts +0 -16
- package/dist/components/NavBar/NavBarLink.d.ts.map +0 -1
- package/dist/components/NavBar/NavBarLink.unit.test.d.ts +0 -2
- package/dist/components/NavBar/NavBarLink.unit.test.d.ts.map +0 -1
- package/dist/components/NavBar/Styling.d.ts +0 -16
- package/dist/components/NavBar/Styling.d.ts.map +0 -1
- package/dist/components/NavBar/index.d.ts +0 -9
- package/dist/components/NavBar/index.d.ts.map +0 -1
- package/dist/components/NavBar/index.stories.d.ts +0 -7
- package/dist/components/NavBar/index.stories.d.ts.map +0 -1
- package/dist/components/NavBar/testWrappers.d.ts +0 -6
- package/dist/components/NavBar/testWrappers.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrappers.d.ts","sourceRoot":"","sources":["../../src/testing/wrappers.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAY,YAAY,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"wrappers.d.ts","sourceRoot":"","sources":["../../src/testing/wrappers.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAY,YAAY,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAY1C;;;;;;;GAOG;AAEH,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;CAQpB,CAAC;AAEF,KAAK,cAAc,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC;AAE3D,KAAK,gBAAgB,GAAG,MAAM,OAAO,eAAe,CAAC;AAErD,KAAK,eAAe,CAAC,CAAC,SAAS,gBAAgB,IAAI,UAAU,CAC3D,OAAO,YAAY,CAAC,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,CACjD,CAAC;AAEF,KAAK,UAAU,GAAG;KAAG,CAAC,IAAI,gBAAgB,GAAG,eAAe,CAAC,CAAC,CAAC;CAAE,CAAC;AAElE,eAAO,MAAM,gBAAgB,qCAE3B,CAAC;AAEH,eAAO,MAAM,YAAY,GAAI,CAAC,EAAG,8BAG9B,iBAAiB,CAAC;IAAE,aAAa,EAAE,cAAc,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC,4CAGzD,CAAC;AAEF,eAAO,MAAM,oBAAoB,mEAgBhC,CAAC;AAEF,eAAO,MAAM,eAAe,qCAG1B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@australiangreens/ag-internal-components",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://github.com/australiangreens/ag-internal-components#readme",
|
|
7
7
|
"license": "MIT",
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"dev": "vite",
|
|
15
15
|
"build": "vite build && sh ./scripts/post-build.sh",
|
|
16
16
|
"preview": "vite preview",
|
|
17
|
-
"
|
|
18
|
-
"checkall": "pnpm
|
|
17
|
+
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
|
|
18
|
+
"checkall": "pnpm lint && pnpm tsc",
|
|
19
19
|
"test": "vitest run",
|
|
20
20
|
"test:coverage": "vitest run --coverage",
|
|
21
21
|
"test:watch": "vitest",
|
|
22
22
|
"### LIFECYCLE SCRIPTS ###": "",
|
|
23
23
|
"prepare": "husky",
|
|
24
|
-
"prepublishOnly": "pnpm
|
|
24
|
+
"prepublishOnly": "pnpm lint && pnpm test && pnpm build",
|
|
25
25
|
"### HUSKY GIT HOOKS ###": "Called by husky pre-commit and pre-push scripts",
|
|
26
26
|
"prepush": "sh ./scripts/githooks/pre-push.sh",
|
|
27
27
|
"precommit": "sh ./scripts/githooks/pre-commit.sh",
|
|
@@ -68,14 +68,15 @@
|
|
|
68
68
|
"react-dom": "^19.1.1"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
+
"@australiangreens/eslint-plugin-ag-internal": "^0.3.4",
|
|
71
72
|
"@auth0/auth0-react": "^2.5.0",
|
|
72
73
|
"@auth0/auth0-spa-js": "^2.4.1",
|
|
73
74
|
"@emotion/react": "^11.14.0",
|
|
74
75
|
"@emotion/styled": "^11.14.1",
|
|
75
76
|
"@mui/icons-material": "^7.3.2",
|
|
76
77
|
"@mui/material": "^7.3.2",
|
|
77
|
-
"
|
|
78
|
-
"@storybook/addon-
|
|
78
|
+
"storybook": "^9.1.8",
|
|
79
|
+
"@storybook/addon-docs": "^9.1.10",
|
|
79
80
|
"@storybook/addon-links": "^9.1.8",
|
|
80
81
|
"@storybook/blocks": "^8.6.14",
|
|
81
82
|
"@storybook/react": "^9.1.8",
|
|
@@ -89,23 +90,10 @@
|
|
|
89
90
|
"@types/react": "^19.1.13",
|
|
90
91
|
"@types/react-dom": "^19.1.9",
|
|
91
92
|
"@types/react-test-renderer": "^19.1.0",
|
|
92
|
-
"@typescript-eslint/eslint-plugin": "^5.59.8",
|
|
93
|
-
"@typescript-eslint/parser": "^5.59.8",
|
|
94
93
|
"@vitejs/plugin-react": "^4.3.1",
|
|
95
94
|
"@vitejs/plugin-react-swc": "^3.7.0",
|
|
96
95
|
"@vitest/coverage-v8": "^3.2.4",
|
|
97
|
-
"eslint": "^
|
|
98
|
-
"eslint-config-airbnb-typescript": "^18.0.0",
|
|
99
|
-
"eslint-config-prettier": "^9.1.0",
|
|
100
|
-
"eslint-plugin-import": "^2.32.0",
|
|
101
|
-
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
102
|
-
"eslint-plugin-react": "^7.37.5",
|
|
103
|
-
"eslint-plugin-react-hooks": "^4.6.2",
|
|
104
|
-
"eslint-plugin-react-refresh": "^0.4.11",
|
|
105
|
-
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
106
|
-
"eslint-plugin-storybook": "^0.8.0",
|
|
107
|
-
"eslint-plugin-testing-library": "^6.3.0",
|
|
108
|
-
"eslint-plugin-tsdoc": "^0.3.0",
|
|
96
|
+
"eslint": "^9.36.0",
|
|
109
97
|
"happy-dom": "^18.0.1",
|
|
110
98
|
"husky": "^9.1.7",
|
|
111
99
|
"jest-extended": "^6.0.0",
|
|
@@ -114,7 +102,6 @@
|
|
|
114
102
|
"react": "^19.1.1",
|
|
115
103
|
"react-dom": "^19.1.1",
|
|
116
104
|
"react-router": "^7.9.2",
|
|
117
|
-
"storybook": "^9.1.8",
|
|
118
105
|
"typescript": "^5.9.2",
|
|
119
106
|
"vite": "^7.1.7",
|
|
120
107
|
"vite-plugin-dts": "^4.5.4",
|
|
@@ -128,7 +115,7 @@
|
|
|
128
115
|
}
|
|
129
116
|
},
|
|
130
117
|
"lint-staged": {
|
|
131
|
-
"src/**/*.{js,jsx,ts,tsx}": "
|
|
118
|
+
"src/**/*.{js,jsx,ts,tsx}": "pnpm lint"
|
|
132
119
|
},
|
|
133
120
|
"eslintConfig": {
|
|
134
121
|
"extends": [
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NavBar.comp.test.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavBar.comp.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
export { NAVBAR_WIDTH_OPENED, NAVBAR_WIDTH_CLOSED } from './Styling';
|
|
3
|
-
export type NavbarProps = {
|
|
4
|
-
/** Set the datatest-id on the root element for using reactdom's getByTestId()
|
|
5
|
-
* function */
|
|
6
|
-
'data-testid'?: string;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* A (currently uncontrolled) styled navigation bar wth a context provider to
|
|
10
|
-
* retrieve its current open/closed state. At this point in time its pretty
|
|
11
|
-
* unopinionated, it just renders whatever children it is given. THe
|
|
12
|
-
* NavBarDarkStyledList component can be used for consistent styling against the
|
|
13
|
-
* background. We'll be changing the way we use NavBars soon anyway, so not much
|
|
14
|
-
* point solidying the patterns yet.
|
|
15
|
-
*/
|
|
16
|
-
export default function NavBar({ 'data-testid': dataTestId, children, }: PropsWithChildren<NavbarProps>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export * from './NavBarContext';
|
|
18
|
-
export * from './testWrappers';
|
|
19
|
-
export * from './NavBarDarkStyledList';
|
|
20
|
-
export * from './NavBarLightStyledList';
|
|
21
|
-
export { classes as navBarClasses } from './Styling';
|
|
22
|
-
//# sourceMappingURL=NavBar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NavBar.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAM1C,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAErE,MAAM,MAAM,WAAW,GAAG;IACxB;kBACc;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAQF;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,aAAa,EAAE,UAAU,EACzB,QAAQ,GACT,EAAE,iBAAiB,CAAC,WAAW,CAAC,2CAiBhC;AAED,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAE/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AAGxC,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
export type NavBarState = {
|
|
3
|
-
open: boolean;
|
|
4
|
-
};
|
|
5
|
-
export type NavBarActions = {
|
|
6
|
-
setOpen: (newVal: boolean) => void;
|
|
7
|
-
toggleOpen: () => void;
|
|
8
|
-
};
|
|
9
|
-
type NavBarContext = NavBarState & NavBarActions;
|
|
10
|
-
type NavBarProviderProps = {
|
|
11
|
-
overrideState?: Partial<NavBarState>;
|
|
12
|
-
overrideActions?: Partial<NavBarActions>;
|
|
13
|
-
};
|
|
14
|
-
export declare const NavBarProvider: ({ overrideState, overrideActions, children, }: PropsWithChildren<NavBarProviderProps>) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export declare const useNavBar: () => NavBarContext;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=NavBarContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NavBarContext.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavBarContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,iBAAiB,EAAqC,MAAM,OAAO,CAAC;AAG5F,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEF,KAAK,aAAa,GAAG,WAAW,GAAG,aAAa,CAAC;AAIjD,KAAK,mBAAmB,GAAG;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IACrC,eAAe,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;CAC1C,CAAC;AAMF,eAAO,MAAM,cAAc,GAAI,+CAI5B,iBAAiB,CAAC,mBAAmB,CAAC,4CAoBxC,CAAC;AAEF,eAAO,MAAM,SAAS,qBAQrB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NavBarDarkStyledList.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavBarDarkStyledList.tsx"],"names":[],"mappings":"AACA,OAAO,IAAmB,MAAM,oBAAoB,CAAC;AAIrD,eAAO,MAAM,oBAAoB,EA8C1B,OAAO,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NavBarLightStyledList.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavBarLightStyledList.tsx"],"names":[],"mappings":"AACA,OAAO,IAAmB,MAAM,oBAAoB,CAAC;AAIrD,eAAO,MAAM,qBAAqB,EA8C3B,OAAO,IAAI,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
type BaseNavLink = {
|
|
3
|
-
label: string;
|
|
4
|
-
onClick?: () => void;
|
|
5
|
-
to?: string;
|
|
6
|
-
closeOnSmallScreen?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
};
|
|
9
|
-
type NavLink = BaseNavLink & {
|
|
10
|
-
icon: ReactNode;
|
|
11
|
-
subMenu?: BaseNavLink[];
|
|
12
|
-
subMenuInitialOpen?: boolean;
|
|
13
|
-
};
|
|
14
|
-
export default function NavBarLink({ label, to, icon, subMenu, subMenuInitialOpen, onClick: handleClick, closeOnSmallScreen, disabled, }: NavLink): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=NavBarLink.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NavBarLink.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavBarLink.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAC;AAIvD,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AACF,KAAK,OAAO,GAAG,WAAW,GAAG;IAC3B,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;IACxB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,KAAK,EACL,EAAE,EACF,IAAI,EACJ,OAAO,EACP,kBAAkB,EAClB,OAAO,EAAE,WAAW,EACpB,kBAAkB,EAClB,QAAgB,GACjB,EAAE,OAAO,2CA2ET"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NavBarLink.unit.test.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavBarLink.unit.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { StyledComponent } from '@emotion/styled';
|
|
2
|
-
import { BoxProps, DrawerProps } from '@mui/material';
|
|
3
|
-
export declare const NAVBAR_WIDTH_OPENED = 330;
|
|
4
|
-
export declare const NAVBAR_WIDTH_CLOSED = 73;
|
|
5
|
-
export declare const classes: {
|
|
6
|
-
root: string;
|
|
7
|
-
menuButton: string;
|
|
8
|
-
hide: string;
|
|
9
|
-
content: string;
|
|
10
|
-
userInfoHolder: string;
|
|
11
|
-
settings: string;
|
|
12
|
-
pieChartIcon: string;
|
|
13
|
-
};
|
|
14
|
-
export declare const Root: StyledComponent<BoxProps>;
|
|
15
|
-
export declare const NavDrawer: StyledComponent<DrawerProps>;
|
|
16
|
-
//# sourceMappingURL=Styling.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Styling.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/Styling.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAO,QAAQ,EAAU,WAAW,EAAE,MAAM,eAAe,CAAC;AAEnE,eAAO,MAAM,mBAAmB,MAAM,CAAC;AACvC,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAItC,eAAO,MAAM,OAAO;;;;;;;;CAQnB,CAAC;AAIF,eAAO,MAAM,IAAI,EAAE,eAAe,CAAC,QAAQ,CAyBxC,CAAC;AA2BJ,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,WAAW,CAehD,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './NavBar';
|
|
2
|
-
export { default } from './NavBar';
|
|
3
|
-
export * from './NavBarContext';
|
|
4
|
-
export * from './testWrappers';
|
|
5
|
-
export * from './NavBarDarkStyledList';
|
|
6
|
-
export * from './NavBarLightStyledList';
|
|
7
|
-
export * from './NavBarLink';
|
|
8
|
-
export { classes as navBarClasses } from './Styling';
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAE/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AAExC,cAAc,cAAc,CAAC;AAG7B,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { default as NavBar } from '.';
|
|
3
|
-
declare const meta: Meta<typeof NavBar>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const WithContent: Story;
|
|
7
|
-
//# sourceMappingURL=index.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/index.stories.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,MAAgD,MAAM,GAAG,CAAC;AAIjE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CA8CC,CAAC;AAEhC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAyCnC,eAAO,MAAM,WAAW,EAAE,KASzB,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { NavBarActions, NavBarState } from './NavBarContext';
|
|
2
|
-
export type Builder<T> = (overrides?: Partial<T>) => T;
|
|
3
|
-
export declare const buildNavBarState: Builder<NavBarState>;
|
|
4
|
-
export declare const withNavBarProvider: import('souvlaki').SimpleHelper<[state?: Partial<NavBarState> | undefined, actions?: Partial<NavBarActions> | undefined]>;
|
|
5
|
-
export declare const withBrowserRouter: import('souvlaki').SimpleHelper<[]>;
|
|
6
|
-
//# sourceMappingURL=testWrappers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"testWrappers.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/testWrappers.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAkB,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE7E,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AAEvD,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,WAAW,CAGhD,CAAC;AAEH,eAAO,MAAM,kBAAkB,2HAS9B,CAAC;AAEF,eAAO,MAAM,iBAAiB,qCAE5B,CAAC"}
|