@hbuesing/ui-library 5.0.0-beta.15 → 5.0.0-beta.16
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/components/button/index.d.ts +0 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/package.json +9 -3
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--uil-black: #000000;--uil-black-alt: #222222;--uil-black-light: #2b2b2b;--uil-black-lighter: #333333;--uil-white: #ffffff;--uil-white-alt: #ffffff;--uil-grey: #f3f3f3;--uil-grey-alt: #cfcfcf;--uil-grey-dark: #878787;--uil-outline-focus: #2779ca;--uil-default-hover: 39, 121, 202;--uil-success-hover: 0, 156, 115;--uil-warning-hover: 255, 215, 0;--uil-error-hover: 207, 9, 52;--uil-custom-hover: 0, 0, 0;--uil-success: #009c73;--uil-error: #CF0934;--uil-warning: #FFD700;--uil-warning-alt: #d1b21a;--uil-xxxs: .125rem;--uil-xxs: .25rem;--uil-xs: .5rem;--uil-s: .75rem;--uil-m: 1rem;--uil-l: 1.25rem;--uil-xl: 1.5rem;--uil-xxl: 1.75rem;--uil-xxxl: 2rem}.L{min-height:fit-content;min-width:fit-content;height:fit-content;width:fit-content}.M{font-size:var(--uil-m);line-height:var(--uil-m)}.N{font-size:var(--uil-l);line-height:var(--uil-l)}.O{font-size:var(--uil-xxl);line-height:var(--uil-xxl)}.P{--uil-black: #ffffff;--uil-outline-focus: #7bb4ff;--uil-grey-dark: #a3a3a3;--uil-grey-alt: #5c5c5c;--uil-white-alt: #3a3a3a;--uil-default-hover: 50, 121, 202;--uil-black-alt: #c3c3c3;--uil-success: #00cc96;--uil-success-hover: 0, 163, 115;--uil-warning: #FFFF3E;--uil-warning-alt: #dcdc38;--uil-warning-hover: 255, 255, 30;--uil-error: #fb0b41;--uil-error-hover: 239, 34, 79;--uil-custom-hover: 255, 255, 255}.e{margin:auto;border-radius:5px;background-color:var(--uil-white-alt)}.e::backdrop{background-color:#00000080}.e.Q{width:25%}.e.R{width:50%}.e.S{width:75%}.e .f{font-weight:700;padding:.5rem}.e .f.A{background-color:var(--uil-outline-focus);color:var(--uil-white)}.e .f.B{background-color:var(--uil-success);color:var(--uil-white)}.e .f.G{background-color:var(--uil-warning);color:var(--uil-black-light)}.e .f.H{background-color:var(--uil-error);color:var(--uil-white)}.e .f.A,.e .f.B,.e .f.G,.e .f.H{border-top-left-radius:4px;border-top-right-radius:4px}.e .I{display:flex;flex-direction:column;padding:.5rem}.e .I.T{border-top:1px solid var(--uil-grey-alt);border-bottom:1px solid var(--uil-grey-alt)}.e .z{display:flex;gap:2rem;padding:.5rem}.e .z.U{justify-content:start}.e .z.V{justify-content:end}.e .z.W{justify-content:space-between}.
|
|
1
|
+
:root{--uil-black: #000000;--uil-black-alt: #222222;--uil-black-light: #2b2b2b;--uil-black-lighter: #333333;--uil-white: #ffffff;--uil-white-alt: #ffffff;--uil-grey: #f3f3f3;--uil-grey-alt: #cfcfcf;--uil-grey-dark: #878787;--uil-outline-focus: #2779ca;--uil-default-hover: 39, 121, 202;--uil-success-hover: 0, 156, 115;--uil-warning-hover: 255, 215, 0;--uil-error-hover: 207, 9, 52;--uil-custom-hover: 0, 0, 0;--uil-success: #009c73;--uil-error: #CF0934;--uil-warning: #FFD700;--uil-warning-alt: #d1b21a;--uil-xxxs: .125rem;--uil-xxs: .25rem;--uil-xs: .5rem;--uil-s: .75rem;--uil-m: 1rem;--uil-l: 1.25rem;--uil-xl: 1.5rem;--uil-xxl: 1.75rem;--uil-xxxl: 2rem}.L{min-height:fit-content;min-width:fit-content;height:fit-content;width:fit-content}.M{font-size:var(--uil-m);line-height:var(--uil-m)}.N{font-size:var(--uil-l);line-height:var(--uil-l)}.O{font-size:var(--uil-xxl);line-height:var(--uil-xxl)}.P{--uil-black: #ffffff;--uil-outline-focus: #7bb4ff;--uil-grey-dark: #a3a3a3;--uil-grey-alt: #5c5c5c;--uil-white-alt: #3a3a3a;--uil-default-hover: 50, 121, 202;--uil-black-alt: #c3c3c3;--uil-success: #00cc96;--uil-success-hover: 0, 163, 115;--uil-warning: #FFFF3E;--uil-warning-alt: #dcdc38;--uil-warning-hover: 255, 255, 30;--uil-error: #fb0b41;--uil-error-hover: 239, 34, 79;--uil-custom-hover: 255, 255, 255}.e{margin:auto;border-radius:5px;background-color:var(--uil-white-alt)}.e::backdrop{background-color:#00000080}.e.Q{width:25%}.e.R{width:50%}.e.S{width:75%}.e .f{font-weight:700;padding:.5rem}.e .f.A{background-color:var(--uil-outline-focus);color:var(--uil-white)}.e .f.B{background-color:var(--uil-success);color:var(--uil-white)}.e .f.G{background-color:var(--uil-warning);color:var(--uil-black-light)}.e .f.H{background-color:var(--uil-error);color:var(--uil-white)}.e .f.A,.e .f.B,.e .f.G,.e .f.H{border-top-left-radius:4px;border-top-right-radius:4px}.e .I{display:flex;flex-direction:column;padding:.5rem}.e .I.T{border-top:1px solid var(--uil-grey-alt);border-bottom:1px solid var(--uil-grey-alt)}.e .z{display:flex;gap:2rem;padding:.5rem}.e .z.U{justify-content:start}.e .z.V{justify-content:end}.e .z.W{justify-content:space-between}.n{display:flex;align-items:center;gap:var(--uil-s)}.n:has(input:disabled) .J{color:var(--uil-grey-dark)}.n .J{color:var(--uil-black)}.n .b{position:relative;display:block;min-height:var(--uil-l);min-width:var(--uil-l);border:2px solid var(--uil-grey-dark);box-sizing:border-box;cursor:pointer}.n .b:hover,.n .b:has(input:checked){border-color:var(--uil-black)}.n .b.X{border-radius:2px}.n .b.K,.n .b.K .Y{border-radius:50%}.n .b:has(input:disabled){border-color:var(--uil-grey-alt);cursor:default}.n .b input{position:absolute;cursor:pointer;height:0;width:0;opacity:0}.n .b input:checked~.j{transform:scale(1)}.n .b input:disabled~.j{background-color:var(--uil-grey-dark)}.n .b .j{position:absolute;top:25%;left:25%;background-color:var(--uil-outline-focus);width:var(--uil-xs);height:var(--uil-xs);transform:scale(0);transition:.1s ease}.C{display:flex;gap:var(--uil-m)}.C.Z{flex-direction:row}.C._{flex-direction:column}.r{width:100%}.r .o{position:relative;display:flex;align-items:center}.r .o.d{border-bottom:1px solid var(--uil-grey-dark)}.r .o.d .i{padding-left:0}.r .o.d .u{left:0}.r .o.d .a{border-bottom:1px solid var(--uil-grey-dark)}.r .o.d .t.F{margin-right:.875rem}.r .o.s,.r .o.s .a{border:1px solid var(--uil-grey-dark);border-radius:5px}.r .o.s .t.F{margin-left:.875rem}.r .o.s .t.rr{margin-right:.875rem}.r .o.d:not(:has(.i:disabled)):not(.c):not(:focus-within):has(.i:placeholder-shown):hover,.r .o.s:not(:has(.i:disabled)):not(.c):not(:focus-within):has(.i:placeholder-shown):hover{border-color:var(--uil-black)}.r .o.d:not(:has(.i:disabled)):not(.c):not(:focus-within):has(.i:placeholder-shown):hover .a,.r .o.s:not(:has(.i:disabled)):not(.c):not(:focus-within):has(.i:placeholder-shown):hover .a{border-color:var(--uil-black)}.r .o.d:not(:has(.i:disabled)):not(.c):not(:focus-within):has(:not(.i:placeholder-shown)):hover .a,.r .o.s:not(:has(.i:disabled)):not(.c):not(:focus-within):has(:not(.i:placeholder-shown)):hover .a{border-color:var(--uil-black)}.r .o.d:focus-within,.r .o.d:has(.i:not(:placeholder-shown)),.r .o.s:focus-within,.r .o.s:has(.i:not(:placeholder-shown)){border-color:transparent}.r .o.d:has(.t.F),.r .o.s:has(.t.F){flex-direction:row-reverse}.r .o.d:has(.t.w),.r .o.s:has(.t.w){border:transparent}.r .o.d:has(.i:disabled),.r .o.s:has(.i:disabled){border-color:var(--uil-grey-alt)}.r .o.d:has(.i:disabled:not(:placeholder-shown)),.r .o.s:has(.i:disabled:not(:placeholder-shown)){border-color:transparent}.r .o.c{border-color:var(--uil-error)}.r .o.c .a,.r .o.c .i:focus~.a,.r .o.c .i:not(:placeholder-shown)~.a{border-color:var(--uil-error)}.r .o.c .u{color:var(--uil-error);opacity:1}.r .o .a{border-radius:0;padding:var(--uil-s);margin:0;position:absolute;top:-.8125rem;left:0;right:0;bottom:0;pointer-events:none;visibility:hidden;border:none}.r .o .a .or{visibility:hidden;padding:0 2px}.r .o .u{position:absolute;top:20%;left:var(--uil-m);cursor:text;color:var(--uil-black);opacity:.6;transition:top .25s ease-in-out}.r .o .h{font-size:var(--uil-l);line-height:var(--uil-l);transition:font-size .25s ease,line-height .25s ease}.r .o .h.ir{margin-left:var(--uil-xxxs)}.r .o .i{box-sizing:border-box;width:100%;color:var(--uil-black);background-color:transparent;border-radius:0;padding:var(--uil-xs);padding-left:.875rem;border:none;outline:none}.r .o .i:disabled{color:var(--uil-grey-dark)}.r .o .i:disabled~.a{border-color:var(--uil-grey-alt)}.r .o .i:disabled:not(:placeholder-shown)~.a{border-color:var(--uil-grey-alt)}.r .o .i:disabled~.u{color:var(--uil-grey-dark);opacity:1;cursor:default}.r .o .t{min-width:fit-content;opacity:.75}.r .o .t.x{visibility:hidden}.r .o .i:focus~.t.x,.r .o .i:not(:placeholder-shown)~.t.x{visibility:visible}.r .o .i:focus~.u,.r .o .i:not(:placeholder-shown)~.u,.r .o .i:focus~.t.x~.u,.r .o .t.w~.u{top:-35%}.r .o:not(.c) .i:not(:disabled):focus~.u{opacity:1;color:var(--uil-outline-focus)}.r .o .i:focus~.a,.r .o .i:not(:placeholder-shown)~.a,.r .o .i:focus~.t.x~.a,.r .o .t.w~.a{visibility:visible}.r .o .i:focus~.a{border-color:var(--uil-outline-focus);border-width:2px}.r .o .i:focus~.u .h,.r .o .i:not(:placeholder-shown)~.u .h,.r .o .i:focus~.t.x~.u .h,.r .o .t.w~.u .h,.r .o .i:focus~.a .h,.r .o .i:not(:placeholder-shown)~.a .h,.r .o .i:focus~.t.x~.a .h,.r .o .t.w~.a .h{font-size:var(--uil-s);line-height:var(--uil-s)}.r .D{color:var(--uil-grey-dark);font-size:var(--uil-m);line-height:var(--uil-m);margin-left:var(--uil-s);margin-top:var(--uil-xxs);min-height:var(--uil-m)}.r .D.c{color:var(--uil-error)}.r .o.d~.D{margin-left:0}.lr{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background-color:#00000080;z-index:auto}.l{display:block;border:1px solid transparent;border-radius:5px;box-sizing:border-box;background-color:transparent;cursor:pointer}.l:not(:disabled).v{color:var(--uil-white);background-color:var(--uil-outline-focus);box-shadow:0 0 2px 0 var(--uil-black-alt)}.l:not(:disabled).v:hover{background-color:rgba(var(--uil-default-hover),.9)}.l:not(:disabled).g{color:var(--uil-outline-focus);border-color:var(--uil-outline-focus)}.l:not(:disabled).g:not(:disabled):hover{background-color:rgba(var(--uil-default-hover),.12)}.l:not(:disabled).p{color:var(--uil-outline-focus)}.l:not(:disabled).p:not(:disabled):hover{background-color:rgba(var(--uil-default-hover),.08)}.l:not(:disabled).k.v{color:var(--uil-white);background-color:var(--uil-success)}.l:not(:disabled).k.v:hover{background-color:rgba(var(--uil-success-hover),.9)}.l:not(:disabled).k.g{color:var(--uil-success);border-color:var(--uil-success)}.l:not(:disabled).k.g:hover{background-color:rgba(var(--uil-success-hover),.15)}.l:not(:disabled).k.p{color:var(--uil-success)}.l:not(:disabled).k.p:hover{background-color:rgba(var(--uil-success-hover),.07)}.l:not(:disabled).m.v{color:var(--uil-black-light);background-color:var(--uil-warning)}.l:not(:disabled).m.v:hover{background-color:rgba(var(--uil-warning-hover),.7)}.l:not(:disabled).m.g{color:var(--uil-warning-alt);border-color:var(--uil-warning)}.l:not(:disabled).m.g:hover{background-color:rgba(var(--uil-warning-hover),.1)}.l:not(:disabled).m.p{color:var(--uil-warning-alt)}.l:not(:disabled).m.p:hover{background-color:rgba(var(--uil-warning-hover),.1)}.l:not(:disabled).y.v{color:var(--uil-white);background-color:var(--uil-error)}.l:not(:disabled).y.v:hover{background-color:rgba(var(--uil-error-hover),.9)}.l:not(:disabled).y.g{color:var(--uil-error);border-color:var(--uil-error)}.l:not(:disabled).y.g:hover{background-color:rgba(var(--uil-error-hover),.12)}.l:not(:disabled).y.p{color:var(--uil-error)}.l:not(:disabled).y.p:hover{background-color:rgba(var(--uil-error-hover),.08)}.l:not(:disabled).E.v:hover,.l:not(:disabled).E.g:hover,.l:not(:disabled).E.p:hover{opacity:.9;background-color:rgba(var(--uil-custom-hover),.05)}.l.q{cursor:default;color:var(--uil-grey-dark)}.l.q.v{background-color:var(--uil-grey)}.l.q.g{border-color:var(--uil-grey-dark)}.l.ar{letter-spacing:1px;padding:var(--uil-xxs)}.l.er{letter-spacing:2px;padding:var(--uil-xs)}.l.tr{letter-spacing:2px;padding:var(--uil-s)}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { Dialog, DialogTitle, DialogContent, DialogControls } from './components/dialog';
|
|
2
|
-
export { Button, type ButtonProps } from './components/button';
|
|
3
|
-
export { Radio } from './components/check/radio';
|
|
4
|
-
export { Backdrop } from './components/backdrop';
|
|
5
|
-
export { Checkbox } from './components/check/checkbox';
|
|
6
|
-
export { Input, InputDecorator } from './components/input';
|
|
7
2
|
export { RadioGroup, type RadioOption } from './components/check/radioGroup';
|
|
3
|
+
export { Input, InputDecorator } from './components/input';
|
|
4
|
+
export { Checkbox } from './components/check/checkbox';
|
|
5
|
+
export { Backdrop } from './components/backdrop';
|
|
6
|
+
export { Radio } from './components/check/radio';
|
|
7
|
+
export { Button } from './components/button';
|
|
8
8
|
export { useContrastColor } from '@hooks/index';
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var d={fit:"L",fontSmall:"M",fontMedium:"N",fontLarge:"O",dark:"P"};import S,{useEffect as
|
|
1
|
+
var d={fit:"L",fontSmall:"M",fontMedium:"N",fontLarge:"O",dark:"P"};import S,{useEffect as M,useRef as B}from"react";function i(r){let o="";return r.forEach(e=>{e==null||e===!1||(o!==""&&(o+=" "),o+=e)}),o}var h={dialog:"e",small:"Q",medium:"R",large:"S",title:"f",default:"A",success:"B",warning:"G",error:"H",content:"I",divider:"T",controls:"z",start:"U",end:"V","space-between":"W"};function L(r){let{ariaModal:o,children:e,dark:l=!1,describedby:a,labelledby:p,onCancel:u,open:f,scrollable:s=!1,size:c}=r,n=B(null);return M(()=>{f?(s||(document.body.style.paddingRight="15px",document.body.style.overflow="hidden"),n.current?.showModal()):(s||(document.body.style.paddingRight="",document.body.style.overflow=""),n.current?.close())},[f]),S.createElement("dialog",{ref:n,"aria-describedby":a,"aria-labelledby":p,"aria-modal":o,className:i([h.dialog,l&&d.dark,c&&h[c]]),onCancel:u},e)}import H from"react";function G(r){let{children:o,color:e,id:l}=r;return H.createElement("div",{className:i([h.title,e&&h[e],d.fontLarge]),id:l},o)}import O from"react";function j(r){let{children:o,divider:e=!1,id:l}=r;return O.createElement("div",{className:i([h.content,e&&h.divider]),id:l},o)}import q from"react";function K(r){let{children:o,position:e="end"}=r;return q.createElement("div",{className:i([h.controls,h[e]])},o)}import T from"react";var b={checkWrapper:"n",label:"J",check:"b",box:"X",radio:"K",radioCheck:"Y",checkmark:"j",radioWrapper:"C",row:"Z",column:"_"};import y from"react";function v(){let r=new Uint32Array(2);return crypto.getRandomValues(r),`uil${r[0].toString(32)}${r[1].toString(16)}`}function C(r){let{checked:o,children:e,color:l,dark:a,disabled:p,id:u,name:f,onChange:s,value:c,...n}=r,m=u??v();function W(F){!p&&s&&s(F)}function x(){document.querySelector(`#${m}`).click()}return y.createElement("div",{className:i([b.checkWrapper,a&&d.dark])},y.createElement("div",{className:`${b.check} ${b.radio}`,onClick:()=>{x()}},y.createElement("input",{id:m,name:f,type:"radio",value:c,checked:o,onChange:F=>{W(F)},disabled:p,tabIndex:p?-1:n.tabIndex??void 0,...n}),y.createElement("div",{className:`${b.checkmark} ${b.radioCheck}`,style:p?void 0:{backgroundColor:l}})),e&&y.createElement("label",{htmlFor:m,className:`${d.fontMedium} ${b.label}`},e))}function V(r){let{color:o,dark:e=!1,direction:l="column",disabled:a,name:p,onChange:u,options:f,selected:s}=r;function c(n){!a&&u&&u(n)}return T.createElement("div",{className:i([b.radioWrapper,b[l]])},f.map((n,m)=>T.createElement(C,{key:m,dark:e,color:o,onChange:c,checked:s===n.value,disabled:a??n.disabled,name:p,...n},n.label)))}var t={inputField:"r",inputWrapper:"o",basic:"d",input:"i",label:"u",fieldset:"a",decorator:"t",start:"F",outlined:"s",end:"rr",error:"c",visible:"w",legend:"or",labelText:"h",asterisk:"ir",focus:"x",helpText:"D"};import X from"react";function I(r){let{children:o,onFocus:e,position:l}=r;return X.createElement("div",{className:i([t.decorator,d.fontSmall,l==="start"?t.start:t.end,e?t.focus:t.visible])},o)}import g,{isValidElement as N}from"react";function _(r){let{children:o,dark:e,error:l,helpText:a,id:p,label:u,required:f,variant:s,...c}=r;if(o&&(!N(o)||o.type!==I))throw new Error(`<Input> received an invalid child. Expected <InputDecorator />, but got: ${N(o)?String(o.type):typeof o}.`);let n=p??v(),m=a?v():void 0;return g.createElement("div",{className:i([t.inputField,e&&d.dark])},g.createElement("div",{className:i([t.inputWrapper,s==="basic"?t.basic:t.outlined,l&&t.error])},g.createElement("input",{id:n,className:`${t.input} ${d.fontMedium}`,placeholder:"",required:f,...c,"aria-describedby":m}),o&&o,g.createElement("fieldset",{className:t.fieldset,"aria-hidden":!0},g.createElement("legend",{className:t.legend},g.createElement("span",{className:t.labelText},u),f&&g.createElement("span",{className:`${t.labelText} ${t.asterisk}`,"aria-hidden":!0},"*"))),g.createElement("label",{htmlFor:n,className:t.label},g.createElement("span",{className:t.labelText},u),f&&g.createElement("span",{className:`${t.labelText} ${t.asterisk}`,"aria-hidden":!0},"*"))),a&&g.createElement("div",{className:i([t.helpText,l&&t.error]),id:m},a))}import w from"react";function J(r){let{checked:o,children:e,color:l,dark:a,disabled:p,onChange:u,...f}=r,s=f.id??v();function c(m){!p&&u&&u(m)}function n(){document.querySelector(`#${s}`).click()}return w.createElement("div",{className:i([b.checkWrapper,a&&d.dark])},w.createElement("div",{className:i([b.check,b.box]),onClick:n},w.createElement("input",{type:"checkbox",checked:o,onChange:c,id:s,disabled:p,...f}),w.createElement("div",{className:i([b.checkmark]),style:p?void 0:{backgroundColor:l}})),e&&w.createElement("label",{htmlFor:s,className:`${d.fontMedium} ${b.label}`},e))}var D={backdrop:"lr"};import{createPortal as Y}from"react-dom";import Z from"react";function R(r){let{children:o,onClick:e,open:l,zIndex:a}=r;return l?Y(Z.createElement("div",{className:D.backdrop,style:{zIndex:a},onClick:e},o),document.body):null}var rr=new RegExp(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/);function P(r){if(!rr.test(r))throw new Error(`useContrastColor received an invalid hex color format. Expected '#000' or '#000000', but got: ${r}`);r=r.replace("#","");let o;r.length===3?o=[parseInt(r.substring(0),16)/255,parseInt(r.substring(1),16)/255,parseInt(r.substring(2),16)/255]:o=[parseInt(r.substring(0,2),16)/255,parseInt(r.substring(2,4),16)/255,parseInt(r.substring(4,6),16)/255];let[e,l,a]=o.map(u=>u<=.04045?u/12.92:((u+.055)/1.055)**2.4);return .2126*e+.7152*l+.0722*a>.179?"#000000":"#ffffff"}import E from"react";var k={button:"l",filled:"v",outlined:"g",text:"p",success:"k",warning:"m",error:"y",custom:"E",disabled:"q",small:"ar",medium:"er",large:"tr"};function or(r){let{children:o,color:e,dark:l,disabled:a,href:p,size:u="medium",target:f,variant:s,...c}=r,n=m();function m(){if(!(a||!e?.includes("#")))switch(s){case"filled":return{color:P(e),backgroundColor:e};case"outlined":return{color:e,borderColor:e};case"text":return{color:e};default:throw new Error(`<Button> received an unexpected variant. Expected 'filled', 'outline' or 'text', but got: ${String(s)}'`)}}function W(){let x;switch(u){case"small":x=d.fontSmall;break;case"medium":x=d.fontMedium;break;case"large":x=d.fontLarge;break;default:throw new Error(`<Button> received an unsupported size. Expected 'small', 'medium' or 'large', but got: ${String(u)}`)}return i([k.button,d.fit,x,k[u],k[s],l&&d.dark,e&&!e.includes("#")&&k[e],n&&k.custom,a&&k.disabled])}return p||p===""?E.createElement("a",{href:p,target:f,id:c.id,title:c.title,style:n,className:W()},o):E.createElement("button",{style:n,className:W(),type:c.type??"button",disabled:a,"aria-disabled":a,tabIndex:a?-1:c.tabIndex,...c},o)}export{R as Backdrop,or as Button,J as Checkbox,L as Dialog,j as DialogContent,K as DialogControls,G as DialogTitle,_ as Input,I as InputDecorator,C as Radio,V as RadioGroup,P as useContrastColor};
|
package/package.json
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"private": false,
|
|
3
3
|
"name": "@hbuesing/ui-library",
|
|
4
|
-
"version": "5.0.0-beta.
|
|
4
|
+
"version": "5.0.0-beta.16",
|
|
5
5
|
"description": "Collection of reusable ui components for react based applications",
|
|
6
6
|
"source": "src/index.ts",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"import":
|
|
12
|
-
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"default": "./dist/index.js"
|
|
18
|
+
}
|
|
13
19
|
},
|
|
14
20
|
"./index.css": {
|
|
15
21
|
"import": "./dist/index.css",
|