@rbxts/uiblox 0.1.17 → 0.1.18

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.
@@ -4,7 +4,7 @@ export interface PreloaderAssets {
4
4
  }
5
5
  export interface PreloaderProps {
6
6
  assetMap: Map<string, PreloaderAssets>;
7
- logo?: string;
7
+ logoSrc?: string;
8
8
  showPercentage?: boolean;
9
9
  loaderPrecision?: number;
10
10
  showAssetName?: boolean;
@@ -4,10 +4,10 @@ local _theme = TS.import(script, script.Parent.Parent.Parent.Parent.Parent, "the
4
4
  local createStyles = _theme.createStyles
5
5
  local makeStyles = _theme.makeStyles
6
6
  local usePreloaderStyles = makeStyles(function(theme, props)
7
- local getLogo = function(props)
7
+ local getLogoSrc = function(props)
8
8
  local _binding = props
9
- local logo = _binding.logo
10
- return logo
9
+ local logoSrc = _binding.logoSrc
10
+ return logoSrc
11
11
  end
12
12
  return createStyles({
13
13
  container = {
@@ -22,7 +22,7 @@ local usePreloaderStyles = makeStyles(function(theme, props)
22
22
  AnchorPoint = Vector2.new(0.5, 0.5),
23
23
  BackgroundTransparency = 1,
24
24
  BorderSizePixel = 0,
25
- Image = getLogo(props),
25
+ Image = getLogoSrc(props),
26
26
  ScaleType = Enum.ScaleType.Fit,
27
27
  ZIndex = 110000,
28
28
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/uiblox",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "UI Library and theming for roblox-ts projects",
5
5
  "main": "out/init.lua",
6
6
  "scripts": {