Skip to content

Commit

Permalink
[patch][v16.20.2]Toniq Top Tabs Click Boundary Fix (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
ponnexcodev authored Jul 9, 2024
1 parent 09fde28 commit 3699ce3
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@toniq-labs/design-system-root",
"version": "16.20.1",
"version": "16.20.2",
"private": true,
"description": "Root design system mono-repo package.",
"homepage": "https://github.com/Toniq-Labs/toniq-labs-design-system",
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@toniq-labs/design-system",
"version": "16.20.1",
"version": "16.20.2",
"private": false,
"description": "Design system elements for Toniq Labs",
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,17 @@ export const ToniqTopTabs = defineToniqElement<{
border-bottom-width ${toniqDurations.interaction},
border-color ${toniqDurations.interaction},
padding-bottom ${toniqDurations.interaction};
padding: 4px 4px ${cssVars['toniq-top-tabs-tab-vertical-padding'].value} 12px;
}
${hostClasses['toniq-top-tabs-minimal'].selector} li:not(.selected) {
border-color: transparent;
}
li:first-child {
li:first-child .tab {
padding-left: 4px;
}
li:has(+ li.selected) {
li:has(+ li.selected) .tab {
padding-right: 12px;
}
Expand All @@ -97,6 +96,7 @@ export const ToniqTopTabs = defineToniqElement<{
display: inline-block;
${toniqFontStyles.paragraphFont};
max-width: 300px;
padding: 4px 4px ${cssVars['toniq-top-tabs-tab-vertical-padding'].value} 12px;
}
.tab-content {
Expand All @@ -120,13 +120,13 @@ export const ToniqTopTabs = defineToniqElement<{
${toniqFontStyles.boldFont};
color: ${toniqColors.pageInteraction.foregroundColor};
cursor: default;
padding-left: 4px;
padding-right: 4px;
}
li.selected {
border-color: ${toniqColors.pageInteraction.foregroundColor};
border-bottom-width: ${cssVars['toniq-top-tabs-selected-border-width'].value};
padding-left: 4px;
padding-right: 4px;
}
li:last-child {
Expand Down
2 changes: 1 addition & 1 deletion packages/native-elements-test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@toniq-labs/design-system-native-elements-test",
"version": "16.20.1",
"version": "16.20.2",
"private": true,
"scripts": {
"compile": "virmator compile",
Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@toniq-labs/design-system-scripts",
"version": "16.20.1",
"version": "16.20.2",
"private": true,
"scripts": {
"compile": "virmator compile",
Expand Down

0 comments on commit 3699ce3

Please sign in to comment.