Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
ef011dd
Upgrade to Angular 19 now fully compiles
hirokiterashima Feb 5, 2025
50ecde3
Remove dom-autoscroller dependency. Was not being used.
hirokiterashima Feb 6, 2025
e3fa960
Tests are all passing now
hirokiterashima Feb 6, 2025
f2f361d
Merge branch 'develop' into angular-19
hirokiterashima Feb 6, 2025
49b0c44
Upgrade html2canvas and got snip to notebook working again.
hirokiterashima Feb 6, 2025
c8307da
Fix build errors. fabric's dependency on jsdom was causing compile-ti…
hirokiterashima Feb 11, 2025
6f867e0
Merge branch 'develop' into angular-19
hirokiterashima Feb 11, 2025
c6c0bb4
Merge branch 'develop' into angular-19
hirokiterashima Feb 11, 2025
94342d2
Temporarily re-support mat-elevation and app bg styles; fix 'Back to …
breity Feb 12, 2025
b7c0b35
Merge branch 'develop' into angular-19
hirokiterashima Feb 18, 2025
2bcd97f
Merge branch 'develop' into angular-19
hirokiterashima Feb 19, 2025
34117e0
Prod build now outputs to /dist, instead of /dist/browser.
hirokiterashima Feb 24, 2025
cf8451b
Merge branch 'develop' into angular-19
hirokiterashima Feb 24, 2025
446905d
feat(Documentation): Install and configure Storybook
breity Feb 25, 2025
f379fad
feat(Design System): Create Angular Material 19 theme
breity Feb 25, 2025
0aec06f
feat(Design System): Customize Button, FormField, Select styles; crea…
breity Feb 25, 2025
c371c93
Merge branch 'develop' into storybook-angular-material-3
breity Feb 25, 2025
ac1be52
feat(Design System): Upgrade to Storybook 9
breity Sep 12, 2025
34e7a96
Merge branch 'develop' into storybook-angular-material-3
breity Sep 12, 2025
2dbe036
Add Storybook Viewport addon
breity Sep 15, 2025
b05bc14
Set outlined FormField border width
breity Sep 15, 2025
a06d06e
Merge branch 'develop' into storybook-angular-material-3
breity Sep 19, 2025
49e73af
Merge branch 'develop' into storybook-angular-material-3
breity Sep 24, 2025
49478a0
feat(Design System): Update Button examples to use Angular Material 2…
breity Sep 24, 2025
308d238
Create and use Storybook theme
breity Sep 26, 2025
5b24c4d
feat(Design System): Customize Dialog, create story
breity Sep 29, 2025
98c55ae
feat(Design System): Customize Menu, create stories
breity Sep 29, 2025
7371a65
Add missing menu styles from previous commit
breity Oct 1, 2025
35368b5
feat(Design System): Customoze Autocomplete, create story
breity Oct 1, 2025
9ba968a
Merge branch 'develop' into wise-design-system
breity Oct 9, 2025
dd0d6a2
feat(Design System): Customize ExpansionPanel, create stories
breity Oct 9, 2025
4f7e045
feat(Design System): Customize ProgressBar, create stories
breity Oct 10, 2025
e68afa5
Add button with progress bar example
breity Oct 10, 2025
b7bdb50
Order and rename Storybook component groups
breity Oct 10, 2025
01020ed
feat(Design System): Customize Tabs, create stories
breity Oct 13, 2025
009c6c2
Merge branch 'develop' into wise-design-system
breity Oct 16, 2025
91a0339
feat(Design System): Customize SlideToggle, create stories
breity Oct 16, 2025
5c684e6
Title main MDX for each component as 'Docs'
breity Oct 29, 2025
d6b8547
feat(Design System): Customize Chips, create stories
breity Oct 30, 2025
ebca64d
feat(Design System): Customize Button height
breity Oct 30, 2025
0f7cdd5
Fix Chips docs text
breity Oct 30, 2025
bdb5e1a
Fix name of Text Button story
breity Oct 30, 2025
2a004b0
Update Fab colors
breity Oct 30, 2025
d064d9b
Update FAB colors and size
breity Oct 30, 2025
5614f93
Match Autocomplete filter example clear icon to Chips input
breity Oct 30, 2025
961b36e
feat(Design System): Customize Chips, create stories
breity Oct 30, 2025
22ef103
Update and generalize some doc styles
breity Oct 31, 2025
1c9d107
feat(Design System): Customize Card, create stories
breity Nov 3, 2025
170e852
Add default values and types to existing story args
breity Nov 3, 2025
1d0fcb3
feat(Design System): Customize Snackbar, create story
breity Nov 4, 2025
0d6183a
Increase Card border width
breity Nov 4, 2025
509ac5c
feat(Design System): Customize List, create stories
breity Nov 4, 2025
d292fb3
feat(Design System): Customize Datepicker, create stories
breity Nov 5, 2025
7bd9dd9
feat(Design System): Customize Timepicker, create stories
breity Nov 5, 2025
a2c9e16
Upgrade to Storybook 10
breity Nov 5, 2025
e1d15e6
Fix Storybook 10 module resolution
breity Nov 7, 2025
b583a21
Fix Storybook 10 module resolution for Dialog and Snackbar stories
breity Nov 7, 2025
e71d92e
feat(Design System): Update Angular Material theme styles, add Colors…
breity Nov 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ hsqldb
hsqldb_test
.classpath
tokens/
*storybook.log
scripts/awscliv2.zip
scripts/aws/install
scripts/aws/README.md
scripts/aws/THIRD_PARTY_LICENSES
scripts/aws/THIRD_PARTY_LICENSES
17 changes: 17 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import type { StorybookConfig } from '@storybook/angular';

const config: StorybookConfig = {
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
staticDirs: ['../src/stories/assets'],
addons: [
'@storybook/addon-onboarding',
'@chromatic-com/storybook',
'@storybook/addon-a11y',
'@storybook/addon-docs'
],
framework: {
name: '@storybook/angular',
options: {}
}
};
export default config;
6 changes: 6 additions & 0 deletions .storybook/manager.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { addons } from 'storybook/manager-api';
import wiseTheme from './wiseTheme';

addons.setConfig({
theme: wiseTheme
});
9 changes: 9 additions & 0 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<link rel="icon" type="image/x-icon" href="assets/favicon/favicon.ico" />
<link
href="https://fonts.googleapis.com/css?family=Raleway:400,500,700|Roboto:400,500,700&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons&display=swap"
rel="stylesheet"
/>
38 changes: 38 additions & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import { moduleMetadata, type Preview } from '@storybook/angular';
import { setCompodocJson } from '@storybook/addon-docs/angular';
import docJson from '../documentation.json';
import { MAT_TABS_CONFIG } from '@angular/material/tabs';

setCompodocJson(docJson);

const preview: Preview = {
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i
}
},
options: {
storySort: {
method: 'alphabetical',
order: ['Design Tokens', 'Components']
}
}
},
decorators: [
moduleMetadata({
providers: [
{
provide: MAT_TABS_CONFIG,
useValue: {
animationDuration: '400ms',
stretchTabs: false
}
}
]
})
]
};

export default preview;
10 changes: 10 additions & 0 deletions .storybook/tsconfig.doc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// This tsconfig is used by Compodoc to generate the documentation for the project.
// If Compodoc is not used, this file can be deleted.
{
"extends": "./tsconfig.json",
// Exclude all files that are not needed for documentation generation.
"exclude": ["../src/test.ts", "../src/**/*.spec.ts", "../src/**/*.stories.ts"],
// Please make sure to include all files from which Compodoc should generate documentation.
"include": ["../src/**/*"],
"files": ["./typings.d.ts"]
}
14 changes: 14 additions & 0 deletions .storybook/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"extends": "../src/tsconfig.app.json",
"compilerOptions": {
"types": ["node"],
"emitDecoratorMetadata": true,
"moduleResolution": "bundler",
"module": "preserve",
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true
},
"exclude": ["../src/test.ts", "../src/**/*.spec.ts"],
"include": ["../src/**/*.stories.*", "./*.ts"],
"files": ["./typings.d.ts", "../src/polyfills.ts"]
}
4 changes: 4 additions & 0 deletions .storybook/typings.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module '*.md' {
const content: string;
export default content;
}
10 changes: 10 additions & 0 deletions .storybook/wiseTheme.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { create } from 'storybook/theming';

export default create({
base: 'dark',
fontBase: '"Roboto", sans-serif',
brandTitle: 'WISE',
brandUrl: 'https://wise.berkeley.edu',
// brandImage: 'https://storybook.js.org/images/placeholders/350x150.png',
brandTarget: '_self'
});
35 changes: 34 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,39 @@
"**/node_modules/**"
]
}
},
"storybook": {
"builder": "@storybook/angular:start-storybook",
"options": {
"tsConfig": ".storybook/tsconfig.json",
"configDir": ".storybook",
"browserTarget": "wise:build",
"compodoc": true,
"compodocArgs": [
"-e",
"json",
"-d",
"."
],
"port": 6006,
"styles": [ "src/style/styles.scss", "src/stories/docs.scss" ]
}
},
"build-storybook": {
"builder": "@storybook/angular:build-storybook",
"options": {
"tsConfig": ".storybook/tsconfig.json",
"configDir": ".storybook",
"browserTarget": "wise:build",
"compodoc": true,
"compodocArgs": [
"-e",
"json",
"-d",
"."
],
"outputDir": "dist/storybook/wise"
}
}
},
"i18n": {
Expand Down Expand Up @@ -289,4 +322,4 @@
"cli": {
"analytics": false
}
}
}
Loading
Loading