@cgi-learning-hub/ui 0.0.1-dev.1712580863 → 0.0.1-dev.1712582478

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
- body{margin:0;padding:0;background:#3498db}.cs-loader{position:absolute;top:0;left:0;height:100%;width:100%}.cs-loader-inner{transform:translateY(-50%);top:50%;position:absolute;width:calc(100% - 200px);color:#fff;padding:0 100px;text-align:center}.cs-loader-inner label{font-size:20px;opacity:0;display:inline-block}@keyframes lol{0%{opacity:0;transform:translate(-300px)}33%{opacity:1;transform:translate(0)}66%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(300px)}}.cs-loader-inner label:nth-child(6){animation:lol 3s infinite ease-in-out}.cs-loader-inner label:nth-child(5){animation:lol 3s .1s infinite ease-in-out}.cs-loader-inner label:nth-child(4){animation:lol 3s .2s infinite ease-in-out}.cs-loader-inner label:nth-child(3){animation:lol 3s .3s infinite ease-in-out}.cs-loader-inner label:nth-child(2){animation:lol 3s .4s infinite ease-in-out}.cs-loader-inner label:nth-child(1){animation:lol 3s .5s infinite ease-in-out}
1
+ body{margin:0;padding:0;background:#3498db}.cs-loader{position:absolute;top:0;left:0;height:100%;width:100%}.cs-loader-inner{transform:translateY(-50%);top:50%;position:absolute;width:calc(100% - 200px);color:#fff;padding:0 100px;text-align:center}.cs-loader-inner label{font-size:20px;opacity:0;display:inline-block}@keyframes lol{0%{opacity:0;transform:translate(-300px)}33%{opacity:1;transform:translate(0)}66%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(300px)}}.cs-loader-inner label:nth-child(6){animation:lol 3s infinite ease-in-out}.cs-loader-inner label:nth-child(5){animation:lol 3s .1s infinite ease-in-out}.cs-loader-inner label:nth-child(4){animation:lol 3s .2s infinite ease-in-out}.cs-loader-inner label:nth-child(3){animation:lol 3s .3s infinite ease-in-out}.cs-loader-inner label:nth-child(2){animation:lol 3s .4s infinite ease-in-out}.cs-loader-inner label:nth-child(1){animation:lol 3s .5s infinite ease-in-out}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.flex{display:flex}.table{display:table}.w-full{width:100%}.border{border-width:1px}.text-start{text-align:start}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime");;/* empty css */const l=({})=>e.jsx("div",{className:"cs-loader",children:e.jsxs("div",{className:"cs-loader-inner",children:[e.jsx("label",{children:"●"}),e.jsx("label",{children:"●"}),e.jsx("label",{children:"●"}),e.jsx("label",{children:"●"}),e.jsx("label",{children:"●"}),e.jsx("label",{children:"●"})]})});module.exports=l;
1
+ "use strict";const e=require("react/jsx-runtime"),l=({})=>e.jsx("div",{className:"cs-loader",children:e.jsxs("div",{className:"cs-loader-inner",children:[e.jsx("label",{children:"●"}),e.jsx("label",{children:"●"}),e.jsx("label",{children:"●"}),e.jsx("label",{children:"●"}),e.jsx("label",{children:"●"}),e.jsx("label",{children:"●"})]})});module.exports=l;
@@ -1,6 +1,5 @@
1
1
  import { jsx as l, jsxs as e } from "react/jsx-runtime";
2
- /* empty css */
3
- const d = ({}) => /* @__PURE__ */ l("div", { className: "cs-loader", children: /* @__PURE__ */ e("div", { className: "cs-loader-inner", children: [
2
+ const a = ({}) => /* @__PURE__ */ l("div", { className: "cs-loader", children: /* @__PURE__ */ e("div", { className: "cs-loader-inner", children: [
4
3
  /* @__PURE__ */ l("label", { children: "●" }),
5
4
  /* @__PURE__ */ l("label", { children: "●" }),
6
5
  /* @__PURE__ */ l("label", { children: "●" }),
@@ -9,5 +8,5 @@ const d = ({}) => /* @__PURE__ */ l("div", { className: "cs-loader", children: /
9
8
  /* @__PURE__ */ l("label", { children: "●" })
10
9
  ] }) });
11
10
  export {
12
- d as default
11
+ a as default
13
12
  };
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),u=require("react"),a=require("../../../TextInput-CzIbLsyF.cjs");require("../../Dropzone/Dropzone.cjs.js");;/* empty css */require("../../../fr-D4QyQkl7.cjs");require("../../../DefaultButton-Dmnj4YiY.cjs");const l=require("../../../SearchInput-RQ8PErJq.cjs");require("../../lists/FileList/FileListItem.cjs.js");require("../../feedback/Alert/Alert.cjs.js");const d=require("../../../IconButton-DoeRjo0e.cjs"),r=require("../../../createSvgIcon-eNQw4DMM.cjs"),p=r.createSvgIcon(e.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility"),q=r.createSvgIcon(e.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff"),I=s=>{const[n,o]=u.useState(!1),i=()=>o(t=>!t),c=t=>{t.preventDefault()};return e.jsx(a.TextInput,{...s,variant:"outlined",label:s.label,type:n?"text":"password",InputProps:{endAdornment:e.jsx(l.InputAdornment,{position:"end",children:e.jsx(d.IconButton,{"aria-label":"toggle password visibility",onClick:i,onMouseDown:c,edge:"end",children:n?e.jsx(q,{}):e.jsx(p,{})})})}})};module.exports=I;
1
+ "use strict";const e=require("react/jsx-runtime"),u=require("react"),a=require("../../../TextInput-CzIbLsyF.cjs");require("../../Dropzone/Dropzone.cjs.js");require("../../../fr-D4QyQkl7.cjs");require("../../../DefaultButton-Dmnj4YiY.cjs");const l=require("../../../SearchInput-RQ8PErJq.cjs");require("../../lists/FileList/FileListItem.cjs.js");require("../../feedback/Alert/Alert.cjs.js");const d=require("../../../IconButton-DoeRjo0e.cjs"),r=require("../../../createSvgIcon-eNQw4DMM.cjs"),p=r.createSvgIcon(e.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility"),I=r.createSvgIcon(e.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff"),q=s=>{const[n,o]=u.useState(!1),i=()=>o(t=>!t),c=t=>{t.preventDefault()};return e.jsx(a.TextInput,{...s,variant:"outlined",label:s.label,type:n?"text":"password",InputProps:{endAdornment:e.jsx(l.InputAdornment,{position:"end",children:e.jsx(d.IconButton,{"aria-label":"toggle password visibility",onClick:i,onMouseDown:c,edge:"end",children:n?e.jsx(I,{}):e.jsx(p,{})})})}})};module.exports=q;
@@ -2,38 +2,37 @@ import { jsx as o } from "react/jsx-runtime";
2
2
  import { useState as l } from "react";
3
3
  import { T as c } from "../../../TextInput-CApOq4O9.js";
4
4
  import "../../Dropzone/Dropzone.es.js";
5
- /* empty css */
6
5
  import "../../../fr-D1ea57Ie.js";
7
6
  import "../../../DefaultButton-8hBSwYkf.js";
8
7
  import { I as p } from "../../../SearchInput-CtPUde8G.js";
9
8
  import "../../lists/FileList/FileListItem.es.js";
10
9
  import "../../feedback/Alert/Alert.es.js";
11
- import { I as m } from "../../../IconButton-BEHIWcEd.js";
10
+ import { I as d } from "../../../IconButton-BEHIWcEd.js";
12
11
  import { c as r } from "../../../createSvgIcon-T1h5CEgM.js";
13
- const d = r(/* @__PURE__ */ o("path", {
12
+ const m = r(/* @__PURE__ */ o("path", {
14
13
  d: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"
15
14
  }), "Visibility"), f = r(/* @__PURE__ */ o("path", {
16
15
  d: "M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"
17
- }), "VisibilityOff"), S = (i) => {
18
- const [s, e] = l(!1), n = () => e((t) => !t), a = (t) => {
16
+ }), "VisibilityOff"), x = (s) => {
17
+ const [i, e] = l(!1), n = () => e((t) => !t), a = (t) => {
19
18
  t.preventDefault();
20
19
  };
21
20
  return /* @__PURE__ */ o(
22
21
  c,
23
22
  {
24
- ...i,
23
+ ...s,
25
24
  variant: "outlined",
26
- label: i.label,
27
- type: s ? "text" : "password",
25
+ label: s.label,
26
+ type: i ? "text" : "password",
28
27
  InputProps: {
29
28
  endAdornment: /* @__PURE__ */ o(p, { position: "end", children: /* @__PURE__ */ o(
30
- m,
29
+ d,
31
30
  {
32
31
  "aria-label": "toggle password visibility",
33
32
  onClick: n,
34
33
  onMouseDown: a,
35
34
  edge: "end",
36
- children: s ? /* @__PURE__ */ o(f, {}) : /* @__PURE__ */ o(d, {})
35
+ children: i ? /* @__PURE__ */ o(f, {}) : /* @__PURE__ */ o(m, {})
37
36
  }
38
37
  ) })
39
38
  }
@@ -41,5 +40,5 @@ const d = r(/* @__PURE__ */ o("path", {
41
40
  );
42
41
  };
43
42
  export {
44
- S as default
43
+ x as default
45
44
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgi-learning-hub/ui",
3
- "version": "0.0.1-dev.1712580863",
3
+ "version": "0.0.1-dev.1712582478",
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",