@emporix/component-library 1.2.1 → 1.3.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/index.umd.js DELETED
@@ -1,30 +0,0 @@
1
- (function(P,R){typeof exports=="object"&&typeof module<"u"?R(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],R):(P=typeof globalThis<"u"?globalThis:P||self,R(P.EmporixComponentLibrary={},P.React))})(this,(function(P,R){"use strict";var Y={exports:{}},N={};/**
2
- * @license React
3
- * react-jsx-runtime.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its 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 ae;function Le(){if(ae)return N;ae=1;var n=R,a=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,p=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function O(y,f,S){var _,T={},D=null,z=null;S!==void 0&&(D=""+S),f.key!==void 0&&(D=""+f.key),f.ref!==void 0&&(z=f.ref);for(_ in f)s.call(f,_)&&!m.hasOwnProperty(_)&&(T[_]=f[_]);if(y&&y.defaultProps)for(_ in f=y.defaultProps,f)T[_]===void 0&&(T[_]=f[_]);return{$$typeof:a,type:y,key:D,ref:z,props:T,_owner:p.current}}return N.Fragment=i,N.jsx=O,N.jsxs=O,N}var L={};/**
10
- * @license React
11
- * react-jsx-runtime.development.js
12
- *
13
- * Copyright (c) Facebook, Inc. and its 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 ie;function $e(){return ie||(ie=1,process.env.NODE_ENV!=="production"&&(function(){var n=R,a=Symbol.for("react.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),O=Symbol.for("react.provider"),y=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),z=Symbol.for("react.offscreen"),de=Symbol.iterator,Qe="@@iterator";function er(e){if(e===null||typeof e!="object")return null;var r=de&&e[de]||e[Qe];return typeof r=="function"?r:null}var F=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function g(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),o=1;o<r;o++)t[o-1]=arguments[o];rr("error",e,t)}}function rr(e,r,t){{var o=F.ReactDebugCurrentFrame,c=o.getStackAddendum();c!==""&&(r+="%s",t=t.concat([c]));var d=t.map(function(l){return String(l)});d.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,d)}}var tr=!1,nr=!1,ar=!1,ir=!1,or=!1,ve;ve=Symbol.for("react.module.reference");function sr(e){return!!(typeof e=="string"||typeof e=="function"||e===s||e===m||or||e===p||e===S||e===_||ir||e===z||tr||nr||ar||typeof e=="object"&&e!==null&&(e.$$typeof===D||e.$$typeof===T||e.$$typeof===O||e.$$typeof===y||e.$$typeof===f||e.$$typeof===ve||e.getModuleId!==void 0))}function ur(e,r,t){var o=e.displayName;if(o)return o;var c=r.displayName||r.name||"";return c!==""?t+"("+c+")":t}function pe(e){return e.displayName||"Context"}function x(e){if(e==null)return null;if(typeof e.tag=="number"&&g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case s:return"Fragment";case i:return"Portal";case m:return"Profiler";case p:return"StrictMode";case S:return"Suspense";case _:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case y:var r=e;return pe(r)+".Consumer";case O:var t=e;return pe(t._context)+".Provider";case f:return ur(e,e.render,"ForwardRef");case T:var o=e.displayName||null;return o!==null?o:x(e.type)||"Memo";case D:{var c=e,d=c._payload,l=c._init;try{return x(l(d))}catch{return null}}}return null}var k=Object.assign,$=0,be,me,ye,_e,ge,he,Ee;function Re(){}Re.__reactDisabledLog=!0;function lr(){{if($===0){be=console.log,me=console.info,ye=console.warn,_e=console.error,ge=console.group,he=console.groupCollapsed,Ee=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Re,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}$++}}function cr(){{if($--,$===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:k({},e,{value:be}),info:k({},e,{value:me}),warn:k({},e,{value:ye}),error:k({},e,{value:_e}),group:k({},e,{value:ge}),groupCollapsed:k({},e,{value:he}),groupEnd:k({},e,{value:Ee})})}$<0&&g("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var G=F.ReactCurrentDispatcher,X;function U(e,r,t){{if(X===void 0)try{throw Error()}catch(c){var o=c.stack.trim().match(/\n( *(at )?)/);X=o&&o[1]||""}return`
18
- `+X+e}}var Z=!1,J;{var fr=typeof WeakMap=="function"?WeakMap:Map;J=new fr}function Oe(e,r){if(!e||Z)return"";{var t=J.get(e);if(t!==void 0)return t}var o;Z=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var d;d=G.current,G.current=null,lr();try{if(r){var l=function(){throw Error()};if(Object.defineProperty(l.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(l,[])}catch(E){o=E}Reflect.construct(e,[],l)}else{try{l.call()}catch(E){o=E}e.call(l.prototype)}}else{try{throw Error()}catch(E){o=E}e()}}catch(E){if(E&&o&&typeof E.stack=="string"){for(var u=E.stack.split(`
19
- `),h=o.stack.split(`
20
- `),v=u.length-1,b=h.length-1;v>=1&&b>=0&&u[v]!==h[b];)b--;for(;v>=1&&b>=0;v--,b--)if(u[v]!==h[b]){if(v!==1||b!==1)do if(v--,b--,b<0||u[v]!==h[b]){var C=`
21
- `+u[v].replace(" at new "," at ");return e.displayName&&C.includes("<anonymous>")&&(C=C.replace("<anonymous>",e.displayName)),typeof e=="function"&&J.set(e,C),C}while(v>=1&&b>=0);break}}}finally{Z=!1,G.current=d,cr(),Error.prepareStackTrace=c}var I=e?e.displayName||e.name:"",B=I?U(I):"";return typeof e=="function"&&J.set(e,B),B}function dr(e,r,t){return Oe(e,!1)}function vr(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function q(e,r,t){if(e==null)return"";if(typeof e=="function")return Oe(e,vr(e));if(typeof e=="string")return U(e);switch(e){case S:return U("Suspense");case _:return U("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return dr(e.render);case T:return q(e.type,r,t);case D:{var o=e,c=o._payload,d=o._init;try{return q(d(c),r,t)}catch{}}}return""}var W=Object.prototype.hasOwnProperty,Ce={},je=F.ReactDebugCurrentFrame;function H(e){if(e){var r=e._owner,t=q(e.type,e._source,r?r.type:null);je.setExtraStackFrame(t)}else je.setExtraStackFrame(null)}function pr(e,r,t,o,c){{var d=Function.call.bind(W);for(var l in e)if(d(e,l)){var u=void 0;try{if(typeof e[l]!="function"){var h=Error((o||"React class")+": "+t+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}u=e[l](r,l,o,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(v){u=v}u&&!(u instanceof Error)&&(H(c),g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",o||"React class",t,l,typeof u),H(null)),u instanceof Error&&!(u.message in Ce)&&(Ce[u.message]=!0,H(c),g("Failed %s type: %s",t,u.message),H(null))}}}var br=Array.isArray;function Q(e){return br(e)}function mr(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function yr(e){try{return Pe(e),!1}catch{return!0}}function Pe(e){return""+e}function we(e){if(yr(e))return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",mr(e)),Pe(e)}var Te=F.ReactCurrentOwner,_r={key:!0,ref:!0,__self:!0,__source:!0},Se,xe;function gr(e){if(W.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function hr(e){if(W.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Er(e,r){typeof e.ref=="string"&&Te.current}function Rr(e,r){{var t=function(){Se||(Se=!0,g("%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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function Or(e,r){{var t=function(){xe||(xe=!0,g("%s: `ref` 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://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var Cr=function(e,r,t,o,c,d,l){var u={$$typeof:a,type:e,key:r,ref:t,props:l,_owner:d};return u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:c}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u};function jr(e,r,t,o,c){{var d,l={},u=null,h=null;t!==void 0&&(we(t),u=""+t),hr(r)&&(we(r.key),u=""+r.key),gr(r)&&(h=r.ref,Er(r,c));for(d in r)W.call(r,d)&&!_r.hasOwnProperty(d)&&(l[d]=r[d]);if(e&&e.defaultProps){var v=e.defaultProps;for(d in v)l[d]===void 0&&(l[d]=v[d])}if(u||h){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;u&&Rr(l,b),h&&Or(l,b)}return Cr(e,u,h,c,o,Te.current,l)}}var ee=F.ReactCurrentOwner,De=F.ReactDebugCurrentFrame;function A(e){if(e){var r=e._owner,t=q(e.type,e._source,r?r.type:null);De.setExtraStackFrame(t)}else De.setExtraStackFrame(null)}var re;re=!1;function te(e){return typeof e=="object"&&e!==null&&e.$$typeof===a}function ke(){{if(ee.current){var e=x(ee.current.type);if(e)return`
22
-
23
- Check the render method of \``+e+"`."}return""}}function Pr(e){return""}var Be={};function wr(e){{var r=ke();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
24
-
25
- Check the top-level render call using <`+t+">.")}return r}}function Fe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=wr(r);if(Be[t])return;Be[t]=!0;var o="";e&&e._owner&&e._owner!==ee.current&&(o=" It was passed a child from "+x(e._owner.type)+"."),A(e),g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,o),A(null)}}function Ae(e,r){{if(typeof e!="object")return;if(Q(e))for(var t=0;t<e.length;t++){var o=e[t];te(o)&&Fe(o,r)}else if(te(e))e._store&&(e._store.validated=!0);else if(e){var c=er(e);if(typeof c=="function"&&c!==e.entries)for(var d=c.call(e),l;!(l=d.next()).done;)te(l.value)&&Fe(l.value,r)}}}function Tr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===f||r.$$typeof===T))t=r.propTypes;else return;if(t){var o=x(r);pr(t,e.props,"prop",o,e)}else if(r.PropTypes!==void 0&&!re){re=!0;var c=x(r);g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",c||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Sr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var o=r[t];if(o!=="children"&&o!=="key"){A(e),g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",o),A(null);break}}e.ref!==null&&(A(e),g("Invalid attribute `ref` supplied to `React.Fragment`."),A(null))}}var Ie={};function Ne(e,r,t,o,c,d){{var l=sr(e);if(!l){var u="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(u+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var h=Pr();h?u+=h:u+=ke();var v;e===null?v="null":Q(e)?v="array":e!==void 0&&e.$$typeof===a?(v="<"+(x(e.type)||"Unknown")+" />",u=" Did you accidentally export a JSX literal instead of a component?"):v=typeof e,g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",v,u)}var b=jr(e,r,t,c,d);if(b==null)return b;if(l){var C=r.children;if(C!==void 0)if(o)if(Q(C)){for(var I=0;I<C.length;I++)Ae(C[I],e);Object.freeze&&Object.freeze(C)}else g("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 Ae(C,e)}if(W.call(r,"key")){var B=x(e),E=Object.keys(r).filter(function(Ar){return Ar!=="key"}),ne=E.length>0?"{key: someKey, "+E.join(": ..., ")+": ...}":"{key: someKey}";if(!Ie[B+ne]){var Fr=E.length>0?"{"+E.join(": ..., ")+": ...}":"{}";g(`A props object containing a "key" prop is being spread into JSX:
26
- let props = %s;
27
- <%s {...props} />
28
- React keys must be passed directly to JSX without using spread:
29
- let props = %s;
30
- <%s key={someKey} {...props} />`,ne,B,Fr,B),Ie[B+ne]=!0}}return e===s?Sr(b):Tr(b),b}}function xr(e,r,t){return Ne(e,r,t,!0)}function Dr(e,r,t){return Ne(e,r,t,!1)}var kr=Dr,Br=xr;L.Fragment=s,L.jsx=kr,L.jsxs=Br})()),L}var oe;function We(){return oe||(oe=1,process.env.NODE_ENV==="production"?Y.exports=Le():Y.exports=$e()),Y.exports}var j=We();const K={primaryButton:"_primaryButton_uyzzr_1",primaryButtonDisabled:"_primaryButtonDisabled_uyzzr_34",spinner:"_spinner_uyzzr_42"};var se={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ue=R.createContext&&R.createContext(se),Ye=["attr","size","title"];function Me(n,a){if(n==null)return{};var i=Ve(n,a),s,p;if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(n);for(p=0;p<m.length;p++)s=m[p],!(a.indexOf(s)>=0)&&Object.prototype.propertyIsEnumerable.call(n,s)&&(i[s]=n[s])}return i}function Ve(n,a){if(n==null)return{};var i={};for(var s in n)if(Object.prototype.hasOwnProperty.call(n,s)){if(a.indexOf(s)>=0)continue;i[s]=n[s]}return i}function M(){return M=Object.assign?Object.assign.bind():function(n){for(var a=1;a<arguments.length;a++){var i=arguments[a];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])}return n},M.apply(this,arguments)}function le(n,a){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);a&&(s=s.filter(function(p){return Object.getOwnPropertyDescriptor(n,p).enumerable})),i.push.apply(i,s)}return i}function V(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{};a%2?le(Object(i),!0).forEach(function(s){ze(n,s,i[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):le(Object(i)).forEach(function(s){Object.defineProperty(n,s,Object.getOwnPropertyDescriptor(i,s))})}return n}function ze(n,a,i){return a=Ue(a),a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}function Ue(n){var a=Je(n,"string");return typeof a=="symbol"?a:a+""}function Je(n,a){if(typeof n!="object"||!n)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var s=i.call(n,a);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(n)}function ce(n){return n&&n.map((a,i)=>R.createElement(a.tag,V({key:i},a.attr),ce(a.child)))}function qe(n){return a=>R.createElement(He,M({attr:V({},n.attr)},a),ce(n.child))}function He(n){var a=i=>{var{attr:s,size:p,title:m}=n,O=Me(n,Ye),y=p||i.size||"1em",f;return i.className&&(f=i.className),n.className&&(f=(f?f+" ":"")+n.className),R.createElement("svg",M({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},i.attr,s,O,{className:f,style:V(V({color:n.color||i.color},i.style),n.style),height:y,width:y,xmlns:"http://www.w3.org/2000/svg"}),m&&R.createElement("title",null,m),n.children)};return ue!==void 0?R.createElement(ue.Consumer,null,i=>a(i)):a(se)}function Ke(n){return qe({attr:{viewBox:"0 0 24 24",fill:"none"},child:[{tag:"path",attr:{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19ZM12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",fill:"currentColor"},child:[]},{tag:"path",attr:{d:"M2 12C2 6.47715 6.47715 2 12 2V5C8.13401 5 5 8.13401 5 12H2Z",fill:"currentColor"},child:[]}]})(n)}const Ge=({children:n,disabled:a=!1,loading:i=!1,onClick:s,className:p="","data-testid":m,...O})=>{const y=[K.primaryButton,a?K.primaryButtonDisabled:"",p].filter(Boolean).join(" ");return j.jsxs("button",{type:"button",className:y,disabled:a||i,onClick:s,"data-testid":m,...O,children:[i&&j.jsx(Ke,{className:K.spinner,size:12}),n]})},fe={secondaryButton:"_secondaryButton_1s7ft_1",secondaryButtonDisabled:"_secondaryButtonDisabled_1s7ft_33"},Xe=({children:n,disabled:a=!1,onClick:i,className:s="","data-testid":p,...m})=>{const O=[fe.secondaryButton,a?fe.secondaryButtonDisabled:"",s].filter(Boolean).join(" ");return j.jsx("button",{type:"button",className:O,disabled:a,onClick:i,"data-testid":p,...m,children:n})},w={tabsContainer:"_tabsContainer_m3c4e_1",tabsHeader:"_tabsHeader_m3c4e_7",tabItem:"_tabItem_m3c4e_13",tabContent:"_tabContent_m3c4e_29",tabLabel:"_tabLabel_m3c4e_51",tabLine:"_tabLine_m3c4e_61",active:"_active_m3c4e_68",inactive:"_inactive_m3c4e_76",tabPanels:"_tabPanels_m3c4e_84"},Ze=({tabs:n,activeTabId:a,onTabChange:i,className:s="","data-testid":p,...m})=>{var y;const O=[w.tabsContainer,s].filter(Boolean).join(" ");return j.jsxs("div",{className:O,"data-testid":p,...m,children:[j.jsx("div",{className:w.tabsHeader,children:n.map(f=>{const S=f.id===a,_=[w.tabItem,S?w.active:w.inactive].filter(Boolean).join(" ");return j.jsxs("button",{type:"button",className:_,onClick:()=>i(f.id),"data-testid":`${p}-tab-${f.id}`,children:[j.jsx("div",{className:w.tabContent,children:j.jsx("span",{className:w.tabLabel,children:f.label})}),j.jsx("div",{className:w.tabLine})]},f.id)})}),j.jsx("div",{className:w.tabPanels,children:(y=n.find(f=>f.id===a))==null?void 0:y.content})]})};P.PrimaryButton=Ge,P.SecondaryButton=Xe,P.Tabs=Ze,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
package/dist/style.css DELETED
@@ -1 +0,0 @@
1
- ._primaryButton_uyzzr_1{background:var(--color-primary);border:1px solid var(--color-primary);align-items:center;border-radius:4px;font-family:Lato,sans-serif;font-style:normal;font-weight:700;font-size:12px;line-height:1.5;text-transform:uppercase;color:#fff;padding:0 1.5rem;cursor:pointer;height:34px;transition:background-color .3s ease}._primaryButton_uyzzr_1:focus{outline:0;box-shadow:0 0 0 .2rem #007bff40}._primaryButton_uyzzr_1:disabled{cursor:not-allowed;color:#9cbbe3;border:1px solid var(--color-primary-hover);background:var(--color-primary-hover);opacity:.8}._primaryButton_uyzzr_1:hover{border:1px solid var(--color-primary-hover);background:var(--color-primary-hover)}._primaryButtonDisabled_uyzzr_34{cursor:not-allowed;opacity:.8}._primaryButtonDisabled_uyzzr_34:hover{transform:none}._spinner_uyzzr_42{animation:_spin_uyzzr_42 1s linear infinite;margin-right:.5rem}@keyframes _spin_uyzzr_42{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._secondaryButton_1s7ft_1{background:transparent;border:1px solid var(--color-primary);align-items:center;border-radius:4px;font-family:Lato,sans-serif;font-style:normal;font-weight:700;font-size:12px;line-height:1.5;text-transform:uppercase;color:var(--color-primary);padding:0 1.5rem;cursor:pointer;height:34px;transition:background-color .3s ease,border-color .3s ease,color .3s ease}._secondaryButton_1s7ft_1:focus{outline:0;box-shadow:0 0 0 .2rem #007bff40}._secondaryButton_1s7ft_1:disabled{cursor:not-allowed;color:#9cbbe3;border:1px solid #9cbbe3;background:transparent;opacity:.5}._secondaryButton_1s7ft_1:hover{background:#efefef}._secondaryButtonDisabled_1s7ft_33{cursor:not-allowed;opacity:.65}._secondaryButtonDisabled_1s7ft_33:hover{transform:none;background:transparent;color:#9cbbe3}._tabsContainer_m3c4e_1{display:flex;flex-direction:column;width:100%}._tabsHeader_m3c4e_7{display:flex;align-items:center;gap:0}._tabItem_m3c4e_13{display:flex;flex-direction:column;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .2s ease;background:none;border:none;padding:0;margin:0;font-family:inherit;font-size:inherit;color:inherit}._tabItem_m3c4e_13:hover ._tabContent_m3c4e_29{background-color:#128afb0d}._tabItem_m3c4e_13:focus{outline:none}._tabItem_m3c4e_13:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}._tabContent_m3c4e_29{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:10px;padding:var(--spacing-sm) var(--spacing-md);border-radius:var(--border-radius-sm) var(--border-radius-sm) 0 0;transition:background-color .2s ease}._tabLabel_m3c4e_51{font-family:Lato,sans-serif;font-size:var(--font-size-base);line-height:1.5em;text-align:center;font-weight:var(--font-weight-normal);color:var(--color-text-secondary);transition:color .2s ease}._tabLine_m3c4e_61{width:100%;height:2px;background-color:transparent;transition:background-color .2s ease}._active_m3c4e_68 ._tabLabel_m3c4e_51{font-weight:var(--font-weight-bold);color:var(--color-text-primary)}._active_m3c4e_68 ._tabLine_m3c4e_61{background-color:var(--color-primary)}._inactive_m3c4e_76 ._tabLabel_m3c4e_51{font-weight:var(--font-weight-normal);color:var(--color-text-secondary)}._inactive_m3c4e_76 ._tabLine_m3c4e_61{background-color:var(--color-border-light)}._tabPanels_m3c4e_84{padding:var(--spacing-md) 0;background-color:transparent}:root{--color-primary: #3b73bb;--color-primary-hover: #2665b7;--color-dark: #3e4759;--color-text-primary: #212529;--color-text-secondary: #6c757d;--color-bg-primary: #ffffff;--color-bg-secondary: #f8f9fa;--color-border-light: #e9ecef;--spacing-sm: .5rem;--spacing-md: 1rem;--spacing-lg: 1.5rem;--spacing-xl: 3rem;--border-radius-sm: .25rem;--border-radius-md: .375rem;--border-radius-lg: .5rem;--font-size-sm: .875rem;--font-size-base: 1rem;--font-size-lg: 1.125rem;--font-weight-normal: 400;--font-weight-bold: 700}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--color-text-primary);background-color:var(--color-bg-primary);margin:0;padding:0}
package/dist/styles.d.ts DELETED
@@ -1,4 +0,0 @@
1
- declare module '@emporix/component-library/styles' {
2
- const styles: string;
3
- export default styles;
4
- }