unicon 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -5
- data/README.md +15 -15
- data/lib/unicon/icons/aliases.rb +2 -2
- data/lib/unicon/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c38d10d5c3e0304ac10f9eb51f6f1150ac5d16ca265cf01ec512955587c791f8
|
|
4
|
+
data.tar.gz: 79b163dad75d02b9ee8fae3db804d404db00b57c566b717cd3e639198b85ece3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 360b410eed805259fde12fae725bf01d49ffd43c7fbe1d78d283ae7db8504781b34d8d622c26e14ebfee31586486b0e04429cc21f09f03155fa9bc79b1de462a
|
|
7
|
+
data.tar.gz: 7ea3fa8720f1413cb9fb37dbef20ffee15b0b22d45171d859b912243e16c2fdb272bc6d5b3b21dbad83c7a42975a7715abfb9b81a16e771c8e8da480c34ad600
|
data/CHANGELOG.md
CHANGED
|
@@ -3,12 +3,15 @@
|
|
|
3
3
|
Every entry says whether it is a fix, a feature or a breaking change, since that is
|
|
4
4
|
what decides both whether a reader can take it and what the next version number is.
|
|
5
5
|
|
|
6
|
-
## [
|
|
6
|
+
## [0.1.1] - 2026-08-09
|
|
7
7
|
|
|
8
|
-
- **Fix.**
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
- **Fix.** `:franchise` resolves to `:building` rather than `:shop`, and `:market` to
|
|
9
|
+
`:shop` rather than `:map`: a franchise is the organization, a market is the place
|
|
10
|
+
that sells.
|
|
11
|
+
- **Fix.** All 126 SF Symbols the table draws are vendored as SVG rather than as a
|
|
12
|
+
20-pixel PNG, so they stay sharp at any size and take the color around them. The
|
|
13
|
+
127th, `receipt`, has no artwork: this macOS cannot draw it, so the table shows the
|
|
14
|
+
dashed circle it shows for any symbol newer than the system.
|
|
12
15
|
|
|
13
16
|
## [0.1.0] - 2026-08-05
|
|
14
17
|
|
data/README.md
CHANGED
|
@@ -32,7 +32,7 @@ gem 'unicon'
|
|
|
32
32
|
|
|
33
33
|
Every concept carries exactly three keys, and never fewer:
|
|
34
34
|
|
|
35
|
-
| Key | Design system |
|
|
35
|
+
| Key | Design system | License |
|
|
36
36
|
| --- | --- | --- |
|
|
37
37
|
| `:bootstrap` | [Bootstrap Icons](https://icons.getbootstrap.com) | MIT |
|
|
38
38
|
| `:ios` | [SF Symbols](https://developer.apple.com/sf-symbols/) | Apple, Apple platforms only |
|
|
@@ -108,7 +108,7 @@ drawn out. `Unicon.actions` names them all.
|
|
|
108
108
|
<!-- concepts:start -->
|
|
109
109
|
| Icon | Aliases | Bootstrap | iOS | Android |
|
|
110
110
|
| --- | --- | --- | --- | --- |
|
|
111
|
-
| `:account` | `:avatar` `:profile` |  |  |  |  |
|
|
112
112
|
| `:airplane` | |  |  |  |
|
|
113
113
|
| `:alarm` | `:deadline` |  |  |  |
|
|
114
114
|
| `:archive` | |  |  |  |
|
|
@@ -127,7 +127,7 @@ drawn out. `Unicon.actions` names them all.
|
|
|
127
127
|
| `:box` | `:inventory` `:item` `:package` `:product` |  |  |  |
|
|
128
128
|
| `:briefcase` | `:provider` |  |  |  |
|
|
129
129
|
| `:brush` | |  |  |  |
|
|
130
|
-
| `:building` | `:brand` `:business` `:city` `:company` `:office` `:organization` |  |  |  |
|
|
130
|
+
| `:building` | `:brand` `:business` `:city` `:company` `:franchise` `:office` `:organization` |  |  |  |
|
|
131
131
|
| `:bus` | |  |  |  |
|
|
132
132
|
| `:calendar` | `:event` `:plan` `:schedule` |  |  |  |
|
|
133
133
|
| `:calendar_check` | `:appointment` `:booking` |  |  |  |
|
|
@@ -135,7 +135,7 @@ drawn out. `Unicon.actions` names them all.
|
|
|
135
135
|
| `:car` | `:ride` `:vehicle` |  |  |  |
|
|
136
136
|
| `:cart` | `:order` `:purchase` |  |  |  |
|
|
137
137
|
| `:cash` | `:cost` |  |  |  |
|
|
138
|
-
| `:chat` | `:comment` `:conversation` `:message` |  |  |  |  |
|
|
139
139
|
| `:check_circle` | |  |  |  |
|
|
140
140
|
| `:circle` | |  |  |  |
|
|
141
141
|
| `:clipboard` | `:assessment` `:survey` |  |  |  |
|
|
@@ -143,9 +143,9 @@ drawn out. `Unicon.actions` names them all.
|
|
|
143
143
|
| `:close_circle` | |  |  |  |
|
|
144
144
|
| `:cloud` | `:backup` |  |  |  |
|
|
145
145
|
| `:compass` | |  |  |  |
|
|
146
|
-
| `:contact` | |  |  |  |  |
|
|
147
147
|
| `:credit_card` | `:charge` `:payment` `:transaction` |  |  |  |
|
|
148
|
-
| `:display` | `:screen` |  |  |  |  |
|
|
149
149
|
| `:document` | `:file` `:form` `:page` `:summary` |  |  |  |
|
|
150
150
|
| `:droplet` | |  |  |  |
|
|
151
151
|
| `:envelope` | `:email` |  |  |  |
|
|
@@ -159,7 +159,7 @@ drawn out. `Unicon.actions` names them all.
|
|
|
159
159
|
| `:gift` | `:coupon` `:offer` |  |  |  |
|
|
160
160
|
| `:globe` | `:country` `:site` |  |  |  |
|
|
161
161
|
| `:grid` | |  |  |  |
|
|
162
|
-
| `:hammer` | `:job` |  |  |  |  |
|
|
163
163
|
| `:headphones` | |  |  |  |
|
|
164
164
|
| `:heart` | |  |  |  |
|
|
165
165
|
| `:hospital` | |  |  |  |
|
|
@@ -172,12 +172,12 @@ drawn out. `Unicon.actions` names them all.
|
|
|
172
172
|
| `:invoice` | `:bill` |  |  |  |
|
|
173
173
|
| `:key` | `:credential` `:permission` `:token` |  |  |  |
|
|
174
174
|
| `:keyboard` | |  |  |  |
|
|
175
|
-
| `:laptop` | |  |  |  |  |
|
|
176
176
|
| `:lightbulb` | |  |  |  |
|
|
177
177
|
| `:link` | |  |  |  |
|
|
178
178
|
| `:list` | `:log` |  |  |  |
|
|
179
179
|
| `:lock` | `:password` |  |  |  |
|
|
180
|
-
| `:map` | `:area` `:county` `:
|
|
180
|
+
| `:map` | `:area` `:county` `:region` `:state` `:territory` `:trip` |  |  |  |
|
|
181
181
|
| `:megaphone` | `:announcement` `:campaign` |  |  |  |
|
|
182
182
|
| `:microphone` | `:recording` |  |  |  |
|
|
183
183
|
| `:mobile` | |  |  |  |
|
|
@@ -203,7 +203,7 @@ drawn out. `Unicon.actions` names them all.
|
|
|
203
203
|
| `:search` | |  |  |  |
|
|
204
204
|
| `:server` | |  |  |  |
|
|
205
205
|
| `:shield` | |  |  |  |
|
|
206
|
-
| `:shop` | `:
|
|
206
|
+
| `:shop` | `:market` `:vendor` |  |  |  |
|
|
207
207
|
| `:signature` | `:contract` |  |  |  |
|
|
208
208
|
| `:signpost` | `:route` `:source` |  |  |  |
|
|
209
209
|
| `:sliders` | `:optimization` `:preference` |  |  |  |
|
|
@@ -233,7 +233,7 @@ drawn out. `Unicon.actions` names them all.
|
|
|
233
233
|
| `:warning` | `:alert` `:issue` |  |  |  |
|
|
234
234
|
| `:waveform` | `:audio` `:echo` |  |  |  |
|
|
235
235
|
| `:wifi` | |  |  |  |
|
|
236
|
-
| `:window` | `:app` |  |  |  |  |
|
|
237
237
|
| `:wrench` | |  |  |  |
|
|
238
238
|
|
|
239
239
|
A dashed circle is a symbol newer than the macOS that drew this table, which knows the SF Symbols 5 set. Hover it for the name, which resolves in an app built against a newer SDK.
|
|
@@ -260,13 +260,13 @@ and runs as part of the default `rake` task.
|
|
|
260
260
|
## The artwork in the table
|
|
261
261
|
|
|
262
262
|
All three columns show artwork vendored under `vendor/`, so the table renders whether or
|
|
263
|
-
not a CDN answers, and each directory carries the
|
|
263
|
+
not a CDN answers, and each directory carries the license its artwork came with.
|
|
264
264
|
|
|
265
265
|
Bootstrap Icons and Material Symbols are downloaded from their published sources, and
|
|
266
|
-
differ from upstream in two attributes: a
|
|
266
|
+
differ from upstream in two attributes: a gray fill, so a row reads on a light and a dark
|
|
267
267
|
theme alike, and a 20px box, so the columns line up. Apple publishes no files to fetch,
|
|
268
268
|
so `tools/sf_symbols.swift` asks macOS to draw each symbol and writes a PNG in the same
|
|
269
|
-
|
|
269
|
+
gray and the same box.
|
|
270
270
|
|
|
271
271
|
That rendering is done by the machine running `rake readme`, and a machine only knows the
|
|
272
272
|
symbols its own system shipped with. Anything newer gets `assets/undrawn.svg` — a dashed
|
|
@@ -275,6 +275,6 @@ One row is in that state today: `:receipt`, whose SF symbol arrived in iOS 18.2,
|
|
|
275
275
|
a Mac running macOS 14.3. `rake validate` has already proved every name real, which is
|
|
276
276
|
why a symbol this Mac cannot draw is reported rather than fatal.
|
|
277
277
|
|
|
278
|
-
##
|
|
278
|
+
## License
|
|
279
279
|
|
|
280
280
|
MIT. See `LICENSE.txt`.
|
data/lib/unicon/icons/aliases.rb
CHANGED
|
@@ -14,10 +14,10 @@ module Unicon
|
|
|
14
14
|
discount: :percent, echo: :waveform, email: :envelope, employee: :badge,
|
|
15
15
|
episode: :playlist, evaluation: :speedometer, event: :calendar, export: :download,
|
|
16
16
|
feedback: :smiley, file: :document, fleet: :truck, form: :document,
|
|
17
|
-
franchise: :
|
|
17
|
+
franchise: :building, goal: :trophy, group: :people, history: :clock,
|
|
18
18
|
home: :house, import: :upload, integration: :puzzle, inventory: :box,
|
|
19
19
|
issue: :warning, item: :box, job: :hammer, label: :tag,
|
|
20
|
-
lead: :person, location: :pin, log: :list, market: :
|
|
20
|
+
lead: :person, location: :pin, log: :list, market: :shop,
|
|
21
21
|
member: :person, memo: :note, message: :chat, milestone: :flag,
|
|
22
22
|
movie: :video, notification: :bell, offer: :gift, office: :building,
|
|
23
23
|
optimization: :sliders,
|
data/lib/unicon/version.rb
CHANGED