asma-core-ui 3.1.6 → 3.1.7
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/asma-core-ui.es.js +1 -1
- package/package.json +127 -127
- package/CHANGELOG.md +0 -686
package/dist/asma-core-ui.es.js
CHANGED
|
@@ -17,4 +17,4 @@ import*as e from"react";import t,{forwardRef as o,createElement as n,useState as
|
|
|
17
17
|
* This source code is licensed under the MIT license found in the
|
|
18
18
|
* LICENSE file in the root directory of this source tree.
|
|
19
19
|
*/
|
|
20
|
-
"production"===process.env.NODE_ENV?pl.exports=function(){if(dl)return hl;dl=1;var e=t,o=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var l,s={},c=null,d=null;for(l in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)r.call(t,l)&&!a.hasOwnProperty(l)&&(s[l]=t[l]);if(e&&e.defaultProps)for(l in t=e.defaultProps)void 0===s[l]&&(s[l]=t[l]);return{$$typeof:o,type:e,key:c,ref:d,props:s,_owner:i.current}}return hl.Fragment=n,hl.jsx=l,hl.jsxs=l,hl}():pl.exports=(ul||(ul=1,"production"!==process.env.NODE_ENV&&function(){var e=t,o=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m=Symbol.iterator,g="@@iterator",y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];!function(e,t,o){var n=y.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",o=o.concat([n]));var r=o.map((function(e){return String(e)}));r.unshift("Warning: "+t),Function.prototype.apply.call(console.error,console,r)}(0,e,o)}var v;function x(e){return e.displayName||"Context"}function w(e){if(null==e)return null;if("number"==typeof e.tag&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case d:return"Suspense";case u:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return x(e)+".Consumer";case l:return x(e._context)+".Provider";case c:return function(e,t,o){var n=e.displayName;if(n)return n;var r=t.displayName||t.name||"";return""!==r?o+"("+r+")":o}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:w(e.type)||"Memo";case h:var o=e,f=o._payload,m=o._init;try{return w(m(f))}catch{return null}}return null}v=Symbol.for("react.module.reference");var k,C,N,_,T,E,S,O=Object.assign,M=0;function I(){}I.__reactDisabledLog=!0;var j,z=y.ReactCurrentDispatcher;function L(e,t,o){if(void 0===j)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);j=n&&n[1]||""}return"\n"+j+e}var R,$=!1,P="function"==typeof WeakMap?WeakMap:Map;function A(e,t){if(!e||$)return"";var o,n=R.get(e);if(void 0!==n)return n;$=!0;var r,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=z.current,z.current=null,function(){if(0===M){k=console.log,C=console.info,N=console.warn,_=console.error,T=console.group,E=console.groupCollapsed,S=console.groupEnd;var e={configurable:!0,enumerable:!0,value:I,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}M++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){o=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){o=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){o=e}e()}}catch(t){if(t&&o&&"string"==typeof t.stack){for(var l=t.stack.split("\n"),s=o.stack.split("\n"),c=l.length-1,d=s.length-1;c>=1&&d>=0&&l[c]!==s[d];)d--;for(;c>=1&&d>=0;c--,d--)if(l[c]!==s[d]){if(1!==c||1!==d)do{if(c--,--d<0||l[c]!==s[d]){var u="\n"+l[c].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),"function"==typeof e&&R.set(e,u),u}}while(c>=1&&d>=0);break}}}finally{$=!1,z.current=r,function(){if(0==--M){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},e,{value:k}),info:O({},e,{value:C}),warn:O({},e,{value:N}),error:O({},e,{value:_}),group:O({},e,{value:T}),groupCollapsed:O({},e,{value:E}),groupEnd:O({},e,{value:S})})}M<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",h=p?L(p):"";return"function"==typeof e&&R.set(e,h),h}function D(e,t,o){if(null==e)return"";if("function"==typeof e)return A(e,!(!(n=e.prototype)||!n.isReactComponent));var n;if("string"==typeof e)return L(e);switch(e){case d:return L("Suspense");case u:return L("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return function(e,t,o){return A(e,!1)}(e.render);case p:return D(e.type,t,o);case h:var r=e,i=r._payload,a=r._init;try{return D(a(i),t,o)}catch{}}return""}R=new P;var F=Object.prototype.hasOwnProperty,B={},q=y.ReactDebugCurrentFrame;function V(e){if(e){var t=e._owner,o=D(e.type,e._source,t?t.type:null);q.setExtraStackFrame(o)}else q.setExtraStackFrame(null)}var H=Array.isArray;function W(e){return H(e)}function U(e){return""+e}function K(e){if(function(e){try{return U(e),!1}catch{return!0}}(e))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",(t=e,"function"==typeof Symbol&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object")),U(e);var t}var G,Y,X,J=y.ReactCurrentOwner,Z={key:!0,ref:!0,__self:!0,__source:!0};X={};var Q=function(e,t,n,r,i,a,l){var s={$$typeof:o,type:e,key:t,ref:n,props:l,_owner:a,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s};var ee,te=y.ReactCurrentOwner,oe=y.ReactDebugCurrentFrame;function ne(e){if(e){var t=e._owner,o=D(e.type,e._source,t?t.type:null);oe.setExtraStackFrame(o)}else oe.setExtraStackFrame(null)}function re(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}function ie(){if(te.current){var e=w(te.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ee=!1;var ae={};function le(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var o=function(e){var t=ie();if(!t){var o="string"==typeof e?e:e.displayName||e.name;o&&(t="\n\nCheck the top-level render call using <"+o+">.")}return t}(t);if(!ae[o]){ae[o]=!0;var n="";e&&e._owner&&e._owner!==te.current&&(n=" It was passed a child from "+w(e._owner.type)+"."),ne(e),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',o,n),ne(null)}}}function se(e,t){if("object"==typeof e)if(W(e))for(var o=0;o<e.length;o++){var n=e[o];re(n)&&le(n,t)}else if(re(e))e._store&&(e._store.validated=!0);else if(e){var r=function(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[g];return"function"==typeof t?t:null}(e);if("function"==typeof r&&r!==e.entries)for(var i,a=r.call(e);!(i=a.next()).done;)re(i.value)&&le(i.value,t)}}function ce(e,t,n,m,g,y){var x,k=!("string"!=typeof(x=e)&&"function"!=typeof x&&x!==r&&x!==a&&x!==i&&x!==d&&x!==u&&x!==f&&("object"!=typeof x||null===x||x.$$typeof!==h&&x.$$typeof!==p&&x.$$typeof!==l&&x.$$typeof!==s&&x.$$typeof!==c&&x.$$typeof!==v&&void 0===x.getModuleId));if(!k){var C="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(C+=" 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 N,_=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);C+=_||ie(),null===e?N="null":W(e)?N="array":void 0!==e&&e.$$typeof===o?(N="<"+(w(e.type)||"Unknown")+" />",C=" Did you accidentally export a JSX literal instead of a component?"):N=typeof e,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",N,C)}var T=function(e,t,o,n,r){var i,a,l,s,c={},d=null,u=null;for(i in void 0!==o&&(K(o),d=""+o),function(e){if(F.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(K(t.key),d=""+t.key),function(e){if(F.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(u=t.ref,function(e,t){if("string"==typeof e.ref&&J.current&&t&&J.current.stateNode!==t){var o=w(J.current.type);X[o]||(b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',w(J.current.type),e.ref),X[o]=!0)}}(t,r)),t)F.call(t,i)&&!Z.hasOwnProperty(i)&&(c[i]=t[i]);if(e&&e.defaultProps){var p=e.defaultProps;for(i in p)void 0===c[i]&&(c[i]=p[i])}if(d||u){var h="function"==typeof e?e.displayName||e.name||"Unknown":e;d&&(a=c,l=h,(s=function(){G||(G=!0,b("%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)",l))}).isReactWarning=!0,Object.defineProperty(a,"key",{get:s,configurable:!0})),u&&function(e,t){var o=function(){Y||(Y=!0,b("%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)",t))};o.isReactWarning=!0,Object.defineProperty(e,"ref",{get:o,configurable:!0})}(c,h)}return Q(e,d,u,r,n,J.current,c)}(e,t,n,g,y);if(null==T)return T;if(k){var E=t.children;if(void 0!==E)if(m)if(W(E)){for(var S=0;S<E.length;S++)se(E[S],e);Object.freeze&&Object.freeze(E)}else b("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 se(E,e)}return e===r?function(e){for(var t=Object.keys(e.props),o=0;o<t.length;o++){var n=t[o];if("children"!==n&&"key"!==n){ne(e),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),ne(null);break}}null!==e.ref&&(ne(e),b("Invalid attribute `ref` supplied to `React.Fragment`."),ne(null))}(T):function(e){var t,o=e.type;if(null!=o&&"string"!=typeof o){if("function"==typeof o)t=o.propTypes;else{if("object"!=typeof o||o.$$typeof!==c&&o.$$typeof!==p)return;t=o.propTypes}if(t){var n=w(o);!function(e,t,o,n,r){var i=Function.call.bind(F);for(var a in e)if(i(e,a)){var l=void 0;try{if("function"!=typeof e[a]){var s=Error((n||"React class")+": "+o+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}l=e[a](t,a,n,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){l=e}l&&!(l instanceof Error)&&(V(r),b("%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).",n||"React class",o,a,typeof l),V(null)),l instanceof Error&&!(l.message in B)&&(B[l.message]=!0,V(r),b("Failed %s type: %s",o,l.message),V(null))}}(t,e.props,"prop",n,e)}else void 0===o.PropTypes||ee||(ee=!0,b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",w(o)||"Unknown"));"function"==typeof o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}(T),T}fl.Fragment=r,fl.jsx=function(e,t,o){return ce(e,t,o,!1)},fl.jsxs=function(e,t,o){return ce(e,t,o,!0)}}()),fl);var ml=pl.exports;function gl(e){return ml.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ml.jsx("path",{fill:"currentColor",d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"})})}const yl=({className:e,contentToCopy:t,locale:o,messageInfo:n,text:r})=>{const i="en"===o?"Copy":"Kopier",a=ca();return c(Ki,{title:i,children:c("div",{children:c(oa,{dataTest:"copy-button",className:e,size:"small",variant:"text",startIcon:c(gl,{width:20,height:20}),onClick:()=>{navigator.clipboard.writeText(t).then((()=>{n("no"===o?"Kopieres til utklippstavlen":"Copied to clipboard")}))},children:!a&&(r||i)})})})},bl="_copy-wrapper_1gjzc_1",vl="_hidden-copy_1gjzc_1",xl=({className:e,contentToCopy:t,locale:o,messageInfo:n,children:r})=>d("div",{className:fa("flex items-center gap-2 hover:text-gama-500",bl,e),children:[r,c(Ki,{title:"no"===o?"Kopier":"Copy",className:vl,children:c("div",{children:c(oa,{dataTest:"copy-button",size:"small",variant:"text",className:"cursor-pointer",children:c(gl,{width:20,height:20,className:"text-gama-500 hover:text-delta-700",onClick:()=>{navigator.clipboard.writeText(t).then((()=>{n("no"===o?"Kopieres til utklippstavlen":"Copied to clipboard")}))}})})})})]}),wl="_styled-widget-title_1gze6_1",kl=function(e){return c("div",{className:wl,children:e.children})},Cl="_styled-widget-header_1qk88_1",Nl=({actions:e,title:t,containerClassname:o,actionsClassname:n})=>d("div",{className:fa(Cl,o),children:[c(kl,{children:t}),c("div",{className:n,children:e})]}),_l="_asma-core-ui-styled-widget_cb7kt_1",Tl="_widget-header_cb7kt_13",El="_widget-content_cb7kt_19",Sl="_widget-footer_cb7kt_29",Ol="_widget-link_cb7kt_34";function Ml(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z"})})}function Il(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"})})}const jl=({children:e,title:t,icon:o,link:n,viewMore:a,persistKey:l,isLoading:s,isEmpty:p,emptyText:h})=>{const[f,m]=r(!1);return i((()=>{if(l){const e=localStorage.getItem(l);m("true"===e)}}),[l]),i((()=>{l&&localStorage.setItem(l,String(f))}),[f,l]),d("div",{className:_l,children:[d("div",{className:Tl,children:[o,c(kl,{children:t})]}),c("div",{className:El,children:d(u,{children:[e,c(Ca,{isLoading:s}),c(wa,{isEmpty:p,emptyText:h})]})}),d("div",{className:Sl,children:[!a||null!=a&&a.hide?c("div",{}):c(oa,{disabled:a.disabled,dataTest:"view-more",variant:"text",endIcon:c(f?Ml:Il,{width:20,height:20}),onClick:()=>{var e;m(!f),null==(e=null==a?void 0:a.onClick)||e.call(a)},children:f?a.viewLessText:a.viewMoreText}),n&&!n.hide?c(Qa,{dataTest:"go-to-button",className:Ol,size:"small",href:n.href,onClick:n.onClick,content:n.content}):c("div",{})]})]})},zl="_styled-module-title_174mo_1",Ll=function(e){return c("h1",{"data-test":e.dataTest,className:zl,children:e.children})},Rl="_dialog_erjok_1",$l="_hidden_erjok_9";function Pl(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M10 21v-2H6.41l4.5-4.5l-1.41-1.41l-4.5 4.5V14H3v7zm4.5-10.09l4.5-4.5V10h2V3h-7v2h3.59l-4.5 4.5z"})})}function Al(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M19.5 3.09L15 7.59V4h-2v7h7V9h-3.59l4.5-4.5zM4 13v2h3.59l-4.5 4.5l1.41 1.41l4.5-4.5V20h2v-7z"})})}const Dl="object"==typeof global&&global&&global.Object===Object&&global;var Fl="object"==typeof self&&self&&self.Object===Object&&self;const Bl=(Dl||Fl||Function("return this")()).Symbol;var ql=Object.prototype,Vl=ql.hasOwnProperty,Hl=ql.toString,Wl=Bl?Bl.toStringTag:void 0;var Ul=Object.prototype.toString;var Kl="[object Null]",Gl="[object Undefined]",Yl=Bl?Bl.toStringTag:void 0;function Xl(e){return null==e?void 0===e?Gl:Kl:Yl&&Yl in Object(e)?function(e){var t=Vl.call(e,Wl),o=e[Wl];try{e[Wl]=void 0;var n=!0}catch{}var r=Hl.call(e);return n&&(t?e[Wl]=o:delete e[Wl]),r}(e):function(e){return Ul.call(e)}(e)}const Jl=Array.isArray;function Zl(e){if(!function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}(e))return!1;var t=Xl(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}const Ql=({onCloseText:e="",onMinimizeText:t="",onExpandText:o="",onFullScreenText:n="",showCloseIcon:i=!0,showMinimizeIcon:a=!0,showExpandIcon:l=!0,showFullScreenIcon:p=!0,title:h,label:f,children:m,open:g,onClose:y,className:b="",primaryButtonText:v,secondaryButtonText:x,onPrimaryButtonClick:w,onSecondaryButtonClick:k,dataTest:C,actionNode:N,extraActions:_,extraActionsText:T,btnContainerClassName:E,footerClassName:S,footerInfo:O,locale:M="en",enableFullscreen:I=!1})=>{const[j,z]=r(!1),[L,R]=r(!1),{open:$,anchorEl:P,handleOpen:A,handleClose:D}=(()=>{const[e,t]=r(null),o=!!e,n=s((e=>{t(e.currentTarget)}),[]);return{open:o,handleClose:s((()=>{t(null)}),[]),handleOpen:n,anchorEl:e}})(),F=()=>{z(!j)};return g?d(u,{children:[c("div",{style:{zIndex:51},className:fa(Rl,!j&&$l),children:d("div",{className:ri("flex items-center justify-between",!j&&"hidden"),"data-test":C,children:[c("div",{className:"truncate text-lg font-semibold text-delta-800",children:h}),d("div",{className:"flex items-center gap-x-1",children:[l&&c(Ki,{title:"en"===M?"Expand":"Utvid",children:c("div",{children:c(oa,{dataTest:"minimize-button",variant:"text",size:"small",onClick:F,endIcon:l&&c(mn,{height:20,width:20,color:"text-gama-500"}),children:o})})}),i&&c(Ki,{title:"en"===M?"Close":"Lukk",children:c("div",{children:c(oa,{dataTest:"close-button",variant:"textGray",size:"small",onClick:y,endIcon:i&&c(Do,{height:20,width:20,color:"text-delta-700"}),children:e})})})]})]})}),d("div",{className:fa("fixed bottom-4 right-4 z-[51] rounded-lg bg-white shadow-[0_4px_40px_0px_rgba(34,33,51,0.4)] transition-all duration-300",b&&!j?b:"",j&&"!h-0 !w-0 opacity-0 duration-0",L&&!j&&"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-[1000px] h-screen duration-0"),"data-test":C,children:[d("div",{className:"flex flex-col gap-y-2 p-4 border-b-[1px] border-delta-200",children:[d("div",{className:"flex items-center justify-between",children:[c("div",f?{className:"text-sm text-delta-700",children:f}:{className:"text-2xl font-semibold text-delta-800",children:h}),d("div",{className:"flex items-center gap-x-1",children:[N,a&&c(Ki,{title:"en"===M?"Minimize":"Minimer",children:c("div",{children:c(oa,{dataTest:"minimize-button",variant:"textGray",size:"small",onClick:F,endIcon:a&&c(fn,{height:20,width:20,color:"text-delta-700"}),children:t})})}),I&&p&&c(Ki,{title:L?"en"===M?"Exit full screen":"Avslutt fullskjerm":"en"===M?"Full screen":"Fullskjerm",children:c("div",{children:c(oa,{dataTest:"fullscreen-button",variant:"textGray",size:"small",onClick:()=>{R(!L)},endIcon:c(L?Al:Pl,{width:20,height:20,color:"text-delta-700"}),children:n})})}),i&&c(Ki,{title:"en"===M?"Close":"Lukk",children:c("div",{children:c(oa,{dataTest:"close-button",variant:"textGray",size:"small",onClick:y,endIcon:c(Do,{height:20,width:20,color:"text-delta-700"}),children:e})})})]})]}),f&&c("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:h})]}),d("div",{className:"h-max",children:[" ","function"==typeof m?m({fullScreen:L}):m]}),(Jl(_)&&null!=_&&_.length||Zl(_))&&T||O?d("div",{className:fa("flex items-center justify-between p-4 border-0 border-t-[1px] border-solid border-delta-200 bg-white",S),children:[Jl(_)&&null!=_&&_.length&&T?d(u,{children:[c(oa,{dataTest:"extra-actions-button",variant:"textGray",startIcon:c(Oo,{width:24,height:24}),onClick:A,children:T}),c(Wa,{open:$,anchorEl:P,onClose:D,children:_.map((e=>c(Ua,{className:e.className,onClick:e.onClick,children:e.label},e.label)))})]}):T&&Zl(_)&&c(oa,{dataTest:"extra-action-button",variant:"text",onClick:_,children:T})," ",O,x||v?d("div",{className:fa("flex justify-end gap-x-4",E),children:[x&&k&&c(oa,{dataTest:"cancel-button",variant:"outlined",onClick:k,children:x}),v&&w&&c(oa,{dataTest:"save-button",onClick:w,children:v})]}):null]}):c(u,{children:x||v?d("div",{className:fa("flex justify-end gap-x-4 border-t-[1px] border-delta-200 p-4",E),children:[x&&k&&c(oa,{dataTest:"cancel-button",variant:"outlined",onClick:k,children:x}),v&&w&&c(oa,{dataTest:"save-button",onClick:w,children:v})]}):null})]})]}):null},es=({showCloseIcon:e,tooltipTitle:t,onClick:o,title:n})=>e?c("div",{children:c(Ki,{title:t,placement:"top",children:c("div",{children:c(oa,{dataTest:"close-button",variant:"textGray",size:"small",onClick:o,endIcon:c(Do,{height:20,width:20,color:"text-delta-700"}),children:n})})})}):null,ts=({visibility:e,tooltipTitle:t,onClick:o,title:n,type:r})=>{if(!e)return null;const i="minimize"===r;return"expand"===r?c("div",{children:c(Ki,{title:t,placement:"top",children:c("div",{children:c(oa,{dataTest:"toggle-minimize-btn",variant:"text",size:"small",onClick:o,endIcon:c(mn,{height:20,width:20,color:"text-gama-500"}),children:n})})})}):i?c("div",{children:c(Ki,{title:t,placement:"top",children:c("div",{children:c(oa,{dataTest:"toggle-minimize-btn",variant:"textGray",size:"small",onClick:o,endIcon:c(fn,{height:20,width:20,color:"text-delta-700"}),children:n})})})}):null},os="_minimized-dialog_1tnc1_5",ns="_dialog_1tnc1_1",rs="_hidden_1tnc1_25",is=({fullScreen:e,showFullScreenIcon:t,title:o,tooltipTitle:n,onClick:r})=>t?c(u,{children:t&&c(Ki,{title:n,children:c("div",{children:c(oa,{dataTest:"fullscreen-button",variant:"textGray",size:"small",onClick:r,endIcon:c(e?Al:Pl,{width:20,height:20,color:"text-delta-700"}),children:o})})})}):null,as=({onCloseText:e="",onMinimizeText:t="",onExpandText:o="",onFullScreenText:n="",showCloseIcon:i=!0,showMinimizeIcon:a=!0,showExpandIcon:l=!0,enableFullscreen:s=!1,title:p,label:h,children:f,open:m,onClose:g,classNameOverrides:y={maximized:"",minimized:"",fullscreen:""},dataTest:b,actionNode:v,tooltipOverrides:x={maximized:"",minimized:"",close:"",fullscreen:""}})=>{const[w,k]=r(!1),[C,N]=r(!1),_=()=>{k(!w)};return m?d(u,{children:[c("div",{style:{zIndex:51},className:fa(os,!w&&rs,y.minimized),children:d("div",{className:ri("flex items-center justify-between",!w&&"hidden"),"data-test":b,children:[c("div",{className:"truncate max-w-[303px] text-lg font-semibold text-delta-800 pr-1",children:c(Ki,{title:p,placement:"top",children:c("div",{className:"truncate",children:p})})}),d("div",{className:"flex items-center gap-x-1",children:[c(ts,{type:"expand",visibility:l,onClick:_,title:o,tooltipTitle:x.maximized||"Expand"}),c(es,{showCloseIcon:i,onClick:g,title:e,tooltipTitle:x.close||"Close"})]})]})}),d("div",{style:{zIndex:51},className:fa(ns,w&&rs,C&&!w&&"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-[1000px] duration-0",y.maximized,C&&y.fullscreen),children:[d("div",{className:"flex flex-col gap-y-2 p-4 border-b-[1px] border-delta-200",children:[d("div",{className:"flex items-center justify-between",children:[c("div",h?{className:"text-sm text-delta-700",children:h}:{className:"text-2xl font-semibold text-delta-800",children:p}),d("div",{className:"flex items-center gap-x-1",children:[v,c(ts,{visibility:a,type:"minimize",onClick:_,title:t,tooltipTitle:x.minimized||"Minimize"}),c(is,{showFullScreenIcon:s,fullScreen:C,onClick:()=>N(!C),title:n,tooltipTitle:x.fullscreen||(C?"Exit full screen":"Full screen")}),c(es,{showCloseIcon:i,onClick:g,title:e,tooltipTitle:x.close||"Close"})]})]}),h&&c("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:p})]}),c("div",{className:fa(w&&"hidden","flex flex-grow flex-col overflow-y-auto"),children:f})]})]}):null};export{Lo as ArchiveIcon,go as AssignmentIcon,yo as AssignmentOutlineIcon,H as Avatar,yn as BadgeIcon,Jt as BellIcon,Xt as BellOutlineIcon,en as CalendarBlankOutlineIcon,ho as CalendarIcon,mo as CalendarRangeIcon,$o as CheckBoxCheckedIcon,po as CheckFactIcon,uo as CheckFactOutlineIcon,Fo as CheckIcon,co as CheckOutlineIcon,to as ChevronDoubleLeftIcon,oo as ChevronDoubleRightIcon,Po as ChevronDownIcon,eo as ChevronLeftIcon,Qt as ChevronRightIcon,Ao as ChevronUpIcon,W as ClickAwayListener,Do as CloseIcon,hn as ConsentsIcon,U as Container,yl as CopyButton,xl as CopyWrapper,io as DashboardViewIcon,ao as DashboardViewOutlineIcon,Go as DeleteOutlineIcon,Oo as DotsVerticalIcon,Ro as DownloadIcon,Uo as DragHorizontalIcon,zo as DropDownIcon,jo as DropUpIcon,Jo as DvrIcon,sn as EarthIcon,bn as EditSquareIcon,Zo as ErrorOutlineIcon,K as Fade,on as FastCheckOutlineIcon,Ko as FilePdfIcon,Yo as FilterIcon,_o as FindReplaceIcon,To as FindReplacePeopleIcon,G as FormLabel,Zt as HamburgerIcon,kn as HandymanIcon,wn as HandymanOutlineIcon,Vo as InboxOutboxIcon,Ho as InboxOutboxOutlineIcon,mn as KeyboardCapslockIcon,tn as LinkOutlineIcon,bo as ListNumberedIcon,ln as ListSettingsLineIcon,rn as ListStatusIcon,Io as LoadingIcon,Xo as LockIcon,vo as MessageProcessingIcon,xo as MessageProcessingOutlineIcon,gn as MessageReplyIcon,Ql as MinimizableDialog,as as MinimizableDialogV2,fn as MinimizeIcon,fo as NewCalendarIcon,pn as OutlineCalendarMonth,Y as Paper,ro as PdfIcon,dn as PencilOutlineIcon,so as PeopleIcon,lo as PeopleOutlineIcon,Bo as PermMediaIcon,qo as PermMediaOutline,Eo as PersonIcon,So as PersonOutlineIcon,Cn as PinIcon,vn as PlusIcon,xn as PlusIconCircle,X as Popper,no as QnrIcon,Qo as ReplayIcon,wo as ReportBoxIcon,ko as ReportBoxOutlineIcon,Mo as SearchIcon,Co as SettingsIcon,cn as SettingsMenuHorizontalIcon,No as SettingsOutlineIcon,J as Skeleton,Z as Stack,ol as StyledAccordion,rl as StyledAccordionDetails,nl as StyledAccordionSummary,fe as StyledBadge,oa as StyledButton,Na as StyledCheckbox,_n as StyledChip,da as StyledDialog,ma as StyledDialogActions,ya as StyledDialogContent,va as StyledDialogTitle,Ha as StyledDrawer,wa as StyledEmptyPage,al as StyledFilterButton,cl as StyledFilterMenu,Da as StyledFormControl,Fa as StyledFormControlLabel,Va as StyledFormGroup,Ba as StyledFormHelperText,Qi as StyledFormLabel,_a as StyledInputField,qa as StyledInputLabel,Tn as StyledInteractiveChip,Aa as StyledLabel,Qa as StyledLink,Ca as StyledLoading,Wa as StyledMenu,Ua as StyledMenuItem,Ka as StyledMenuList,Ll as StyledModuleTitle,il as StyledPopover,$a as StyledRadio,Pa as StyledRadioGroup,Ta as StyledSearchField,Oa as StyledSelect,za as StyledSelectAutocomplete,Ma as StyledSelectItem,La as StyledSlider,Ra as StyledSwitch,el as StyledTab,tl as StyledTabs,Sa as StyledTextarea,Ki as StyledTooltip,Gi as StyledTypography,jl as StyledWidget,Nl as StyledWidgetHeader,kl as StyledWidgetTitle,an as TextBoxCheckOutlineIcon,Wo as TopicIcon,nn as UnknownDocumentOutlineRoundedIcon,un as WarningAmberOutlineIcon,Nn as WorkIcon,ne as omit,he as prepareForSlot,ue as setMidnightTime,pe as setZeroTime};
|
|
20
|
+
"production"===process.env.NODE_ENV?pl.exports=function(){if(dl)return hl;dl=1;var e=t,o=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var l,s={},c=null,d=null;for(l in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)r.call(t,l)&&!a.hasOwnProperty(l)&&(s[l]=t[l]);if(e&&e.defaultProps)for(l in t=e.defaultProps)void 0===s[l]&&(s[l]=t[l]);return{$$typeof:o,type:e,key:c,ref:d,props:s,_owner:i.current}}return hl.Fragment=n,hl.jsx=l,hl.jsxs=l,hl}():pl.exports=(ul||(ul=1,"production"!==process.env.NODE_ENV&&function(){var e=t,o=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m=Symbol.iterator,g="@@iterator",y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];!function(e,t,o){var n=y.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",o=o.concat([n]));var r=o.map((function(e){return String(e)}));r.unshift("Warning: "+t),Function.prototype.apply.call(console.error,console,r)}(0,e,o)}var v;function x(e){return e.displayName||"Context"}function w(e){if(null==e)return null;if("number"==typeof e.tag&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case d:return"Suspense";case u:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return x(e)+".Consumer";case l:return x(e._context)+".Provider";case c:return function(e,t,o){var n=e.displayName;if(n)return n;var r=t.displayName||t.name||"";return""!==r?o+"("+r+")":o}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:w(e.type)||"Memo";case h:var o=e,f=o._payload,m=o._init;try{return w(m(f))}catch{return null}}return null}v=Symbol.for("react.module.reference");var k,C,N,_,T,E,S,O=Object.assign,M=0;function I(){}I.__reactDisabledLog=!0;var j,z=y.ReactCurrentDispatcher;function L(e,t,o){if(void 0===j)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);j=n&&n[1]||""}return"\n"+j+e}var R,$=!1,P="function"==typeof WeakMap?WeakMap:Map;function A(e,t){if(!e||$)return"";var o,n=R.get(e);if(void 0!==n)return n;$=!0;var r,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=z.current,z.current=null,function(){if(0===M){k=console.log,C=console.info,N=console.warn,_=console.error,T=console.group,E=console.groupCollapsed,S=console.groupEnd;var e={configurable:!0,enumerable:!0,value:I,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}M++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){o=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){o=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){o=e}e()}}catch(t){if(t&&o&&"string"==typeof t.stack){for(var l=t.stack.split("\n"),s=o.stack.split("\n"),c=l.length-1,d=s.length-1;c>=1&&d>=0&&l[c]!==s[d];)d--;for(;c>=1&&d>=0;c--,d--)if(l[c]!==s[d]){if(1!==c||1!==d)do{if(c--,--d<0||l[c]!==s[d]){var u="\n"+l[c].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),"function"==typeof e&&R.set(e,u),u}}while(c>=1&&d>=0);break}}}finally{$=!1,z.current=r,function(){if(0==--M){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},e,{value:k}),info:O({},e,{value:C}),warn:O({},e,{value:N}),error:O({},e,{value:_}),group:O({},e,{value:T}),groupCollapsed:O({},e,{value:E}),groupEnd:O({},e,{value:S})})}M<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",h=p?L(p):"";return"function"==typeof e&&R.set(e,h),h}function D(e,t,o){if(null==e)return"";if("function"==typeof e)return A(e,!(!(n=e.prototype)||!n.isReactComponent));var n;if("string"==typeof e)return L(e);switch(e){case d:return L("Suspense");case u:return L("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return function(e,t,o){return A(e,!1)}(e.render);case p:return D(e.type,t,o);case h:var r=e,i=r._payload,a=r._init;try{return D(a(i),t,o)}catch{}}return""}R=new P;var F=Object.prototype.hasOwnProperty,B={},q=y.ReactDebugCurrentFrame;function V(e){if(e){var t=e._owner,o=D(e.type,e._source,t?t.type:null);q.setExtraStackFrame(o)}else q.setExtraStackFrame(null)}var H=Array.isArray;function W(e){return H(e)}function U(e){return""+e}function K(e){if(function(e){try{return U(e),!1}catch{return!0}}(e))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",(t=e,"function"==typeof Symbol&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object")),U(e);var t}var G,Y,X,J=y.ReactCurrentOwner,Z={key:!0,ref:!0,__self:!0,__source:!0};X={};var Q=function(e,t,n,r,i,a,l){var s={$$typeof:o,type:e,key:t,ref:n,props:l,_owner:a,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s};var ee,te=y.ReactCurrentOwner,oe=y.ReactDebugCurrentFrame;function ne(e){if(e){var t=e._owner,o=D(e.type,e._source,t?t.type:null);oe.setExtraStackFrame(o)}else oe.setExtraStackFrame(null)}function re(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}function ie(){if(te.current){var e=w(te.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ee=!1;var ae={};function le(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var o=function(e){var t=ie();if(!t){var o="string"==typeof e?e:e.displayName||e.name;o&&(t="\n\nCheck the top-level render call using <"+o+">.")}return t}(t);if(!ae[o]){ae[o]=!0;var n="";e&&e._owner&&e._owner!==te.current&&(n=" It was passed a child from "+w(e._owner.type)+"."),ne(e),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',o,n),ne(null)}}}function se(e,t){if("object"==typeof e)if(W(e))for(var o=0;o<e.length;o++){var n=e[o];re(n)&&le(n,t)}else if(re(e))e._store&&(e._store.validated=!0);else if(e){var r=function(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[g];return"function"==typeof t?t:null}(e);if("function"==typeof r&&r!==e.entries)for(var i,a=r.call(e);!(i=a.next()).done;)re(i.value)&&le(i.value,t)}}function ce(e,t,n,m,g,y){var x,k=!("string"!=typeof(x=e)&&"function"!=typeof x&&x!==r&&x!==a&&x!==i&&x!==d&&x!==u&&x!==f&&("object"!=typeof x||null===x||x.$$typeof!==h&&x.$$typeof!==p&&x.$$typeof!==l&&x.$$typeof!==s&&x.$$typeof!==c&&x.$$typeof!==v&&void 0===x.getModuleId));if(!k){var C="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(C+=" 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 N,_=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);C+=_||ie(),null===e?N="null":W(e)?N="array":void 0!==e&&e.$$typeof===o?(N="<"+(w(e.type)||"Unknown")+" />",C=" Did you accidentally export a JSX literal instead of a component?"):N=typeof e,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",N,C)}var T=function(e,t,o,n,r){var i,a,l,s,c={},d=null,u=null;for(i in void 0!==o&&(K(o),d=""+o),function(e){if(F.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(K(t.key),d=""+t.key),function(e){if(F.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(u=t.ref,function(e,t){if("string"==typeof e.ref&&J.current&&t&&J.current.stateNode!==t){var o=w(J.current.type);X[o]||(b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',w(J.current.type),e.ref),X[o]=!0)}}(t,r)),t)F.call(t,i)&&!Z.hasOwnProperty(i)&&(c[i]=t[i]);if(e&&e.defaultProps){var p=e.defaultProps;for(i in p)void 0===c[i]&&(c[i]=p[i])}if(d||u){var h="function"==typeof e?e.displayName||e.name||"Unknown":e;d&&(a=c,l=h,(s=function(){G||(G=!0,b("%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)",l))}).isReactWarning=!0,Object.defineProperty(a,"key",{get:s,configurable:!0})),u&&function(e,t){var o=function(){Y||(Y=!0,b("%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)",t))};o.isReactWarning=!0,Object.defineProperty(e,"ref",{get:o,configurable:!0})}(c,h)}return Q(e,d,u,r,n,J.current,c)}(e,t,n,g,y);if(null==T)return T;if(k){var E=t.children;if(void 0!==E)if(m)if(W(E)){for(var S=0;S<E.length;S++)se(E[S],e);Object.freeze&&Object.freeze(E)}else b("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 se(E,e)}return e===r?function(e){for(var t=Object.keys(e.props),o=0;o<t.length;o++){var n=t[o];if("children"!==n&&"key"!==n){ne(e),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),ne(null);break}}null!==e.ref&&(ne(e),b("Invalid attribute `ref` supplied to `React.Fragment`."),ne(null))}(T):function(e){var t,o=e.type;if(null!=o&&"string"!=typeof o){if("function"==typeof o)t=o.propTypes;else{if("object"!=typeof o||o.$$typeof!==c&&o.$$typeof!==p)return;t=o.propTypes}if(t){var n=w(o);!function(e,t,o,n,r){var i=Function.call.bind(F);for(var a in e)if(i(e,a)){var l=void 0;try{if("function"!=typeof e[a]){var s=Error((n||"React class")+": "+o+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}l=e[a](t,a,n,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){l=e}l&&!(l instanceof Error)&&(V(r),b("%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).",n||"React class",o,a,typeof l),V(null)),l instanceof Error&&!(l.message in B)&&(B[l.message]=!0,V(r),b("Failed %s type: %s",o,l.message),V(null))}}(t,e.props,"prop",n,e)}else void 0===o.PropTypes||ee||(ee=!0,b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",w(o)||"Unknown"));"function"==typeof o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}(T),T}fl.Fragment=r,fl.jsx=function(e,t,o){return ce(e,t,o,!1)},fl.jsxs=function(e,t,o){return ce(e,t,o,!0)}}()),fl);var ml=pl.exports;function gl(e){return ml.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ml.jsx("path",{fill:"currentColor",d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"})})}const yl=({className:e,contentToCopy:t,locale:o,messageInfo:n,text:r})=>{const i="en"===o?"Copy":"Kopier",a=ca();return c(Ki,{title:i,children:c("div",{children:c(oa,{dataTest:"copy-button",className:e,size:"small",variant:"text",startIcon:c(gl,{width:20,height:20}),onClick:()=>{navigator.clipboard.writeText(t).then((()=>{n("no"===o?"Kopieres til utklippstavlen":"Copied to clipboard")}))},children:!a&&(r||i)})})})},bl="_copy-wrapper_1gjzc_1",vl="_hidden-copy_1gjzc_1",xl=({className:e,contentToCopy:t,locale:o,messageInfo:n,children:r})=>d("div",{className:fa("flex items-center gap-2 hover:text-gama-500",bl,e),children:[r,c(Ki,{title:"no"===o?"Kopier":"Copy",className:vl,children:c("div",{children:c(oa,{dataTest:"copy-button",size:"small",variant:"text",className:"cursor-pointer",children:c(gl,{width:20,height:20,className:"text-gama-500 hover:text-delta-700",onClick:()=>{navigator.clipboard.writeText(t).then((()=>{n("no"===o?"Kopieres til utklippstavlen":"Copied to clipboard")}))}})})})})]}),wl="_styled-widget-title_1gze6_1",kl=function(e){return c("div",{className:wl,children:e.children})},Cl="_styled-widget-header_1qk88_1",Nl=({actions:e,title:t,containerClassname:o,actionsClassname:n})=>d("div",{className:fa(Cl,o),children:[c(kl,{children:t}),c("div",{className:n,children:e})]}),_l="_asma-core-ui-styled-widget_cb7kt_1",Tl="_widget-header_cb7kt_13",El="_widget-content_cb7kt_19",Sl="_widget-footer_cb7kt_29",Ol="_widget-link_cb7kt_34";function Ml(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z"})})}function Il(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"})})}const jl=({children:e,title:t,icon:o,link:n,viewMore:a,persistKey:l,isLoading:s,isEmpty:p,emptyText:h})=>{const[f,m]=r(!1);return i((()=>{if(l){const e=localStorage.getItem(l);m("true"===e)}}),[l]),i((()=>{l&&localStorage.setItem(l,String(f))}),[f,l]),d("div",{className:_l,children:[d("div",{className:Tl,children:[o,c(kl,{children:t})]}),c("div",{className:El,children:d(u,{children:[e,c(Ca,{isLoading:s}),c(wa,{isEmpty:p,emptyText:h})]})}),d("div",{className:Sl,children:[!a||null!=a&&a.hide?c("div",{}):c(oa,{disabled:a.disabled,dataTest:"view-more",variant:"text",endIcon:c(f?Ml:Il,{width:20,height:20}),onClick:()=>{var e;m(!f),null==(e=null==a?void 0:a.onClick)||e.call(a)},children:f?a.viewLessText:a.viewMoreText}),n&&!n.hide?c(Qa,{dataTest:"go-to-button",className:Ol,size:"small",href:n.href,onClick:n.onClick,content:n.content}):c("div",{})]})]})},zl="_styled-module-title_174mo_1",Ll=function(e){return c("h1",{"data-test":e.dataTest,className:zl,children:e.children})},Rl="_dialog_erjok_1",$l="_hidden_erjok_9";function Pl(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M10 21v-2H6.41l4.5-4.5l-1.41-1.41l-4.5 4.5V14H3v7zm4.5-10.09l4.5-4.5V10h2V3h-7v2h3.59l-4.5 4.5z"})})}function Al(e){return c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:c("path",{fill:"currentColor",d:"M19.5 3.09L15 7.59V4h-2v7h7V9h-3.59l4.5-4.5zM4 13v2h3.59l-4.5 4.5l1.41 1.41l4.5-4.5V20h2v-7z"})})}const Dl="object"==typeof global&&global&&global.Object===Object&&global;var Fl="object"==typeof self&&self&&self.Object===Object&&self;const Bl=(Dl||Fl||Function("return this")()).Symbol;var ql=Object.prototype,Vl=ql.hasOwnProperty,Hl=ql.toString,Wl=Bl?Bl.toStringTag:void 0;var Ul=Object.prototype.toString;var Kl="[object Null]",Gl="[object Undefined]",Yl=Bl?Bl.toStringTag:void 0;function Xl(e){return null==e?void 0===e?Gl:Kl:Yl&&Yl in Object(e)?function(e){var t=Vl.call(e,Wl),o=e[Wl];try{e[Wl]=void 0;var n=!0}catch{}var r=Hl.call(e);return n&&(t?e[Wl]=o:delete e[Wl]),r}(e):function(e){return Ul.call(e)}(e)}const Jl=Array.isArray;function Zl(e){if(!function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}(e))return!1;var t=Xl(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}const Ql=({onCloseText:e="",onMinimizeText:t="",onExpandText:o="",onFullScreenText:n="",showCloseIcon:i=!0,showMinimizeIcon:a=!0,showExpandIcon:l=!0,showFullScreenIcon:p=!0,title:h,label:f,children:m,open:g,onClose:y,className:b="",primaryButtonText:v,secondaryButtonText:x,onPrimaryButtonClick:w,onSecondaryButtonClick:k,dataTest:C,actionNode:N,extraActions:_,extraActionsText:T,btnContainerClassName:E,footerClassName:S,footerInfo:O,locale:M="en",enableFullscreen:I=!0})=>{const[j,z]=r(!1),[L,R]=r(!1),{open:$,anchorEl:P,handleOpen:A,handleClose:D}=(()=>{const[e,t]=r(null),o=!!e,n=s((e=>{t(e.currentTarget)}),[]);return{open:o,handleClose:s((()=>{t(null)}),[]),handleOpen:n,anchorEl:e}})(),F=()=>{z(!j)};return g?d(u,{children:[c("div",{style:{zIndex:51},className:fa(Rl,!j&&$l),children:d("div",{className:ri("flex items-center justify-between",!j&&"hidden"),"data-test":C,children:[c("div",{className:"truncate text-lg font-semibold text-delta-800",children:h}),d("div",{className:"flex items-center gap-x-1",children:[l&&c(Ki,{title:"en"===M?"Expand":"Utvid",children:c("div",{children:c(oa,{dataTest:"minimize-button",variant:"text",size:"small",onClick:F,endIcon:l&&c(mn,{height:20,width:20,color:"text-gama-500"}),children:o})})}),i&&c(Ki,{title:"en"===M?"Close":"Lukk",children:c("div",{children:c(oa,{dataTest:"close-button",variant:"textGray",size:"small",onClick:y,endIcon:i&&c(Do,{height:20,width:20,color:"text-delta-700"}),children:e})})})]})]})}),d("div",{className:fa("fixed bottom-4 right-4 z-[51] rounded-lg bg-white shadow-[0_4px_40px_0px_rgba(34,33,51,0.4)] transition-all duration-300",b&&!j?b:"",j&&"!h-0 !w-0 opacity-0 duration-0",L&&!j&&"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-[1000px] h-screen duration-0"),"data-test":C,children:[d("div",{className:"flex flex-col gap-y-2 p-4 border-b-[1px] border-delta-200",children:[d("div",{className:"flex items-center justify-between",children:[c("div",f?{className:"text-sm text-delta-700",children:f}:{className:"text-2xl font-semibold text-delta-800",children:h}),d("div",{className:"flex items-center gap-x-1",children:[N,a&&c(Ki,{title:"en"===M?"Minimize":"Minimer",children:c("div",{children:c(oa,{dataTest:"minimize-button",variant:"textGray",size:"small",onClick:F,endIcon:a&&c(fn,{height:20,width:20,color:"text-delta-700"}),children:t})})}),I&&p&&c(Ki,{title:L?"en"===M?"Exit full screen":"Avslutt fullskjerm":"en"===M?"Full screen":"Fullskjerm",children:c("div",{children:c(oa,{dataTest:"fullscreen-button",variant:"textGray",size:"small",onClick:()=>{R(!L)},endIcon:c(L?Al:Pl,{width:20,height:20,color:"text-delta-700"}),children:n})})}),i&&c(Ki,{title:"en"===M?"Close":"Lukk",children:c("div",{children:c(oa,{dataTest:"close-button",variant:"textGray",size:"small",onClick:y,endIcon:c(Do,{height:20,width:20,color:"text-delta-700"}),children:e})})})]})]}),f&&c("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:h})]}),d("div",{className:"h-max",children:[" ","function"==typeof m?m({fullScreen:L}):m]}),(Jl(_)&&null!=_&&_.length||Zl(_))&&T||O?d("div",{className:fa("flex items-center justify-between p-4 border-0 border-t-[1px] border-solid border-delta-200 bg-white",S),children:[Jl(_)&&null!=_&&_.length&&T?d(u,{children:[c(oa,{dataTest:"extra-actions-button",variant:"textGray",startIcon:c(Oo,{width:24,height:24}),onClick:A,children:T}),c(Wa,{open:$,anchorEl:P,onClose:D,children:_.map((e=>c(Ua,{className:e.className,onClick:e.onClick,children:e.label},e.label)))})]}):T&&Zl(_)&&c(oa,{dataTest:"extra-action-button",variant:"text",onClick:_,children:T})," ",O,x||v?d("div",{className:fa("flex justify-end gap-x-4",E),children:[x&&k&&c(oa,{dataTest:"cancel-button",variant:"outlined",onClick:k,children:x}),v&&w&&c(oa,{dataTest:"save-button",onClick:w,children:v})]}):null]}):c(u,{children:x||v?d("div",{className:fa("flex justify-end gap-x-4 border-t-[1px] border-delta-200 p-4",E),children:[x&&k&&c(oa,{dataTest:"cancel-button",variant:"outlined",onClick:k,children:x}),v&&w&&c(oa,{dataTest:"save-button",onClick:w,children:v})]}):null})]})]}):null},es=({showCloseIcon:e,tooltipTitle:t,onClick:o,title:n})=>e?c("div",{children:c(Ki,{title:t,placement:"top",children:c("div",{children:c(oa,{dataTest:"close-button",variant:"textGray",size:"small",onClick:o,endIcon:c(Do,{height:20,width:20,color:"text-delta-700"}),children:n})})})}):null,ts=({visibility:e,tooltipTitle:t,onClick:o,title:n,type:r})=>{if(!e)return null;const i="minimize"===r;return"expand"===r?c("div",{children:c(Ki,{title:t,placement:"top",children:c("div",{children:c(oa,{dataTest:"toggle-minimize-btn",variant:"text",size:"small",onClick:o,endIcon:c(mn,{height:20,width:20,color:"text-gama-500"}),children:n})})})}):i?c("div",{children:c(Ki,{title:t,placement:"top",children:c("div",{children:c(oa,{dataTest:"toggle-minimize-btn",variant:"textGray",size:"small",onClick:o,endIcon:c(fn,{height:20,width:20,color:"text-delta-700"}),children:n})})})}):null},os="_minimized-dialog_1tnc1_5",ns="_dialog_1tnc1_1",rs="_hidden_1tnc1_25",is=({fullScreen:e,showFullScreenIcon:t,title:o,tooltipTitle:n,onClick:r})=>t?c(u,{children:t&&c(Ki,{title:n,children:c("div",{children:c(oa,{dataTest:"fullscreen-button",variant:"textGray",size:"small",onClick:r,endIcon:c(e?Al:Pl,{width:20,height:20,color:"text-delta-700"}),children:o})})})}):null,as=({onCloseText:e="",onMinimizeText:t="",onExpandText:o="",onFullScreenText:n="",showCloseIcon:i=!0,showMinimizeIcon:a=!0,showExpandIcon:l=!0,enableFullscreen:s=!0,title:p,label:h,children:f,open:m,onClose:g,classNameOverrides:y={maximized:"",minimized:"",fullscreen:""},dataTest:b,actionNode:v,tooltipOverrides:x={maximized:"",minimized:"",close:"",fullscreen:""}})=>{const[w,k]=r(!1),[C,N]=r(!1),_=()=>{k(!w)};return m?d(u,{children:[c("div",{style:{zIndex:51},className:fa(os,!w&&rs,y.minimized),children:d("div",{className:ri("flex items-center justify-between",!w&&"hidden"),"data-test":b,children:[c("div",{className:"truncate max-w-[303px] text-lg font-semibold text-delta-800 pr-1",children:c(Ki,{title:p,placement:"top",children:c("div",{className:"truncate",children:p})})}),d("div",{className:"flex items-center gap-x-1",children:[c(ts,{type:"expand",visibility:l,onClick:_,title:o,tooltipTitle:x.maximized||"Expand"}),c(es,{showCloseIcon:i,onClick:g,title:e,tooltipTitle:x.close||"Close"})]})]})}),d("div",{style:{zIndex:51},className:fa(ns,w&&rs,C&&!w&&"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-[1000px] duration-0",y.maximized,C&&y.fullscreen),children:[d("div",{className:"flex flex-col gap-y-2 p-4 border-b-[1px] border-delta-200",children:[d("div",{className:"flex items-center justify-between",children:[c("div",h?{className:"text-sm text-delta-700",children:h}:{className:"text-2xl font-semibold text-delta-800",children:p}),d("div",{className:"flex items-center gap-x-1",children:[v,c(ts,{visibility:a,type:"minimize",onClick:_,title:t,tooltipTitle:x.minimized||"Minimize"}),c(is,{showFullScreenIcon:s,fullScreen:C,onClick:()=>N(!C),title:n,tooltipTitle:x.fullscreen||(C?"Exit full screen":"Full screen")}),c(es,{showCloseIcon:i,onClick:g,title:e,tooltipTitle:x.close||"Close"})]})]}),h&&c("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:p})]}),c("div",{className:fa(w&&"hidden","flex flex-grow flex-col overflow-y-auto"),children:f})]})]}):null};export{Lo as ArchiveIcon,go as AssignmentIcon,yo as AssignmentOutlineIcon,H as Avatar,yn as BadgeIcon,Jt as BellIcon,Xt as BellOutlineIcon,en as CalendarBlankOutlineIcon,ho as CalendarIcon,mo as CalendarRangeIcon,$o as CheckBoxCheckedIcon,po as CheckFactIcon,uo as CheckFactOutlineIcon,Fo as CheckIcon,co as CheckOutlineIcon,to as ChevronDoubleLeftIcon,oo as ChevronDoubleRightIcon,Po as ChevronDownIcon,eo as ChevronLeftIcon,Qt as ChevronRightIcon,Ao as ChevronUpIcon,W as ClickAwayListener,Do as CloseIcon,hn as ConsentsIcon,U as Container,yl as CopyButton,xl as CopyWrapper,io as DashboardViewIcon,ao as DashboardViewOutlineIcon,Go as DeleteOutlineIcon,Oo as DotsVerticalIcon,Ro as DownloadIcon,Uo as DragHorizontalIcon,zo as DropDownIcon,jo as DropUpIcon,Jo as DvrIcon,sn as EarthIcon,bn as EditSquareIcon,Zo as ErrorOutlineIcon,K as Fade,on as FastCheckOutlineIcon,Ko as FilePdfIcon,Yo as FilterIcon,_o as FindReplaceIcon,To as FindReplacePeopleIcon,G as FormLabel,Zt as HamburgerIcon,kn as HandymanIcon,wn as HandymanOutlineIcon,Vo as InboxOutboxIcon,Ho as InboxOutboxOutlineIcon,mn as KeyboardCapslockIcon,tn as LinkOutlineIcon,bo as ListNumberedIcon,ln as ListSettingsLineIcon,rn as ListStatusIcon,Io as LoadingIcon,Xo as LockIcon,vo as MessageProcessingIcon,xo as MessageProcessingOutlineIcon,gn as MessageReplyIcon,Ql as MinimizableDialog,as as MinimizableDialogV2,fn as MinimizeIcon,fo as NewCalendarIcon,pn as OutlineCalendarMonth,Y as Paper,ro as PdfIcon,dn as PencilOutlineIcon,so as PeopleIcon,lo as PeopleOutlineIcon,Bo as PermMediaIcon,qo as PermMediaOutline,Eo as PersonIcon,So as PersonOutlineIcon,Cn as PinIcon,vn as PlusIcon,xn as PlusIconCircle,X as Popper,no as QnrIcon,Qo as ReplayIcon,wo as ReportBoxIcon,ko as ReportBoxOutlineIcon,Mo as SearchIcon,Co as SettingsIcon,cn as SettingsMenuHorizontalIcon,No as SettingsOutlineIcon,J as Skeleton,Z as Stack,ol as StyledAccordion,rl as StyledAccordionDetails,nl as StyledAccordionSummary,fe as StyledBadge,oa as StyledButton,Na as StyledCheckbox,_n as StyledChip,da as StyledDialog,ma as StyledDialogActions,ya as StyledDialogContent,va as StyledDialogTitle,Ha as StyledDrawer,wa as StyledEmptyPage,al as StyledFilterButton,cl as StyledFilterMenu,Da as StyledFormControl,Fa as StyledFormControlLabel,Va as StyledFormGroup,Ba as StyledFormHelperText,Qi as StyledFormLabel,_a as StyledInputField,qa as StyledInputLabel,Tn as StyledInteractiveChip,Aa as StyledLabel,Qa as StyledLink,Ca as StyledLoading,Wa as StyledMenu,Ua as StyledMenuItem,Ka as StyledMenuList,Ll as StyledModuleTitle,il as StyledPopover,$a as StyledRadio,Pa as StyledRadioGroup,Ta as StyledSearchField,Oa as StyledSelect,za as StyledSelectAutocomplete,Ma as StyledSelectItem,La as StyledSlider,Ra as StyledSwitch,el as StyledTab,tl as StyledTabs,Sa as StyledTextarea,Ki as StyledTooltip,Gi as StyledTypography,jl as StyledWidget,Nl as StyledWidgetHeader,kl as StyledWidgetTitle,an as TextBoxCheckOutlineIcon,Wo as TopicIcon,nn as UnknownDocumentOutlineRoundedIcon,un as WarningAmberOutlineIcon,Nn as WorkIcon,ne as omit,he as prepareForSlot,ue as setMidnightTime,pe as setZeroTime};
|
package/package.json
CHANGED
|
@@ -1,129 +1,129 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
"name": "asma-core-ui",
|
|
3
|
+
"publishConfig": {
|
|
4
|
+
"access": "public"
|
|
5
|
+
},
|
|
6
|
+
"version": "3.1.7",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist/**/*",
|
|
10
|
+
"dist/style.css",
|
|
11
|
+
"tw-configs/**/*"
|
|
12
|
+
],
|
|
13
|
+
"keywords": [],
|
|
14
|
+
"author": "asma-team",
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"main": "./dist/asma-core-ui.es.js",
|
|
17
|
+
"module": "./dist/asma-core-ui.es.js",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"import": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"default": "./dist/asma-core-ui.es.js"
|
|
23
|
+
}
|
|
5
24
|
},
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
"typescript": "^5.0.2",
|
|
112
|
-
"typescript-plugin-css-modules": "^5.0.1",
|
|
113
|
-
"vite": "^4.3.9",
|
|
114
|
-
"vite-plugin-dts": "^3.1.1",
|
|
115
|
-
"vite-tsconfig-paths": "^4.2.0"
|
|
116
|
-
},
|
|
117
|
-
"peerDependencies": {
|
|
118
|
-
"@emotion/react": "^11.*",
|
|
119
|
-
"@emotion/styled": "^11.*",
|
|
120
|
-
"@mui/material": "^5.*",
|
|
121
|
-
"immer": "^9.*",
|
|
122
|
-
"react": "^18.*",
|
|
123
|
-
"react-dom": "^18.*"
|
|
124
|
-
},
|
|
125
|
-
"resolutions": {
|
|
126
|
-
"@types/node": "18.0.3",
|
|
127
|
-
"node": "18.17.0"
|
|
128
|
-
}
|
|
129
|
-
}
|
|
25
|
+
"./dist/style.css": "./dist/style.css",
|
|
26
|
+
"./tw-configs/twConfigs.json": "./tw-configs/twConfigs.json"
|
|
27
|
+
},
|
|
28
|
+
"license": "UNLICENSED",
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@emotion/react": "^11.11.1",
|
|
31
|
+
"@emotion/styled": "^11.11.0",
|
|
32
|
+
"@fontsource/material-icons": "^5.0.4",
|
|
33
|
+
"@iconify/react": "^4.1.1",
|
|
34
|
+
"@mui/material": "^5.13.7",
|
|
35
|
+
"@tanstack/react-table": "^8.10.0",
|
|
36
|
+
"asma-ui-icons": "^0.0.35",
|
|
37
|
+
"clsx": "^1.2.1",
|
|
38
|
+
"date-fns": "^2.30.0",
|
|
39
|
+
"lodash-es": "^4.17.21",
|
|
40
|
+
"material-ui-popup-state": "^5.0.10",
|
|
41
|
+
"notistack": "^3.0.1",
|
|
42
|
+
"react-day-picker": "^8.8.2",
|
|
43
|
+
"react-quill": "^2.0.0",
|
|
44
|
+
"sass": "^1.77.5",
|
|
45
|
+
"vite-plugin-css-injected-by-js": "^3.5.1"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@changesets/cli": "^2.26.2",
|
|
49
|
+
"@faker-js/faker": "^8.0.2",
|
|
50
|
+
"@rollup/plugin-terser": "^0.4.3",
|
|
51
|
+
"@storybook/addon-a11y": "^7.6.9",
|
|
52
|
+
"@storybook/addon-essentials": "^7.6.9",
|
|
53
|
+
"@storybook/addon-interactions": "^7.6.9",
|
|
54
|
+
"@storybook/addon-links": "^7.6.9",
|
|
55
|
+
"@storybook/addon-mdx-gfm": "^7.6.9",
|
|
56
|
+
"@storybook/addon-styling": "^1.3.7",
|
|
57
|
+
"@storybook/addons": "^7.6.9",
|
|
58
|
+
"@storybook/blocks": "^7.6.9",
|
|
59
|
+
"@storybook/manager-api": "^7.6.9",
|
|
60
|
+
"@storybook/preset-create-react-app": "^7.6.9",
|
|
61
|
+
"@storybook/react": "^7.6.9",
|
|
62
|
+
"@storybook/react-vite": "^7.6.9",
|
|
63
|
+
"@storybook/test-runner": "^0.16.0",
|
|
64
|
+
"@storybook/testing-library": "^0.2.2",
|
|
65
|
+
"@storybook/theming": "^7.6.9",
|
|
66
|
+
"@types/lodash-es": "^4.17.7",
|
|
67
|
+
"@types/node": "^18.0.3",
|
|
68
|
+
"@types/react": "^18.0.37",
|
|
69
|
+
"@types/react-dom": "^18.0.11",
|
|
70
|
+
"@typescript-eslint/eslint-plugin": "^5.59.0",
|
|
71
|
+
"@typescript-eslint/parser": "^5.59.0",
|
|
72
|
+
"@vitejs/plugin-react": "^4.0.0",
|
|
73
|
+
"autoprefixer": "^10.4.14",
|
|
74
|
+
"axe-playwright": "^1.2.3",
|
|
75
|
+
"axios": "^1.6.8",
|
|
76
|
+
"eslint": "^8.38.0",
|
|
77
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
78
|
+
"eslint-plugin-react-refresh": "^0.3.4",
|
|
79
|
+
"eslint-plugin-storybook": "^0.6.15",
|
|
80
|
+
"node": "18.17.0",
|
|
81
|
+
"postcss": "^8.4.24",
|
|
82
|
+
"prop-types": "^15.8.1",
|
|
83
|
+
"react": "^18.2.0",
|
|
84
|
+
"react-dom": "^18.2.0",
|
|
85
|
+
"rollup-plugin-typescript2": "^0.35.0",
|
|
86
|
+
"storybook": "^7.6.9",
|
|
87
|
+
"storybook-addon-themes": "^6.1.0",
|
|
88
|
+
"tailwind-merge": "^2.4.0",
|
|
89
|
+
"tailwind-scrollbar": "^3.1.0",
|
|
90
|
+
"tailwindcss": "^3.3.2",
|
|
91
|
+
"typescript": "^5.0.2",
|
|
92
|
+
"typescript-plugin-css-modules": "^5.0.1",
|
|
93
|
+
"vite": "^4.3.9",
|
|
94
|
+
"vite-plugin-dts": "^3.1.1",
|
|
95
|
+
"vite-tsconfig-paths": "^4.2.0"
|
|
96
|
+
},
|
|
97
|
+
"peerDependencies": {
|
|
98
|
+
"@emotion/react": "^11.*",
|
|
99
|
+
"@emotion/styled": "^11.*",
|
|
100
|
+
"@mui/material": "^5.*",
|
|
101
|
+
"immer": "^9.*",
|
|
102
|
+
"react": "^18.*",
|
|
103
|
+
"react-dom": "^18.*"
|
|
104
|
+
},
|
|
105
|
+
"resolutions": {
|
|
106
|
+
"@types/node": "18.0.3",
|
|
107
|
+
"node": "18.17.0"
|
|
108
|
+
},
|
|
109
|
+
"scripts": {
|
|
110
|
+
"dev": "vite",
|
|
111
|
+
"build": "npx tsc && rm -rf ./dist && vite build",
|
|
112
|
+
"preview": "vite preview",
|
|
113
|
+
"lint": "eslint src/**/*.{js,jsx,ts,tsx}",
|
|
114
|
+
"version": "echo $npm_package_version",
|
|
115
|
+
"lint:fix": "eslint --fix src/**/*.{jsx,ts,tsx}",
|
|
116
|
+
"prettier": "prettier --write src//**/*.{ts,tsx,scss} --config ./.prettierrc",
|
|
117
|
+
"storybook": "storybook dev -p 6006",
|
|
118
|
+
"storybook:no-browser": "storybook dev -p 6006 --no-open",
|
|
119
|
+
"storybook:node18": "export NODE_OPTIONS=--openssl-legacy-provider && storybook dev -p 6006",
|
|
120
|
+
"storybook:node18:win": "set NODE_OPTIONS=--openssl-legacy-provider && storybook dev -p 6006",
|
|
121
|
+
"build-storybook": "export NODE_OPTIONS=--max_old_space_size=6240 && storybook build",
|
|
122
|
+
"test-storybook": "test-storybook",
|
|
123
|
+
"changeset:pre-beta": "changeset pre enter beta",
|
|
124
|
+
"changeset:pre-exit": "changeset pre exit",
|
|
125
|
+
"changeset:version": "changeset version",
|
|
126
|
+
"changeset:publish": "changeset publish",
|
|
127
|
+
"changeset:status": "changeset status"
|
|
128
|
+
}
|
|
129
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,686 +0,0 @@
|
|
|
1
|
-
# asma-core-ui
|
|
2
|
-
|
|
3
|
-
## 2.19.7
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- da5ffa8: richinput height fix
|
|
8
|
-
- badges-themming
|
|
9
|
-
- 583c3b7: fix/styled-input-field-variant-sdantard-styling
|
|
10
|
-
- c12d01c: fix/fretex-badge-color
|
|
11
|
-
- 583c3b7: feat/dataTests-buttons-inputs
|
|
12
|
-
- 7307b1d: data tests for styled dialog and other components
|
|
13
|
-
|
|
14
|
-
## 2.19.0
|
|
15
|
-
|
|
16
|
-
### Minor Changes
|
|
17
|
-
|
|
18
|
-
- 7c6b42d: Added styling for indeterminate state of a StyledCheckbox
|
|
19
|
-
|
|
20
|
-
### Patch Changes
|
|
21
|
-
|
|
22
|
-
- bc984c4: fix/datePicker-clearAction
|
|
23
|
-
- 688d82e: fix/ASMA-2834-StyledTable-actions-not-working-as-expected-published
|
|
24
|
-
- 1ae02c6: feat: Added styled radio button
|
|
25
|
-
- f264fc7: exporting-date-picker
|
|
26
|
-
- 8ae828f: before data-tests
|
|
27
|
-
- baed007: styledSelectAutocomplete
|
|
28
|
-
- fix/styledInputField-custom-type-to-avoit-ui-crash
|
|
29
|
-
- c694edd: feat: Time picker
|
|
30
|
-
- fde85c1: fixed props errors in StyledInputField
|
|
31
|
-
- 0e89b7c: fix/rowSelection-styledTable
|
|
32
|
-
- d19aa55: fix/select-with-label-styles
|
|
33
|
-
- 047f94e: button size medium
|
|
34
|
-
- 3b109eb: fix/DatePicker-allowCleat-as-prop
|
|
35
|
-
- 519b54b: fixed hiding column header pin in styled table
|
|
36
|
-
- 1273e77: feat: Added icons
|
|
37
|
-
- e8e77aa: 2.18.11
|
|
38
|
-
- 6653757: updated renderSubRows function in StyledTable
|
|
39
|
-
- b0f7660: Exporting-MenuProps
|
|
40
|
-
- c3f4740: fix/ASMA-2834-StyledTable-actions-not-working-as-expected
|
|
41
|
-
- eae9d9f: control the size of StyleSelect through StyledFormControl
|
|
42
|
-
- 08192fa: fix/styledSnackbarInfo
|
|
43
|
-
- 367ae6c: fixed styledtable header pin
|
|
44
|
-
|
|
45
|
-
## 2.18.11
|
|
46
|
-
|
|
47
|
-
### Patch Changes
|
|
48
|
-
|
|
49
|
-
- 8faaa84: 2.18.10
|
|
50
|
-
|
|
51
|
-
## 2.18.10
|
|
52
|
-
|
|
53
|
-
### Patch Changes
|
|
54
|
-
|
|
55
|
-
- bd83c68: added some more reactnode types
|
|
56
|
-
- 03fce5c: 2.18.9
|
|
57
|
-
- a00024e: add possibility to pass component besides text to inputs
|
|
58
|
-
|
|
59
|
-
## 2.18.9
|
|
60
|
-
|
|
61
|
-
### Patch Changes
|
|
62
|
-
|
|
63
|
-
- a7c1d7b: 2.18.7
|
|
64
|
-
- a73c7cd: styles for styled select
|
|
65
|
-
- a73c7cd: styled container
|
|
66
|
-
- 62a4ba6: added label classname
|
|
67
|
-
|
|
68
|
-
## 2.18.7
|
|
69
|
-
|
|
70
|
-
### Patch Changes
|
|
71
|
-
|
|
72
|
-
- 1cc6183: Add container classname for textarea
|
|
73
|
-
- e31066e: textSize-of-select-dropdown
|
|
74
|
-
- af25d7c: StyledTabs
|
|
75
|
-
- 1be5492: 2.18.4
|
|
76
|
-
|
|
77
|
-
## 2.18.4
|
|
78
|
-
|
|
79
|
-
### Patch Changes
|
|
80
|
-
|
|
81
|
-
- 8922f3d: 2.18.3
|
|
82
|
-
- 50c8c29: add classname to styled link
|
|
83
|
-
|
|
84
|
-
## 2.18.3
|
|
85
|
-
|
|
86
|
-
### Patch Changes
|
|
87
|
-
|
|
88
|
-
- 947c849: small fix for autoSize column
|
|
89
|
-
- 73abc45: update style table columns width
|
|
90
|
-
- 73abc45: export tanstack interfaces
|
|
91
|
-
- a89fb53: 2.18.0
|
|
92
|
-
|
|
93
|
-
## 2.18.0
|
|
94
|
-
|
|
95
|
-
### Minor Changes
|
|
96
|
-
|
|
97
|
-
- 3475f35: Added StyledLink component
|
|
98
|
-
- 62a5e65: Added EmptyPageIcon
|
|
99
|
-
- 059bdf9: removing mui style config provider
|
|
100
|
-
|
|
101
|
-
### Patch Changes
|
|
102
|
-
|
|
103
|
-
- 991ee7f: styled text area - optional props, styledInput interface fix
|
|
104
|
-
- e7bc214: fixed bg color of styled accordion to transparent
|
|
105
|
-
- 61e50f6: reflink for select
|
|
106
|
-
- da2c8cd: optimized snackbar
|
|
107
|
-
- eebb6f2: updated storybook 7.4.6
|
|
108
|
-
- e7bc214: tokens inside css
|
|
109
|
-
- 043b349: return exporting of main css
|
|
110
|
-
- 2fc0c1b: switch disabled colors
|
|
111
|
-
- f191a3c: fixed styled switch height
|
|
112
|
-
- a033535: Styled Drawer
|
|
113
|
-
- f191a3c: snackbar on DOMROOT level
|
|
114
|
-
- 8518620: Fixed some bugs related to StyledInput ans StyledTextarea
|
|
115
|
-
- a204108: styles for select
|
|
116
|
-
- bbf3a24: 2.16.13
|
|
117
|
-
- 939b7ed: fixed StyledInput background
|
|
118
|
-
- c9017e7: Fixed counter paddings in StyledTextarea
|
|
119
|
-
- 5f090ab: styling switch element
|
|
120
|
-
|
|
121
|
-
## 2.16.13
|
|
122
|
-
|
|
123
|
-
### Patch Changes
|
|
124
|
-
|
|
125
|
-
- 4a6f577: styled input
|
|
126
|
-
- 29cce0e: 2.16.10
|
|
127
|
-
- 076e5cc: Styled Table css fixes
|
|
128
|
-
|
|
129
|
-
## 2.16.10
|
|
130
|
-
|
|
131
|
-
### Patch Changes
|
|
132
|
-
|
|
133
|
-
- 15e4747: 2.16.9
|
|
134
|
-
- 042bb5f: Fix Table actions
|
|
135
|
-
|
|
136
|
-
## 2.16.9
|
|
137
|
-
|
|
138
|
-
### Patch Changes
|
|
139
|
-
|
|
140
|
-
- 91d54a7: Fix id type TData
|
|
141
|
-
- d93b53d: 2.16.8
|
|
142
|
-
|
|
143
|
-
## 2.16.8
|
|
144
|
-
|
|
145
|
-
### Patch Changes
|
|
146
|
-
|
|
147
|
-
- c5809e2: Fix Styled Table alignment
|
|
148
|
-
- c0ef21e: 2.16.6
|
|
149
|
-
|
|
150
|
-
## 2.16.7
|
|
151
|
-
|
|
152
|
-
### Patch Changes
|
|
153
|
-
|
|
154
|
-
- 1d5a134: Add more props for table
|
|
155
|
-
- 74dcb75: updated styled button, added new variant - grey text
|
|
156
|
-
- 969eb73: 2.16.5
|
|
157
|
-
|
|
158
|
-
## 2.16.5
|
|
159
|
-
|
|
160
|
-
### Patch Changes
|
|
161
|
-
|
|
162
|
-
- 98a4a41: 2.16.3
|
|
163
|
-
- a3978ba: export for styled textarea
|
|
164
|
-
- a3978ba: Exported StyledTextarea
|
|
165
|
-
- e5283db: Exported rich-input globally
|
|
166
|
-
|
|
167
|
-
## 2.16.3
|
|
168
|
-
|
|
169
|
-
### Patch Changes
|
|
170
|
-
|
|
171
|
-
- 5ce89b5: Fix Styled Table types & styles
|
|
172
|
-
- 020b294: 2.16.2
|
|
173
|
-
|
|
174
|
-
## 2.16.2
|
|
175
|
-
|
|
176
|
-
### Patch Changes
|
|
177
|
-
|
|
178
|
-
- 87bd4cc: Styled Table actions fix onclick
|
|
179
|
-
- 4a85a8f: 2.16.1
|
|
180
|
-
|
|
181
|
-
## 2.16.1
|
|
182
|
-
|
|
183
|
-
### Patch Changes
|
|
184
|
-
|
|
185
|
-
- 7586b47: Styled Table fixes
|
|
186
|
-
|
|
187
|
-
## 2.16.0
|
|
188
|
-
|
|
189
|
-
### Minor Changes
|
|
190
|
-
|
|
191
|
-
- fedc045: Added StyledTextarea
|
|
192
|
-
- 5226aec: New table component
|
|
193
|
-
|
|
194
|
-
### Patch Changes
|
|
195
|
-
|
|
196
|
-
- 5f3fb1d: 2.14.4
|
|
197
|
-
- 8877a50: new custom styled button
|
|
198
|
-
- fedc045: added styled textarea
|
|
199
|
-
- d554885: removed styled button paddings
|
|
200
|
-
- 6defcc1: Removed bg color on RichInput when disabled
|
|
201
|
-
- 55343ea: Added Styled Module Title
|
|
202
|
-
|
|
203
|
-
## 2.14.4
|
|
204
|
-
|
|
205
|
-
### Patch Changes
|
|
206
|
-
|
|
207
|
-
- 675d71a: Fixed chevron arrow pointing
|
|
208
|
-
- e1c943f: 2.14.3
|
|
209
|
-
|
|
210
|
-
## 2.14.3
|
|
211
|
-
|
|
212
|
-
### Patch Changes
|
|
213
|
-
|
|
214
|
-
- 54be30a: 2.14.2
|
|
215
|
-
- 1b8c038: Change default width multi line input field
|
|
216
|
-
|
|
217
|
-
## 2.14.2
|
|
218
|
-
|
|
219
|
-
### Patch Changes
|
|
220
|
-
|
|
221
|
-
- a5011c6: Fix overriding classes
|
|
222
|
-
- fe53fac: 2.14.1
|
|
223
|
-
|
|
224
|
-
## 2.14.1
|
|
225
|
-
|
|
226
|
-
### Patch Changes
|
|
227
|
-
|
|
228
|
-
- e3804d6: 2.14.0
|
|
229
|
-
- 5f03390: Added multi line support for Input Field
|
|
230
|
-
|
|
231
|
-
## 2.14.0
|
|
232
|
-
|
|
233
|
-
### Minor Changes
|
|
234
|
-
|
|
235
|
-
- 4a3d94f: Redesign buttons
|
|
236
|
-
|
|
237
|
-
### Patch Changes
|
|
238
|
-
|
|
239
|
-
- 44e0a5b: 2.13.4
|
|
240
|
-
|
|
241
|
-
## 2.13.4
|
|
242
|
-
|
|
243
|
-
### Patch Changes
|
|
244
|
-
|
|
245
|
-
- 5a1b778: Fixed some datagrid styles
|
|
246
|
-
|
|
247
|
-
## 2.13.3
|
|
248
|
-
|
|
249
|
-
### Patch Changes
|
|
250
|
-
|
|
251
|
-
- 3012a02: fix snackbar props
|
|
252
|
-
|
|
253
|
-
## 2.13.2
|
|
254
|
-
|
|
255
|
-
### Patch Changes
|
|
256
|
-
|
|
257
|
-
- ecd4508: Add classname for internal alert in snackbar
|
|
258
|
-
- b8f1a0c: 2.13.1
|
|
259
|
-
|
|
260
|
-
## 2.13.1
|
|
261
|
-
|
|
262
|
-
### Patch Changes
|
|
263
|
-
|
|
264
|
-
- 5349fe5: 2.13.1
|
|
265
|
-
- 67c3f6e: fix notistack types
|
|
266
|
-
|
|
267
|
-
## 2.13.0
|
|
268
|
-
|
|
269
|
-
### Minor Changes
|
|
270
|
-
|
|
271
|
-
- 2d21b31: Added custom snackbars for provider
|
|
272
|
-
|
|
273
|
-
### Patch Changes
|
|
274
|
-
|
|
275
|
-
- 2d5871c: 2.12.1
|
|
276
|
-
|
|
277
|
-
## 2.12.1
|
|
278
|
-
|
|
279
|
-
### Patch Changes
|
|
280
|
-
|
|
281
|
-
- 84f05b8: 2.12.0
|
|
282
|
-
- b732f77: Fix some font size, padding, minor things
|
|
283
|
-
|
|
284
|
-
## 2.12.0
|
|
285
|
-
|
|
286
|
-
### Minor Changes
|
|
287
|
-
|
|
288
|
-
- 8f18554: Added TopicIcon
|
|
289
|
-
|
|
290
|
-
## 2.11.0
|
|
291
|
-
|
|
292
|
-
### Minor Changes
|
|
293
|
-
|
|
294
|
-
- 286154b: Added StyledInputField
|
|
295
|
-
|
|
296
|
-
### Patch Changes
|
|
297
|
-
|
|
298
|
-
- 2962ebf: 2.10.0
|
|
299
|
-
|
|
300
|
-
## 2.10.0
|
|
301
|
-
|
|
302
|
-
### Minor Changes
|
|
303
|
-
|
|
304
|
-
- f4be3c3: added inbox-outbox and inbox-outbox-outline icons
|
|
305
|
-
|
|
306
|
-
## 2.10.0-beta.0
|
|
307
|
-
|
|
308
|
-
### Minor Changes
|
|
309
|
-
|
|
310
|
-
- 286154b: Added StyledInputField
|
|
311
|
-
|
|
312
|
-
### Patch Changes
|
|
313
|
-
|
|
314
|
-
- 61efd74: 2.9.3
|
|
315
|
-
|
|
316
|
-
## 2.9.3
|
|
317
|
-
|
|
318
|
-
### Patch Changes
|
|
319
|
-
|
|
320
|
-
- cffcc80: comment portal elements
|
|
321
|
-
- 65487b3: 2.9.2
|
|
322
|
-
|
|
323
|
-
## 2.9.2
|
|
324
|
-
|
|
325
|
-
### Patch Changes
|
|
326
|
-
|
|
327
|
-
- c680289: 2.9.1
|
|
328
|
-
- 551d2e1: added portal elements fix
|
|
329
|
-
|
|
330
|
-
## 2.9.1
|
|
331
|
-
|
|
332
|
-
### Patch Changes
|
|
333
|
-
|
|
334
|
-
- e189975: Export grid date comparator
|
|
335
|
-
- 9f23080: 2.9.0
|
|
336
|
-
|
|
337
|
-
## 2.9.0
|
|
338
|
-
|
|
339
|
-
### Minor Changes
|
|
340
|
-
|
|
341
|
-
- 5d4a40e: Added StyledMenu
|
|
342
|
-
|
|
343
|
-
### Patch Changes
|
|
344
|
-
|
|
345
|
-
- f525dd9: 2.8.1
|
|
346
|
-
|
|
347
|
-
## 2.8.1
|
|
348
|
-
|
|
349
|
-
### Patch Changes
|
|
350
|
-
|
|
351
|
-
- a88d00d: 2.8.0
|
|
352
|
-
- 2b40bf5: Fixed StyledSelect arrow unclickable
|
|
353
|
-
|
|
354
|
-
## 2.8.0
|
|
355
|
-
|
|
356
|
-
### Minor Changes
|
|
357
|
-
|
|
358
|
-
- 1caf76a: StyledAlert according to figma design
|
|
359
|
-
|
|
360
|
-
### Patch Changes
|
|
361
|
-
|
|
362
|
-
- 14b765f: bump version
|
|
363
|
-
- 9708fb1: Fixed some StyledAlert conflicts
|
|
364
|
-
|
|
365
|
-
## 2.7.4
|
|
366
|
-
|
|
367
|
-
### Patch Changes
|
|
368
|
-
|
|
369
|
-
- 4239ef5: fixed ref in styled select
|
|
370
|
-
- 8b77eaf: reduce bundle size
|
|
371
|
-
- 622557f: added styled widget title
|
|
372
|
-
|
|
373
|
-
## 2.7.0
|
|
374
|
-
|
|
375
|
-
### Minor Changes
|
|
376
|
-
|
|
377
|
-
- 0423ecc: Remove mui date pickers
|
|
378
|
-
- 6753e14: stabilized node version to 18.17.0 and types/node to 18.0.3
|
|
379
|
-
|
|
380
|
-
### Patch Changes
|
|
381
|
-
|
|
382
|
-
- dca730f: added Roboto font to tw-configs
|
|
383
|
-
- 309fc71: Export StyledEngineProvider, Accordion, Typography
|
|
384
|
-
- dec3836: 2.5.4
|
|
385
|
-
- a5490a2: 2.6.5
|
|
386
|
-
- 342519d: 2.5.5
|
|
387
|
-
|
|
388
|
-
## 2.5.3
|
|
389
|
-
|
|
390
|
-
### Patch Changes
|
|
391
|
-
|
|
392
|
-
- 1b0c0cb: fixed slider styles
|
|
393
|
-
|
|
394
|
-
## 2.5.2
|
|
395
|
-
|
|
396
|
-
### Patch Changes
|
|
397
|
-
|
|
398
|
-
- 820b7a8: fixed core-ui dependecies
|
|
399
|
-
|
|
400
|
-
## 2.5.1
|
|
401
|
-
|
|
402
|
-
### Patch Changes
|
|
403
|
-
|
|
404
|
-
- 453a861: changed more colors to match figma
|
|
405
|
-
|
|
406
|
-
## 2.5.0
|
|
407
|
-
|
|
408
|
-
### Minor Changes
|
|
409
|
-
|
|
410
|
-
- 4defa8e: Added StyledDateCalendar
|
|
411
|
-
- 4447c64: Added StyledSlider
|
|
412
|
-
- 4defa8e: Added StyledCalendarPicker, StyledTimePicker & mobile versions for all date components
|
|
413
|
-
|
|
414
|
-
### Patch Changes
|
|
415
|
-
|
|
416
|
-
- cbdb995: updated docker file nodejs19 pnpm
|
|
417
|
-
- ad65511: Refactor StyledSlider classes
|
|
418
|
-
- 59780a8: fix onclick event for icons
|
|
419
|
-
- 4fe79ae: Fixed colors for green & blue theme
|
|
420
|
-
|
|
421
|
-
## 2.2.0
|
|
422
|
-
|
|
423
|
-
### Minor Changes
|
|
424
|
-
|
|
425
|
-
- 537750f: added new props for data-grid
|
|
426
|
-
|
|
427
|
-
## 2.1.0
|
|
428
|
-
|
|
429
|
-
### Minor Changes
|
|
430
|
-
|
|
431
|
-
- 4aba823: Extended interface data grid
|
|
432
|
-
|
|
433
|
-
### Patch Changes
|
|
434
|
-
|
|
435
|
-
- 4aba823: fixed order props for data-grid to be possible override them
|
|
436
|
-
|
|
437
|
-
## 2.0.6
|
|
438
|
-
|
|
439
|
-
### Patch Changes
|
|
440
|
-
|
|
441
|
-
- 6641ff2: fixed order props for data-grid to be possible override them
|
|
442
|
-
|
|
443
|
-
## 2.0.5
|
|
444
|
-
|
|
445
|
-
### Patch Changes
|
|
446
|
-
|
|
447
|
-
- a9b7b6a: added styled switch
|
|
448
|
-
|
|
449
|
-
## 2.0.4
|
|
450
|
-
|
|
451
|
-
### Patch Changes
|
|
452
|
-
|
|
453
|
-
- 4bbdf03: restored styled switch
|
|
454
|
-
|
|
455
|
-
## 2.0.3
|
|
456
|
-
|
|
457
|
-
### Patch Changes
|
|
458
|
-
|
|
459
|
-
- a95643e: fixed fretex tokens
|
|
460
|
-
|
|
461
|
-
## 2.0.2
|
|
462
|
-
|
|
463
|
-
### Patch Changes
|
|
464
|
-
|
|
465
|
-
- a980095: export styled textfield
|
|
466
|
-
|
|
467
|
-
## 2.0.1
|
|
468
|
-
|
|
469
|
-
### Patch Changes
|
|
470
|
-
|
|
471
|
-
- 2d2fe53: restored StyledTextField, added cspell.json
|
|
472
|
-
|
|
473
|
-
## 2.0.0
|
|
474
|
-
|
|
475
|
-
### Major Changes
|
|
476
|
-
|
|
477
|
-
- 42ae731: storybook7, pnpm, tw-configs
|
|
478
|
-
|
|
479
|
-
## 1.9.4
|
|
480
|
-
|
|
481
|
-
### Patch Changes
|
|
482
|
-
|
|
483
|
-
- 5b1f300: tailwind configs from asma-antrd to asma-core-ui
|
|
484
|
-
|
|
485
|
-
## 1.9.3
|
|
486
|
-
|
|
487
|
-
### Patch Changes
|
|
488
|
-
|
|
489
|
-
- bfb9d4f: Fix some class conflicts for StyledDialog
|
|
490
|
-
|
|
491
|
-
## 1.9.2
|
|
492
|
-
|
|
493
|
-
### Patch Changes
|
|
494
|
-
|
|
495
|
-
- f985a8a: StyledFormGroup
|
|
496
|
-
|
|
497
|
-
## 1.9.1
|
|
498
|
-
|
|
499
|
-
### Patch Changes
|
|
500
|
-
|
|
501
|
-
- d6646f3: changed the border for textField
|
|
502
|
-
|
|
503
|
-
## 1.9.0
|
|
504
|
-
|
|
505
|
-
### Minor Changes
|
|
506
|
-
|
|
507
|
-
- ee41eab: added icons from asma-antrd
|
|
508
|
-
|
|
509
|
-
## 1.8.7
|
|
510
|
-
|
|
511
|
-
### Patch Changes
|
|
512
|
-
|
|
513
|
-
- e1da358: add option to disable row actions for data grid
|
|
514
|
-
|
|
515
|
-
## 1.8.5
|
|
516
|
-
|
|
517
|
-
### Patch Changes
|
|
518
|
-
|
|
519
|
-
- 59140d5: StyledTooltip - added arrow and top placement by default
|
|
520
|
-
|
|
521
|
-
## 1.8.4
|
|
522
|
-
|
|
523
|
-
### Patch Changes
|
|
524
|
-
|
|
525
|
-
- 2212b07: Fix StyledCheckbox input size & add disabled style
|
|
526
|
-
|
|
527
|
-
## 1.8.3
|
|
528
|
-
|
|
529
|
-
### Patch Changes
|
|
530
|
-
|
|
531
|
-
- 930e646: Fixed asma-core-grid input checkbox height and width, Fixed actions columns width
|
|
532
|
-
|
|
533
|
-
## 1.8.2
|
|
534
|
-
|
|
535
|
-
### Patch Changes
|
|
536
|
-
|
|
537
|
-
- a4dcdf0: Changed StyledCheckbox classes to scss
|
|
538
|
-
|
|
539
|
-
## 1.8.1
|
|
540
|
-
|
|
541
|
-
### Patch Changes
|
|
542
|
-
|
|
543
|
-
- 306adf9: Fix StyledCheckbox export
|
|
544
|
-
|
|
545
|
-
## 1.8.0
|
|
546
|
-
|
|
547
|
-
### Minor Changes
|
|
548
|
-
|
|
549
|
-
- a0503fa: Added StyledCheckbox
|
|
550
|
-
|
|
551
|
-
## 1.7.2
|
|
552
|
-
|
|
553
|
-
### Patch Changes
|
|
554
|
-
|
|
555
|
-
- 0c21b38: Updated index ts
|
|
556
|
-
|
|
557
|
-
## 1.7.1
|
|
558
|
-
|
|
559
|
-
### Patch Changes
|
|
560
|
-
|
|
561
|
-
- 61a9d22: Extened stanckbar
|
|
562
|
-
|
|
563
|
-
## 1.7.0
|
|
564
|
-
|
|
565
|
-
### Minor Changes
|
|
566
|
-
|
|
567
|
-
- de81629: asma-grid UI fixed, added custom columns menu
|
|
568
|
-
|
|
569
|
-
## 1.6.6
|
|
570
|
-
|
|
571
|
-
### Patch Changes
|
|
572
|
-
|
|
573
|
-
- 2bc692d: On StyledDialog added style to be ovveridable
|
|
574
|
-
|
|
575
|
-
## 1.6.5
|
|
576
|
-
|
|
577
|
-
### Patch Changes
|
|
578
|
-
|
|
579
|
-
- bcc9515: restyled datagrid
|
|
580
|
-
|
|
581
|
-
## 1.6.4
|
|
582
|
-
|
|
583
|
-
### Patch Changes
|
|
584
|
-
|
|
585
|
-
- 4b6dfc8: Fixed fullscreen mode for styled modal window
|
|
586
|
-
|
|
587
|
-
## 1.6.3
|
|
588
|
-
|
|
589
|
-
### Patch Changes
|
|
590
|
-
|
|
591
|
-
- a91eb4c: remove top border datagrid, export datagrid components/types
|
|
592
|
-
|
|
593
|
-
## 1.6.2
|
|
594
|
-
|
|
595
|
-
### Patch Changes
|
|
596
|
-
|
|
597
|
-
- f53ff78: add export for data grid
|
|
598
|
-
|
|
599
|
-
## 1.6.1
|
|
600
|
-
|
|
601
|
-
### Patch Changes
|
|
602
|
-
|
|
603
|
-
- 0cb2ef9: fixed wrongly merged branches
|
|
604
|
-
|
|
605
|
-
### Patch Changes
|
|
606
|
-
|
|
607
|
-
- 37e14dc: DataGrid: Row background, custom checkbox classes
|
|
608
|
-
|
|
609
|
-
## 1.5.9
|
|
610
|
-
|
|
611
|
-
### Patch Changes
|
|
612
|
-
|
|
613
|
-
- 58f8d13: fixed height of styledDialog closeIcon
|
|
614
|
-
|
|
615
|
-
## 1.5.7
|
|
616
|
-
|
|
617
|
-
### Patch Changes
|
|
618
|
-
|
|
619
|
-
- 601522c: added showCloseIcon props to StyledDialog
|
|
620
|
-
|
|
621
|
-
## 1.5.3
|
|
622
|
-
|
|
623
|
-
### Patch Changes
|
|
624
|
-
|
|
625
|
-
- f6958e4: bump version so it's not 1 commit behind
|
|
626
|
-
|
|
627
|
-
## 1.5.2
|
|
628
|
-
|
|
629
|
-
### Patch Changes
|
|
630
|
-
|
|
631
|
-
- e1fc012: remove max width for styled dialog
|
|
632
|
-
|
|
633
|
-
## 1.5.1
|
|
634
|
-
|
|
635
|
-
### Patch Changes
|
|
636
|
-
|
|
637
|
-
- 4371a5b: add form control props for styled text field
|
|
638
|
-
|
|
639
|
-
## 1.5.0
|
|
640
|
-
|
|
641
|
-
### Minor Changes
|
|
642
|
-
|
|
643
|
-
- 9a3ce35: Updated, and created, typography classes. Created Typography Storybook story.
|
|
644
|
-
|
|
645
|
-
## 1.4.0
|
|
646
|
-
|
|
647
|
-
### Minor Changes
|
|
648
|
-
|
|
649
|
-
- bb12a0a: StyledTooltip with stories.
|
|
650
|
-
|
|
651
|
-
## 1.3.2
|
|
652
|
-
|
|
653
|
-
### Patch Changes
|
|
654
|
-
|
|
655
|
-
- ee5d00f: Pipelines: Create second step with build and publish.
|
|
656
|
-
|
|
657
|
-
## 1.3.1
|
|
658
|
-
|
|
659
|
-
### Patch Changes
|
|
660
|
-
|
|
661
|
-
- e673ff4: Fixed index files.
|
|
662
|
-
|
|
663
|
-
## 1.3.0
|
|
664
|
-
|
|
665
|
-
### Minor Changes
|
|
666
|
-
|
|
667
|
-
- 22a817a: StyledAlert, StyledAlertTitle
|
|
668
|
-
- 22a817a: StyledSnackbar
|
|
669
|
-
- e117b3c: StyledBadge
|
|
670
|
-
|
|
671
|
-
### Patch Changes
|
|
672
|
-
|
|
673
|
-
- 22a817a: StyledButton: Default variant - contained.
|
|
674
|
-
- 22a817a: Theme: Reverted default colors for error, success and warning because of faulty success colors.
|
|
675
|
-
|
|
676
|
-
## 1.2.0
|
|
677
|
-
|
|
678
|
-
### Minor Changes
|
|
679
|
-
|
|
680
|
-
- 75d39d0: Created composable components for StyledDialog; StyledDialogTitle, StyledDialogContent and StyledDialogActions.
|
|
681
|
-
- 718ad37: StyledFormControlLabel
|
|
682
|
-
- 718ad37: StyledFormHelperText
|
|
683
|
-
- 718ad37: StyledInput
|
|
684
|
-
- 718ad37: StyledInputLabel
|
|
685
|
-
- 718ad37: StyledSwitch
|
|
686
|
-
- 718ad37: StyledTextField
|