Commit graph

4662 commits

Author SHA1 Message Date
Ghislain Seguin
716fe684d1 Rewrote "docs" target to take advantage of r.js' whole project optimization added build profile docs.build.js 2012-01-13 17:31:29 +07:00
Mat Marquis
f269788492 Fixes #2553 — Addresses issue where underlying checkboxes/radio buttons were not being updated when enhanced buttons were clicked. 2012-01-13 17:31:29 +07:00
Eddie Monge Jr
8801237429 add docs back to the latest build target 2012-01-13 17:31:28 +07:00
Ghislain Seguin
75e43f3d39 Finished merging branch 'out-in-transition', I had trailing commas in there instead of semi-colons 2012-01-13 17:31:28 +07:00
Ghislain Seguin
810696b2ba AMDized transition code 2012-01-13 17:30:51 +07:00
scottjehl
d4f0a024fc combined redundant syntax 2012-01-13 17:30:51 +07:00
scottjehl
d72397daa0 added the timing durations to the transitions themselves 2012-01-13 17:30:51 +07:00
scottjehl
c97d708bec fixed some typos where webkit needed to be moz 2012-01-13 17:30:50 +07:00
scottjehl
3bb06691f1 fix up dialog presentation - headers were busted 2012-01-13 17:30:50 +07:00
scottjehl
ef8332071a no bg image/gradient on ui-overlay 2012-01-13 17:30:50 +07:00
scottjehl
ce3b892c5f removed old link 2012-01-13 17:30:50 +07:00
scottjehl
8fda621da9 added missing files 2012-01-13 17:30:50 +07:00
scottjehl
1507d51c98 no longer need this class addition 2012-01-13 17:30:50 +07:00
scottjehl
fbd5e2b77a code style 2012-01-13 17:30:50 +07:00
scottjehl
967834d6b2 CSS for ui-overlay-x applies to container now too - removed double class 2012-01-13 17:30:50 +07:00
scottjehl
eac0b7d3c7 class name was body instead of overlay. Fixed 2012-01-13 17:30:49 +07:00
toddparker
6438b3423a Removed blurb about shutting off transitions over 1,000 pixels 2012-01-13 17:30:49 +07:00
toddparker
c4cbf8e7f1 Tweaked max width blurb to match the "false" default to avoid confusion 2012-01-13 17:30:49 +07:00
toddparker
a6dc847474 SetScrollBack to 10 (from 250), CSS tweaks to table 2012-01-13 17:30:49 +07:00
toddparker
a6b090d15c Re-vamp of transition button design, added page demos
Added a new page to contrast the dialog vs. page transitions. Page has
fixed toolbars and form elements to really stress the transitions.

Switched to a table design with a button for dialog and page for each
transition.
2012-01-13 17:30:49 +07:00
toddparker
97ff127a1c Turned maxTransitionWidth to false by default
Useful for testing, we may set this back to a value once we've seen
more feedback. Improved the comment a bit.
2012-01-13 17:30:49 +07:00
Mat Marquis
b52551d9a3 Updated 3d transform test to accomodate FF10. 2012-01-13 17:30:49 +07:00
Mat Marquis
733bda9a04 Removed reference to themeswitcher JS docs-wide. 2012-01-13 17:30:48 +07:00
Mat Marquis
930d69ab37 Removed themeswitcher in docs. 2012-01-13 17:30:48 +07:00
scottjehl
f7aa71d423 if there's an overlay theme, we're going to remove it from the page container. First though, check that the incoming page isn't a dialog with the same overlay theme. If so, don't remove the class, as it'll remove it for the next one too 2012-01-13 17:29:42 +07:00
scottjehl
473802e26e don't append themeswitcher to the dialogs - updated now that the dialog markup changed 2012-01-13 17:29:42 +07:00
scottjehl
7b9d2920d2 removed the sample link to the delayed-load page. no longer needed 2012-01-13 17:29:42 +07:00
scottjehl
bdc400bbeb added some unit tests for maxTransitionWidth option 2012-01-13 17:29:42 +07:00
scottjehl
54aee8cb65 disable the maxTransitionWidth during testing by default so that window width doesn't conflict with tests. 2012-01-13 17:29:42 +07:00
scottjehl
4f12d46945 By caching the href value to data and switching the href to a #, we can avoid address bar showing in iOS on every click. The click handler resets the href during its initial steps if this data is present. Note that the address bar will still likely drop down when you click the browser's back button. The only time the back button will not drop the address bar appears to be when the back button does not trigger a pushstate operation - so pushstate would either have to be disabled, or the page would have to be local (multipage), or the page would need to be a dialog (since then going back would only be a hashchange).
Still, progress.
2012-01-13 17:29:41 +07:00
scottjehl
a9cd92a978 special case for dialogs - the theme class will apply to the page container when a dialog is shown, and that class will be removed when the dialog is hidden. This allows the transition to appear to affect only the inset window portion of the dialog page. 2012-01-13 17:29:41 +07:00
Ghislain Seguin
9ffabcce33 Use css/themes/default/jquery.mobile.css instead of css/themes/default/index.php 2012-01-13 17:29:41 +07:00
Ghislain Seguin
ba6ad1d07a Have index.php serve the right file, this is deprecated and should be removed before 1.1 release 2012-01-13 17:27:57 +07:00
Ghislain Seguin
de37fbe615 Ported 148cb09132 to valencia theme 2012-01-13 17:27:57 +07:00
Todd Parker
4f5ecb06e2 Missing a 0, thanks @agcolom! 2012-01-13 17:27:57 +07:00
Ghislain Seguin
b675d0ff8d Changed source CSS file for css bundle following bac53cf151 2012-01-13 17:27:56 +07:00
Mat Marquis
b815db5f76 Updated docs’ CSS to use new @import scheme. 2012-01-13 17:27:56 +07:00
Mat Marquis
eeb93c97d1 Single CSS concat file using @import, rather than the PHP concat. 2012-01-13 17:27:56 +07:00
Anne-Gaelle Colom
ead617f79a Added clarification to the Back button, Fixes #3291 2012-01-13 17:27:56 +07:00
Ghislain Seguin
7bd9e6c3a9 Updated CSS path to default/jquery.mobile.theme.css so it doesn't pick up the index.php 2012-01-13 17:27:56 +07:00
Mat Marquis
d1663f1373 Added page turning transition. 2012-01-13 17:27:56 +07:00
John Bender
eb9e113911 fix timing issue where the pushstate plugin expected popstate generated hashchanges to happen before a given timeout 2012-01-13 17:27:56 +07:00
Mat Marquis
cb84e13148 Fixed theme CSS inclusion on docs index. 2012-01-13 17:27:55 +07:00
toddparker
39759f0dfb Removed setDefaultTransition in docs.js
This isn't needed anymore.
2012-01-13 17:27:55 +07:00
toddparker
3099ff01a2 Added docs to cover the new transitions 2012-01-13 17:27:55 +07:00
toddparker
89442ef551 Whitespace 2012-01-13 17:27:55 +07:00
Chetan K Jain
44177ba3d7 fixes #3400 2012-01-13 17:27:55 +07:00
toddparker
36632aa594 Added in drop shadow on pages in "flow" transition, adjusted timing to be longer 2012-01-13 17:27:55 +07:00
scottjehl
2600aa9eb7 rewrote the transitions test suite and handlers to account for our new sequence. The main difference is most tests are async now, and use two functions: onFromComplete and onToComplete to test conditions before each page's animationComplete handler finishes (while animation classes are still present, for instance). onToComplete must call start() so that pages stay in proper sequences, as fromComplete may not always run depending on pages in play, and it's only halfway done in the trans.Needs more tests now! 2012-01-13 17:27:55 +07:00
scottjehl
2ba3842997 removed old commented out code 2012-01-13 17:27:55 +07:00