@rbxts/centurion-ui 1.0.0-dev-284510d → 1.0.0-dev-dacc7af

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/README.md ADDED
@@ -0,0 +1,29 @@
1
+ <div align="center">
2
+ <a href="https://centurion.paradoxum.dev/" target="_blank">
3
+ <img src="../../docs/src/assets/logo.webp" width="150" />
4
+ </a>
5
+
6
+ <h1>Centurion - UI</h1>
7
+
8
+ <p>
9
+ <strong>A flexible and extensible command framework for roblox-ts</strong>
10
+ </p>
11
+
12
+ This package contains Centurion's user interface. To use it, you must
13
+ also install [@rbxts/centurion](https://www.npmjs.com/package/@rbxts/centurion).
14
+
15
+ [![CI status][ci-badge]][ci-url]
16
+ [![npm latest version][npm-latest-badge]][npm-latest-url]
17
+ [![npm dev version][npm-next-badge]][npm-next-url]
18
+
19
+ [npm-latest-badge]: https://img.shields.io/npm/v/%40rbxts%2Fcenturion?logo=npm&label=latest&color=green
20
+ [npm-latest-url]: https://www.npmjs.com/package/@rbxts/centurion/v/latest
21
+ [npm-next-badge]: https://img.shields.io/npm/v/%40rbxts%2Fcenturion%2Fnext?logo=npm&label=next
22
+ [npm-next-url]: https://www.npmjs.com/package/@rbxts/centurion/v/next
23
+ [ci-badge]: https://github.com/paradoxuum/centurion/actions/workflows/ci.yml/badge.svg?branch=main
24
+ [ci-url]: https://github.com/paradoxuum/centurion/actions/workflows/ci.yml
25
+
26
+ <a href="https://centurion.paradoxum.dev/">📖 Documentation</a>
27
+ </div>
28
+
29
+ <img src="../../public/banner.png" />
@@ -1,6 +1,6 @@
1
1
  -- Compiled with roblox-ts v2.3.0-dev-26ec859
2
2
  local TS = _G[script]
3
- local config = TS.import(script, TS.getModule(script, "@rbxts", "ripple")).config
3
+ local config = TS.import(script, TS.getModule(script, "@rbxts", "ripple").src).config
4
4
  local _object = table.clone(config.spring)
5
5
  setmetatable(_object, nil)
6
6
  _object.bubbly = {
@@ -4,7 +4,7 @@ local useEventListener = TS.import(script, TS.getModule(script, "@rbxts", "prett
4
4
  local _react = TS.import(script, TS.getModule(script, "@rbxts", "react"))
5
5
  local useBinding = _react.useBinding
6
6
  local useMemo = _react.useMemo
7
- local createMotion = TS.import(script, TS.getModule(script, "@rbxts", "ripple")).createMotion
7
+ local createMotion = TS.import(script, TS.getModule(script, "@rbxts", "ripple").src).createMotion
8
8
  local RunService = TS.import(script, TS.getModule(script, "@rbxts", "services")).RunService
9
9
  local function useMotion(initialValue)
10
10
  local motion = useMemo(function()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/centurion-ui",
3
- "version": "1.0.0-dev-284510d",
3
+ "version": "1.0.0-dev-dacc7af",
4
4
  "author": "paradoxuum",
5
5
  "license": "MIT",
6
6
  "main": "out/init.lua",
@@ -27,14 +27,15 @@
27
27
  "access": "public"
28
28
  },
29
29
  "scripts": {
30
- "build": "rbxtsc --verbose"
30
+ "prepack": "yarn build",
31
+ "build": "shx rm -rf out && rbxtsc --verbose"
31
32
  },
32
33
  "devDependencies": {
33
- "@rbxts/centurion": "^1.0.0-dev-284510d",
34
+ "@rbxts/centurion": "^1.0.0-dev-dacc7af",
34
35
  "@rbxts/compiler-types": "2.3.0-types.1",
35
36
  "@rbxts/types": "^1.0.789",
36
- "rbxts-transformer-services": "^1.1.1",
37
37
  "roblox-ts": "2.3.0-dev-26ec859",
38
+ "shx": "^0.3.4",
38
39
  "typescript": "~5.5.3"
39
40
  },
40
41
  "dependencies": {
@@ -48,7 +49,7 @@
48
49
  "@rbxts/services": "^1.5.4"
49
50
  },
50
51
  "peerDependencies": {
51
- "@rbxts/centurion": "^1.0.0-dev-284510d"
52
+ "@rbxts/centurion": "^1.0.0-dev-dacc7af"
52
53
  },
53
54
  "stableVersion": "0.1.0"
54
55
  }