@cgi-learning-hub/ui 0.0.1-dev.1708990372 → 0.0.1-dev.1709023966
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-7uR7JZiM.cjs +1 -0
- package/dist/Box-CPGTKTgx.js +56 -0
- package/dist/ButtonBase-B0tkJ9zf.js +831 -0
- package/dist/ButtonBase-DCL6Xlnm.cjs +75 -0
- package/dist/CircularProgress-CZX5SfKt.cjs +28 -0
- package/dist/CircularProgress-CguDBnxV.js +215 -0
- package/dist/IconButton-CJ1Nt-jf.js +182 -0
- package/dist/IconButton-De7ZdW2q.cjs +2 -0
- package/dist/{InputBase-B13Nzzhk.js → InputBase-C_yPRkam.js} +193 -215
- package/dist/InputBase-Dvr5GnwD.cjs +4 -0
- package/dist/Tab-Bhm9hCrX.cjs +1 -0
- package/dist/Tab-C4l6V01S.js +237 -0
- package/dist/TransitionGroupContext-C7wWJ6l7.js +14 -0
- package/dist/TransitionGroupContext-g4tmk10h.cjs +1 -0
- package/dist/Typography-CyFLZjnE.js +202 -0
- package/dist/Typography-DwsN2Ttm.cjs +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/components/Dropzone/Dropzone.cjs.js +5 -0
- package/dist/components/Dropzone/Dropzone.d.ts +9 -0
- package/dist/components/Dropzone/Dropzone.es.js +1210 -0
- package/dist/components/Dropzone/Dropzone.stories.cjs.js +1 -0
- package/dist/components/{AnotherComponent/AnotherComponent.stories.d.ts → Dropzone/Dropzone.stories.d.ts} +1 -2
- package/dist/components/Dropzone/Dropzone.stories.es.js +17 -0
- package/dist/components/Dropzone/index.cjs.js +1 -0
- package/dist/components/Dropzone/index.d.ts +2 -0
- package/dist/components/Dropzone/index.es.js +4 -0
- package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -28
- package/dist/components/buttons/DefaultButton/DefaultButton.es.js +408 -267
- package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
- package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +5 -5
- package/dist/components/buttons/IconButton.stories.cjs.js +1 -0
- package/dist/components/buttons/IconButton.stories.d.ts +4 -0
- package/dist/components/buttons/IconButton.stories.es.js +27 -0
- package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
- package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +1 -1
- package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
- package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.d.ts +1 -1
- package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +8 -7
- package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.d.ts +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +10 -9
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +4 -2
- package/dist/components/index.es.js +18 -14
- package/dist/components/inputs/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/inputs/SearchInput/SearchInput.es.js +77 -247
- package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +1 -0
- package/dist/components/inputs/SearchInput/SearchInput.stories.d.ts +4 -0
- package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +16 -0
- package/dist/components/inputs/TextInput/TextInput.cjs.js +11 -13
- package/dist/components/inputs/TextInput/TextInput.es.js +1844 -1631
- package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +1 -0
- package/dist/components/inputs/TextInput/TextInput.stories.d.ts +4 -0
- package/dist/components/inputs/TextInput/TextInput.stories.es.js +17 -0
- package/dist/components/lists/FileList/FileList.cjs.js +1 -0
- package/dist/components/lists/FileList/FileList.d.ts +7 -0
- package/dist/components/lists/FileList/FileList.es.js +19 -0
- package/dist/components/lists/FileList/FileList.stories.cjs.js +1 -0
- package/dist/components/lists/FileList/FileList.stories.d.ts +4 -0
- package/dist/components/lists/FileList/FileList.stories.es.js +28 -0
- package/dist/components/lists/FileList/FileListItem.cjs.js +1 -0
- package/dist/components/lists/FileList/FileListItem.d.ts +13 -0
- package/dist/components/lists/FileList/FileListItem.es.js +41 -0
- package/dist/components/lists/FileList/index.cjs.js +1 -0
- package/dist/components/lists/FileList/index.d.ts +4 -0
- package/dist/components/lists/FileList/index.es.js +6 -0
- package/dist/components/lists/TabList.stories.cjs.js +4 -0
- package/dist/components/lists/TabList.stories.d.ts +4 -0
- package/dist/components/lists/TabList.stories.es.js +1027 -0
- package/dist/components/lists/index.cjs.js +1 -0
- package/dist/components/lists/index.d.ts +1 -0
- package/dist/components/lists/index.es.js +6 -0
- package/dist/{createSvgIcon-jvI3LIfI.cjs → createSvgIcon-B6bZPuto.cjs} +1 -1
- package/dist/createSvgIcon-BX8WQ5r-.cjs +2 -0
- package/dist/{createSvgIcon-qXNZi4k1.js → createSvgIcon-KaSN8JhZ.js} +8 -8
- package/dist/createSvgIcon-m_wsenOJ.js +84 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +16 -12
- package/dist/isHostComponent-PydJW4A4.cjs +1 -0
- package/dist/isHostComponent-kiaBvYVo.js +6 -0
- package/dist/ownerWindow-C7EH1lr6.js +23 -0
- package/dist/ownerWindow-Dk_4aaak.cjs +1 -0
- package/dist/refType-CHSN6ysS.cjs +1 -0
- package/dist/refType-Hh9tfnoF.js +29 -0
- package/dist/unsupportedProp-Bn6XWqwH.cjs +1 -0
- package/dist/unsupportedProp-BuVD30Gh.js +9 -0
- package/dist/useControlled-BsLcOmhe.js +48 -0
- package/dist/useControlled-jN3fqFfv.cjs +3 -0
- package/dist/useForkRef-CGd3Nhyb.cjs +1 -0
- package/dist/useForkRef-DwN_Iz9R.js +17 -0
- package/dist/useIsFocusVisible-BF0lT08B.cjs +1 -0
- package/dist/useIsFocusVisible-D8ksiuhS.js +69 -0
- package/dist/useSlotProps-MoAYME1z.js +70 -0
- package/dist/useSlotProps-R4s13HHI.cjs +1 -0
- package/dist/useTheme-BDPYLOoP.cjs +1 -0
- package/dist/useTheme-DJEDOopE.js +9 -0
- package/dist/{useThemeProps-B6yTTpAe.js → useThemeProps-Dg9Uoq7q.js} +1018 -1024
- package/dist/useThemeProps-jkB5q9ie.cjs +65 -0
- package/dist/useTimeout-KN97abZR.js +47 -0
- package/dist/useTimeout-qjxkiZZn.cjs +1 -0
- package/package.json +2 -1
- package/dist/Button-Tkz5NkF_.cjs +0 -1
- package/dist/Button-X7eWZQfX.js +0 -356
- package/dist/ButtonBase-CKfcGhaU.js +0 -892
- package/dist/ButtonBase-Cg8cBMzO.cjs +0 -75
- package/dist/Input-CAb0EFzc.cjs +0 -1
- package/dist/Input-CbYjsRHK.js +0 -322
- package/dist/InputBase-CKlCw9fj.cjs +0 -4
- package/dist/components/AnotherComponent/AnotherComponent.cjs.js +0 -1
- package/dist/components/AnotherComponent/AnotherComponent.d.ts +0 -2
- package/dist/components/AnotherComponent/AnotherComponent.es.js +0 -15
- package/dist/components/AnotherComponent/AnotherComponent.stories.cjs.js +0 -1
- package/dist/components/AnotherComponent/AnotherComponent.stories.es.js +0 -22
- package/dist/components/AnotherComponent/index.cjs.js +0 -1
- package/dist/components/AnotherComponent/index.d.ts +0 -2
- package/dist/components/AnotherComponent/index.es.js +0 -4
- package/dist/components/BasicButtons/BasicButtons.cjs.js +0 -1
- package/dist/components/BasicButtons/BasicButtons.d.ts +0 -2
- package/dist/components/BasicButtons/BasicButtons.es.js +0 -189
- package/dist/components/BasicButtons/BasicButtons.stories.cjs.js +0 -1
- package/dist/components/BasicButtons/BasicButtons.stories.d.ts +0 -5
- package/dist/components/BasicButtons/BasicButtons.stories.es.js +0 -22
- package/dist/components/BasicButtons/index.cjs.js +0 -1
- package/dist/components/BasicButtons/index.d.ts +0 -2
- package/dist/components/BasicButtons/index.es.js +0 -4
- package/dist/extendSxProp-BRHiEwyk.js +0 -29
- package/dist/extendSxProp-CvhhU9Vb.cjs +0 -1
- package/dist/useForkRef-82uiK71d.cjs +0 -1
- package/dist/useForkRef-CLcOhrzI.js +0 -44
- package/dist/useTheme-BWRyHzdn.js +0 -65
- package/dist/useTheme-BpLcDNG1.cjs +0 -1
- package/dist/useThemeProps-CDriK9TK.cjs +0 -65
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./useThemeProps-jkB5q9ie.cjs"),y=require("react"),T=require("react/jsx-runtime"),P=require("./Typography-DwsN2Ttm.cjs");function h(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const s in o)if(s!=="default"){const r=Object.getOwnPropertyDescriptor(o,s);Object.defineProperty(t,s,r.get?r:{enumerable:!0,get:()=>o[s]})}}return t.default=o,Object.freeze(t)}const b=h(y),N=["className","component"];function g(o={}){const{themeId:t,defaultTheme:s,defaultClassName:r="MuiBox-root",generateClassName:a}=o,l=e.styled$1("div",{shouldForwardProp:n=>n!=="theme"&&n!=="sx"&&n!=="as"})(e.styleFunctionSx);return b.forwardRef(function(i,d){const c=e.useTheme(s),p=P.extendSxProp(i),{className:m,component:f="div"}=p,x=e._objectWithoutPropertiesLoose(p,N);return T.jsx(l,e._extends({as:f,ref:d,className:e.clsx(m,a?a(r):r),theme:t&&c[t]||c},x))})}const B=e.generateUtilityClasses("MuiBox",["root"]),O=B,_=e.createTheme(),u=g({themeId:e.THEME_ID,defaultTheme:_,defaultClassName:O.root,generateClassName:e.ClassNameGenerator.generate});process.env.NODE_ENV!=="production"&&(u.propTypes={children:e.PropTypes.node,component:e.PropTypes.elementType,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])});const j=u;exports.Box=j;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { j as h, k as T, u as B, e as N, _ as y, f as C, g as _, l as b, T as P, C as g, P as e } from "./useThemeProps-Dg9Uoq7q.js";
|
|
2
|
+
import * as j from "react";
|
|
3
|
+
import { jsx as v } from "react/jsx-runtime";
|
|
4
|
+
import { e as E } from "./Typography-CyFLZjnE.js";
|
|
5
|
+
const O = ["className", "component"];
|
|
6
|
+
function I(m = {}) {
|
|
7
|
+
const {
|
|
8
|
+
themeId: t,
|
|
9
|
+
defaultTheme: l,
|
|
10
|
+
defaultClassName: a = "MuiBox-root",
|
|
11
|
+
generateClassName: n
|
|
12
|
+
} = m, x = h("div", {
|
|
13
|
+
shouldForwardProp: (o) => o !== "theme" && o !== "sx" && o !== "as"
|
|
14
|
+
})(T);
|
|
15
|
+
return /* @__PURE__ */ j.forwardRef(function(d, f) {
|
|
16
|
+
const s = B(l), r = E(d), {
|
|
17
|
+
className: u,
|
|
18
|
+
component: i = "div"
|
|
19
|
+
} = r, p = N(r, O);
|
|
20
|
+
return /* @__PURE__ */ v(x, y({
|
|
21
|
+
as: i,
|
|
22
|
+
ref: f,
|
|
23
|
+
className: C(u, n ? n(a) : a),
|
|
24
|
+
theme: t && s[t] || s
|
|
25
|
+
}, p));
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
const M = _("MuiBox", ["root"]), R = M, S = b(), c = I({
|
|
29
|
+
themeId: P,
|
|
30
|
+
defaultTheme: S,
|
|
31
|
+
defaultClassName: R.root,
|
|
32
|
+
generateClassName: g.generate
|
|
33
|
+
});
|
|
34
|
+
process.env.NODE_ENV !== "production" && (c.propTypes = {
|
|
35
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
36
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
37
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
38
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
39
|
+
/**
|
|
40
|
+
* @ignore
|
|
41
|
+
*/
|
|
42
|
+
children: e.node,
|
|
43
|
+
/**
|
|
44
|
+
* The component used for the root node.
|
|
45
|
+
* Either a string to use a HTML element or a component.
|
|
46
|
+
*/
|
|
47
|
+
component: e.elementType,
|
|
48
|
+
/**
|
|
49
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
50
|
+
*/
|
|
51
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
52
|
+
});
|
|
53
|
+
const k = c;
|
|
54
|
+
export {
|
|
55
|
+
k as B
|
|
56
|
+
};
|