tgui-core 4.3.2 → 4.3.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.
@@ -1,3 +1,4 @@
1
+ import type { DOMAttributes } from 'react';
1
2
  import type { BoxProps } from '../components/Box';
2
3
  import { type BooleanLike } from './react';
3
4
  type UnitMapper = (value: unknown) => string | undefined;
@@ -116,4 +117,7 @@ export declare function computeBoxClassName<TElement = HTMLDivElement>(props: Bo
116
117
  type StyleMap = StringStyleMap & BooleanStyleMap;
117
118
  /** Super light implementation of tailwind-like class names. */
118
119
  export declare function computeTwClass(input: string | undefined): StyleMap;
120
+ /** Short list of accepted DOM event handlers */
121
+ export declare const eventHandlers: readonly ["onClick", "onContextMenu", "onDoubleClick", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseMove", "onMouseOver", "onMouseUp", "onScroll"];
122
+ export type EventHandlers<TElement = HTMLDivElement> = Pick<DOMAttributes<TElement>, (typeof eventHandlers)[number]>;
119
123
  export {};
package/dist/common/ui.js CHANGED
@@ -1 +1 @@
1
- import{CSS_COLORS as t}from"./constants.js";import{classes as o}from"./react.js";let i=t=>"string"==typeof t?t.endsWith("px")?`${Number.parseFloat(t)/12}rem`:t:"number"==typeof t?`${t}rem`:void 0,e=t=>"string"==typeof t?i(t):"number"==typeof t?i(.5*t):void 0;function n(o){return"string"==typeof o&&t.includes(o)}let r=t=>(o,i)=>{("number"==typeof i||"string"==typeof i)&&(o[t]=i)},l=(t,o)=>(i,e)=>{("number"==typeof e||"string"==typeof e)&&(i[t]=o(e))},p=(t,o)=>(i,e)=>{e&&(i[t]=o)},g=(t,o,i)=>(e,n)=>{if("number"==typeof n||"string"==typeof n)for(let r=0;r<i.length;r++)e[t+i[r]]=o(n)},a=t=>(o,i)=>{n(i)||(o[t]=i)},f={align:r("textAlign"),backgroundColor:a("backgroundColor"),bottom:l("bottom",i),color:a("color"),fontFamily:r("fontFamily"),fontSize:l("fontSize",i),fontWeight:r("fontWeight"),g:l("gap",e),gc:l("columnGap",e),gr:l("rowGap",e),height:l("height",i),left:l("left",i),lineHeight:(t,o)=>{"number"==typeof o?t.lineHeight=o:"string"==typeof o&&(t.lineHeight=i(o))},m:g("margin",e,["Top","Bottom","Left","Right"]),maxHeight:l("maxHeight",i),maxWidth:l("maxWidth",i),mb:l("marginBottom",e),minHeight:l("minHeight",i),minWidth:l("minWidth",i),ml:l("marginLeft",e),mr:l("marginRight",e),mt:l("marginTop",e),mx:g("margin",e,["Left","Right"]),my:g("margin",e,["Top","Bottom"]),opacity:r("opacity"),overflow:r("overflow"),overflowX:r("overflowX"),overflowY:r("overflowY"),p:g("padding",e,["Top","Bottom","Left","Right"]),pb:l("paddingBottom",e),pl:l("paddingLeft",e),position:r("position"),pr:l("paddingRight",e),pt:l("paddingTop",e),px:g("padding",e,["Left","Right"]),py:g("padding",e,["Top","Bottom"]),right:l("right",i),textAlign:r("textAlign"),textColor:a("color"),top:l("top",i),verticalAlign:r("verticalAlign"),width:l("width",i)},m={bold:p("fontWeight","bold"),fillPositionedParent:(t,o)=>{o&&(t.position="absolute",t.top=0,t.bottom=0,t.left=0,t.right=0)},inline:p("display","inline-block"),italic:p("fontStyle","italic"),nowrap:p("whiteSpace","nowrap"),preserveWhitespace:p("whiteSpace","pre-wrap")};function s(t){let o={},i={};for(let e in t){if("style"===e)continue;let n=t[e],r=f[e]||m[e];r?r(i,n):o[e]=n}return o.style={...i,...t.style},o}function h(t){let i=t.textColor||t.color,{backgroundColor:e}=t;return o([n(i)&&`color-${i}`,n(e)&&`color-bg-${e}`])}function c(t){let o={};if(!t)return o;for(let i of t.split(" ")){let[t,e]=i.split("-");if(t)if(t in f){if(""===e)continue;let i=Number(e);!Number.isNaN(i)&&Number.isFinite(i)?o[t]=i:o[t]=e}else t in m?o[t]=!0:console.warn(`Unknown prop ${t}`)}return o}export{m as booleanStyleMap,h as computeBoxClassName,s as computeBoxProps,c as computeTwClass,e as halfUnit,f as stringStyleMap,i as unit};
1
+ import{CSS_COLORS as t}from"./constants.js";import{classes as o}from"./react.js";let e=t=>"string"==typeof t?t.endsWith("px")?`${Number.parseFloat(t)/12}rem`:t:"number"==typeof t?`${t}rem`:void 0,i=t=>"string"==typeof t?e(t):"number"==typeof t?e(.5*t):void 0;function n(o){return"string"==typeof o&&t.includes(o)}let r=t=>(o,e)=>{("number"==typeof e||"string"==typeof e)&&(o[t]=e)},l=(t,o)=>(e,i)=>{("number"==typeof i||"string"==typeof i)&&(e[t]=o(i))},p=(t,o)=>(e,i)=>{i&&(e[t]=o)},g=(t,o,e)=>(i,n)=>{if("number"==typeof n||"string"==typeof n)for(let r=0;r<e.length;r++)i[t+e[r]]=o(n)},a=t=>(o,e)=>{n(e)||(o[t]=e)},f={align:r("textAlign"),backgroundColor:a("backgroundColor"),bottom:l("bottom",e),color:a("color"),fontFamily:r("fontFamily"),fontSize:l("fontSize",e),fontWeight:r("fontWeight"),g:l("gap",i),gc:l("columnGap",i),gr:l("rowGap",i),height:l("height",e),left:l("left",e),lineHeight:(t,o)=>{"number"==typeof o?t.lineHeight=o:"string"==typeof o&&(t.lineHeight=e(o))},m:g("margin",i,["Top","Bottom","Left","Right"]),maxHeight:l("maxHeight",e),maxWidth:l("maxWidth",e),mb:l("marginBottom",i),minHeight:l("minHeight",e),minWidth:l("minWidth",e),ml:l("marginLeft",i),mr:l("marginRight",i),mt:l("marginTop",i),mx:g("margin",i,["Left","Right"]),my:g("margin",i,["Top","Bottom"]),opacity:r("opacity"),overflow:r("overflow"),overflowX:r("overflowX"),overflowY:r("overflowY"),p:g("padding",i,["Top","Bottom","Left","Right"]),pb:l("paddingBottom",i),pl:l("paddingLeft",i),position:r("position"),pr:l("paddingRight",i),pt:l("paddingTop",i),px:g("padding",i,["Left","Right"]),py:g("padding",i,["Top","Bottom"]),right:l("right",e),textAlign:r("textAlign"),textColor:a("color"),top:l("top",e),verticalAlign:r("verticalAlign"),width:l("width",e)},m={bold:p("fontWeight","bold"),fillPositionedParent:(t,o)=>{o&&(t.position="absolute",t.top=0,t.bottom=0,t.left=0,t.right=0)},inline:p("display","inline-block"),italic:p("fontStyle","italic"),nowrap:p("whiteSpace","nowrap"),preserveWhitespace:p("whiteSpace","pre-wrap")};function s(t){let o={},e={};for(let i in t){if("style"===i)continue;let n=t[i],r=f[i]||m[i];r?r(e,n):o[i]=n}return o.style={...e,...t.style},o}function u(t){let e=t.textColor||t.color,{backgroundColor:i}=t;return o([n(e)&&`color-${e}`,n(i)&&`color-bg-${i}`])}function c(t){let o={};if(!t)return o;for(let e of t.split(" ")){let[t,i]=e.split("-");if(t)if(t in f){if(""===i)continue;let e=Number(i);!Number.isNaN(e)&&Number.isFinite(e)?o[t]=e:o[t]=i}else t in m?o[t]=!0:console.warn(`Unknown prop ${t}`)}return o}let h=["onClick","onContextMenu","onDoubleClick","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseMove","onMouseOver","onMouseUp","onScroll"];export{m as booleanStyleMap,u as computeBoxClassName,s as computeBoxProps,c as computeTwClass,h as eventHandlers,i as halfUnit,f as stringStyleMap,e as unit};
@@ -6,5 +6,6 @@ import { type BoxProps } from './Box';
6
6
  * > Here's an example of a block quote.
7
7
  *
8
8
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-blockquote--docs)
9
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
9
10
  */
10
11
  export declare function BlockQuote(props: BoxProps): import("react/jsx-runtime").JSX.Element;
@@ -1,20 +1,7 @@
1
1
  import type { BooleanLike } from '../common/react.ts';
2
- import { type BooleanStyleMap, type StringStyleMap } from '../common/ui.ts';
3
- import { type CSSProperties, type KeyboardEventHandler, type MouseEventHandler, type ReactNode, type UIEventHandler } from 'react';
4
- type EventHandlers<TElement = HTMLDivElement> = Partial<{
5
- onClick: MouseEventHandler<TElement>;
6
- onContextMenu: MouseEventHandler<TElement>;
7
- onDoubleClick: MouseEventHandler<TElement>;
8
- onKeyDown: KeyboardEventHandler<TElement>;
9
- onKeyUp: KeyboardEventHandler<TElement>;
10
- onMouseDown: MouseEventHandler<TElement>;
11
- onMouseLeave: MouseEventHandler<TElement>;
12
- onMouseMove: MouseEventHandler<TElement>;
13
- onMouseOver: MouseEventHandler<TElement>;
14
- onMouseUp: MouseEventHandler<TElement>;
15
- onScroll: UIEventHandler<TElement>;
16
- }>;
17
- type InternalProps = Partial<{
2
+ import { type BooleanStyleMap, type EventHandlers, type StringStyleMap } from '../common/ui.ts';
3
+ import { type CSSProperties, type ReactNode } from 'react';
4
+ export type BoxInternalProps = Partial<{
18
5
  /**
19
6
  * The component used for the root node.
20
7
  * @default <div>
@@ -51,7 +38,7 @@ type InternalProps = Partial<{
51
38
  */
52
39
  tw: string;
53
40
  }>;
54
- export interface BoxProps<TElement = HTMLDivElement> extends InternalProps, BooleanStyleMap, StringStyleMap, EventHandlers<TElement> {
41
+ export interface BoxProps<TElement = HTMLDivElement> extends BoxInternalProps, BooleanStyleMap, StringStyleMap, EventHandlers<TElement> {
55
42
  }
56
43
  type DangerDoNotUse = {
57
44
  dangerouslySetInnerHTML?: {
@@ -94,6 +94,7 @@ declare function ButtonFile(props: FileProps): import("react/jsx-runtime").JSX.E
94
94
  * Buttons allow users to take actions, and make choices, with a single click.
95
95
  *
96
96
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-button--docs)
97
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
97
98
  */
98
99
  export declare namespace Button {
99
100
  /**
@@ -54,6 +54,8 @@ type Props = Partial<{
54
54
  * ```
55
55
  *
56
56
  * It supports a full set of `Box` properties for layout purposes.
57
+ *
58
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
57
59
  */
58
60
  export declare function ByondUi(props: Props): import("react/jsx-runtime").JSX.Element;
59
61
  export {};
@@ -8,6 +8,15 @@ type Props = {
8
8
  strokeColor: string;
9
9
  strokeWidth: number;
10
10
  }> & BoxProps;
11
+ /**
12
+ * ## Chart
13
+ *
14
+ * A simple chart component that displays a polyline based on the provided data.
15
+ *
16
+ * It normalizes the data to fit within the viewBox dimensions and allows for custom fill and stroke colors.
17
+ *
18
+ * - [View inherited Box Props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
19
+ */
11
20
  export declare function Chart(props: Props): import("react/jsx-runtime").JSX.Element;
12
21
  export declare namespace Chart {
13
22
  var Line: typeof Chart;
@@ -22,6 +22,7 @@ type Props = Partial<{
22
22
  * Click to toggle, closed by default.
23
23
  *
24
24
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-collapsible--docs)
25
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
25
26
  */
26
27
  export declare function Collapsible(props: Props): import("react/jsx-runtime").JSX.Element;
27
28
  export {};
@@ -13,6 +13,7 @@ type Props = {
13
13
  * [Box](https://github.com/tgstation/tgui-core/tree/main/lib/components/Box.tsx) instead.
14
14
  *
15
15
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-colorbox--docs)
16
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
16
17
  */
17
18
  export declare function ColorBox(props: Props): import("react/jsx-runtime").JSX.Element;
18
19
  export {};
@@ -54,6 +54,7 @@ type Props = {
54
54
  * and displays selected entry.
55
55
  *
56
56
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-dropdown--docs)
57
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
57
58
  */
58
59
  export declare function Dropdown(props: Props): import("react/jsx-runtime").JSX.Element;
59
60
  export {};
@@ -90,6 +90,7 @@ export declare function computeFlexProps(props: FlexProps): Record<string, any>;
90
90
  * where possible.
91
91
  *
92
92
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-flex--docs)
93
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
93
94
  */
94
95
  export declare function Flex(props: any): import("react/jsx-runtime").JSX.Element;
95
96
  export declare namespace Flex {
@@ -31,6 +31,7 @@ declare function IconStack(props: BoxProps & IconStackProps): import("react/jsx-
31
31
  * Icons: https://fontawesome.com/v6/search?o=r&m=free
32
32
  *
33
33
  * - [View documentation on tgui core](http://localhost:6006/?path=/docs/components-icon--docs)
34
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
34
35
  */
35
36
  export declare namespace Icon {
36
37
  /**
@@ -84,6 +84,7 @@ type Props = Partial<{
84
84
  * - If an image is specified but for some reason cannot be displayed, there will be a spinner fallback until it is loaded.
85
85
  *
86
86
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-imagebutton--docs)
87
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
87
88
  */
88
89
  export declare function ImageButton(props: Props): import("react/jsx-runtime").JSX.Element;
89
90
  export {};
@@ -58,6 +58,7 @@ type Props = {
58
58
  * ```
59
59
  *
60
60
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-infiniteplane--docs)
61
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
61
62
  */
62
63
  export declare function InfinitePlane(props: Props): import("react/jsx-runtime").JSX.Element;
63
64
  export {};
@@ -90,6 +90,7 @@ type Props = Partial<{
90
90
  * A basic text input which allow users to enter text into a UI.
91
91
  *
92
92
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-input--docs)
93
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
93
94
  */
94
95
  export declare function Input(props: Props): import("react/jsx-runtime").JSX.Element;
95
96
  export {};
@@ -59,6 +59,7 @@ type Props = {
59
59
  * Single click opens an input box to manually type in a number.
60
60
  *
61
61
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-knob--docs)
62
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
62
63
  */
63
64
  export declare function Knob(props: Props): import("react/jsx-runtime").JSX.Element;
64
65
  export {};
@@ -18,6 +18,7 @@ import { type FlexProps } from './Flex';
18
18
  * ```
19
19
  *
20
20
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-labeledcontrols--docs)
21
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
21
22
  */
22
23
  export declare function LabeledControls(props: FlexProps): import("react/jsx-runtime").JSX.Element;
23
24
  export declare namespace LabeledControls {
@@ -85,6 +85,7 @@ declare function LabeledListDivider(props: LabeledListDividerProps): import("rea
85
85
  * ```
86
86
  *
87
87
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-labeledlist--docs)
88
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
88
89
  */
89
90
  export declare namespace LabeledList {
90
91
  /** Adds some empty space between LabeledList items. */
@@ -16,5 +16,6 @@ export type ModalProps = Partial<{
16
16
  * Must be a direct child of a layout component (e.g. `Window`).
17
17
  *
18
18
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-modal--docs)
19
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
19
20
  */
20
21
  export declare function Modal(props: ModalProps): import("react/jsx-runtime").JSX.Element;
@@ -21,6 +21,7 @@ type ExclusiveProps = None | (Omit<None, 'info'> & {
21
21
  * A notice box which warns you about something very important.
22
22
  *
23
23
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-noticebox--docs)
24
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
24
25
  */
25
26
  export declare function NoticeBox(props: Props): import("react/jsx-runtime").JSX.Element;
26
27
  export {};
@@ -42,6 +42,7 @@ type State = {
42
42
  * to fine tune the value, or single click it to manually type a number.
43
43
  *
44
44
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-numberinput--docs)
45
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
45
46
  */
46
47
  export declare class NumberInput extends Component<Props, State> {
47
48
  inputRef: import("react").RefObject<HTMLInputElement | null>;
@@ -49,6 +49,7 @@ type Props = {
49
49
  * Progress indicators inform users about the status of ongoing processes.
50
50
  *
51
51
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-progressbar--docs)
52
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
52
53
  */
53
54
  export declare function ProgressBar(props: Props): import("react/jsx-runtime").JSX.Element;
54
55
  export {};
@@ -66,6 +66,7 @@ type Props = Partial<{
66
66
  * Has a special event for changes in validation states - `onValidationChange`.
67
67
  *
68
68
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-restrictedinput--docs)
69
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
69
70
  */
70
71
  export declare function RestrictedInput(props: Props): import("react/jsx-runtime").JSX.Element;
71
72
  export {};
@@ -51,6 +51,7 @@ type Props = {
51
51
  * will begin to flash the respective color upon which the needle currently rests, as defined in the `ranges` prop.
52
52
  *
53
53
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-roundgauge--docs)
54
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
54
55
  */
55
56
  export declare function RoundGauge(props: Props): import("react/jsx-runtime").JSX.Element;
56
57
  export {};
@@ -59,6 +59,7 @@ type Props = Partial<{
59
59
  * ```
60
60
  *
61
61
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-section--docs)
62
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
62
63
  */
63
64
  export declare function Section(props: Props): import("react/jsx-runtime").JSX.Element;
64
65
  export {};
@@ -55,6 +55,7 @@ type Props = {
55
55
  * Single click opens an input box to manually type in a number.
56
56
  *
57
57
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-slider--docs)
58
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
58
59
  */
59
60
  export declare function Slider(props: Props): import("react/jsx-runtime").JSX.Element;
60
61
  export {};
@@ -65,6 +65,7 @@ type Props = Partial<{
65
65
  * ```
66
66
  *
67
67
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-stack--docs)
68
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
68
69
  */
69
70
  export declare function Stack(props: Props): import("react/jsx-runtime").JSX.Element;
70
71
  export declare namespace Stack {
@@ -42,6 +42,7 @@ declare function TableCell(props: CellProps): import("react/jsx-runtime").JSX.El
42
42
  * ```
43
43
  *
44
44
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-table--docs)
45
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
45
46
  */
46
47
  export declare namespace Table {
47
48
  /**
@@ -92,6 +92,7 @@ declare function TabItem(props: TabProps): import("react/jsx-runtime").JSX.Eleme
92
92
  * ```
93
93
  *
94
94
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-tabs--docs)
95
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
95
96
  */
96
97
  export declare namespace Tabs {
97
98
  /**
@@ -19,6 +19,7 @@ type Props = Partial<{
19
19
  * than one row.
20
20
  *
21
21
  * - [View documentation on tgui core](https://tgstation.github.io/tgui-core/?path=/docs/components-textarea--docs)
22
+ * - [View inherited Box props](https://tgstation.github.io/tgui-core/?path=/docs/components-box--docs)
22
23
  */
23
24
  export declare function TextArea(props: Props): import("react/jsx-runtime").JSX.Element;
24
25
  export {};
package/package.json CHANGED
@@ -1,25 +1,25 @@
1
1
  {
2
2
  "author": "jlsnow301",
3
3
  "dependencies": {
4
- "@floating-ui/react": "^0.27.12",
4
+ "@floating-ui/react": "^0.27.13",
5
5
  "@nozbe/microfuzz": "^1.0.0"
6
6
  },
7
7
  "description": "TGUI core component library",
8
8
  "devDependencies": {
9
- "@biomejs/biome": "^2.0.0",
10
- "@rsbuild/core": "^1.3.22",
9
+ "@biomejs/biome": "^2.0.6",
10
+ "@rsbuild/core": "^1.4.3",
11
11
  "@rsbuild/plugin-react": "^1.3.2",
12
12
  "@rsbuild/plugin-sass": "^1.3.2",
13
- "@rslib/core": "^0.10.0",
14
- "@storybook/addon-docs": "^9.0.11",
15
- "@types/bun": "^1.2.16",
13
+ "@rslib/core": "^0.10.4",
14
+ "@storybook/addon-docs": "^9.0.15",
15
+ "@types/bun": "^1.2.17",
16
16
  "@types/react": "^19.1.8",
17
17
  "@types/react-dom": "^19.1.6",
18
- "prettier": "^3.5.3",
18
+ "prettier": "^3.6.2",
19
19
  "sass": "^1.89.2",
20
- "storybook": "^9.0.11",
20
+ "storybook": "^9.0.15",
21
21
  "storybook-addon-sass-postcss": "^0.3.2",
22
- "storybook-react-rsbuild": "^2.0.1",
22
+ "storybook-react-rsbuild": "^2.0.2",
23
23
  "typescript": "^5.8.3"
24
24
  },
25
25
  "exports": {
@@ -51,7 +51,7 @@
51
51
  ],
52
52
  "license": "MIT",
53
53
  "name": "tgui-core",
54
- "packageManager": "bun@1.2.16",
54
+ "packageManager": "bun@1.2.17",
55
55
  "peerDependencies": {
56
56
  "react": "^19.1.0",
57
57
  "react-dom": "^19.1.0"
@@ -69,5 +69,5 @@
69
69
  "test": "bun test"
70
70
  },
71
71
  "type": "module",
72
- "version": "4.3.2"
72
+ "version": "4.3.3"
73
73
  }