@cgi-learning-hub/ui 1.8.0-dev.1756201926 → 1.8.0-dev.1756215760

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.
@@ -1 +1 @@
1
- "use strict";const u=require("react/jsx-runtime"),i=require("../../DefaultPropsProvider--EgnwFDi.cjs"),c=require("../../Button-7-ViQGIl.cjs"),d=i.styled(c.Button)(({color:r,theme:t})=>{var o,n,s;const e=(s=(n=(o=t.components)==null?void 0:o.MuiButton)==null?void 0:n.styleOverrides)==null?void 0:s.root;return{minHeight:38,textTransform:(e==null?void 0:e.textTransform)??"none",transition:"all 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms","&.MuiButton-outlined":{borderRadius:5,borderWidth:2}}}),l=({variant:r="outlined",...t})=>u.jsx(d,{variant:r,...t});module.exports=l;
1
+ "use strict";const o=require("react/jsx-runtime"),r=require("../../DefaultPropsProvider--EgnwFDi.cjs"),n=require("../../Button-7-ViQGIl.cjs"),i=r.styled(n.Button)(({color:t,theme:e})=>({minHeight:38,textTransform:"none",transition:"all 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms","&.MuiButton-outlined":{borderRadius:5,borderWidth:2}})),s=({variant:t="outlined",...e})=>o.jsx(i,{variant:t,...e});module.exports=s;
@@ -1,26 +1,22 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import { s as u } from "../../DefaultPropsProvider-BwYGfRVu.js";
3
- import { B as m } from "../../Button-Bb0YW9kM.js";
4
- const d = u(m)(({ color: r, theme: t }) => {
5
- var n, e, s;
6
- const o = (s = (e = (n = t.components) == null ? void 0 : n.MuiButton) == null ? void 0 : e.styleOverrides) == null ? void 0 : s.root;
7
- return {
8
- minHeight: 38,
9
- textTransform: (o == null ? void 0 : o.textTransform) ?? "none",
10
- transition: "all 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
11
- "&.MuiButton-outlined": {
12
- borderRadius: 5,
13
- borderWidth: 2
14
- /* "&:hover": {
15
- //backgroundColor: theme.palette[color].main,
16
- color: theme.palette.common.white,
17
- },*/
18
- }
19
- };
20
- }), f = ({
21
- variant: r = "outlined",
22
- ...t
23
- }) => /* @__PURE__ */ i(d, { variant: r, ...t });
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { s as e } from "../../DefaultPropsProvider-BwYGfRVu.js";
3
+ import { B as n } from "../../Button-Bb0YW9kM.js";
4
+ const i = e(n)(({ color: t, theme: o }) => ({
5
+ minHeight: 38,
6
+ textTransform: "none",
7
+ transition: "all 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
8
+ "&.MuiButton-outlined": {
9
+ borderRadius: 5,
10
+ borderWidth: 2
11
+ /* "&:hover": {
12
+ //backgroundColor: theme.palette[color].main,
13
+ color: theme.palette.common.white,
14
+ },*/
15
+ }
16
+ })), d = ({
17
+ variant: t = "outlined",
18
+ ...o
19
+ }) => /* @__PURE__ */ r(i, { variant: t, ...o });
24
20
  export {
25
- f as default
21
+ d as default
26
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgi-learning-hub/ui",
3
- "version": "1.8.0-dev.1756201926",
3
+ "version": "1.8.0-dev.1756215760",
4
4
  "private": false,
5
5
  "author": "CGI Learning-hub Team",
6
6
  "description": "@cgi-learning-hub/ui is an open-source React component library that implements UI for HUB's features",