@quenty/lipsum 14.22.0 → 14.22.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
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
+ ## [14.22.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/lipsum@14.22.0...@quenty/lipsum@14.22.1) (2025-11-12)
7
+
8
+ **Note:** Version bump only for package @quenty/lipsum
9
+
10
+
11
+
12
+
13
+
6
14
  # [14.22.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/lipsum@14.21.0...@quenty/lipsum@14.22.0) (2025-10-08)
7
15
 
8
16
  **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": "14.22.0",
3
+ "version": "14.22.1",
4
4
  "description": "A Lorem Ipsum generator in Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -33,11 +33,11 @@
33
33
  },
34
34
  "devDependencies": {
35
35
  "@quenty/maid": "^3.5.0",
36
- "@quenty/textserviceutils": "^13.22.0",
37
- "@quenty/uiobjectutils": "^6.19.0"
36
+ "@quenty/textserviceutils": "^13.22.1",
37
+ "@quenty/uiobjectutils": "^6.19.1"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "d396d6f77d25ba25f1f45bbc252216131f88eeed"
42
+ "gitHead": "f14f6bf0f8ca2b041c70ed27b68ad385a76e6164"
43
43
  }
@@ -22,7 +22,7 @@ local function showText(text: string, maxWidth: number, optionalPadding: number?
22
22
  local container = Instance.new("Frame")
23
23
  container.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
24
24
  container.BorderSizePixel = 0
25
- container.Size = UDim2.new(1, 0, 1, 0)
25
+ container.Size = UDim2.fromScale(1, 1)
26
26
 
27
27
  local textLabel = Instance.new("TextLabel")
28
28
  textLabel.Text = text
@@ -32,7 +32,7 @@ local function showText(text: string, maxWidth: number, optionalPadding: number?
32
32
  textLabel.TextSize = 20
33
33
  textLabel.TextColor3 = Color3.new(0, 0, 0)
34
34
  textLabel.TextWrapped = true
35
- textLabel.Size = UDim2.new(1, 0, 1, 0)
35
+ textLabel.Size = UDim2.fromScale(1, 1)
36
36
  textLabel.TextXAlignment = Enum.TextXAlignment.Left
37
37
  textLabel.TextYAlignment = Enum.TextYAlignment.Top
38
38
  textLabel.Parent = container
@@ -43,7 +43,7 @@ local function showText(text: string, maxWidth: number, optionalPadding: number?
43
43
  UICornerUtils.fromOffset(10, container)
44
44
 
45
45
  local size = TextServiceUtils.getSizeForLabel(textLabel, text, maxWidth - padding * 2)
46
- container.Size = UDim2.new(0, size.x + 2 * padding, 0, size.y + 2 * padding)
46
+ container.Size = UDim2.fromOffset(size.x + 2 * padding, size.y + 2 * padding)
47
47
 
48
48
  return container
49
49
  end
@@ -57,7 +57,7 @@ local function makeTitle(title): TextLabel
57
57
  titleLabel.Font = Enum.Font.Highway
58
58
  titleLabel.Size = UDim2.new(1, -10, 0, 40)
59
59
  titleLabel.AnchorPoint = Vector2.new(0.5, 0)
60
- titleLabel.Position = UDim2.new(0.5, 0, 0, 0)
60
+ titleLabel.Position = UDim2.fromScale(0.5, 0)
61
61
  titleLabel.TextWrapped = true
62
62
  titleLabel.BackgroundTransparency = 1
63
63
  titleLabel.LayoutOrder = 2
@@ -68,7 +68,7 @@ end
68
68
  local function makeHorizontalSection(factory: ((Frame) -> ()) -> ()): Frame
69
69
  local container = Instance.new("Frame")
70
70
  container.BackgroundTransparency = 1
71
- container.Size = UDim2.new(1, 0, 1, 0)
71
+ container.Size = UDim2.fromScale(1, 1)
72
72
 
73
73
  local uiListLayout = Instance.new("UIListLayout")
74
74
  uiListLayout.Padding = UDim.new(0, 5)
@@ -100,7 +100,7 @@ local function generate(target: Frame)
100
100
 
101
101
  local container = Instance.new("Frame")
102
102
  container.BackgroundTransparency = 1
103
- container.Size = UDim2.new(1, 0, 1, 0)
103
+ container.Size = UDim2.fromScale(1, 1)
104
104
  maid:GiveTask(container)
105
105
 
106
106
  local uiListLayout = Instance.new("UIListLayout")
@@ -149,8 +149,8 @@ return function(target)
149
149
  local maid = Maid.new()
150
150
 
151
151
  local scrollingFrame = maid:Add(Instance.new("ScrollingFrame"))
152
- scrollingFrame.Size = UDim2.new(1, 0, 1, 0)
153
- scrollingFrame.CanvasSize = UDim2.new(1, 0, 5, 0)
152
+ scrollingFrame.Size = UDim2.fromScale(1, 1)
153
+ scrollingFrame.CanvasSize = UDim2.fromScale(1, 5)
154
154
  scrollingFrame.BackgroundColor3 = Color3.new(1, 1, 1)
155
155
  scrollingFrame.BackgroundTransparency = 0
156
156
  scrollingFrame.BorderSizePixel = 0