From d5bd25be16cbd023edf97603692f5ecc462ad9ed Mon Sep 17 00:00:00 2001 From: codecalm Date: Tue, 31 Dec 2024 16:19:54 +0100 Subject: [PATCH 1/2] horizontal rule improvements --- docs/components/divider.mdx | 4 ++-- src/scss/ui/typo/_hr.scss | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/components/divider.mdx b/docs/components/divider.mdx index 3e7bd7225b..675d0c0291 100644 --- a/docs/components/divider.mdx +++ b/docs/components/divider.mdx @@ -26,7 +26,7 @@ You can modify the position of the text which is to be included in a separator a

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alias, dolore dolores doloribus est ex.

-
Left divider
+
Start divider

Dicta error hic illo iure necessitatibus nihil officiis omnis perferendis, praesentium repellendus rerum, saepe sed, sit!

@@ -34,7 +34,7 @@ You can modify the position of the text which is to be included in a separator a

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alias, dolore dolores doloribus est ex.

-
Right divider
+
End divider

Dicta error hic illo iure necessitatibus nihil officiis omnis perferendis, praesentium repellendus rerum, saepe sed, sit!

diff --git a/src/scss/ui/typo/_hr.scss b/src/scss/ui/typo/_hr.scss index 6d88382a41..7a43986476 100644 --- a/src/scss/ui/typo/_hr.scss +++ b/src/scss/ui/typo/_hr.scss @@ -39,7 +39,8 @@ Hr text color: var(--#{$prefix}secondary); } - &.hr-text-left { + &.hr-text-left, + &.hr-text-start { &:before { content: none; } @@ -50,7 +51,8 @@ Hr text } } - &.hr-text-right { + &.hr-text-right, + &.hr-text-end { &:before { content: ""; } From b1964e0743a20ad828e19cc2c1d3e35f3bf0e197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kuna?= <1282324+codecalm@users.noreply.github.com> Date: Tue, 31 Dec 2024 16:20:31 +0100 Subject: [PATCH 2/2] Create chilly-vans-leave.md --- .changeset/chilly-vans-leave.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/chilly-vans-leave.md diff --git a/.changeset/chilly-vans-leave.md b/.changeset/chilly-vans-leave.md new file mode 100644 index 0000000000..b83ec271e7 --- /dev/null +++ b/.changeset/chilly-vans-leave.md @@ -0,0 +1,5 @@ +--- +"@tabler/core": patch +--- + +Make horizontal rule direction aware