@sarasanalytics-com/design-system 0.0.3 → 0.0.5
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 +9 -12
- package/esm2022/interfaces/avatar-interface.mjs +2 -0
- package/esm2022/interfaces/button-interface.mjs +2 -0
- package/esm2022/interfaces/chip-interface.mjs +2 -0
- package/esm2022/interfaces/grid-interface.mjs +2 -0
- package/esm2022/interfaces/select-interface.mjs +2 -0
- package/esm2022/interfaces/tab-interface.mjs +2 -0
- package/esm2022/lib/avatar/avatar.component.mjs +56 -0
- package/esm2022/lib/button/button.component.mjs +84 -0
- package/esm2022/lib/calendar-header/calendar-header.component.mjs +168 -0
- package/esm2022/lib/chips/chips.component.mjs +62 -0
- package/esm2022/lib/component-library.component.mjs +19 -0
- package/esm2022/lib/component-library.service.mjs +14 -0
- package/esm2022/lib/datepicker/datepicker.component.mjs +39 -0
- package/esm2022/lib/form-select/form-select.component.mjs +59 -0
- package/esm2022/lib/grid-cell/grid-cell.component.mjs +84 -0
- package/esm2022/lib/header/header.component.mjs +37 -0
- package/esm2022/lib/stepper/stepper.component.mjs +64 -0
- package/esm2022/lib/tabs/tabs.component.mjs +38 -0
- package/esm2022/lib/toast/toast.component.mjs +54 -0
- package/esm2022/lib/tool-tip/tool-tip.component.mjs +41 -0
- package/esm2022/public-api.mjs +23 -0
- package/esm2022/sarasanalytics-com-design-system.mjs +5 -0
- package/fesm2022/sarasanalytics-com-design-system.mjs +759 -0
- package/fesm2022/sarasanalytics-com-design-system.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/interfaces/avatar-interface.d.ts +6 -0
- package/interfaces/button-interface.d.ts +12 -0
- package/interfaces/chip-interface.d.ts +11 -0
- package/interfaces/grid-interface.d.ts +24 -0
- package/interfaces/select-interface.d.ts +19 -0
- package/interfaces/tab-interface.d.ts +6 -0
- package/lib/avatar/avatar.component.d.ts +18 -0
- package/lib/button/button.component.d.ts +26 -0
- package/lib/calendar-header/calendar-header.component.d.ts +31 -0
- package/lib/chips/chips.component.d.ts +22 -0
- package/lib/component-library.component.d.ts +5 -0
- package/lib/component-library.service.d.ts +6 -0
- package/lib/datepicker/datepicker.component.d.ts +9 -0
- package/lib/form-select/form-select.component.d.ts +17 -0
- package/lib/grid-cell/grid-cell.component.d.ts +20 -0
- package/lib/header/header.component.d.ts +14 -0
- package/lib/stepper/stepper.component.d.ts +17 -0
- package/lib/tabs/tabs.component.d.ts +15 -0
- package/lib/toast/toast.component.d.ts +18 -0
- package/lib/tool-tip/tool-tip.component.d.ts +15 -0
- package/package.json +19 -68
- package/{projects/component-library/src/public-api.ts → public-api.d.ts} +1 -7
- package/.editorconfig +0 -16
- package/.eslintrc.json +0 -22
- package/.storybook/main.ts +0 -21
- package/.storybook/manager.ts +0 -17
- package/.storybook/preview-head.html +0 -5
- package/.storybook/preview.ts +0 -65
- package/.storybook/tsconfig.doc.json +0 -10
- package/.storybook/tsconfig.json +0 -11
- package/.storybook/typings.d.ts +0 -4
- package/.vscode/extensions.json +0 -7
- package/.vscode/launch.json +0 -20
- package/.vscode/settings.json +0 -13
- package/.vscode/tasks.json +0 -42
- package/angular.json +0 -189
- package/build-storybook.log +0 -39
- package/documentation.json +0 -0
- package/projects/component-library/README.md +0 -24
- package/projects/component-library/ng-package.json +0 -8
- package/projects/component-library/package.json +0 -12
- package/projects/component-library/src/interfaces/avatar-interface.ts +0 -6
- package/projects/component-library/src/interfaces/button-interface.ts +0 -12
- package/projects/component-library/src/interfaces/chip-interface.ts +0 -11
- package/projects/component-library/src/interfaces/grid-interface.ts +0 -24
- package/projects/component-library/src/interfaces/select-interface.ts +0 -19
- package/projects/component-library/src/interfaces/tab-interface.ts +0 -6
- package/projects/component-library/src/lib/avatar/avatar.component.css +0 -48
- package/projects/component-library/src/lib/avatar/avatar.component.html +0 -5
- package/projects/component-library/src/lib/avatar/avatar.component.spec.ts +0 -23
- package/projects/component-library/src/lib/avatar/avatar.component.ts +0 -50
- package/projects/component-library/src/lib/button/button.component.css +0 -145
- package/projects/component-library/src/lib/button/button.component.html +0 -11
- package/projects/component-library/src/lib/button/button.component.spec.ts +0 -23
- package/projects/component-library/src/lib/button/button.component.ts +0 -68
- package/projects/component-library/src/lib/calendar-header/calendar-header.component.css +0 -67
- package/projects/component-library/src/lib/calendar-header/calendar-header.component.html +0 -20
- package/projects/component-library/src/lib/calendar-header/calendar-header.component.spec.ts +0 -23
- package/projects/component-library/src/lib/calendar-header/calendar-header.component.ts +0 -196
- package/projects/component-library/src/lib/chips/chips.component.css +0 -129
- package/projects/component-library/src/lib/chips/chips.component.html +0 -17
- package/projects/component-library/src/lib/chips/chips.component.spec.ts +0 -23
- package/projects/component-library/src/lib/chips/chips.component.ts +0 -55
- package/projects/component-library/src/lib/component-library.component.spec.ts +0 -23
- package/projects/component-library/src/lib/component-library.component.ts +0 -16
- package/projects/component-library/src/lib/component-library.service.spec.ts +0 -16
- package/projects/component-library/src/lib/component-library.service.ts +0 -9
- package/projects/component-library/src/lib/datepicker/datepicker.component.css +0 -33
- package/projects/component-library/src/lib/datepicker/datepicker.component.html +0 -11
- package/projects/component-library/src/lib/datepicker/datepicker.component.spec.ts +0 -23
- package/projects/component-library/src/lib/datepicker/datepicker.component.ts +0 -37
- package/projects/component-library/src/lib/form-select/form-select.component.css +0 -156
- package/projects/component-library/src/lib/form-select/form-select.component.html +0 -38
- package/projects/component-library/src/lib/form-select/form-select.component.spec.ts +0 -23
- package/projects/component-library/src/lib/form-select/form-select.component.ts +0 -54
- package/projects/component-library/src/lib/grid-cell/grid-cell.component.css +0 -78
- package/projects/component-library/src/lib/grid-cell/grid-cell.component.html +0 -31
- package/projects/component-library/src/lib/grid-cell/grid-cell.component.spec.ts +0 -23
- package/projects/component-library/src/lib/grid-cell/grid-cell.component.ts +0 -89
- package/projects/component-library/src/lib/header/header.component.css +0 -62
- package/projects/component-library/src/lib/header/header.component.html +0 -23
- package/projects/component-library/src/lib/header/header.component.spec.ts +0 -23
- package/projects/component-library/src/lib/header/header.component.ts +0 -28
- package/projects/component-library/src/lib/stepper/stepper.component.css +0 -96
- package/projects/component-library/src/lib/stepper/stepper.component.html +0 -14
- package/projects/component-library/src/lib/stepper/stepper.component.spec.ts +0 -23
- package/projects/component-library/src/lib/stepper/stepper.component.ts +0 -61
- package/projects/component-library/src/lib/tabs/tabs.component.css +0 -100
- package/projects/component-library/src/lib/tabs/tabs.component.html +0 -16
- package/projects/component-library/src/lib/tabs/tabs.component.spec.ts +0 -23
- package/projects/component-library/src/lib/tabs/tabs.component.ts +0 -37
- package/projects/component-library/src/lib/toast/toast.component.css +0 -108
- package/projects/component-library/src/lib/toast/toast.component.html +0 -25
- package/projects/component-library/src/lib/toast/toast.component.spec.ts +0 -23
- package/projects/component-library/src/lib/toast/toast.component.ts +0 -37
- package/projects/component-library/src/lib/tool-tip/tool-tip.component.css +0 -139
- package/projects/component-library/src/lib/tool-tip/tool-tip.component.html +0 -31
- package/projects/component-library/src/lib/tool-tip/tool-tip.component.spec.ts +0 -23
- package/projects/component-library/src/lib/tool-tip/tool-tip.component.ts +0 -37
- package/projects/component-library/tsconfig.lib.json +0 -14
- package/projects/component-library/tsconfig.lib.prod.json +0 -10
- package/projects/component-library/tsconfig.spec.json +0 -14
- package/src/Saras-logo.svg +0 -15
- package/src/app/app.component.css +0 -13
- package/src/app/app.component.html +0 -77
- package/src/app/app.component.spec.ts +0 -29
- package/src/app/app.component.ts +0 -505
- package/src/app/app.config.ts +0 -27
- package/src/app/app.routes.ts +0 -3
- package/src/app/data.ts +0 -52
- package/src/app/kitchen-sink/kitchen-sink.component.css +0 -29
- package/src/app/kitchen-sink/kitchen-sink.component.html +0 -7
- package/src/app/kitchen-sink/kitchen-sink.component.spec.ts +0 -23
- package/src/app/kitchen-sink/kitchen-sink.component.ts +0 -92
- package/src/assets/.gitkeep +0 -0
- package/src/assets/Chevron.svg +0 -5
- package/src/assets/Frame.svg +0 -5
- package/src/assets/Grid.svg +0 -5
- package/src/assets/Location.svg +0 -5
- package/src/assets/Mail.svg +0 -5
- package/src/assets/Person.svg +0 -5
- package/src/assets/Scan.svg +0 -5
- package/src/assets/Sources.svg +0 -5
- package/src/assets/arrow.svg +0 -5
- package/src/assets/avatar.svg +0 -12
- package/src/assets/checkmark.svg +0 -5
- package/src/assets/crossmark.svg +0 -5
- package/src/assets/dot.svg +0 -5
- package/src/assets/negativemark.svg +0 -5
- package/src/assets/pointer-polygon.svg +0 -3
- package/src/assets/tick-icon.svg +0 -5
- package/src/assets/tick.svg +0 -8
- package/src/assets/warningmark.svg +0 -5
- package/src/custom-theme.scss +0 -37
- package/src/favicon.ico +0 -0
- package/src/index.html +0 -23
- package/src/main.ts +0 -6
- package/src/stories/GettingStarted.mdx +0 -233
- package/src/stories/KitchenSink.stories.ts +0 -86
- package/src/stories/avatar.stories.ts +0 -45
- package/src/stories/chips.stories.ts +0 -61
- package/src/stories/custom-button.stories.ts +0 -74
- package/src/stories/datepicker.stories.ts +0 -78
- package/src/stories/gridCell.stories.ts +0 -234
- package/src/stories/header.stories.ts +0 -61
- package/src/stories/selectInput.stories.ts +0 -158
- package/src/stories/stepper.stories.ts +0 -92
- package/src/stories/tabs.stories.ts +0 -97
- package/src/stories/toast.stories.ts +0 -54
- package/src/stories/tool-tip.stories.ts +0 -45
- package/src/styles.css +0 -204
- package/src/svg.d.ts +0 -1
- package/tsconfig.app.json +0 -14
- package/tsconfig.json +0 -42
- package/tsconfig.spec.json +0 -14
package/package.json
CHANGED
|
@@ -1,74 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sarasanalytics-com/design-system",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"build": "ng build",
|
|
8
|
-
"watch": "ng build --watch --configuration development",
|
|
9
|
-
"test": "ng test",
|
|
10
|
-
"build-storybook": "ng run sadlc:build-storybook",
|
|
11
|
-
"chromatic": "npx chromatic --project-token chpt_c15abbd7dcf38ca",
|
|
12
|
-
"lint": "ng lint"
|
|
3
|
+
"version": "0.0.5",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^17.2.0",
|
|
6
|
+
"@angular/core": "^17.2.0"
|
|
13
7
|
},
|
|
14
|
-
"private": false,
|
|
15
8
|
"dependencies": {
|
|
16
|
-
"
|
|
17
|
-
"@angular/cdk": "^17.3.6",
|
|
18
|
-
"@angular/common": "^17.1.0",
|
|
19
|
-
"@angular/compiler": "^17.1.0",
|
|
20
|
-
"@angular/core": "^17.1.0",
|
|
21
|
-
"@angular/forms": "^17.1.0",
|
|
22
|
-
"@angular/material": "^17.3.6",
|
|
23
|
-
"@angular/platform-browser": "^17.1.0",
|
|
24
|
-
"@angular/platform-browser-dynamic": "^17.1.0",
|
|
25
|
-
"@angular/router": "^17.1.0",
|
|
26
|
-
"@fontsource/material-icons": "^5.0.18",
|
|
27
|
-
"@fontsource/roboto": "^5.0.13",
|
|
28
|
-
"@material-ui/core": "^4.12.4",
|
|
29
|
-
"@mui/icons-material": "^5.15.17",
|
|
30
|
-
"@mui/material": "^5.15.17",
|
|
31
|
-
"@ng-select/ng-select": "^12.0.7",
|
|
32
|
-
"@ngx-formly/core": "^6.3.0",
|
|
33
|
-
"ag-grid-angular": "^31.2.0",
|
|
34
|
-
"rxjs": "~7.8.0",
|
|
35
|
-
"tslib": "^2.3.0",
|
|
36
|
-
"zone.js": "~0.14.3"
|
|
9
|
+
"tslib": "^2.3.0"
|
|
37
10
|
},
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"@storybook/addon-docs": "^8.1.3",
|
|
52
|
-
"@storybook/addon-essentials": "^8.0.0",
|
|
53
|
-
"@storybook/addon-interactions": "^8.0.0",
|
|
54
|
-
"@storybook/addon-links": "^8.0.0",
|
|
55
|
-
"@storybook/angular": "^8.0.0",
|
|
56
|
-
"@storybook/blocks": "^8.0.0",
|
|
57
|
-
"@storybook/test": "^8.0.0",
|
|
58
|
-
"@types/jasmine": "~5.1.0",
|
|
59
|
-
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
60
|
-
"@typescript-eslint/parser": "^7.2.0",
|
|
61
|
-
"chromatic": "^11.0.8",
|
|
62
|
-
"eslint": "^8.57.0",
|
|
63
|
-
"eslint-plugin-angular": "^4.1.0",
|
|
64
|
-
"jasmine-core": "~5.1.0",
|
|
65
|
-
"karma": "~6.4.0",
|
|
66
|
-
"karma-chrome-launcher": "~3.2.0",
|
|
67
|
-
"karma-coverage": "~2.2.0",
|
|
68
|
-
"karma-jasmine": "~5.1.0",
|
|
69
|
-
"karma-jasmine-html-reporter": "~2.1.0",
|
|
70
|
-
"ng-packagr": "^17.2.0",
|
|
71
|
-
"storybook": "^8.0.0",
|
|
72
|
-
"typescript": "~5.3.2"
|
|
11
|
+
"sideEffects": false,
|
|
12
|
+
"module": "fesm2022/sarasanalytics-com-design-system.mjs",
|
|
13
|
+
"typings": "index.d.ts",
|
|
14
|
+
"exports": {
|
|
15
|
+
"./package.json": {
|
|
16
|
+
"default": "./package.json"
|
|
17
|
+
},
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./index.d.ts",
|
|
20
|
+
"esm2022": "./esm2022/sarasanalytics-com-design-system.mjs",
|
|
21
|
+
"esm": "./esm2022/sarasanalytics-com-design-system.mjs",
|
|
22
|
+
"default": "./fesm2022/sarasanalytics-com-design-system.mjs"
|
|
23
|
+
}
|
|
73
24
|
}
|
|
74
|
-
}
|
|
25
|
+
}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of component-library
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
1
|
export * from './lib/component-library.service';
|
|
7
2
|
export * from './lib/component-library.component';
|
|
8
3
|
export * from './lib/button/button.component';
|
|
@@ -16,10 +11,9 @@ export * from './lib/stepper/stepper.component';
|
|
|
16
11
|
export * from './lib/tool-tip/tool-tip.component';
|
|
17
12
|
export * from './lib/datepicker/datepicker.component';
|
|
18
13
|
export * from './lib/tabs/tabs.component';
|
|
19
|
-
|
|
20
14
|
export * from './interfaces/grid-interface';
|
|
21
15
|
export * from './interfaces/avatar-interface';
|
|
22
16
|
export * from './interfaces/button-interface';
|
|
23
17
|
export * from './interfaces/chip-interface';
|
|
24
18
|
export * from './interfaces/select-interface';
|
|
25
|
-
export * from './interfaces/tab-interface';
|
|
19
|
+
export * from './interfaces/tab-interface';
|
package/.editorconfig
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# Editor configuration, see https://editorconfig.org
|
|
2
|
-
root = true
|
|
3
|
-
|
|
4
|
-
[*]
|
|
5
|
-
charset = utf-8
|
|
6
|
-
indent_style = space
|
|
7
|
-
indent_size = 2
|
|
8
|
-
insert_final_newline = true
|
|
9
|
-
trim_trailing_whitespace = true
|
|
10
|
-
|
|
11
|
-
[*.ts]
|
|
12
|
-
quote_type = single
|
|
13
|
-
|
|
14
|
-
[*.md]
|
|
15
|
-
max_line_length = off
|
|
16
|
-
trim_trailing_whitespace = false
|
package/.eslintrc.json
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"env": {
|
|
3
|
-
"browser": true,
|
|
4
|
-
"es2021": true
|
|
5
|
-
},
|
|
6
|
-
"extends": [
|
|
7
|
-
"eslint:recommended",
|
|
8
|
-
"plugin:@typescript-eslint/recommended"
|
|
9
|
-
],
|
|
10
|
-
"parser": "@typescript-eslint/parser",
|
|
11
|
-
"parserOptions": {
|
|
12
|
-
"ecmaVersion": "latest",
|
|
13
|
-
"sourceType": "module"
|
|
14
|
-
},
|
|
15
|
-
"plugins": [
|
|
16
|
-
"@typescript-eslint"
|
|
17
|
-
],
|
|
18
|
-
"rules": {
|
|
19
|
-
"@angular-eslint/template/accessibility-valid-aria": ["error"],
|
|
20
|
-
"@angular-eslint/template/accessibility-role-has-required-aria": ["error"]
|
|
21
|
-
}
|
|
22
|
-
}
|
package/.storybook/main.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { StorybookConfig } from "@storybook/angular";
|
|
2
|
-
|
|
3
|
-
const config: StorybookConfig = {
|
|
4
|
-
stories: ['../src/stories/*.stories.ts', '../src/stories/*.mdx'],
|
|
5
|
-
staticDirs: ['../src'],
|
|
6
|
-
addons: [
|
|
7
|
-
"@storybook/addon-links",
|
|
8
|
-
"@storybook/addon-essentials",
|
|
9
|
-
"@storybook/addon-interactions",
|
|
10
|
-
'@storybook/addon-docs',
|
|
11
|
-
'@storybook/addon-actions'
|
|
12
|
-
],
|
|
13
|
-
framework: {
|
|
14
|
-
name: "@storybook/angular",
|
|
15
|
-
options: {},
|
|
16
|
-
},
|
|
17
|
-
docs: {
|
|
18
|
-
autodocs: "tag",
|
|
19
|
-
},
|
|
20
|
-
};
|
|
21
|
-
export default config;
|
package/.storybook/manager.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// .storybook/manager.js
|
|
2
|
-
import { addons } from '@storybook/manager-api';
|
|
3
|
-
import { create } from '@storybook/theming/create';
|
|
4
|
-
|
|
5
|
-
addons.setConfig({
|
|
6
|
-
theme: create({
|
|
7
|
-
base: 'light', // or 'dark'
|
|
8
|
-
brandTitle: 'Saras',
|
|
9
|
-
brandUrl: 'https://sarasanalytics.com',
|
|
10
|
-
brandImage: '../Saras-logo.svg', // Path to your logo image
|
|
11
|
-
colorSecondary: '#1B77E4',
|
|
12
|
-
|
|
13
|
-
appBg: '#ffffff',
|
|
14
|
-
appContentBg: '#ffffff',
|
|
15
|
-
appPreviewBg: '#ffffff',
|
|
16
|
-
}),
|
|
17
|
-
});
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
2
|
-
<link
|
|
3
|
-
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
|
|
4
|
-
rel="stylesheet">
|
|
5
|
-
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
package/.storybook/preview.ts
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import type { Preview } from "@storybook/angular";
|
|
2
|
-
import { componentWrapperDecorator } from "@storybook/angular";
|
|
3
|
-
|
|
4
|
-
const preview: Preview = {
|
|
5
|
-
parameters: {
|
|
6
|
-
options: {
|
|
7
|
-
storySort: {
|
|
8
|
-
order: [
|
|
9
|
-
'Getting started',
|
|
10
|
-
'*',
|
|
11
|
-
'Kitchen Sink'
|
|
12
|
-
]
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
globalTypes: {
|
|
17
|
-
theme: {
|
|
18
|
-
description: 'Global theme for components',
|
|
19
|
-
defaultValue: 'saras-theme',
|
|
20
|
-
toolbar: {
|
|
21
|
-
title: 'Theme',
|
|
22
|
-
icon: 'circlehollow',
|
|
23
|
-
items: ['saras-theme', 'insights-theme'],
|
|
24
|
-
dynamicTitle: true,
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
decorators: [
|
|
29
|
-
componentWrapperDecorator(
|
|
30
|
-
(story) => {
|
|
31
|
-
return `
|
|
32
|
-
${story}
|
|
33
|
-
`
|
|
34
|
-
},
|
|
35
|
-
({ globals }) => {
|
|
36
|
-
document.body.classList.remove("saras-theme"); // remove if this theme already exists in classlist
|
|
37
|
-
document.body.classList.remove("insights-theme"); // Since we don't know which one already exists, we try removing both.
|
|
38
|
-
document.body.classList.add(globals['theme']); // append the most recent class selection here.
|
|
39
|
-
return { myTheme: globals['theme'] };
|
|
40
|
-
},
|
|
41
|
-
),
|
|
42
|
-
],
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
export default preview;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
// storySort: {
|
|
49
|
-
// order: [
|
|
50
|
-
// 'Avatar',
|
|
51
|
-
// 'Button',
|
|
52
|
-
// 'Chips',
|
|
53
|
-
// 'Datepicker',
|
|
54
|
-
// 'GridCell',
|
|
55
|
-
// 'Header',
|
|
56
|
-
// 'Select Input',
|
|
57
|
-
// 'Stepper',
|
|
58
|
-
// 'Tabs',
|
|
59
|
-
// 'Toast',
|
|
60
|
-
// 'ToolTip',
|
|
61
|
-
// 'Avatar Sink',
|
|
62
|
-
// 'Button Sink',
|
|
63
|
-
// 'Chip Sink'
|
|
64
|
-
// ]
|
|
65
|
-
// }
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// This tsconfig is used by Compodoc to generate the documentation for the project.
|
|
2
|
-
// If Compodoc is not used, this file can be deleted.
|
|
3
|
-
{
|
|
4
|
-
"extends": "./tsconfig.json",
|
|
5
|
-
// Exclude all files that are not needed for documentation generation.
|
|
6
|
-
"exclude": ["../src/test.ts", "../src/**/*.spec.ts", "../src/**/*.stories.ts"],
|
|
7
|
-
// Please make sure to include all files from which Compodoc should generate documentation.
|
|
8
|
-
"include": ["../src/**/*"],
|
|
9
|
-
"files": ["./typings.d.ts"]
|
|
10
|
-
}
|
package/.storybook/tsconfig.json
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../tsconfig.app.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"types": ["node"],
|
|
5
|
-
"allowSyntheticDefaultImports": true,
|
|
6
|
-
"resolveJsonModule": true
|
|
7
|
-
},
|
|
8
|
-
"exclude": ["../src/test.ts", "../src/**/*.spec.ts"],
|
|
9
|
-
"include": ["../src/**/*.stories.*", "./preview.ts"],
|
|
10
|
-
"files": ["./typings.d.ts"]
|
|
11
|
-
}
|
package/.storybook/typings.d.ts
DELETED
package/.vscode/extensions.json
DELETED
package/.vscode/launch.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
3
|
-
"version": "0.2.0",
|
|
4
|
-
"configurations": [
|
|
5
|
-
{
|
|
6
|
-
"name": "ng serve",
|
|
7
|
-
"type": "chrome",
|
|
8
|
-
"request": "launch",
|
|
9
|
-
"preLaunchTask": "npm: start",
|
|
10
|
-
"url": "http://localhost:4200/"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"name": "ng test",
|
|
14
|
-
"type": "chrome",
|
|
15
|
-
"request": "launch",
|
|
16
|
-
"preLaunchTask": "npm: test",
|
|
17
|
-
"url": "http://localhost:9876/debug.html"
|
|
18
|
-
}
|
|
19
|
-
]
|
|
20
|
-
}
|
package/.vscode/settings.json
DELETED
package/.vscode/tasks.json
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
// For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
|
|
3
|
-
"version": "2.0.0",
|
|
4
|
-
"tasks": [
|
|
5
|
-
{
|
|
6
|
-
"type": "npm",
|
|
7
|
-
"script": "start",
|
|
8
|
-
"isBackground": true,
|
|
9
|
-
"problemMatcher": {
|
|
10
|
-
"owner": "typescript",
|
|
11
|
-
"pattern": "$tsc",
|
|
12
|
-
"background": {
|
|
13
|
-
"activeOnStart": true,
|
|
14
|
-
"beginsPattern": {
|
|
15
|
-
"regexp": "(.*?)"
|
|
16
|
-
},
|
|
17
|
-
"endsPattern": {
|
|
18
|
-
"regexp": "bundle generation complete"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"type": "npm",
|
|
25
|
-
"script": "test",
|
|
26
|
-
"isBackground": true,
|
|
27
|
-
"problemMatcher": {
|
|
28
|
-
"owner": "typescript",
|
|
29
|
-
"pattern": "$tsc",
|
|
30
|
-
"background": {
|
|
31
|
-
"activeOnStart": true,
|
|
32
|
-
"beginsPattern": {
|
|
33
|
-
"regexp": "(.*?)"
|
|
34
|
-
},
|
|
35
|
-
"endsPattern": {
|
|
36
|
-
"regexp": "bundle generation complete"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
}
|
package/angular.json
DELETED
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
3
|
-
"version": 1,
|
|
4
|
-
"newProjectRoot": "projects",
|
|
5
|
-
"projects": {
|
|
6
|
-
"sadlc": {
|
|
7
|
-
"projectType": "application",
|
|
8
|
-
"schematics": {},
|
|
9
|
-
"root": "",
|
|
10
|
-
"sourceRoot": "src",
|
|
11
|
-
"prefix": "app",
|
|
12
|
-
"architect": {
|
|
13
|
-
"build": {
|
|
14
|
-
"builder": "@angular-devkit/build-angular:application",
|
|
15
|
-
"options": {
|
|
16
|
-
"outputPath": "dist/sadlc",
|
|
17
|
-
"index": "src/index.html",
|
|
18
|
-
"browser": "src/main.ts",
|
|
19
|
-
"polyfills": [
|
|
20
|
-
"zone.js"
|
|
21
|
-
],
|
|
22
|
-
"tsConfig": "tsconfig.app.json",
|
|
23
|
-
"assets": [
|
|
24
|
-
"src/favicon.ico",
|
|
25
|
-
"src/assets"
|
|
26
|
-
],
|
|
27
|
-
"styles": [
|
|
28
|
-
"src/custom-theme.scss",
|
|
29
|
-
"src/styles.css",
|
|
30
|
-
"ag-grid-community/styles/ag-grid.css",
|
|
31
|
-
"ag-grid-community/styles/ag-theme-alpine.css"
|
|
32
|
-
],
|
|
33
|
-
"scripts": []
|
|
34
|
-
},
|
|
35
|
-
"configurations": {
|
|
36
|
-
"production": {
|
|
37
|
-
"budgets": [
|
|
38
|
-
{
|
|
39
|
-
"type": "initial",
|
|
40
|
-
"maximumWarning": "2mb",
|
|
41
|
-
"maximumError": "4mb"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"type": "anyComponentStyle",
|
|
45
|
-
"maximumWarning": "4kb",
|
|
46
|
-
"maximumError": "6kb"
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
|
-
"outputHashing": "all"
|
|
50
|
-
},
|
|
51
|
-
"development": {
|
|
52
|
-
"optimization": false,
|
|
53
|
-
"extractLicenses": false,
|
|
54
|
-
"sourceMap": true
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"defaultConfiguration": "production"
|
|
58
|
-
},
|
|
59
|
-
"serve": {
|
|
60
|
-
"builder": "@angular-devkit/build-angular:dev-server",
|
|
61
|
-
"configurations": {
|
|
62
|
-
"production": {
|
|
63
|
-
"buildTarget": "sadlc:build:production"
|
|
64
|
-
},
|
|
65
|
-
"development": {
|
|
66
|
-
"buildTarget": "sadlc:build:development"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
"defaultConfiguration": "development"
|
|
70
|
-
},
|
|
71
|
-
"extract-i18n": {
|
|
72
|
-
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
73
|
-
"options": {
|
|
74
|
-
"buildTarget": "sadlc:build"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"test": {
|
|
78
|
-
"builder": "@angular-devkit/build-angular:karma",
|
|
79
|
-
"options": {
|
|
80
|
-
"polyfills": [
|
|
81
|
-
"zone.js",
|
|
82
|
-
"zone.js/testing"
|
|
83
|
-
],
|
|
84
|
-
"tsConfig": "tsconfig.spec.json",
|
|
85
|
-
"assets": [
|
|
86
|
-
"src/favicon.ico",
|
|
87
|
-
"src/assets"
|
|
88
|
-
],
|
|
89
|
-
"styles": [
|
|
90
|
-
"src/styles.css"
|
|
91
|
-
],
|
|
92
|
-
"scripts": []
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
"storybook": {
|
|
96
|
-
"builder": "@storybook/angular:start-storybook",
|
|
97
|
-
"options": {
|
|
98
|
-
"configDir": ".storybook",
|
|
99
|
-
"browserTarget": "sadlc:build",
|
|
100
|
-
"compodoc": false,
|
|
101
|
-
"port": 6006
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
"build-storybook": {
|
|
105
|
-
"builder": "@storybook/angular:build-storybook",
|
|
106
|
-
"options": {
|
|
107
|
-
"configDir": ".storybook",
|
|
108
|
-
"browserTarget": "sadlc:build",
|
|
109
|
-
"compodoc": false,
|
|
110
|
-
"outputDir": "dist/storybook/sadlc",
|
|
111
|
-
"styles": ["src/styles.css", "src/custom-theme.scss"]
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
"component-library": {
|
|
117
|
-
"projectType": "library",
|
|
118
|
-
"root": "projects/component-library",
|
|
119
|
-
"sourceRoot": "projects/component-library/src",
|
|
120
|
-
"prefix": "lib",
|
|
121
|
-
"architect": {
|
|
122
|
-
"build": {
|
|
123
|
-
"builder": "@angular-devkit/build-angular:ng-packagr",
|
|
124
|
-
"options": {
|
|
125
|
-
"project": "projects/component-library/ng-package.json"
|
|
126
|
-
},
|
|
127
|
-
"configurations": {
|
|
128
|
-
"production": {
|
|
129
|
-
"tsConfig": "projects/component-library/tsconfig.lib.prod.json"
|
|
130
|
-
},
|
|
131
|
-
"development": {
|
|
132
|
-
"tsConfig": "projects/component-library/tsconfig.lib.json"
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
"defaultConfiguration": "production"
|
|
136
|
-
},
|
|
137
|
-
"test": {
|
|
138
|
-
"builder": "@angular-devkit/build-angular:karma",
|
|
139
|
-
"options": {
|
|
140
|
-
"tsConfig": "projects/component-library/tsconfig.spec.json",
|
|
141
|
-
"polyfills": [
|
|
142
|
-
"zone.js",
|
|
143
|
-
"zone.js/testing"
|
|
144
|
-
]
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
"lint": {
|
|
148
|
-
"builder": "@angular-eslint/builder:lint",
|
|
149
|
-
"options": {
|
|
150
|
-
"lintFilePatterns":[
|
|
151
|
-
"src/**/*.ts",
|
|
152
|
-
"src/**/*/*.html"
|
|
153
|
-
]
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
"storybook": {
|
|
157
|
-
"builder": "@storybook/angular:start-storybook",
|
|
158
|
-
"options": {
|
|
159
|
-
"configDir": "projects/component-library/.storybook",
|
|
160
|
-
"browserTarget": "component-library:build",
|
|
161
|
-
"compodoc": true,
|
|
162
|
-
"port": 6006,
|
|
163
|
-
"compodocArgs": [
|
|
164
|
-
"-e",
|
|
165
|
-
"json",
|
|
166
|
-
"-d",
|
|
167
|
-
"."
|
|
168
|
-
]
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
"build-storybook": {
|
|
172
|
-
"builder": "@storybook/angular:build-storybook",
|
|
173
|
-
"options": {
|
|
174
|
-
"configDir": "projects/component-library/.storybook",
|
|
175
|
-
"browserTarget": "component-library:build",
|
|
176
|
-
"compodoc": true,
|
|
177
|
-
"compodocArgs": [
|
|
178
|
-
"-e",
|
|
179
|
-
"json",
|
|
180
|
-
"-d",
|
|
181
|
-
"."
|
|
182
|
-
],
|
|
183
|
-
"outputDir": "dist/storybook/component-library"
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
package/build-storybook.log
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> sadlc@0.0.25 build-storybook
|
|
3
|
-
> ng run sadlc:build-storybook --output-dir C:\Users\SARAS\AppData\Local\Temp\chromatic--4864-8RXA4OBPXIHg
|
|
4
|
-
|
|
5
|
-
info => Cleaning outputDir: C:\Users\SARAS\AppData\Local\Temp\chromatic--4864-8RXA4OBPXIHg
|
|
6
|
-
info => Loading presets
|
|
7
|
-
info Found existing addon "@storybook/addon-docs", skipping.
|
|
8
|
-
info Found existing addon "@storybook/addon-actions", skipping.
|
|
9
|
-
info Found existing addon "@storybook/addon-docs", skipping.
|
|
10
|
-
info Found existing addon "@storybook/addon-actions", skipping.
|
|
11
|
-
info => Building manager..
|
|
12
|
-
info => Manager built (469 ms)
|
|
13
|
-
info => Building preview..
|
|
14
|
-
info Addon-docs: using MDX3
|
|
15
|
-
info => Using implicit CSS loaders
|
|
16
|
-
info => Using angular browser target options from "sadlc:build"
|
|
17
|
-
info => Using angular project with "tsConfig:D:\practice\sadlc\.storybook\tsconfig.json"
|
|
18
|
-
info => Copying static files: src at C:\Users\SARAS\AppData\Local\Temp\chromatic--4864-8RXA4OBPXIHg
|
|
19
|
-
info => Using default Webpack5 setup
|
|
20
|
-
WARN export 'EmptyTabContent' (imported as 'EmptyTabContent') was not found in '@storybook/components' (possible exports: A, ActionBar, AddonPanel, Badge, Bar, Blockquote, Button, ClipboardCode, Code, DL, Div, DocumentWrapper, ErrorFormatter, FlexBar, Form, H1, H2, H3, H4, H5, H6, HR, IconButton, IconButtonSkeleton, Icons, Img, LI, Link, ListItem, Loader, OL, P, Placeholder, Pre, ResetWrapper, ScrollArea, Separator, Spaced, Span, StorybookIcon, StorybookLogo, Symbols, SyntaxHighlighter, TT, TabBar, TabButton, TabWrapper, Table, Tabs, TabsState, TooltipLinkList, TooltipMessage, TooltipNote, UL, WithTooltip, WithTooltipPure, Zoom, codeCommon, components, createCopyToClipboardFunction, getStoryHref, icons, interleaveSeparators, nameSpaceClassNames, resetComponents, withReset)
|
|
21
|
-
WARN asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
|
|
22
|
-
WARN This can impact web performance.
|
|
23
|
-
WARN Assets:
|
|
24
|
-
WARN 805.4de14699a12f7c9f06f6.css (322 KiB)
|
|
25
|
-
WARN 664.76e61017.iframe.bundle.js (721 KiB)
|
|
26
|
-
WARN 56.1ad42925.iframe.bundle.js (1.32 MiB)
|
|
27
|
-
WARN 144.f0fb8473.iframe.bundle.js (897 KiB)
|
|
28
|
-
WARN 805.f421c610.iframe.bundle.js (3.45 MiB)
|
|
29
|
-
WARN entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
|
|
30
|
-
WARN Entrypoints:
|
|
31
|
-
WARN main (3.87 MiB)
|
|
32
|
-
WARN runtime~main.d5aa068e.iframe.bundle.js
|
|
33
|
-
WARN 805.4de14699a12f7c9f06f6.css
|
|
34
|
-
WARN 805.f421c610.iframe.bundle.js
|
|
35
|
-
WARN main.1bc0e8fe940aa9df3425.css
|
|
36
|
-
WARN main.2240cc33.iframe.bundle.js
|
|
37
|
-
WARN
|
|
38
|
-
info => Preview built (57 s)
|
|
39
|
-
info => Output directory: C:\Users\SARAS\AppData\Local\Temp\chromatic--4864-8RXA4OBPXIHg
|
package/documentation.json
DELETED
|
File without changes
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# TestLibrary
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.2.0.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project component-library` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project component-library`.
|
|
8
|
-
> Note: Don't forget to add `--project component-library` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build component-library` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build component-library`, go to the dist folder `cd dist/component-library` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test component-library` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|