trmnl_preview 0.24.0 → 0.25.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c48bd4c65f87a82ea79f2ad3259e7bb50b19205000db66bde2299b1e60d24609
4
- data.tar.gz: 3ff5f4e46fc2afdb6a5f519c1d0ca92608dc476ed1b0d3cb99831d7a271fa19d
3
+ metadata.gz: 70b815c128b20e0573632c988b2b170eb1721c5715af5a590e294315b2b0ea53
4
+ data.tar.gz: 101648b396d697a8f19fcfc91b342bd008b982cc59467b9a051726cc0d320540
5
5
  SHA512:
6
- metadata.gz: 35dbb063801652c16db3d9fcb9c417cbd6589ece7209c0f1a061281bc22d0373d91d7ebb9e3c33a06c06aca19837a82671093a586fa7c50ec3fa70f2d1d7d191
7
- data.tar.gz: 5c3218521145a205c4de44cb4fcdcdb6ffd18e55862e55242c6aabd4b3e43be2e15c6ef18f91af26ea7509a1d1dfb4a7630c824f1bb4f65bf09c9cf86e720fea
6
+ metadata.gz: caa796947c50819b618aefc48602524691a541adbb39b56b588fc85f5b95ca2ea323310e85ab20af4d33911f781f582e218fab1e3d56a2717679cccd90311894
7
+ data.tar.gz: bc0a881a929cf6548518f21e05f6ca7264a114dd1db1de178d203cfe1c853e583b67b9fef53de8f9617ccff2e7e8784eb064b46354934ca7ee7654913331e3d5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
 
2
2
  # Changelog
3
3
 
4
+ ## 0.25.0
5
+
6
+ - `trmnlp lint` also reports a `content--` class that the plugin's Framework release does not have (`framework_classes_exist`), such as `content--xsmall`. Rich Text sizes stop at `content--small`, and a missing one leaves the text at the default size.
7
+
4
8
  ## 0.24.0
5
9
 
6
10
  - `it_behaves_like 'a publishable recipe'` names a screen's palette and dark mode in its examples, so a group that draws the TRMNL X in color and in 1-bit, or in light and dark, can tell them apart.
@@ -1,7 +1,10 @@
1
1
  # Mirrored from each Framework release's plugins.css: its value--, label--, title--,
2
- # description-- and text-- classes. A list holds until the next release listed.
2
+ # description--, text-- and content-- classes. A list holds until the next release listed.
3
3
  # Refresh with `rake framework:classes` — do not edit manually.
4
4
  0.0.1:
5
+ - content--center
6
+ - content--large
7
+ - content--long
5
8
  - label--outline
6
9
  - label--simple
7
10
  - label--small
@@ -12,6 +15,21 @@
12
15
  - value--small
13
16
  - value--xsmall
14
17
  0.0.2:
18
+ - content--center
19
+ - content--large
20
+ - content--long
21
+ - label--small
22
+ - label--underline
23
+ - label--underline-2
24
+ - title--small
25
+ - value--large
26
+ - value--small
27
+ - value--xsmall
28
+ 0.0.3:
29
+ - content--center
30
+ - content--large
31
+ - content--long
32
+ - content--small
15
33
  - label--small
16
34
  - label--underline
17
35
  - label--underline-2
@@ -20,6 +38,27 @@
20
38
  - value--small
21
39
  - value--xsmall
22
40
  0.0.5:
41
+ - content--center
42
+ - content--large
43
+ - content--long
44
+ - content--small
45
+ - label--large
46
+ - label--outline
47
+ - label--small
48
+ - label--underline
49
+ - label--underline-2
50
+ - text--center
51
+ - text--left
52
+ - text--right
53
+ - title--small
54
+ - value--large
55
+ - value--small
56
+ - value--xlarge
57
+ - value--xsmall
58
+ - value--xxlarge
59
+ 0.0.6:
60
+ - content--center
61
+ - content--small
23
62
  - label--large
24
63
  - label--outline
25
64
  - label--small
@@ -35,6 +74,8 @@
35
74
  - value--xsmall
36
75
  - value--xxlarge
37
76
  0.0.7:
77
+ - content--center
78
+ - content--small
38
79
  - label--large
39
80
  - label--outline
40
81
  - label--small
@@ -53,6 +94,8 @@
53
94
  - value--xxsmall
54
95
  - value--xxxlarge
55
96
  1.0.0:
97
+ - content--center
98
+ - content--small
56
99
  - label--gray-out
57
100
  - label--inverted
58
101
  - label--large
@@ -73,6 +116,8 @@
73
116
  - value--xxsmall
74
117
  - value--xxxlarge
75
118
  1.0.1:
119
+ - content--center
120
+ - content--small
76
121
  - label--gray-out
77
122
  - label--inverted
78
123
  - label--large
@@ -94,6 +139,43 @@
94
139
  - value--xxsmall
95
140
  - value--xxxlarge
96
141
  1.0.2:
142
+ - content--center
143
+ - content--small
144
+ - label--gray-out
145
+ - label--inverted
146
+ - label--large
147
+ - label--outline
148
+ - label--small
149
+ - label--underline
150
+ - label--underline-2
151
+ - text--black
152
+ - text--center
153
+ - text--gray-1
154
+ - text--gray-2
155
+ - text--gray-3
156
+ - text--gray-4
157
+ - text--gray-5
158
+ - text--gray-6
159
+ - text--gray-7
160
+ - text--justify
161
+ - text--left
162
+ - text--right
163
+ - text--white
164
+ - title--small
165
+ - value--large
166
+ - value--small
167
+ - value--tnums
168
+ - value--xlarge
169
+ - value--xsmall
170
+ - value--xxlarge
171
+ - value--xxsmall
172
+ - value--xxxlarge
173
+ 1.1.0:
174
+ - content--center
175
+ - content--large
176
+ - content--left
177
+ - content--right
178
+ - content--small
97
179
  - label--gray-out
98
180
  - label--inverted
99
181
  - label--large
@@ -124,6 +206,11 @@
124
206
  - value--xxsmall
125
207
  - value--xxxlarge
126
208
  2.0.0:
209
+ - content--center
210
+ - content--large
211
+ - content--left
212
+ - content--right
213
+ - content--small
127
214
  - label--gray
128
215
  - label--gray-out
129
216
  - label--inverted
@@ -168,6 +255,15 @@
168
255
  - value--xxsmall
169
256
  - value--xxxlarge
170
257
  2.3.0:
258
+ - content--base
259
+ - content--center
260
+ - content--large
261
+ - content--left
262
+ - content--right
263
+ - content--small
264
+ - content--xlarge
265
+ - content--xxlarge
266
+ - content--xxxlarge
171
267
  - description--base
172
268
  - description--large
173
269
  - description--xlarge
@@ -229,6 +325,15 @@
229
325
  - value--xxsmall
230
326
  - value--xxxlarge
231
327
  3.0.0:
328
+ - content--base
329
+ - content--center
330
+ - content--large
331
+ - content--left
332
+ - content--right
333
+ - content--small
334
+ - content--xlarge
335
+ - content--xxlarge
336
+ - content--xxxlarge
232
337
  - description--base
233
338
  - description--large
234
339
  - description--xlarge
@@ -452,6 +557,15 @@
452
557
  - value--xxsmall
453
558
  - value--xxxlarge
454
559
  3.0.4:
560
+ - content--base
561
+ - content--center
562
+ - content--large
563
+ - content--left
564
+ - content--right
565
+ - content--small
566
+ - content--xlarge
567
+ - content--xxlarge
568
+ - content--xxxlarge
455
569
  - description--base
456
570
  - description--large
457
571
  - description--xlarge
@@ -685,6 +799,15 @@
685
799
  - value--xxsmall
686
800
  - value--xxxlarge
687
801
  3.2.0:
802
+ - content--base
803
+ - content--center
804
+ - content--large
805
+ - content--left
806
+ - content--right
807
+ - content--small
808
+ - content--xlarge
809
+ - content--xxlarge
810
+ - content--xxxlarge
688
811
  - description--base
689
812
  - description--large
690
813
  - description--xlarge
@@ -10,7 +10,7 @@ module TRMNLP
10
10
  # Reports classes in the Framework's own families that the plugin's release does
11
11
  # not define, such as `value--medium`. They match no rule, so they do nothing.
12
12
  class FrameworkClassesExist < Check
13
- FAMILY_PATTERN = /\A(?:value|label|title|description|text)--/
13
+ FAMILY_PATTERN = /\A(?:value|label|title|description|text|content)--/
14
14
  DATA_PATH = File.expand_path('../../../../db/data/framework_classes.yml', __dir__)
15
15
 
16
16
  # Release number => the family classes its plugins.css defines, from that release until the next one listed.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TRMNLP
4
- VERSION = '0.24.0'
4
+ VERSION = '0.25.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trmnl_preview
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rockwell Schrock