@trading-game/design-intelligence-layer 0.10.0 → 0.10.1
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/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -469,7 +469,7 @@ declare function Select({ ...props }: React$1.ComponentProps<typeof Select$1.Roo
|
|
|
469
469
|
declare function SelectGroup({ ...props }: React$1.ComponentProps<typeof Select$1.Group>): react_jsx_runtime.JSX.Element;
|
|
470
470
|
declare function SelectValue({ ...props }: React$1.ComponentProps<typeof Select$1.Value>): react_jsx_runtime.JSX.Element;
|
|
471
471
|
declare function SelectTrigger({ className, size, readOnly, children, ...props }: React$1.ComponentProps<typeof Select$1.Trigger> & {
|
|
472
|
-
size?: "sm" | "
|
|
472
|
+
size?: "sm" | "md" | "lg";
|
|
473
473
|
readOnly?: boolean;
|
|
474
474
|
}): react_jsx_runtime.JSX.Element;
|
|
475
475
|
declare function SelectContent({ className, children, position, align, ...props }: React$1.ComponentProps<typeof Select$1.Content>): react_jsx_runtime.JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -469,7 +469,7 @@ declare function Select({ ...props }: React$1.ComponentProps<typeof Select$1.Roo
|
|
|
469
469
|
declare function SelectGroup({ ...props }: React$1.ComponentProps<typeof Select$1.Group>): react_jsx_runtime.JSX.Element;
|
|
470
470
|
declare function SelectValue({ ...props }: React$1.ComponentProps<typeof Select$1.Value>): react_jsx_runtime.JSX.Element;
|
|
471
471
|
declare function SelectTrigger({ className, size, readOnly, children, ...props }: React$1.ComponentProps<typeof Select$1.Trigger> & {
|
|
472
|
-
size?: "sm" | "
|
|
472
|
+
size?: "sm" | "md" | "lg";
|
|
473
473
|
readOnly?: boolean;
|
|
474
474
|
}): react_jsx_runtime.JSX.Element;
|
|
475
475
|
declare function SelectContent({ className, children, position, align, ...props }: React$1.ComponentProps<typeof Select$1.Content>): react_jsx_runtime.JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -4692,7 +4692,7 @@ function SelectValue(_a) {
|
|
|
4692
4692
|
function SelectTrigger(_a) {
|
|
4693
4693
|
var _b = _a, {
|
|
4694
4694
|
className,
|
|
4695
|
-
size = "
|
|
4695
|
+
size = "md",
|
|
4696
4696
|
readOnly = false,
|
|
4697
4697
|
children
|
|
4698
4698
|
} = _b, props = __objRest(_b, [
|
|
@@ -4709,7 +4709,7 @@ function SelectTrigger(_a) {
|
|
|
4709
4709
|
"data-readonly": readOnly ? "" : void 0,
|
|
4710
4710
|
disabled: readOnly || props.disabled,
|
|
4711
4711
|
className: cn(
|
|
4712
|
-
"flex w-fit items-center justify-between gap-2 rounded-sm border border-input bg-prominent appearance-none
|
|
4712
|
+
"flex w-fit items-center justify-between gap-2 rounded-sm border border-input bg-prominent appearance-none whitespace-nowrap transition-[color,box-shadow] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[placeholder]:text-on-subtle data-[size=sm]:h-8 data-[size=sm]:px-3 data-[size=sm]:py-1 data-[size=sm]:text-xs data-[size=md]:h-10 data-[size=md]:px-3 data-[size=md]:py-1 data-[size=md]:text-sm data-[size=lg]:h-12 data-[size=lg]:px-4 data-[size=lg]:py-2 data-[size=lg]:text-base *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-on-subtle data-[readonly]:cursor-default data-[readonly]:opacity-100",
|
|
4713
4713
|
className
|
|
4714
4714
|
)
|
|
4715
4715
|
}, props), {
|
|
@@ -6255,7 +6255,7 @@ function TicketCard({
|
|
|
6255
6255
|
/* @__PURE__ */ jsxs27("div", { className: "relative flex min-w-0 flex-1 items-center gap-3 px-4 py-4 sm:gap-4 sm:px-5", children: [
|
|
6256
6256
|
icon && /* @__PURE__ */ jsx56("div", { className: "flex shrink-0 size-11 rounded-full border-2 border-primary items-center justify-center text-primary sm:size-12", children: icon }),
|
|
6257
6257
|
/* @__PURE__ */ jsxs27("div", { className: "flex min-w-0 flex-1 flex-col gap-0.5 overflow-hidden", children: [
|
|
6258
|
-
label && /* @__PURE__ */ jsx56("span", { className: "text-on-subtle
|
|
6258
|
+
label && /* @__PURE__ */ jsx56("span", { className: "text-on-subtle text-xs font-semibold", children: label }),
|
|
6259
6259
|
value && /* @__PURE__ */ jsx56("span", { className: "truncate text-lg font-bold text-on-prominent sm:text-xl", children: value })
|
|
6260
6260
|
] }),
|
|
6261
6261
|
/* @__PURE__ */ jsx56(
|
|
@@ -6309,7 +6309,7 @@ function TicketCard({
|
|
|
6309
6309
|
}
|
|
6310
6310
|
),
|
|
6311
6311
|
stubIcon != null ? stubIcon : /* @__PURE__ */ jsx56(ArrowRight2, { className: "relative size-5 shrink-0 text-on-prominent-static-inverse" }),
|
|
6312
|
-
stubLabel && /* @__PURE__ */ jsx56("span", { className: "max-w-full text-balance text-center text-xs font-bold
|
|
6312
|
+
stubLabel && /* @__PURE__ */ jsx56("span", { className: "max-w-full text-balance text-center text-xs font-bold leading-tight tracking-wide text-on-prominent-static-inverse sm:tracking-widest", children: stubLabel })
|
|
6313
6313
|
]
|
|
6314
6314
|
}
|
|
6315
6315
|
)
|