starlight-sidebar-topics-dropdown 0.5.2 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # starlight-sidebar-topics-dropdown
2
2
 
3
+ ## 0.5.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#78](https://github.com/trueberryless-org/starlight-sidebar-topics-dropdown/pull/78) [`6dd38a5`](https://github.com/trueberryless-org/starlight-sidebar-topics-dropdown/commit/6dd38a566f187f32353eb519a7f0b09b17d84cc5) Thanks [@trueberryless](https://github.com/trueberryless)! - Add support for RTL languages by fixing the CSS styles.
8
+
3
9
  ## 0.5.2
4
10
 
5
11
  ### Patch Changes
@@ -122,7 +122,7 @@ const currentTopic = topics.find((topic) => topic.isCurrent);
122
122
  )::before {
123
123
  content: "";
124
124
  background-image: linear-gradient(
125
- to right,
125
+ to inline-end,
126
126
  var(--sl-color-text-accent) calc(1.4rem + 16px + 2px),
127
127
  var(--sl-color-gray-5) 0
128
128
  );
@@ -132,7 +132,7 @@ const currentTopic = topics.find((topic) => topic.isCurrent);
132
132
  .starlight-sidebar-topics-dropdown-button-icon
133
133
  ) {
134
134
  background: linear-gradient(
135
- to right,
135
+ to inline-end,
136
136
  var(--sl-color-text-accent) calc(1.4rem + 16px),
137
137
  var(--sl-color-gray-6) 0
138
138
  );
@@ -150,7 +150,7 @@ const currentTopic = topics.find((topic) => topic.isCurrent);
150
150
 
151
151
  .starlight-sidebar-topics-dropdown-button-label {
152
152
  font-weight: 600;
153
- margin-right: 0.5rem;
153
+ margin-inline-end: 0.5rem;
154
154
  overflow: hidden;
155
155
  text-overflow: ellipsis;
156
156
  white-space: nowrap;
@@ -161,12 +161,12 @@ const currentTopic = topics.find((topic) => topic.isCurrent);
161
161
  )
162
162
  .starlight-sidebar-topics-dropdown-button-label {
163
163
  font-weight: 600;
164
- margin-left: 1rem;
164
+ margin-inline-start: 1rem;
165
165
  }
166
166
 
167
167
  .starlight-sidebar-topics-dropdown-label {
168
168
  font-weight: 600;
169
- margin-right: 0.5rem;
169
+ margin-inline-end: 0.5rem;
170
170
  overflow: hidden;
171
171
  text-overflow: ellipsis;
172
172
  white-space: nowrap;
@@ -176,11 +176,11 @@ const currentTopic = topics.find((topic) => topic.isCurrent);
176
176
  .starlight-sidebar-topics-dropdown-icon
177
177
  )
178
178
  .starlight-sidebar-topics-dropdown-label {
179
- margin-left: 0.5rem;
179
+ margin-inline-start: 0.5rem;
180
180
  }
181
181
 
182
182
  .starlight-sidebar-topics-dropdown-button > svg {
183
- margin-left: auto;
183
+ margin-inline-start: auto;
184
184
  font-size: 1rem;
185
185
  color: var(--sl-color-white);
186
186
  }
@@ -242,7 +242,7 @@ const currentTopic = topics.find((topic) => topic.isCurrent);
242
242
  }
243
243
 
244
244
  .starlight-sidebar-topics-dropdown-badge {
245
- margin-left: 0.25rem;
245
+ margin-inline-start: 0.25rem;
246
246
  overflow: hidden;
247
247
  text-overflow: ellipsis;
248
248
  white-space: nowrap;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "starlight-sidebar-topics-dropdown",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Dropdown topic list for the Starlight Sidebar Topics plugin.",
5
5
  "keywords": [
6
6
  "starlight",