@redi.run/redi-components 0.0.0 → 0.0.2
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,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redi.run/redi-components",
|
|
3
3
|
"description": "This project was created to define the style of the UI and improve the UX in all projects from REDI",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Jonathan Manchego Sosa",
|
|
8
8
|
"email": "jonathan@redi.run"
|
|
9
9
|
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public",
|
|
12
|
+
"registry": "https://registry.npmjs.org/"
|
|
13
|
+
},
|
|
10
14
|
"bugs": {
|
|
11
15
|
"url": "https://gitlab.redi.run/redi/redi-components/-/issues",
|
|
12
16
|
"email": "jonathan@redi.run"
|
|
@@ -20,7 +24,7 @@
|
|
|
20
24
|
],
|
|
21
25
|
"repository": {
|
|
22
26
|
"type": "git",
|
|
23
|
-
"url": "
|
|
27
|
+
"url": "https://gitlab.redi.run/redi/redi-components"
|
|
24
28
|
},
|
|
25
29
|
"files": [
|
|
26
30
|
"dist"
|
|
@@ -38,32 +42,58 @@
|
|
|
38
42
|
"dev": "vite",
|
|
39
43
|
"build": "tsc -b && vite build",
|
|
40
44
|
"lint": "eslint .",
|
|
41
|
-
"preview": "vite preview"
|
|
45
|
+
"preview": "vite preview",
|
|
46
|
+
"storybook": "storybook dev -p 6006",
|
|
47
|
+
"build-storybook": "storybook build",
|
|
48
|
+
"test": "vitest --project=storybook",
|
|
49
|
+
"release": "standard-version && git push --follow-tags --no-verify",
|
|
50
|
+
"pre-push": "npm run release",
|
|
51
|
+
"prepare": "husky",
|
|
52
|
+
"release:clean-tags": "git tag -l | xargs git tag -d && git fetch --tags"
|
|
53
|
+
},
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"js-cookie": "3.0.5"
|
|
42
56
|
},
|
|
43
57
|
"peerDependencies": {
|
|
58
|
+
"@tailwindcss/vite": "^4.1.15",
|
|
44
59
|
"react": "^19.1.1",
|
|
45
60
|
"react-dom": "^19.1.1",
|
|
46
|
-
"@tailwindcss/vite": "^4.1.15",
|
|
47
61
|
"tailwindcss": "^4.1.15"
|
|
48
62
|
},
|
|
49
63
|
"devDependencies": {
|
|
50
|
-
"@
|
|
51
|
-
"
|
|
52
|
-
"react": "^19.1.1",
|
|
53
|
-
"react-dom": "^19.1.1",
|
|
64
|
+
"@commitlint/cli": "^20.1.0",
|
|
65
|
+
"@commitlint/config-conventional": "^20.0.0",
|
|
54
66
|
"@eslint/js": "^9.36.0",
|
|
67
|
+
"@storybook/addon-a11y": "^9.1.16",
|
|
68
|
+
"@storybook/addon-docs": "^9.1.13",
|
|
69
|
+
"@storybook/addon-onboarding": "^9.1.13",
|
|
70
|
+
"@storybook/addon-vitest": "^9.1.16",
|
|
71
|
+
"@storybook/react-vite": "^9.1.13",
|
|
72
|
+
"@tailwindcss/vite": "^4.1.15",
|
|
73
|
+
"@types/js-cookie": "^3.0.6",
|
|
55
74
|
"@types/node": "^24.9.1",
|
|
56
75
|
"@types/react": "^19.1.16",
|
|
57
76
|
"@types/react-dom": "^19.1.9",
|
|
58
77
|
"@vitejs/plugin-react-swc": "^4.1.0",
|
|
78
|
+
"@vitest/browser-playwright": "^4.0.4",
|
|
79
|
+
"@vitest/coverage-v8": "^4.0.4",
|
|
59
80
|
"eslint": "^9.36.0",
|
|
60
81
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
61
82
|
"eslint-plugin-react-refresh": "^0.4.22",
|
|
83
|
+
"eslint-plugin-storybook": "^9.1.13",
|
|
62
84
|
"globals": "^16.4.0",
|
|
85
|
+
"husky": "^9.1.7",
|
|
86
|
+
"playwright": "^1.56.1",
|
|
87
|
+
"react": "^19.1.1",
|
|
88
|
+
"react-dom": "^19.1.1",
|
|
89
|
+
"standard-version": "^9.5.0",
|
|
90
|
+
"storybook": "^9.1.13",
|
|
91
|
+
"tailwindcss": "^4.1.15",
|
|
63
92
|
"typescript": "~5.9.3",
|
|
64
93
|
"typescript-eslint": "^8.45.0",
|
|
65
94
|
"vite": "npm:rolldown-vite@7.1.14",
|
|
66
|
-
"vite-plugin-dts": "^4.5.4"
|
|
95
|
+
"vite-plugin-dts": "^4.5.4",
|
|
96
|
+
"vitest": "^4.0.4"
|
|
67
97
|
},
|
|
68
98
|
"overrides": {
|
|
69
99
|
"vite": "npm:rolldown-vite@7.1.14"
|
package/dist/Button/Button.d.ts
DELETED
package/dist/main.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Button } from './Button/Button';
|
package/dist/redi-components.css
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.15 | MIT License | https://tailwindcss.com */
|
|
2
|
-
@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components,utilities;
|
|
3
|
-
/*$vite$:1*/
|
package/dist/redi-components.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require(`react/jsx-runtime`)):typeof define==`function`&&define.amd?define([`exports`,`react/jsx-runtime`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e[`redi-components`]={},e[`react/jsxRuntime`]))})(this,function(e,t){var n=Object.create,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,c=(e,t,n,o)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=a(t),l=0,u=c.length,d;l<u;l++)d=c[l],!s.call(e,d)&&d!==n&&r(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(o=i(t,d))||o.enumerable});return e};t=((e,t,i)=>(i=e==null?{}:n(o(e)),c(t||!e||!e.__esModule?r(i,`default`,{value:e,enumerable:!0}):i,e)))(t),e.Button=({children:e,color:n=`primary`,disabled:r=!1})=>(0,t.jsx)(`button`,{className:`btn ${n}`,disabled:r,children:e})});
|