@rovula/ui 0.0.36 → 0.0.38

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.
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  export type TextProps = {
3
- variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitile1" | "subtitile2" | "subtitile3" | "subtitile4" | "subtitile5" | "subtitile6" | "body1" | "body2" | "body3" | "body4" | "small1" | "small2" | "small3" | "small4" | "small5" | "label1" | "label2" | "buttonL" | "buttonMS";
3
+ variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitile1" | "subtitile2" | "subtitile3" | "subtitile4" | "subtitile5" | "subtitile6" | "body1" | "body2" | "body3" | "body4" | "small1" | "small2" | "small3" | "small4" | "small5" | "small6" | "small7" | "small8" | "small9" | "label1" | "label2" | "buttonL" | "buttonMS";
4
4
  color?: "primary" | "secondary" | "success" | "tertiary" | "info" | "warning" | "error";
5
5
  children?: React.ReactNode;
6
6
  className?: string;
@@ -7,7 +7,7 @@ declare const meta: {
7
7
  layout: string;
8
8
  };
9
9
  decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react").ReactRenderer, {
10
- variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitile1" | "subtitile2" | "subtitile3" | "subtitile4" | "subtitile5" | "subtitile6" | "body1" | "body2" | "body3" | "body4" | "small1" | "small2" | "small3" | "small4" | "small5" | "label1" | "label2" | "buttonL" | "buttonMS" | undefined;
10
+ variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitile1" | "subtitile2" | "subtitile3" | "subtitile4" | "subtitile5" | "subtitile6" | "body1" | "body2" | "body3" | "body4" | "small1" | "small2" | "small3" | "small4" | "small5" | "small6" | "small7" | "small8" | "small9" | "label1" | "label2" | "buttonL" | "buttonMS" | undefined;
11
11
  color?: "primary" | "secondary" | "tertiary" | "success" | "info" | "warning" | "error" | undefined;
12
12
  children?: React.ReactNode;
13
13
  className?: string | undefined;
package/dist/index.d.ts CHANGED
@@ -94,7 +94,7 @@ declare const TextInput: React__default.ForwardRefExoticComponent<{
94
94
  } & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size"> & React__default.RefAttributes<HTMLInputElement>>;
95
95
 
96
96
  type TextProps = {
97
- variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitile1" | "subtitile2" | "subtitile3" | "subtitile4" | "subtitile5" | "subtitile6" | "body1" | "body2" | "body3" | "body4" | "small1" | "small2" | "small3" | "small4" | "small5" | "label1" | "label2" | "buttonL" | "buttonMS";
97
+ variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitile1" | "subtitile2" | "subtitile3" | "subtitile4" | "subtitile5" | "subtitile6" | "body1" | "body2" | "body3" | "body4" | "small1" | "small2" | "small3" | "small4" | "small5" | "small6" | "small7" | "small8" | "small9" | "label1" | "label2" | "buttonL" | "buttonMS";
98
98
  color?: "primary" | "secondary" | "success" | "tertiary" | "info" | "warning" | "error";
99
99
  children?: React__default.ReactNode;
100
100
  className?: string;
@@ -8520,6 +8520,11 @@ body {
8520
8520
  border-color: color-mix(in srgb, var(--state-color-primary-default) calc(100% * var(--tw-border-opacity)), transparent) !important;
8521
8521
  }
8522
8522
 
8523
+ .\[\&_button\]\:\!text-input-disable-text button {
8524
+ --tw-text-opacity: 1 !important;
8525
+ color: color-mix(in srgb, var(--input-color-disable-text) calc(100% * var(--tw-text-opacity)), transparent) !important;
8526
+ }
8527
+
8523
8528
  .\[\&_svg\]\:size-5 svg {
8524
8529
  width: 1.25rem;
8525
8530
  height: 1.25rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rovula/ui",
3
- "version": "0.0.36",
3
+ "version": "0.0.38",
4
4
  "main": "dist/cjs/bundle.js",
5
5
  "module": "dist/esm/bundle.js",
6
6
  "types": "dist/index.d.ts",
@@ -27,7 +27,7 @@ function Calendar({
27
27
  )}
28
28
  classNames={{
29
29
  ...defaultClassNames,
30
- day_button: cn(defaultClassNames.day_button, "size-9 "),
30
+ day_button: cn(defaultClassNames.day_button, "size-9"),
31
31
  day: "typography-subtitile1 ",
32
32
  today:
33
33
  "text-bold text-surface-foreground [&_button]:rounded-full [&_button]:!border-primary [&_button]:!border [&_button]:!border-solid",
@@ -43,6 +43,7 @@ function Calendar({
43
43
  "gap-2 flex items-center"
44
44
  ),
45
45
  months: "flex flex-col relative",
46
+ disabled: "[&_button]:rounded-full [&_button]:!text-input-disable-text",
46
47
  ...classNames,
47
48
  }}
48
49
  styles={{
@@ -25,6 +25,10 @@ export type TextProps = {
25
25
  | "small3"
26
26
  | "small4"
27
27
  | "small5"
28
+ | "small6"
29
+ | "small7"
30
+ | "small8"
31
+ | "small9"
28
32
  | "label1"
29
33
  | "label2"
30
34
  | "buttonL"
@@ -78,7 +78,7 @@ export const Simple = {
78
78
  onClick={() => {
79
79
  toast({
80
80
  title: "Scheduled: Catch up",
81
- description: "Friday, February 10, 2023 at 5:57 PM",
81
+ description: "",
82
82
  });
83
83
  }}
84
84
  >