Skip to content
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

feat: rtl support #343

Merged
merged 96 commits into from
May 8, 2018
Merged
Changes from 1 commit
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
f0a461a
feat(rtl): add rtl properties mixins
yggg Mar 30, 2018
08dcdfa
feat(rlt): support in actions component
yggg Mar 30, 2018
9e083db
feat(rtl): support on flip card
yggg Mar 30, 2018
1f151ea
feat(rtl): add direction service
yggg Apr 2, 2018
aa0a26e
style(checkbox-component): fix typo
yggg Apr 2, 2018
18d955f
feat(rtl): checkbox support
yggg Apr 2, 2018
f26549b
feat(rtl): add rtl only mixin
yggg Apr 2, 2018
bc1702f
feat(rlt): add support in context-menu
yggg Apr 2, 2018
e515c32
style(contenxt-menu): change import
yggg Apr 2, 2018
dfba68d
feat(rtl): badge support
yggg Apr 2, 2018
11f00f9
fix(direction-service): remove type from constructor parameter
yggg Apr 2, 2018
4a8df51
feat(rtl): add styles for search close button
yggg Apr 2, 2018
f1708d8
refactor(badge): add host pseudo class to isolate styles
yggg Apr 2, 2018
6e94e91
feat(rtl): add rtl styles for user component
yggg Apr 2, 2018
d941631
feat(user-component): align text right for rtl layout
yggg Apr 3, 2018
63e0b33
feat(rtl): add sidebar rtl styles
yggg Apr 3, 2018
e011923
feat(rtl): align menu item text to right in rtl layout
yggg Apr 3, 2018
d9c05b8
feat(rtl): add mirroring styles for sidebar
yggg Apr 3, 2018
723873a
refactor(rtl): use 'auto' to reset position properties
yggg Apr 4, 2018
3aa1897
fix(popover): set initial top, left position
yggg Apr 4, 2018
14091f5
style: prefix public variables with 'Nb'
yggg Apr 4, 2018
c2f6138
style: simplify provider entry
yggg Apr 5, 2018
29a8243
style: rename service, use enum instead of type
yggg Apr 5, 2018
3a202da
feat(layout-direction-service): add helper properties
yggg Apr 5, 2018
2493320
refactor(layout-direction-service): create property in constructor
yggg Apr 5, 2018
90179fa
feat(rtl): add start, end options for popover component
yggg Apr 5, 2018
5b7928f
refactor(badge): revert badge api changes
yggg Apr 5, 2018
5382901
refactor(badge): revert badge api changes
yggg Apr 5, 2018
e69f44d
feat(rtl): add logical position properties for badge component
yggg Apr 5, 2018
f9a5848
style: use destructuring assignment
yggg Apr 5, 2018
b241f00
refactor(lauout-column): change column position property to logical
yggg Apr 5, 2018
1186ac6
docs(direction-service): add service documentation
yggg Apr 5, 2018
0538330
style(direction-service): add types, remove unnecessary cast
yggg Apr 5, 2018
5786eca
feat(docs): include directions service docs entry
yggg Apr 5, 2018
6b337a7
feat(rtl): mirror horizontal paddings for menu items
yggg Apr 5, 2018
5506186
style(direction-service): rename dir to direction
yggg Apr 6, 2018
ba88751
refactor(direction-service): change helpers to be methods
yggg Apr 6, 2018
db87aad
feat(rtl): add position helper for popover component
yggg Apr 6, 2018
3d788bb
refactorting(sidebar): add physical position properties back
yggg Apr 6, 2018
a147db6
refactor(layout-column): add physical position properties back
yggg Apr 6, 2018
b8999d6
refactoring(direction-service): set rtl attribute on body
yggg Apr 6, 2018
d1a709c
feat(rtl): add posibility to prefix :host-context selector
yggg Apr 6, 2018
4bb74dd
style: use single quotes
yggg Apr 6, 2018
bc478ec
refactor(rtl): mirror ohrizontl margins for menu icons
yggg Apr 6, 2018
daad88e
fix: resolve merge conflict
yggg Apr 9, 2018
7005da1
fix(layout): update e2e tests to match new flex order
yggg Apr 9, 2018
5bf7d82
style(badge): remove unsused import
yggg Apr 11, 2018
33a1ab2
feat(layout): align text right in rtl
yggg Apr 11, 2018
c06f59f
refactor(rtl): add ability to append selector to dir attr
yggg Apr 11, 2018
634cf91
feat(rtl): mirror padding on form control description
yggg Apr 11, 2018
993f990
Merge branch 'master' into feature/rtl-support
nnixaa Apr 12, 2018
25b5ef6
feat(rtl): context menu add padding mirroring for icons
yggg Apr 12, 2018
8a32536
feat(rtl): mirror blockquotes
yggg Apr 12, 2018
9607103
feat(rtl): mirror lists padding
yggg Apr 12, 2018
b196c18
feat(rtl): move close toast button to the right
yggg Apr 12, 2018
c0b14a4
feat(rtl): mirror sort icons position in smart table
yggg Apr 12, 2018
6be5394
feat(rtl): mirror smart table pager styles
yggg Apr 12, 2018
2524167
feat(rtl): mirror buttons with icons styles
yggg Apr 12, 2018
5f2e323
feat(rtl): mirror form text styles
yggg Apr 12, 2018
e5696eb
feat(rtl): mirror btn divided group styles
yggg Apr 12, 2018
6b03613
fix(rtl): add missing ltr only mixin
yggg Apr 12, 2018
8a908b5
feat(rtl): add dropdown mirrored styles
yggg Apr 12, 2018
ff2856b
style(overrides): remove nonexistent in bootstrap class
yggg Apr 12, 2018
c288556
feat(dropdown): align dropdown menu automatically
yggg Apr 12, 2018
c444551
feat(rtl): add input, button groups rtl styles
yggg Apr 12, 2018
15d0ff2
feat(rtl): add rtl toggle component into test app
yggg Apr 12, 2018
5ea5863
refactor(rtl-mixins): remove append flag
yggg Apr 13, 2018
9739bb4
feat(rtl): reverse header elements in rtl
yggg Apr 13, 2018
da7040c
feat(rtl): mirror controls on toasts
yggg Apr 13, 2018
4cada3f
fix(rtl): keep border radius on single inputs
yggg Apr 13, 2018
ad98a2d
style: update layout direction service description
yggg Apr 13, 2018
5ad47ec
feat(rtl): mirror horizontal and vertical menu items padding
yggg Apr 13, 2018
7095eed
refactor(rtl): decrease menu item padding
yggg Apr 13, 2018
9151f9a
feat(rtl): decrease menu item margin
yggg Apr 13, 2018
51215b3
Merge branch 'master' into feature/rtl-support
nnixaa Apr 19, 2018
789449a
refactor(rtl-mixins): simplify rtl mixins
yggg Apr 20, 2018
6bb6b13
refactor(theming): use :host instead of :host-context
yggg Apr 20, 2018
521b2f1
style: remove unused parameter
yggg Apr 25, 2018
9ee3b24
refactor: rewrite in one-line selector and add comments
yggg Apr 25, 2018
45e52ab
refactor(direction-service): set dir attribute on document
yggg Apr 25, 2018
260bd7d
Merge branch 'feature/rtl-support' of https://github.com/yggg/nebular…
yggg Apr 25, 2018
29a80a0
test(layout-component): add direction setting test
yggg Apr 25, 2018
b2afe4d
Merge branch 'master' into feature/rtl-support
nnixaa Apr 25, 2018
7ad6bc9
Merge branch 'master' into feature/rtl-support
nnixaa Apr 26, 2018
f67ac5c
Merge branch 'master' into feature/rtl-support
nnixaa Apr 26, 2018
b92c056
docs(rtl): add bidi support entry in dev docs
yggg Apr 28, 2018
386c627
style: add bidirectionality implemetation longread
yggg Apr 28, 2018
b5b29eb
Merge branch 'feature/rtl-support' of https://github.com/yggg/nebular…
yggg Apr 28, 2018
c997398
docs(rtl): add rtl system overview
yggg May 7, 2018
22699ff
docs(direction-service): update onDirectionChange description
yggg May 7, 2018
213fb58
docs(rtl): merge rtl and direction service pages in one
yggg May 7, 2018
2ee07de
docs(rtl): remove temporary notes
yggg May 7, 2018
01a86dc
docs(rtl): fix direction service docs
yggg May 7, 2018
243a7b6
docs(rtl): use code snippets syntax
yggg May 7, 2018
c476b78
style: fix typo
yggg May 8, 2018
78c0487
docs(rtl): remove duplicate service entry
yggg May 8, 2018
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
Prev Previous commit
Next Next commit
fix(rtl): add missing ltr only mixin
  • Loading branch information
yggg committed Apr 12, 2018
commit 6b036134c3ae2c8c18282e047ca765563a28c776
12 changes: 12 additions & 0 deletions src/framework/theme/styles/core/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,15 @@
}
}
}

@mixin ltr-only($prop, $value, $append: false) {
@if $append == true {
@at-root #{selector-append(':not([dir=rtl])', &)} {
#{$prop}: $value;
}
} @else {
:not([dir=rtl]) & {
#{$prop}: $value;
}
}
}