mytek-components 0.0.4 → 0.0.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/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "mytek-components",
3
- "version": "0.0.4",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
- "main": "dist/index.js",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.js",
6
7
  "exports": {
7
8
  ".": "./dist/index.js"
8
9
  },
@@ -16,10 +17,23 @@
16
17
  "preview": "vite preview"
17
18
  },
18
19
  "dependencies": {
20
+ "@emotion/react": "^11.14.0",
21
+ "@emotion/sheet": "^1.4.0",
22
+ "@mui/icons-material": "^7.1.1",
23
+ "@mui/material": "^7.1.1",
19
24
  "@tailwindcss/vite": "^4.1.10",
20
- "mytek-components": "^0.0.1",
25
+ "axios": "^1.10.0",
26
+ "bootstrap": "^5.3.7",
27
+ "clsx": "^2.1.1",
28
+ "libphonenumber-js": "^1.12.9",
29
+ "mytek-components": "0.0.6",
30
+ "number-to-words": "^1.2.4",
21
31
  "react": "^19.1.0",
32
+ "react-bootstrap": "^2.10.10",
22
33
  "react-dom": "^19.1.0",
34
+ "react-icons": "^5.5.0",
35
+ "react-phone-input-2": "^2.15.1",
36
+ "react-spinners": "^0.17.0",
23
37
  "tailwindcss": "^4.1.10"
24
38
  },
25
39
  "devDependencies": {
@@ -1,17 +0,0 @@
1
- (function(){const E=document.createElement("link").relList;if(E&&E.supports&&E.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))d(i);new MutationObserver(i=>{for(const c of i)if(c.type==="childList")for(const a of c.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&d(a)}).observe(document,{childList:!0,subtree:!0});function y(i){const c={};return i.integrity&&(c.integrity=i.integrity),i.referrerPolicy&&(c.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?c.credentials="include":i.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function d(i){if(i.ep)return;i.ep=!0;const c=y(i);fetch(i.href,c)}})();var g={exports:{}},C={};/**
2
- * @license React
3
- * react-jsx-runtime.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and 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 D;function tt(){if(D)return C;D=1;var v=Symbol.for("react.transitional.element"),E=Symbol.for("react.fragment");function y(d,i,c){var a=null;if(c!==void 0&&(a=""+c),i.key!==void 0&&(a=""+i.key),"key"in i){c={};for(var T in i)T!=="key"&&(c[T]=i[T])}else c=i;return i=c.ref,{$$typeof:v,type:d,key:a,ref:i!==void 0?i:null,props:c}}return C.Fragment=E,C.jsx=y,C.jsxs=y,C}var b;function et(){return b||(b=1,g.exports=tt()),g.exports}et();var j={exports:{}},o={};/**
10
- * @license React
11
- * react.production.js
12
- *
13
- * Copyright (c) Meta Platforms, Inc. and 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 J;function rt(){if(J)return o;J=1;var v=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),a=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),B=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),H=Symbol.iterator;function W(t){return t===null||typeof t!="object"?null:(t=H&&t[H]||t["@@iterator"],typeof t=="function"?t:null)}var $={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,L={};function R(t,e,r){this.props=t,this.context=e,this.refs=L,this.updater=r||$}R.prototype.isReactComponent={},R.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},R.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function M(){}M.prototype=R.prototype;function A(t,e,r){this.props=t,this.context=e,this.refs=L,this.updater=r||$}var w=A.prototype=new M;w.constructor=A,N(w,R.prototype),w.isPureReactComponent=!0;var Y=Array.isArray,f={H:null,A:null,T:null,S:null,V:null},q=Object.prototype.hasOwnProperty;function S(t,e,r,n,s,p){return r=p.ref,{$$typeof:v,type:t,key:e,ref:r!==void 0?r:null,props:p}}function Q(t,e){return S(t.type,e,void 0,void 0,void 0,t.props)}function O(t){return typeof t=="object"&&t!==null&&t.$$typeof===v}function X(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(r){return e[r]})}var I=/\/+/g;function P(t,e){return typeof t=="object"&&t!==null&&t.key!=null?X(""+t.key):e.toString(36)}function k(){}function Z(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(k,k):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function m(t,e,r,n,s){var p=typeof t;(p==="undefined"||p==="boolean")&&(t=null);var u=!1;if(t===null)u=!0;else switch(p){case"bigint":case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case v:case E:u=!0;break;case x:return u=t._init,m(u(t._payload),e,r,n,s)}}if(u)return s=s(t),u=n===""?"."+P(t,0):n,Y(s)?(r="",u!=null&&(r=u.replace(I,"$&/")+"/"),m(s,e,r,"",function(V){return V})):s!=null&&(O(s)&&(s=Q(s,r+(s.key==null||t&&t.key===s.key?"":(""+s.key).replace(I,"$&/")+"/")+u)),e.push(s)),1;u=0;var _=n===""?".":n+":";if(Y(t))for(var l=0;l<t.length;l++)n=t[l],p=_+P(n,l),u+=m(n,e,r,p,s);else if(l=W(t),typeof l=="function")for(t=l.call(t),l=0;!(n=t.next()).done;)n=n.value,p=_+P(n,l++),u+=m(n,e,r,p,s);else if(p==="object"){if(typeof t.then=="function")return m(Z(t),e,r,n,s);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return u}function h(t,e,r){if(t==null)return t;var n=[],s=0;return m(t,n,"","",function(p){return e.call(r,p,s++)}),n}function K(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(r){(t._status===0||t._status===-1)&&(t._status=1,t._result=r)},function(r){(t._status===0||t._status===-1)&&(t._status=2,t._result=r)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var U=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function F(){}return o.Children={map:h,forEach:function(t,e,r){h(t,function(){e.apply(this,arguments)},r)},count:function(t){var e=0;return h(t,function(){e++}),e},toArray:function(t){return h(t,function(e){return e})||[]},only:function(t){if(!O(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},o.Component=R,o.Fragment=y,o.Profiler=i,o.PureComponent=A,o.StrictMode=d,o.Suspense=G,o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f,o.__COMPILER_RUNTIME={__proto__:null,c:function(t){return f.H.useMemoCache(t)}},o.cache=function(t){return function(){return t.apply(null,arguments)}},o.cloneElement=function(t,e,r){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var n=N({},t.props),s=t.key,p=void 0;if(e!=null)for(u in e.ref!==void 0&&(p=void 0),e.key!==void 0&&(s=""+e.key),e)!q.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(n[u]=e[u]);var u=arguments.length-2;if(u===1)n.children=r;else if(1<u){for(var _=Array(u),l=0;l<u;l++)_[l]=arguments[l+2];n.children=_}return S(t.type,s,void 0,void 0,p,n)},o.createContext=function(t){return t={$$typeof:a,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:c,_context:t},t},o.createElement=function(t,e,r){var n,s={},p=null;if(e!=null)for(n in e.key!==void 0&&(p=""+e.key),e)q.call(e,n)&&n!=="key"&&n!=="__self"&&n!=="__source"&&(s[n]=e[n]);var u=arguments.length-2;if(u===1)s.children=r;else if(1<u){for(var _=Array(u),l=0;l<u;l++)_[l]=arguments[l+2];s.children=_}if(t&&t.defaultProps)for(n in u=t.defaultProps,u)s[n]===void 0&&(s[n]=u[n]);return S(t,p,void 0,void 0,null,s)},o.createRef=function(){return{current:null}},o.forwardRef=function(t){return{$$typeof:T,render:t}},o.isValidElement=O,o.lazy=function(t){return{$$typeof:x,_payload:{_status:-1,_result:t},_init:K}},o.memo=function(t,e){return{$$typeof:B,type:t,compare:e===void 0?null:e}},o.startTransition=function(t){var e=f.T,r={};f.T=r;try{var n=t(),s=f.S;s!==null&&s(r,n),typeof n=="object"&&n!==null&&typeof n.then=="function"&&n.then(F,U)}catch(p){U(p)}finally{f.T=e}},o.unstable_useCacheRefresh=function(){return f.H.useCacheRefresh()},o.use=function(t){return f.H.use(t)},o.useActionState=function(t,e,r){return f.H.useActionState(t,e,r)},o.useCallback=function(t,e){return f.H.useCallback(t,e)},o.useContext=function(t){return f.H.useContext(t)},o.useDebugValue=function(){},o.useDeferredValue=function(t,e){return f.H.useDeferredValue(t,e)},o.useEffect=function(t,e,r){var n=f.H;if(typeof r=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return n.useEffect(t,e)},o.useId=function(){return f.H.useId()},o.useImperativeHandle=function(t,e,r){return f.H.useImperativeHandle(t,e,r)},o.useInsertionEffect=function(t,e){return f.H.useInsertionEffect(t,e)},o.useLayoutEffect=function(t,e){return f.H.useLayoutEffect(t,e)},o.useMemo=function(t,e){return f.H.useMemo(t,e)},o.useOptimistic=function(t,e){return f.H.useOptimistic(t,e)},o.useReducer=function(t,e,r){return f.H.useReducer(t,e,r)},o.useRef=function(t){return f.H.useRef(t)},o.useState=function(t){return f.H.useState(t)},o.useSyncExternalStore=function(t,e,r){return f.H.useSyncExternalStore(t,e,r)},o.useTransition=function(){return f.H.useTransition()},o.version="19.1.0",o}var z;function nt(){return z||(z=1,j.exports=rt()),j.exports}nt();
package/dist/index.html DELETED
@@ -1,13 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>Vite + React</title>
8
- <script type="module" crossorigin src="/assets/index-C3Vjl6Rf.js"></script>
9
- </head>
10
- <body>
11
- <div id="root"></div>
12
- </body>
13
- </html>