@rovula/ui 0.0.37 → 0.0.39
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/cjs/bundle.css +4 -0
- package/dist/cjs/bundle.js +1 -1
- package/dist/cjs/bundle.js.map +1 -1
- package/dist/components/Button/Button.styles.js +1 -1
- package/dist/components/Calendar/Calendar.js +1 -1
- package/dist/esm/bundle.css +4 -0
- package/dist/esm/bundle.js +1 -1
- package/dist/esm/bundle.js.map +1 -1
- package/dist/src/theme/global.css +5 -0
- package/package.json +1 -1
- package/src/components/Button/Button.styles.ts +1 -1
- package/src/components/Calendar/Calendar.tsx +2 -1
|
@@ -56,7 +56,7 @@ export const buttonVariants = cva([
|
|
|
56
56
|
},
|
|
57
57
|
size: {
|
|
58
58
|
sm: "px-md py-1 [&_svg]:size-[18px] typography-buttonMS rounded-sm gap-1",
|
|
59
|
-
md: "px-lg py-2 [&_svg]:size-5 typography-
|
|
59
|
+
md: "px-lg py-2 [&_svg]:size-5 typography-buttonMS rounded-md",
|
|
60
60
|
lg: "px-xl py-4 [&_svg]:size-6 typography-buttonL rounded-md",
|
|
61
61
|
},
|
|
62
62
|
variant: {
|
|
@@ -17,7 +17,7 @@ import { cn } from "@/utils/cn";
|
|
|
17
17
|
function Calendar(_a) {
|
|
18
18
|
var { className, classNames, showOutsideDays = true } = _a, props = __rest(_a, ["className", "classNames", "showOutsideDays"]);
|
|
19
19
|
const defaultClassNames = getDefaultClassNames();
|
|
20
|
-
return (_jsx(DayPicker, Object.assign({ showOutsideDays: showOutsideDays, captionLayout: "dropdown-years" }, props, { className: cn("bg-surface text-surface-foreground border-surface", className), classNames: Object.assign(Object.assign(Object.assign({}, defaultClassNames), { day_button: cn(defaultClassNames.day_button, "size-9
|
|
20
|
+
return (_jsx(DayPicker, Object.assign({ showOutsideDays: showOutsideDays, captionLayout: "dropdown-years" }, props, { className: cn("bg-surface text-surface-foreground border-surface", className), classNames: Object.assign(Object.assign(Object.assign({}, defaultClassNames), { day_button: cn(defaultClassNames.day_button, "size-9"), day: "typography-subtitile1 ", today: "text-bold text-surface-foreground [&_button]:rounded-full [&_button]:!border-primary [&_button]:!border [&_button]:!border-solid", selected: "bg-primary !text-primary-foreground rounded-full ", weekdays: "text-gray-400", month_caption: cn(defaultClassNames.month_caption, "h-[54px]"), outside: "text-gray-400", nav: cn(defaultClassNames.nav, "gap-6 absolute flex right-0"), chevron: "fill-primary", root: cn(defaultClassNames.root, "px-6 py-4"), caption_label: cn(defaultClassNames.caption_label, "gap-2 flex items-center"), months: "flex flex-col relative", disabled: "[&_button]:rounded-full [&_button]:!text-input-disable-text" }), classNames), styles: {
|
|
21
21
|
caption_label: {
|
|
22
22
|
zIndex: 1,
|
|
23
23
|
position: "relative",
|
package/dist/esm/bundle.css
CHANGED
|
@@ -5588,6 +5588,10 @@ body {
|
|
|
5588
5588
|
--tw-border-opacity: 1 !important;
|
|
5589
5589
|
border-color: color-mix(in srgb, var(--state-color-primary-default) calc(100% * var(--tw-border-opacity)), transparent) !important;
|
|
5590
5590
|
}
|
|
5591
|
+
.\[\&_button\]\:\!text-input-disable-text button{
|
|
5592
|
+
--tw-text-opacity: 1 !important;
|
|
5593
|
+
color: color-mix(in srgb, var(--input-color-disable-text) calc(100% * var(--tw-text-opacity)), transparent) !important;
|
|
5594
|
+
}
|
|
5591
5595
|
.\[\&_svg\]\:size-5 svg{
|
|
5592
5596
|
width: 1.25rem;
|
|
5593
5597
|
height: 1.25rem;
|