@australiangreens/ag-internal-components 0.0.47 → 0.0.50
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/README.md +7 -0
- package/dist/DevApp.d.ts +2 -0
- package/dist/DevApp.d.ts.map +1 -0
- package/dist/DevDemo/DevDemo.d.ts +2 -0
- package/dist/DevDemo/DevDemo.d.ts.map +1 -0
- package/dist/DevDemo/DomainCodeDemo.d.ts +3 -0
- package/dist/DevDemo/DomainCodeDemo.d.ts.map +1 -0
- package/dist/DevDemo/ExampleComponentDemo.d.ts +2 -0
- package/dist/DevDemo/ExampleComponentDemo.d.ts.map +1 -0
- package/dist/DevDemo/NavBarContent.d.ts +2 -0
- package/dist/DevDemo/NavBarContent.d.ts.map +1 -0
- package/dist/DevDemo/SaladBarDemo.d.ts +2 -0
- package/dist/DevDemo/SaladBarDemo.d.ts.map +1 -0
- package/dist/DevDemo/SomeRandomDemo.d.ts +2 -0
- package/dist/DevDemo/SomeRandomDemo.d.ts.map +1 -0
- package/dist/DevDemo/SpecialPageDemo.d.ts +2 -0
- package/dist/DevDemo/SpecialPageDemo.d.ts.map +1 -0
- package/dist/DevDemo/index.d.ts +2 -0
- package/dist/DevDemo/index.d.ts.map +1 -0
- package/dist/components/AgDialog/index.d.ts +1 -1
- package/dist/components/AgDialog/index.d.ts.map +1 -1
- package/dist/components/ExampleComponent/index.comp.test.d.ts +2 -0
- package/dist/components/ExampleComponent/index.comp.test.d.ts.map +1 -0
- package/dist/components/ExampleComponent/index.d.ts +1 -1
- package/dist/components/ExampleComponent/index.d.ts.map +1 -1
- package/dist/components/ExampleComponent/index.stories.d.ts +11 -0
- package/dist/components/ExampleComponent/index.stories.d.ts.map +1 -0
- package/dist/components/NavBar/NavBarContext.d.ts +1 -1
- package/dist/components/NavBar/NavBarContext.d.ts.map +1 -1
- package/dist/components/NavBar/NavBarDarkStyledList.d.ts.map +1 -1
- package/dist/components/NavBar/NavBarLightStyledList.d.ts.map +1 -1
- package/dist/components/NavBar/Styling.d.ts.map +1 -1
- package/dist/components/NavBar/index.comp.test.d.ts +2 -0
- package/dist/components/NavBar/index.comp.test.d.ts.map +1 -0
- package/dist/components/NavBar/index.d.ts +1 -1
- package/dist/components/NavBar/index.d.ts.map +1 -1
- package/dist/components/NavBar/index.stories.d.ts +34 -0
- package/dist/components/NavBar/index.stories.d.ts.map +1 -0
- package/dist/components/NavBar/testWrappers.d.ts.map +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/devMain.d.ts +1 -0
- package/dist/devMain.d.ts.map +1 -0
- package/dist/domainCode/DomainCodeDialog.comp.test.d.ts +2 -0
- package/dist/domainCode/DomainCodeDialog.comp.test.d.ts.map +1 -0
- package/dist/domainCode/DomainCodeDialog.d.ts +1 -1
- package/dist/domainCode/DomainCodeDialog.d.ts.map +1 -1
- package/dist/domainCode/hooks.d.ts.map +1 -1
- package/dist/domainCode/index.d.ts.map +1 -1
- package/dist/errors/ContextError.d.ts.map +1 -1
- package/dist/errors/ContextError.unit.test.d.ts +2 -0
- package/dist/errors/ContextError.unit.test.d.ts.map +1 -0
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/layouts/AppLayout/AppLayout.comp.test.d.ts +2 -0
- package/dist/layouts/AppLayout/AppLayout.comp.test.d.ts.map +1 -0
- package/dist/layouts/AppLayout/AppLayout.d.ts +1 -1
- package/dist/layouts/AppLayout/AppLayout.d.ts.map +1 -1
- package/dist/layouts/AppLayout/NavBar/LinksMenu.d.ts +1 -1
- package/dist/layouts/AppLayout/NavBar/LinksMenu.d.ts.map +1 -1
- package/dist/layouts/AppLayout/NavBar/NavBar.comp.test.d.ts +2 -0
- package/dist/layouts/AppLayout/NavBar/NavBar.comp.test.d.ts.map +1 -0
- package/dist/layouts/AppLayout/NavBar/NavBar.d.ts +1 -1
- package/dist/layouts/AppLayout/NavBar/NavBar.d.ts.map +1 -1
- package/dist/layouts/AppLayout/NavBar/SettingsEtcPlaceholder.d.ts +1 -1
- package/dist/layouts/AppLayout/NavBar/SettingsEtcPlaceholder.d.ts.map +1 -1
- package/dist/layouts/AppLayout/NavBar/Styling.d.ts.map +1 -1
- package/dist/layouts/AppLayout/NavBar/UserInfo.d.ts +1 -1
- package/dist/layouts/AppLayout/NavBar/UserInfo.d.ts.map +1 -1
- package/dist/layouts/AppLayout/NavBar/index.d.ts.map +1 -1
- package/dist/layouts/AppLayout/NavBar/types.d.ts.map +1 -1
- package/dist/layouts/AppLayout/PageContainer.d.ts +1 -1
- package/dist/layouts/AppLayout/PageContainer.d.ts.map +1 -1
- package/dist/layouts/AppLayout/TopBar.comp.test.d.ts +2 -0
- package/dist/layouts/AppLayout/TopBar.comp.test.d.ts.map +1 -0
- package/dist/layouts/AppLayout/TopBar.d.ts +1 -1
- package/dist/layouts/AppLayout/TopBar.d.ts.map +1 -1
- package/dist/layouts/AppLayout/defaults.d.ts.map +1 -1
- package/dist/layouts/AppLayout/index.d.ts.map +1 -1
- package/dist/layouts/AppLayout/stateAtoms.d.ts.map +1 -1
- package/dist/layouts/PageLayout/PageContainer.d.ts +2 -2
- package/dist/layouts/PageLayout/PageContainer.d.ts.map +1 -1
- package/dist/layouts/PageLayout/PanelAwareMargins.d.ts.map +1 -1
- package/dist/layouts/PageLayout/SidePanel.comp.test.d.ts +2 -0
- package/dist/layouts/PageLayout/SidePanel.comp.test.d.ts.map +1 -0
- package/dist/layouts/PageLayout/SidePanel.d.ts +1 -1
- package/dist/layouts/PageLayout/SidePanel.d.ts.map +1 -1
- package/dist/layouts/PageLayout/TopBar.comp.test.d.ts +2 -0
- package/dist/layouts/PageLayout/TopBar.comp.test.d.ts.map +1 -0
- package/dist/layouts/PageLayout/TopBar.d.ts +1 -1
- package/dist/layouts/PageLayout/TopBar.d.ts.map +1 -1
- package/dist/layouts/PageLayout/index.comp.test.d.ts +2 -0
- package/dist/layouts/PageLayout/index.comp.test.d.ts.map +1 -0
- package/dist/layouts/PageLayout/index.d.ts +1 -1
- package/dist/layouts/PageLayout/index.d.ts.map +1 -1
- package/dist/layouts/PageLayout/index.stories.d.ts +76 -0
- package/dist/layouts/PageLayout/index.stories.d.ts.map +1 -0
- package/dist/layouts/index.d.ts.map +1 -1
- package/dist/providers/Atom/AtomProvider.d.ts +1 -1
- package/dist/providers/Atom/AtomProvider.d.ts.map +1 -1
- package/dist/providers/Atom/index.d.ts.map +1 -1
- package/dist/providers/SaladBar/SaladBarContext.d.ts +1 -1
- package/dist/providers/SaladBar/SaladBarContext.d.ts.map +1 -1
- package/dist/providers/SaladBar/defaults.d.ts.map +1 -1
- package/dist/providers/SaladBar/index.d.ts.map +1 -1
- package/dist/providers/SaladBar/testWrappers.d.ts.map +1 -1
- package/dist/providers/SaladBar/types.d.ts.map +1 -1
- package/dist/providers/SaladBar/useSaladBar.d.ts.map +1 -1
- package/dist/providers/index.d.ts.map +1 -1
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/wrappers.d.ts +1 -1
- package/dist/testing/wrappers.d.ts.map +1 -1
- package/dist/themes/fed21Theme.d.ts.map +1 -1
- package/dist/themes/index.d.ts.map +1 -1
- package/dist/themes/internalAgSystemsTheme.d.ts.map +1 -1
- package/dist/themes/types.d.ts.map +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/simpleHashCode.d.ts.map +1 -1
- package/package.json +22 -24
- package/dist/.gitignore +0 -0
package/README.md
CHANGED
|
@@ -25,3 +25,10 @@ If an app needs to customise the theme further via `createTheme()`, either do a
|
|
|
25
25
|
with](https://mui.com/material-ui/customization/theming/#createtheme-options-args-theme)
|
|
26
26
|
with `internalAgSystemsTheme` or just ensure all required properties in the
|
|
27
27
|
`AgCustomTheme` interface are provided.
|
|
28
|
+
|
|
29
|
+
## Move to React 18
|
|
30
|
+
|
|
31
|
+
As over v0.0.50 we have moved from React 17 to React 18 (also Node 16 to Node
|
|
32
|
+
18). This breaks the peer dependency compatibility with some of our older apps.
|
|
33
|
+
They will need be upgraded in the future to use newer versions, but for now can
|
|
34
|
+
only use v0.0.50 of this library.
|
package/dist/DevApp.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DevApp.d.ts","sourceRoot":"","sources":["../src/DevApp.tsx"],"names":[],"mappings":"AAMA,MAAM,CAAC,OAAO,UAAU,MAAM,4CAQ7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DevDemo.d.ts","sourceRoot":"","sources":["../../src/DevDemo/DevDemo.tsx"],"names":[],"mappings":"AAWA,MAAM,CAAC,OAAO,UAAU,OAAO,4CAsB9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DomainCodeDemo.d.ts","sourceRoot":"","sources":["../../src/DevDemo/DomainCodeDemo.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,cAAc,+CAiBnB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExampleComponentDemo.d.ts","sourceRoot":"","sources":["../../src/DevDemo/ExampleComponentDemo.tsx"],"names":[],"mappings":"AAQA,MAAM,CAAC,OAAO,UAAU,oBAAoB,4CAuI3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavBarContent.d.ts","sourceRoot":"","sources":["../../src/DevDemo/NavBarContent.tsx"],"names":[],"mappings":"AAeA,MAAM,CAAC,OAAO,UAAU,aAAa,4CA+EpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SaladBarDemo.d.ts","sourceRoot":"","sources":["../../src/DevDemo/SaladBarDemo.tsx"],"names":[],"mappings":"AAMA,MAAM,CAAC,OAAO,UAAU,YAAY,4CA0BnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SomeRandomDemo.d.ts","sourceRoot":"","sources":["../../src/DevDemo/SomeRandomDemo.tsx"],"names":[],"mappings":"AAmBA,MAAM,CAAC,OAAO,UAAU,cAAc,4CA+JrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpecialPageDemo.d.ts","sourceRoot":"","sources":["../../src/DevDemo/SpecialPageDemo.tsx"],"names":[],"mappings":"AA0DA,MAAM,CAAC,OAAO,UAAU,eAAe,4CAgKtC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/DevDemo/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -19,6 +19,6 @@ export type AgDialogProps = PropsWithChildren<{
|
|
|
19
19
|
* Standard dialog that will auto disable it's buttons while the primaryButton onClick function is pending.
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
|
-
declare const AgDialog: ({ isOpen, dialogTitle, children, maxWidth, primaryButton, secondaryButton, onClose: handleClose, }: AgDialogProps) => JSX.Element;
|
|
22
|
+
declare const AgDialog: ({ isOpen, dialogTitle, children, maxWidth, primaryButton, secondaryButton, onClose: handleClose, }: AgDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export default AgDialog;
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AgDialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAM3C,OAAO,EAAE,iBAAiB,EAAY,MAAM,OAAO,CAAC;AAEpD,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;CAC9F,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAAC;IAC5C,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,GAAG,UAAU,CAAC;IAC9B,aAAa,CAAC,EAAE,oBAAoB,CAAC;IACrC,eAAe,CAAC,EAAE,oBAAoB,CAAC;IACvC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC,CAAC;AAEH;;;GAGG;AACH,QAAA,MAAM,QAAQ,uGAQX,aAAa,4CAyCf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.comp.test.d.ts","sourceRoot":"","sources":["../../../src/components/ExampleComponent/index.comp.test.tsx"],"names":[],"mappings":""}
|
|
@@ -2,5 +2,5 @@ export interface ExampleComponentProps {
|
|
|
2
2
|
/** Test */
|
|
3
3
|
text: string;
|
|
4
4
|
}
|
|
5
|
-
export default function ExampleComponent({ text }: ExampleComponentProps): JSX.Element;
|
|
5
|
+
export default function ExampleComponent({ text }: ExampleComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ExampleComponent/index.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,qBAAqB;IACpC,WAAW;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,IAAI,EAAE,EAAE,qBAAqB,2CAyBvE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/react';
|
|
2
|
+
import ExampleComponent from '.';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
component: typeof ExampleComponent;
|
|
5
|
+
tags: string[];
|
|
6
|
+
};
|
|
7
|
+
export default meta;
|
|
8
|
+
type Story = StoryObj<typeof meta>;
|
|
9
|
+
export declare const FunText: Story;
|
|
10
|
+
export declare const NotFunText: Story;
|
|
11
|
+
//# sourceMappingURL=index.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../../src/components/ExampleComponent/index.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,gBAAgB,MAAM,GAAG,CAAC;AAGjC,QAAA,MAAM,IAAI;;;CAO+B,CAAC;AAE1C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAGnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAIxB,CAAC"}
|
|
@@ -11,7 +11,7 @@ type NavBarProviderProps = {
|
|
|
11
11
|
overrideState?: Partial<NavBarState>;
|
|
12
12
|
overrideActions?: Partial<NavBarActions>;
|
|
13
13
|
};
|
|
14
|
-
export declare const NavBarProvider: ({ overrideState, overrideActions, children, }: PropsWithChildren<NavBarProviderProps>) => JSX.Element;
|
|
14
|
+
export declare const NavBarProvider: ({ overrideState, overrideActions, children, }: PropsWithChildren<NavBarProviderProps>) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export declare const useNavBar: () => NavBarContext;
|
|
16
16
|
export {};
|
|
17
17
|
//# sourceMappingURL=NavBarContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavBarContext.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"NavBarContext.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavBarContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,iBAAiB,EAAyB,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,kDAIxB,kBAAkB,mBAAmB,CAAC,4CAoBxC,CAAC;AAEF,eAAO,MAAM,SAAS,qBAQrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavBarDarkStyledList.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"NavBarDarkStyledList.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavBarDarkStyledList.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,6FA8Cf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavBarLightStyledList.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"NavBarLightStyledList.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavBarLightStyledList.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,qBAAqB,6FA8ChB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styling.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"Styling.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/Styling.tsx"],"names":[],"mappings":";AAGA,eAAO,MAAM,mBAAmB,MAAM,CAAC;AACvC,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAItC,eAAO,MAAM,OAAO;;;;;;;;CAQnB,CAAC;AAEF,eAAO,MAAM,IAAI,wVAuBd,CAAC;AAyBJ,eAAO,MAAM,SAAS,kLAenB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.comp.test.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/index.comp.test.tsx"],"names":[],"mappings":""}
|
|
@@ -13,7 +13,7 @@ export type NavbarProps = {
|
|
|
13
13
|
* background. We'll be changing the way we use NavBars soon anyway, so not much
|
|
14
14
|
* point solidying the patterns yet.
|
|
15
15
|
*/
|
|
16
|
-
export default function NavBar({ 'data-testid': dataTestId, children, }: PropsWithChildren<NavbarProps>): JSX.Element;
|
|
16
|
+
export default function NavBar({ 'data-testid': dataTestId, children, }: PropsWithChildren<NavbarProps>): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
export * from './NavBarContext';
|
|
18
18
|
export * from './testWrappers';
|
|
19
19
|
export * from './NavBarDarkStyledList';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/index.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"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { StoryObj } from '@storybook/react';
|
|
3
|
+
import NavBar from '.';
|
|
4
|
+
declare const meta: {
|
|
5
|
+
component: typeof NavBar;
|
|
6
|
+
tags: string[];
|
|
7
|
+
decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
|
|
8
|
+
'data-testid'?: string | undefined;
|
|
9
|
+
children?: import("react").ReactNode;
|
|
10
|
+
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
11
|
+
argTypes: {
|
|
12
|
+
children: {
|
|
13
|
+
control: {
|
|
14
|
+
type: null;
|
|
15
|
+
};
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
parameters: {
|
|
20
|
+
controls: {
|
|
21
|
+
matchers: {
|
|
22
|
+
color: RegExp;
|
|
23
|
+
date: RegExp;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
docs: {
|
|
27
|
+
page: () => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default meta;
|
|
32
|
+
type Story = StoryObj<typeof meta>;
|
|
33
|
+
export declare const WithContent: Story;
|
|
34
|
+
//# sourceMappingURL=index.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/index.stories.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAUvD,OAAO,MAAgD,MAAM,GAAG,CAAC;AAEjE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAyCnC,eAAO,MAAM,WAAW,EAAE,KASzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testWrappers.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"testWrappers.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/testWrappers.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAkB,aAAa,EAAE,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,cAAc,oBAAoB,CAAC;AAEnC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,cAAc,UAAU,CAAC;AAEzB,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=devMain.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"devMain.d.ts","sourceRoot":"","sources":["../src/devMain.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DomainCodeDialog.comp.test.d.ts","sourceRoot":"","sources":["../../src/domainCode/DomainCodeDialog.comp.test.tsx"],"names":[],"mappings":""}
|
|
@@ -21,6 +21,6 @@ type Props = PropsWithChildren<{
|
|
|
21
21
|
applicationName: string;
|
|
22
22
|
handleLogout: () => void;
|
|
23
23
|
}>;
|
|
24
|
-
declare const DomainCodeDialog: ({ isLoading, isOpen, onClose: handleClose, domainOptions, applicationName, handleLogout, }: Props) => JSX.Element;
|
|
24
|
+
declare const DomainCodeDialog: ({ isLoading, isOpen, onClose: handleClose, domainOptions, applicationName, handleLogout, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
export default DomainCodeDialog;
|
|
26
26
|
//# sourceMappingURL=DomainCodeDialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DomainCodeDialog.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"DomainCodeDialog.d.ts","sourceRoot":"","sources":["../../src/domainCode/DomainCodeDialog.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAY,MAAM,OAAO,CAAC;AAKpD,QAAA,MAAM,kBAAkB;;;;;;;;;;;;CAYd,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,kBAAkB,CAAC;AAMzD,KAAK,KAAK,GAAG,iBAAiB,CAAC;IAC7B,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,UAAU,EAAE,CAAC;IAC5B,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC,CAAC;AAEH,QAAA,MAAM,gBAAgB,+FAOnB,KAAK,4CAwFP,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/domainCode/hooks.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,cAAc,sNAM1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/domainCode/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextError.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"ContextError.d.ts","sourceRoot":"","sources":["../../src/errors/ContextError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAGrD,qBAAa,YAAa,SAAQ,OAAO;IACvC,MAAM,CAAC,SAAS,SAAkB;CACnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextError.unit.test.d.ts","sourceRoot":"","sources":["../../src/errors/ContextError.unit.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppLayout.comp.test.d.ts","sourceRoot":"","sources":["../../../src/layouts/AppLayout/AppLayout.comp.test.tsx"],"names":[],"mappings":""}
|
|
@@ -32,6 +32,6 @@ export interface BaseAppLayoutProps {
|
|
|
32
32
|
domainCode?: NavBarProps['domainCode'];
|
|
33
33
|
}
|
|
34
34
|
type AppLayoutProps = PropsWithChildren<BaseAppLayoutProps>;
|
|
35
|
-
export default function AppLayout({ children, initialTitleText, initialNavBarOpen, pageContainerProps, pageContentDataTestId, topBarDataTestId, navBarDataTestId, navBarMiddle, user, domainCode, }: AppLayoutProps): JSX.Element;
|
|
35
|
+
export default function AppLayout({ children, initialTitleText, initialNavBarOpen, pageContainerProps, pageContentDataTestId, topBarDataTestId, navBarDataTestId, navBarMiddle, user, domainCode, }: AppLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
36
36
|
export {};
|
|
37
37
|
//# sourceMappingURL=AppLayout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppLayout.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"AppLayout.d.ts","sourceRoot":"","sources":["../../../src/layouts/AppLayout/AppLayout.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAa,MAAM,OAAO,CAAC;AAGrE,OAAe,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAW5C,MAAM,WAAW,kBAAkB;IACjC;wDACoD;IACpD,YAAY,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAEpC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;mBACe;IACf,kBAAkB,CAAC,EAAE,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC;IAE1D,kDAAkD;IAClD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,yDAAyD;IACzD,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B,sEAAsE;IACtE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;mCAC+B;IAC/B,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAE3B,oCAAoC;IACpC,UAAU,CAAC,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;CACxC;AAED,KAAK,cAAc,GAAG,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;AAE5D,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAChC,QAAQ,EACR,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,IAAI,EACJ,UAAU,GACX,EAAE,cAAc,2CAiDhB"}
|
|
@@ -2,5 +2,5 @@ import { NavBarLink } from './types';
|
|
|
2
2
|
export interface LinksMenuProps {
|
|
3
3
|
links: NavBarLink[];
|
|
4
4
|
}
|
|
5
|
-
export declare function LinksMenu({ links }: LinksMenuProps): JSX.Element;
|
|
5
|
+
export declare function LinksMenu({ links }: LinksMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=LinksMenu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinksMenu.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"LinksMenu.d.ts","sourceRoot":"","sources":["../../../../src/layouts/AppLayout/NavBar/LinksMenu.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,UAAU,EAAE,CAAC;CACrB;AAGD,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,EAAE,cAAc,2CAElD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavBar.comp.test.d.ts","sourceRoot":"","sources":["../../../../src/layouts/AppLayout/NavBar/NavBar.comp.test.tsx"],"names":[],"mappings":""}
|
|
@@ -43,5 +43,5 @@ export interface NavBarProps {
|
|
|
43
43
|
* just renders whatever children it is given. The NavBarLightStyledList
|
|
44
44
|
* component can be used for consistent styling against the background.
|
|
45
45
|
*/
|
|
46
|
-
export default function NavBar({ open, offsetTop, widthOpen, widthClosed, 'data-testid': dataTestId, top, middle, user, domainCode, }: NavBarProps): JSX.Element;
|
|
46
|
+
export default function NavBar({ open, offsetTop, widthOpen, widthClosed, 'data-testid': dataTestId, top, middle, user, domainCode, }: NavBarProps): import("react/jsx-runtime").JSX.Element;
|
|
47
47
|
//# sourceMappingURL=NavBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavBar.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"NavBar.d.ts","sourceRoot":"","sources":["../../../../src/layouts/AppLayout/NavBar/NavBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAG3C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAIjD,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,OAAO,CAAC;IAEd,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,SAAS,EAAE,MAAM,CAAC;IAElB,WAAW,EAAE,MAAM,CAAC;IAEpB;kBACc;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,6EAA6E;IAC7E,GAAG,CAAC,EAAE,SAAS,CAAC;IAEhB;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,MAAM,EAAE,SAAS,GAAG,UAAU,EAAE,CAAC;IAEjC,qEAAqE;IACrE,IAAI,CAAC,EAAE,IAAI,CAAC;IAEZ,0DAA0D;IAC1D,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,IAAI,EACJ,SAAa,EACb,SAAS,EACT,WAAW,EACX,aAAa,EAAE,UAAU,EACzB,GAAG,EACH,MAAM,EACN,IAAI,EACJ,UAAU,GACX,EAAE,WAAW,2CAsCb"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface SettingsEtcPlaceholderProps {
|
|
2
2
|
navBarOpen: boolean;
|
|
3
3
|
}
|
|
4
|
-
export default function SettingsEtcPlaceholder({ navBarOpen }: SettingsEtcPlaceholderProps): JSX.Element;
|
|
4
|
+
export default function SettingsEtcPlaceholder({ navBarOpen }: SettingsEtcPlaceholderProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export {};
|
|
6
6
|
//# sourceMappingURL=SettingsEtcPlaceholder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsEtcPlaceholder.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"SettingsEtcPlaceholder.d.ts","sourceRoot":"","sources":["../../../../src/layouts/AppLayout/NavBar/SettingsEtcPlaceholder.tsx"],"names":[],"mappings":"AAUA,UAAU,2BAA2B;IACnC,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAAE,UAAU,EAAE,EAAE,2BAA2B,2CA0CzF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Styling.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"Styling.d.ts","sourceRoot":"","sources":["../../../../src/layouts/AppLayout/NavBar/Styling.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAqB,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAKhE,eAAO,MAAM,OAAO;;;;;CAQnB,CAAC;AAEF,eAAO,MAAM,IAAI,yTAuBd,CAAC;AA+BJ,UAAU,cAAc;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,SAAS,oKAkBnB,CAAC"}
|
|
@@ -16,5 +16,5 @@ export interface UserInfoProps {
|
|
|
16
16
|
* If user is undefined or the name is undefined, a generic empty avatar image
|
|
17
17
|
* will be displayed.
|
|
18
18
|
*/
|
|
19
|
-
export default function UserInfo({ user, domainCode, open }: UserInfoProps): JSX.Element;
|
|
19
|
+
export default function UserInfo({ user, domainCode, open }: UserInfoProps): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
//# sourceMappingURL=UserInfo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserInfo.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"UserInfo.d.ts","sourceRoot":"","sources":["../../../../src/layouts/AppLayout/NavBar/UserInfo.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAe/B,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,IAAI,EAAE,OAAO,CAAC;CACf;AAED;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE,aAAa,2CAyEzE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/layouts/AppLayout/NavBar/index.tsx"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/layouts/AppLayout/NavBar/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,SAAS,CAAC;CAElB;AAED,MAAM,WAAW,IAAI;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,gCAAgC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -2,6 +2,6 @@ import { PropsWithChildren } from 'react';
|
|
|
2
2
|
interface PageContainerProps {
|
|
3
3
|
topBarHeight: number;
|
|
4
4
|
}
|
|
5
|
-
declare function PageContainer({ children, topBarHeight }: PropsWithChildren<PageContainerProps>): JSX.Element;
|
|
5
|
+
declare function PageContainer({ children, topBarHeight }: PropsWithChildren<PageContainerProps>): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default PageContainer;
|
|
7
7
|
//# sourceMappingURL=PageContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageContainer.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"PageContainer.d.ts","sourceRoot":"","sources":["../../../src/layouts/AppLayout/PageContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AA4B1C,UAAU,kBAAkB;IAC1B,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,iBAAS,aAAa,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,EAAE,iBAAiB,CAAC,kBAAkB,CAAC,2CAoBvF;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TopBar.comp.test.d.ts","sourceRoot":"","sources":["../../../src/layouts/AppLayout/TopBar.comp.test.tsx"],"names":[],"mappings":""}
|
|
@@ -11,5 +11,5 @@ export declare const classes: {
|
|
|
11
11
|
* the scroll bar will not appear for the whole page, instead just the page
|
|
12
12
|
* content
|
|
13
13
|
*/
|
|
14
|
-
export default function TopBar({ titleText, height, 'data-testid': dataTestId }: TopBarProps): JSX.Element;
|
|
14
|
+
export default function TopBar({ titleText, height, 'data-testid': dataTestId }: TopBarProps): import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
//# sourceMappingURL=TopBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["../../../src/layouts/AppLayout/TopBar.tsx"],"names":[],"mappings":"AAQA,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,OAAO;;CAEnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAAE,SAAc,EAAE,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,EAAE,WAAW,2CA+BhG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/layouts/AppLayout/defaults.tsx"],"names":[],"mappings":"AAiBA,eAAO,MAAM,4BAA4B,OAAO,CAAC;AAEjD,eAAO,MAAM,sBAAsB,KAAK,CAAC;AACzC,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAC/C,eAAO,MAAM,0BAA0B,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/AppLayout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,cAAc,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stateAtoms.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"stateAtoms.d.ts","sourceRoot":"","sources":["../../../src/layouts/AppLayout/stateAtoms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AASlC,eAAO,MAAM,cAAc;;CAAa,CAAC;AAEzC,eAAO,MAAM,mBAAmB;;CAAmC,CAAC;AAEpE,eAAO,MAAM,qBAAqB;;CAAqC,CAAC;AAExE,eAAO,MAAM,aAAa;;CAAW,CAAC;AAEtC,eAAO,MAAM,gBAAgB;;CAA+B,CAAC;AAG7D,eAAO,MAAM,aAAa;;CAA6B,CAAC"}
|
|
@@ -7,8 +7,8 @@ declare const PageContainer: import("@emotion/styled").StyledComponent<Pick<{
|
|
|
7
7
|
fixed?: boolean | undefined;
|
|
8
8
|
maxWidth?: false | import("@mui/material").Breakpoint | undefined;
|
|
9
9
|
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
10
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<
|
|
10
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
11
11
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
12
|
-
}, "
|
|
12
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "maxWidth" | "children" | "sx" | "fixed" | "disableGutters">, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "maxWidth" | "content" | "translate" | "children" | "sx" | "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "fixed" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
13
13
|
export default PageContainer;
|
|
14
14
|
//# sourceMappingURL=PageContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageContainer.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"PageContainer.d.ts","sourceRoot":"","sources":["../../../src/layouts/PageLayout/PageContainer.tsx"],"names":[],"mappings":";AAEA,0DAA0D;AAC1D,QAAA,MAAM,aAAa;;;;;;;;;0/JAMhB,CAAC;AAEJ,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PanelAwareMargins.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"PanelAwareMargins.d.ts","sourceRoot":"","sources":["../../../src/layouts/PageLayout/PanelAwareMargins.tsx"],"names":[],"mappings":";AAEA,UAAU,UAAU;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;CACf;AAED,UAAU,sBAAsB;IAC9B;yEACqE;IACrE,SAAS,CAAC,EAAE,UAAU,CAAC;IAEvB;yEACqE;IACrE,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAED;;iDAEiD;AACjD,QAAA,MAAM,iBAAiB,sPAuBpB,CAAC;AAEJ,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SidePanel.comp.test.d.ts","sourceRoot":"","sources":["../../../src/layouts/PageLayout/SidePanel.comp.test.tsx"],"names":[],"mappings":""}
|
|
@@ -21,6 +21,6 @@ type SidePanelProps = PropsWithChildren<{
|
|
|
21
21
|
* The SidePanel is designed to be used along with the TopBar component for a
|
|
22
22
|
* consistent look and feel.
|
|
23
23
|
*/
|
|
24
|
-
export default function SidePanel({ children, anchor, open, onClose, titleText, width, showCloseArrow, debugOpacity, headerBoxProps, onOpened, onClosed, 'data-testid': dataTestId, navBarOpen, navBarWidthOpen, navBarWidthClosed, }: SidePanelProps): JSX.Element;
|
|
24
|
+
export default function SidePanel({ children, anchor, open, onClose, titleText, width, showCloseArrow, debugOpacity, headerBoxProps, onOpened, onClosed, 'data-testid': dataTestId, navBarOpen, navBarWidthOpen, navBarWidthClosed, }: SidePanelProps): import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
export {};
|
|
26
26
|
//# sourceMappingURL=SidePanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidePanel.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"SidePanel.d.ts","sourceRoot":"","sources":["../../../src/layouts/PageLayout/SidePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAM,QAAQ,EAAsD,MAAM,eAAe,CAAC;AAGjG,eAAO,MAAM,mBAAmB,MAAM,CAAC;AA+EvC,KAAK,cAAc,GAAG,iBAAiB,CAAC;IACtC,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAChC,QAAQ,EACR,MAAe,EACf,IAAI,EACJ,OAAkB,EAClB,SAAc,EACd,KAA2B,EAC3B,cAAqB,EACrB,YAAoB,EACpB,cAAmB,EACnB,QAAQ,EACR,QAAQ,EACR,aAAa,EAAE,UAAU,EACzB,UAAkB,EAClB,eAAmB,EACnB,iBAAqB,GACtB,EAAE,cAAc,2CAgDhB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TopBar.comp.test.d.ts","sourceRoot":"","sources":["../../../src/layouts/PageLayout/TopBar.comp.test.tsx"],"names":[],"mappings":""}
|
|
@@ -27,6 +27,6 @@ export declare const classes: {
|
|
|
27
27
|
* that it has to interact with a sliding side panel that is not the main
|
|
28
28
|
* navbar.
|
|
29
29
|
*/
|
|
30
|
-
export default function TopBar({ titleText, leftPanel, rightPanel, 'data-testid': dataTestId, }: TopBarProps): JSX.Element;
|
|
30
|
+
export default function TopBar({ titleText, leftPanel, rightPanel, 'data-testid': dataTestId, }: TopBarProps): import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
export {};
|
|
32
32
|
//# sourceMappingURL=TopBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["../../../src/layouts/PageLayout/TopBar.tsx"],"names":[],"mappings":"AAQA,UAAU,UAAU;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,OAAO,CAAC;IAEvB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IAEpB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,OAAO;;;;;;;CAQnB,CAAC;AAoEF;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,SAAc,EACd,SAAS,EACT,UAAU,EACV,aAAa,EAAE,UAAU,GAC1B,EAAE,WAAW,2CAyCb"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.comp.test.d.ts","sourceRoot":"","sources":["../../../src/layouts/PageLayout/index.comp.test.tsx"],"names":[],"mappings":""}
|
|
@@ -55,6 +55,6 @@ export type PageLayoutProps = PropsWithChildren<PageLayoutWithNavBarProps | Page
|
|
|
55
55
|
* The end goal is to unify the left most NavBar component with the PageLayout,
|
|
56
56
|
* but this has to be done incrementally.
|
|
57
57
|
*/
|
|
58
|
-
export default function PageLayout({ children, titleText, leftPanel, rightPanel, sidePanelsAreMutuallyExclusive, debugOpacity, pageContainerProps, pageContentDataTestId, topBarDataTestId, navBarOpen, navBarWidthOpen, navBarWidthClosed, }: PageLayoutProps): JSX.Element;
|
|
58
|
+
export default function PageLayout({ children, titleText, leftPanel, rightPanel, sidePanelsAreMutuallyExclusive, debugOpacity, pageContainerProps, pageContentDataTestId, topBarDataTestId, navBarOpen, navBarWidthOpen, navBarWidthClosed, }: PageLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
59
59
|
export {};
|
|
60
60
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/PageLayout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAC;AAM1F,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAmB5C,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,uFAAuF;IACvF,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAEvC,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAEtB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAEtB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,mBAAmB;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,UAAU,CAAC,EAAE,cAAc,CAAC;IAE5B;gBACY;IACZ,8BAA8B,CAAC,EAAE,OAAO,CAAC;IAEzC,kCAAkC;IAClC,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,oFAAoF;IACpF,kBAAkB,CAAC,EAAE,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC;IAE1D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,UAAU,yBAA0B,SAAQ,mBAAmB;IAC7D,sDAAsD;IACtD,UAAU,EAAE,OAAO,CAAC;IACpB,sDAAsD;IACtD,eAAe,EAAE,MAAM,CAAC;IACxB,sDAAsD;IACtD,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,UAAU,4BAA6B,SAAQ,mBAAmB;IAChE,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,eAAe,CAAC,EAAE,KAAK,CAAC;IACxB,iBAAiB,CAAC,EAAE,KAAK,CAAC;CAC3B;AAED,MAAM,MAAM,eAAe,GAAG,iBAAiB,CAC7C,yBAAyB,GAAG,4BAA4B,CACzD,CAAC;AAEF;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,QAAQ,EACR,SAAc,EACd,SAAS,EACT,UAAU,EACV,8BAAqC,EACrC,YAAoB,EACpB,kBAAkB,EAClB,qBAAqB,EACrB,gBAAgB,EAChB,UAAU,EACV,eAAe,EACf,iBAAiB,GAClB,EAAE,eAAe,2CAuLjB"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { StoryObj } from '@storybook/react';
|
|
3
|
+
import PageLayout from '.';
|
|
4
|
+
declare const meta: {
|
|
5
|
+
component: typeof PageLayout;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
controls: {
|
|
10
|
+
matchers: {
|
|
11
|
+
color: RegExp;
|
|
12
|
+
date: RegExp;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
docs: {
|
|
16
|
+
page: () => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
|
|
20
|
+
navBarOpen: boolean;
|
|
21
|
+
navBarWidthOpen: number;
|
|
22
|
+
navBarWidthClosed: number;
|
|
23
|
+
titleText?: string | undefined;
|
|
24
|
+
leftPanel?: import(".").SidePanelProps | undefined;
|
|
25
|
+
rightPanel?: import(".").SidePanelProps | undefined;
|
|
26
|
+
sidePanelsAreMutuallyExclusive?: boolean | undefined;
|
|
27
|
+
debugOpacity?: boolean | undefined;
|
|
28
|
+
pageContainerProps?: (Pick<{
|
|
29
|
+
children?: import("react").ReactNode;
|
|
30
|
+
classes?: Partial<import("@mui/material").ContainerClasses> | undefined;
|
|
31
|
+
disableGutters?: boolean | undefined;
|
|
32
|
+
fixed?: boolean | undefined;
|
|
33
|
+
maxWidth?: false | import("@mui/material").Breakpoint | undefined;
|
|
34
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
35
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
36
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
37
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "maxWidth" | "children" | "sx" | "fixed" | "disableGutters">, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "maxWidth" | "content" | "translate" | "children" | "sx" | "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "fixed" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>) | undefined;
|
|
38
|
+
topBarDataTestId?: string | undefined;
|
|
39
|
+
pageContentDataTestId?: string | undefined;
|
|
40
|
+
children?: import("react").ReactNode;
|
|
41
|
+
} | {
|
|
42
|
+
navBarOpen?: undefined;
|
|
43
|
+
navBarWidthOpen?: undefined;
|
|
44
|
+
navBarWidthClosed?: undefined;
|
|
45
|
+
titleText?: string | undefined;
|
|
46
|
+
leftPanel?: import(".").SidePanelProps | undefined;
|
|
47
|
+
rightPanel?: import(".").SidePanelProps | undefined;
|
|
48
|
+
sidePanelsAreMutuallyExclusive?: boolean | undefined;
|
|
49
|
+
debugOpacity?: boolean | undefined;
|
|
50
|
+
pageContainerProps?: (Pick<{
|
|
51
|
+
children?: import("react").ReactNode;
|
|
52
|
+
classes?: Partial<import("@mui/material").ContainerClasses> | undefined;
|
|
53
|
+
disableGutters?: boolean | undefined;
|
|
54
|
+
fixed?: boolean | undefined;
|
|
55
|
+
maxWidth?: false | import("@mui/material").Breakpoint | undefined;
|
|
56
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
57
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
58
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
59
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "maxWidth" | "children" | "sx" | "fixed" | "disableGutters">, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "maxWidth" | "content" | "translate" | "children" | "sx" | "ref" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "fixed" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>) | undefined;
|
|
60
|
+
topBarDataTestId?: string | undefined;
|
|
61
|
+
pageContentDataTestId?: string | undefined;
|
|
62
|
+
children?: import("react").ReactNode;
|
|
63
|
+
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
64
|
+
argTypes: {
|
|
65
|
+
children: {
|
|
66
|
+
control: {
|
|
67
|
+
type: null;
|
|
68
|
+
};
|
|
69
|
+
description: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
export default meta;
|
|
74
|
+
type Story = StoryObj<typeof meta>;
|
|
75
|
+
export declare const Playground: Story;
|
|
76
|
+
//# sourceMappingURL=index.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.stories.d.ts","sourceRoot":"","sources":["../../../src/layouts/PageLayout/index.stories.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAMvD,OAAO,UAAU,MAAM,GAAG,CAAC;AAsB3B,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDyB,CAAC;AAEpC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAoDnC,eAAO,MAAM,UAAU,EAAE,KA4BxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/layouts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,cAAc,aAAa,CAAC"}
|
|
@@ -95,5 +95,5 @@ export declare const AtomProvider: ({ children, store, }: PropsWithChildren<{
|
|
|
95
95
|
dev_get_mounted?: undefined;
|
|
96
96
|
dev_restore_atoms?: undefined;
|
|
97
97
|
} | undefined;
|
|
98
|
-
}>) => JSX.Element;
|
|
98
|
+
}>) => import("react/jsx-runtime").JSX.Element;
|
|
99
99
|
//# sourceMappingURL=AtomProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AtomProvider.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"AtomProvider.d.ts","sourceRoot":"","sources":["../../../src/providers/Atom/AtomProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAmB,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoB,CAAC;AAE3C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8CAKxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/providers/Atom/index.tsx"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -12,5 +12,5 @@ export interface SaladBarProviderProps extends SnackbarProps {
|
|
|
12
12
|
* true.*/
|
|
13
13
|
shouldClose?: (event: Event | React.SyntheticEvent<Element, Event>, reason: SaladBarCloseReason) => boolean;
|
|
14
14
|
}
|
|
15
|
-
export default function SaladBarProvider({ overrideState, overrideActions, shouldClose, children, ...snackbarProps }: SaladBarProviderProps): JSX.Element;
|
|
15
|
+
export default function SaladBarProvider({ overrideState, overrideActions, shouldClose, children, ...snackbarProps }: SaladBarProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
//# sourceMappingURL=SaladBarContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SaladBarContext.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"SaladBarContext.d.ts","sourceRoot":"","sources":["../../../src/providers/SaladBar/SaladBarContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAC5E,OAAO,EAAqD,aAAa,EAAE,MAAM,eAAe,CAAC;AAEjG,OAAO,EAEL,mBAAmB,EACnB,aAAa,EACb,eAAe,EACf,eAAe,EAChB,MAAM,SAAS,CAAC;AA6BjB,eAAO,MAAM,OAAO,uCAA8C,CAAC;AAEnE,MAAM,WAAW,qBAAsB,SAAQ,aAAa;IAC1D,gEAAgE;IAChE,aAAa,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IAEvC,kEAAkE;IAClE,eAAe,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IAE3C;;cAEU;IACV,WAAW,CAAC,EAAE,CACZ,KAAK,EAAE,KAAK,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,EAAE,KAAK,CAAC,EACnD,MAAM,EAAE,mBAAmB,KACxB,OAAO,CAAC;CACd;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EACvC,aAAoC,EACpC,eAAwC,EACxC,WAA8C,EAC9C,QAAQ,EACR,GAAG,aAAa,EACjB,EAAE,qBAAqB,2CA0KvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/providers/SaladBar/defaults.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,eAAO,MAAM,oBAAoB;;;;CAOhC,CAAC;AAEF,eAAO,MAAM,oBAAoB;0BACT,KAAK,GAAG,MAAM,cAAc,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,MAAM;CAGnF,CAAC;AAEF,eAAO,MAAM,iCAAiC;;;;;CAK7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/providers/SaladBar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACvD,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testWrappers.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"testWrappers.d.ts","sourceRoot":"","sources":["../../../src/providers/SaladBar/testWrappers.tsx"],"names":[],"mappings":"AAIA,OAAyB,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAE5E,eAAO,MAAM,oBAAoB,4JAahC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/providers/SaladBar/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,MAAM,MAAM,YAAY,GAAG;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;IACpD,OAAO,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,QAAQ,CAAC;IAC7C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,GAAG,YAAY,CAAC;AAErE,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,mBAAmB,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,IAAI,CAAC;IAE1D;;OAEG;IACH,0BAA0B,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,YAAY,CAAC,KAAK,CAAC,CAAC;IAErE;;OAEG;IACH,uBAAuB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,YAAY,CAAC,KAAK,CAAC,CAAC;IAElE;;OAEG;IACH,0BAA0B,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,YAAY,CAAC,KAAK,CAAC,CAAC;IAErE;;OAEG;IACH,wBAAwB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,YAAY,CAAC,KAAK,CAAC,CAAC;IAEnE;;OAEG;IACH,kBAAkB,EAAE,CAAC,GAAG,EAAE,YAAY,CAAC,KAAK,CAAC,KAAK,YAAY,GAAG,YAAY,EAAE,GAAG,SAAS,CAAC;IAE5F,2BAA2B;IAC3B,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,aAAa,GAAG,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSaladBar.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"useSaladBar.d.ts","sourceRoot":"","sources":["../../../src/providers/SaladBar/useSaladBar.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,WAAW,sCAQ1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/providers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACzD,cAAc,YAAY,CAAC;AAE3B,cAAc,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/testing/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -38,7 +38,7 @@ type AtomConfig = {
|
|
|
38
38
|
export declare const withAtomProvider: import("souvlaki").SimpleHelper<[]>;
|
|
39
39
|
export declare const HydrateAtoms: <T>({ initialValues, children, }: PropsWithChildren<{
|
|
40
40
|
initialValues: OverrideValues<T>;
|
|
41
|
-
}>) => JSX.Element;
|
|
41
|
+
}>) => import("react/jsx-runtime").JSX.Element;
|
|
42
42
|
export declare const withOverrideDefaults: import("souvlaki").SimpleHelper<[overrides: Partial<AtomConfig>]>;
|
|
43
43
|
export {};
|
|
44
44
|
//# sourceMappingURL=wrappers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrappers.d.ts","sourceRoot":"","sources":["
|
|
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;;8CAMxB,CAAC;AAEF,eAAO,MAAM,oBAAoB,mEAiBhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fed21Theme.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"fed21Theme.d.ts","sourceRoot":"","sources":["../../src/themes/fed21Theme.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,KAAK,sCAoDT,CAAC;AAEH,eAAe,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/themes/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internalAgSystemsTheme.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"internalAgSystemsTheme.d.ts","sourceRoot":"","sources":["../../src/themes/internalAgSystemsTheme.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,KAAK,sCA2FT,CAAC;AAEH,eAAe,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/themes/types.ts"],"names":[],"mappings":"AAAA;qCACqC;AACrC,MAAM,WAAW,aAAa;IAC5B;;oBAEgB;IAChB,MAAM,EAAE;QACN;qDAC6C;QAC7C,eAAe,EAAE,MAAM,CAAC;KACzB,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simpleHashCode.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"simpleHashCode.d.ts","sourceRoot":"","sources":["../../src/utils/simpleHashCode.ts"],"names":[],"mappings":"AACA,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,UAQzC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@australiangreens/ag-internal-components",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.50",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://github.com/australiangreens/ag-internal-components#readme",
|
|
7
7
|
"license": "MIT",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"test:watch": "vitest",
|
|
21
21
|
"### LIFECYCLE SCRIPTS ###": "See https://yarnpkg.com/advanced/lifecycle-scripts",
|
|
22
22
|
"prepare": "husky install",
|
|
23
|
-
"prepublishOnly": "yarn
|
|
23
|
+
"prepublishOnly": "yarn test && yarn build",
|
|
24
24
|
"### HUSKY GIT HOOKS ###": "Called by husky pre-commit and pre-push scripts",
|
|
25
25
|
"prepush": "sh ./scripts/githooks/pre-push.sh",
|
|
26
26
|
"precommit": "sh ./scripts/githooks/pre-commit.sh",
|
|
@@ -46,18 +46,18 @@
|
|
|
46
46
|
"souvlaki": "^0.3.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@emotion/react": "11.
|
|
50
|
-
"@emotion/styled": "11.
|
|
51
|
-
"@mui/icons-material": "5.
|
|
52
|
-
"@mui/material": "5.
|
|
53
|
-
"react": "
|
|
54
|
-
"react-dom": "
|
|
49
|
+
"@emotion/react": "11.11.1",
|
|
50
|
+
"@emotion/styled": "11.11.0",
|
|
51
|
+
"@mui/icons-material": "^5.14.3",
|
|
52
|
+
"@mui/material": "^5.14.5",
|
|
53
|
+
"react": "^18.2.0",
|
|
54
|
+
"react-dom": "^18.2.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@emotion/react": "11.
|
|
58
|
-
"@emotion/styled": "11.
|
|
59
|
-
"@mui/icons-material": "5.
|
|
60
|
-
"@mui/material": "5.
|
|
57
|
+
"@emotion/react": "11.11.1",
|
|
58
|
+
"@emotion/styled": "11.11.0",
|
|
59
|
+
"@mui/icons-material": "^5.14.3",
|
|
60
|
+
"@mui/material": "^5.14.5",
|
|
61
61
|
"@storybook/addon-essentials": "^7.0.26",
|
|
62
62
|
"@storybook/addon-interactions": "^7.0.26",
|
|
63
63
|
"@storybook/addon-links": "^7.0.26",
|
|
@@ -65,19 +65,19 @@
|
|
|
65
65
|
"@storybook/react": "^7.0.26",
|
|
66
66
|
"@storybook/react-vite": "^7.0.26",
|
|
67
67
|
"@storybook/testing-library": "^0.0.14-next.2",
|
|
68
|
-
"@testing-library/dom": "9.3.
|
|
69
|
-
"@testing-library/jest-dom": "^
|
|
70
|
-
"@testing-library/react": "
|
|
68
|
+
"@testing-library/dom": "9.3.1",
|
|
69
|
+
"@testing-library/jest-dom": "^6.0.0",
|
|
70
|
+
"@testing-library/react": "^14.0.0",
|
|
71
71
|
"@testing-library/user-event": "^14.4.3",
|
|
72
|
-
"@types/node": "
|
|
73
|
-
"@types/react": "18.0
|
|
72
|
+
"@types/node": "^18.17.1",
|
|
73
|
+
"@types/react": "^18.2.0",
|
|
74
74
|
"@types/react-dom": "^18.2.4",
|
|
75
75
|
"@types/react-test-renderer": "^18.0.0",
|
|
76
76
|
"@typescript-eslint/eslint-plugin": "^5.59.8",
|
|
77
77
|
"@typescript-eslint/parser": "^5.59.8",
|
|
78
78
|
"@vitejs/plugin-react": "^4.0.1",
|
|
79
79
|
"@vitejs/plugin-react-swc": "^3.0.0",
|
|
80
|
-
"@vitest/coverage-
|
|
80
|
+
"@vitest/coverage-v8": "^0.34.1",
|
|
81
81
|
"eslint": "^8.41.0",
|
|
82
82
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
|
83
83
|
"eslint-config-prettier": "^8.8.0",
|
|
@@ -94,18 +94,16 @@
|
|
|
94
94
|
"husky": "^8.0.3",
|
|
95
95
|
"lint-staged": "^13.2.2",
|
|
96
96
|
"prettier": "^2.8.8",
|
|
97
|
-
"
|
|
98
|
-
"react": "
|
|
99
|
-
"react-dom": "17.0.2",
|
|
97
|
+
"react": "^18.2.0",
|
|
98
|
+
"react-dom": "^18.2.0",
|
|
100
99
|
"react-router": "^6.14.2",
|
|
101
100
|
"react-router-dom": "^6.14.2",
|
|
102
101
|
"storybook": "^7.0.27",
|
|
103
102
|
"typescript": "^5.0.2",
|
|
104
103
|
"vite": "^4.3.9",
|
|
105
|
-
"vite-plugin-dts": "^
|
|
106
|
-
"vite-plugin-linter": "^2.0.2",
|
|
104
|
+
"vite-plugin-dts": "^3.5.2",
|
|
107
105
|
"vite-tsconfig-paths": "^4.2.0",
|
|
108
|
-
"vitest": "^0.
|
|
106
|
+
"vitest": "^0.34.1"
|
|
109
107
|
},
|
|
110
108
|
"husky": {
|
|
111
109
|
"hooks": {
|
package/dist/.gitignore
DELETED
|
File without changes
|