Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
f98169b
Create src/Dialog.ts and test
afarber Oct 1, 2025
1b06bf2
Add stories
afarber Oct 1, 2025
16b7b92
Center the anchor
afarber Oct 1, 2025
d26dd09
Fix buttons, colors
afarber Oct 1, 2025
9050df1
Fix buttons in Sprite stories
afarber Oct 1, 2025
e52b783
Rename to DialogSolidColors, remove the logs
afarber Oct 1, 2025
8fb2146
Use Texture.WHITE as default backdrop, make dialog buttons optional, …
afarber Oct 2, 2025
0c2cf1f
Modify createBunnyBackdrop to display a scrolling grid of bunnies
afarber Oct 2, 2025
c00ad27
Remove NineSliceDifferentSizes story, move createBunnyBackdrop and gi…
afarber Oct 2, 2025
1c8efda
Add new backdrop.ts file and JSdoc comments
afarber Oct 2, 2025
c484197
Use scroll box for the letter grid
afarber Oct 2, 2025
9b8875b
Fix checkbox hit area by adding fill()
afarber Oct 2, 2025
ae95d38
Reduce the height
afarber Oct 2, 2025
ae42447
Add getters, rename properties - to match the established style of th…
afarber Oct 2, 2025
cb0ea9a
Add disable animations property
afarber Oct 17, 2025
023a575
Update user stories
afarber Oct 17, 2025
ba8bc9b
Drop disableAnimations and use animations like FancyButton
afarber Oct 18, 2025
972f3b5
Update the ConfirmDialog story to use FancyButtons
afarber Oct 18, 2025
c7147e4
Make the FancyButtons in the ConfirmDialog story fancier
afarber Oct 18, 2025
85ca29f
make padding to be applied horizontally
CyberDex Oct 20, 2025
8daf50a
make padding do not effect content margings
CyberDex Oct 20, 2025
4438cb0
use closeOnBackdropClick setting in all stories if present
CyberDex Oct 20, 2025
8f2388b
fix defaultButtonHoverColor & defaultButtonPressedColor can be 0
CyberDex Oct 20, 2025
6894f1a
refactor Dialog buttons
CyberDex Oct 20, 2025
f99f657
Fix the closeOnBackdropClick bug when dialog body is clicked
afarber Oct 21, 2025
20ccb91
Remove the animated bunny backdrop
afarber Oct 21, 2025
5f110e6
Remove the solid colors dialog
afarber Oct 21, 2025
f949eb2
Fix letter alignment
afarber Oct 21, 2025
65bc712
Add margin between buttons
afarber Oct 21, 2025
4c7dc2d
Merge remote-tracking branch 'upstream/main' into add-modal-dialog
afarber Oct 21, 2025
8669f01
Add spacing between non-fancy buttons
afarber Oct 21, 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
427 changes: 427 additions & 0 deletions src/Dialog.ts

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export * from './Button';
export * from './CheckBox';
export * from './CircularProgressBar';
export * from './Dialog';
export * from './DoubleSlider';
export * from './FancyButton';
export * from './Input';
Expand Down
Loading