@beemafrica/ui 0.1.12 → 0.1.13

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beemafrica/ui",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "Shared Beem UI components built on shadcn/Radix",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -75,12 +75,12 @@ function Ticket({
75
75
  className={cn(
76
76
  container_background,
77
77
  border,
78
- "py-[14px] px-[16px] rounded-[12px] border shadow-sm flex flex-col gap-3 cursor-pointer"
78
+ "flex cursor-pointer flex-col gap-3 rounded-[12px] border px-4 py-3.5 shadow-sm"
79
79
  )}
80
80
  >
81
81
  <button type="button" onClick={click} className="w-full text-left">
82
- <div className="flex flex-row items-center justify-between">
83
- <div className="flex flex-row gap-1.5 items-center">
82
+ <div className="flex flex-col gap-1 sm:flex-row sm:items-center sm:justify-between">
83
+ <div className="flex flex-wrap items-center gap-1.5">
84
84
  <Avatar
85
85
  className={cn(
86
86
  avatar_background,
@@ -90,7 +90,7 @@ function Ticket({
90
90
  <AvatarFallback
91
91
  className={cn(
92
92
  avatar_background,
93
- "leading-1 flex size-full items-center justify-center text-[12px] text-white font-semibold"
93
+ "leading-1 flex size-full items-center justify-center text-[12px] font-semibold text-white"
94
94
  )}
95
95
  delayMs={600}
96
96
  >
@@ -103,16 +103,20 @@ function Ticket({
103
103
  className={cn(
104
104
  pill_background,
105
105
  pill_text_color,
106
- "py-[3px] px-[10px] rounded-[9999px] text-xs"
106
+ "rounded-[9999px] px-[10px] py-[3px] text-xs"
107
107
  )}
108
108
  >
109
109
  {ticket_type}
110
110
  </p>
111
- <small className="text-[#6b7bbd]">view full email</small>
112
- <ExternalLink size="12px" className="text-[#6B7B8D]" />
111
+ <span className="flex items-center gap-1">
112
+ <small className="text-[#6b7bbd]">view full email</small>
113
+ <ExternalLink size="12px" className="text-[#6B7B8D]" />
114
+ </span>
113
115
  </div>
114
116
 
115
- {time && <p className="text-[#98A9B8] text-[11.5px]">{time} </p>}
117
+ {time && (
118
+ <p className="shrink-0 text-[11.5px] text-[#98A9B8]">{time}</p>
119
+ )}
116
120
  </div>
117
121
  </button>
118
122
 
@@ -123,18 +127,17 @@ function Ticket({
123
127
  <CollapsibleTrigger asChild>
124
128
  <Button
125
129
  variant="ghost"
126
- className="group w-full hover:bg-transparent hover:text-inherit data-[state=open]:bg-transparent justify-start -ml-4"
130
+ className="group -ml-4 w-full justify-start hover:bg-transparent hover:text-inherit data-[state=open]:bg-transparent"
127
131
  >
128
132
  <ChevronRightIcon className="group-data-[state=open]:rotate-90" />
129
133
  Product details
130
134
  </Button>
131
135
  </CollapsibleTrigger>
132
- <CollapsibleContent className="flex flex-col items-start gap-2 p-2.5 pt-0 text-sm max-h-[150px] overflow-y-auto scrollbar scrollbar-thin scrollbar-thumb-rounded-full scrollbar-track-rounded-full">
136
+ <CollapsibleContent className="scrollbar scrollbar-thin scrollbar-thumb-rounded-full scrollbar-track-rounded-full flex max-h-[150px] flex-col items-start gap-2 overflow-y-auto p-2.5 pt-0 text-sm">
133
137
  {history.map((hs, index) => {
134
138
  return (
135
139
  // biome-ignore lint/suspicious/noArrayIndexKey: <explanation>
136
- <div key={index} className="">
137
- {" "}
140
+ <div key={index}>
138
141
  <div>{hs.label}</div>
139
142
  <div>{hs.value}</div>
140
143
  </div>