@deriv-com/trading-game-design-system 0.2.18 → 0.2.20
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 +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -786,7 +786,7 @@ function Calendar(_a) {
|
|
|
786
786
|
range_middle: cn("rounded-none", defaultClassNames.range_middle),
|
|
787
787
|
range_end: cn("rounded-r-md bg-primary/10", defaultClassNames.range_end),
|
|
788
788
|
today: cn(
|
|
789
|
-
"rounded-
|
|
789
|
+
"rounded-xs border border-primary/40 text-primary data-[selected=true]:rounded-none",
|
|
790
790
|
defaultClassNames.today
|
|
791
791
|
),
|
|
792
792
|
outside: cn(
|
|
@@ -863,7 +863,7 @@ function CalendarDayButton(_a) {
|
|
|
863
863
|
"data-range-end": modifiers.range_end,
|
|
864
864
|
"data-range-middle": modifiers.range_middle,
|
|
865
865
|
className: cn(
|
|
866
|
-
"flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-body font-normal bg-transparent border-transparent shadow-none text-foreground hover:!bg-hover hover:text-foreground hover:no-underline hover:shadow-none group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50 data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-
|
|
866
|
+
"flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-body font-normal bg-transparent border-transparent shadow-none text-foreground hover:!bg-hover hover:text-foreground hover:no-underline hover:shadow-none group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50 data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-end=true]:bg-primary/10 data-[range-end=true]:border-2 data-[range-end=true]:border-primary data-[range-end=true]:text-primary data-[range-end=true]:font-bold data-[range-end=true]:hover:!bg-primary/10 data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-primary/10 data-[range-middle=true]:text-primary data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md data-[range-start=true]:bg-primary/10 data-[range-start=true]:border-2 data-[range-start=true]:border-primary data-[range-start=true]:text-primary data-[range-start=true]:font-bold data-[range-start=true]:hover:!bg-primary/10 data-[selected-single=true]:bg-primary/10 data-[selected-single=true]:border-2 data-[selected-single=true]:border-primary data-[selected-single=true]:text-primary data-[selected-single=true]:font-bold data-[selected-single=true]:hover:!bg-primary/10 [&>span]:text-xs [&>span]:opacity-70",
|
|
867
867
|
defaultClassNames.day,
|
|
868
868
|
className
|
|
869
869
|
)
|
|
@@ -4601,7 +4601,7 @@ function SelectItem(_a) {
|
|
|
4601
4601
|
__spreadProps(__spreadValues({
|
|
4602
4602
|
"data-slot": "select-item",
|
|
4603
4603
|
className: cn(
|
|
4604
|
-
"relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-hover focus:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
|
|
4604
|
+
"relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-hover focus:text-foreground data-[state=checked]:text-primary data-[state=checked]:font-medium data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
|
|
4605
4605
|
className
|
|
4606
4606
|
)
|
|
4607
4607
|
}, props), {
|
|
@@ -4611,7 +4611,7 @@ function SelectItem(_a) {
|
|
|
4611
4611
|
{
|
|
4612
4612
|
"data-slot": "select-item-indicator",
|
|
4613
4613
|
className: "absolute right-2 flex size-3.5 items-center justify-center",
|
|
4614
|
-
children: /* @__PURE__ */ jsx43(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx43(CheckIcon6, { className: "size-4" }) })
|
|
4614
|
+
children: /* @__PURE__ */ jsx43(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx43(CheckIcon6, { className: "size-4 text-primary" }) })
|
|
4615
4615
|
}
|
|
4616
4616
|
),
|
|
4617
4617
|
/* @__PURE__ */ jsx43(SelectPrimitive.ItemText, { children })
|
|
@@ -5639,7 +5639,7 @@ function Spinner(_a) {
|
|
|
5639
5639
|
__spreadValues({
|
|
5640
5640
|
role: "status",
|
|
5641
5641
|
"aria-label": "Loading",
|
|
5642
|
-
className: cn("size-4 animate-spin text-
|
|
5642
|
+
className: cn("size-4 animate-spin text-current", className)
|
|
5643
5643
|
}, props)
|
|
5644
5644
|
);
|
|
5645
5645
|
}
|