@quenty/blend 7.1.1 → 7.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 CHANGED
@@ -3,6 +3,18 @@
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
+ # [7.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/blend@7.1.1...@quenty/blend@7.2.0) (2023-12-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * SpringObject has better errors ([ff78f35](https://github.com/Quenty/NevermoreEngine/commit/ff78f359dfab564a27b363c47edb9415138e7185))
12
+ * Update default props to be enums, and smooth top and bottom surfaces of parts ([6036177](https://github.com/Quenty/NevermoreEngine/commit/60361779332eb6f04575c9c654c9d3d6440d3d1c))
13
+
14
+
15
+
16
+
17
+
6
18
  ## [7.1.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/blend@7.1.0...@quenty/blend@7.1.1) (2023-10-28)
7
19
 
8
20
  **Note:** Version bump only for package @quenty/blend
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/blend",
3
- "version": "7.1.1",
3
+ "version": "7.2.0",
4
4
  "description": "Declarative UI system.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -28,22 +28,22 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@quenty/acceltween": "^2.3.0",
31
- "@quenty/brio": "^9.1.1",
32
- "@quenty/instanceutils": "^8.1.1",
33
- "@quenty/loader": "^7.0.0",
31
+ "@quenty/brio": "^9.2.0",
32
+ "@quenty/instanceutils": "^8.2.0",
33
+ "@quenty/loader": "^7.1.0",
34
34
  "@quenty/maid": "^2.6.0",
35
- "@quenty/promise": "^7.0.0",
36
- "@quenty/rx": "^8.1.1",
37
- "@quenty/signal": "^3.0.0",
38
- "@quenty/spring": "^7.0.0",
35
+ "@quenty/promise": "^7.1.0",
36
+ "@quenty/rx": "^8.2.0",
37
+ "@quenty/signal": "^3.1.0",
38
+ "@quenty/spring": "^7.1.0",
39
39
  "@quenty/steputils": "^3.3.0",
40
40
  "@quenty/string": "^3.1.0",
41
- "@quenty/valuebaseutils": "^8.1.1",
42
- "@quenty/valueobject": "^8.1.1"
41
+ "@quenty/valuebaseutils": "^8.2.0",
42
+ "@quenty/valueobject": "^8.2.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@quenty/contentproviderutils": "^7.1.1",
46
- "@quenty/playerthumbnailutils": "^7.0.0"
45
+ "@quenty/contentproviderutils": "^7.2.0",
46
+ "@quenty/playerthumbnailutils": "^7.1.0"
47
47
  },
48
- "gitHead": "440aca7ce2b50b74317ee05fdc0b8d1e58001af3"
48
+ "gitHead": "2c2dbbc0cb2fbb46b4f3270c559c63890fe18b26"
49
49
  }
@@ -8,6 +8,7 @@
8
8
  MIT License
9
9
 
10
10
  Copyright (c) 2021 Elttob
11
+ Copyright (c) 2021-2023 Quenty
11
12
 
12
13
  Permission is hereby granted, free of charge, to any person obtaining a copy
13
14
  of this software and associated documentation files (the "Software"), to deal
@@ -32,19 +33,19 @@ SOFTWARE.
32
33
  return {
33
34
  ScreenGui = {
34
35
  ResetOnSpawn = false,
35
- ZIndexBehavior = "Sibling"
36
+ ZIndexBehavior = Enum.ZIndexBehavior.Sibling
36
37
  },
37
38
 
38
39
  BillboardGui = {
39
40
  ResetOnSpawn = false,
40
- ZIndexBehavior = "Sibling"
41
+ ZIndexBehavior = Enum.ZIndexBehavior.Sibling
41
42
  },
42
43
 
43
44
  SurfaceGui = {
44
45
  ResetOnSpawn = false,
45
- ZIndexBehavior = "Sibling",
46
+ ZIndexBehavior = Enum.ZIndexBehavior.Sibling,
46
47
 
47
- SizingMode = "PixelsPerStud",
48
+ SizingMode = Enum.SurfaceGuiSizingMode.PixelsPerStud,
48
49
  PixelsPerStud = 50
49
50
  },
50
51
 
@@ -67,7 +68,7 @@ return {
67
68
  BorderColor3 = Color3.new(0, 0, 0),
68
69
  BorderSizePixel = 0,
69
70
 
70
- Font = "SourceSans",
71
+ Font = Enum.Font.SourceSans,
71
72
  Text = "",
72
73
  TextColor3 = Color3.new(0, 0, 0),
73
74
  TextSize = 14
@@ -80,7 +81,7 @@ return {
80
81
 
81
82
  AutoButtonColor = false,
82
83
 
83
- Font = "SourceSans",
84
+ Font = Enum.Font.SourceSans,
84
85
  Text = "",
85
86
  TextColor3 = Color3.new(0, 0, 0),
86
87
  TextSize = 14
@@ -93,7 +94,7 @@ return {
93
94
 
94
95
  ClearTextOnFocus = false,
95
96
 
96
- Font = "SourceSans",
97
+ Font = Enum.Font.SourceSans,
97
98
  Text = "",
98
99
  TextColor3 = Color3.new(0, 0, 0),
99
100
  TextSize = 14
@@ -132,4 +133,9 @@ return {
132
133
  Sound = {
133
134
  RollOffMode = Enum.RollOffMode.InverseTapered;
134
135
  };
136
+
137
+ Part = {
138
+ TopSurface = Enum.SurfaceType.Smooth;
139
+ BottomSurface = Enum.SurfaceType.Smooth;
140
+ };
135
141
  }
@@ -233,6 +233,8 @@ function SpringObject:SetTarget(value, doNotAnimate)
233
233
 
234
234
  self._maid._targetSub = observable:Subscribe(function(unconverted)
235
235
  local converted = SpringUtils.toLinearIfNeeded(unconverted)
236
+ assert(converted, "Not a valid converted value")
237
+
236
238
  local spring = self:_getSpringForType(converted)
237
239
  spring.Target = converted
238
240