@aleleba/ro-ut-ui 3.0.11 → 4.0.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/README.md +4 -0
- package/dist/index.css +6 -6
- package/dist/index.js +1 -1
- package/dist/types/{src/components → components}/Buttons/Button/index.d.ts +2 -2
- package/dist/types/{src/components → components}/Cards/Card/index.d.ts +2 -2
- package/package.json +71 -57
- package/dist/types/cypress/support/commands.d.ts +0 -0
- package/dist/types/cypress/support/component.d.ts +0 -9
- package/dist/types/jest.config.d.ts +0 -7
- package/dist/types/postcss.config.d.ts +0 -3
- package/dist/types/setupTest.d.ts +0 -1
- package/dist/types/src/__mocks__/fileMock.d.ts +0 -0
- package/dist/types/src/components/Buttons/Button.stories.d.ts +0 -11
- package/dist/types/src/components/Buttons/__tests__/Button.test.cy.d.ts +0 -1
- package/dist/types/src/components/Buttons/__tests__/Button.test.d.ts +0 -1
- package/dist/types/src/components/Cards/Card.stories.d.ts +0 -11
- package/dist/types/src/components/Cards/__tests__/Card.test.cy.d.ts +0 -1
- package/dist/types/src/components/Cards/__tests__/Card.test.d.ts +0 -1
- package/dist/types/src/components/Icons/Icon.stories.d.ts +0 -5
- package/dist/types/src/components/Inputs/Input.stories.d.ts +0 -15
- package/dist/types/src/components/Inputs/__tests__/Input.test.cy.d.ts +0 -1
- package/dist/types/src/components/Inputs/__tests__/Input.test.d.ts +0 -1
- package/dist/types/src/icons/icons.d.ts +0 -0
- package/dist/types/src/icons/icons.font.d.ts +0 -0
- package/dist/types/tailwind.config.d.ts +0 -2
- package/dist/types/webpack.config.d.ts +0 -63
- package/dist/types/webpack.cy.config.d.ts +0 -60
- package/dist/types/webpack.icons.config.d.ts +0 -1
- /package/dist/types/{src/components → components}/Buttons/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/Cards/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/Icons/Icon/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/Icons/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/Inputs/Input/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/Inputs/index.d.ts +0 -0
- /package/dist/types/{src/components → components}/index.d.ts +0 -0
- /package/dist/types/{src/utils → utils}/index.d.ts +0 -0
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(r,a){"object"==typeof exports&&"object"==typeof module?module.exports=a():"function"==typeof define&&define.amd?define([],a):"object"==typeof exports?exports["ui-library"]=a():r["ui-library"]=a()}(this,(
|
|
1
|
+
!function(r,a){"object"==typeof exports&&"object"==typeof module?module.exports=a():"function"==typeof define&&define.amd?define([],a):"object"==typeof exports?exports["ui-library"]=a():r["ui-library"]=a()}(this,()=>(()=>{"use strict";var r={d:(a,e)=>{for(var t in e)r.o(e,t)&&!r.o(a,t)&&Object.defineProperty(a,t,{enumerable:!0,get:e[t]})},o:(r,a)=>Object.prototype.hasOwnProperty.call(r,a),r:r=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})}},a={};r.r(a),r.d(a,{BorderCard:()=>Ir,Button:()=>Pr,ButtonThemes:()=>Cr,ButtonTypes:()=>xr,Card:()=>Mr,CardThemes:()=>Ar,Icon:()=>D,IconNames:()=>G,Input:()=>Lr,InputThemes:()=>Fr,getBorderCard:()=>Hr,getButtonThemeClass:()=>Nr,getCardThemeClass:()=>Tr,getIconClass:()=>ur,getInputThemeClass:()=>Wr});const e="namBd2yDO5uRnuiJiF4I",t="IezAhh3IOxZrbRaPnSuX",n="peAKuLVAiIXSFB_8weUX",c="fX0XkPg_VOwlCS_puohG",o="uRh5AMB7fHGMjymlSkIe",i="A61ABO8IXKvkyJ2iRq6l",u="jtiHB4J2Gd75DxgbExDU",s="htFKNG_lNNMADoynscvf",d="b41eXc_YG54TSjVcPdr3",l="iDCPPzPmlHXmY6DeRlrz",y="qSKheV1seun_M2zooNYG",m="neFnz7mqfjyob2IpBRAB",p="W1_8p2A4KoAru1W3fQQt",f="tm0XixvT9lg82S8vBQ7H",h="s4WqNjDDGgeMddVjGC39",v="bedJB1k7F24TZZ14mvGS",g="PgNn5YrHhpkkzKgbQGHw",b="g7BsZUvE5UmvGR7yux1n",j="oCPQLbmQjjlb4QfF6N3z",O="w1jjKytmOVrGE_OOWN24",C="wxOwGgByggkSrx_yH1Mm",x="jyv2Pn76yjv7yHzme6Vi",P="l_u5YpNTZO_QLR2ODTsM",N="D3lpa3rGkDORSZEMO4Pu",q="ptOAordfG6nUqt1RGPGD",B="tcijTEF2DcjdTgUYgwm_",S="Sb74MmtzlQ4r_auGli10",k="iRPlBCtkk8OZ1fVrK6Ac",w=require("react/jsx-runtime");var G,R=function(){for(var r=[],a=0;a<arguments.length;a++)r[a]=arguments[a];return r.filter(function(r){return r}).join(" ")},D=function(r){var a=r.id,e=void 0===a?"":a,t=r.className,n=void 0===t?"":t,c=r.icon,o=R(c?ur({icon:c}):"",n);return(0,w.jsx)("span",{id:e,className:o})},Q=e,_=b,A=g,I=l,M=s,T=u,H=c,K=t,V=x,E=i,X=m,z=d,U=h,Z=f,F=S,L=C,W=v,Y=O,J=y,$=N,rr=P,ar=q,er=B,tr=o,nr=j,cr=p,or=n,ir=k;!function(r){r.perfil="perfil",r.password="password",r.google="google",r.facebook="facebook",r.dashboard="dashboard",r.calendario="calendario",r.administracionDeUsuario="administracionDeUsuario",r.rutas="rutas",r.chat="chat",r.informes="informes",r.flecha="flecha",r.nuevaRuta="nuevaRuta",r.notificacion="notificacion",r.usuarioDentroApp="usuarioDentroApp",r.rutaNueva="rutaNueva",r.nuevaRuta2="nuevaRuta2",r.rutaCompletada="rutaCompletada",r.hoy="hoy",r.rutasProgramadas="rutasProgramadas",r.rutasEliminadas="rutasEliminadas",r.rutasReprogramadas="rutasReprogramadas",r.search="search",r.camion="camion",r.pickup="pickup",r.motocicleta="motocicleta",r.barco="barco",r.varios="varios"}(G||(G={}));var ur=function(r){switch(r.icon){case"perfil":return"".concat(Q," ").concat(_);case"password":return"".concat(Q," ").concat(A);case"google":return"".concat(Q," ").concat(I);case"facebook":return"".concat(Q," ").concat(M);case"dashboard":return"".concat(Q," ").concat(T);case"calendario":return"".concat(Q," ").concat(H);case"administracionDeUsuario":return"".concat(Q," ").concat(K);case"rutas":return"".concat(Q," ").concat(V);case"chat":return"".concat(Q," ").concat(E);case"informes":return"".concat(Q," ").concat(X);case"flecha":return"".concat(Q," ").concat(z);case"nuevaRuta":return"".concat(Q," ").concat(U);case"notificacion":return"".concat(Q," ").concat(Z);case"usuarioDentroApp":return"".concat(Q," ").concat(F);case"rutaNueva":return"".concat(Q," ").concat(L);case"nuevaRuta2":return"".concat(Q," ").concat(W);case"rutaCompletada":return"".concat(Q," ").concat(Y);case"hoy":return"".concat(Q," ").concat(J);case"rutasProgramadas":return"".concat(Q," ").concat($);case"rutasEliminadas":return"".concat(Q," ").concat(rr);case"rutasReprogramadas":return"".concat(Q," ").concat(ar);case"search":return"".concat(Q," ").concat(er);case"camion":return"".concat(Q," ").concat(tr);case"pickup":return"".concat(Q," ").concat(nr);case"motocicleta":return"".concat(Q," ").concat(cr);case"barco":return"".concat(Q," ").concat(or);case"varios":return"".concat(Q," ").concat(ir);default:return""}};const sr="xvEu78EjV0nQn9xswzRg",dr="b_PgmePXtv2W5EZWky9O",lr="UxC2t97LIIISx7e71_3R",yr="CFpiqnX4jq_EltxkwEvy",mr="yjB0ArEAyeYU6_u7zKsQ",pr="Djr8Yh2IQcUcgjSZ_WQ5",fr="uyBaWoSnHEIxM4x7jgQw",hr="qWYltwKufw7ZliVlCT9g",vr="oQRCOHaGpuh207HQzerc",gr="HtF5k4mwsNW1v9YG7qd2",br="Pg7VF5nFKczFtA3r5E88",jr="wXyKJ8kY_42bOcyetwnC",Or="dLCzLEcc0jSLJgsTyHoM";var Cr,xr,Pr=function(r){var a=r.id,e=void 0===a?"":a,t=r.children,n=void 0===t?"":t,c=r.className,o=void 0===c?"":c,i=r.theme,u=void 0===i?Cr.primary:i,s=r.hardBorder,d=void 0===s||s,l=r.type,y=void 0===l?xr.button:l,m=r.onClick,p=R(lr,Nr({theme:u}),d?sr:dr,o);return(0,w.jsx)("button",{id:e,className:p,type:y,onClick:m,children:n})};!function(r){r.primary="primary",r.secondary="secondary",r.tertiary="tertiary",r.quaternary="quaternary",r.quinary="quinary",r.primaryOutline="primaryOutline",r.secondaryOutline="secondaryOutline",r.tertiaryOutline="tertiaryOutline",r.quaternaryOutline="quaternaryOutline",r.quinaryOutline="quinaryOutline"}(Cr||(Cr={})),function(r){r.submit="submit",r.reset="reset",r.button="button"}(xr||(xr={}));var Nr=function(r){switch(r.theme){case Cr.primary:return yr;case Cr.secondary:return mr;case Cr.tertiary:return pr;case Cr.quaternary:return fr;case Cr.quinary:return hr;case Cr.primaryOutline:return vr;case Cr.secondaryOutline:return gr;case Cr.tertiaryOutline:return br;case Cr.quaternaryOutline:return jr;case Cr.quinaryOutline:return Or;default:return""}};const qr="pAD4BifhMTLUZvCJxyOx",Br="a2VHzo7AbMVmPMGC3mSx",Sr="W0VuH9q0UPwsyVsTQQJe",kr="SIPeMNZqcOWCkESf4cPg",wr="hPcmh2SHmHeXnUxGP93s",Gr="DcZJoe6Kl4lnV3k4i7nV",Rr="LH35do5a6HPSjPusBT_z",Dr="juXoWoLQrRgOgzapK6H9",Qr="tPCdlPqN6fB69GmnQ181",_r="nsb5sNsicCrkfBe9SIFs";var Ar,Ir,Mr=function(r){var a=r.children,e=void 0===a?"":a,t=r.className,n=void 0===t?"":t,c=r.theme,o=void 0===c?Ar.primary:c,i=r.border,u=void 0===i?Ir.soft:i,s=r.title,d=R(qr,Tr({theme:o}),Hr({border:u}),n);return(0,w.jsxs)("div",{className:d,children:[s&&(0,w.jsx)("div",{className:Br,children:(0,w.jsx)("h5",{className:kr,children:s})}),(0,w.jsx)("div",{className:Sr,children:e})]})};!function(r){r.primary="primary",r.secondary="secondary",r.tertiary="tertiary",r.quaternary="quaternary"}(Ar||(Ar={})),function(r){r.soft="soft",r.hard="hard"}(Ir||(Ir={}));var Tr=function(r){switch(r.theme){case"primary":return Rr;case"secondary":return Dr;case"tertiary":return Qr;case"quaternary":return _r;default:return""}},Hr=function(r){switch(r.border){case"soft":return wr;case"hard":return Gr;default:return""}};const Kr="n7RrLAyrJ9MGBMP3IhoO",Vr="RaCKCo18u9LiXlNtfXSg",Er="LCo8ZQNn4x9t1bQv68YX",Xr="nB_qk0uh4VaPFqAV_rdo",zr="r2dDDK1b9GSUQ7KkjlAS",Ur="xghXNj3fj0NG1DBWKj8w",Zr="eB30gQUCIMLMoZPeOKil";var Fr,Lr=function(r){var a=r.id,e=void 0===a?"":a,t=r.className,n=void 0===t?"":t,c=r.type,o=void 0===c?"text":c,i=r.theme,u=void 0===i?Fr.primary:i,s=r.placeholder,d=void 0===s?"":s,l=r.hardBorder,y=void 0!==l&&l,m=r.icon,p=r.onChange,f=void 0===p?function(){}:p,h=R(Er,Wr({theme:u}),y?Ur:"",n,m?Xr:"");return(0,w.jsxs)("div",{className:Kr,children:[(0,w.jsx)("input",{id:e,className:h,placeholder:d,type:o,onChange:f}),m&&(0,w.jsx)(D,{className:Vr,icon:m})]})};!function(r){r.primary="primary",r.secondary="secondary",r.tertiary="tertiary"}(Fr||(Fr={}));var Wr=function(r){switch(r.theme){case"primary":default:return"";case"secondary":return zr;case"tertiary":return Zr}};return a})());
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FC, MouseEventHandler, ReactNode } from 'react';
|
|
1
|
+
import { FC, MouseEventHandler, ReactNode, ReactElement } from 'react';
|
|
2
2
|
import { ButtonThemes, ButtonTypes } from '..';
|
|
3
3
|
export type TButtonProps = {
|
|
4
4
|
/**
|
|
@@ -8,7 +8,7 @@ export type TButtonProps = {
|
|
|
8
8
|
/**
|
|
9
9
|
* Is this the child component of the button. (Should be a string or a react component)
|
|
10
10
|
*/
|
|
11
|
-
children?: string | ReactNode | ReactNode[] |
|
|
11
|
+
children?: string | ReactNode | ReactNode[] | ReactElement;
|
|
12
12
|
/**
|
|
13
13
|
* Is this the classes that you want to add
|
|
14
14
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
1
|
+
import { FC, ReactNode, ReactElement } from 'react';
|
|
2
2
|
import { CardThemes, BorderCard } from '..';
|
|
3
3
|
export type TCardProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Is this the child component of the button. (Should be a string or a react component)
|
|
6
6
|
*/
|
|
7
|
-
children?: string | ReactNode | ReactNode[] |
|
|
7
|
+
children?: string | ReactNode | ReactNode[] | ReactElement;
|
|
8
8
|
/**
|
|
9
9
|
* Is this the classes that you want to add
|
|
10
10
|
*/
|
package/package.json
CHANGED
|
@@ -1,19 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aleleba/ro-ut-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "UI Component for Ro-ut App",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/types/components/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/types/components/index.d.ts",
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"require": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./dist/index.css": "./dist/index.css"
|
|
14
|
+
},
|
|
6
15
|
"scripts": {
|
|
7
16
|
"start": "npm run build:icons && npm run storybook",
|
|
8
17
|
"build": "npm run build:icons && webpack",
|
|
9
18
|
"build:icons": "webpack --config webpack.icons.config.ts",
|
|
10
|
-
"lint": "eslint
|
|
11
|
-
"lint:fix": "eslint
|
|
19
|
+
"lint": "eslint .",
|
|
20
|
+
"lint:fix": "eslint . --fix",
|
|
12
21
|
"test": "npm run build:icons && jest",
|
|
13
22
|
"test:watch": "npm run build:icons && jest --watch",
|
|
14
23
|
"storybook": "storybook dev -p 3000",
|
|
15
24
|
"build-storybook": "storybook build",
|
|
16
|
-
"check-updates": "npx npm-check-updates -u
|
|
25
|
+
"check-updates": "npx npm-check-updates -u && npm i",
|
|
17
26
|
"cy:open": "npm run build:icons && npx cypress open",
|
|
18
27
|
"cy:run": "npm run build:icons && cypress install && cypress run --headless --component"
|
|
19
28
|
},
|
|
@@ -34,76 +43,81 @@
|
|
|
34
43
|
"url": "https://github.com/aleleba/create-react-component-library/issues"
|
|
35
44
|
},
|
|
36
45
|
"homepage": "https://github.com/aleleba/create-react-component-library#readme",
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": ">=22.11.0"
|
|
48
|
+
},
|
|
37
49
|
"devDependencies": {
|
|
38
|
-
"@babel/core": "^7.
|
|
39
|
-
"@babel/preset-env": "^7.
|
|
40
|
-
"@babel/preset-react": "^7.
|
|
41
|
-
"@babel/preset-typescript": "^7.
|
|
42
|
-
"@babel/register": "^7.
|
|
43
|
-
"@
|
|
44
|
-
"@
|
|
45
|
-
"@storybook/addon-docs": "^
|
|
46
|
-
"@storybook/addon-
|
|
47
|
-
"@storybook/addon-
|
|
48
|
-
"@storybook/addon-
|
|
49
|
-
"@storybook/
|
|
50
|
-
"@storybook/
|
|
51
|
-
"@storybook/
|
|
52
|
-
"@
|
|
53
|
-
"@
|
|
54
|
-
"@
|
|
55
|
-
"@
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
"@
|
|
59
|
-
"@types/
|
|
60
|
-
"@types/jest": "^29.5.14",
|
|
61
|
-
"@types/node": "^22.8.4",
|
|
62
|
-
"@types/react": "^18.3.12",
|
|
63
|
-
"@types/react-dom": "^18.3.1",
|
|
50
|
+
"@babel/core": "^7.29.7",
|
|
51
|
+
"@babel/preset-env": "^7.29.7",
|
|
52
|
+
"@babel/preset-react": "^7.29.7",
|
|
53
|
+
"@babel/preset-typescript": "^7.29.7",
|
|
54
|
+
"@babel/register": "^7.29.7",
|
|
55
|
+
"@eslint/js": "^9.39.4",
|
|
56
|
+
"@mdx-js/react": "^3.1.1",
|
|
57
|
+
"@storybook/addon-docs": "^10.4.3",
|
|
58
|
+
"@storybook/addon-links": "^10.4.3",
|
|
59
|
+
"@storybook/addon-styling-webpack": "^3.0.2",
|
|
60
|
+
"@storybook/addon-webpack5-compiler-babel": "^4.0.1",
|
|
61
|
+
"@storybook/cli": "^10.4.3",
|
|
62
|
+
"@storybook/preset-scss": "^1.0.3",
|
|
63
|
+
"@storybook/react-webpack5": "^10.4.3",
|
|
64
|
+
"@testing-library/dom": "^10.4.1",
|
|
65
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
66
|
+
"@testing-library/react": "^16.3.2",
|
|
67
|
+
"@testing-library/user-event": "^14.6.1",
|
|
68
|
+
"@types/jest": "^30.0.0",
|
|
69
|
+
"@types/node": "^24.0.0",
|
|
70
|
+
"@types/react": "^19.2.17",
|
|
71
|
+
"@types/react-dom": "^19.2.3",
|
|
64
72
|
"@types/webpack": "^5.28.5",
|
|
65
73
|
"autoprefixer": "^10.4.20",
|
|
66
|
-
"babel-loader": "^
|
|
74
|
+
"babel-loader": "^10.1.1",
|
|
67
75
|
"clean-webpack-plugin": "^4.0.0",
|
|
68
|
-
"css-loader": "^7.1.
|
|
69
|
-
"css-minimizer-webpack-plugin": "^
|
|
70
|
-
"cypress": "^
|
|
71
|
-
"dotenv": "^
|
|
72
|
-
"eslint": "^9.
|
|
73
|
-
"eslint-plugin-react": "^7.37.
|
|
74
|
-
"eslint-plugin-storybook": "^
|
|
75
|
-
"eslint-webpack-plugin": "^
|
|
76
|
-
"
|
|
76
|
+
"css-loader": "^7.1.4",
|
|
77
|
+
"css-minimizer-webpack-plugin": "^8.0.0",
|
|
78
|
+
"cypress": "^15.17.0",
|
|
79
|
+
"dotenv": "^17.4.2",
|
|
80
|
+
"eslint": "^9.39.4",
|
|
81
|
+
"eslint-plugin-react": "^7.37.5",
|
|
82
|
+
"eslint-plugin-storybook": "^10.4.3",
|
|
83
|
+
"eslint-webpack-plugin": "^6.0.0",
|
|
84
|
+
"globals": "^16.5.0",
|
|
85
|
+
"html-webpack-plugin": "^5.6.7",
|
|
77
86
|
"identity-obj-proxy": "^3.0.0",
|
|
78
|
-
"jest": "^
|
|
79
|
-
"jest-environment-jsdom": "^
|
|
87
|
+
"jest": "^30.4.2",
|
|
88
|
+
"jest-environment-jsdom": "^30.4.1",
|
|
80
89
|
"jest-fetch-mock": "^3.0.3",
|
|
81
|
-
"mini-css-extract-plugin": "^2.
|
|
90
|
+
"mini-css-extract-plugin": "^2.10.2",
|
|
82
91
|
"postcss": "^8.4.47",
|
|
83
92
|
"postcss-loader": "^8.1.1",
|
|
84
|
-
"react": "^
|
|
85
|
-
"react-dom": "^
|
|
93
|
+
"react": "^19.2.7",
|
|
94
|
+
"react-dom": "^19.2.7",
|
|
86
95
|
"react-router-dom": "^6.27.0",
|
|
87
96
|
"resolve-ts-aliases": "^1.0.1",
|
|
88
|
-
"sass": "^1.
|
|
89
|
-
"sass-loader": "^
|
|
90
|
-
"storybook": "^
|
|
97
|
+
"sass": "^1.100.0",
|
|
98
|
+
"sass-loader": "^17.0.0",
|
|
99
|
+
"storybook": "^10.4.3",
|
|
91
100
|
"style-loader": "^4.0.0",
|
|
92
101
|
"tailwindcss": "^3.4.14",
|
|
93
|
-
"terser-webpack-plugin": "^5.
|
|
94
|
-
"ts-jest": "^29.
|
|
95
|
-
"ts-loader": "^9.
|
|
96
|
-
"tsconfig-paths-webpack-plugin": "^4.
|
|
97
|
-
"typescript": "^
|
|
102
|
+
"terser-webpack-plugin": "^5.6.1",
|
|
103
|
+
"ts-jest": "^29.4.11",
|
|
104
|
+
"ts-loader": "^9.6.0",
|
|
105
|
+
"tsconfig-paths-webpack-plugin": "^4.2.0",
|
|
106
|
+
"typescript": "^6.0.3",
|
|
107
|
+
"typescript-eslint": "^8.61.0",
|
|
98
108
|
"url-loader": "^4.1.1",
|
|
99
109
|
"webfonts-loader": "^8.0.1",
|
|
100
|
-
"webpack": "^5.
|
|
101
|
-
"webpack-cli": "^
|
|
110
|
+
"webpack": "^5.107.2",
|
|
111
|
+
"webpack-cli": "^7.0.3",
|
|
102
112
|
"webpack-node-externals": "^3.0.0"
|
|
103
113
|
},
|
|
104
114
|
"peerDependencies": {
|
|
105
|
-
"react": "^
|
|
106
|
-
"react-dom": "^
|
|
115
|
+
"react": "^19.1.0",
|
|
116
|
+
"react-dom": "^19.1.0"
|
|
117
|
+
},
|
|
118
|
+
"overrides": {
|
|
119
|
+
"node-gyp": "^12.4.0",
|
|
120
|
+
"tar": "^7.5.16"
|
|
107
121
|
},
|
|
108
122
|
"files": [
|
|
109
123
|
"./dist"
|
|
File without changes
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export let setupFilesAfterEnv: string[];
|
|
2
|
-
export let testPathIgnorePatterns: string[];
|
|
3
|
-
export let testEnvironment: string;
|
|
4
|
-
export let moduleNameMapper: {
|
|
5
|
-
'\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': string;
|
|
6
|
-
'^.+\\.(css|sass|scss|less)$': string;
|
|
7
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
File without changes
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { Button } from '@components';
|
|
3
|
-
declare const _default: Meta<typeof Button>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TButtonProps>;
|
|
6
|
-
export declare const WithChildren: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TButtonProps>;
|
|
7
|
-
export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TButtonProps>;
|
|
8
|
-
export declare const Secondary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TButtonProps>;
|
|
9
|
-
export declare const Tertiary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TButtonProps>;
|
|
10
|
-
export declare const Quaternary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TButtonProps>;
|
|
11
|
-
export declare const Quinary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TButtonProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { Card } from '@components';
|
|
3
|
-
declare const _default: Meta<typeof Card>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TCardProps>;
|
|
6
|
-
export declare const WithBorderHard: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TCardProps>;
|
|
7
|
-
export declare const WhithHeaderAndButton: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TCardProps>;
|
|
8
|
-
export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TCardProps>;
|
|
9
|
-
export declare const Secondary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TCardProps>;
|
|
10
|
-
export declare const Tertiary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TCardProps>;
|
|
11
|
-
export declare const Quaternary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TCardProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { Icon } from '@components';
|
|
3
|
-
declare const _default: Meta<typeof Icon>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TIconProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { Input } from '@components';
|
|
3
|
-
declare const _default: Meta<typeof Input>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Basic: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TInputProps>;
|
|
6
|
-
export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TInputProps>;
|
|
7
|
-
export declare const PrimaryHardBorder: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TInputProps>;
|
|
8
|
-
export declare const Secondary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TInputProps>;
|
|
9
|
-
export declare const SecondaryHardBorder: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TInputProps>;
|
|
10
|
-
export declare const Tertiary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TInputProps>;
|
|
11
|
-
export declare const PrimaryWhithIcon: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TInputProps>;
|
|
12
|
-
export declare const PrimaryHardBorderWhithIcon: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TInputProps>;
|
|
13
|
-
export declare const SecondaryWithIcon: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TInputProps>;
|
|
14
|
-
export declare const SecondaryHardBorderWithIcon: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TInputProps>;
|
|
15
|
-
export declare const TertiaryWhithIcon: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@components").TInputProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import webpack from 'webpack';
|
|
2
|
-
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
|
|
3
|
-
import { CleanWebpackPlugin } from 'clean-webpack-plugin';
|
|
4
|
-
import CssMinimizerPlugin from 'css-minimizer-webpack-plugin';
|
|
5
|
-
import TerserPlugin from 'terser-webpack-plugin';
|
|
6
|
-
import ESLintPlugin from 'eslint-webpack-plugin';
|
|
7
|
-
declare const _default: {
|
|
8
|
-
entry: string;
|
|
9
|
-
externals: any[];
|
|
10
|
-
resolve: {
|
|
11
|
-
extensions: string[];
|
|
12
|
-
alias: {
|
|
13
|
-
[key: string]: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
mode: string;
|
|
17
|
-
output: {
|
|
18
|
-
filename: string;
|
|
19
|
-
path: string;
|
|
20
|
-
library: string;
|
|
21
|
-
libraryTarget: string;
|
|
22
|
-
globalObject: string;
|
|
23
|
-
};
|
|
24
|
-
plugins: (MiniCssExtractPlugin | ESLintPlugin | CleanWebpackPlugin | webpack.DefinePlugin)[];
|
|
25
|
-
module: {
|
|
26
|
-
rules: ({
|
|
27
|
-
test: RegExp;
|
|
28
|
-
exclude: RegExp;
|
|
29
|
-
use: string;
|
|
30
|
-
loader?: undefined;
|
|
31
|
-
options?: undefined;
|
|
32
|
-
} | {
|
|
33
|
-
test: RegExp;
|
|
34
|
-
use: (string | {
|
|
35
|
-
loader: string;
|
|
36
|
-
options: {
|
|
37
|
-
modules: {
|
|
38
|
-
namedExport: boolean;
|
|
39
|
-
exportLocalsConvention: string;
|
|
40
|
-
auto: RegExp;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
})[];
|
|
44
|
-
exclude?: undefined;
|
|
45
|
-
loader?: undefined;
|
|
46
|
-
options?: undefined;
|
|
47
|
-
} | {
|
|
48
|
-
test: RegExp;
|
|
49
|
-
loader: string;
|
|
50
|
-
options: {
|
|
51
|
-
name: string;
|
|
52
|
-
esModule: boolean;
|
|
53
|
-
};
|
|
54
|
-
exclude?: undefined;
|
|
55
|
-
use?: undefined;
|
|
56
|
-
})[];
|
|
57
|
-
};
|
|
58
|
-
optimization: {
|
|
59
|
-
minimize: boolean;
|
|
60
|
-
minimizer: (CssMinimizerPlugin<CssMinimizerPlugin.CssNanoOptionsExtended> | TerserPlugin<import("terser").MinifyOptions>)[];
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
export default _default;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import webpack from 'webpack';
|
|
2
|
-
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
|
3
|
-
import MiniCssExtractPlugin from 'mini-css-extract-plugin';
|
|
4
|
-
import { CleanWebpackPlugin } from 'clean-webpack-plugin';
|
|
5
|
-
import CssMinimizerPlugin from 'css-minimizer-webpack-plugin';
|
|
6
|
-
import TerserPlugin from 'terser-webpack-plugin';
|
|
7
|
-
import ESLintPlugin from 'eslint-webpack-plugin';
|
|
8
|
-
declare const _default: {
|
|
9
|
-
entry: string;
|
|
10
|
-
resolve: {
|
|
11
|
-
extensions: string[];
|
|
12
|
-
alias: {
|
|
13
|
-
[key: string]: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
mode: string;
|
|
17
|
-
output: {
|
|
18
|
-
path: string;
|
|
19
|
-
};
|
|
20
|
-
target: string;
|
|
21
|
-
plugins: (MiniCssExtractPlugin | ESLintPlugin | CleanWebpackPlugin | webpack.DefinePlugin | HtmlWebpackPlugin | webpack.ProvidePlugin)[];
|
|
22
|
-
module: {
|
|
23
|
-
rules: ({
|
|
24
|
-
test: RegExp;
|
|
25
|
-
exclude: RegExp;
|
|
26
|
-
use: string;
|
|
27
|
-
loader?: undefined;
|
|
28
|
-
options?: undefined;
|
|
29
|
-
} | {
|
|
30
|
-
test: RegExp;
|
|
31
|
-
use: (string | {
|
|
32
|
-
loader: string;
|
|
33
|
-
options: {
|
|
34
|
-
modules: {
|
|
35
|
-
namedExport: boolean;
|
|
36
|
-
exportLocalsConvention: string;
|
|
37
|
-
auto: RegExp;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
})[];
|
|
41
|
-
exclude?: undefined;
|
|
42
|
-
loader?: undefined;
|
|
43
|
-
options?: undefined;
|
|
44
|
-
} | {
|
|
45
|
-
test: RegExp;
|
|
46
|
-
loader: string;
|
|
47
|
-
options: {
|
|
48
|
-
name: string;
|
|
49
|
-
esModule: boolean;
|
|
50
|
-
};
|
|
51
|
-
exclude?: undefined;
|
|
52
|
-
use?: undefined;
|
|
53
|
-
})[];
|
|
54
|
-
};
|
|
55
|
-
optimization: {
|
|
56
|
-
minimize: boolean;
|
|
57
|
-
minimizer: (CssMinimizerPlugin<CssMinimizerPlugin.CssNanoOptionsExtended> | TerserPlugin<import("terser").MinifyOptions>)[];
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|