@sandurtech/sandui 0.0.1 → 0.1.0
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 +84 -37
- package/dist/SandurTech-Logo-PNG.png +0 -0
- package/dist/SandurTech-Logo-SVG.svg +1 -0
- package/dist/index.css +1 -0
- package/dist/index.js +1064 -0
- package/dist/index.umd.cjs +2 -0
- package/dist/robots.txt +125 -0
- package/dist/sitemap.xml +142 -0
- package/package.json +53 -31
- package/dist/index.d.ts +0 -161
- package/dist/sandui.js +0 -875
- package/dist/sandui.umd.js +0 -6
- package/dist/style.css +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(function(I,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("react/jsx-runtime"),require("react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react"],l):(I=typeof globalThis<"u"?globalThis:I||self,l(I.SandUI={},I.jsxRuntime,I.React))})(this,(function(I,l,j){"use strict";const Ce={button:"_button_1vhs7_51",primary:"_primary_1vhs7_81",secondary:"_secondary_1vhs7_92",ghost:"_ghost_1vhs7_103"};function He(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var J={exports:{}},X={exports:{}},O={};var $e;function Ve(){if($e)return O;$e=1;var r=typeof Symbol=="function"&&Symbol.for,u=r?Symbol.for("react.element"):60103,c=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,f=r?Symbol.for("react.strict_mode"):60108,o=r?Symbol.for("react.profiler"):60114,y=r?Symbol.for("react.provider"):60109,d=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,m=r?Symbol.for("react.concurrent_mode"):60111,b=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,$=r?Symbol.for("react.suspense_list"):60120,A=r?Symbol.for("react.memo"):60115,D=r?Symbol.for("react.lazy"):60116,k=r?Symbol.for("react.block"):60121,L=r?Symbol.for("react.fundamental"):60117,Y=r?Symbol.for("react.responder"):60118,G=r?Symbol.for("react.scope"):60119;function M(a){if(typeof a=="object"&&a!==null){var W=a.$$typeof;switch(W){case u:switch(a=a.type,a){case p:case m:case s:case o:case f:case h:return a;default:switch(a=a&&a.$$typeof,a){case d:case b:case D:case A:case y:return a;default:return W}}case c:return W}}}function q(a){return M(a)===m}return O.AsyncMode=p,O.ConcurrentMode=m,O.ContextConsumer=d,O.ContextProvider=y,O.Element=u,O.ForwardRef=b,O.Fragment=s,O.Lazy=D,O.Memo=A,O.Portal=c,O.Profiler=o,O.StrictMode=f,O.Suspense=h,O.isAsyncMode=function(a){return q(a)||M(a)===p},O.isConcurrentMode=q,O.isContextConsumer=function(a){return M(a)===d},O.isContextProvider=function(a){return M(a)===y},O.isElement=function(a){return typeof a=="object"&&a!==null&&a.$$typeof===u},O.isForwardRef=function(a){return M(a)===b},O.isFragment=function(a){return M(a)===s},O.isLazy=function(a){return M(a)===D},O.isMemo=function(a){return M(a)===A},O.isPortal=function(a){return M(a)===c},O.isProfiler=function(a){return M(a)===o},O.isStrictMode=function(a){return M(a)===f},O.isSuspense=function(a){return M(a)===h},O.isValidElementType=function(a){return typeof a=="string"||typeof a=="function"||a===s||a===m||a===o||a===f||a===h||a===$||typeof a=="object"&&a!==null&&(a.$$typeof===D||a.$$typeof===A||a.$$typeof===y||a.$$typeof===d||a.$$typeof===b||a.$$typeof===L||a.$$typeof===Y||a.$$typeof===G||a.$$typeof===k)},O.typeOf=M,O}var P={};var je;function Ge(){return je||(je=1,process.env.NODE_ENV!=="production"&&(function(){var r=typeof Symbol=="function"&&Symbol.for,u=r?Symbol.for("react.element"):60103,c=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,f=r?Symbol.for("react.strict_mode"):60108,o=r?Symbol.for("react.profiler"):60114,y=r?Symbol.for("react.provider"):60109,d=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,m=r?Symbol.for("react.concurrent_mode"):60111,b=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,$=r?Symbol.for("react.suspense_list"):60120,A=r?Symbol.for("react.memo"):60115,D=r?Symbol.for("react.lazy"):60116,k=r?Symbol.for("react.block"):60121,L=r?Symbol.for("react.fundamental"):60117,Y=r?Symbol.for("react.responder"):60118,G=r?Symbol.for("react.scope"):60119;function M(t){return typeof t=="string"||typeof t=="function"||t===s||t===m||t===o||t===f||t===h||t===$||typeof t=="object"&&t!==null&&(t.$$typeof===D||t.$$typeof===A||t.$$typeof===y||t.$$typeof===d||t.$$typeof===b||t.$$typeof===L||t.$$typeof===Y||t.$$typeof===G||t.$$typeof===k)}function q(t){if(typeof t=="object"&&t!==null){var B=t.$$typeof;switch(B){case u:var ee=t.type;switch(ee){case p:case m:case s:case o:case f:case h:return ee;default:var Ue=ee&&ee.$$typeof;switch(Ue){case d:case b:case D:case A:case y:return Ue;default:return B}}case c:return B}}}var a=p,W=m,ge=d,Te=y,Se=u,Ee=b,Q=s,we=D,xe=A,H=c,Oe=o,z=f,U=h,Z=!1;function Pe(t){return Z||(Z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),e(t)||q(t)===p}function e(t){return q(t)===m}function i(t){return q(t)===d}function S(t){return q(t)===y}function g(t){return typeof t=="object"&&t!==null&&t.$$typeof===u}function v(t){return q(t)===b}function E(t){return q(t)===s}function _(t){return q(t)===D}function T(t){return q(t)===A}function w(t){return q(t)===c}function C(t){return q(t)===o}function x(t){return q(t)===f}function R(t){return q(t)===h}P.AsyncMode=a,P.ConcurrentMode=W,P.ContextConsumer=ge,P.ContextProvider=Te,P.Element=Se,P.ForwardRef=Ee,P.Fragment=Q,P.Lazy=we,P.Memo=xe,P.Portal=H,P.Profiler=Oe,P.StrictMode=z,P.Suspense=U,P.isAsyncMode=Pe,P.isConcurrentMode=e,P.isContextConsumer=i,P.isContextProvider=S,P.isElement=g,P.isForwardRef=v,P.isFragment=E,P.isLazy=_,P.isMemo=T,P.isPortal=w,P.isProfiler=C,P.isStrictMode=x,P.isSuspense=R,P.isValidElementType=M,P.typeOf=q})()),P}var ke;function Ie(){return ke||(ke=1,process.env.NODE_ENV==="production"?X.exports=Ve():X.exports=Ge()),X.exports}var re,Ne;function Je(){if(Ne)return re;Ne=1;var r=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable;function s(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function f(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var y={},d=0;d<10;d++)y["_"+String.fromCharCode(d)]=d;var p=Object.getOwnPropertyNames(y).map(function(b){return y[b]});if(p.join("")!=="0123456789")return!1;var m={};return"abcdefghijklmnopqrst".split("").forEach(function(b){m[b]=b}),Object.keys(Object.assign({},m)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return re=f()?Object.assign:function(o,y){for(var d,p=s(o),m,b=1;b<arguments.length;b++){d=Object(arguments[b]);for(var h in d)u.call(d,h)&&(p[h]=d[h]);if(r){m=r(d);for(var $=0;$<m.length;$++)c.call(d,m[$])&&(p[m[$]]=d[m[$]])}}return p},re}var ne,Ae;function te(){if(Ae)return ne;Ae=1;var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ne=r,ne}var oe,qe;function Me(){return qe||(qe=1,oe=Function.call.bind(Object.prototype.hasOwnProperty)),oe}var ae,Le;function Xe(){if(Le)return ae;Le=1;var r=function(){};if(process.env.NODE_ENV!=="production"){var u=te(),c={},s=Me();r=function(o){var y="Warning: "+o;typeof console<"u"&&console.error(y);try{throw new Error(y)}catch{}}}function f(o,y,d,p,m){if(process.env.NODE_ENV!=="production"){for(var b in o)if(s(o,b)){var h;try{if(typeof o[b]!="function"){var $=Error((p||"React class")+": "+d+" type `"+b+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[b]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw $.name="Invariant Violation",$}h=o[b](y,b,p,d,null,u)}catch(D){h=D}if(h&&!(h instanceof Error)&&r((p||"React class")+": type specification of "+d+" `"+b+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof h+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),h instanceof Error&&!(h.message in c)){c[h.message]=!0;var A=m?m():"";r("Failed "+d+" type: "+h.message+(A??""))}}}}return f.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(c={})},ae=f,ae}var se,Re;function Ke(){if(Re)return se;Re=1;var r=Ie(),u=Je(),c=te(),s=Me(),f=Xe(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(d){var p="Warning: "+d;typeof console<"u"&&console.error(p);try{throw new Error(p)}catch{}});function y(){return null}return se=function(d,p){var m=typeof Symbol=="function"&&Symbol.iterator,b="@@iterator";function h(e){var i=e&&(m&&e[m]||e[b]);if(typeof i=="function")return i}var $="<<anonymous>>",A={array:Y("array"),bigint:Y("bigint"),bool:Y("boolean"),func:Y("function"),number:Y("number"),object:Y("object"),string:Y("string"),symbol:Y("symbol"),any:G(),arrayOf:M,element:q(),elementType:a(),instanceOf:W,node:Ee(),objectOf:Te,oneOf:ge,oneOfType:Se,shape:we,exact:xe};function D(e,i){return e===i?e!==0||1/e===1/i:e!==e&&i!==i}function k(e,i){this.message=e,this.data=i&&typeof i=="object"?i:{},this.stack=""}k.prototype=Error.prototype;function L(e){if(process.env.NODE_ENV!=="production")var i={},S=0;function g(E,_,T,w,C,x,R){if(w=w||$,x=x||T,R!==c){if(p){var t=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw t.name="Invariant Violation",t}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var B=w+":"+T;!i[B]&&S<3&&(o("You are manually calling a React.PropTypes validation function for the `"+x+"` prop on `"+w+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),i[B]=!0,S++)}}return _[T]==null?E?_[T]===null?new k("The "+C+" `"+x+"` is marked as required "+("in `"+w+"`, but its value is `null`.")):new k("The "+C+" `"+x+"` is marked as required in "+("`"+w+"`, but its value is `undefined`.")):null:e(_,T,w,C,x)}var v=g.bind(null,!1);return v.isRequired=g.bind(null,!0),v}function Y(e){function i(S,g,v,E,_,T){var w=S[g],C=z(w);if(C!==e){var x=U(w);return new k("Invalid "+E+" `"+_+"` of type "+("`"+x+"` supplied to `"+v+"`, expected ")+("`"+e+"`."),{expectedType:e})}return null}return L(i)}function G(){return L(y)}function M(e){function i(S,g,v,E,_){if(typeof e!="function")return new k("Property `"+_+"` of component `"+v+"` has invalid PropType notation inside arrayOf.");var T=S[g];if(!Array.isArray(T)){var w=z(T);return new k("Invalid "+E+" `"+_+"` of type "+("`"+w+"` supplied to `"+v+"`, expected an array."))}for(var C=0;C<T.length;C++){var x=e(T,C,v,E,_+"["+C+"]",c);if(x instanceof Error)return x}return null}return L(i)}function q(){function e(i,S,g,v,E){var _=i[S];if(!d(_)){var T=z(_);return new k("Invalid "+v+" `"+E+"` of type "+("`"+T+"` supplied to `"+g+"`, expected a single ReactElement."))}return null}return L(e)}function a(){function e(i,S,g,v,E){var _=i[S];if(!r.isValidElementType(_)){var T=z(_);return new k("Invalid "+v+" `"+E+"` of type "+("`"+T+"` supplied to `"+g+"`, expected a single ReactElement type."))}return null}return L(e)}function W(e){function i(S,g,v,E,_){if(!(S[g]instanceof e)){var T=e.name||$,w=Pe(S[g]);return new k("Invalid "+E+" `"+_+"` of type "+("`"+w+"` supplied to `"+v+"`, expected ")+("instance of `"+T+"`."))}return null}return L(i)}function ge(e){if(!Array.isArray(e))return process.env.NODE_ENV!=="production"&&(arguments.length>1?o("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):o("Invalid argument supplied to oneOf, expected an array.")),y;function i(S,g,v,E,_){for(var T=S[g],w=0;w<e.length;w++)if(D(T,e[w]))return null;var C=JSON.stringify(e,function(R,t){var B=U(t);return B==="symbol"?String(t):t});return new k("Invalid "+E+" `"+_+"` of value `"+String(T)+"` "+("supplied to `"+v+"`, expected one of "+C+"."))}return L(i)}function Te(e){function i(S,g,v,E,_){if(typeof e!="function")return new k("Property `"+_+"` of component `"+v+"` has invalid PropType notation inside objectOf.");var T=S[g],w=z(T);if(w!=="object")return new k("Invalid "+E+" `"+_+"` of type "+("`"+w+"` supplied to `"+v+"`, expected an object."));for(var C in T)if(s(T,C)){var x=e(T,C,v,E,_+"."+C,c);if(x instanceof Error)return x}return null}return L(i)}function Se(e){if(!Array.isArray(e))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),y;for(var i=0;i<e.length;i++){var S=e[i];if(typeof S!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Z(S)+" at index "+i+"."),y}function g(v,E,_,T,w){for(var C=[],x=0;x<e.length;x++){var R=e[x],t=R(v,E,_,T,w,c);if(t==null)return null;t.data&&s(t.data,"expectedType")&&C.push(t.data.expectedType)}var B=C.length>0?", expected one of type ["+C.join(", ")+"]":"";return new k("Invalid "+T+" `"+w+"` supplied to "+("`"+_+"`"+B+"."))}return L(g)}function Ee(){function e(i,S,g,v,E){return H(i[S])?null:new k("Invalid "+v+" `"+E+"` supplied to "+("`"+g+"`, expected a ReactNode."))}return L(e)}function Q(e,i,S,g,v){return new k((e||"React class")+": "+i+" type `"+S+"."+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+v+"`.")}function we(e){function i(S,g,v,E,_){var T=S[g],w=z(T);if(w!=="object")return new k("Invalid "+E+" `"+_+"` of type `"+w+"` "+("supplied to `"+v+"`, expected `object`."));for(var C in e){var x=e[C];if(typeof x!="function")return Q(v,E,_,C,U(x));var R=x(T,C,v,E,_+"."+C,c);if(R)return R}return null}return L(i)}function xe(e){function i(S,g,v,E,_){var T=S[g],w=z(T);if(w!=="object")return new k("Invalid "+E+" `"+_+"` of type `"+w+"` "+("supplied to `"+v+"`, expected `object`."));var C=u({},S[g],e);for(var x in C){var R=e[x];if(s(e,x)&&typeof R!="function")return Q(v,E,_,x,U(R));if(!R)return new k("Invalid "+E+" `"+_+"` key `"+x+"` supplied to `"+v+"`.\nBad object: "+JSON.stringify(S[g],null," ")+`
|
|
2
|
+
Valid keys: `+JSON.stringify(Object.keys(e),null," "));var t=R(T,x,v,E,_+"."+x,c);if(t)return t}return null}return L(i)}function H(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(H);if(e===null||d(e))return!0;var i=h(e);if(i){var S=i.call(e),g;if(i!==e.entries){for(;!(g=S.next()).done;)if(!H(g.value))return!1}else for(;!(g=S.next()).done;){var v=g.value;if(v&&!H(v[1]))return!1}}else return!1;return!0;default:return!1}}function Oe(e,i){return e==="symbol"?!0:i?i["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&i instanceof Symbol:!1}function z(e){var i=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":Oe(i,e)?"symbol":i}function U(e){if(typeof e>"u"||e===null)return""+e;var i=z(e);if(i==="object"){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return i}function Z(e){var i=U(e);switch(i){case"array":case"object":return"an "+i;case"boolean":case"date":case"regexp":return"a "+i;default:return i}}function Pe(e){return!e.constructor||!e.constructor.name?$:e.constructor.name}return A.checkPropTypes=f,A.resetWarningCache=f.resetWarningCache,A.PropTypes=A,A},se}var ie,De;function Qe(){if(De)return ie;De=1;var r=te();function u(){}function c(){}return c.resetWarningCache=u,ie=function(){function s(y,d,p,m,b,h){if(h!==r){var $=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw $.name="Invariant Violation",$}}s.isRequired=s;function f(){return s}var o={array:s,bigint:s,bool:s,func:s,number:s,object:s,string:s,symbol:s,any:s,arrayOf:f,element:s,elementType:s,instanceOf:f,node:s,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:c,resetWarningCache:u};return o.PropTypes=o,o},ie}var Ye;function Ze(){if(Ye)return J.exports;if(Ye=1,process.env.NODE_ENV!=="production"){var r=Ie(),u=!0;J.exports=Ke()(r.isElement,u)}else J.exports=Qe()();return J.exports}var er=Ze();const n=He(er),ce=j.forwardRef(({className:r,variant:u="primary",children:c,...s},f)=>{const o=[Ce.button,Ce[u],"sandui-globals",r||""].filter(Boolean).join(" ");return l.jsx("button",{ref:f,className:o,...s,children:c})});ce.propTypes={className:n.string,variant:n.oneOf(["primary","secondary","ghost"]),children:n.node.isRequired,disabled:n.bool},ce.displayName="SandButton";const ze={link:"_link_1xqus_1",default:"_default_1xqus_17",muted:"_muted_1xqus_21",accent:"_accent_1xqus_28"},le=j.forwardRef(({className:r,variant:u="default",external:c=!1,children:s,...f},o)=>{const y=[ze.link,ze[u],r||""].filter(Boolean).join(" "),d=c?{target:"_blank",rel:"noopener noreferrer"}:{};return l.jsx("a",{ref:o,className:y,...d,...f,children:s})});le.propTypes={className:n.string,variant:n.oneOf(["default","muted","accent"]),external:n.bool,href:n.string,children:n.node.isRequired},le.displayName="SandLink";const Be={badge:"_badge_1432t_1",default:"_default_1432t_15",info:"_info_1432t_20",success:"_success_1432t_26",warning:"_warning_1432t_32",error:"_error_1432t_38"},fe=j.forwardRef(({className:r,variant:u="default",children:c,...s},f)=>{const o=[Be.badge,Be[u],r||""].filter(Boolean).join(" ");return l.jsx("span",{ref:f,className:o,...s,children:c})});fe.propTypes={className:n.string,variant:n.oneOf(["default","success","warning","error"]),children:n.node.isRequired},fe.displayName="SandBadge";const F=j.forwardRef(({name:r,size:u=20,filled:c=!0,className:s,style:f,...o},y)=>l.jsx("span",{ref:y,className:`material-symbols-rounded ${s||""}`,style:{fontSize:u,fontVariationSettings:`'FILL' ${c?1:0}, 'wght' 400, 'GRAD' 0, 'opsz' ${u}`,verticalAlign:"middle",lineHeight:1,...f},...o,children:r}));F.propTypes={name:n.string.isRequired,size:n.number,filled:n.bool,className:n.string,style:n.object},F.displayName="SandIcon";const V={wrapper:"_wrapper_cf5v8_51",label:"_label_cf5v8_59",input:"_input_cf5v8_67",error:"_error_cf5v8_98",errorText:"_errorText_cf5v8_105"},ue=j.forwardRef(({className:r,label:u,error:c,...s},f)=>{const o=j.useId();return l.jsxs("div",{className:`${V.wrapper} sandui-globals ${r||""}`,children:[u&&l.jsx("label",{htmlFor:o,className:V.label,children:u}),l.jsx("input",{id:o,ref:f,className:`${V.input} ${c?V.error:""}`,...s}),c&&l.jsx("span",{className:V.errorText,children:c})]})});ue.propTypes={className:n.string,label:n.string,error:n.string,placeholder:n.string,type:n.string,disabled:n.bool},ue.displayName="SandInput";const rr={card:"_card_1oe83_51"},de=j.forwardRef(({className:r,children:u,...c},s)=>l.jsx("div",{ref:s,className:`${rr.card} sandui-globals ${r||""}`,...c,children:u}));de.propTypes={className:n.string,children:n.node},de.displayName="SandCard";const nr={box:"_box_160ue_51"},pe=j.forwardRef(function({as:u="div",className:c,children:s,p:f,m:o,style:y,...d},p){const m=u,b={...f!==void 0?{padding:`${f*8}px`}:{},...o!==void 0?{margin:`${o*8}px`}:{},...y};return l.jsx(m,{ref:p,className:`${nr.box} sandui-globals ${c||""}`,style:b,...d,children:s})});pe.propTypes={as:n.elementType,className:n.string,children:n.node,p:n.number,m:n.number,style:n.object},pe.displayName="SandBox";const K={toast:"_toast_oq8z7_1",slideIn:"_slideIn_oq8z7_1",message:"_message_oq8z7_13",close:"_close_oq8z7_17",info:"_info_oq8z7_30",success:"_success_oq8z7_37",warning:"_warning_oq8z7_44",error:"_error_oq8z7_51"},ye=({className:r,variant:u="info",message:c,duration:s=4e3,visible:f=!0,onClose:o,...y})=>{const[d,p]=j.useState(f);j.useEffect(()=>{p(f)},[f]);const m=j.useCallback(()=>{p(!1),o?.()},[o]);if(j.useEffect(()=>{if(d&&s>0){const $=setTimeout(m,s);return()=>clearTimeout($)}},[d,s,m]),!d)return null;const b={info:"info",success:"check_circle",warning:"warning",error:"error"},h=[K.toast,K[u],r||""].filter(Boolean).join(" ");return l.jsxs("div",{className:h,role:"alert",...y,children:[l.jsx(F,{name:b[u],size:18}),l.jsx("span",{className:K.message,children:c}),l.jsx("button",{className:K.close,onClick:m,"aria-label":"Dismiss",children:l.jsx(F,{name:"close",size:16})})]})};ye.propTypes={className:n.string,variant:n.oneOf(["info","success","warning","error"]),message:n.string.isRequired,duration:n.number,visible:n.bool,onClose:n.func},ye.displayName="SandToast";const ve={navbar:"_navbar_fpxv0_51",fixed:"_fixed_fpxv0_66",logo:"_logo_fpxv0_71"},he=j.forwardRef(({className:r,title:u,logo:c,fixed:s=!1,children:f,...o},y)=>{const d=[ve.navbar,s?ve.fixed:"","sandui-globals",r||""].filter(Boolean).join(" ");return l.jsxs("nav",{ref:y,className:d,...o,children:[l.jsxs("div",{className:ve.logo,children:[c&&l.jsx("img",{src:c,alt:`${u||"SandUI"} logo`}),u&&l.jsx("h1",{children:u})]}),l.jsx("div",{children:f})]})});he.propTypes={className:n.string,title:n.string,logo:n.string,fixed:n.bool,children:n.node},he.displayName="SandNavbar";const be={sidebar:"_sidebar_12xgb_1",item:"_item_12xgb_10",active:"_active_12xgb_25"},me=j.forwardRef(({className:r,items:u=[],children:c,...s},f)=>l.jsxs("aside",{ref:f,className:`${be.sidebar} sandui-globals ${r||""}`,...s,children:[l.jsx("nav",{children:u.map((o,y)=>l.jsxs("a",{href:o.href||"#",className:`${be.item} ${o.active?be.active:""}`,children:[o.icon&&l.jsx(F,{name:o.icon,size:18}),l.jsx("span",{children:o.label})]},y))}),c]}));me.propTypes={className:n.string,items:n.arrayOf(n.shape({icon:n.string,label:n.string.isRequired,href:n.string,active:n.bool})),children:n.node},me.displayName="SandSidebar";const N={footer:"_footer_ujqx6_1",main:"_main_ujqx6_8",brandCol:"_brandCol_ujqx6_17",brandLink:"_brandLink_ujqx6_23",brandLogoImage:"_brandLogoImage_ujqx6_30",brandName:"_brandName_ujqx6_37",brandAccent:"_brandAccent_ujqx6_44",description:"_description_ujqx6_48",linkCol:"_linkCol_ujqx6_56",colTitle:"_colTitle_ujqx6_62",footerLink:"_footerLink_ujqx6_71",bottom:"_bottom_ujqx6_81",copyright:"_copyright_ujqx6_91",socials:"_socials_ujqx6_104",socialIcon:"_socialIcon_ujqx6_109",watermark:"_watermark_ujqx6_127"},_e=j.forwardRef(({className:r,brandLogo:u,brand:c="SandurTech",brandUrl:s="https://sandurtech.vercel.app",description:f="SandurTech is a solo-venture project dedicated to creating lightweight, efficient, and user-centric microservices that solve everyday digital problems.",navLinks:o=[{label:"Home",href:"#"},{label:"Products",href:"#"},{label:"About",href:"#"},{label:"Blog",href:"#"}],supportLinks:y=[{label:"Connect Directly",href:"https://www.linkedin.com/in/amogharajsandur/"},{label:"Review on Google Business?",href:"#"}],socials:d=[{icon:"code",href:"https://github.com/amogharajsandur",label:"GitHub"},{icon:"link",href:"https://www.linkedin.com/in/amogharajsandur/",label:"LinkedIn"},{icon:"mail",href:"mailto:contact@sandurtech.com",label:"Email"}],children:p,...m},b)=>l.jsxs("footer",{ref:b,className:`${N.footer} ${r||""}`,...m,children:[l.jsxs("div",{className:N.main,children:[l.jsxs("div",{className:N.brandCol,children:[l.jsxs("a",{href:s,target:"_blank",rel:"noopener noreferrer",className:N.brandLink,children:[u&&l.jsx("img",{src:u,alt:c,className:N.brandLogoImage}),l.jsxs("span",{className:N.brandName,children:[l.jsx("span",{className:N.brandAccent,children:"Sandur"}),"Tech"]})]}),l.jsx("p",{className:N.description,children:f})]}),l.jsxs("div",{className:N.linkCol,children:[l.jsx("h4",{className:N.colTitle,children:"Navigation"}),o.map((h,$)=>l.jsx("a",{href:h.href,className:N.footerLink,target:"_blank",rel:"noopener noreferrer",children:h.label},$))]}),l.jsxs("div",{className:N.linkCol,children:[l.jsx("h4",{className:N.colTitle,children:"Legal & Support"}),y.map((h,$)=>l.jsx("a",{href:h.href,className:N.footerLink,target:"_blank",rel:"noopener noreferrer",children:h.label},$))]}),p]}),l.jsxs("div",{className:N.bottom,children:[l.jsxs("span",{className:N.copyright,children:["© ",new Date().getFullYear()," ",l.jsx("a",{href:"https://www.linkedin.com/in/amogharajsandur/",target:"_blank",rel:"noopener noreferrer",children:"Amogha Raj Sandur"})," & ",l.jsx("a",{href:s,target:"_blank",rel:"noopener noreferrer",children:"SandurTech"})," (Sandur Technologies)."]}),l.jsx("div",{className:N.socials,children:d.map((h,$)=>l.jsx("a",{href:h.href,target:"_blank",rel:"noopener noreferrer",className:N.socialIcon,"aria-label":h.label,children:l.jsx(F,{name:h.icon,size:18})},$))})]}),l.jsx("div",{className:N.watermark,children:"SANDURTECH"})]}));_e.propTypes={className:n.string,brand:n.string,brandUrl:n.string,description:n.string,navLinks:n.arrayOf(n.shape({label:n.string,href:n.string})),supportLinks:n.arrayOf(n.shape({label:n.string,href:n.string})),socials:n.arrayOf(n.shape({icon:n.string,href:n.string,label:n.string})),children:n.node},_e.displayName="SandFooter";const Fe=j.createContext({theme:"light",toggleTheme:()=>{},setTheme:()=>{}});function We({children:r,defaultTheme:u="light",persist:c=!0}){const[s,f]=j.useState(()=>{if(c&&typeof window<"u"){const p=localStorage.getItem("sandui-theme");if(p==="light"||p==="dark")return p}return typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":u});j.useEffect(()=>{document.documentElement.setAttribute("data-theme",s),c&&localStorage.setItem("sandui-theme",s)},[s,c]),j.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const p=window.matchMedia("(prefers-color-scheme: dark)"),m=b=>{c&&localStorage.getItem("sandui-theme")||f(b.matches?"dark":"light")};return p.addEventListener("change",m),()=>p.removeEventListener("change",m)},[c]);const o=j.useCallback(p=>{(p==="light"||p==="dark")&&f(p)},[]),y=j.useCallback(()=>{f(p=>p==="light"?"dark":"light")},[]),d=j.useMemo(()=>({theme:s,toggleTheme:y,setTheme:o}),[s,y,o]);return l.jsx(Fe.Provider,{value:d,children:r})}We.propTypes={children:n.node.isRequired,defaultTheme:n.oneOf(["light","dark"]),persist:n.bool};function tr(){const r=j.useContext(Fe);if(!r)throw new Error("useSandTheme must be used within a <SandThemeProvider>");return r}I.SandBadge=fe,I.SandBox=pe,I.SandButton=ce,I.SandCard=de,I.SandFooter=_e,I.SandIcon=F,I.SandInput=ue,I.SandLink=le,I.SandNavbar=he,I.SandSidebar=me,I.SandThemeProvider=We,I.SandToast=ye,I.useSandTheme=tr,Object.defineProperty(I,Symbol.toStringTag,{value:"Module"})}));
|
package/dist/robots.txt
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
User-agent: *
|
|
2
|
+
Disallow: /private/
|
|
3
|
+
Disallow: /cdn-cgi/
|
|
4
|
+
Allow: /
|
|
5
|
+
|
|
6
|
+
# ── Traditional Search Engines ──────────────────────────────────────────────
|
|
7
|
+
User-agent: Googlebot
|
|
8
|
+
Allow: /
|
|
9
|
+
User-agent: Googlebot-Image
|
|
10
|
+
Allow: /
|
|
11
|
+
User-agent: Googlebot-News
|
|
12
|
+
Allow: /
|
|
13
|
+
|
|
14
|
+
User-agent: Bingbot
|
|
15
|
+
Allow: /
|
|
16
|
+
|
|
17
|
+
User-agent: Slurp
|
|
18
|
+
Allow: /
|
|
19
|
+
|
|
20
|
+
User-agent: DuckDuckBot
|
|
21
|
+
Allow: /
|
|
22
|
+
|
|
23
|
+
User-agent: YandexBot
|
|
24
|
+
Allow: /
|
|
25
|
+
|
|
26
|
+
User-agent: Baiduspider
|
|
27
|
+
Allow: /
|
|
28
|
+
|
|
29
|
+
User-agent: Applebot
|
|
30
|
+
Allow: /
|
|
31
|
+
|
|
32
|
+
User-agent: SeznamBot
|
|
33
|
+
Allow: /
|
|
34
|
+
|
|
35
|
+
User-agent: Qwantify
|
|
36
|
+
Allow: /
|
|
37
|
+
|
|
38
|
+
User-agent: Sogou web spider
|
|
39
|
+
Allow: /
|
|
40
|
+
|
|
41
|
+
# ── AI / Generative Engine Crawlers ─────────────────────────────────────────
|
|
42
|
+
|
|
43
|
+
# OpenAI / ChatGPT
|
|
44
|
+
User-agent: GPTBot
|
|
45
|
+
Allow: /
|
|
46
|
+
User-agent: ChatGPT-User
|
|
47
|
+
Allow: /
|
|
48
|
+
User-agent: OAI-SearchBot
|
|
49
|
+
Allow: /
|
|
50
|
+
|
|
51
|
+
# Google AI (Gemini, AI Overviews)
|
|
52
|
+
User-agent: Google-Extended
|
|
53
|
+
Allow: /
|
|
54
|
+
User-agent: Googlebot-Extended
|
|
55
|
+
Allow: /
|
|
56
|
+
|
|
57
|
+
# Anthropic / Claude
|
|
58
|
+
User-agent: ClaudeBot
|
|
59
|
+
Allow: /
|
|
60
|
+
User-agent: Claude-Web
|
|
61
|
+
Allow: /
|
|
62
|
+
User-agent: anthropic-ai
|
|
63
|
+
Allow: /
|
|
64
|
+
|
|
65
|
+
# Perplexity AI
|
|
66
|
+
User-agent: PerplexityBot
|
|
67
|
+
Allow: /
|
|
68
|
+
|
|
69
|
+
# Meta AI
|
|
70
|
+
User-agent: Meta-ExternalAgent
|
|
71
|
+
Allow: /
|
|
72
|
+
User-agent: Meta-ExternalFetcher
|
|
73
|
+
Allow: /
|
|
74
|
+
User-agent: FacebookBot
|
|
75
|
+
Allow: /
|
|
76
|
+
|
|
77
|
+
# Apple Intelligence
|
|
78
|
+
User-agent: Applebot-Extended
|
|
79
|
+
Allow: /
|
|
80
|
+
|
|
81
|
+
# Common Crawl (training data)
|
|
82
|
+
User-agent: CCBot
|
|
83
|
+
Allow: /
|
|
84
|
+
|
|
85
|
+
# Amazon / Alexa
|
|
86
|
+
User-agent: Amazonbot
|
|
87
|
+
Allow: /
|
|
88
|
+
|
|
89
|
+
# Cohere AI
|
|
90
|
+
User-agent: Cohere-ai
|
|
91
|
+
Allow: /
|
|
92
|
+
|
|
93
|
+
# ByteDance / Bytespider
|
|
94
|
+
User-agent: Bytespider
|
|
95
|
+
Allow: /
|
|
96
|
+
|
|
97
|
+
# xAI / Grok
|
|
98
|
+
User-agent: xAI
|
|
99
|
+
Allow: /
|
|
100
|
+
User-agent: Grok
|
|
101
|
+
Allow: /
|
|
102
|
+
|
|
103
|
+
# You.com
|
|
104
|
+
User-agent: YouBot
|
|
105
|
+
Allow: /
|
|
106
|
+
|
|
107
|
+
# Diffbot (structured data extraction)
|
|
108
|
+
User-agent: Diffbot
|
|
109
|
+
Allow: /
|
|
110
|
+
|
|
111
|
+
# Webz.io / Omgili
|
|
112
|
+
User-agent: omgilibot
|
|
113
|
+
Allow: /
|
|
114
|
+
User-agent: omgili
|
|
115
|
+
Allow: /
|
|
116
|
+
|
|
117
|
+
# Neeva
|
|
118
|
+
User-agent: Neevabot
|
|
119
|
+
Allow: /
|
|
120
|
+
|
|
121
|
+
# Timpi
|
|
122
|
+
User-agent: Timpibot
|
|
123
|
+
Allow: /
|
|
124
|
+
|
|
125
|
+
Sitemap: https://sandurtech.github.io/SandUI/sitemap.xml
|
package/dist/sitemap.xml
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
3
|
+
<!-- Main Home -->
|
|
4
|
+
<url>
|
|
5
|
+
<loc>https://sandurtech.github.io/SandUI/</loc>
|
|
6
|
+
<lastmod>2026-03-04</lastmod>
|
|
7
|
+
<changefreq>weekly</changefreq>
|
|
8
|
+
<priority>1.0</priority>
|
|
9
|
+
</url>
|
|
10
|
+
|
|
11
|
+
<!-- Introductory Docs -->
|
|
12
|
+
<url>
|
|
13
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/introduction--docs</loc>
|
|
14
|
+
<lastmod>2026-03-04</lastmod>
|
|
15
|
+
<changefreq>weekly</changefreq>
|
|
16
|
+
<priority>0.9</priority>
|
|
17
|
+
</url>
|
|
18
|
+
|
|
19
|
+
<!-- Foundations -->
|
|
20
|
+
<url>
|
|
21
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/01-foundations-colors--docs</loc>
|
|
22
|
+
<lastmod>2026-03-04</lastmod>
|
|
23
|
+
<changefreq>monthly</changefreq>
|
|
24
|
+
<priority>0.8</priority>
|
|
25
|
+
</url>
|
|
26
|
+
<url>
|
|
27
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/01-foundations-typography--docs</loc>
|
|
28
|
+
<lastmod>2026-03-04</lastmod>
|
|
29
|
+
<changefreq>monthly</changefreq>
|
|
30
|
+
<priority>0.8</priority>
|
|
31
|
+
</url>
|
|
32
|
+
<url>
|
|
33
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/01-foundations-spacing--docs</loc>
|
|
34
|
+
<lastmod>2026-03-04</lastmod>
|
|
35
|
+
<changefreq>monthly</changefreq>
|
|
36
|
+
<priority>0.8</priority>
|
|
37
|
+
</url>
|
|
38
|
+
<url>
|
|
39
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/01-foundations-shadows--docs</loc>
|
|
40
|
+
<lastmod>2026-03-04</lastmod>
|
|
41
|
+
<changefreq>monthly</changefreq>
|
|
42
|
+
<priority>0.8</priority>
|
|
43
|
+
</url>
|
|
44
|
+
<url>
|
|
45
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/01-foundations-theme--docs</loc>
|
|
46
|
+
<lastmod>2026-03-04</lastmod>
|
|
47
|
+
<changefreq>monthly</changefreq>
|
|
48
|
+
<priority>0.8</priority>
|
|
49
|
+
</url>
|
|
50
|
+
|
|
51
|
+
<!-- Atoms -->
|
|
52
|
+
<url>
|
|
53
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/02-atoms-sandbutton--docs</loc>
|
|
54
|
+
<lastmod>2026-03-04</lastmod>
|
|
55
|
+
<changefreq>monthly</changefreq>
|
|
56
|
+
<priority>0.7</priority>
|
|
57
|
+
</url>
|
|
58
|
+
<url>
|
|
59
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/02-atoms-sandlink--docs</loc>
|
|
60
|
+
<lastmod>2026-03-04</lastmod>
|
|
61
|
+
<changefreq>monthly</changefreq>
|
|
62
|
+
<priority>0.7</priority>
|
|
63
|
+
</url>
|
|
64
|
+
<url>
|
|
65
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/02-atoms-sandbadge--docs</loc>
|
|
66
|
+
<lastmod>2026-03-04</lastmod>
|
|
67
|
+
<changefreq>monthly</changefreq>
|
|
68
|
+
<priority>0.7</priority>
|
|
69
|
+
</url>
|
|
70
|
+
<url>
|
|
71
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/02-atoms-sandicon--docs</loc>
|
|
72
|
+
<lastmod>2026-03-04</lastmod>
|
|
73
|
+
<changefreq>monthly</changefreq>
|
|
74
|
+
<priority>0.7</priority>
|
|
75
|
+
</url>
|
|
76
|
+
<url>
|
|
77
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/02-atoms-sandkbd--docs</loc>
|
|
78
|
+
<lastmod>2026-03-04</lastmod>
|
|
79
|
+
<changefreq>monthly</changefreq>
|
|
80
|
+
<priority>0.7</priority>
|
|
81
|
+
</url>
|
|
82
|
+
|
|
83
|
+
<!-- Molecules -->
|
|
84
|
+
<url>
|
|
85
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/03-molecules-sandinputgroup--docs</loc>
|
|
86
|
+
<lastmod>2026-03-04</lastmod>
|
|
87
|
+
<changefreq>monthly</changefreq>
|
|
88
|
+
<priority>0.7</priority>
|
|
89
|
+
</url>
|
|
90
|
+
<url>
|
|
91
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/03-molecules-sandcard--docs</loc>
|
|
92
|
+
<lastmod>2026-03-04</lastmod>
|
|
93
|
+
<changefreq>monthly</changefreq>
|
|
94
|
+
<priority>0.7</priority>
|
|
95
|
+
</url>
|
|
96
|
+
<url>
|
|
97
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/03-molecules-sandtoast--docs</loc>
|
|
98
|
+
<lastmod>2026-03-04</lastmod>
|
|
99
|
+
<changefreq>monthly</changefreq>
|
|
100
|
+
<priority>0.7</priority>
|
|
101
|
+
</url>
|
|
102
|
+
<url>
|
|
103
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/03-molecules-sandbox--docs</loc>
|
|
104
|
+
<lastmod>2026-03-04</lastmod>
|
|
105
|
+
<changefreq>monthly</changefreq>
|
|
106
|
+
<priority>0.7</priority>
|
|
107
|
+
</url>
|
|
108
|
+
|
|
109
|
+
<!-- Organisms -->
|
|
110
|
+
<url>
|
|
111
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/04-organisms-sandnavbar--docs</loc>
|
|
112
|
+
<lastmod>2026-03-04</lastmod>
|
|
113
|
+
<changefreq>monthly</changefreq>
|
|
114
|
+
<priority>0.6</priority>
|
|
115
|
+
</url>
|
|
116
|
+
<url>
|
|
117
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/04-organisms-sandsidebar--docs</loc>
|
|
118
|
+
<lastmod>2026-03-04</lastmod>
|
|
119
|
+
<changefreq>monthly</changefreq>
|
|
120
|
+
<priority>0.6</priority>
|
|
121
|
+
</url>
|
|
122
|
+
<url>
|
|
123
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/04-organisms-sandfooter--docs</loc>
|
|
124
|
+
<lastmod>2026-03-04</lastmod>
|
|
125
|
+
<changefreq>monthly</changefreq>
|
|
126
|
+
<priority>0.6</priority>
|
|
127
|
+
</url>
|
|
128
|
+
|
|
129
|
+
<!-- Templates -->
|
|
130
|
+
<url>
|
|
131
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/05-templates-standardlayout--docs</loc>
|
|
132
|
+
<lastmod>2026-03-04</lastmod>
|
|
133
|
+
<changefreq>monthly</changefreq>
|
|
134
|
+
<priority>0.5</priority>
|
|
135
|
+
</url>
|
|
136
|
+
<url>
|
|
137
|
+
<loc>https://sandurtech.github.io/SandUI/?path=/docs/05-templates-authlayout--docs</loc>
|
|
138
|
+
<lastmod>2026-03-04</lastmod>
|
|
139
|
+
<changefreq>monthly</changefreq>
|
|
140
|
+
<priority>0.5</priority>
|
|
141
|
+
</url>
|
|
142
|
+
</urlset>
|
package/package.json
CHANGED
|
@@ -1,57 +1,79 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sandurtech/sandui",
|
|
3
|
-
"
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.1.0",
|
|
4
5
|
"type": "module",
|
|
6
|
+
"description": "SandUI - The design system powering the SandurTech ecosystem.",
|
|
7
|
+
"author": "Amogha Raj Sandur",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"keywords": [
|
|
10
|
+
"react",
|
|
11
|
+
"ui",
|
|
12
|
+
"components",
|
|
13
|
+
"sandurtech"
|
|
14
|
+
],
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"peerDependencies": {
|
|
19
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
20
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
21
|
+
},
|
|
5
22
|
"scripts": {
|
|
6
23
|
"dev": "vite",
|
|
7
24
|
"build": "vite build",
|
|
8
25
|
"lint": "eslint .",
|
|
9
26
|
"test": "vitest run",
|
|
10
27
|
"test:watch": "vitest",
|
|
11
|
-
"preview": "vite preview"
|
|
28
|
+
"preview": "vite preview",
|
|
29
|
+
"storybook": "storybook dev -p 6006",
|
|
30
|
+
"build-storybook": "storybook build"
|
|
12
31
|
},
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
"sideEffects": [
|
|
17
|
-
"*.css",
|
|
18
|
-
"*.scss"
|
|
19
|
-
],
|
|
20
|
-
"main": "./dist/sandui.umd.js",
|
|
21
|
-
"module": "./dist/sandui.js",
|
|
22
|
-
"types": "./dist/index.d.ts",
|
|
23
|
-
"exports": {
|
|
24
|
-
".": {
|
|
25
|
-
"types": "./dist/index.d.ts",
|
|
26
|
-
"import": "./dist/sandui.js",
|
|
27
|
-
"require": "./dist/sandui.umd.js"
|
|
28
|
-
},
|
|
29
|
-
"./style.css": "./dist/style.css"
|
|
30
|
-
},
|
|
31
|
-
"peerDependencies": {
|
|
32
|
-
"react": ">=18",
|
|
33
|
-
"react-dom": ">=18"
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
34
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
34
35
|
},
|
|
35
36
|
"devDependencies": {
|
|
36
37
|
"@eslint/js": "^9.39.1",
|
|
38
|
+
"@storybook/addon-essentials": "^8.6.14",
|
|
39
|
+
"@storybook/addon-interactions": "^8.6.14",
|
|
40
|
+
"@storybook/addon-links": "^8.6.17",
|
|
41
|
+
"@storybook/blocks": "^8.6.14",
|
|
42
|
+
"@storybook/react": "^8.6.17",
|
|
43
|
+
"@storybook/react-vite": "^8.6.17",
|
|
44
|
+
"@testing-library/dom": "^10.4.1",
|
|
37
45
|
"@testing-library/jest-dom": "^6.9.1",
|
|
38
46
|
"@testing-library/react": "^16.3.2",
|
|
39
47
|
"@testing-library/user-event": "^14.6.1",
|
|
40
|
-
"@types/
|
|
41
|
-
"@types/react": "^19.2.7",
|
|
48
|
+
"@types/react": "^19.2.5",
|
|
42
49
|
"@types/react-dom": "^19.2.3",
|
|
43
50
|
"@vitejs/plugin-react": "^5.1.1",
|
|
44
51
|
"eslint": "^9.39.1",
|
|
45
52
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
46
53
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
47
54
|
"globals": "^16.5.0",
|
|
55
|
+
"jest-axe": "^10.0.0",
|
|
48
56
|
"jsdom": "^28.1.0",
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"vite
|
|
57
|
+
"prop-types": "^15.8.1",
|
|
58
|
+
"sass": "^1.97.1",
|
|
59
|
+
"storybook": "^8.6.17",
|
|
60
|
+
"storybook-dark-mode": "^4.0.2",
|
|
61
|
+
"vite": "^7.2.4",
|
|
54
62
|
"vitest": "^4.0.18"
|
|
55
63
|
},
|
|
56
|
-
"
|
|
64
|
+
"main": "dist/index.js",
|
|
65
|
+
"module": "dist/index.js",
|
|
66
|
+
"exports": {
|
|
67
|
+
".": {
|
|
68
|
+
"import": "./dist/index.js",
|
|
69
|
+
"require": "./dist/index.cjs"
|
|
70
|
+
},
|
|
71
|
+
"./dist/style.css": "./dist/style.css"
|
|
72
|
+
},
|
|
73
|
+
"browserslist": [
|
|
74
|
+
"> 1%",
|
|
75
|
+
"last 2 versions",
|
|
76
|
+
"not dead",
|
|
77
|
+
"not IE 11"
|
|
78
|
+
]
|
|
57
79
|
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { SandBadge } from './components/Badge/Badge';
|
|
2
|
-
import { SandBadgeProps } from './components/Badge/Badge';
|
|
3
|
-
import { SandBreadcrumbItem } from './components/Breadcrumbs/Breadcrumbs';
|
|
4
|
-
import { SandBreadcrumbs } from './components/Breadcrumbs/Breadcrumbs';
|
|
5
|
-
import { SandBreadcrumbsProps } from './components/Breadcrumbs/Breadcrumbs';
|
|
6
|
-
import { SandButton } from './components/Button/Button';
|
|
7
|
-
import { SandButtonProps } from './components/Button/Button';
|
|
8
|
-
import { SandCard } from './components/Card/Card';
|
|
9
|
-
import { SandCardProps } from './components/Card/Card';
|
|
10
|
-
import { SandCheckbox } from './components/Selection/Selection';
|
|
11
|
-
import { SandChoiceBaseProps } from './components/Selection/Selection';
|
|
12
|
-
import { SandChoiceGroup } from './components/Selection/Selection';
|
|
13
|
-
import { SandChoiceGroupProps } from './components/Selection/Selection';
|
|
14
|
-
import { SandCodeBlock } from './components/CodeBlock/CodeBlock';
|
|
15
|
-
import { SandCodeBlockProps } from './components/CodeBlock/CodeBlock';
|
|
16
|
-
import { SandCodeTabs } from './components/CodeBlock/CodeBlock';
|
|
17
|
-
import { SandCodeTabsProps } from './components/CodeBlock/CodeBlock';
|
|
18
|
-
import { SandContainer } from './components/Layout/Layout';
|
|
19
|
-
import { SandContainerProps } from './components/Layout/Layout';
|
|
20
|
-
import { SandDivider } from './components/Divider/Divider';
|
|
21
|
-
import { SandDividerProps } from './components/Divider/Divider';
|
|
22
|
-
import { SandFeedbackProps } from './components/Feedback/Feedback';
|
|
23
|
-
import { SandFormGroup } from './components/Input/Input';
|
|
24
|
-
import { SandFormGroupProps } from './components/Input/Input';
|
|
25
|
-
import { SandHeader } from './components/Layout/Layout';
|
|
26
|
-
import { SandHeaderProps } from './components/Layout/Layout';
|
|
27
|
-
import { SandInput } from './components/Input/Input';
|
|
28
|
-
import { SandInputGroup } from './components/Input/Input';
|
|
29
|
-
import { SandInputGroupProps } from './components/Input/Input';
|
|
30
|
-
import { SandInputProps } from './components/Input/Input';
|
|
31
|
-
import { SandKBD } from './components/Kbd/Kbd';
|
|
32
|
-
import { SandKBDProps } from './components/Kbd/Kbd';
|
|
33
|
-
import { SandMicroserviceLayout } from './components/Layout/Layout';
|
|
34
|
-
import { SandMicroserviceLayoutProps } from './components/Layout/Layout';
|
|
35
|
-
import { SandModal } from './components/Modal/Modal';
|
|
36
|
-
import { SandModalBodyProps } from './components/Modal/Modal';
|
|
37
|
-
import { SandModalDescriptionProps } from './components/Modal/Modal';
|
|
38
|
-
import { SandModalFooterProps } from './components/Modal/Modal';
|
|
39
|
-
import { SandModalHeaderProps } from './components/Modal/Modal';
|
|
40
|
-
import { SandModalProps } from './components/Modal/Modal';
|
|
41
|
-
import { SandModalTitleProps } from './components/Modal/Modal';
|
|
42
|
-
import { SandPagination } from './components/Pagination/Pagination';
|
|
43
|
-
import { SandPaginationProps } from './components/Pagination/Pagination';
|
|
44
|
-
import { SandRadio } from './components/Selection/Selection';
|
|
45
|
-
import { SandResultPanel } from './components/Layout/Layout';
|
|
46
|
-
import { SandResultPanelProps } from './components/Layout/Layout';
|
|
47
|
-
import { SandSnackbar } from './components/Feedback/Feedback';
|
|
48
|
-
import { SandSwitch } from './components/Selection/Selection';
|
|
49
|
-
import { SandToast } from './components/Feedback/Feedback';
|
|
50
|
-
import { SandToolLayout } from './components/Layout/Layout';
|
|
51
|
-
import { SandToolLayoutProps } from './components/Layout/Layout';
|
|
52
|
-
import { SandToolPanel } from './components/Layout/Layout';
|
|
53
|
-
import { SandToolPanelProps } from './components/Layout/Layout';
|
|
54
|
-
|
|
55
|
-
export { SandBadge }
|
|
56
|
-
|
|
57
|
-
export { SandBadgeProps }
|
|
58
|
-
|
|
59
|
-
export { SandBreadcrumbItem }
|
|
60
|
-
|
|
61
|
-
export { SandBreadcrumbs }
|
|
62
|
-
|
|
63
|
-
export { SandBreadcrumbsProps }
|
|
64
|
-
|
|
65
|
-
export { SandButton }
|
|
66
|
-
|
|
67
|
-
export { SandButtonProps }
|
|
68
|
-
|
|
69
|
-
export { SandCard }
|
|
70
|
-
|
|
71
|
-
export { SandCardProps }
|
|
72
|
-
|
|
73
|
-
export { SandCheckbox }
|
|
74
|
-
|
|
75
|
-
export { SandChoiceBaseProps }
|
|
76
|
-
|
|
77
|
-
export { SandChoiceGroup }
|
|
78
|
-
|
|
79
|
-
export { SandChoiceGroupProps }
|
|
80
|
-
|
|
81
|
-
export { SandCodeBlock }
|
|
82
|
-
|
|
83
|
-
export { SandCodeBlockProps }
|
|
84
|
-
|
|
85
|
-
export { SandCodeTabs }
|
|
86
|
-
|
|
87
|
-
export { SandCodeTabsProps }
|
|
88
|
-
|
|
89
|
-
export { SandContainer }
|
|
90
|
-
|
|
91
|
-
export { SandContainerProps }
|
|
92
|
-
|
|
93
|
-
export { SandDivider }
|
|
94
|
-
|
|
95
|
-
export { SandDividerProps }
|
|
96
|
-
|
|
97
|
-
export { SandFeedbackProps }
|
|
98
|
-
|
|
99
|
-
export { SandFormGroup }
|
|
100
|
-
|
|
101
|
-
export { SandFormGroupProps }
|
|
102
|
-
|
|
103
|
-
export { SandHeader }
|
|
104
|
-
|
|
105
|
-
export { SandHeaderProps }
|
|
106
|
-
|
|
107
|
-
export { SandInput }
|
|
108
|
-
|
|
109
|
-
export { SandInputGroup }
|
|
110
|
-
|
|
111
|
-
export { SandInputGroupProps }
|
|
112
|
-
|
|
113
|
-
export { SandInputProps }
|
|
114
|
-
|
|
115
|
-
export { SandKBD }
|
|
116
|
-
|
|
117
|
-
export { SandKBDProps }
|
|
118
|
-
|
|
119
|
-
export { SandMicroserviceLayout }
|
|
120
|
-
|
|
121
|
-
export { SandMicroserviceLayoutProps }
|
|
122
|
-
|
|
123
|
-
export { SandModal }
|
|
124
|
-
|
|
125
|
-
export { SandModalBodyProps }
|
|
126
|
-
|
|
127
|
-
export { SandModalDescriptionProps }
|
|
128
|
-
|
|
129
|
-
export { SandModalFooterProps }
|
|
130
|
-
|
|
131
|
-
export { SandModalHeaderProps }
|
|
132
|
-
|
|
133
|
-
export { SandModalProps }
|
|
134
|
-
|
|
135
|
-
export { SandModalTitleProps }
|
|
136
|
-
|
|
137
|
-
export { SandPagination }
|
|
138
|
-
|
|
139
|
-
export { SandPaginationProps }
|
|
140
|
-
|
|
141
|
-
export { SandRadio }
|
|
142
|
-
|
|
143
|
-
export { SandResultPanel }
|
|
144
|
-
|
|
145
|
-
export { SandResultPanelProps }
|
|
146
|
-
|
|
147
|
-
export { SandSnackbar }
|
|
148
|
-
|
|
149
|
-
export { SandSwitch }
|
|
150
|
-
|
|
151
|
-
export { SandToast }
|
|
152
|
-
|
|
153
|
-
export { SandToolLayout }
|
|
154
|
-
|
|
155
|
-
export { SandToolLayoutProps }
|
|
156
|
-
|
|
157
|
-
export { SandToolPanel }
|
|
158
|
-
|
|
159
|
-
export { SandToolPanelProps }
|
|
160
|
-
|
|
161
|
-
export { }
|