@cgi-learning-hub/ui 0.0.1-dev.1709551785 → 0.0.1-dev.1709556574

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
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("react/jsx-runtime"),e=require("../../../TextInput-BFguMDSu.cjs"),r={title:"Components/Inputs/TextInput",component:e.TextInput,argTypes:{label:{control:"text",description:"input label",table:{type:{summary:"text"}}},disabled:{control:"boolean",description:"input disabled state",table:{defaultValue:{summary:!1},type:{summary:"boolean"}}},variant:{control:"select",description:"input rendering style",options:["standard","outlined","filled"],table:{defaultValue:{summary:"standard"},type:{summary:"string"}}},type:{control:"select",description:"input type",options:["text","number","email","password"],table:{defaultValue:{summary:"text"},type:{summary:"string"}}}}},t=i=>d.jsx(e.TextInput,{...i}),a=t.bind({});a.args={label:"Default input",disabled:!1};const l=t.bind({});l.args={label:"Standard input",disabled:!1,variant:"standard"};const n=t.bind({});n.args={label:"Outlined input",disabled:!1,variant:"outlined"};const s=t.bind({});s.args={label:"Filled input",disabled:!1,variant:"filled"};exports.Default=a;exports.Filled=s;exports.Outlined=n;exports.Standard=l;exports.default=r;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("react/jsx-runtime"),e=require("../../../TextInput-BFguMDSu.cjs"),r={title:"Components/Inputs/TextInput",component:e.TextInput,argTypes:{variant:{control:"select",description:"input rendering style",options:["standard","outlined","filled"],table:{defaultValue:{summary:"standard"},type:{summary:"string"}}}}},t=s=>d.jsx(e.TextInput,{...s}),n=t.bind({});n.args={label:"Default input"};const a=t.bind({});a.args={label:"Standard input",variant:"standard"};const l=t.bind({});l.args={label:"Outlined input",variant:"outlined"};const i=t.bind({});i.args={label:"Filled input",disabled:!1,variant:"filled"};exports.Default=n;exports.Filled=i;exports.Outlined=l;exports.Standard=a;exports.default=r;
@@ -1,24 +1,9 @@
1
- import { jsx as l } from "react/jsx-runtime";
2
- import { T as e } from "../../../TextInput-DsSFDlNR.js";
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { T as n } from "../../../TextInput-DsSFDlNR.js";
3
3
  const u = {
4
4
  title: "Components/Inputs/TextInput",
5
- component: e,
5
+ component: n,
6
6
  argTypes: {
7
- label: {
8
- control: "text",
9
- description: "input label",
10
- table: {
11
- type: { summary: "text" }
12
- }
13
- },
14
- disabled: {
15
- control: "boolean",
16
- description: "input disabled state",
17
- table: {
18
- defaultValue: { summary: !1 },
19
- type: { summary: "boolean" }
20
- }
21
- },
22
7
  variant: {
23
8
  control: "select",
24
9
  description: "input rendering style",
@@ -27,32 +12,20 @@ const u = {
27
12
  defaultValue: { summary: "standard" },
28
13
  type: { summary: "string" }
29
14
  }
30
- },
31
- type: {
32
- control: "select",
33
- description: "input type",
34
- options: ["text", "number", "email", "password"],
35
- table: {
36
- defaultValue: { summary: "text" },
37
- type: { summary: "string" }
38
- }
39
15
  }
40
16
  }
41
- }, t = (a) => /* @__PURE__ */ l(e, { ...a }), n = t.bind({});
42
- n.args = {
43
- label: "Default input",
44
- disabled: !1
17
+ }, t = (a) => /* @__PURE__ */ e(n, { ...a }), l = t.bind({});
18
+ l.args = {
19
+ label: "Default input"
45
20
  };
46
- const s = t.bind({});
47
- s.args = {
21
+ const i = t.bind({});
22
+ i.args = {
48
23
  label: "Standard input",
49
- disabled: !1,
50
24
  variant: "standard"
51
25
  };
52
- const i = t.bind({});
53
- i.args = {
26
+ const s = t.bind({});
27
+ s.args = {
54
28
  label: "Outlined input",
55
- disabled: !1,
56
29
  variant: "outlined"
57
30
  };
58
31
  const d = t.bind({});
@@ -62,9 +35,9 @@ d.args = {
62
35
  variant: "filled"
63
36
  };
64
37
  export {
65
- n as Default,
38
+ l as Default,
66
39
  d as Filled,
67
- i as Outlined,
68
- s as Standard,
40
+ s as Outlined,
41
+ i as Standard,
69
42
  u as default
70
43
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgi-learning-hub/ui",
3
- "version": "0.0.1-dev.1709551785",
3
+ "version": "0.0.1-dev.1709556574",
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",