@1d1s/design-system 0.2.14 → 0.2.15
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.es.js +4 -4
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -7162,7 +7162,7 @@ function Wi({
|
|
|
7162
7162
|
caption: "relative flex h-9 items-center justify-center",
|
|
7163
7163
|
caption_label: "text-base font-bold text-gray-800",
|
|
7164
7164
|
nav: "absolute inset-x-0 top-1/2 flex -translate-y-1/2 items-center justify-between px-1",
|
|
7165
|
-
nav_button: "inline-flex h-8 w-8 items-center justify-center rounded-2 border border-gray-300 bg-white p-0 text-gray-700 transition-colors hover:bg-gray-100 hover:text-gray-900 disabled:opacity-40",
|
|
7165
|
+
nav_button: "inline-flex h-8 w-8 items-center justify-center rounded-2 border border-gray-300 bg-white p-0 text-gray-700 transition-colors hover:bg-gray-100 hover:text-gray-900 hover:cursor-pointer disabled:opacity-40",
|
|
7166
7166
|
nav_button_previous: "",
|
|
7167
7167
|
nav_button_next: "",
|
|
7168
7168
|
table: "w-full border-collapse",
|
|
@@ -7174,7 +7174,7 @@ function Wi({
|
|
|
7174
7174
|
"focus-within:relative focus-within:z-20",
|
|
7175
7175
|
o ? "[&:has(.day-range-middle)]:bg-main-200/70 [&:has(.day-range-start)]:bg-main-200/70 [&:has(.day-range-end)]:bg-main-200/70 [&:has(.day-range-start)]:rounded-l-2 [&:has(.day-range-end)]:rounded-r-2" : "[&:has([aria-selected])]:rounded-2"
|
|
7176
7176
|
),
|
|
7177
|
-
day: "inline-flex h-9 w-9 items-center justify-center rounded-2 border border-transparent p-0 text-sm font-medium text-gray-700 transition-colors aria-selected:opacity-100 hover:bg-gray-100 hover:text-gray-900 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-main-300/70",
|
|
7177
|
+
day: "inline-flex h-9 w-9 items-center justify-center rounded-2 border border-transparent p-0 text-sm font-medium text-gray-700 transition-colors aria-selected:opacity-100 hover:bg-gray-100 hover:text-gray-900 hover:cursor-pointer focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-main-300/70",
|
|
7178
7178
|
day_range_start: "day-range-start aria-selected:rounded-2 aria-selected:bg-main-800 aria-selected:text-white",
|
|
7179
7179
|
day_range_end: "day-range-end aria-selected:rounded-2 aria-selected:bg-main-800 aria-selected:text-white",
|
|
7180
7180
|
day_selected: "bg-main-800 text-white hover:bg-main-700 hover:text-white focus:bg-main-700 focus:text-white",
|
|
@@ -7413,7 +7413,7 @@ function ty({
|
|
|
7413
7413
|
"flex flex-col items-center justify-center",
|
|
7414
7414
|
!x && "gap-4",
|
|
7415
7415
|
y ? "border-main-800 bg-main-200 text-main-800" : "border-gray-300 bg-white text-gray-500",
|
|
7416
|
-
!u && (y ? "hover:bg-main-300" : "hover:bg-gray-100"),
|
|
7416
|
+
!u && "hover:cursor-pointer" && (y ? "hover:bg-main-300" : "hover:bg-gray-100"),
|
|
7417
7417
|
u && "cursor-not-allowed opacity-60",
|
|
7418
7418
|
d
|
|
7419
7419
|
),
|
|
@@ -12158,7 +12158,7 @@ function Ay({
|
|
|
12158
12158
|
disabled: o,
|
|
12159
12159
|
onClick: () => y(N),
|
|
12160
12160
|
className: P(
|
|
12161
|
-
"inline-flex h-8 w-8 items-center justify-center rounded-2 text-gray-600 transition-colors",
|
|
12161
|
+
"inline-flex h-8 w-8 items-center justify-center rounded-2 text-gray-600 transition-colors hover:cursor-pointer",
|
|
12162
12162
|
!o && "hover:bg-gray-100 hover:text-gray-700",
|
|
12163
12163
|
o && "cursor-not-allowed text-gray-400"
|
|
12164
12164
|
),
|