@gobolt/genesis 0.2.3 → 0.2.4

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";const t=require("react/jsx-runtime"),o=require("./styles.cjs"),n=require("../Typography/Typography.cjs"),u=({size:r=64,shape:a="circle",imageUrl:s,altText:e,children:i,backgroundColor:c="#00282B"})=>typeof i=="string"?t.jsx(o.Avatar,{"data-testid":"avatar",shape:a,size:r,src:s,alt:e,style:{backgroundColor:c},children:t.jsx(n,{variant:"body2",color:"white",style:{fontWeight:600},children:i})}):t.jsx(o.Avatar,{"data-testid":"avatar",shape:a,size:r,src:s,alt:e});module.exports=u;
1
+ "use strict";const i=require("react/jsx-runtime"),n=require("./styles.cjs"),m=require("../../utils/user-util.cjs"),s=require("../Typography/Typography.cjs"),o=a=>a.includes("[")&&a.includes("]")?a.split("]")[1].trim():a,y=({size:a=48,shape:l="circle",children:c,backgroundColor:r="#00282B",user:t=null})=>{if(console.log("Avatar",t),!t)return i.jsx(n.Avatar,{"data-testid":"avatar",shape:l,size:a,alt:"Default Avatar",style:{backgroundColor:r}});const e=`${o(t.first_name)} ${t.last_name}`;if(t&&!(t!=null&&t.image_url)){const v={first_name:o(t.first_name),last_name:t.last_name},d=m.createInitials(v);return i.jsx(n.Avatar,{"data-testid":"avatar",shape:l,size:a,alt:e,style:{backgroundColor:r},children:i.jsx(s,{variant:"body2",color:"white",style:{fontWeight:600},children:d})})}return typeof c=="string"?i.jsx(n.Avatar,{"data-testid":"avatar",shape:l,size:a,src:t==null?void 0:t.image_url,alt:e,style:{backgroundColor:r},children:i.jsx(s,{variant:"body2",color:"white",style:{fontWeight:600},children:c})}):i.jsx(n.Avatar,{"data-testid":"avatar",shape:l,size:a,src:t==null?void 0:t.image_url,alt:e})};module.exports=y;
@@ -1,12 +1,16 @@
1
1
  import * as React from "react";
2
+ export type GoBoltUser = {
3
+ first_name: string;
4
+ last_name: string;
5
+ image_url?: string;
6
+ };
2
7
  export interface AvatarProps {
3
8
  size?: number;
4
9
  icon?: React.ReactNode;
5
10
  shape?: "circle" | "square";
6
- imageUrl?: string;
7
- altText?: string;
8
11
  children?: string;
9
12
  backgroundColor?: string;
13
+ user?: GoBoltUser;
10
14
  }
11
- declare const Avatar: ({ size, shape, imageUrl, altText, children, backgroundColor, }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
15
+ declare const Avatar: ({ size, shape, children, backgroundColor, user, }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
12
16
  export default Avatar;
@@ -1,34 +1,65 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { Avatar as e } from "./styles.js";
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { Avatar as n } from "./styles.js";
3
+ import { createInitials as v } from "../../utils/user-util.js";
3
4
  import c from "../Typography/Typography.js";
4
- const v = ({
5
- size: r = 64,
6
- shape: a = "circle",
7
- imageUrl: o,
8
- altText: i,
9
- children: s,
10
- backgroundColor: f = "#00282B"
11
- }) => typeof s == "string" ? /* @__PURE__ */ t(
12
- e,
13
- {
14
- "data-testid": "avatar",
15
- shape: a,
16
- size: r,
17
- src: o,
18
- alt: i,
19
- style: { backgroundColor: f },
20
- children: /* @__PURE__ */ t(c, { variant: "body2", color: "white", style: { fontWeight: 600 }, children: s })
5
+ const e = (a) => a.includes("[") && a.includes("]") ? a.split("]")[1].trim() : a, s = ({
6
+ size: a = 48,
7
+ shape: l = "circle",
8
+ children: m,
9
+ backgroundColor: r = "#00282B",
10
+ user: t = null
11
+ }) => {
12
+ if (console.log("Avatar", t), !t)
13
+ return /* @__PURE__ */ i(
14
+ n,
15
+ {
16
+ "data-testid": "avatar",
17
+ shape: l,
18
+ size: a,
19
+ alt: "Default Avatar",
20
+ style: { backgroundColor: r }
21
+ }
22
+ );
23
+ const o = `${e(t.first_name)} ${t.last_name}`;
24
+ if (t && !(t != null && t.image_url)) {
25
+ const f = {
26
+ first_name: e(t.first_name),
27
+ last_name: t.last_name
28
+ }, d = v(f);
29
+ return /* @__PURE__ */ i(
30
+ n,
31
+ {
32
+ "data-testid": "avatar",
33
+ shape: l,
34
+ size: a,
35
+ alt: o,
36
+ style: { backgroundColor: r },
37
+ children: /* @__PURE__ */ i(c, { variant: "body2", color: "white", style: { fontWeight: 600 }, children: d })
38
+ }
39
+ );
21
40
  }
22
- ) : /* @__PURE__ */ t(
23
- e,
24
- {
25
- "data-testid": "avatar",
26
- shape: a,
27
- size: r,
28
- src: o,
29
- alt: i
30
- }
31
- );
41
+ return typeof m == "string" ? /* @__PURE__ */ i(
42
+ n,
43
+ {
44
+ "data-testid": "avatar",
45
+ shape: l,
46
+ size: a,
47
+ src: t == null ? void 0 : t.image_url,
48
+ alt: o,
49
+ style: { backgroundColor: r },
50
+ children: /* @__PURE__ */ i(c, { variant: "body2", color: "white", style: { fontWeight: 600 }, children: m })
51
+ }
52
+ ) : /* @__PURE__ */ i(
53
+ n,
54
+ {
55
+ "data-testid": "avatar",
56
+ shape: l,
57
+ size: a,
58
+ src: t == null ? void 0 : t.image_url,
59
+ alt: o
60
+ }
61
+ );
62
+ };
32
63
  export {
33
- v as default
64
+ s as default
34
65
  };
@@ -3,5 +3,7 @@ import { default as Avatar } from '../Avatar';
3
3
  declare const meta: Meta<typeof Avatar>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Avatar>;
6
- export declare const ImageStory: Story;
7
- export declare const SmallerTextStory: Story;
6
+ export declare const UserWithImage: Story;
7
+ export declare const SimpleFirstNameUserNoImage: Story;
8
+ export declare const UserWithComplexNameNoImage: Story;
9
+ export declare const UndefinedUser: Story;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../../utils/styled.cjs"),e=(o,d)=>o==="small"?`${d.Size1}px ${d.Size1}px`:`${d.Size2}px ${d.Size2}px`,b=({colors:o,sizing:d,borderRadius:n,components:t},r,a,l,i)=>`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("../../utils/styled.cjs"),e=(o,d)=>o==="small"?`${d.Size1}px ${d.Size1}px`:`${d.Size2}px ${d.Size2}px`,b=({colors:o,sizing:d,borderRadius:n,components:t},r,a,i,l)=>`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -9,12 +9,12 @@
9
9
  letter-spacing: 0;
10
10
  font-weight: 400;
11
11
  border-width: 1px;
12
-
12
+ cursor: pointer;
13
13
  width: auto; !important;
14
14
  height: auto; !important;
15
15
 
16
- background-color:${i?o[r].hover.backgroundColor:o[r][a].backgroundColor};
17
- padding: ${e(l,d)};
16
+ background-color:${l?o[r].hover.backgroundColor:o[r][a].backgroundColor};
17
+ padding: ${e(i,d)};
18
18
 
19
19
  box-shadow: ${r==="utility"?"0px 1px 2px 0px #00000026":"none"};
20
20
 
@@ -1,5 +1,5 @@
1
1
  import { styled as u } from "../../utils/styled.js";
2
- const b = (o, d) => o === "small" ? `${d.Size1}px ${d.Size1}px` : `${d.Size2}px ${d.Size2}px`, c = ({ colors: o, sizing: d, borderRadius: n, components: a }, r, i, l, t) => `
2
+ const b = (o, d) => o === "small" ? `${d.Size1}px ${d.Size1}px` : `${d.Size2}px ${d.Size2}px`, c = ({ colors: o, sizing: d, borderRadius: n, components: a }, r, i, t, l) => `
3
3
  display: flex;
4
4
  align-items: center;
5
5
  justify-content: center;
@@ -10,12 +10,12 @@ const b = (o, d) => o === "small" ? `${d.Size1}px ${d.Size1}px` : `${d.Size2}px
10
10
  letter-spacing: 0;
11
11
  font-weight: 400;
12
12
  border-width: 1px;
13
-
13
+ cursor: pointer;
14
14
  width: auto; !important;
15
15
  height: auto; !important;
16
16
 
17
- background-color:${t ? o[r].hover.backgroundColor : o[r][i].backgroundColor};
18
- padding: ${b(l, d)};
17
+ background-color:${l ? o[r].hover.backgroundColor : o[r][i].backgroundColor};
18
+ padding: ${b(t, d)};
19
19
 
20
20
  box-shadow: ${r === "utility" ? "0px 1px 2px 0px #00000026" : "none"};
21
21
 
@@ -1,7 +1,7 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("../../utils/styled.cjs"),e=require("../../node_modules/antd/es/button/button.cjs"),i=(r,l,d,a)=>a&&(r==="normal"||r==="large")?`${d.Size2}px ${d.Size2}px`:a&&r==="small"?`${d.Size1}px ${d.Size1}px`:l==="utility"&&r==="small"?`${d.Size1_5}px ${d.Size2}px`:l==="utility"&&(r==="normal"||r==="large")?`${d.Size3}px ${d.Size2_5}px`:r==="small"?`${d.Size1_5}px ${d.Size4}px`:r==="normal"||r==="large"?`${d.Size2_5}px ${d.Size6}px`:`${d.Size2}px ${d.Size2}px`,c=({colors:r,sizing:l,borderRadius:d,components:a},o,n,t,u)=>(r[o][n].backgroundColor,`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("../../utils/styled.cjs"),e=require("../../node_modules/antd/es/button/button.cjs"),i=(r,l,d,n)=>n&&(r==="normal"||r==="large")?`${d.Size2}px ${d.Size2}px`:n&&r==="small"?`${d.Size1}px ${d.Size1}px`:l==="utility"&&r==="small"?`${d.Size1_5}px ${d.Size2}px`:l==="utility"&&(r==="normal"||r==="large")?`${d.Size2_5}px ${d.Size3}px`:r==="small"?`${d.Size1_5}px ${d.Size4}px`:r==="normal"||r==="large"?`${d.Size2_5}px ${d.Size6}px`:`${d.Size2}px ${d.Size2}px`,c=r=>r==="normal"||r==="large"?"40px":r==="small"?"32px":"40px",x=({colors:r,sizing:l,borderRadius:d,components:n},o,a,t,u)=>(r[o][a].backgroundColor,`
2
2
  &.ant-btn {
3
3
 
4
- color: ${r[o][n].color};
4
+ color: ${r[o][a].color};
5
5
  font-size: ${l.Size4}px;
6
6
  line-height: ${l.Size6}px;
7
7
  letter-spacing: 0;
@@ -10,17 +10,17 @@
10
10
  line-height: 1 !important;
11
11
 
12
12
  width: auto; !important;
13
- height: auto; !important;
13
+ height: ${c(t)}; !important;
14
14
 
15
- background-color: ${r[o][n].backgroundColor};
15
+ background-color: ${r[o][a].backgroundColor};
16
16
  padding: ${i(t,o,l,u)};
17
17
 
18
18
  box-shadow: ${o==="utility"?"0px 1px 2px 0px #00000026":"none"};
19
19
 
20
20
  border-radius: ${d.BorderRadiusMd}px;
21
- gap: ${a.button.gap}px;
21
+ gap: ${n.button.gap}px;
22
22
  border-style: solid;
23
- border-color: ${r[o][n].borderColor};
23
+ border-color: ${r[o][a].borderColor};
24
24
 
25
25
  transition: all 0.2s ease-in-out;
26
26
 
@@ -55,12 +55,12 @@
55
55
 
56
56
  }
57
57
 
58
- `),x=(r,l,d,a,o)=>`
58
+ `),f=(r,l,d,n,o)=>`
59
59
  &.ant-btn {
60
60
  font-family: 'Inter', sans-serif;
61
61
 
62
- ${c(r,l,d,o,a)}
62
+ ${x(r,l,d,o,n)}
63
63
  }
64
- `,f=b.styled(e)`
65
- ${({theme:r,$themeType:l,$state:d,children:a,$isIconButton:o,size:n})=>x(r,l,d,o,n)}
66
- `;exports.Button=f;
64
+ `,p=b.styled(e)`
65
+ ${({theme:r,$themeType:l,$state:d,children:n,$isIconButton:o,size:a})=>f(r,l,d,o,a)}
66
+ `;exports.Button=p;
@@ -1,26 +1,26 @@
1
1
  import { styled as b } from "../../utils/styled.js";
2
- import i from "../../node_modules/antd/es/button/button.js";
3
- const x = (r, a, d, l) => l && (r === "normal" || r === "large") ? `${d.Size2}px ${d.Size2}px` : l && r === "small" ? `${d.Size1}px ${d.Size1}px` : a === "utility" && r === "small" ? `${d.Size1_5}px ${d.Size2}px` : a === "utility" && (r === "normal" || r === "large") ? `${d.Size3}px ${d.Size2_5}px` : r === "small" ? `${d.Size1_5}px ${d.Size4}px` : r === "normal" || r === "large" ? `${d.Size2_5}px ${d.Size6}px` : `${d.Size2}px ${d.Size2}px`, c = ({ colors: r, sizing: a, borderRadius: d, components: l }, o, n, t, u) => (r[o][n].backgroundColor, `
2
+ import x from "../../node_modules/antd/es/button/button.js";
3
+ const i = (r, l, d, a) => a && (r === "normal" || r === "large") ? `${d.Size2}px ${d.Size2}px` : a && r === "small" ? `${d.Size1}px ${d.Size1}px` : l === "utility" && r === "small" ? `${d.Size1_5}px ${d.Size2}px` : l === "utility" && (r === "normal" || r === "large") ? `${d.Size2_5}px ${d.Size3}px` : r === "small" ? `${d.Size1_5}px ${d.Size4}px` : r === "normal" || r === "large" ? `${d.Size2_5}px ${d.Size6}px` : `${d.Size2}px ${d.Size2}px`, c = (r) => r === "normal" || r === "large" ? "40px" : r === "small" ? "32px" : "40px", e = ({ colors: r, sizing: l, borderRadius: d, components: a }, o, n, t, u) => (r[o][n].backgroundColor, `
4
4
  &.ant-btn {
5
5
 
6
6
  color: ${r[o][n].color};
7
- font-size: ${a.Size4}px;
8
- line-height: ${a.Size6}px;
7
+ font-size: ${l.Size4}px;
8
+ line-height: ${l.Size6}px;
9
9
  letter-spacing: 0;
10
10
  font-weight: 400;
11
11
  border-width: 1px;
12
12
  line-height: 1 !important;
13
13
 
14
14
  width: auto; !important;
15
- height: auto; !important;
15
+ height: ${c(t)}; !important;
16
16
 
17
17
  background-color: ${r[o][n].backgroundColor};
18
- padding: ${x(t, o, a, u)};
18
+ padding: ${i(t, o, l, u)};
19
19
 
20
20
  box-shadow: ${o === "utility" ? "0px 1px 2px 0px #00000026" : "none"};
21
21
 
22
22
  border-radius: ${d.BorderRadiusMd}px;
23
- gap: ${l.button.gap}px;
23
+ gap: ${a.button.gap}px;
24
24
  border-style: solid;
25
25
  border-color: ${r[o][n].borderColor};
26
26
 
@@ -57,21 +57,21 @@ const x = (r, a, d, l) => l && (r === "normal" || r === "large") ? `${d.Size2}px
57
57
 
58
58
  }
59
59
 
60
- `), e = (r, a, d, l, o) => `
60
+ `), f = (r, l, d, a, o) => `
61
61
  &.ant-btn {
62
62
  font-family: 'Inter', sans-serif;
63
63
 
64
- ${c(r, a, d, o, l)}
64
+ ${e(r, l, d, o, a)}
65
65
  }
66
- `, $ = b(i)`
67
- ${({ theme: r, $themeType: a, $state: d, children: l, $isIconButton: o, size: n }) => e(
66
+ `, S = b(x)`
67
+ ${({ theme: r, $themeType: l, $state: d, children: a, $isIconButton: o, size: n }) => f(
68
68
  r,
69
- a,
69
+ l,
70
70
  d,
71
71
  o,
72
72
  n
73
73
  )}
74
74
  `;
75
75
  export {
76
- $ as Button
76
+ S as Button
77
77
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),o=require("../../../constants/index.cjs"),n=require("./styles.cjs"),s=require("../../Typography/Typography.cjs"),c=({action:{onClick:e,label:t}})=>r.jsx(n.RowActionButton,{onClick:e,style:{cursor:"pointer",display:"100%",alignItems:"center",background:"#fff",borderRadius:4,padding:8,boxShadow:"0px 1px 2px 0px #00000026",width:"100%",border:"1px solid #cbcbcb"},children:r.jsx(s,{variant:o.TYPOGRAPHY_VARIANT.label1,isFullWidth:!0,children:t})}),u=({actions:e})=>e?r.jsx(n.ActionsContainer,{children:e.map((t,i)=>r.jsx(c,{action:t},i))}):null;exports.RowActions=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),r=require("./styles.cjs"),i=require("../../Button/UtilityButton.cjs"),s=({action:{onClick:t,label:e}})=>n.jsx(i,{onClick:t,style:{boxShadow:"0px 1px 2px 0px #00000026",width:"100%"},children:e}),c=({actions:t})=>t?n.jsx(r.ActionsContainer,{children:t.map((e,o)=>n.jsx(s,{action:e},o))}):null;exports.RowActions=c;
@@ -1,32 +1,17 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { TYPOGRAPHY_VARIANT as n } from "../../../constants/index.js";
3
- import { ActionsContainer as e, RowActionButton as p } from "./styles.js";
4
- import c from "../../Typography/Typography.js";
5
- const d = ({ action: { onClick: r, label: t } }) => /* @__PURE__ */ o(
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { ActionsContainer as i } from "./styles.js";
3
+ import p from "../../Button/UtilityButton.js";
4
+ const e = ({ action: { onClick: t, label: o } }) => /* @__PURE__ */ r(
6
5
  p,
7
6
  {
8
- onClick: r,
7
+ onClick: t,
9
8
  style: {
10
- cursor: "pointer",
11
- display: "100%",
12
- alignItems: "center",
13
- background: "#fff",
14
- borderRadius: 4,
15
- padding: 8,
16
9
  boxShadow: "0px 1px 2px 0px #00000026",
17
- width: "100%",
18
- border: "1px solid #cbcbcb"
10
+ width: "100%"
19
11
  },
20
- children: /* @__PURE__ */ o(
21
- c,
22
- {
23
- variant: n.label1,
24
- isFullWidth: !0,
25
- children: t
26
- }
27
- )
12
+ children: o
28
13
  }
29
- ), u = ({ actions: r }) => r ? /* @__PURE__ */ o(e, { children: r.map((t, i) => /* @__PURE__ */ o(d, { action: t }, i)) }) : null;
14
+ ), l = ({ actions: t }) => t ? /* @__PURE__ */ r(i, { children: t.map((o, n) => /* @__PURE__ */ r(e, { action: o }, n)) }) : null;
30
15
  export {
31
- u as RowActions
16
+ l as RowActions
32
17
  };
@@ -1,27 +1,7 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../utils/styled.cjs"),e=t.styled.div`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../utils/styled.cjs"),t=e.styled.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: 16px;
5
5
  width: 100%;
6
6
  padding: 0px 26px;
7
- `,n=t.styled.button`
8
- cursor: pointer;
9
- display: flex;
10
- align-items: center;
11
- text-align: center;
12
- background: #fff;
13
- border: 1px solid #cbcbcb !important;
14
- border-radius: 4px;
15
- padding: 8px;
16
- box-shadow: ${({theme:o})=>o.shadows.general[1]};
17
- width: 100%;
18
- border: none;
19
-
20
- &:hover {
21
- background: #fafafa;
22
- }
23
-
24
- &:active {
25
- background: #f0f0f0;
26
- }
27
- `;exports.ActionsContainer=e;exports.RowActionButton=n;
7
+ `;exports.ActionsContainer=t;
@@ -1,2 +1 @@
1
1
  export declare const ActionsContainer: any;
2
- export declare const RowActionButton: any;
@@ -1,32 +1,11 @@
1
- import { styled as o } from "../../../utils/styled.js";
2
- const r = o.div`
1
+ import { styled as i } from "../../../utils/styled.js";
2
+ const p = i.div`
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  gap: 16px;
6
6
  width: 100%;
7
7
  padding: 0px 26px;
8
- `, e = o.button`
9
- cursor: pointer;
10
- display: flex;
11
- align-items: center;
12
- text-align: center;
13
- background: #fff;
14
- border: 1px solid #cbcbcb !important;
15
- border-radius: 4px;
16
- padding: 8px;
17
- box-shadow: ${({ theme: n }) => n.shadows.general[1]};
18
- width: 100%;
19
- border: none;
20
-
21
- &:hover {
22
- background: #fafafa;
23
- }
24
-
25
- &:active {
26
- background: #f0f0f0;
27
- }
28
8
  `;
29
9
  export {
30
- r as ActionsContainer,
31
- e as RowActionButton
10
+ p as ActionsContainer
32
11
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=t=>{var n,c;if(!(t!=null&&t.first_name)||!(t!=null&&t.last_name))return"";const a=(n=t==null?void 0:t.first_name)==null?void 0:n.trim(),i=(c=t==null?void 0:t.last_name)==null?void 0:c.trim(),e=a.replace(/[^a-zA-Z]/g,""),l=i.replace(/[^a-zA-Z]/g,"");return a&&i?`${e.charAt(0).toUpperCase()}${l.charAt(0).toUpperCase()}`:""};exports.createInitials=o;
@@ -0,0 +1,2 @@
1
+ import { GoBoltUser } from '../components/Avatar/Avatar';
2
+ export declare const createInitials: (user: GoBoltUser) => string;
@@ -0,0 +1,10 @@
1
+ const p = (t) => {
2
+ var n, c;
3
+ if (!(t != null && t.first_name) || !(t != null && t.last_name))
4
+ return "";
5
+ const a = (n = t == null ? void 0 : t.first_name) == null ? void 0 : n.trim(), i = (c = t == null ? void 0 : t.last_name) == null ? void 0 : c.trim(), m = a.replace(/[^a-zA-Z]/g, ""), o = i.replace(/[^a-zA-Z]/g, "");
6
+ return a && i ? `${m.charAt(0).toUpperCase()}${o.charAt(0).toUpperCase()}` : "";
7
+ };
8
+ export {
9
+ p as createInitials
10
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gobolt/genesis",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "genesis design system",
5
5
  "author": "gobolt",
6
6
  "license": "MIT",