@rbxts/uiblox 0.1.34 → 0.1.35

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.
@@ -87,8 +87,12 @@ local function Grid(props)
87
87
  _attributes[_k] = _v
88
88
  end
89
89
  end
90
- local _attributes_1 = table.clone(baseLayout)
91
- setmetatable(_attributes_1, nil)
90
+ local _attributes_1 = {
91
+ key = "GridLayout",
92
+ }
93
+ for _k, _v in baseLayout do
94
+ _attributes_1[_k] = _v
95
+ end
92
96
  return React.createElement("frame", _attributes, React.createElement("uigridlayout", _attributes_1), children)
93
97
  end
94
98
  local default = Grid
@@ -87,8 +87,12 @@ local function List(props)
87
87
  _attributes[_k] = _v
88
88
  end
89
89
  end
90
- local _attributes_1 = table.clone(baseLayout)
91
- setmetatable(_attributes_1, nil)
90
+ local _attributes_1 = {
91
+ key = "ListLayout",
92
+ }
93
+ for _k, _v in baseLayout do
94
+ _attributes_1[_k] = _v
95
+ end
92
96
  return React.createElement("frame", _attributes, React.createElement("uilistlayout", _attributes_1), children)
93
97
  end
94
98
  local default = List
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/uiblox",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "description": "UI Library and theming for roblox-ts projects",
5
5
  "main": "out/init.lua",
6
6
  "scripts": {