@cgi-learning-hub/ui 0.0.1-dev.1709569189 → 0.0.1-dev.1709646249
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/{Box-erN4AuKs.js → Box-C0qXdJzV.js} +8 -8
- package/dist/Box-DjRIKMD0.cjs +1 -0
- package/dist/ButtonBase-BvllyU4w.cjs +75 -0
- package/dist/ButtonBase-C14ZYs6z.js +833 -0
- package/dist/CircularProgress-Bf46-VRs.js +217 -0
- package/dist/CircularProgress-DjSMBYnK.cjs +28 -0
- package/dist/{DefaultButton-DbpZOb47.js → DefaultButton-B-2UppUm.js} +146 -355
- package/dist/DefaultButton-DPZOltN5.cjs +1 -0
- package/dist/{IconButton-DE5JOshS.js → IconButton-1URziYlU.js} +8 -8
- package/dist/IconButton-X6l-U-im.cjs +2 -0
- package/dist/InputBase-BrkAyp4z.cjs +4 -0
- package/dist/{InputBase-C8AzQJJ9.js → InputBase-D_wYPpmB.js} +173 -160
- package/dist/{LocalizationProvider-Cov62Xe0.js → LocalizationProvider-BD64DNxF.js} +3 -4
- package/dist/LocalizationProvider-DqwEOZOd.cjs +5 -0
- package/dist/SearchInput-CMLDZJ8k.cjs +1 -0
- package/dist/SearchInput-D2HnePqk.js +177 -0
- package/dist/Tabs-B9BPJaDx.js +1090 -0
- package/dist/Tabs-Dx8YJT4c.cjs +4 -0
- package/dist/TextInput-BO1q4hT2.cjs +12 -0
- package/dist/{TextInput-DmMk4i-V.js → TextInput-DiA3Q5CJ.js} +1353 -1594
- package/dist/TimePicker-CBI_tdzH.js +19695 -0
- package/dist/TimePicker-CnW0kylk.cjs +69 -0
- package/dist/Typography-CRt6WSxo.js +204 -0
- package/dist/Typography-DsPQABF2.cjs +1 -0
- package/dist/components/Dropzone/Dropzone.cjs.js +5 -5
- package/dist/components/Dropzone/Dropzone.es.js +11 -12
- package/dist/components/LocalizationProvider/LocalizationProvider.cjs.js +1 -1
- package/dist/components/LocalizationProvider/LocalizationProvider.es.js +1 -1
- package/dist/components/LocalizationProvider/index.cjs.js +1 -1
- package/dist/components/LocalizationProvider/index.es.js +1 -1
- package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -1
- package/dist/components/buttons/DefaultButton/DefaultButton.es.js +3 -3
- package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
- package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +6 -6
- package/dist/components/buttons/DefaultButton/index.cjs.js +1 -1
- package/dist/components/buttons/DefaultButton/index.es.js +1 -1
- package/dist/components/buttons/IconButton.stories.cjs.js +1 -1
- package/dist/components/buttons/IconButton.stories.es.js +9 -10
- package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
- package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +2 -2
- package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
- package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +2 -2
- package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +1 -1
- package/dist/components/buttons/index.cjs.js +1 -1
- package/dist/components/buttons/index.es.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +91 -90
- package/dist/components/inputs/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/inputs/SearchInput/SearchInput.es.js +6 -174
- package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +1 -1
- package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +4 -4
- package/dist/components/inputs/SearchInput/index.cjs.js +1 -1
- package/dist/components/inputs/SearchInput/index.es.js +2 -2
- package/dist/components/inputs/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/inputs/TextInput/TextInput.d.ts +2 -3
- package/dist/components/inputs/TextInput/TextInput.es.js +2 -2
- package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +1 -1
- package/dist/components/inputs/TextInput/TextInput.stories.es.js +1 -1
- package/dist/components/inputs/TextInput/index.cjs.js +1 -1
- package/dist/components/inputs/TextInput/index.es.js +1 -1
- package/dist/components/inputs/index.cjs.js +1 -1
- package/dist/components/inputs/index.es.js +4 -4
- package/dist/components/lists/FileList/FileList.cjs.js +1 -1
- package/dist/components/lists/FileList/FileList.es.js +2 -2
- package/dist/components/lists/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/lists/FileList/FileListItem.es.js +39 -7
- package/dist/components/lists/FileList/index.cjs.js +1 -1
- package/dist/components/lists/FileList/index.es.js +4 -4
- package/dist/components/lists/TabList.stories.cjs.js +1 -1
- package/dist/components/lists/TabList.stories.es.js +16 -18
- package/dist/components/lists/index.cjs.js +1 -1
- package/dist/components/lists/index.es.js +4 -4
- package/dist/createSvgIcon-BOQCM03y.cjs +2 -0
- package/dist/createSvgIcon-C2VxBqzG.cjs +1 -0
- package/dist/{createSvgIcon-DeRU4e-L.js → createSvgIcon-Dspfpz-l.js} +18 -20
- package/dist/createSvgIcon-xJp3_zwo.js +84 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +94 -93
- package/dist/isHostComponent-PydJW4A4.cjs +1 -0
- package/dist/isHostComponent-kiaBvYVo.js +6 -0
- package/dist/refType-5EEBZL5_.cjs +1 -0
- package/dist/{refType-CoCfCK--.js → refType-BBFUe6fu.js} +1 -1
- package/dist/styled-D8lXwcQy.js +423 -0
- package/dist/styled-DFoJwRxe.cjs +24 -0
- package/dist/useSlotProps-BoMYRJkF.js +72 -0
- package/dist/useSlotProps-EKKRQjEn.cjs +1 -0
- package/dist/useTheme-BkW5nNsn.cjs +1 -0
- package/dist/useTheme-Bo1inEHN.js +9 -0
- package/dist/useThemeProps-BRWSvuZw.cjs +42 -0
- package/dist/useThemeProps-CZzcR_pm.js +2288 -0
- package/package.json +5 -2
- package/dist/Box-CjHm9A9L.cjs +0 -1
- package/dist/ButtonBase-BybMkBUd.cjs +0 -75
- package/dist/ButtonBase-CGcs8Gbj.cjs +0 -75
- package/dist/ButtonBase-V1pwsMMs.js +0 -649
- package/dist/ButtonBase-aujiNoUb.js +0 -649
- package/dist/DefaultButton-Cg4tPCgf.cjs +0 -28
- package/dist/FileListItem-ChKTjDnV.js +0 -254
- package/dist/FileListItem-CjFIZgYg.cjs +0 -28
- package/dist/IconButton-CHXclgOn.cjs +0 -2
- package/dist/InputBase-D6eXzDaz.cjs +0 -4
- package/dist/LocalizationProvider-42pD7VmS.cjs +0 -5
- package/dist/Tabs-DiWeNGD4.js +0 -1167
- package/dist/Tabs-DoxP7EMA.cjs +0 -4
- package/dist/TextInput-BbSyyuvO.cjs +0 -12
- package/dist/TimePicker-B5MjZCK0.cjs +0 -89
- package/dist/TimePicker-BmxG3a2D.js +0 -28354
- package/dist/TransitionGroup-COuDopJ-.js +0 -188
- package/dist/TransitionGroup-X90dkobW.cjs +0 -1
- package/dist/Typography-B90UzlQW.js +0 -179
- package/dist/Typography-KFjBz5Hm.cjs +0 -1
- package/dist/clamp-0LjYbpE_.cjs +0 -23
- package/dist/clamp-BGJvJ0FN.js +0 -1641
- package/dist/createSvgIcon-BSYat4nx.js +0 -74
- package/dist/createSvgIcon-BqRWmIPG.cjs +0 -1
- package/dist/createSvgIcon-doNQ5emq.cjs +0 -2
- package/dist/refType-Bt58K9Sk.cjs +0 -1
- package/dist/styled-BU8dAebc.js +0 -1751
- package/dist/styled-DGjsLYEN.cjs +0 -45
- package/dist/styled-DP6LeBLQ.js +0 -261
- package/dist/styled-Dkd1VGM-.cjs +0 -1
- package/dist/useTheme-C132tQV-.js +0 -10
- package/dist/useTheme-CliHZTkE.cjs +0 -1
- package/dist/useThemeProps-63SNG58r.js +0 -753
- package/dist/useThemeProps-CVatCXfo.cjs +0 -20
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { _ as g, C as v, c as b, b as _ } from "./clamp-BGJvJ0FN.js";
|
|
2
|
-
import { c as y } from "./createSvgIcon-DeRU4e-L.js";
|
|
3
|
-
import { c as E, i as C, u as N } from "./useControlled-BsLcOmhe.js";
|
|
4
|
-
import { d as S, o as I, a as $ } from "./ownerWindow-C7EH1lr6.js";
|
|
5
|
-
import { s as T, u as P, a as w } from "./useForkRef-CQ5u1_mH.js";
|
|
6
|
-
import { u as O } from "./useIsFocusVisible-B88all80.js";
|
|
7
|
-
import { u as j } from "./useId-BW-oWmul.js";
|
|
8
|
-
import { u as q } from "./unsupportedProp-BuVD30Gh.js";
|
|
9
|
-
import { a as F } from "./useTimeout-C7IkLqZ9.js";
|
|
10
|
-
function k(e, r) {
|
|
11
|
-
return process.env.NODE_ENV === "production" ? () => null : (n, s, u, t, o) => {
|
|
12
|
-
const a = u || "<<anonymous>>", i = o || s;
|
|
13
|
-
return typeof n[s] < "u" ? new Error(`The ${t} \`${i}\` of \`${a}\` is deprecated. ${r}`) : null;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
function D(e, r) {
|
|
17
|
-
if (process.env.NODE_ENV === "production")
|
|
18
|
-
return () => null;
|
|
19
|
-
const n = r ? g({}, r.propTypes) : null;
|
|
20
|
-
return (u) => (t, o, a, i, l, ...h) => {
|
|
21
|
-
const f = l || o, m = n == null ? void 0 : n[f];
|
|
22
|
-
if (m) {
|
|
23
|
-
const d = m(t, o, a, i, l, ...h);
|
|
24
|
-
if (d)
|
|
25
|
-
return d;
|
|
26
|
-
}
|
|
27
|
-
return typeof t[o] < "u" && !t[u] ? new Error(`The prop \`${f}\` of \`${e}\` can only be used together with the \`${u}\` prop.`) : null;
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
var c = {};
|
|
31
|
-
const G = {
|
|
32
|
-
configure: (e) => {
|
|
33
|
-
process.env.NODE_ENV !== "production" && console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.", "", "You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead", "", "The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401", "", "The updated documentation: https://mui.com/guides/classname-generator/"].join(`
|
|
34
|
-
`)), v.configure(e);
|
|
35
|
-
}
|
|
36
|
-
}, M = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
37
|
-
__proto__: null,
|
|
38
|
-
capitalize: b,
|
|
39
|
-
createChainedFunction: E,
|
|
40
|
-
createSvgIcon: y,
|
|
41
|
-
debounce: S,
|
|
42
|
-
deprecatedPropType: k,
|
|
43
|
-
isMuiElement: C,
|
|
44
|
-
ownerDocument: I,
|
|
45
|
-
ownerWindow: $,
|
|
46
|
-
requirePropFactory: D,
|
|
47
|
-
setRef: T,
|
|
48
|
-
unstable_ClassNameGenerator: G,
|
|
49
|
-
unstable_useEnhancedEffect: P,
|
|
50
|
-
unstable_useId: j,
|
|
51
|
-
unsupportedProp: q,
|
|
52
|
-
useControlled: N,
|
|
53
|
-
useEventCallback: F,
|
|
54
|
-
useForkRef: w,
|
|
55
|
-
useIsFocusVisible: O
|
|
56
|
-
}, Symbol.toStringTag, { value: "Module" })), R = /* @__PURE__ */ _(M);
|
|
57
|
-
var p;
|
|
58
|
-
function J() {
|
|
59
|
-
return p || (p = 1, function(e) {
|
|
60
|
-
"use client";
|
|
61
|
-
Object.defineProperty(e, "__esModule", {
|
|
62
|
-
value: !0
|
|
63
|
-
}), Object.defineProperty(e, "default", {
|
|
64
|
-
enumerable: !0,
|
|
65
|
-
get: function() {
|
|
66
|
-
return r.createSvgIcon;
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
var r = R;
|
|
70
|
-
}(c)), c;
|
|
71
|
-
}
|
|
72
|
-
export {
|
|
73
|
-
J as r
|
|
74
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./clamp-0LjYbpE_.cjs"),x=require("react"),v=require("react/jsx-runtime"),T=require("./styled-DGjsLYEN.cjs"),_=require("./useThemeProps-CVatCXfo.cjs"),z=require("./styled-Dkd1VGM-.cjs");function b(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>o[r]})}}return t.default=o,Object.freeze(t)}const g=b(x);function I(o){return e.generateUtilityClass("MuiSvgIcon",o)}T.generateUtilityClasses("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const O=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],w=o=>{const{color:t,fontSize:r,classes:i}=o,n={root:["root",t!=="inherit"&&`color${e.capitalize(t)}`,`fontSize${e.capitalize(r)}`]};return T.composeClasses(n,I,i)},C=z.styled("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:r}=o;return[t.root,r.color!=="inherit"&&t[`color${e.capitalize(r.color)}`],t[`fontSize${e.capitalize(r.fontSize)}`]]}})(({theme:o,ownerState:t})=>{var r,i,n,u,f,a,m,d,y,l,c,p,s;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=o.transitions)==null||(i=r.create)==null?void 0:i.call(r,"fill",{duration:(n=o.transitions)==null||(n=n.duration)==null?void 0:n.shorter}),fontSize:{inherit:"inherit",small:((u=o.typography)==null||(f=u.pxToRem)==null?void 0:f.call(u,20))||"1.25rem",medium:((a=o.typography)==null||(m=a.pxToRem)==null?void 0:m.call(a,24))||"1.5rem",large:((d=o.typography)==null||(y=d.pxToRem)==null?void 0:y.call(d,35))||"2.1875rem"}[t.fontSize],color:(l=(c=(o.vars||o).palette)==null||(c=c[t.color])==null?void 0:c.main)!=null?l:{action:(p=(o.vars||o).palette)==null||(p=p.action)==null?void 0:p.active,disabled:(s=(o.vars||o).palette)==null||(s=s.action)==null?void 0:s.disabled,inherit:void 0}[t.color]}}),h=g.forwardRef(function(t,r){const i=_.useThemeProps({props:t,name:"MuiSvgIcon"}),{children:n,className:u,color:f="inherit",component:a="svg",fontSize:m="medium",htmlColor:d,inheritViewBox:y=!1,titleAccess:l,viewBox:c="0 0 24 24"}=i,p=e._objectWithoutPropertiesLoose(i,O),s=g.isValidElement(n)&&n.type==="svg",S=e._extends({},i,{color:f,component:a,fontSize:m,instanceFontSize:t.fontSize,inheritViewBox:y,viewBox:c,hasSvgAsChild:s}),P={};y||(P.viewBox=c);const $=w(S);return v.jsxs(C,e._extends({as:a,className:T.clsx($.root,u),focusable:"false",color:d,"aria-hidden":l?void 0:!0,role:l?"img":void 0,ref:r},P,p,s&&n.props,{ownerState:S,children:[s?n.props.children:n,l?v.jsx("title",{children:l}):null]}))});process.env.NODE_ENV!=="production"&&(h.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),e.PropTypes.string]),component:e.PropTypes.elementType,fontSize:e.PropTypes.oneOfType([e.PropTypes.oneOf(["inherit","large","medium","small"]),e.PropTypes.string]),htmlColor:e.PropTypes.string,inheritViewBox:e.PropTypes.bool,shapeRendering:e.PropTypes.string,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),titleAccess:e.PropTypes.string,viewBox:e.PropTypes.string});h.muiName="SvgIcon";function N(o,t){function r(i,n){return v.jsx(h,e._extends({"data-testid":`${t}Icon`,ref:n},i,{children:o}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=h.muiName,g.memo(g.forwardRef(r))}exports.createSvgIcon=N;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const s=require("./clamp-0LjYbpE_.cjs"),q=require("./createSvgIcon-BqRWmIPG.cjs"),l=require("./useControlled-jN3fqFfv.cjs"),d=require("./ownerWindow-Dk_4aaak.cjs"),f=require("./useForkRef-DfdM2MN5.cjs"),C=require("./useIsFocusVisible-9FderFRK.cjs"),I=require("./useId-Cw0TtD-8.cjs"),_=require("./unsupportedProp-Bn6XWqwH.cjs"),y=require("./useTimeout-DHarDhEH.cjs");function S(e,r){return process.env.NODE_ENV==="production"?()=>null:(u,i,o,t,n)=>{const c=o||"<<anonymous>>",a=n||i;return typeof u[i]<"u"?new Error(`The ${t} \`${a}\` of \`${c}\` is deprecated. ${r}`):null}}function w(e,r){if(process.env.NODE_ENV==="production")return()=>null;const u=r?s._extends({},r.propTypes):null;return o=>(t,n,c,a,m,...E)=>{const v=m||n,g=u==null?void 0:u[v];if(g){const h=g(t,n,c,a,m,...E);if(h)return h}return typeof t[n]<"u"&&!t[o]?new Error(`The prop \`${v}\` of \`${e}\` can only be used together with the \`${o}\` prop.`):null}}var p={};const N={configure:e=>{process.env.NODE_ENV!=="production"&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
|
|
2
|
-
`)),s.ClassNameGenerator.configure(e)}},F=Object.freeze(Object.defineProperty({__proto__:null,capitalize:s.capitalize,createChainedFunction:l.createChainedFunction,createSvgIcon:q.createSvgIcon,debounce:d.debounce,deprecatedPropType:S,isMuiElement:l.isMuiElement,ownerDocument:d.ownerDocument,ownerWindow:d.ownerWindow,requirePropFactory:w,setRef:f.setRef,unstable_ClassNameGenerator:N,unstable_useEnhancedEffect:f.useEnhancedEffect,unstable_useId:I.useId,unsupportedProp:_.unsupportedProp,useControlled:l.useControlled,useEventCallback:y.useEventCallback,useForkRef:f.useForkRef,useIsFocusVisible:C.useIsFocusVisible},Symbol.toStringTag,{value:"Module"})),P=s.getAugmentedNamespace(F);var b;function T(){return b||(b=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=P}(p)),p}exports.requireCreateSvgIcon=T;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const o=require("./clamp-0LjYbpE_.cjs");function c(n,e){return process.env.NODE_ENV==="production"?()=>null:function(...t){return n(...t)||e(...t)}}function s(n){const{prototype:e={}}=n;return!!e.isReactComponent}function l(n,e,i,t,u){const p=n[e],f=u||e;if(p==null||typeof window>"u")return null;let r;return typeof p=="function"&&!s(p)&&(r="Did you accidentally provide a plain function component instead?"),r!==void 0?new Error(`Invalid ${t} \`${f}\` supplied to \`${i}\`. Expected an element type that can hold a ref. ${r} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const a=c(o.PropTypes.elementType,l),y=o.PropTypes.oneOfType([o.PropTypes.func,o.PropTypes.object]),d=y;exports.chainPropTypes=c;exports.elementTypeAcceptingRef=a;exports.refType=d;
|