@vhyxui/react 0.1.0-alpha.1
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/dist/Alert-BJ1O0bnK.cjs +1 -0
- package/dist/Alert-am3ANPTH.js +99 -0
- package/dist/Badge-Fuc7l-1E.js +38 -0
- package/dist/Badge-RM7n86Rq.cjs +1 -0
- package/dist/Breadcrumb-Db7ASomJ.js +90 -0
- package/dist/Breadcrumb-StitgXXx.cjs +1 -0
- package/dist/Button-B32xz0b5.js +58 -0
- package/dist/Button-CfYG4zkG.cjs +1 -0
- package/dist/Card-D7ZNeWtE.js +75 -0
- package/dist/Card-d5xrWgQS.cjs +1 -0
- package/dist/Checkbox-DWl91ci_.js +92 -0
- package/dist/Checkbox-DvkT6QP9.cjs +1 -0
- package/dist/Dialog-CtYu14zl.js +245 -0
- package/dist/Dialog-gPT4noD8.cjs +1 -0
- package/dist/Drawer-BFJxsPG1.js +246 -0
- package/dist/Drawer-BygSIQQn.cjs +1 -0
- package/dist/Field-Bv07PL2M.js +120 -0
- package/dist/Field-D6FSsUGj.cjs +1 -0
- package/dist/Input-Dqt5q33I.js +151 -0
- package/dist/Input-OFmZxiHe.cjs +1 -0
- package/dist/Pagination-C1h7OTgM.js +128 -0
- package/dist/Pagination-CmmcBPNz.cjs +1 -0
- package/dist/Popover-BPFkS4xn.cjs +1 -0
- package/dist/Popover-MxUovsIt.js +194 -0
- package/dist/Progress-DWLr6Bq2.js +75 -0
- package/dist/Progress-FO-4WX0i.cjs +1 -0
- package/dist/RadioItem-BfkTHBxQ.cjs +1 -0
- package/dist/RadioItem-CzHSS_qK.js +141 -0
- package/dist/Select-C9yB2B8M.cjs +1 -0
- package/dist/Select-DjeJOdb7.js +327 -0
- package/dist/Separator-C5lPGzes.cjs +1 -0
- package/dist/Separator-DQT58t90.js +52 -0
- package/dist/Spinner-Cd5tcOLS.js +61 -0
- package/dist/Spinner-DSHhLV-r.cjs +1 -0
- package/dist/Switch-BU_Tcttb.cjs +1 -0
- package/dist/Switch-DOAZfSV0.js +64 -0
- package/dist/Tabs-BTfm4LbV.js +220 -0
- package/dist/Tabs-DuU02-UD.cjs +1 -0
- package/dist/Textarea-CLrctxHU.js +104 -0
- package/dist/Textarea-H6evM8L4.cjs +1 -0
- package/dist/Toast-0acAjZTB.js +167 -0
- package/dist/Toast-ndaxbpcV.cjs +1 -0
- package/dist/Tooltip-BAmErB_g.js +107 -0
- package/dist/Tooltip-CCd6VRvZ.cjs +1 -0
- package/dist/VhyxUIProvider-C9NxI-tU.cjs +1 -0
- package/dist/VhyxUIProvider-D1vNoiIk.js +34 -0
- package/dist/alert.cjs +1 -0
- package/dist/alert.d.ts +25 -0
- package/dist/alert.js +4 -0
- package/dist/badge.cjs +1 -0
- package/dist/badge.d.ts +31 -0
- package/dist/badge.js +4 -0
- package/dist/breadcrumb.cjs +1 -0
- package/dist/breadcrumb.d.ts +81 -0
- package/dist/breadcrumb.js +4 -0
- package/dist/button.cjs +1 -0
- package/dist/button.d.ts +36 -0
- package/dist/button.js +4 -0
- package/dist/card.cjs +1 -0
- package/dist/card.d.ts +72 -0
- package/dist/card.js +4 -0
- package/dist/checkbox.cjs +1 -0
- package/dist/checkbox.d.ts +33 -0
- package/dist/checkbox.js +4 -0
- package/dist/dialog.cjs +1 -0
- package/dist/dialog.d.ts +112 -0
- package/dist/dialog.js +4 -0
- package/dist/drawer.cjs +1 -0
- package/dist/drawer.d.ts +110 -0
- package/dist/drawer.js +4 -0
- package/dist/form.cjs +1 -0
- package/dist/form.d.ts +116 -0
- package/dist/form.js +6 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +1184 -0
- package/dist/index.js +83 -0
- package/dist/input.cjs +1 -0
- package/dist/input.d.ts +31 -0
- package/dist/input.js +4 -0
- package/dist/jsx-runtime-BRMkMA8J.cjs +22 -0
- package/dist/jsx-runtime-CL69jGNW.js +279 -0
- package/dist/pagination.cjs +1 -0
- package/dist/pagination.d.ts +32 -0
- package/dist/pagination.js +4 -0
- package/dist/popover.cjs +1 -0
- package/dist/popover.d.ts +72 -0
- package/dist/popover.js +4 -0
- package/dist/progress.cjs +1 -0
- package/dist/progress.d.ts +35 -0
- package/dist/progress.js +4 -0
- package/dist/radio.cjs +1 -0
- package/dist/radio.d.ts +47 -0
- package/dist/radio.js +5 -0
- package/dist/select.cjs +1 -0
- package/dist/select.d.ts +97 -0
- package/dist/select.js +4 -0
- package/dist/separator.cjs +1 -0
- package/dist/separator.d.ts +21 -0
- package/dist/separator.js +4 -0
- package/dist/spinner.cjs +1 -0
- package/dist/spinner.d.ts +24 -0
- package/dist/spinner.js +4 -0
- package/dist/style.css +1 -0
- package/dist/switch.cjs +1 -0
- package/dist/switch.d.ts +28 -0
- package/dist/switch.js +4 -0
- package/dist/tabs.cjs +1 -0
- package/dist/tabs.d.ts +59 -0
- package/dist/tabs.js +4 -0
- package/dist/test-utils.cjs +1 -0
- package/dist/test-utils.d.ts +5 -0
- package/dist/test-utils.js +12 -0
- package/dist/textarea.cjs +1 -0
- package/dist/textarea.d.ts +34 -0
- package/dist/textarea.js +4 -0
- package/dist/toast.cjs +1 -0
- package/dist/toast.d.ts +28 -0
- package/dist/toast.js +5 -0
- package/dist/tooltip.cjs +1 -0
- package/dist/tooltip.d.ts +32 -0
- package/dist/tooltip.js +4 -0
- package/dist/useId-BGRmH6iF.js +8 -0
- package/dist/useId-D2AEOm2G.cjs +1 -0
- package/package.json +170 -0
- package/style.css +1 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { V as l } from "./VhyxUIProvider-D1vNoiIk.js";
|
|
2
|
+
import { B as T } from "./Button-B32xz0b5.js";
|
|
3
|
+
import { I as P } from "./Input-Dqt5q33I.js";
|
|
4
|
+
import { T as b } from "./Textarea-CLrctxHU.js";
|
|
5
|
+
import { S as B } from "./Select-DjeJOdb7.js";
|
|
6
|
+
import { C as F } from "./Checkbox-DWl91ci_.js";
|
|
7
|
+
import { R as A, a as C } from "./RadioItem-CzHSS_qK.js";
|
|
8
|
+
import { S as R } from "./Switch-DOAZfSV0.js";
|
|
9
|
+
import { F as y, a as U, u as V } from "./Field-Bv07PL2M.js";
|
|
10
|
+
import { b as s, c as i, d as m } from "./Toast-0acAjZTB.js";
|
|
11
|
+
import { T as E, a as G } from "./Toast-0acAjZTB.js";
|
|
12
|
+
import { A as N } from "./Alert-am3ANPTH.js";
|
|
13
|
+
import { B as _ } from "./Badge-Fuc7l-1E.js";
|
|
14
|
+
import { P as q } from "./Progress-DWLr6Bq2.js";
|
|
15
|
+
import { S as H } from "./Spinner-Cd5tcOLS.js";
|
|
16
|
+
import { D as K } from "./Dialog-CtYu14zl.js";
|
|
17
|
+
import { D as Q } from "./Drawer-BFJxsPG1.js";
|
|
18
|
+
import { T as X } from "./Tooltip-BAmErB_g.js";
|
|
19
|
+
import { P as Z } from "./Popover-MxUovsIt.js";
|
|
20
|
+
import { C as rr } from "./Card-D7ZNeWtE.js";
|
|
21
|
+
import { S as er } from "./Separator-DQT58t90.js";
|
|
22
|
+
import { T as sr } from "./Tabs-BTfm4LbV.js";
|
|
23
|
+
import { B as fr } from "./Breadcrumb-Db7ASomJ.js";
|
|
24
|
+
import { P as mr } from "./Pagination-C1h7OTgM.js";
|
|
25
|
+
const d = 5e3;
|
|
26
|
+
function t(e, a, r) {
|
|
27
|
+
const f = {
|
|
28
|
+
message: e,
|
|
29
|
+
variant: a,
|
|
30
|
+
duration: (r == null ? void 0 : r.duration) ?? d,
|
|
31
|
+
dismissible: (r == null ? void 0 : r.dismissible) ?? !0
|
|
32
|
+
};
|
|
33
|
+
return (r == null ? void 0 : r.description) !== void 0 && (f.description = r.description), (r == null ? void 0 : r.action) !== void 0 && (f.action = r.action), f;
|
|
34
|
+
}
|
|
35
|
+
function o(e, a) {
|
|
36
|
+
return s(t(e, "default", a));
|
|
37
|
+
}
|
|
38
|
+
o.success = function(a, r) {
|
|
39
|
+
return s(t(a, "success", r));
|
|
40
|
+
};
|
|
41
|
+
o.danger = function(a, r) {
|
|
42
|
+
return s(t(a, "danger", r));
|
|
43
|
+
};
|
|
44
|
+
o.warning = function(a, r) {
|
|
45
|
+
return s(t(a, "warning", r));
|
|
46
|
+
};
|
|
47
|
+
o.info = function(a, r) {
|
|
48
|
+
return s(t(a, "info", r));
|
|
49
|
+
};
|
|
50
|
+
o.dismiss = function(a) {
|
|
51
|
+
a !== void 0 ? i(a) : m();
|
|
52
|
+
};
|
|
53
|
+
const x = o;
|
|
54
|
+
export {
|
|
55
|
+
N as Alert,
|
|
56
|
+
_ as Badge,
|
|
57
|
+
fr as Breadcrumb,
|
|
58
|
+
T as Button,
|
|
59
|
+
rr as Card,
|
|
60
|
+
F as Checkbox,
|
|
61
|
+
K as Dialog,
|
|
62
|
+
Q as Drawer,
|
|
63
|
+
y as Field,
|
|
64
|
+
U as Form,
|
|
65
|
+
P as Input,
|
|
66
|
+
mr as Pagination,
|
|
67
|
+
Z as Popover,
|
|
68
|
+
q as Progress,
|
|
69
|
+
A as RadioGroup,
|
|
70
|
+
C as RadioItem,
|
|
71
|
+
B as Select,
|
|
72
|
+
er as Separator,
|
|
73
|
+
H as Spinner,
|
|
74
|
+
R as Switch,
|
|
75
|
+
sr as Tabs,
|
|
76
|
+
b as Textarea,
|
|
77
|
+
E as Toast,
|
|
78
|
+
G as ToastProvider,
|
|
79
|
+
X as Tooltip,
|
|
80
|
+
l as VhyxUIProvider,
|
|
81
|
+
x as toast,
|
|
82
|
+
V as useFormContext
|
|
83
|
+
};
|
package/dist/input.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Input-OFmZxiHe.cjs");exports.Input=t.Input;
|
package/dist/input.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ComponentContract } from '@vhyxui/core';
|
|
2
|
+
import { default as default_2 } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const Input: default_2.ForwardRefExoticComponent<default_2.PropsWithoutRef<InputProps> & default_2.RefAttributes<HTMLInputElement>>;
|
|
5
|
+
|
|
6
|
+
/** Props for the Input component. */
|
|
7
|
+
export declare interface InputProps extends Omit<default_2.InputHTMLAttributes<HTMLInputElement>, 'size' | 'prefix'> {
|
|
8
|
+
/** Size of the input, maps to --vhyx-size-* height tokens. @default 'md' */
|
|
9
|
+
size?: InputSize;
|
|
10
|
+
/** Optional icon element rendered inside the input. */
|
|
11
|
+
icon?: default_2.ReactNode;
|
|
12
|
+
/** Side the icon appears on. @default 'left' */
|
|
13
|
+
iconPosition?: 'left' | 'right';
|
|
14
|
+
/** Content rendered after the input (inside the wrapper, to the right). */
|
|
15
|
+
suffix?: default_2.ReactNode;
|
|
16
|
+
/** Content rendered before the input (inside the wrapper, to the left). */
|
|
17
|
+
prefix?: default_2.ReactNode;
|
|
18
|
+
/** When true, always shows a clear button regardless of type. */
|
|
19
|
+
clearable?: boolean;
|
|
20
|
+
/** Called when the clear button is clicked. */
|
|
21
|
+
onClear?: () => void;
|
|
22
|
+
/** When true, applies the error visual state and sets aria-invalid. */
|
|
23
|
+
error?: boolean;
|
|
24
|
+
/** VhyxSeal contract override — merged with the default input contract. */
|
|
25
|
+
contract?: Partial<ComponentContract>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/** Size tokens available on the Input component. */
|
|
29
|
+
export declare type InputSize = 'sm' | 'md' | 'lg';
|
|
30
|
+
|
|
31
|
+
export { }
|
package/dist/input.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";const Q=require("react");var S={exports:{}},m={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var $;function K(){if($)return m;$=1;var l=Symbol.for("react.transitional.element"),_=Symbol.for("react.fragment");function c(i,o,s){var f=null;if(s!==void 0&&(f=""+s),o.key!==void 0&&(f=""+o.key),"key"in o){s={};for(var d in o)d!=="key"&&(s[d]=o[d])}else s=o;return o=s.ref,{$$typeof:l,type:i,key:f,ref:o!==void 0?o:null,props:s}}return m.Fragment=_,m.jsx=c,m.jsxs=c,m}var E={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var I;function ee(){return I||(I=1,process.env.NODE_ENV!=="production"&&function(){function l(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===B?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case v:return"Fragment";case W:return"Profiler";case M:return"StrictMode";case q:return"Suspense";case G:return"SuspenseList";case X:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case L:return"Portal";case V:return e.displayName||"Context";case U:return(e._context.displayName||"Context")+".Consumer";case z:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case J:return r=e.displayName||null,r!==null?r:l(e.type)||"Memo";case p:r=e._payload,e=e._init;try{return l(e(r))}catch{}}return null}function _(e){return""+e}function c(e){try{_(e);var r=!1}catch{r=!0}if(r){r=console;var t=r.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),_(e)}}function i(e){if(e===v)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===p)return"<...>";try{var r=l(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function o(){var e=T.A;return e===null?null:e.getOwner()}function s(){return Error("react-stack-top-frame")}function f(e){if(g.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function d(e,r){function t(){x||(x=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function F(){var e=l(this.type);return h[e]||(h[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function D(e,r,t,n,b,O){var a=t.ref;return e={$$typeof:j,type:e,key:r,props:t,_owner:n},(a!==void 0?a:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:F}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:b}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:O}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function P(e,r,t,n,b,O){var a=r.children;if(a!==void 0)if(n)if(H(a)){for(n=0;n<a.length;n++)w(a[n]);Object.freeze&&Object.freeze(a)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else w(a);if(g.call(r,"key")){a=l(e);var u=Object.keys(r).filter(function(Z){return Z!=="key"});n=0<u.length?"{key: someKey, "+u.join(": ..., ")+": ...}":"{key: someKey}",Y[a+n]||(u=0<u.length?"{"+u.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
|
+
let props = %s;
|
|
19
|
+
<%s {...props} />
|
|
20
|
+
React keys must be passed directly to JSX without using spread:
|
|
21
|
+
let props = %s;
|
|
22
|
+
<%s key={someKey} {...props} />`,n,a,u,a),Y[a+n]=!0)}if(a=null,t!==void 0&&(c(t),a=""+t),f(r)&&(c(r.key),a=""+r.key),"key"in r){t={};for(var A in r)A!=="key"&&(t[A]=r[A])}else t=r;return a&&d(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),D(e,a,t,o(),b,O)}function w(e){y(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===p&&(e._payload.status==="fulfilled"?y(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function y(e){return typeof e=="object"&&e!==null&&e.$$typeof===j}var R=Q,j=Symbol.for("react.transitional.element"),L=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),V=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),J=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),X=Symbol.for("react.activity"),B=Symbol.for("react.client.reference"),T=R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,g=Object.prototype.hasOwnProperty,H=Array.isArray,k=console.createTask?console.createTask:function(){return null};R={react_stack_bottom_frame:function(e){return e()}};var x,h={},N=R.react_stack_bottom_frame.bind(R,s)(),C=k(i(s)),Y={};E.Fragment=v,E.jsx=function(e,r,t){var n=1e4>T.recentlyCreatedOwnerStacks++;return P(e,r,t,!1,n?Error("react-stack-top-frame"):N,n?k(i(e)):C)},E.jsxs=function(e,r,t){var n=1e4>T.recentlyCreatedOwnerStacks++;return P(e,r,t,!0,n?Error("react-stack-top-frame"):N,n?k(i(e)):C)}}()),E}process.env.NODE_ENV==="production"?S.exports=K():S.exports=ee();var re=S.exports;exports.jsxRuntimeExports=re;
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import Q from "react";
|
|
2
|
+
var S = { exports: {} }, m = {};
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* react-jsx-runtime.production.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var $;
|
|
13
|
+
function K() {
|
|
14
|
+
if ($) return m;
|
|
15
|
+
$ = 1;
|
|
16
|
+
var l = Symbol.for("react.transitional.element"), E = Symbol.for("react.fragment");
|
|
17
|
+
function c(i, o, s) {
|
|
18
|
+
var f = null;
|
|
19
|
+
if (s !== void 0 && (f = "" + s), o.key !== void 0 && (f = "" + o.key), "key" in o) {
|
|
20
|
+
s = {};
|
|
21
|
+
for (var d in o)
|
|
22
|
+
d !== "key" && (s[d] = o[d]);
|
|
23
|
+
} else s = o;
|
|
24
|
+
return o = s.ref, {
|
|
25
|
+
$$typeof: l,
|
|
26
|
+
type: i,
|
|
27
|
+
key: f,
|
|
28
|
+
ref: o !== void 0 ? o : null,
|
|
29
|
+
props: s
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
return m.Fragment = E, m.jsx = c, m.jsxs = c, m;
|
|
33
|
+
}
|
|
34
|
+
var _ = {};
|
|
35
|
+
/**
|
|
36
|
+
* @license React
|
|
37
|
+
* react-jsx-runtime.development.js
|
|
38
|
+
*
|
|
39
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
40
|
+
*
|
|
41
|
+
* This source code is licensed under the MIT license found in the
|
|
42
|
+
* LICENSE file in the root directory of this source tree.
|
|
43
|
+
*/
|
|
44
|
+
var I;
|
|
45
|
+
function ee() {
|
|
46
|
+
return I || (I = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
+
function l(e) {
|
|
48
|
+
if (e == null) return null;
|
|
49
|
+
if (typeof e == "function")
|
|
50
|
+
return e.$$typeof === B ? null : e.displayName || e.name || null;
|
|
51
|
+
if (typeof e == "string") return e;
|
|
52
|
+
switch (e) {
|
|
53
|
+
case v:
|
|
54
|
+
return "Fragment";
|
|
55
|
+
case W:
|
|
56
|
+
return "Profiler";
|
|
57
|
+
case M:
|
|
58
|
+
return "StrictMode";
|
|
59
|
+
case G:
|
|
60
|
+
return "Suspense";
|
|
61
|
+
case J:
|
|
62
|
+
return "SuspenseList";
|
|
63
|
+
case X:
|
|
64
|
+
return "Activity";
|
|
65
|
+
}
|
|
66
|
+
if (typeof e == "object")
|
|
67
|
+
switch (typeof e.tag == "number" && console.error(
|
|
68
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
69
|
+
), e.$$typeof) {
|
|
70
|
+
case L:
|
|
71
|
+
return "Portal";
|
|
72
|
+
case V:
|
|
73
|
+
return e.displayName || "Context";
|
|
74
|
+
case U:
|
|
75
|
+
return (e._context.displayName || "Context") + ".Consumer";
|
|
76
|
+
case z:
|
|
77
|
+
var r = e.render;
|
|
78
|
+
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
79
|
+
case q:
|
|
80
|
+
return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
|
|
81
|
+
case p:
|
|
82
|
+
r = e._payload, e = e._init;
|
|
83
|
+
try {
|
|
84
|
+
return l(e(r));
|
|
85
|
+
} catch {
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return null;
|
|
89
|
+
}
|
|
90
|
+
function E(e) {
|
|
91
|
+
return "" + e;
|
|
92
|
+
}
|
|
93
|
+
function c(e) {
|
|
94
|
+
try {
|
|
95
|
+
E(e);
|
|
96
|
+
var r = !1;
|
|
97
|
+
} catch {
|
|
98
|
+
r = !0;
|
|
99
|
+
}
|
|
100
|
+
if (r) {
|
|
101
|
+
r = console;
|
|
102
|
+
var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
103
|
+
return t.call(
|
|
104
|
+
r,
|
|
105
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
106
|
+
n
|
|
107
|
+
), E(e);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
function i(e) {
|
|
111
|
+
if (e === v) return "<>";
|
|
112
|
+
if (typeof e == "object" && e !== null && e.$$typeof === p)
|
|
113
|
+
return "<...>";
|
|
114
|
+
try {
|
|
115
|
+
var r = l(e);
|
|
116
|
+
return r ? "<" + r + ">" : "<...>";
|
|
117
|
+
} catch {
|
|
118
|
+
return "<...>";
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
function o() {
|
|
122
|
+
var e = T.A;
|
|
123
|
+
return e === null ? null : e.getOwner();
|
|
124
|
+
}
|
|
125
|
+
function s() {
|
|
126
|
+
return Error("react-stack-top-frame");
|
|
127
|
+
}
|
|
128
|
+
function f(e) {
|
|
129
|
+
if (g.call(e, "key")) {
|
|
130
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
131
|
+
if (r && r.isReactWarning) return !1;
|
|
132
|
+
}
|
|
133
|
+
return e.key !== void 0;
|
|
134
|
+
}
|
|
135
|
+
function d(e, r) {
|
|
136
|
+
function t() {
|
|
137
|
+
x || (x = !0, console.error(
|
|
138
|
+
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
139
|
+
r
|
|
140
|
+
));
|
|
141
|
+
}
|
|
142
|
+
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
143
|
+
get: t,
|
|
144
|
+
configurable: !0
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
function F() {
|
|
148
|
+
var e = l(this.type);
|
|
149
|
+
return h[e] || (h[e] = !0, console.error(
|
|
150
|
+
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
151
|
+
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
152
|
+
}
|
|
153
|
+
function D(e, r, t, n, b, O) {
|
|
154
|
+
var a = t.ref;
|
|
155
|
+
return e = {
|
|
156
|
+
$$typeof: j,
|
|
157
|
+
type: e,
|
|
158
|
+
key: r,
|
|
159
|
+
props: t,
|
|
160
|
+
_owner: n
|
|
161
|
+
}, (a !== void 0 ? a : null) !== null ? Object.defineProperty(e, "ref", {
|
|
162
|
+
enumerable: !1,
|
|
163
|
+
get: F
|
|
164
|
+
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
165
|
+
configurable: !1,
|
|
166
|
+
enumerable: !1,
|
|
167
|
+
writable: !0,
|
|
168
|
+
value: 0
|
|
169
|
+
}), Object.defineProperty(e, "_debugInfo", {
|
|
170
|
+
configurable: !1,
|
|
171
|
+
enumerable: !1,
|
|
172
|
+
writable: !0,
|
|
173
|
+
value: null
|
|
174
|
+
}), Object.defineProperty(e, "_debugStack", {
|
|
175
|
+
configurable: !1,
|
|
176
|
+
enumerable: !1,
|
|
177
|
+
writable: !0,
|
|
178
|
+
value: b
|
|
179
|
+
}), Object.defineProperty(e, "_debugTask", {
|
|
180
|
+
configurable: !1,
|
|
181
|
+
enumerable: !1,
|
|
182
|
+
writable: !0,
|
|
183
|
+
value: O
|
|
184
|
+
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
185
|
+
}
|
|
186
|
+
function P(e, r, t, n, b, O) {
|
|
187
|
+
var a = r.children;
|
|
188
|
+
if (a !== void 0)
|
|
189
|
+
if (n)
|
|
190
|
+
if (H(a)) {
|
|
191
|
+
for (n = 0; n < a.length; n++)
|
|
192
|
+
w(a[n]);
|
|
193
|
+
Object.freeze && Object.freeze(a);
|
|
194
|
+
} else
|
|
195
|
+
console.error(
|
|
196
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
197
|
+
);
|
|
198
|
+
else w(a);
|
|
199
|
+
if (g.call(r, "key")) {
|
|
200
|
+
a = l(e);
|
|
201
|
+
var u = Object.keys(r).filter(function(Z) {
|
|
202
|
+
return Z !== "key";
|
|
203
|
+
});
|
|
204
|
+
n = 0 < u.length ? "{key: someKey, " + u.join(": ..., ") + ": ...}" : "{key: someKey}", Y[a + n] || (u = 0 < u.length ? "{" + u.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
205
|
+
`A props object containing a "key" prop is being spread into JSX:
|
|
206
|
+
let props = %s;
|
|
207
|
+
<%s {...props} />
|
|
208
|
+
React keys must be passed directly to JSX without using spread:
|
|
209
|
+
let props = %s;
|
|
210
|
+
<%s key={someKey} {...props} />`,
|
|
211
|
+
n,
|
|
212
|
+
a,
|
|
213
|
+
u,
|
|
214
|
+
a
|
|
215
|
+
), Y[a + n] = !0);
|
|
216
|
+
}
|
|
217
|
+
if (a = null, t !== void 0 && (c(t), a = "" + t), f(r) && (c(r.key), a = "" + r.key), "key" in r) {
|
|
218
|
+
t = {};
|
|
219
|
+
for (var A in r)
|
|
220
|
+
A !== "key" && (t[A] = r[A]);
|
|
221
|
+
} else t = r;
|
|
222
|
+
return a && d(
|
|
223
|
+
t,
|
|
224
|
+
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
225
|
+
), D(
|
|
226
|
+
e,
|
|
227
|
+
a,
|
|
228
|
+
t,
|
|
229
|
+
o(),
|
|
230
|
+
b,
|
|
231
|
+
O
|
|
232
|
+
);
|
|
233
|
+
}
|
|
234
|
+
function w(e) {
|
|
235
|
+
y(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === p && (e._payload.status === "fulfilled" ? y(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
236
|
+
}
|
|
237
|
+
function y(e) {
|
|
238
|
+
return typeof e == "object" && e !== null && e.$$typeof === j;
|
|
239
|
+
}
|
|
240
|
+
var R = Q, j = Symbol.for("react.transitional.element"), L = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), M = Symbol.for("react.strict_mode"), W = Symbol.for("react.profiler"), U = Symbol.for("react.consumer"), V = Symbol.for("react.context"), z = Symbol.for("react.forward_ref"), G = Symbol.for("react.suspense"), J = Symbol.for("react.suspense_list"), q = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), X = Symbol.for("react.activity"), B = Symbol.for("react.client.reference"), T = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, g = Object.prototype.hasOwnProperty, H = Array.isArray, k = console.createTask ? console.createTask : function() {
|
|
241
|
+
return null;
|
|
242
|
+
};
|
|
243
|
+
R = {
|
|
244
|
+
react_stack_bottom_frame: function(e) {
|
|
245
|
+
return e();
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
var x, h = {}, N = R.react_stack_bottom_frame.bind(
|
|
249
|
+
R,
|
|
250
|
+
s
|
|
251
|
+
)(), C = k(i(s)), Y = {};
|
|
252
|
+
_.Fragment = v, _.jsx = function(e, r, t) {
|
|
253
|
+
var n = 1e4 > T.recentlyCreatedOwnerStacks++;
|
|
254
|
+
return P(
|
|
255
|
+
e,
|
|
256
|
+
r,
|
|
257
|
+
t,
|
|
258
|
+
!1,
|
|
259
|
+
n ? Error("react-stack-top-frame") : N,
|
|
260
|
+
n ? k(i(e)) : C
|
|
261
|
+
);
|
|
262
|
+
}, _.jsxs = function(e, r, t) {
|
|
263
|
+
var n = 1e4 > T.recentlyCreatedOwnerStacks++;
|
|
264
|
+
return P(
|
|
265
|
+
e,
|
|
266
|
+
r,
|
|
267
|
+
t,
|
|
268
|
+
!0,
|
|
269
|
+
n ? Error("react-stack-top-frame") : N,
|
|
270
|
+
n ? k(i(e)) : C
|
|
271
|
+
);
|
|
272
|
+
};
|
|
273
|
+
}()), _;
|
|
274
|
+
}
|
|
275
|
+
process.env.NODE_ENV === "production" ? S.exports = K() : S.exports = ee();
|
|
276
|
+
var te = S.exports;
|
|
277
|
+
export {
|
|
278
|
+
te as j
|
|
279
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./Pagination-CmmcBPNz.cjs");exports.Pagination=i.Pagination;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ComponentContract } from '@vhyxui/core';
|
|
2
|
+
import { default as default_2 } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const Pagination: default_2.ForwardRefExoticComponent<default_2.PropsWithoutRef<PaginationProps> & default_2.RefAttributes<HTMLElement>>;
|
|
5
|
+
|
|
6
|
+
/** Props for the Pagination component. */
|
|
7
|
+
export declare interface PaginationProps extends default_2.HTMLAttributes<HTMLElement> {
|
|
8
|
+
/** Current page (1-indexed). */
|
|
9
|
+
page: number;
|
|
10
|
+
/** Total number of pages. */
|
|
11
|
+
pageCount: number;
|
|
12
|
+
/** Called when the user activates a page button. */
|
|
13
|
+
onPageChange: (page: number) => void;
|
|
14
|
+
/**
|
|
15
|
+
* Number of sibling pages shown on each side of the current page.
|
|
16
|
+
* @default 1
|
|
17
|
+
*/
|
|
18
|
+
siblingCount?: number;
|
|
19
|
+
/** When true, renders First and Last buttons. @default false */
|
|
20
|
+
showFirstLast?: boolean;
|
|
21
|
+
/** When true, renders Previous and Next buttons. @default true */
|
|
22
|
+
showPrevNext?: boolean;
|
|
23
|
+
/** Size of the pagination buttons. @default 'md' */
|
|
24
|
+
size?: PaginationSize;
|
|
25
|
+
/** VhyxSeal contract override. */
|
|
26
|
+
contract?: Partial<ComponentContract>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/** Size tokens for Pagination. */
|
|
30
|
+
export declare type PaginationSize = 'sm' | 'md' | 'lg';
|
|
31
|
+
|
|
32
|
+
export { }
|
package/dist/popover.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Popover-BPFkS4xn.cjs");exports.Popover=e.Popover;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { ComponentContract } from '@vhyxui/core';
|
|
2
|
+
import { default as default_2 } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const Popover: default_2.ComponentType<PopoverProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
5
|
+
Trigger: default_2.ForwardRefExoticComponent<PopoverTriggerProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
Content: typeof PopoverContent;
|
|
7
|
+
Arrow: typeof PopoverArrow;
|
|
8
|
+
Close: default_2.ForwardRefExoticComponent<PopoverCloseProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export declare type PopoverAlign = 'start' | 'center' | 'end';
|
|
12
|
+
|
|
13
|
+
/** Optional decorative arrow pointing toward the trigger. */
|
|
14
|
+
declare function PopoverArrow({ className, ...rest }: PopoverArrowProps): default_2.ReactElement;
|
|
15
|
+
|
|
16
|
+
declare namespace PopoverArrow {
|
|
17
|
+
var displayName: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export declare interface PopoverArrowProps extends default_2.SVGAttributes<SVGSVGElement> {
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export declare interface PopoverCloseProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
24
|
+
children?: default_2.ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* When true, renders as the child element via Slot instead of <button>.
|
|
27
|
+
* Use to avoid nested interactive elements when composing with Button.
|
|
28
|
+
*/
|
|
29
|
+
asChild?: boolean;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* The floating panel. Rendered in a portal.
|
|
34
|
+
* Non-modal (aria-modal="false") — focus is NOT trapped.
|
|
35
|
+
*/
|
|
36
|
+
declare function PopoverContent({ children, className, side, align, ...rest }: PopoverContentProps): default_2.ReactPortal | null;
|
|
37
|
+
|
|
38
|
+
declare namespace PopoverContent {
|
|
39
|
+
var displayName: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export declare interface PopoverContentProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
43
|
+
/** Side to position the popover relative to its trigger. @default 'bottom' */
|
|
44
|
+
side?: PopoverSide;
|
|
45
|
+
/** Alignment along the cross-axis. @default 'center' */
|
|
46
|
+
align?: PopoverAlign;
|
|
47
|
+
children?: default_2.ReactNode;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/** Root props for the Popover compound component. */
|
|
51
|
+
export declare interface PopoverProps {
|
|
52
|
+
/** Controlled open state. */
|
|
53
|
+
open?: boolean;
|
|
54
|
+
/** Default open state for uncontrolled mode. @default false */
|
|
55
|
+
defaultOpen?: boolean;
|
|
56
|
+
/** Called when the open state changes. */
|
|
57
|
+
onOpenChange?: (open: boolean) => void;
|
|
58
|
+
/** VhyxSeal contract override. */
|
|
59
|
+
contract?: Partial<ComponentContract>;
|
|
60
|
+
/** Popover sub-components as children. */
|
|
61
|
+
children: default_2.ReactNode;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export declare type PopoverSide = 'top' | 'right' | 'bottom' | 'left';
|
|
65
|
+
|
|
66
|
+
export declare interface PopoverTriggerProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
67
|
+
/** When true, renders as the child element via Slot instead of <button>. */
|
|
68
|
+
asChild?: boolean;
|
|
69
|
+
children?: default_2.ReactNode;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export { }
|
package/dist/popover.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Progress-FO-4WX0i.cjs");exports.Progress=e.Progress;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ComponentContract } from '@vhyxui/core';
|
|
2
|
+
import { default as default_2 } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const Progress: default_2.ForwardRefExoticComponent<default_2.PropsWithoutRef<ProgressProps> & default_2.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
|
|
6
|
+
/** Props for the Progress component. */
|
|
7
|
+
export declare interface ProgressProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
8
|
+
/** Current progress value (0 to max). */
|
|
9
|
+
value?: number;
|
|
10
|
+
/** Maximum value. @default 100 */
|
|
11
|
+
max?: number;
|
|
12
|
+
/**
|
|
13
|
+
* When true, shows an indeterminate animation — use when progress is unknown.
|
|
14
|
+
* Omits aria-valuenow when set.
|
|
15
|
+
*/
|
|
16
|
+
indeterminate?: boolean;
|
|
17
|
+
/** Size (height) of the progress bar. @default 'md' */
|
|
18
|
+
size?: ProgressSize;
|
|
19
|
+
/** Color variant of the progress bar fill. @default 'default' */
|
|
20
|
+
variant?: ProgressVariant;
|
|
21
|
+
/** When true, renders a percentage label above the bar. */
|
|
22
|
+
showLabel?: boolean;
|
|
23
|
+
/** Custom label text. Overrides the computed percentage when provided. */
|
|
24
|
+
label?: string;
|
|
25
|
+
/** VhyxSeal contract override. */
|
|
26
|
+
contract?: Partial<ComponentContract>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/** Size tokens available on the Progress component. */
|
|
30
|
+
export declare type ProgressSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
31
|
+
|
|
32
|
+
/** Color variant of the progress bar fill. */
|
|
33
|
+
export declare type ProgressVariant = 'default' | 'success' | 'warning' | 'danger';
|
|
34
|
+
|
|
35
|
+
export { }
|
package/dist/progress.js
ADDED
package/dist/radio.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./RadioItem-BfkTHBxQ.cjs");exports.RadioGroup=e.RadioGroup;exports.RadioItem=e.RadioItem;
|
package/dist/radio.d.ts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ComponentContract } from '@vhyxui/core';
|
|
2
|
+
import { default as default_2 } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const RadioGroup: default_2.ForwardRefExoticComponent<default_2.PropsWithoutRef<RadioGroupProps> & default_2.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
|
|
6
|
+
/** Props for the RadioGroup component. */
|
|
7
|
+
export declare interface RadioGroupProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
8
|
+
/** Controlled selected value. */
|
|
9
|
+
value?: string;
|
|
10
|
+
/** Default selected value for uncontrolled mode. */
|
|
11
|
+
defaultValue?: string;
|
|
12
|
+
/** Called when the selected value changes. */
|
|
13
|
+
onValueChange?: (value: string) => void;
|
|
14
|
+
/** When true, all items in the group are disabled. */
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
/** Layout direction of the radio items. @default 'vertical' */
|
|
17
|
+
orientation?: 'horizontal' | 'vertical';
|
|
18
|
+
/** Size applied to all radio items. @default 'md' */
|
|
19
|
+
size?: RadioGroupSize;
|
|
20
|
+
/** VhyxSeal contract override. */
|
|
21
|
+
contract?: Partial<ComponentContract>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** Size tokens available on the RadioGroup. */
|
|
25
|
+
export declare type RadioGroupSize = 'sm' | 'md' | 'lg';
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* RadioItem — a single option within a RadioGroup.
|
|
29
|
+
*
|
|
30
|
+
* Renders as `<button role="radio">`. Arrow keys navigate between items.
|
|
31
|
+
* Tab exits the group entirely. Only the selected or first item is tabbable.
|
|
32
|
+
*
|
|
33
|
+
* Must be used inside a RadioGroup.
|
|
34
|
+
*/
|
|
35
|
+
export declare const RadioItem: default_2.ForwardRefExoticComponent<RadioItemProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
36
|
+
|
|
37
|
+
/** Props for the RadioItem component. */
|
|
38
|
+
export declare interface RadioItemProps extends Omit<default_2.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> {
|
|
39
|
+
/** The value this item represents in the RadioGroup. */
|
|
40
|
+
value: string;
|
|
41
|
+
/** When true, this item cannot be selected. */
|
|
42
|
+
disabled?: boolean;
|
|
43
|
+
/** Label content rendered alongside the radio indicator. */
|
|
44
|
+
children?: default_2.ReactNode;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export { }
|
package/dist/radio.js
ADDED
package/dist/select.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Select-C9yB2B8M.cjs");exports.Select=e.Select;
|