@quenty/lipsum 9.1.1 → 9.2.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.
- package/CHANGELOG.md +11 -0
- package/package.json +6 -6
- package/src/Shared/LipsumIconUtils.lua +51 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [9.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/lipsum@9.1.1...@quenty/lipsum@9.2.0) (2023-12-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Add LipsumIconUtils.coloredOutlineIcon(random) ([7d8c74c](https://github.com/Quenty/NevermoreEngine/commit/7d8c74c5610f428d71ef4b5a71c5d85c533cb7c8))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [9.1.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/lipsum@9.1.0...@quenty/lipsum@9.1.1) (2023-10-28)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/lipsum
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/lipsum",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.2.0",
|
|
4
4
|
"description": "A Lorem Ipsum generator in Roblox",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"Quenty"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@quenty/loader": "^7.
|
|
31
|
-
"@quenty/randomutils": "^3.
|
|
30
|
+
"@quenty/loader": "^7.1.0",
|
|
31
|
+
"@quenty/randomutils": "^3.1.0",
|
|
32
32
|
"@quenty/string": "^3.1.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@quenty/maid": "^2.6.0",
|
|
36
|
-
"@quenty/textserviceutils": "^8.
|
|
37
|
-
"@quenty/uiobjectutils": "^3.
|
|
36
|
+
"@quenty/textserviceutils": "^8.2.0",
|
|
37
|
+
"@quenty/uiobjectutils": "^3.5.0"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "2c2dbbc0cb2fbb46b4f3270c559c63890fe18b26"
|
|
43
43
|
}
|
|
@@ -103,10 +103,42 @@ local OUTLINE_ICONS = {
|
|
|
103
103
|
"rbxassetid://6035190844";
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
+
-- NOTE: These icons can't be used in production without a license
|
|
107
|
+
-- https://rhosgfx.itch.io/vector-icon-pack
|
|
108
|
+
local COLORED_OUTLINE_ICONS = {
|
|
109
|
+
"rbxassetid://10049672584";
|
|
110
|
+
"rbxassetid://10049673405";
|
|
111
|
+
"rbxassetid://10049674340";
|
|
112
|
+
"rbxassetid://10049676437";
|
|
113
|
+
"rbxassetid://10049677223";
|
|
114
|
+
"rbxassetid://10049679313";
|
|
115
|
+
"rbxassetid://10049681901";
|
|
116
|
+
"rbxassetid://10184125962";
|
|
117
|
+
"rbxassetid://10184127146";
|
|
118
|
+
"rbxassetid://10184128128";
|
|
119
|
+
"rbxassetid://10184139303";
|
|
120
|
+
"rbxassetid://10184140737";
|
|
121
|
+
"rbxassetid://10184144109";
|
|
122
|
+
"rbxassetid://10184774260";
|
|
123
|
+
"rbxassetid://10227981754";
|
|
124
|
+
"rbxassetid://10227983832";
|
|
125
|
+
"rbxassetid://10422318513";
|
|
126
|
+
"rbxassetid://10477537109";
|
|
127
|
+
"rbxassetid://10477544246";
|
|
128
|
+
"rbxassetid://10477548138";
|
|
129
|
+
"rbxassetid://10477567272";
|
|
130
|
+
"rbxassetid://10514673495";
|
|
131
|
+
"rbxassetid://9996257514";
|
|
132
|
+
"rbxassetid://9996311475";
|
|
133
|
+
"rbxassetid://9996312372";
|
|
134
|
+
"rbxassetid://9996372111";
|
|
135
|
+
}
|
|
136
|
+
|
|
106
137
|
local LipsumIconUtils = {}
|
|
107
138
|
|
|
108
139
|
--[=[
|
|
109
|
-
Gets a random icon
|
|
140
|
+
Gets a random icon that is white in color
|
|
141
|
+
|
|
110
142
|
@param random Random
|
|
111
143
|
@return string
|
|
112
144
|
]=]
|
|
@@ -115,7 +147,8 @@ function LipsumIconUtils.icon(random)
|
|
|
115
147
|
end
|
|
116
148
|
|
|
117
149
|
--[=[
|
|
118
|
-
Gets a random outline icon
|
|
150
|
+
Gets a random outline icon that is white in color
|
|
151
|
+
|
|
119
152
|
@param random Random
|
|
120
153
|
@return string
|
|
121
154
|
]=]
|
|
@@ -123,4 +156,20 @@ function LipsumIconUtils.outlineIcon(random)
|
|
|
123
156
|
return RandomUtils.choice(OUTLINE_ICONS, random)
|
|
124
157
|
end
|
|
125
158
|
|
|
159
|
+
--[=[
|
|
160
|
+
Gets a random colorful icon
|
|
161
|
+
|
|
162
|
+
:::warning
|
|
163
|
+
These icons must be be licensed to use in production.
|
|
164
|
+
|
|
165
|
+
https://rhosgfx.itch.io/vector-icon-pack
|
|
166
|
+
:::
|
|
167
|
+
|
|
168
|
+
@param random Random
|
|
169
|
+
@return string
|
|
170
|
+
]=]
|
|
171
|
+
function LipsumIconUtils.coloredOutlineIcon(random)
|
|
172
|
+
return RandomUtils.choice(COLORED_OUTLINE_ICONS, random)
|
|
173
|
+
end
|
|
174
|
+
|
|
126
175
|
return LipsumIconUtils
|