@nrbx/topbar-components 1.1.1 → 1.1.3

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.
@@ -170,7 +170,7 @@ local function Icon(componentProps)
170
170
  params.Font = stateful(props.fontFace, currentState)
171
171
  params.Size = stateful(props.textSize, currentState)
172
172
  params.Width = sizing.textMeasurementWidth
173
- setTextBounds(TextService:GetTextBoundsAsync(params))
173
+ setTextBounds(TS.await(TextService:GetTextBoundsAsync(params)))
174
174
  previousQueryRef.current = currentQuery
175
175
  end), { currentText, props.fontFace, props.textSize, currentState })
176
176
  local imageSizeOff = stateful(props.imageSizeOffset, currentState)
@@ -20,8 +20,4 @@ export declare const springs: {
20
20
  stiff: SpringOptions;
21
21
  slow: SpringOptions;
22
22
  molasses: SpringOptions;
23
- figmaGentle: SpringOptions;
24
- figmaQuick: SpringOptions;
25
- figmaBouncy: SpringOptions;
26
- figmaSlow: SpringOptions;
27
23
  };
@@ -1,7 +1,7 @@
1
1
  -- Compiled with roblox-ts v3.0.0
2
2
  local TS = _G[script]
3
3
  local config = TS.import(script, TS.getModule(script, "@rbxts", "ripple").src).config
4
- local _object = table.clone(config)
4
+ local _object = table.clone(config.spring)
5
5
  setmetatable(_object, nil)
6
6
  _object.bubbly = {
7
7
  tension = 400,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nrbx/topbar-components",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "main": "out/init.luau",
5
5
  "scripts": {
6
6
  "build": "rbxtsc",
@@ -42,7 +42,7 @@
42
42
  "dependencies": {
43
43
  "@rbxts/object-utils": "^1.0.4",
44
44
  "@rbxts/pretty-react-hooks": "^0.6.4",
45
- "@rbxts/ripple": "^0.10.2",
45
+ "@rbxts/ripple": "^0.9.3",
46
46
  "@rbxts/services": "^1.6.0",
47
47
  "@rbxts/t": "^3.2.1"
48
48
  },