@cgi-learning-hub/ui 1.2.0-dev.1730801938 → 1.2.0-dev.1730814068

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.
Files changed (193) hide show
  1. package/dist/{Backdrop-NYR-wJpx.js → Backdrop-CxHwPsCX.js} +313 -312
  2. package/dist/Backdrop-ZCTs-Ws8.cjs +1 -0
  3. package/dist/Box-D61CmHcZ.cjs +1 -0
  4. package/dist/{Box-BOwB0WGP.js → Box-a6v7fn61.js} +3 -3
  5. package/dist/{Button-DOz72eRZ.js → Button-B8Vr_qVd.js} +72 -76
  6. package/dist/Button-elp97nQ8.cjs +1 -0
  7. package/dist/ButtonBase-S0mFlojL.cjs +75 -0
  8. package/dist/{ButtonBase-Cc4QJr0W.js → ButtonBase-Y5TK5SRu.js} +140 -141
  9. package/dist/CircularProgress-DDIZxeFH.cjs +28 -0
  10. package/dist/{CircularProgress-CQAqrfVo.js → CircularProgress-DU3DJQfF.js} +60 -59
  11. package/dist/{DatePicker-DLbJ-Y35.js → DatePicker-CALU8PZA.js} +5492 -5523
  12. package/dist/DatePicker-Dxu_4hra.cjs +17 -0
  13. package/dist/{DefaultPropsProvider-3gIWHkeE.js → DefaultPropsProvider-7QnSWHxy.js} +47 -46
  14. package/dist/DefaultPropsProvider-eEVEiLDf.cjs +17 -0
  15. package/dist/{IconButton-DQ115lN0.js → IconButton-C7H_G1LX.js} +60 -70
  16. package/dist/IconButton-DfmbM9nO.cjs +2 -0
  17. package/dist/{InputAdornment-CQEOPpj_.cjs → InputAdornment-C-EbfNtT.cjs} +1 -1
  18. package/dist/{InputAdornment-C91s059c.js → InputAdornment-CPJFY_m_.js} +5 -5
  19. package/dist/{InputBase-BqiRpsZm.js → InputBase-5GB2c2J6.js} +76 -77
  20. package/dist/InputBase-CPtGhJye.cjs +3 -0
  21. package/dist/Stack-656bqKiW.cjs +1 -0
  22. package/dist/{Stack-CRf_NOj5.js → Stack-CutIWKkG.js} +13 -13
  23. package/dist/{Tabs-ClaQRksF.js → Tabs-CKic46Op.js} +13 -14
  24. package/dist/Tabs-DzrxYlm-.cjs +4 -0
  25. package/dist/TextField-CnyxYYzR.cjs +14 -0
  26. package/dist/{TextField-poQmKhLJ.js → TextField-DjQM2ffb.js} +1457 -1415
  27. package/dist/Tooltip-DmCabXFN.cjs +100 -0
  28. package/dist/{Tooltip-h4eHRca2.js → Tooltip-kMJPjug-.js} +1422 -1404
  29. package/dist/Typography-CreZW2v6.cjs +1 -0
  30. package/dist/{Typography-Brk7us7e.js → Typography-DsJC595c.js} +38 -37
  31. package/dist/components/Alert/Alert.cjs.js +1 -1
  32. package/dist/components/Alert/Alert.stories.cjs.js +1 -1
  33. package/dist/components/Button/Button.cjs.js +1 -0
  34. package/dist/components/Button/Button.d.ts +4 -0
  35. package/dist/{DefaultButton-xBiX39mb.js → components/Button/Button.es.js} +90 -110
  36. package/dist/components/Button/Button.stories.cjs.js +1 -0
  37. package/dist/components/{PrimaryButton/PrimaryButton.stories.d.ts → Button/Button.stories.d.ts} +3 -1
  38. package/dist/components/Button/Button.stories.es.js +45 -0
  39. package/dist/components/Button/index.cjs.js +1 -0
  40. package/dist/components/Button/index.d.ts +2 -0
  41. package/dist/components/Button/index.es.js +4 -0
  42. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  43. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  44. package/dist/components/DatePicker/DatePicker.stories.cjs.js +1 -1
  45. package/dist/components/DatePicker/DatePicker.stories.es.js +1 -1
  46. package/dist/components/DatePicker/index.cjs.js +1 -1
  47. package/dist/components/DatePicker/index.es.js +1 -1
  48. package/dist/components/Dropzone/Dropzone.cjs.js +5 -5
  49. package/dist/components/Dropzone/Dropzone.es.js +1675 -679
  50. package/dist/components/Dropzone/Dropzone.stories.cjs.js +1 -1
  51. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  52. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  53. package/dist/components/EmptyState/EmptyState.stories.cjs.js +1 -1
  54. package/dist/components/FileList/FileList.cjs.js +1 -1
  55. package/dist/components/FileList/FileList.es.js +1 -1
  56. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  57. package/dist/components/FileList/FileListItem.es.js +21 -33
  58. package/dist/components/Heading/Heading.cjs.js +1 -0
  59. package/dist/components/{PaperHeader/PaperHeader.d.ts → Heading/Heading.d.ts} +3 -3
  60. package/dist/components/{PaperHeader/PaperHeader.es.js → Heading/Heading.es.js} +15 -15
  61. package/dist/components/Heading/Heading.stories.cjs.js +1 -0
  62. package/dist/components/Heading/Heading.stories.es.js +22 -0
  63. package/dist/components/Heading/index.cjs.js +1 -0
  64. package/dist/components/Heading/index.d.ts +2 -0
  65. package/dist/components/Heading/index.es.js +4 -0
  66. package/dist/components/IconButton.stories.cjs.js +1 -1
  67. package/dist/components/IconButton.stories.es.js +11 -17
  68. package/dist/components/Loader/Loader.cjs.js +1 -1
  69. package/dist/components/Loader/Loader.es.js +1 -1
  70. package/dist/components/Loader/Loader.stories.cjs.js +1 -1
  71. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  72. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  73. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  74. package/dist/components/PasswordInput/PasswordInput.es.js +5 -5
  75. package/dist/components/PasswordInput/PasswordInput.stories.cjs.js +1 -1
  76. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  77. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  78. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  79. package/dist/components/SearchInput/SearchInput.stories.cjs.js +1 -1
  80. package/dist/components/TabList.stories.cjs.js +1 -1
  81. package/dist/components/TabList.stories.es.js +11 -12
  82. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  83. package/dist/components/TextInput/TextInput.es.js +1 -1
  84. package/dist/components/TextInput/TextInput.stories.cjs.js +1 -1
  85. package/dist/components/index.cjs.js +1 -1
  86. package/dist/components/index.d.ts +2 -8
  87. package/dist/components/index.es.js +174 -185
  88. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
  89. package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +1 -0
  90. package/dist/{createSvgIcon-CWZXMIY6.js → createSvgIcon-Ae1vF9Lv.js} +3 -3
  91. package/dist/{createSvgIcon-BHNwYp0k.cjs → createSvgIcon-PXjVOXDY.cjs} +1 -1
  92. package/dist/{extendSxProp-Cr6SqfyU.js → extendSxProp-BzTGWWcy.js} +1 -1
  93. package/dist/{extendSxProp-h_vH_Efx.cjs → extendSxProp-DLhbnNxc.cjs} +1 -1
  94. package/dist/{fr-CrUmNQ8y.js → fr-B0c4Eu-I.js} +1 -1
  95. package/dist/{fr-Dh4vpkIL.cjs → fr-BtINyNRC.cjs} +1 -1
  96. package/dist/identifier-B_IiMbpZ.cjs +59 -0
  97. package/dist/{identifier-vL3mZxtO.js → identifier-Bu3vgTzE.js} +1041 -1053
  98. package/dist/{index-DJfvQgvG.cjs → index-BDy6VH40.cjs} +1 -1
  99. package/dist/{index-PJSlkMUh.js → index-D4YvqRSh.js} +3 -3
  100. package/dist/{index-CrWaTytV.js → index-DNmEgr4X.js} +4 -4
  101. package/dist/index-Dl4BXU0b.cjs +1 -0
  102. package/dist/index.cjs.js +1 -1
  103. package/dist/index.es.js +174 -185
  104. package/dist/memoTheme-C4_nd-x4.js +15 -0
  105. package/dist/memoTheme-DvW891YJ.cjs +1 -0
  106. package/dist/refType-DYRsy3ld.cjs +1 -0
  107. package/dist/{refType-CslmN23s.js → refType-DvOnKTmB.js} +12 -9
  108. package/dist/useForkRef-D-DyzOXj.js +21 -0
  109. package/dist/useForkRef-D81w5oMb.cjs +1 -0
  110. package/dist/{useTheme-Cs6W-67J.js → useTheme-B_3HWqyi.js} +3 -3
  111. package/dist/{useTheme-Cy30-54x.cjs → useTheme-BvsnROiB.cjs} +1 -1
  112. package/dist/{useTheme-BZN9T64v.js → useTheme-DhYab2-0.js} +1 -1
  113. package/dist/{useTheme-BcsinTgi.cjs → useTheme-vN32oV1t.cjs} +1 -1
  114. package/dist/useThemeProps-5hp2m3Xl.cjs +1 -0
  115. package/dist/useThemeProps-Bmkt_XOR.js +27 -0
  116. package/dist/useThemeProps-D_gKWuk1.cjs +1 -0
  117. package/dist/useThemeProps-DftpgVZ0.js +24 -0
  118. package/dist/useTimeout-Bx22KOcH.js +53 -0
  119. package/dist/useTimeout-gEG15bRo.cjs +1 -0
  120. package/package.json +10 -10
  121. package/dist/Backdrop-2u2eUNhW.cjs +0 -1
  122. package/dist/Box-BM-kEZ6w.cjs +0 -1
  123. package/dist/Button-DF4FLm9c.cjs +0 -1
  124. package/dist/ButtonBase-D-LBunY3.cjs +0 -75
  125. package/dist/CircularProgress-Bc4Jb-wh.cjs +0 -28
  126. package/dist/DatePicker-B7Kxulzh.cjs +0 -19
  127. package/dist/DefaultButton-BiytyhNr.cjs +0 -1
  128. package/dist/DefaultPropsProvider-D5gdl0ZP.cjs +0 -17
  129. package/dist/IconButton-C1Q6F-WI.cjs +0 -2
  130. package/dist/InputBase-BhTvM4pD.cjs +0 -3
  131. package/dist/Stack-C-pSEK_U.cjs +0 -1
  132. package/dist/Tabs-DQQR_Rej.cjs +0 -4
  133. package/dist/TextField-ESuNQ6_j.cjs +0 -12
  134. package/dist/Tooltip-iexr64ud.cjs +0 -100
  135. package/dist/Typography-DXUkMq5K.cjs +0 -1
  136. package/dist/chainPropTypes-CEUi6Jb4.cjs +0 -1
  137. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  138. package/dist/components/DefaultButton/DefaultButton.cjs.js +0 -1
  139. package/dist/components/DefaultButton/DefaultButton.d.ts +0 -8
  140. package/dist/components/DefaultButton/DefaultButton.es.js +0 -8
  141. package/dist/components/DefaultButton/DefaultButtonIcon.cjs.js +0 -1
  142. package/dist/components/DefaultButton/DefaultButtonIcon.d.ts +0 -8
  143. package/dist/components/DefaultButton/DefaultButtonIcon.es.js +0 -185
  144. package/dist/components/DefaultButton/index.cjs.js +0 -1
  145. package/dist/components/DefaultButton/index.d.ts +0 -2
  146. package/dist/components/DefaultButton/index.es.js +0 -4
  147. package/dist/components/PaperHeader/PaperHeader.cjs.js +0 -1
  148. package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +0 -1
  149. package/dist/components/PaperHeader/PaperHeader.stories.es.js +0 -28
  150. package/dist/components/PaperHeader/index.cjs.js +0 -1
  151. package/dist/components/PaperHeader/index.d.ts +0 -2
  152. package/dist/components/PaperHeader/index.es.js +0 -4
  153. package/dist/components/PrimaryButton/PrimaryButton.cjs.js +0 -1
  154. package/dist/components/PrimaryButton/PrimaryButton.d.ts +0 -5
  155. package/dist/components/PrimaryButton/PrimaryButton.es.js +0 -13
  156. package/dist/components/PrimaryButton/PrimaryButton.stories.cjs.js +0 -1
  157. package/dist/components/PrimaryButton/PrimaryButton.stories.es.js +0 -25
  158. package/dist/components/PrimaryButton/index.cjs.js +0 -1
  159. package/dist/components/PrimaryButton/index.d.ts +0 -2
  160. package/dist/components/PrimaryButton/index.es.js +0 -4
  161. package/dist/components/SecondaryButton/SecondaryButton.cjs.js +0 -1
  162. package/dist/components/SecondaryButton/SecondaryButton.d.ts +0 -5
  163. package/dist/components/SecondaryButton/SecondaryButton.es.js +0 -6
  164. package/dist/components/SecondaryButton/SecondaryButton.stories.cjs.js +0 -1
  165. package/dist/components/SecondaryButton/SecondaryButton.stories.d.ts +0 -4
  166. package/dist/components/SecondaryButton/SecondaryButton.stories.es.js +0 -25
  167. package/dist/components/SecondaryButton/index.cjs.js +0 -1
  168. package/dist/components/SecondaryButton/index.d.ts +0 -2
  169. package/dist/components/SecondaryButton/index.es.js +0 -4
  170. package/dist/composeClasses-B_ETVugV.cjs +0 -1
  171. package/dist/composeClasses-zmPRtZOg.js +0 -16
  172. package/dist/createSvgIcon-C9v8HKxu.cjs +0 -2
  173. package/dist/createSvgIcon-ampgkdBR.js +0 -89
  174. package/dist/identifier-lU3TQXv0.cjs +0 -59
  175. package/dist/index-B4-7REI3.cjs +0 -1
  176. package/dist/memoTheme-B2EWpIp3.cjs +0 -1
  177. package/dist/memoTheme-O-hJ9iBh.js +0 -13
  178. package/dist/refType-xt9KmJ1e.cjs +0 -1
  179. package/dist/unsupportedProp-Bn6XWqwH.cjs +0 -1
  180. package/dist/unsupportedProp-BuVD30Gh.js +0 -9
  181. package/dist/useControlled-Bf7_InaL.cjs +0 -3
  182. package/dist/useControlled-D59BLg1S.js +0 -48
  183. package/dist/useEnhancedEffect-BQZ6dtCo.cjs +0 -1
  184. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  185. package/dist/useEventCallback-BAQJJ3ye.js +0 -14
  186. package/dist/useEventCallback-C0-Qw3Sm.cjs +0 -1
  187. package/dist/useForkRef-CTI33h-3.cjs +0 -1
  188. package/dist/useForkRef-C_4o__cU.js +0 -15
  189. package/dist/useThemeProps-CjDUEYiA.js +0 -40
  190. package/dist/useThemeProps-DxowsTec.cjs +0 -1
  191. package/dist/useTimeout-COCrDKz-.cjs +0 -1
  192. package/dist/useTimeout-CcRdgCDK.js +0 -42
  193. /package/dist/components/{PaperHeader/PaperHeader.stories.d.ts → Heading/Heading.stories.d.ts} +0 -0
@@ -1,185 +0,0 @@
1
- import { jsx as l } from "react/jsx-runtime";
2
- import * as S from "react";
3
- import { I as z, J as g, K as i, L as h, P as e } from "../../identifier-vL3mZxtO.js";
4
- import { m as b } from "../../memoTheme-O-hJ9iBh.js";
5
- import { s as I, u as T, c as v } from "../../DefaultPropsProvider-3gIWHkeE.js";
6
- function x(o) {
7
- return z("MuiIcon", o);
8
- }
9
- g("MuiIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
10
- const O = (o) => {
11
- const {
12
- color: t,
13
- fontSize: r,
14
- classes: n
15
- } = o, s = {
16
- root: ["root", t !== "inherit" && `color${i(t)}`, `fontSize${i(r)}`]
17
- };
18
- return v(s, x, n);
19
- }, N = I("span", {
20
- name: "MuiIcon",
21
- slot: "Root",
22
- overridesResolver: (o, t) => {
23
- const {
24
- ownerState: r
25
- } = o;
26
- return [t.root, r.color !== "inherit" && t[`color${i(r.color)}`], t[`fontSize${i(r.fontSize)}`]];
27
- }
28
- })(b(({
29
- theme: o
30
- }) => ({
31
- userSelect: "none",
32
- width: "1em",
33
- height: "1em",
34
- // Chrome fix for https://bugs.chromium.org/p/chromium/issues/detail?id=820541
35
- // To remove at some point.
36
- overflow: "hidden",
37
- display: "inline-block",
38
- // allow overflow hidden to take action
39
- textAlign: "center",
40
- // support non-square icon
41
- flexShrink: 0,
42
- variants: [{
43
- props: {
44
- fontSize: "inherit"
45
- },
46
- style: {
47
- fontSize: "inherit"
48
- }
49
- }, {
50
- props: {
51
- fontSize: "small"
52
- },
53
- style: {
54
- fontSize: o.typography.pxToRem(20)
55
- }
56
- }, {
57
- props: {
58
- fontSize: "medium"
59
- },
60
- style: {
61
- fontSize: o.typography.pxToRem(24)
62
- }
63
- }, {
64
- props: {
65
- fontSize: "large"
66
- },
67
- style: {
68
- fontSize: o.typography.pxToRem(36)
69
- }
70
- }, {
71
- props: {
72
- color: "action"
73
- },
74
- style: {
75
- color: (o.vars || o).palette.action.active
76
- }
77
- }, {
78
- props: {
79
- color: "disabled"
80
- },
81
- style: {
82
- color: (o.vars || o).palette.action.disabled
83
- }
84
- }, {
85
- props: {
86
- color: "inherit"
87
- },
88
- style: {
89
- color: void 0
90
- }
91
- }, ...Object.entries(o.palette).filter(([, t]) => t && t.main).map(([t]) => ({
92
- props: {
93
- color: t
94
- },
95
- style: {
96
- color: (o.vars || o).palette[t].main
97
- }
98
- }))]
99
- }))), a = /* @__PURE__ */ S.forwardRef(function(t, r) {
100
- const n = T({
101
- props: t,
102
- name: "MuiIcon"
103
- }), {
104
- baseClassName: s = "material-icons",
105
- className: f,
106
- color: m = "inherit",
107
- component: c = "span",
108
- fontSize: u = "medium",
109
- ...d
110
- } = n, p = {
111
- ...n,
112
- baseClassName: s,
113
- color: m,
114
- component: c,
115
- fontSize: u
116
- }, y = O(p);
117
- return /* @__PURE__ */ l(N, {
118
- as: c,
119
- className: h(
120
- s,
121
- // Prevent the translation of the text content.
122
- // The font relies on the exact text content to render the icon.
123
- "notranslate",
124
- y.root,
125
- f
126
- ),
127
- ownerState: p,
128
- "aria-hidden": !0,
129
- ref: r,
130
- ...d
131
- });
132
- });
133
- process.env.NODE_ENV !== "production" && (a.propTypes = {
134
- // ┌────────────────────────────── Warning ──────────────────────────────┐
135
- // │ These PropTypes are generated from the TypeScript type definitions. │
136
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
137
- // └─────────────────────────────────────────────────────────────────────┘
138
- /**
139
- * The base class applied to the icon. Defaults to 'material-icons', but can be changed to any
140
- * other base class that suits the icon font you're using (for example material-icons-rounded, fas, etc).
141
- * @default 'material-icons'
142
- */
143
- baseClassName: e.string,
144
- /**
145
- * The name of the icon font ligature.
146
- */
147
- children: e.node,
148
- /**
149
- * Override or extend the styles applied to the component.
150
- */
151
- classes: e.object,
152
- /**
153
- * @ignore
154
- */
155
- className: e.string,
156
- /**
157
- * The color of the component.
158
- * It supports both default and custom theme colors, which can be added as shown in the
159
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
160
- * @default 'inherit'
161
- */
162
- color: e.oneOfType([e.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), e.string]),
163
- /**
164
- * The component used for the root node.
165
- * Either a string to use a HTML element or a component.
166
- */
167
- component: e.elementType,
168
- /**
169
- * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
170
- * @default 'medium'
171
- */
172
- fontSize: e.oneOfType([e.oneOf(["inherit", "large", "medium", "small"]), e.string]),
173
- /**
174
- * The system prop that allows defining system overrides as well as additional CSS styles.
175
- */
176
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
177
- });
178
- a && (a.muiName = "Icon");
179
- const M = ({
180
- Component: o,
181
- name: t
182
- }) => t ? /* @__PURE__ */ l(a, { children: t }) : o ? /* @__PURE__ */ l(o, {}) : null;
183
- export {
184
- M as default
185
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../DefaultButton-BiytyhNr.cjs");exports.DefaultButton=t.DefaultButton;
@@ -1,2 +0,0 @@
1
- export * from './DefaultButton';
2
- export { default as DefaultButton } from './DefaultButton';
@@ -1,4 +0,0 @@
1
- import { D as a } from "../../DefaultButton-xBiX39mb.js";
2
- export {
3
- a as DefaultButton
4
- };
@@ -1 +0,0 @@
1
- "use strict";const n=require("react/jsx-runtime"),c=require("../../Stack-C-pSEK_U.cjs"),q=require("../../Typography-DXUkMq5K.cjs"),r=({title:u,IconComponent:d,iconColor:e,iconProps:g,iconSize:h=28,titleProps:a,...x})=>n.jsxs(c.Stack,{direction:"row",alignItems:"center",gap:1,...x,children:[d?n.jsx(d,{sx:{fontSize:h,padding:"2px",borderRadius:1,color:e==null?void 0:e[500],backgroundColor:e==null?void 0:e[50]},...g}):null,n.jsx(q.Typography,{component:(a==null?void 0:a.component)??"h3",variant:(a==null?void 0:a.variant)??"h2",fontWeight:(a==null?void 0:a.fontWeight)??400,...a,children:u})]});module.exports=r;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react/jsx-runtime"),t=require("../../createSvgIcon-C9v8HKxu.cjs"),o=require("./PaperHeader.cjs.js"),i=require("../../identifier-lU3TQXv0.cjs");var e={},s=t.interopRequireDefaultExports;Object.defineProperty(e,"__esModule",{value:!0});var a=e.default=void 0,c=s(t.requireCreateSvgIcon()),d=r;a=e.default=(0,c.default)((0,d.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8m3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5m-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11m3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5"}),"Mood");const l={title:"Components/PaperHeader",component:o,argTypes:{}},p=u=>r.jsx(o,{...u}),n=p.bind({});n.args={title:"Heading",iconColor:i.red,IconComponent:a};exports.Default=n;exports.default=l;
@@ -1,28 +0,0 @@
1
- import a, { jsx as i } from "react/jsx-runtime";
2
- import { r as s, i as n } from "../../createSvgIcon-ampgkdBR.js";
3
- import r from "./PaperHeader.es.js";
4
- import { r as p } from "../../identifier-vL3mZxtO.js";
5
- var e = {}, d = n;
6
- Object.defineProperty(e, "__esModule", {
7
- value: !0
8
- });
9
- var o = e.default = void 0, m = d(s()), u = a;
10
- o = e.default = (0, m.default)(/* @__PURE__ */ (0, u.jsx)("path", {
11
- d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8m3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5m-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11m3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5"
12
- }), "Mood");
13
- const g = {
14
- title: "Components/PaperHeader",
15
- component: r,
16
- argTypes: {
17
- // Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
18
- }
19
- }, c = (t) => /* @__PURE__ */ i(r, { ...t }), l = c.bind({});
20
- l.args = {
21
- title: "Heading",
22
- iconColor: p,
23
- IconComponent: o
24
- };
25
- export {
26
- l as Default,
27
- g as default
28
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PaperHeader.cjs.js");exports.PaperHeader=e;
@@ -1,2 +0,0 @@
1
- export * from './PaperHeader';
2
- export { default as PaperHeader } from './PaperHeader';
@@ -1,4 +0,0 @@
1
- import { default as r } from "./PaperHeader.es.js";
2
- export {
3
- r as PaperHeader
4
- };
@@ -1 +0,0 @@
1
- "use strict";const r=require("react/jsx-runtime"),e=require("../../DefaultButton-BiytyhNr.cjs"),n=t=>r.jsx(e.DefaultButton,{color:"primary",variant:t.variant??"outlined",...t});module.exports=n;
@@ -1,5 +0,0 @@
1
- import { DefaultButtonProps } from '../DefaultButton';
2
- export interface PrimaryButtonProps extends Omit<DefaultButtonProps, "color"> {
3
- }
4
- declare const PrimaryButton: React.FunctionComponent<PrimaryButtonProps>;
5
- export default PrimaryButton;
@@ -1,13 +0,0 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { D as a } from "../../DefaultButton-xBiX39mb.js";
3
- const n = (t) => /* @__PURE__ */ r(
4
- a,
5
- {
6
- color: "primary",
7
- variant: t.variant ?? "outlined",
8
- ...t
9
- }
10
- );
11
- export {
12
- n as default
13
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),t=require("./PrimaryButton.cjs.js"),r=require("../../createSvgIcon-BHNwYp0k.cjs"),s=r.createSvgIcon(e.jsx("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"}),"Save"),a={title:"Components/PrimaryButton",component:t,argTypes:{}},c=n=>e.jsx(t,{...n}),o=c.bind({});o.args={text:"Save",icon:{Component:s,position:"left"},onClick:()=>alert("Alert"),disabled:!1};exports.Default=o;exports.default=a;
@@ -1,25 +0,0 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import o from "./PrimaryButton.es.js";
3
- import { c as a } from "../../createSvgIcon-CWZXMIY6.js";
4
- const n = a(/* @__PURE__ */ t("path", {
5
- d: "M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"
6
- }), "Save"), p = {
7
- title: "Components/PrimaryButton",
8
- component: o,
9
- argTypes: {
10
- // Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
11
- }
12
- }, r = (e) => /* @__PURE__ */ t(o, { ...e }), s = r.bind({});
13
- s.args = {
14
- text: "Save",
15
- icon: {
16
- Component: n,
17
- position: "left"
18
- },
19
- onClick: () => alert("Alert"),
20
- disabled: !1
21
- };
22
- export {
23
- s as Default,
24
- p as default
25
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PrimaryButton.cjs.js");exports.PrimaryButton=t;
@@ -1,2 +0,0 @@
1
- export * from './PrimaryButton';
2
- export { default as PrimaryButton } from './PrimaryButton';
@@ -1,4 +0,0 @@
1
- import { default as a } from "./PrimaryButton.es.js";
2
- export {
3
- a as PrimaryButton
4
- };
@@ -1 +0,0 @@
1
- "use strict";const e=require("react/jsx-runtime"),n=require("../../DefaultButton-BiytyhNr.cjs"),o=t=>e.jsx(n.DefaultButton,{color:"secondary",variant:t.variant??"outlined",...t});module.exports=o;
@@ -1,5 +0,0 @@
1
- import { DefaultButtonProps } from '../DefaultButton';
2
- export interface SecondaryButtonProps extends Omit<DefaultButtonProps, "color"> {
3
- }
4
- declare const SecondaryButton: React.FunctionComponent<SecondaryButtonProps>;
5
- export default SecondaryButton;
@@ -1,6 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { D as a } from "../../DefaultButton-xBiX39mb.js";
3
- const e = (t) => /* @__PURE__ */ o(a, { color: "secondary", variant: t.variant ?? "outlined", ...t });
4
- export {
5
- e as default
6
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),t=require("./SecondaryButton.cjs.js"),r=require("../../createSvgIcon-BHNwYp0k.cjs"),s=r.createSvgIcon(e.jsx("path",{d:"M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m-9-2V7H4v3H1v2h3v3h2v-3h3v-2zm9 4c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"}),"PersonAdd"),c={title:"Components/SecondaryButton",component:t,argTypes:{}},a=n=>e.jsx(t,{...n}),o=a.bind({});o.args={text:"Add user",icon:{Component:s,position:"left"},onClick:()=>alert("Alert"),disabled:!1};exports.Default=o;exports.default=c;
@@ -1,4 +0,0 @@
1
- import { Meta, StoryFn } from '@storybook/react';
2
- declare const stories: Meta<StoryFn<any>>;
3
- export declare const Default: any;
4
- export default stories;
@@ -1,25 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import t from "./SecondaryButton.es.js";
3
- import { c as n } from "../../createSvgIcon-CWZXMIY6.js";
4
- const s = n(/* @__PURE__ */ o("path", {
5
- d: "M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m-9-2V7H4v3H1v2h3v3h2v-3h3v-2zm9 4c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"
6
- }), "PersonAdd"), i = {
7
- title: "Components/SecondaryButton",
8
- component: t,
9
- argTypes: {
10
- // Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
11
- }
12
- }, r = (e) => /* @__PURE__ */ o(t, { ...e }), c = r.bind({});
13
- c.args = {
14
- text: "Add user",
15
- icon: {
16
- Component: s,
17
- position: "left"
18
- },
19
- onClick: () => alert("Alert"),
20
- disabled: !1
21
- };
22
- export {
23
- c as Default,
24
- i as default
25
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./SecondaryButton.cjs.js");exports.SecondaryButton=t;
@@ -1,2 +0,0 @@
1
- export * from './SecondaryButton';
2
- export { default as SecondaryButton } from './SecondaryButton';
@@ -1,4 +0,0 @@
1
- import { default as a } from "./SecondaryButton.es.js";
2
- export {
3
- a as SecondaryButton
4
- };
@@ -1 +0,0 @@
1
- "use strict";function r(f,c,o=void 0){const s={};for(const u in f){const i=f[u];let e="";for(let n=0;n<i.length;n+=1){const t=i[n];t&&(e+=c(t)+" ",o&&o[t]&&(e+=o[t]+" "))}s[u]=e}return s}exports.composeClasses=r;
@@ -1,16 +0,0 @@
1
- function l(f, c, o = void 0) {
2
- const u = {};
3
- for (const i in f) {
4
- const r = f[i];
5
- let n = "";
6
- for (let e = 0; e < r.length; e += 1) {
7
- const t = r[e];
8
- t && (n += c(t) + " ", o && o[t] && (n += o[t] + " "));
9
- }
10
- u[i] = n;
11
- }
12
- return u;
13
- }
14
- export {
15
- l as c
16
- };
@@ -1,2 +0,0 @@
1
- "use strict";const f=require("./identifier-lU3TQXv0.cjs"),C=require("./createSvgIcon-BHNwYp0k.cjs"),y=require("./memoTheme-B2EWpIp3.cjs"),c=require("./useControlled-Bf7_InaL.cjs"),v=require("./useForkRef-CTI33h-3.cjs"),l=require("./ownerWindow-Dk_4aaak.cjs"),S=require("./useEnhancedEffect-BQZ6dtCo.cjs"),w=require("./useId-DNXtOFeX.cjs"),I=require("./unsupportedProp-Bn6XWqwH.cjs"),N=require("./useEventCallback-C0-Qw3Sm.cjs");function R(e,t){return process.env.NODE_ENV==="production"?()=>null:(r,s,u,n,o)=>{const i=u||"<<anonymous>>",a=o||s;return typeof r[s]<"u"?new Error(`The ${n} \`${a}\` of \`${i}\` is deprecated. ${t}`):null}}function g(e,t){if(process.env.NODE_ENV==="production")return()=>null;const r=t?{...t.propTypes}:null;return u=>(n,o,i,a,p,...b)=>{const m=p||o,h=r==null?void 0:r[m];if(h){const q=h(n,o,i,a,p,...b);if(q)return q}return typeof n[o]<"u"&&!n[u]?new Error(`The prop \`${m}\` of \`${e}\` can only be used together with the \`${u}\` prop.`):null}}const T={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
- `)),f.ClassNameGenerator.configure(e)}},$=Object.freeze(Object.defineProperty({__proto__:null,capitalize:f.capitalize,createChainedFunction:c.createChainedFunction,createSvgIcon:C.createSvgIcon,debounce:l.debounce,deprecatedPropType:R,isMuiElement:c.isMuiElement,ownerDocument:l.ownerDocument,ownerWindow:l.ownerWindow,requirePropFactory:g,setRef:v.setRef,unstable_ClassNameGenerator:T,unstable_memoTheme:y.memoTheme,unstable_useEnhancedEffect:S.useEnhancedEffect,unstable_useId:w.useId,unsupportedProp:I.unsupportedProp,useControlled:c.useControlled,useEventCallback:N.useEventCallback,useForkRef:v.useForkRef},Symbol.toStringTag,{value:"Module"}));var _={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(_);var D=_.exports,d={};const P=f.getAugmentedNamespace($);var E;function k(){return E||(E=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=P}(d)),d}exports.interopRequireDefaultExports=D;exports.requireCreateSvgIcon=k;exports.requirePropFactory=g;
@@ -1,89 +0,0 @@
1
- import { Q as g, K as v, _ as b } from "./identifier-vL3mZxtO.js";
2
- import { c as E } from "./createSvgIcon-CWZXMIY6.js";
3
- import { m as y } from "./memoTheme-O-hJ9iBh.js";
4
- import { c as N, i as S, u as C } from "./useControlled-D59BLg1S.js";
5
- import { s as $, u as I } from "./useForkRef-C_4o__cU.js";
6
- import { d as T, a as q, o as x } from "./ownerWindow-BoRkeomM.js";
7
- import { u as w } from "./useEnhancedEffect-CJGo-L3B.js";
8
- import { u as D } from "./useId-CK6Kn3Tn.js";
9
- import { u as O } from "./unsupportedProp-BuVD30Gh.js";
10
- import { u as R } from "./useEventCallback-BAQJJ3ye.js";
11
- function M(e, r) {
12
- return process.env.NODE_ENV === "production" ? () => null : (t, a, u, o, n) => {
13
- const s = u || "<<anonymous>>", i = n || a;
14
- return typeof t[a] < "u" ? new Error(`The ${o} \`${i}\` of \`${s}\` is deprecated. ${r}`) : null;
15
- };
16
- }
17
- function P(e, r) {
18
- if (process.env.NODE_ENV === "production")
19
- return () => null;
20
- const t = r ? {
21
- ...r.propTypes
22
- } : null;
23
- return (u) => (o, n, s, i, f, ..._) => {
24
- const l = f || n, m = t == null ? void 0 : t[l];
25
- if (m) {
26
- const p = m(o, n, s, i, f, ..._);
27
- if (p)
28
- return p;
29
- }
30
- return typeof o[n] < "u" && !o[u] ? new Error(`The prop \`${l}\` of \`${e}\` can only be used together with the \`${u}\` prop.`) : null;
31
- };
32
- }
33
- const j = {
34
- configure: (e) => {
35
- 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(`
36
- `)), g.configure(e);
37
- }
38
- }, k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
39
- __proto__: null,
40
- capitalize: v,
41
- createChainedFunction: N,
42
- createSvgIcon: E,
43
- debounce: T,
44
- deprecatedPropType: M,
45
- isMuiElement: S,
46
- ownerDocument: q,
47
- ownerWindow: x,
48
- requirePropFactory: P,
49
- setRef: $,
50
- unstable_ClassNameGenerator: j,
51
- unstable_memoTheme: y,
52
- unstable_useEnhancedEffect: w,
53
- unstable_useId: D,
54
- unsupportedProp: O,
55
- useControlled: C,
56
- useEventCallback: R,
57
- useForkRef: I
58
- }, Symbol.toStringTag, { value: "Module" }));
59
- var h = { exports: {} };
60
- (function(e) {
61
- function r(t) {
62
- return t && t.__esModule ? t : {
63
- default: t
64
- };
65
- }
66
- e.exports = r, e.exports.__esModule = !0, e.exports.default = e.exports;
67
- })(h);
68
- var H = h.exports, c = {};
69
- const F = /* @__PURE__ */ b(k);
70
- var d;
71
- function J() {
72
- return d || (d = 1, function(e) {
73
- "use client";
74
- Object.defineProperty(e, "__esModule", {
75
- value: !0
76
- }), Object.defineProperty(e, "default", {
77
- enumerable: !0,
78
- get: function() {
79
- return r.createSvgIcon;
80
- }
81
- });
82
- var r = F;
83
- }(c)), c;
84
- }
85
- export {
86
- P as a,
87
- H as i,
88
- J as r
89
- };