Skip to content

Commit 5749864

Browse files
ffvporchrisjsewell
andauthored
⬆️ UPGRADE: octicons to v19.8.0 (#171)
Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
1 parent a5cef84 commit 5749864

File tree

11 files changed

+17250
-668
lines changed

11 files changed

+17250
-668
lines changed

sphinx_design/compiled/octicon_LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 GitHub Inc.
3+
Copyright (c) 2023 GitHub Inc.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

sphinx_design/compiled/octicons.json

Lines changed: 17139 additions & 637 deletions
Large diffs are not rendered by default.

sphinx_design/icons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
logger = logging.getLogger(__name__)
1818

19-
OCTICON_VERSION = "v16.1.1"
19+
OCTICON_VERSION = "v19.8.0"
2020

2121
OCTICON_CSS = """\
2222
.octicon {

tests/test_misc/test_octicons.txt

Lines changed: 92 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
1+
accessibility: 16
2+
accessibility-inset: 16
13
alert: 16,24
2-
alert-fill: 12
4+
alert-fill: 12,16,24
5+
apps: 16
36
archive: 16,24
47
arrow-both: 16,24
58
arrow-down: 16,24
6-
arrow-down-left: 24
7-
arrow-down-right: 24
9+
arrow-down-left: 16,24
10+
arrow-down-right: 16,24
811
arrow-left: 16,24
912
arrow-right: 16,24
1013
arrow-switch: 16,24
1114
arrow-up: 16,24
12-
arrow-up-left: 24
13-
arrow-up-right: 24
15+
arrow-up-left: 16,24
16+
arrow-up-right: 16,24
1417
beaker: 16,24
1518
bell: 16,24
1619
bell-fill: 16,24
@@ -26,29 +29,39 @@ briefcase: 16,24
2629
broadcast: 16,24
2730
browser: 16,24
2831
bug: 16,24
32+
cache: 16
2933
calendar: 16,24
3034
check: 16,24
3135
check-circle: 16,24
3236
check-circle-fill: 12,16,24
37+
checkbox: 16,24
3338
checklist: 16,24
34-
chevron-down: 16,24
39+
chevron-down: 12,16,24
3540
chevron-left: 16,24
36-
chevron-right: 16,24
37-
chevron-up: 16,24
41+
chevron-right: 12,16,24
42+
chevron-up: 12,16,24
3843
circle: 16,24
3944
circle-slash: 16,24
4045
clock: 16,24
46+
clock-fill: 16,24
47+
cloud: 16,24
48+
cloud-offline: 16,24
4149
code: 16,24
50+
code-of-conduct: 16,24
4251
code-review: 16,24
4352
code-square: 16,24
4453
codescan: 16,24
4554
codescan-checkmark: 16,24
4655
codespaces: 16,24
4756
columns: 16,24
57+
command-palette: 16,24
4858
comment: 16,24
4959
comment-discussion: 16,24
5060
commit: 24
5161
container: 16,24
62+
copilot: 16,24,48,96
63+
copilot-error: 16
64+
copilot-warning: 16
5265
copy: 16,24
5366
cpu: 16,24
5467
credit-card: 16,24
@@ -61,32 +74,62 @@ device-camera: 16
6174
device-camera-video: 16,24
6275
device-desktop: 16,24
6376
device-mobile: 16,24
77+
devices: 16,24
6478
diamond: 16,24
6579
diff: 16,24
6680
diff-added: 16
6781
diff-ignored: 16
6882
diff-modified: 16
6983
diff-removed: 16
7084
diff-renamed: 16
85+
discussion-closed: 16,24
86+
discussion-duplicate: 16,24
87+
discussion-outdated: 16,24
7188
dot: 16,24
7289
dot-fill: 16,24
7390
download: 16,24
7491
duplicate: 16,24
7592
ellipsis: 16
7693
eye: 16,24
7794
eye-closed: 16,24
95+
feed-discussion: 16
96+
feed-forked: 16
97+
feed-heart: 16
98+
feed-issue-closed: 16
99+
feed-issue-draft: 16
100+
feed-issue-open: 16
101+
feed-issue-reopen: 16
102+
feed-merged: 16
103+
feed-person: 16
104+
feed-plus: 16
105+
feed-public: 16
106+
feed-pull-request-closed: 16
107+
feed-pull-request-draft: 16
108+
feed-pull-request-open: 16
109+
feed-repo: 16
110+
feed-rocket: 16
111+
feed-star: 16
112+
feed-tag: 16
113+
feed-trophy: 16
78114
file: 16,24
115+
file-added: 16
79116
file-badge: 16
80117
file-binary: 16,24
81118
file-code: 16,24
82119
file-diff: 16,24
83120
file-directory: 16,24
84-
file-directory-fill: 24
121+
file-directory-fill: 16,24
122+
file-directory-open-fill: 16
123+
file-directory-symlink: 16,24
85124
file-media: 24
125+
file-moved: 16
126+
file-removed: 16
86127
file-submodule: 16,24
87128
file-symlink-file: 16,24
88129
file-zip: 16,24
89130
filter: 16,24
131+
filter-remove: 16,24
132+
fiscal-host: 16
90133
flame: 16,24
91134
fold: 16,24
92135
fold-down: 16,24
@@ -97,10 +140,12 @@ git-branch: 16,24
97140
git-commit: 16,24
98141
git-compare: 16,24
99142
git-merge: 16,24
143+
git-merge-queue: 16,24
100144
git-pull-request: 16,24
101145
git-pull-request-closed: 16,24
102146
git-pull-request-draft: 16,24
103147
globe: 16,24
148+
goal: 16,24
104149
grabber: 16,24
105150
graph: 16,24
106151
hash: 16,24
@@ -113,6 +158,7 @@ home-fill: 24
113158
horizontal-rule: 16,24
114159
hourglass: 16,24
115160
hubot: 16,24
161+
id-badge: 16
116162
image: 16,24
117163
inbox: 16,24
118164
infinity: 16,24
@@ -121,6 +167,8 @@ issue-closed: 16,24
121167
issue-draft: 16,24
122168
issue-opened: 16,24
123169
issue-reopened: 16,24
170+
issue-tracked-by: 16,24
171+
issue-tracks: 16,24
124172
italic: 16,24
125173
iterations: 16,24
126174
kebab-horizontal: 16,24
@@ -134,6 +182,7 @@ list-ordered: 16,24
134182
list-unordered: 16,24
135183
location: 16,24
136184
lock: 16,24
185+
log: 16,24
137186
logo-gist: 16
138187
logo-github: 16
139188
mail: 16,24
@@ -146,6 +195,10 @@ milestone: 16,24
146195
mirror: 16,24
147196
moon: 16,24
148197
mortar-board: 16,24
198+
move-to-bottom: 16,24
199+
move-to-end: 16,24
200+
move-to-start: 16,24
201+
move-to-top: 16,24
149202
multi-select: 16,24
150203
mute: 16,24
151204
no-entry: 16,24
@@ -159,26 +212,38 @@ package-dependencies: 16,24
159212
package-dependents: 16,24
160213
paintbrush: 16
161214
paper-airplane: 16,24
215+
paperclip: 16,24
216+
passkey-fill: 16,24
162217
paste: 16,24
163218
pencil: 16,24
164219
people: 16,24
165220
person: 16,24
166221
person-add: 16,24
167222
person-fill: 16,24
168223
pin: 16,24
224+
pin-slash: 16,24
225+
pivot-column: 16,24
169226
play: 16,24
170227
plug: 16,24
171228
plus: 16,24
172229
plus-circle: 16,24
173230
project: 16,24
231+
project-roadmap: 16,24
232+
project-symlink: 16,24
233+
project-template: 16,24
174234
pulse: 16,24
175235
question: 16,24
176236
quote: 16,24
237+
read: 16,24
238+
redo: 16
239+
rel-file-path: 16,24
177240
reply: 16,24
178241
repo: 16,24
179-
repo-clone: 16
242+
repo-clone: 16,24
243+
repo-deleted: 16
180244
repo-forked: 16,24
181-
repo-pull: 16
245+
repo-locked: 16,24
246+
repo-pull: 16,24
182247
repo-push: 16,24
183248
repo-template: 16,24
184249
report: 16,24
@@ -195,16 +260,21 @@ share-android: 16,24
195260
shield: 16,24
196261
shield-check: 16,24
197262
shield-lock: 16,24
263+
shield-slash: 16,24
198264
shield-x: 16,24
199265
sidebar-collapse: 16,24
200266
sidebar-expand: 16,24
201267
sign-in: 16,24
202268
sign-out: 16,24
203269
single-select: 16,24
204270
skip: 16,24
271+
skip-fill: 16,24
272+
sliders: 16
205273
smiley: 16,24
206274
sort-asc: 16,24
207275
sort-desc: 16,24
276+
sparkle-fill: 16
277+
sponsor-tiers: 16,24
208278
square: 16,24
209279
square-fill: 16,24
210280
squirrel: 16,24
@@ -217,6 +287,7 @@ strikethrough: 16,24
217287
sun: 16,24
218288
sync: 16,24
219289
tab: 24
290+
tab-external: 16
220291
table: 16,24
221292
tag: 16,24
222293
tasklist: 16,24
@@ -227,22 +298,31 @@ three-bars: 16
227298
thumbsdown: 16,24
228299
thumbsup: 16,24
229300
tools: 16,24
301+
tracked-by-closed-completed: 16,24
302+
tracked-by-closed-not-planned: 16,24
230303
trash: 16,24
231304
triangle-down: 16,24
232305
triangle-left: 16,24
233306
triangle-right: 16,24
234307
triangle-up: 16,24
308+
trophy: 16,24
235309
typography: 16,24
310+
undo: 16
236311
unfold: 16,24
312+
unlink: 16,24
237313
unlock: 16,24
238314
unmute: 16,24
315+
unread: 16,24
239316
unverified: 16,24
240317
upload: 16,24
241318
verified: 16,24
242319
versions: 16,24
243320
video: 16,24
321+
webhook: 16
244322
workflow: 16,24
245-
x: 16,24
323+
x: 12,16,24
246324
x-circle: 16,24
247325
x-circle-fill: 12,16,24
248326
zap: 16,24
327+
zoom-in: 16,24
328+
zoom-out: 16,24

tests/test_snippets/snippet_post_article-info.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
<container classes="sd-col sd-col-auto sd-d-flex-row sd-align-minor-center" design_component="grid-item" is_div="True">
1717
<paragraph classes="sd-p-0 sd-m-0">
1818
<raw classes="sd-pr-2" format="html" xml:space="preserve">
19-
<svg version="1.1" width="16.0px" height="16.0px" class="sd-octicon sd-octicon-calendar" viewBox="0 0 16 16" aria-hidden="true"><path fill-rule="evenodd" d="M4.75 0a.75.75 0 01.75.75V2h5V.75a.75.75 0 011.5 0V2h1.25c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0113.25 16H2.75A1.75 1.75 0 011 14.25V3.75C1 2.784 1.784 2 2.75 2H4V.75A.75.75 0 014.75 0zm0 3.5h8.5a.25.25 0 01.25.25V6h-11V3.75a.25.25 0 01.25-.25h2zm-2.25 4v6.75c0 .138.112.25.25.25h10.5a.25.25 0 00.25-.25V7.5h-11z"></path></svg>
19+
<svg version="1.1" width="16.0px" height="16.0px" class="sd-octicon sd-octicon-calendar" viewBox="0 0 16 16" aria-hidden="true"><path d="M4.75 0a.75.75 0 0 1 .75.75V2h5V.75a.75.75 0 0 1 1.5 0V2h1.25c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 16H2.75A1.75 1.75 0 0 1 1 14.25V3.75C1 2.784 1.784 2 2.75 2H4V.75A.75.75 0 0 1 4.75 0ZM2.5 7.5v6.75c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V7.5Zm10.75-4H2.75a.25.25 0 0 0-.25.25V6h11V3.75a.25.25 0 0 0-.25-.25Z"></path></svg>
2020
Jul 24, 2021
2121
<container classes="sd-col sd-col-auto sd-d-flex-row sd-align-minor-center" design_component="grid-item" is_div="True">
2222
<paragraph classes="sd-p-0 sd-m-0">
2323
<raw classes="sd-pr-2" format="html" xml:space="preserve">
24-
<svg version="1.1" width="16.0px" height="16.0px" class="sd-octicon sd-octicon-clock" viewBox="0 0 16 16" aria-hidden="true"><path fill-rule="evenodd" d="M1.5 8a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0zM8 0a8 8 0 100 16A8 8 0 008 0zm.5 4.75a.75.75 0 00-1.5 0v3.5a.75.75 0 00.471.696l2.5 1a.75.75 0 00.557-1.392L8.5 7.742V4.75z"></path></svg>
24+
<svg version="1.1" width="16.0px" height="16.0px" class="sd-octicon sd-octicon-clock" viewBox="0 0 16 16" aria-hidden="true"><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm7-3.25v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5a.75.75 0 0 1 1.5 0Z"></path></svg>
2525
5 min read

tests/test_snippets/snippet_post_dropdown-basic.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<dropdown_main classes="sd-sphinx-override sd-dropdown sd-card sd-mb-3" opened="False">
66
<dropdown_title classes="sd-summary-title sd-card-header">
77
<raw format="html" xml:space="preserve">
8-
<svg version="1.1" width="1.5em" height="1.5em" class="sd-octicon sd-octicon-kebab-horizontal" viewBox="0 0 24 24" aria-hidden="true"><path fill-rule="evenodd" d="M6 12a2 2 0 11-4 0 2 2 0 014 0zm8 0a2 2 0 11-4 0 2 2 0 014 0zm6 2a2 2 0 100-4 2 2 0 000 4z"></path></svg>
8+
<svg version="1.1" width="1.5em" height="1.5em" class="sd-octicon sd-octicon-kebab-horizontal" viewBox="0 0 24 24" aria-hidden="true"><path d="M20 14a2 2 0 1 1-.001-3.999A2 2 0 0 1 20 14ZM6 12a2 2 0 1 1-3.999.001A2 2 0 0 1 6 12Zm8 0a2 2 0 1 1-3.999.001A2 2 0 0 1 14 12Z"></path></svg>
99
<container classes="sd-summary-down" design_component="dropdown-closed-marker" is_div="True">
1010
<raw format="html" xml:space="preserve">
11-
<svg version="1.1" width="1.5em" height="1.5em" class="sd-octicon sd-octicon-chevron-down" viewBox="0 0 24 24" aria-hidden="true"><path fill-rule="evenodd" d="M5.22 8.72a.75.75 0 000 1.06l6.25 6.25a.75.75 0 001.06 0l6.25-6.25a.75.75 0 00-1.06-1.06L12 14.44 6.28 8.72a.75.75 0 00-1.06 0z"></path></svg>
11+
<svg version="1.1" width="1.5em" height="1.5em" class="sd-octicon sd-octicon-chevron-down" viewBox="0 0 24 24" aria-hidden="true"><path d="M5.22 8.22a.749.749 0 0 0 0 1.06l6.25 6.25a.749.749 0 0 0 1.06 0l6.25-6.25a.749.749 0 1 0-1.06-1.06L12 13.939 6.28 8.22a.749.749 0 0 0-1.06 0Z"></path></svg>
1212
<container classes="sd-summary-up" design_component="dropdown-open-marker" is_div="True">
1313
<raw format="html" xml:space="preserve">
14-
<svg version="1.1" width="1.5em" height="1.5em" class="sd-octicon sd-octicon-chevron-up" viewBox="0 0 24 24" aria-hidden="true"><path fill-rule="evenodd" d="M18.78 15.28a.75.75 0 000-1.06l-6.25-6.25a.75.75 0 00-1.06 0l-6.25 6.25a.75.75 0 101.06 1.06L12 9.56l5.72 5.72a.75.75 0 001.06 0z"></path></svg>
14+
<svg version="1.1" width="1.5em" height="1.5em" class="sd-octicon sd-octicon-chevron-up" viewBox="0 0 24 24" aria-hidden="true"><path d="M18.78 15.78a.749.749 0 0 1-1.06 0L12 10.061 6.28 15.78a.749.749 0 1 1-1.06-1.06l6.25-6.25a.749.749 0 0 1 1.06 0l6.25 6.25a.749.749 0 0 1 0 1.06Z"></path></svg>
1515
<container classes="sd-summary-content sd-card-body" design_component="dropdown-body" is_div="True">
1616
<paragraph classes="sd-card-text">
1717
Dropdown content
@@ -20,10 +20,10 @@
2020
Dropdown title
2121
<container classes="sd-summary-down" design_component="dropdown-closed-marker" is_div="True">
2222
<raw format="html" xml:space="preserve">
23-
<svg version="1.1" width="1.5em" height="1.5em" class="sd-octicon sd-octicon-chevron-down" viewBox="0 0 24 24" aria-hidden="true"><path fill-rule="evenodd" d="M5.22 8.72a.75.75 0 000 1.06l6.25 6.25a.75.75 0 001.06 0l6.25-6.25a.75.75 0 00-1.06-1.06L12 14.44 6.28 8.72a.75.75 0 00-1.06 0z"></path></svg>
23+
<svg version="1.1" width="1.5em" height="1.5em" class="sd-octicon sd-octicon-chevron-down" viewBox="0 0 24 24" aria-hidden="true"><path d="M5.22 8.22a.749.749 0 0 0 0 1.06l6.25 6.25a.749.749 0 0 0 1.06 0l6.25-6.25a.749.749 0 1 0-1.06-1.06L12 13.939 6.28 8.22a.749.749 0 0 0-1.06 0Z"></path></svg>
2424
<container classes="sd-summary-up" design_component="dropdown-open-marker" is_div="True">
2525
<raw format="html" xml:space="preserve">
26-
<svg version="1.1" width="1.5em" height="1.5em" class="sd-octicon sd-octicon-chevron-up" viewBox="0 0 24 24" aria-hidden="true"><path fill-rule="evenodd" d="M18.78 15.28a.75.75 0 000-1.06l-6.25-6.25a.75.75 0 00-1.06 0l-6.25 6.25a.75.75 0 101.06 1.06L12 9.56l5.72 5.72a.75.75 0 001.06 0z"></path></svg>
26+
<svg version="1.1" width="1.5em" height="1.5em" class="sd-octicon sd-octicon-chevron-up" viewBox="0 0 24 24" aria-hidden="true"><path d="M18.78 15.78a.749.749 0 0 1-1.06 0L12 10.061 6.28 15.78a.749.749 0 1 1-1.06-1.06l6.25-6.25a.749.749 0 0 1 1.06 0l6.25 6.25a.749.749 0 0 1 0 1.06Z"></path></svg>
2727
<container classes="sd-summary-content sd-card-body" design_component="dropdown-body" is_div="True">
2828
<paragraph classes="sd-card-text">
2929
Dropdown content
@@ -32,10 +32,10 @@
3232
Open dropdown
3333
<container classes="sd-summary-down" design_component="dropdown-closed-marker" is_div="True">
3434
<raw format="html" xml:space="preserve">
35-
<svg version="1.1" width="1.5em" height="1.5em" class="sd-octicon sd-octicon-chevron-down" viewBox="0 0 24 24" aria-hidden="true"><path fill-rule="evenodd" d="M5.22 8.72a.75.75 0 000 1.06l6.25 6.25a.75.75 0 001.06 0l6.25-6.25a.75.75 0 00-1.06-1.06L12 14.44 6.28 8.72a.75.75 0 00-1.06 0z"></path></svg>
35+
<svg version="1.1" width="1.5em" height="1.5em" class="sd-octicon sd-octicon-chevron-down" viewBox="0 0 24 24" aria-hidden="true"><path d="M5.22 8.22a.749.749 0 0 0 0 1.06l6.25 6.25a.749.749 0 0 0 1.06 0l6.25-6.25a.749.749 0 1 0-1.06-1.06L12 13.939 6.28 8.22a.749.749 0 0 0-1.06 0Z"></path></svg>
3636
<container classes="sd-summary-up" design_component="dropdown-open-marker" is_div="True">
3737
<raw format="html" xml:space="preserve">
38-
<svg version="1.1" width="1.5em" height="1.5em" class="sd-octicon sd-octicon-chevron-up" viewBox="0 0 24 24" aria-hidden="true"><path fill-rule="evenodd" d="M18.78 15.28a.75.75 0 000-1.06l-6.25-6.25a.75.75 0 00-1.06 0l-6.25 6.25a.75.75 0 101.06 1.06L12 9.56l5.72 5.72a.75.75 0 001.06 0z"></path></svg>
38+
<svg version="1.1" width="1.5em" height="1.5em" class="sd-octicon sd-octicon-chevron-up" viewBox="0 0 24 24" aria-hidden="true"><path d="M18.78 15.78a.749.749 0 0 1-1.06 0L12 10.061 6.28 15.78a.749.749 0 1 1-1.06-1.06l6.25-6.25a.749.749 0 0 1 1.06 0l6.25 6.25a.749.749 0 0 1 0 1.06Z"></path></svg>
3939
<container classes="sd-summary-content sd-card-body" design_component="dropdown-body" is_div="True">
4040
<paragraph classes="sd-card-text">
4141
Dropdown content

tests/test_snippets/snippet_post_dropdown-options.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<dropdown_main classes="sd-sphinx-override sd-dropdown sd-card sd-m-1 class-container" ids="target" opened="False">
66
<dropdown_title classes="sd-summary-title sd-card-header class-title sd-bg-info sd-bg-text-info">
77
<raw classes="sd-summary-icon" format="html" xml:space="preserve">
8-
<svg version="1.1" width="1.0em" height="1.0em" class="sd-octicon sd-octicon-alert" viewBox="0 0 16 16" aria-hidden="true"><path fill-rule="evenodd" d="M8.22 1.754a.25.25 0 00-.44 0L1.698 13.132a.25.25 0 00.22.368h12.164a.25.25 0 00.22-.368L8.22 1.754zm-1.763-.707c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0114.082 15H1.918a1.75 1.75 0 01-1.543-2.575L6.457 1.047zM9 11a1 1 0 11-2 0 1 1 0 012 0zm-.25-5.25a.75.75 0 00-1.5 0v2.5a.75.75 0 001.5 0v-2.5z"></path></svg>
8+
<svg version="1.1" width="1.0em" height="1.0em" class="sd-octicon sd-octicon-alert" viewBox="0 0 16 16" aria-hidden="true"><path d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></svg>
99
Title
1010
<container classes="sd-summary-down" design_component="dropdown-closed-marker" is_div="True">
1111
<raw format="html" xml:space="preserve">
12-
<svg version="1.1" width="1.5em" height="1.5em" class="sd-octicon sd-octicon-chevron-down" viewBox="0 0 24 24" aria-hidden="true"><path fill-rule="evenodd" d="M5.22 8.72a.75.75 0 000 1.06l6.25 6.25a.75.75 0 001.06 0l6.25-6.25a.75.75 0 00-1.06-1.06L12 14.44 6.28 8.72a.75.75 0 00-1.06 0z"></path></svg>
12+
<svg version="1.1" width="1.5em" height="1.5em" class="sd-octicon sd-octicon-chevron-down" viewBox="0 0 24 24" aria-hidden="true"><path d="M5.22 8.22a.749.749 0 0 0 0 1.06l6.25 6.25a.749.749 0 0 0 1.06 0l6.25-6.25a.749.749 0 1 0-1.06-1.06L12 13.939 6.28 8.22a.749.749 0 0 0-1.06 0Z"></path></svg>
1313
<container classes="sd-summary-up" design_component="dropdown-open-marker" is_div="True">
1414
<raw format="html" xml:space="preserve">
15-
<svg version="1.1" width="1.5em" height="1.5em" class="sd-octicon sd-octicon-chevron-up" viewBox="0 0 24 24" aria-hidden="true"><path fill-rule="evenodd" d="M18.78 15.28a.75.75 0 000-1.06l-6.25-6.25a.75.75 0 00-1.06 0l-6.25 6.25a.75.75 0 101.06 1.06L12 9.56l5.72 5.72a.75.75 0 001.06 0z"></path></svg>
15+
<svg version="1.1" width="1.5em" height="1.5em" class="sd-octicon sd-octicon-chevron-up" viewBox="0 0 24 24" aria-hidden="true"><path d="M18.78 15.78a.749.749 0 0 1-1.06 0L12 10.061 6.28 15.78a.749.749 0 1 1-1.06-1.06l6.25-6.25a.749.749 0 0 1 1.06 0l6.25 6.25a.749.749 0 0 1 0 1.06Z"></path></svg>
1616
<container classes="sd-summary-content sd-card-body class-body" design_component="dropdown-body" is_div="True">
1717
<paragraph classes="sd-card-text">
1818
Dropdown content

tests/test_snippets/snippet_post_icon-octicon.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
<paragraph>
66
A coloured icon:
77
<raw format="html" xml:space="preserve">
8-
<svg version="1.1" width="1.0em" height="1.0em" class="sd-octicon sd-octicon-report sd-text-info" viewBox="0 0 16 16" aria-hidden="true"><path fill-rule="evenodd" d="M1.75 1.5a.25.25 0 00-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 01.75.75v2.19l2.72-2.72a.75.75 0 01.53-.22h6.5a.25.25 0 00.25-.25v-9.5a.25.25 0 00-.25-.25H1.75zM0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0114.25 13H8.06l-2.573 2.573A1.457 1.457 0 013 14.543V13H1.75A1.75 1.75 0 010 11.25v-9.5zM9 9a1 1 0 11-2 0 1 1 0 012 0zm-.25-5.25a.75.75 0 00-1.5 0v2.5a.75.75 0 001.5 0v-2.5z"></path></svg>
8+
<svg version="1.1" width="1.0em" height="1.0em" class="sd-octicon sd-octicon-report sd-text-info" viewBox="0 0 16 16" aria-hidden="true"><path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></svg>
99
, some more text.

0 commit comments

Comments
 (0)