unicon 3.1.0 → 3.3.0
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 +24 -0
- data/README.md +8 -7
- data/lib/unicon/icons/actions/editing.rb +1 -0
- data/lib/unicon/icons/aliases.rb +2 -2
- data/lib/unicon/icons/files.rb +1 -0
- 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: 750256c8cd384646ed11ff368c251b872f3b619e71dbb012973814766a967614
|
|
4
|
+
data.tar.gz: b3d6842995d41fa1f4512889cd6d5f8469ca6d08195d6ae7f142ce450d5a9fd1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d11c2e725f1f51fc390664b712f56be41a31480527d64e72f21e420f81e37d0b2be1161ac5597412b69780a0a5f94df823b7d05677d7dab2e280e1866f72aa48
|
|
7
|
+
data.tar.gz: 851c56ac437f21a79c49f552a3c81629391aab643c5fd47b7cf340335c81eee81ffdb8d0f454dc99c0921a4ccdd28698487c9aabcf5500d4bc5186703e2f7cae
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
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
|
+
## [Unreleased]
|
|
7
|
+
|
|
8
|
+
## [3.3.0] - 2026-08-19
|
|
9
|
+
|
|
10
|
+
- **Feature.** `:checklist` is the list with ticks, the picture a warehouse pick list
|
|
11
|
+
wants and one `:clipboard` cannot stand in for: the clipboard is empty paperwork in all
|
|
12
|
+
three sets. `:pick` borrows it, beside the `:inventory`, `:shipment` and `:delivery` a
|
|
13
|
+
warehouse already looks up. iOS is `checklist.checked` rather than the plain
|
|
14
|
+
`checklist`, which `:task` has drawn since the first release — two concepts may not
|
|
15
|
+
draw the same picture, and the ticked box is the truer half of the pair anyway.
|
|
16
|
+
- **Feature.** `:boost` borrows the bolt. Promotion is a jolt of electricity in all three
|
|
17
|
+
sets and a rocket in only two, SF Symbols publishing none, so the rocket the word wants
|
|
18
|
+
is a concept this gem cannot list. 311 names now resolve, 137 of them aliases.
|
|
19
|
+
|
|
20
|
+
## [3.2.0] - 2026-08-19
|
|
21
|
+
|
|
22
|
+
- **Feature.** `:drag` is the grip a row is taken hold of by, which every list that a
|
|
23
|
+
reader puts in order by hand needs and none of the three sets spells alike:
|
|
24
|
+
Bootstrap draws `grip-vertical`, SF Symbols reaches for `line.3.horizontal` — the
|
|
25
|
+
bars iOS has used for a reorder grabber since the first table view — and Material
|
|
26
|
+
names the dots `drag_indicator`. It sits beside `:sort` under editing, since both
|
|
27
|
+
are ways of putting rows in an order and only the hand differs. 308 names now
|
|
28
|
+
resolve.
|
|
29
|
+
|
|
6
30
|
## [3.1.0] - 2026-08-19
|
|
7
31
|
|
|
8
32
|
- **Feature.** `:bookmarked` is the state beside `:bookmark`'s action, so a list can
|
data/README.md
CHANGED
|
@@ -63,9 +63,9 @@ blank. A concept may be given as a string, so `Unicon['contact']` works too.
|
|
|
63
63
|
## Three lists, and which one you want
|
|
64
64
|
|
|
65
65
|
```ruby
|
|
66
|
-
Unicon.icons # => [:account, :airplane, :alarm, :archive, :award, :badge, ...]
|
|
67
|
-
Unicon.names # => [:account, :add, :add_member, :address, :agent, ...]
|
|
68
|
-
Unicon.actions # => [:add, :add_member, :close, :confirm, ...]
|
|
66
|
+
Unicon.icons # => [:account, :airplane, :alarm, :archive, :award, :badge, ...] 131
|
|
67
|
+
Unicon.names # => [:account, :add, :add_member, :address, :agent, ...] 311
|
|
68
|
+
Unicon.actions # => [:add, :add_member, :close, :confirm, ...] 43
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
- `Unicon.icons` is **one name per distinct picture**. No two entries draw the same
|
|
@@ -87,7 +87,7 @@ caller who wants the pictures as well as the names.
|
|
|
87
87
|
## Model names
|
|
88
88
|
|
|
89
89
|
A host app looks an icon up by the name of the model it is rendering, and the more names
|
|
90
|
-
answer, the less any app has to declare.
|
|
90
|
+
answer, the less any app has to declare. 137 of them borrow the icons of a concept —
|
|
91
91
|
`:user` takes the person, `:zip` takes the pin — and the Aliases column of the table below
|
|
92
92
|
says which took which. They resolve without swelling the list a picker offers.
|
|
93
93
|
|
|
@@ -107,11 +107,11 @@ licenses them for developing applications for Apple-branded products, and this r
|
|
|
107
107
|
is part of building one. They may not be redistributed for any other purpose, so anyone
|
|
108
108
|
reusing this gem outside that context should show the names alone.
|
|
109
109
|
|
|
110
|
-
The cells hold the icon and not its name, so the table stays readable at
|
|
110
|
+
The cells hold the icon and not its name, so the table stays readable at 131 rows. **The
|
|
111
111
|
name each system uses is on the icon**: hover it, or reach it with a screen reader, and
|
|
112
112
|
`Unicon[:search][:ios]` reads back as `magnifyingglass`.
|
|
113
113
|
|
|
114
|
-
The
|
|
114
|
+
The 43 action icons are not in the table. They are fetchable — `Unicon[:edit]` answers
|
|
115
115
|
— but they name what an app does rather than what it has, and this table is `Unicon.icons`
|
|
116
116
|
drawn out. `Unicon.actions` names them all.
|
|
117
117
|
|
|
@@ -131,7 +131,7 @@ drawn out. `Unicon.actions` names them all.
|
|
|
131
131
|
| `:battery` | |  |  |  |
|
|
132
132
|
| `:bell` | `:notification` `:reminder` |  |  |  |
|
|
133
133
|
| `:bicycle` | |  |  |  |
|
|
134
|
-
| `:bolt` |
|
|
134
|
+
| `:bolt` | `:boost` |  |  |  |
|
|
135
135
|
| `:book` | |  |  |  |
|
|
136
136
|
| `:bookmark` | |  |  |  |
|
|
137
137
|
| `:bookmarked` | |  |  |  |
|
|
@@ -149,6 +149,7 @@ drawn out. `Unicon.actions` names them all.
|
|
|
149
149
|
| `:cash` | `:cost` |  |  |  |
|
|
150
150
|
| `:chat` | `:comment` `:conversation` `:message` |  |  |  |
|
|
151
151
|
| `:check_circle` | |  |  |  |
|
|
152
|
+
| `:checklist` | `:pick` |  |  |  |
|
|
152
153
|
| `:circle` | |  |  |  |
|
|
153
154
|
| `:clipboard` | `:assessment` `:survey` |  |  |  |
|
|
154
155
|
| `:clock` | `:history` `:session` `:shift` |  |  |  |
|
|
@@ -12,6 +12,7 @@ module Unicon
|
|
|
12
12
|
undo: { bootstrap: 'arrow-counterclockwise', ios: 'arrow.uturn.backward', android: 'undo' },
|
|
13
13
|
refresh: { bootstrap: 'arrow-clockwise', ios: 'arrow.clockwise', android: 'refresh' },
|
|
14
14
|
sort: { bootstrap: 'sort-down', ios: 'arrow.up.arrow.down', android: 'sort' },
|
|
15
|
+
drag: { bootstrap: 'grip-vertical', ios: 'line.3.horizontal', android: 'drag_indicator' },
|
|
15
16
|
zoom_in: { bootstrap: 'zoom-in', ios: 'plus.magnifyingglass', android: 'zoom_in' },
|
|
16
17
|
zoom_out: { bootstrap: 'zoom-out', ios: 'minus.magnifyingglass', android: 'zoom_out' },
|
|
17
18
|
add_member: { bootstrap: 'person-plus', ios: 'person.badge.plus', android: 'person_add' },
|
data/lib/unicon/icons/aliases.rb
CHANGED
|
@@ -5,7 +5,7 @@ module Unicon
|
|
|
5
5
|
answer: :question, api: :terminal, app: :window, appointment: :calendar_check,
|
|
6
6
|
area: :map, assessment: :clipboard, attachment: :paperclip, audio: :waveform,
|
|
7
7
|
author: :account, avatar: :account, backup: :cloud, banner: :image, bill: :invoice,
|
|
8
|
-
booking: :calendar_check, business: :building, call: :phone,
|
|
8
|
+
booking: :calendar_check, boost: :bolt, business: :building, call: :phone,
|
|
9
9
|
campaign: :megaphone, category: :tag, charge: :credit_card, city: :building,
|
|
10
10
|
client: :person, comment: :chat, company: :building, configuration: :gear,
|
|
11
11
|
contract: :signature, conversation: :chat, cost: :cash, country: :globe,
|
|
@@ -23,7 +23,7 @@ module Unicon
|
|
|
23
23
|
optimization: :sliders,
|
|
24
24
|
order: :cart, organization: :building, package: :box, page: :document,
|
|
25
25
|
password: :lock, payment: :credit_card, permission: :key, photo: :image,
|
|
26
|
-
picture: :image, plan: :calendar, platform: :puzzle, plugin: :puzzle,
|
|
26
|
+
pick: :checklist, picture: :image, plan: :calendar, platform: :puzzle, plugin: :puzzle,
|
|
27
27
|
post: :document, preference: :sliders, price: :tag, product: :box, profile: :account,
|
|
28
28
|
project: :folder, prompt: :terminal, provider: :briefcase, purchase: :cart,
|
|
29
29
|
rating: :star, recording: :microphone, region: :map, reminder: :bell,
|
data/lib/unicon/icons/files.rb
CHANGED
|
@@ -5,6 +5,7 @@ module Unicon
|
|
|
5
5
|
folder: { bootstrap: 'folder', ios: 'folder', android: 'folder' },
|
|
6
6
|
archive: { bootstrap: 'archive', ios: 'archivebox', android: 'archive' },
|
|
7
7
|
clipboard: { bootstrap: 'clipboard', ios: 'list.clipboard', android: 'content_paste' },
|
|
8
|
+
checklist: { bootstrap: 'card-checklist', ios: 'checklist.checked', android: 'checklist' },
|
|
8
9
|
book: { bootstrap: 'book', ios: 'book', android: 'book' },
|
|
9
10
|
note: { bootstrap: 'sticky', ios: 'note.text', android: 'sticky_note_2' },
|
|
10
11
|
paperclip: { bootstrap: 'paperclip', ios: 'paperclip', android: 'attach_file' },
|
data/lib/unicon/version.rb
CHANGED