-
Notifications
You must be signed in to change notification settings - Fork 12
feat(ui): add the d2e component library and the Histoire explorer #3204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
khairul-syazwan
wants to merge
33
commits into
develop
Choose a base branch
from
khairul-syazwan/d2e-ui-library
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 20 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
4e7f1f9
refactor(vue-mri): remove the unused atlas theme
khairul-syazwan 1e56db6
feat(ui): add the @d2e/ui package with design tokens and histoire
khairul-syazwan 9b7eb91
feat(ui): add D2eDialog, D2eButton and D2eTextField
khairul-syazwan 590e0b2
refactor(vue-mri): drive the vuetify d2e theme from @d2e/ui tokens
khairul-syazwan 1d65841
fix(ui): use literal colors in D2eButton to avoid bootstrap utility c…
khairul-syazwan a60b1cd
style(ui): format the library files with prettier
khairul-syazwan 20d3134
refactor(ui): use mri-brand theme key for D2eButton colors
khairul-syazwan 4c25124
feat(ui): add slice 2 design tokens
khairul-syazwan f2ab13b
feat(ui): add D2eStatusChip, D2eIconButton and D2eMenu
khairul-syazwan 9278832
feat(ui): add D2eCard, D2eToolbar and D2eExplorationCard
khairul-syazwan 34bbe4c
feat(ui): make D2eCard width configurable
khairul-syazwan e0f9f0e
fix(ui): emit unitless font weight and line height tokens
khairul-syazwan 10aaf0a
chore(ui): track the component explorer as a sub-project
khairul-syazwan b30a116
chore(ui): remove the histoire setup that the workspace cannot run
khairul-syazwan ececa58
docs(ui): explain how to start the component explorer
khairul-syazwan 79438bd
test(ui): guard the explorer against workspace and version drift
khairul-syazwan 3d026bd
fix(ui): keep the explorer on the vue version histoire accepts
khairul-syazwan 691bcae
fix(ui): correct the modal scale, add button icons, stop scrim dismissal
khairul-syazwan f0637e3
fix(ui): split the dialog sizes into variants and drop the button ripple
khairul-syazwan 02f3abb
fix(ui): source-export the d2e component library to unblock the atlas…
khairul-syazwan ab58f69
fix(ui): resolve the d2e library's vue/vuetify during the isolated at…
khairul-syazwan b1add9c
fix(ui): rebuild D2eExplorationCard against the current Figma design
khairul-syazwan 1583ef5
fix(ui): only the primary icon button fills when disabled
khairul-syazwan b7b26e4
fix(ui): size every exploration card toolbar button to the design's 48px
khairul-syazwan a46a110
fix(ui): resolve vue and vuetify wherever they install, not app-locally
khairul-syazwan 91d2b79
refactor(vue-mri): drop the theme class, the app has one theme
khairul-syazwan 87be952
docs(ui): correct the component and theme docs I made stale
khairul-syazwan d810d39
ci(ui): run the @d2e/ui library checks
khairul-syazwan 13361ff
refactor(ui): rename the mri-* theme keys to brand*
khairul-syazwan 3f783d0
feat(ui): build @d2e/ui as a distributable component library
khairul-syazwan 751d245
fix(ui): cover every export in the dist guard, and correct the README
khairul-syazwan 1cfa715
Merge branch 'develop' into khairul-syazwan/d2e-ui-library
khairul-syazwan bbcd105
fix(ui): close #3204's remaining Copilot review gaps
khairul-syazwan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -95,4 +95,4 @@ | |
| "not ie <= 8", | ||
| "not op_mob >= 1" | ||
| ] | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
plugins/ui/apps/vue-mri-ui-lib/src/bootstrap/themeBootstrap.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| import '../styles/themes/_main.scss' | ||
| import { applyTheme } from '../utils/ThemeManager' | ||
|
|
||
| export const applyAppTheme = (theme: 'atlas' | 'd2e') => { | ||
| applyTheme(theme) | ||
| export const applyAppTheme = () => { | ||
| applyTheme() | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.