rechtspilot-ui 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks-native.cjs +30 -0
- package/dist/chunks-native.js +734 -0
- package/dist/chunks.cjs +30 -0
- package/dist/icons.cjs +1 -0
- package/dist/icons.es.js +0 -1
- package/dist/icons.native.cjs +1 -0
- package/dist/icons.native.d.ts +1 -0
- package/dist/icons.native.es.js +970 -0
- package/dist/index.cjs +612 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +4698 -3617
- package/dist/index.native.cjs +65 -0
- package/dist/index.native.d.ts +1 -0
- package/dist/index.native.es.js +454 -0
- package/package.json +55 -34
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";const Ce=require("react");var ee={exports:{}},A={};/**
|
|
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 Se;function dr(){if(Se)return A;Se=1;var M=Ce,P=Symbol.for("react.element"),U=Symbol.for("react.fragment"),_=Object.prototype.hasOwnProperty,D=M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,I={key:!0,ref:!0,__self:!0,__source:!0};function C(b,c,T){var h,g={},E=null,W=null;T!==void 0&&(E=""+T),c.key!==void 0&&(E=""+c.key),c.ref!==void 0&&(W=c.ref);for(h in c)_.call(c,h)&&!I.hasOwnProperty(h)&&(g[h]=c[h]);if(b&&b.defaultProps)for(h in c=b.defaultProps,c)g[h]===void 0&&(g[h]=c[h]);return{$$typeof:P,type:b,key:E,ref:W,props:g,_owner:D.current}}return A.Fragment=U,A.jsx=C,A.jsxs=C,A}var F={};/**
|
|
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 Pe;function vr(){return Pe||(Pe=1,process.env.NODE_ENV!=="production"&&function(){var M=Ce,P=Symbol.for("react.element"),U=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),b=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),W=Symbol.for("react.offscreen"),re=Symbol.iterator,je="@@iterator";function xe(e){if(e===null||typeof e!="object")return null;var r=re&&e[re]||e[je];return typeof r=="function"?r:null}var O=M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function f(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),a=1;a<r;a++)t[a-1]=arguments[a];ke("error",e,t)}}function ke(e,r,t){{var a=O.ReactDebugCurrentFrame,i=a.getStackAddendum();i!==""&&(r+="%s",t=t.concat([i]));var s=t.map(function(o){return String(o)});s.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,s)}}var Ae=!1,Fe=!1,De=!1,Ie=!1,We=!1,te;te=Symbol.for("react.module.reference");function $e(e){return!!(typeof e=="string"||typeof e=="function"||e===_||e===I||We||e===D||e===T||e===h||Ie||e===W||Ae||Fe||De||typeof e=="object"&&e!==null&&(e.$$typeof===E||e.$$typeof===g||e.$$typeof===C||e.$$typeof===b||e.$$typeof===c||e.$$typeof===te||e.getModuleId!==void 0))}function Ye(e,r,t){var a=e.displayName;if(a)return a;var i=r.displayName||r.name||"";return i!==""?t+"("+i+")":t}function ae(e){return e.displayName||"Context"}function y(e){if(e==null)return null;if(typeof e.tag=="number"&&f("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 _:return"Fragment";case U:return"Portal";case I:return"Profiler";case D:return"StrictMode";case T:return"Suspense";case h:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case b:var r=e;return ae(r)+".Consumer";case C:var t=e;return ae(t._context)+".Provider";case c:return Ye(e,e.render,"ForwardRef");case g:var a=e.displayName||null;return a!==null?a:y(e.type)||"Memo";case E:{var i=e,s=i._payload,o=i._init;try{return y(o(s))}catch{return null}}}return null}var R=Object.assign,j=0,ne,oe,ie,se,le,ue,fe;function ce(){}ce.__reactDisabledLog=!0;function Le(){{if(j===0){ne=console.log,oe=console.info,ie=console.warn,se=console.error,le=console.group,ue=console.groupCollapsed,fe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ce,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}j++}}function Ve(){{if(j--,j===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R({},e,{value:ne}),info:R({},e,{value:oe}),warn:R({},e,{value:ie}),error:R({},e,{value:se}),group:R({},e,{value:le}),groupCollapsed:R({},e,{value:ue}),groupEnd:R({},e,{value:fe})})}j<0&&f("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var N=O.ReactCurrentDispatcher,B;function $(e,r,t){{if(B===void 0)try{throw Error()}catch(i){var a=i.stack.trim().match(/\n( *(at )?)/);B=a&&a[1]||""}return`
|
|
18
|
+
`+B+e}}var J=!1,Y;{var Me=typeof WeakMap=="function"?WeakMap:Map;Y=new Me}function de(e,r){if(!e||J)return"";{var t=Y.get(e);if(t!==void 0)return t}var a;J=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=N.current,N.current=null,Le();try{if(r){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(v){a=v}Reflect.construct(e,[],o)}else{try{o.call()}catch(v){a=v}e.call(o.prototype)}}else{try{throw Error()}catch(v){a=v}e()}}catch(v){if(v&&a&&typeof v.stack=="string"){for(var n=v.stack.split(`
|
|
19
|
+
`),d=a.stack.split(`
|
|
20
|
+
`),l=n.length-1,u=d.length-1;l>=1&&u>=0&&n[l]!==d[u];)u--;for(;l>=1&&u>=0;l--,u--)if(n[l]!==d[u]){if(l!==1||u!==1)do if(l--,u--,u<0||n[l]!==d[u]){var p=`
|
|
21
|
+
`+n[l].replace(" at new "," at ");return e.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",e.displayName)),typeof e=="function"&&Y.set(e,p),p}while(l>=1&&u>=0);break}}}finally{J=!1,N.current=s,Ve(),Error.prepareStackTrace=i}var S=e?e.displayName||e.name:"",m=S?$(S):"";return typeof e=="function"&&Y.set(e,m),m}function Ue(e,r,t){return de(e,!1)}function Ne(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function L(e,r,t){if(e==null)return"";if(typeof e=="function")return de(e,Ne(e));if(typeof e=="string")return $(e);switch(e){case T:return $("Suspense");case h:return $("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case c:return Ue(e.render);case g:return L(e.type,r,t);case E:{var a=e,i=a._payload,s=a._init;try{return L(s(i),r,t)}catch{}}}return""}var x=Object.prototype.hasOwnProperty,ve={},he=O.ReactDebugCurrentFrame;function V(e){if(e){var r=e._owner,t=L(e.type,e._source,r?r.type:null);he.setExtraStackFrame(t)}else he.setExtraStackFrame(null)}function Be(e,r,t,a,i){{var s=Function.call.bind(x);for(var o in e)if(s(e,o)){var n=void 0;try{if(typeof e[o]!="function"){var d=Error((a||"React class")+": "+t+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}n=e[o](r,o,a,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(l){n=l}n&&!(n instanceof Error)&&(V(i),f("%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).",a||"React class",t,o,typeof n),V(null)),n instanceof Error&&!(n.message in ve)&&(ve[n.message]=!0,V(i),f("Failed %s type: %s",t,n.message),V(null))}}}var Je=Array.isArray;function q(e){return Je(e)}function qe(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Ke(e){try{return pe(e),!1}catch{return!0}}function pe(e){return""+e}function ye(e){if(Ke(e))return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",qe(e)),pe(e)}var k=O.ReactCurrentOwner,Ge={key:!0,ref:!0,__self:!0,__source:!0},ge,be,K;K={};function ze(e){if(x.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Xe(e){if(x.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function He(e,r){if(typeof e.ref=="string"&&k.current&&r&&k.current.stateNode!==r){var t=y(k.current.type);K[t]||(f('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',y(k.current.type),e.ref),K[t]=!0)}}function Ze(e,r){{var t=function(){ge||(ge=!0,f("%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 Qe(e,r){{var t=function(){be||(be=!0,f("%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 er=function(e,r,t,a,i,s,o){var n={$$typeof:P,type:e,key:r,ref:t,props:o,_owner:s};return n._store={},Object.defineProperty(n._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(n,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(n,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(n.props),Object.freeze(n)),n};function rr(e,r,t,a,i){{var s,o={},n=null,d=null;t!==void 0&&(ye(t),n=""+t),Xe(r)&&(ye(r.key),n=""+r.key),ze(r)&&(d=r.ref,He(r,i));for(s in r)x.call(r,s)&&!Ge.hasOwnProperty(s)&&(o[s]=r[s]);if(e&&e.defaultProps){var l=e.defaultProps;for(s in l)o[s]===void 0&&(o[s]=l[s])}if(n||d){var u=typeof e=="function"?e.displayName||e.name||"Unknown":e;n&&Ze(o,u),d&&Qe(o,u)}return er(e,n,d,i,a,k.current,o)}}var G=O.ReactCurrentOwner,Ee=O.ReactDebugCurrentFrame;function w(e){if(e){var r=e._owner,t=L(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}var z;z=!1;function X(e){return typeof e=="object"&&e!==null&&e.$$typeof===P}function Re(){{if(G.current){var e=y(G.current.type);if(e)return`
|
|
22
|
+
|
|
23
|
+
Check the render method of \``+e+"`."}return""}}function tr(e){return""}var me={};function ar(e){{var r=Re();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 _e(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ar(r);if(me[t])return;me[t]=!0;var a="";e&&e._owner&&e._owner!==G.current&&(a=" It was passed a child from "+y(e._owner.type)+"."),w(e),f('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,a),w(null)}}function Te(e,r){{if(typeof e!="object")return;if(q(e))for(var t=0;t<e.length;t++){var a=e[t];X(a)&&_e(a,r)}else if(X(e))e._store&&(e._store.validated=!0);else if(e){var i=xe(e);if(typeof i=="function"&&i!==e.entries)for(var s=i.call(e),o;!(o=s.next()).done;)X(o.value)&&_e(o.value,r)}}}function nr(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===c||r.$$typeof===g))t=r.propTypes;else return;if(t){var a=y(r);Be(t,e.props,"prop",a,e)}else if(r.PropTypes!==void 0&&!z){z=!0;var i=y(r);f("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",i||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function or(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var a=r[t];if(a!=="children"&&a!=="key"){w(e),f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),w(null);break}}e.ref!==null&&(w(e),f("Invalid attribute `ref` supplied to `React.Fragment`."),w(null))}}var Oe={};function we(e,r,t,a,i,s){{var o=$e(e);if(!o){var n="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(n+=" 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 d=tr();d?n+=d:n+=Re();var l;e===null?l="null":q(e)?l="array":e!==void 0&&e.$$typeof===P?(l="<"+(y(e.type)||"Unknown")+" />",n=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",l,n)}var u=rr(e,r,t,i,s);if(u==null)return u;if(o){var p=r.children;if(p!==void 0)if(a)if(q(p)){for(var S=0;S<p.length;S++)Te(p[S],e);Object.freeze&&Object.freeze(p)}else f("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 Te(p,e)}if(x.call(r,"key")){var m=y(e),v=Object.keys(r).filter(function(cr){return cr!=="key"}),H=v.length>0?"{key: someKey, "+v.join(": ..., ")+": ...}":"{key: someKey}";if(!Oe[m+H]){var fr=v.length>0?"{"+v.join(": ..., ")+": ...}":"{}";f(`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} />`,H,m,fr,m),Oe[m+H]=!0}}return e===_?or(u):nr(u),u}}function ir(e,r,t){return we(e,r,t,!0)}function sr(e,r,t){return we(e,r,t,!1)}var lr=sr,ur=ir;F.Fragment=_,F.jsx=lr,F.jsxs=ur}()),F}process.env.NODE_ENV==="production"?ee.exports=dr():ee.exports=vr();var hr=ee.exports;const Z={25:"hsla(100, 71%, 96%, 1)",50:"hsla(100, 31%, 92%, 1)",100:"hsla(100, 71%, 88%, 1)",200:"hsla(100, 71%, 84%, 1)",300:"hsla(100, 70%, 75%, 1)",400:"hsla(100, 71%, 67%, 1)",500:"hsla(100, 71%, 58%, 1)",600:"hsla(110, 51%, 47%, 1)","600-A08":"hsla(110, 51%, 47%, .08)",700:"hsla(110, 51%, 35%, 1)",800:"hsla(120, 50%, 24%, 1)",900:"hsla(130, 52%, 18%, 1)",950:"hsla(130, 52%, 14%, 1)"},Q={"0-A8":"hsla(0, 0%, 100%, 0.8)",25:"hsla(180, 7%, 97%, 1)",50:"hsla(150, 7%, 95%, 1)",100:"hsla(156, 5%, 82%, 1)",200:"hsla(150, 5%, 76%, 1)",300:"hsla(150, 5%, 64%, 1)",400:"hsla(150, 5%, 51%, 1)",500:"hsla(150, 8%, 39%, 1)",600:"hsla(150, 7%, 31%, 1)",700:"hsla(150, 8%, 24%, 1)",800:"hsla(150, 7%, 16%, 1)","800-A04":"hsla(150, 7%, 16%, .04)","800-A08":"hsla(150, 7%, 16%, .08)","800-A8":"hsla(150, 7%, 16%, .8)","800-A16":"hsla(150, 7%, 16%, .16)",900:"hsla(150, 7%, 12%, 1)",950:"hsla(150, 10%, 8%, 1)"},pr={primary:Z,neutral:Q,fg:{primary:"hsla(130, 52%, 18%, 1)",secondary:"hsla(150, 8%, 39%, 1)",tertiary:"hsla(150, 5%, 64%, 1)",accent:{action:"hsla(110, 51%, 35%, 1)",error:"hsla(18, 100%, 50%, 1)",warning:"hsla(40, 100%, 42%, 1)"},base:"hsla(150, 7%, 16%, 1)",disabled:"hsla(130, 52%, 18%, 0.4)"},bg:{base:"hsla(0, 0%, 100%, 1)",primary:Z[50],secondary:"hsla(180, 7%, 97%, 1)",elevated:"hsla(0, 0%, 100%, 0.6)",tertiary:Q[50]},sf:{primary:"hsla(100, 71%, 58%, 1)",secondary:"hsla(150, 7%, 12%, 1)",tertiary:"hsla(180, 7%, 97%, 1)",tertiaryHover:"hsla(180, 7%, 94%, 1)",light:{action:Z[25],error:"hsla(17, 100%, 97%, 1)",tertiary:Q[50],warning:"hsla(40, 100%, 97%, 1)"},base:"hsla(150, 7%, 16%, 0.04)",disabled:"hsla(100, 71%, 58%, 0.4)",inverseBase:"hsla(0, 0%, 100%, 0.08)"},border:{default:"hsla(150, 5%, 91%, 1)",action:"hsla(110, 51%, 35%, 1)",error:"hsla(18, 100%, 50%, 1)"},white:"hsla(0, 0%, 100%, 1)",black:"hsla(0, 0%, 0%, 1)",darkGreen:"hsla(154, 60%, 19%, 1)",palePeach:"hsla(18, 100%, 90%, 1)",cream:"hsla(17, 100%, 97%, 1)",coralTint:"hsla(17, 100%, 85%, 1)"},yr={title:{fontFamily:"Lora",fontWeight:500},label:{fontFamily:"Inter",fontWeight:500},body:{fontFamily:"Inter",fontWeight:400},caption:{fontFamily:"Inter",fontWeight:600}};exports.colors=pr;exports.jsxRuntimeExports=hr;exports.typography=yr;
|