@genesislcap/pbc-reconciliation-ui 0.0.2 → 0.0.3
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/.gradle/8.3/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.3/executionHistory/executionHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/.gradle/file-system.probe +0 -0
- package/build/distributions/web-distribution.tar +0 -0
- package/build/distributions/web-distribution.zip +0 -0
- package/dist/dts/components/components.d.ts +3 -1
- package/dist/dts/components/components.d.ts.map +1 -1
- package/dist/dts/components/configurations-panel/configurations-panel.d.ts +5 -0
- package/dist/dts/components/configurations-panel/configurations-panel.d.ts.map +1 -0
- package/dist/dts/components/configurations-panel/configurations-panel.styles.d.ts +2 -0
- package/dist/dts/components/configurations-panel/configurations-panel.styles.d.ts.map +1 -0
- package/dist/dts/components/configurations-panel/configurations-panel.template.d.ts +3 -0
- package/dist/dts/components/configurations-panel/configurations-panel.template.d.ts.map +1 -0
- package/dist/dts/components/reconciliations-panel/reconciliations-panel.d.ts +4 -0
- package/dist/dts/components/reconciliations-panel/reconciliations-panel.d.ts.map +1 -0
- package/dist/dts/components/reconciliations-panel/reconciliations-panel.styles.d.ts +2 -0
- package/dist/dts/components/reconciliations-panel/reconciliations-panel.styles.d.ts.map +1 -0
- package/dist/dts/components/reconciliations-panel/reconciliations-panel.template.d.ts +3 -0
- package/dist/dts/components/reconciliations-panel/reconciliations-panel.template.d.ts.map +1 -0
- package/dist/dts/index.d.ts +1 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/main/index.d.ts +1 -0
- package/dist/dts/main/index.d.ts.map +1 -1
- package/dist/dts/main/main.d.ts +2 -338
- package/dist/dts/main/main.d.ts.map +1 -1
- package/dist/dts/main/main.styles.d.ts +1 -2
- package/dist/dts/main/main.styles.d.ts.map +1 -1
- package/dist/dts/main/main.template.d.ts +2 -5
- package/dist/dts/main/main.template.d.ts.map +1 -1
- package/dist/esm/components/components.js +26 -29
- package/dist/esm/components/components.js.map +1 -1
- package/dist/esm/components/configurations-panel/configurations-panel.js +17 -0
- package/dist/esm/components/configurations-panel/configurations-panel.js.map +1 -0
- package/dist/esm/components/configurations-panel/configurations-panel.styles.js +63 -0
- package/dist/esm/components/configurations-panel/configurations-panel.styles.js.map +1 -0
- package/dist/esm/components/configurations-panel/configurations-panel.template.js +33 -0
- package/dist/esm/components/configurations-panel/configurations-panel.template.js.map +1 -0
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.js +15 -0
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.js.map +1 -0
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.styles.js +4 -0
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.styles.js.map +1 -0
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.template.js +6 -0
- package/dist/esm/components/reconciliations-panel/reconciliations-panel.template.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/main/index.js +1 -0
- package/dist/esm/main/index.js.map +1 -1
- package/dist/esm/main/main.js +13 -91
- package/dist/esm/main/main.js.map +1 -1
- package/dist/esm/main/main.styles.js +5 -18
- package/dist/esm/main/main.styles.js.map +1 -1
- package/dist/esm/main/main.template.js +16 -18
- package/dist/esm/main/main.template.js.map +1 -1
- package/package.json +1 -1
- package/src/components/components.ts +40 -63
- package/src/components/configurations-panel/configurations-panel.styles.ts +65 -0
- package/src/components/configurations-panel/configurations-panel.template.ts +34 -0
- package/src/components/configurations-panel/configurations-panel.ts +14 -0
- package/src/components/reconciliations-panel/reconciliations-panel.styles.ts +4 -0
- package/src/components/reconciliations-panel/reconciliations-panel.template.ts +7 -0
- package/src/components/reconciliations-panel/reconciliations-panel.ts +11 -0
- package/src/index.ts +1 -1
- package/src/main/index.ts +1 -0
- package/src/main/main.styles.ts +8 -18
- package/src/main/main.template.ts +19 -21
- package/src/main/main.ts +15 -124
- package/src/typings.d.ts +0 -4
- package/test/unit/configurations-panel.test.ts +15 -0
- package/test/unit/main.test.ts +20 -0
- package/test/unit/reconciliations-panel.test.ts +15 -0
- package/dist/dts/components/index.d.ts +0 -2
- package/dist/dts/components/index.d.ts.map +0 -1
- package/dist/dts/layouts/default.d.ts +0 -4
- package/dist/dts/layouts/default.d.ts.map +0 -1
- package/dist/dts/layouts/index.d.ts +0 -2
- package/dist/dts/layouts/index.d.ts.map +0 -1
- package/dist/dts/routes/config.d.ts +0 -11
- package/dist/dts/routes/config.d.ts.map +0 -1
- package/dist/dts/routes/home/home.d.ts +0 -5
- package/dist/dts/routes/home/home.d.ts.map +0 -1
- package/dist/dts/routes/home/home.styles.d.ts +0 -2
- package/dist/dts/routes/home/home.styles.d.ts.map +0 -1
- package/dist/dts/routes/home/home.template.d.ts +0 -3
- package/dist/dts/routes/home/home.template.d.ts.map +0 -1
- package/dist/dts/routes/index.d.ts +0 -2
- package/dist/dts/routes/index.d.ts.map +0 -1
- package/dist/dts/routes/not-found/not-found.d.ts +0 -5
- package/dist/dts/routes/not-found/not-found.d.ts.map +0 -1
- package/dist/dts/routes/not-found/not-found.styles.d.ts +0 -2
- package/dist/dts/routes/not-found/not-found.styles.d.ts.map +0 -1
- package/dist/dts/routes/not-found/not-found.template.d.ts +0 -3
- package/dist/dts/routes/not-found/not-found.template.d.ts.map +0 -1
- package/dist/dts/store/index.d.ts +0 -2
- package/dist/dts/store/index.d.ts.map +0 -1
- package/dist/dts/store/store.d.ts +0 -11
- package/dist/dts/store/store.d.ts.map +0 -1
- package/dist/dts/styles/index.d.ts +0 -3
- package/dist/dts/styles/index.d.ts.map +0 -1
- package/dist/dts/styles/styles.d.ts +0 -5
- package/dist/dts/styles/styles.d.ts.map +0 -1
- package/dist/dts/styles/typography.d.ts +0 -4
- package/dist/dts/styles/typography.d.ts.map +0 -1
- package/dist/dts/types.d.ts +0 -3
- package/dist/dts/types.d.ts.map +0 -1
- package/dist/esm/components/index.js +0 -2
- package/dist/esm/components/index.js.map +0 -1
- package/dist/esm/layouts/default.js +0 -139
- package/dist/esm/layouts/default.js.map +0 -1
- package/dist/esm/layouts/index.js +0 -2
- package/dist/esm/layouts/index.js.map +0 -1
- package/dist/esm/main/main.css +0 -17
- package/dist/esm/routes/config.js +0 -89
- package/dist/esm/routes/config.js.map +0 -1
- package/dist/esm/routes/home/home.js +0 -18
- package/dist/esm/routes/home/home.js.map +0 -1
- package/dist/esm/routes/home/home.styles.js +0 -7
- package/dist/esm/routes/home/home.styles.js.map +0 -1
- package/dist/esm/routes/home/home.template.js +0 -6
- package/dist/esm/routes/home/home.template.js.map +0 -1
- package/dist/esm/routes/index.js +0 -2
- package/dist/esm/routes/index.js.map +0 -1
- package/dist/esm/routes/not-found/not-found.js +0 -20
- package/dist/esm/routes/not-found/not-found.js.map +0 -1
- package/dist/esm/routes/not-found/not-found.styles.js +0 -11
- package/dist/esm/routes/not-found/not-found.styles.js.map +0 -1
- package/dist/esm/routes/not-found/not-found.template.js +0 -5
- package/dist/esm/routes/not-found/not-found.template.js.map +0 -1
- package/dist/esm/store/index.js +0 -2
- package/dist/esm/store/index.js.map +0 -1
- package/dist/esm/store/store.js +0 -10
- package/dist/esm/store/store.js.map +0 -1
- package/dist/esm/styles/design-tokens.json +0 -56
- package/dist/esm/styles/index.js +0 -3
- package/dist/esm/styles/index.js.map +0 -1
- package/dist/esm/styles/styles.js +0 -24
- package/dist/esm/styles/styles.js.map +0 -1
- package/dist/esm/styles/typography.js +0 -23
- package/dist/esm/styles/typography.js.map +0 -1
- package/dist/esm/types.js +0 -4
- package/dist/esm/types.js.map +0 -1
- package/src/components/index.ts +0 -1
- package/src/layouts/default.ts +0 -152
- package/src/layouts/index.ts +0 -1
- package/src/main/main.css +0 -17
- package/src/pbc/README.md +0 -8
- package/src/routes/config.ts +0 -135
- package/src/routes/home/home.styles.ts +0 -7
- package/src/routes/home/home.template.ts +0 -7
- package/src/routes/home/home.ts +0 -14
- package/src/routes/index.ts +0 -1
- package/src/routes/not-found/not-found.styles.ts +0 -11
- package/src/routes/not-found/not-found.template.ts +0 -6
- package/src/routes/not-found/not-found.ts +0 -16
- package/src/store/index.ts +0 -1
- package/src/store/store.ts +0 -29
- package/src/styles/design-tokens.json +0 -56
- package/src/styles/index.ts +0 -2
- package/src/styles/styles.ts +0 -30
- package/src/styles/typography.ts +0 -25
- package/src/types.ts +0 -5
- package/test/unit/sample.test.ts +0 -14
package/src/routes/config.ts
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { Auth, Session } from '@genesislcap/foundation-comms';
|
|
2
|
-
import {
|
|
3
|
-
defaultLoginConfig,
|
|
4
|
-
LoginConfig,
|
|
5
|
-
Settings as LoginSettings,
|
|
6
|
-
} from '@genesislcap/foundation-login';
|
|
7
|
-
import { FoundationRouterConfiguration } from '@genesislcap/foundation-ui';
|
|
8
|
-
import { optional } from '@microsoft/fast-foundation';
|
|
9
|
-
import { Route } from '@microsoft/fast-router';
|
|
10
|
-
import { defaultLayout, loginLayout } from '../layouts';
|
|
11
|
-
import { NotFound } from './not-found/not-found';
|
|
12
|
-
import { Home } from './home/home';
|
|
13
|
-
|
|
14
|
-
// eslint-disable-next-line
|
|
15
|
-
declare var ENABLE_SSO: string;
|
|
16
|
-
|
|
17
|
-
const ssoSettings =
|
|
18
|
-
typeof ENABLE_SSO !== 'undefined' && ENABLE_SSO === 'true'
|
|
19
|
-
? {
|
|
20
|
-
autoAuth: true,
|
|
21
|
-
sso: {
|
|
22
|
-
toggled: true,
|
|
23
|
-
identityProvidersPath: 'sso/list',
|
|
24
|
-
},
|
|
25
|
-
}
|
|
26
|
-
: {};
|
|
27
|
-
|
|
28
|
-
export class MainRouterConfig extends FoundationRouterConfiguration<LoginSettings> {
|
|
29
|
-
constructor(
|
|
30
|
-
@Auth private auth: Auth,
|
|
31
|
-
@Session private session: Session,
|
|
32
|
-
@optional(LoginConfig)
|
|
33
|
-
private loginConfig: LoginConfig = { ...defaultLoginConfig, autoAuth: true, autoConnect: true },
|
|
34
|
-
) {
|
|
35
|
-
super();
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
async configure() {
|
|
39
|
-
this.configureAnalytics();
|
|
40
|
-
this.title = 'Blank App Demo';
|
|
41
|
-
this.defaultLayout = defaultLayout;
|
|
42
|
-
|
|
43
|
-
const authPath = 'login';
|
|
44
|
-
|
|
45
|
-
this.routes.map(
|
|
46
|
-
{ path: '', redirect: authPath },
|
|
47
|
-
{
|
|
48
|
-
path: authPath,
|
|
49
|
-
name: 'login',
|
|
50
|
-
title: 'Login',
|
|
51
|
-
element: async () => {
|
|
52
|
-
const { configure, define } = await import(
|
|
53
|
-
/* webpackChunkName: "foundation-login" */
|
|
54
|
-
'@genesislcap/foundation-login'
|
|
55
|
-
);
|
|
56
|
-
configure(this.container, {
|
|
57
|
-
autoConnect: true,
|
|
58
|
-
defaultRedirectUrl: 'home',
|
|
59
|
-
...ssoSettings,
|
|
60
|
-
});
|
|
61
|
-
return define({
|
|
62
|
-
name: `reconciliation-root-login`,
|
|
63
|
-
/**
|
|
64
|
-
* You can augment the template and styles here when needed.
|
|
65
|
-
*/
|
|
66
|
-
});
|
|
67
|
-
},
|
|
68
|
-
layout: loginLayout,
|
|
69
|
-
settings: { public: true },
|
|
70
|
-
childRouters: true,
|
|
71
|
-
},
|
|
72
|
-
{ path: 'not-found', element: NotFound, title: 'Not Found', name: 'not-found' },
|
|
73
|
-
{
|
|
74
|
-
path: 'home',
|
|
75
|
-
element: Home,
|
|
76
|
-
title: 'Home',
|
|
77
|
-
name: 'home',
|
|
78
|
-
navItems: [
|
|
79
|
-
{
|
|
80
|
-
title: 'Home',
|
|
81
|
-
icon: {
|
|
82
|
-
name: 'cog',
|
|
83
|
-
variant: 'solid',
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
],
|
|
87
|
-
},
|
|
88
|
-
);
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* Example of a FallbackRouteDefinition
|
|
92
|
-
*/
|
|
93
|
-
this.routes.fallback(() =>
|
|
94
|
-
this.auth.isLoggedIn ? { redirect: 'not-found' } : { redirect: authPath },
|
|
95
|
-
);
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Example of a NavigationContributor
|
|
99
|
-
*/
|
|
100
|
-
this.contributors.push({
|
|
101
|
-
navigate: async (phase) => {
|
|
102
|
-
const settings = phase.route.settings;
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* If public route don't block
|
|
106
|
-
*/
|
|
107
|
-
if (settings && settings.public) {
|
|
108
|
-
return;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* If logged in don't block
|
|
113
|
-
*/
|
|
114
|
-
if (this.auth.isLoggedIn) {
|
|
115
|
-
return;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* If allowAutoAuth and session is valid try to connect+auto-login
|
|
120
|
-
*/
|
|
121
|
-
if (this.loginConfig.autoAuth && (await this.auth.reAuthFromSession())) {
|
|
122
|
-
return;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Otherwise route them somewhere, like to a login
|
|
127
|
-
*/
|
|
128
|
-
phase.cancel(() => {
|
|
129
|
-
this.session.captureReturnUrl();
|
|
130
|
-
Route.name.replace(phase.router, authPath);
|
|
131
|
-
});
|
|
132
|
-
},
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
}
|
package/src/routes/home/home.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { customElement, FASTElement } from '@microsoft/fast-element';
|
|
2
|
-
import { HomeStyles as styles } from './home.styles';
|
|
3
|
-
import { HomeTemplate as template } from './home.template';
|
|
4
|
-
|
|
5
|
-
@customElement({
|
|
6
|
-
name: 'home-route',
|
|
7
|
-
template,
|
|
8
|
-
styles,
|
|
9
|
-
})
|
|
10
|
-
export class Home extends FASTElement {
|
|
11
|
-
constructor() {
|
|
12
|
-
super();
|
|
13
|
-
}
|
|
14
|
-
}
|
package/src/routes/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './config';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { customElement, FASTElement } from '@microsoft/fast-element';
|
|
2
|
-
import { logger } from '../../utils';
|
|
3
|
-
import { NotFoundStyles as styles } from './not-found.styles';
|
|
4
|
-
import { NotFoundTemplate as template } from './not-found.template';
|
|
5
|
-
|
|
6
|
-
@customElement({
|
|
7
|
-
name: 'not-found-route',
|
|
8
|
-
template,
|
|
9
|
-
styles,
|
|
10
|
-
})
|
|
11
|
-
export class NotFound extends FASTElement {
|
|
12
|
-
public connectedCallback() {
|
|
13
|
-
super.connectedCallback();
|
|
14
|
-
logger.debug(`${name} is now connected to the DOM`);
|
|
15
|
-
}
|
|
16
|
-
}
|
package/src/store/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './store';
|
package/src/store/store.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { CustomEventMap } from '@genesislcap/foundation-events';
|
|
2
|
-
import { getApp } from '@genesislcap/foundation-shell/app';
|
|
3
|
-
import {
|
|
4
|
-
AbstractStoreRoot,
|
|
5
|
-
registerStore,
|
|
6
|
-
StoreRoot,
|
|
7
|
-
StoreRootEventDetailMap,
|
|
8
|
-
} from '@genesislcap/foundation-store';
|
|
9
|
-
|
|
10
|
-
export interface Store extends StoreRoot {}
|
|
11
|
-
|
|
12
|
-
export type StoreEventDetailMap = StoreRootEventDetailMap & {};
|
|
13
|
-
|
|
14
|
-
declare global {
|
|
15
|
-
interface HTMLElementEventMap extends CustomEventMap<StoreEventDetailMap> {}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
class DefaultStore extends AbstractStoreRoot<Store, StoreEventDetailMap> implements Store {
|
|
19
|
-
constructor() {
|
|
20
|
-
super();
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Register the store root
|
|
24
|
-
*/
|
|
25
|
-
getApp().registerStoreRoot(this);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export const Store = registerStore(DefaultStore, 'Store');
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"design_tokens": {
|
|
3
|
-
"color": {
|
|
4
|
-
"accent": {
|
|
5
|
-
"$value": "#0EAFE2",
|
|
6
|
-
"$type": "color"
|
|
7
|
-
},
|
|
8
|
-
"neutral": {
|
|
9
|
-
"$value": "#7C909B",
|
|
10
|
-
"$type": "color"
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
"fontFamily": {
|
|
14
|
-
"bodyFont": {
|
|
15
|
-
"$value": "Roboto, \"Segoe UI\", Arial, Helvetica, sans-serif",
|
|
16
|
-
"$type": "fontFamily"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"typography": {
|
|
20
|
-
"baseFontSize": {
|
|
21
|
-
"$value": "14px",
|
|
22
|
-
"$type": "dimension"
|
|
23
|
-
},
|
|
24
|
-
"baseLineHeight": {
|
|
25
|
-
"$value": "20px",
|
|
26
|
-
"$type": "dimension"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"mode": {
|
|
30
|
-
"luminance": {
|
|
31
|
-
"$value": 0.23,
|
|
32
|
-
"$type": "number"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"style": {
|
|
36
|
-
"density": {
|
|
37
|
-
"$value": 0,
|
|
38
|
-
"$type": "number"
|
|
39
|
-
},
|
|
40
|
-
"borderRadius": {
|
|
41
|
-
"$value": 4,
|
|
42
|
-
"$type": "number"
|
|
43
|
-
},
|
|
44
|
-
"strokeWidth": {
|
|
45
|
-
"$value": 1,
|
|
46
|
-
"$type": "number"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"space": {
|
|
50
|
-
"designUnit": {
|
|
51
|
-
"$value": 4,
|
|
52
|
-
"$type": "number"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
package/src/styles/index.ts
DELETED
package/src/styles/styles.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { css } from '@microsoft/fast-element';
|
|
2
|
-
import { mixinCardTitle } from './typography';
|
|
3
|
-
|
|
4
|
-
export const stylesCardHeading = css`
|
|
5
|
-
header h1 {
|
|
6
|
-
${mixinCardTitle}
|
|
7
|
-
}
|
|
8
|
-
`;
|
|
9
|
-
|
|
10
|
-
export const mixinScreen = (display: string = 'block') => `
|
|
11
|
-
contain: content;
|
|
12
|
-
display: ${display};
|
|
13
|
-
height: 100%;
|
|
14
|
-
width: 100%;
|
|
15
|
-
overflow-y: auto;
|
|
16
|
-
`;
|
|
17
|
-
|
|
18
|
-
export const mixinCardStyles = `
|
|
19
|
-
padding: calc(var(--design-unit) * 2px);
|
|
20
|
-
`;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Temp as these parts are being removed from foundation-ui
|
|
24
|
-
*/
|
|
25
|
-
export const hideZeroButtonParts = `
|
|
26
|
-
zero-button::part(info1),
|
|
27
|
-
zero-button::part(info2) {
|
|
28
|
-
display: none;
|
|
29
|
-
}
|
|
30
|
-
`;
|
package/src/styles/typography.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
const mixinSegoeUI = (style = 'normal', weight = 'normal') => `
|
|
2
|
-
font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
|
|
3
|
-
font-style: ${style};
|
|
4
|
-
font-weight: ${weight};
|
|
5
|
-
`;
|
|
6
|
-
|
|
7
|
-
export const stylesFontFaces = `
|
|
8
|
-
@font-face {
|
|
9
|
-
font-family: Segoe UI;
|
|
10
|
-
font-weight: 300;
|
|
11
|
-
src: local("Segoe UI Semilight"), local("Segoe UI");
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
* {
|
|
15
|
-
${mixinSegoeUI()}
|
|
16
|
-
}
|
|
17
|
-
`;
|
|
18
|
-
|
|
19
|
-
export const mixinCardTitle = mixinSegoeUI('normal', 'bold');
|
|
20
|
-
|
|
21
|
-
export const stylesHeaders = `
|
|
22
|
-
h1, h2, h3, h4, h5, h6 {
|
|
23
|
-
margin: 0;
|
|
24
|
-
}
|
|
25
|
-
`;
|
package/src/types.ts
DELETED
package/test/unit/sample.test.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { createLogicSuite } from '@genesislcap/foundation-testing';
|
|
2
|
-
|
|
3
|
-
const isHelloWorld = (arg) => arg === 'Hello world';
|
|
4
|
-
|
|
5
|
-
const Suite = createLogicSuite('isHelloWorld');
|
|
6
|
-
Suite('isHelloWorld should provide expected results', ({ runCases }) => {
|
|
7
|
-
runCases(isHelloWorld, [
|
|
8
|
-
[['1'], false],
|
|
9
|
-
[[123], false],
|
|
10
|
-
[['Hello world'], true],
|
|
11
|
-
]);
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
Suite.run();
|