@cgi-learning-hub/ui 0.0.1-dev.1709646249 → 0.0.1-dev.1709712957

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 (89) hide show
  1. package/dist/{Box-C0qXdJzV.js → Box-DbTiG4H5.js} +3 -3
  2. package/dist/{ButtonBase-C14ZYs6z.js → ButtonBase-Cj0VAGSo.js} +5 -5
  3. package/dist/{ButtonBase-BvllyU4w.cjs → ButtonBase-DTmn2sD_.cjs} +1 -1
  4. package/dist/{CircularProgress-Bf46-VRs.js → CircularProgress-BqQQW0l9.js} +3 -3
  5. package/dist/{DefaultButton-B-2UppUm.js → DefaultButton-DdQUbrXq.js} +6 -6
  6. package/dist/{DefaultButton-DPZOltN5.cjs → DefaultButton-Ls0zczi1.cjs} +1 -1
  7. package/dist/{IconButton-1URziYlU.js → IconButton-BO0e0bGH.js} +4 -4
  8. package/dist/{IconButton-X6l-U-im.cjs → IconButton-wRZZmeNK.cjs} +1 -1
  9. package/dist/{InputBase-D_wYPpmB.js → InputBase-D-C0U1Q3.js} +3 -3
  10. package/dist/LocalizationProvider-BqhYrFIl.js +573 -0
  11. package/dist/LocalizationProvider-CAosaaEW.cjs +5 -0
  12. package/dist/{SearchInput-D2HnePqk.js → SearchInput-Ef9mtSE4.js} +5 -5
  13. package/dist/{Tabs-Dx8YJT4c.cjs → Tabs-CsKKGDYk.cjs} +1 -1
  14. package/dist/{Tabs-B9BPJaDx.js → Tabs-DlViPyxj.js} +8 -8
  15. package/dist/{TextInput-BO1q4hT2.cjs → TextInput-Bnnhldff.cjs} +1 -1
  16. package/dist/{TextInput-DiA3Q5CJ.js → TextInput-DNVF9vEj.js} +159 -159
  17. package/dist/{TimePicker-CBI_tdzH.js → TimePicker-C7tUydgb.js} +17 -17
  18. package/dist/{TimePicker-CnW0kylk.cjs → TimePicker-DfciOeXl.cjs} +1 -1
  19. package/dist/{Typography-CRt6WSxo.js → Typography-gyI1N9sP.js} +2 -2
  20. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  21. package/dist/components/Dropzone/Dropzone.es.js +5 -5
  22. package/dist/components/LocalizationProvider/LocalizationProvider.cjs.js +1 -1
  23. package/dist/components/LocalizationProvider/LocalizationProvider.es.js +3 -2
  24. package/dist/components/LocalizationProvider/index.cjs.js +1 -1
  25. package/dist/components/LocalizationProvider/index.es.js +1 -1
  26. package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -1
  27. package/dist/components/buttons/DefaultButton/DefaultButton.es.js +3 -3
  28. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +2 -2
  29. package/dist/components/buttons/DefaultButton/index.cjs.js +1 -1
  30. package/dist/components/buttons/DefaultButton/index.es.js +1 -1
  31. package/dist/components/buttons/IconButton.stories.cjs.js +1 -1
  32. package/dist/components/buttons/IconButton.stories.es.js +2 -2
  33. package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
  34. package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +2 -2
  35. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +1 -1
  36. package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -1
  37. package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +2 -2
  38. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +1 -1
  39. package/dist/components/buttons/index.cjs.js +1 -1
  40. package/dist/components/buttons/index.es.js +1 -1
  41. package/dist/components/index.cjs.js +1 -1
  42. package/dist/components/index.es.js +100 -98
  43. package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +1 -0
  44. package/dist/components/inputs/PasswordInput/PasswordInput.d.ts +5 -0
  45. package/dist/components/inputs/PasswordInput/PasswordInput.es.js +43 -0
  46. package/dist/components/inputs/PasswordInput/PasswordInput.stories.cjs.js +1 -0
  47. package/dist/components/inputs/PasswordInput/PasswordInput.stories.d.ts +4 -0
  48. package/dist/components/inputs/PasswordInput/PasswordInput.stories.es.js +16 -0
  49. package/dist/components/inputs/PasswordInput/index.cjs.js +1 -0
  50. package/dist/components/inputs/PasswordInput/index.d.ts +2 -0
  51. package/dist/components/inputs/PasswordInput/index.es.js +4 -0
  52. package/dist/components/inputs/SearchInput/SearchInput.es.js +3 -3
  53. package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +1 -1
  54. package/dist/components/inputs/SearchInput/index.es.js +1 -1
  55. package/dist/components/inputs/TextInput/TextInput.cjs.js +1 -1
  56. package/dist/components/inputs/TextInput/TextInput.es.js +2 -2
  57. package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +1 -1
  58. package/dist/components/inputs/TextInput/TextInput.stories.es.js +1 -1
  59. package/dist/components/inputs/TextInput/index.cjs.js +1 -1
  60. package/dist/components/inputs/TextInput/index.es.js +1 -1
  61. package/dist/components/inputs/index.cjs.js +1 -1
  62. package/dist/components/inputs/index.d.ts +1 -0
  63. package/dist/components/inputs/index.es.js +6 -4
  64. package/dist/components/lists/FileList/FileList.es.js +1 -1
  65. package/dist/components/lists/FileList/FileListItem.cjs.js +1 -1
  66. package/dist/components/lists/FileList/FileListItem.es.js +5 -5
  67. package/dist/components/lists/TabList.stories.cjs.js +1 -1
  68. package/dist/components/lists/TabList.stories.es.js +3 -3
  69. package/dist/{createSvgIcon-BOQCM03y.cjs → createSvgIcon-BFvGxBdo.cjs} +1 -1
  70. package/dist/{createSvgIcon-Dspfpz-l.js → createSvgIcon-D51qQ1iy.js} +2 -2
  71. package/dist/{createSvgIcon-xJp3_zwo.js → createSvgIcon-RcVfBE0a.js} +8 -8
  72. package/dist/fr-BmGEYD_b.js +335 -0
  73. package/dist/fr-D4QyQkl7.cjs +1 -0
  74. package/dist/index.cjs.js +1 -1
  75. package/dist/index.es.js +98 -96
  76. package/dist/{refType-BBFUe6fu.js → refType-CRZJc9ll.js} +1 -1
  77. package/dist/{styled-D8lXwcQy.js → styled-Cu97anhh.js} +1 -1
  78. package/dist/{useIsFocusVisible-B88all80.js → useIsFocusVisible-B0YhMbQl.js} +1 -1
  79. package/dist/{useIsFocusVisible-9FderFRK.cjs → useIsFocusVisible-B2ErvDHn.cjs} +1 -1
  80. package/dist/{useSlotProps-BoMYRJkF.js → useSlotProps-BE7y-efU.js} +2 -2
  81. package/dist/{useTheme-Bo1inEHN.js → useTheme-zz1qDqSf.js} +1 -1
  82. package/dist/{useThemeProps-CZzcR_pm.js → useThemeProps-HPaoKsTZ.js} +7 -7
  83. package/dist/useTimeout-CT5mhldn.js +47 -0
  84. package/dist/useTimeout-D8rbe5ty.cjs +1 -0
  85. package/package.json +1 -1
  86. package/dist/LocalizationProvider-BD64DNxF.js +0 -903
  87. package/dist/LocalizationProvider-DqwEOZOd.cjs +0 -5
  88. package/dist/useTimeout-C7IkLqZ9.js +0 -47
  89. package/dist/useTimeout-DHarDhEH.cjs +0 -1
@@ -1,6 +1,6 @@
1
- import { _ as l, e as g } from "./useThemeProps-CZzcR_pm.js";
1
+ import { _ as l, e as g } from "./useThemeProps-HPaoKsTZ.js";
2
2
  import { i as h } from "./isHostComponent-kiaBvYVo.js";
3
- import { c as S } from "./styled-D8lXwcQy.js";
3
+ import { c as S } from "./styled-Cu97anhh.js";
4
4
  import { a as x } from "./useForkRef-CQ5u1_mH.js";
5
5
  function N(n, s, e) {
6
6
  return n === void 0 || h(n) ? s : l({}, s, {
@@ -1,5 +1,5 @@
1
1
  import * as s from "react";
2
- import { u, T as o, d as t } from "./useThemeProps-CZzcR_pm.js";
2
+ import { u, T as o, d as t } from "./useThemeProps-HPaoKsTZ.js";
3
3
  function a() {
4
4
  const e = u(t);
5
5
  return process.env.NODE_ENV !== "production" && s.useDebugValue(e), e[o] || e;
@@ -2265,15 +2265,15 @@ export {
2265
2265
  vt as c,
2266
2266
  Mn as d,
2267
2267
  ce as e,
2268
- kn as f,
2268
+ He as f,
2269
2269
  Fr as g,
2270
- He as h,
2270
+ kn as h,
2271
2271
  ie as i,
2272
- Bn as j,
2273
- ae as k,
2274
- St as l,
2275
- Nn as m,
2276
- At as n,
2272
+ Nn as j,
2273
+ Bn as k,
2274
+ ae as l,
2275
+ At as m,
2276
+ St as n,
2277
2277
  G as o,
2278
2278
  qr as p,
2279
2279
  _t as q,
@@ -0,0 +1,47 @@
1
+ import * as u from "react";
2
+ import { u as c } from "./useForkRef-CQ5u1_mH.js";
3
+ function l(t) {
4
+ const r = u.useRef(t);
5
+ return c(() => {
6
+ r.current = t;
7
+ }), u.useRef((...e) => (
8
+ // @ts-expect-error hide `this`
9
+ (0, r.current)(...e)
10
+ )).current;
11
+ }
12
+ const s = {};
13
+ function i(t, r) {
14
+ const e = u.useRef(s);
15
+ return e.current === s && (e.current = t(r)), e;
16
+ }
17
+ const o = [];
18
+ function f(t) {
19
+ u.useEffect(t, o);
20
+ }
21
+ class n {
22
+ constructor() {
23
+ this.currentId = null, this.clear = () => {
24
+ this.currentId !== null && (clearTimeout(this.currentId), this.currentId = null);
25
+ }, this.disposeEffect = () => this.clear;
26
+ }
27
+ static create() {
28
+ return new n();
29
+ }
30
+ /**
31
+ * Executes `fn` after `delay`, clearing any previously scheduled call.
32
+ */
33
+ start(r, e) {
34
+ this.clear(), this.currentId = setTimeout(() => {
35
+ this.currentId = null, e();
36
+ }, r);
37
+ }
38
+ }
39
+ function h() {
40
+ const t = i(n.create).current;
41
+ return f(t.disposeEffect), t;
42
+ }
43
+ export {
44
+ n as T,
45
+ l as a,
46
+ h as u
47
+ };
@@ -0,0 +1 @@
1
+ "use strict";const i=require("react"),o=require("./useForkRef-DfdM2MN5.cjs");function f(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const c=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,c.get?c:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const n=f(i);function a(e){const r=n.useRef(e);return o.useEnhancedEffect(()=>{r.current=e}),n.useRef((...t)=>(0,r.current)(...t)).current}const s={};function l(e,r){const t=n.useRef(s);return t.current===s&&(t.current=e(r)),t}const d=[];function h(e){n.useEffect(e,d)}class u{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new u}start(r,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},r)}}function m(){const e=l(u.create).current;return h(e.disposeEffect),e}exports.Timeout=u;exports.useEventCallback=a;exports.useTimeout=m;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgi-learning-hub/ui",
3
- "version": "0.0.1-dev.1709646249",
3
+ "version": "0.0.1-dev.1709712957",
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",