@okam/stack-ui 1.8.1 → 1.9.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@okam/stack-ui",
3
3
  "main": "./index.js",
4
- "version": "1.8.1",
4
+ "version": "1.9.1",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
7
7
  ".": {
@@ -16,21 +16,20 @@
16
16
  "url": "https://github.com/OKAMca/stack.git"
17
17
  },
18
18
  "dependencies": {
19
- "@internationalized/date": "3.4.0",
20
- "@react-aria/calendar": "3.4.1",
21
- "@react-aria/checkbox": "3.10.0",
22
- "@react-aria/datepicker": "3.6.0",
23
- "@react-aria/focus": "3.14.0",
19
+ "@internationalized/date": "3.5.0",
20
+ "@react-aria/calendar": "3.5.0",
21
+ "@react-aria/checkbox": "3.11.0",
22
+ "@react-aria/datepicker": "3.7.0",
23
+ "@react-aria/focus": "^3.6.1",
24
24
  "@react-aria/i18n": "^3.8.1",
25
- "@react-aria/overlays": "3.16.0",
26
- "@react-aria/utils": "3.19.0",
27
- "@react-aria/visually-hidden": "3.8.3",
28
- "@react-stately/calendar": "3.3.1",
29
- "@react-stately/datepicker": "3.6.0",
30
- "@react-stately/overlays": "3.6.1",
31
- "@react-stately/toggle": "3.6.1",
32
- "@react-types/dialog": "3.5.4",
33
- "@react-types/overlays": "3.8.1",
25
+ "@react-aria/overlays": "3.17.0",
26
+ "@react-aria/utils": "3.20.0",
27
+ "@react-aria/visually-hidden": "3.8.4",
28
+ "@react-stately/calendar": "3.4.0",
29
+ "@react-stately/datepicker": "3.7.0",
30
+ "@react-stately/overlays": "3.6.2",
31
+ "@react-stately/toggle": "3.6.2",
32
+ "@react-types/dialog": "3.5.5",
34
33
  "@react-types/shared": "3.19.0",
35
34
  "@tsed/exceptions": "^6.100.3",
36
35
  "dequal": "^2.0.0",
@@ -45,7 +44,8 @@
45
44
  "react-i18next": "12.1.5",
46
45
  "react-spring": "9.6.1",
47
46
  "react-stately": "^3.24.0",
48
- "tailwind-variants": "^0.1.8"
47
+ "tailwind-variants": "^0.1.8",
48
+ "usehooks-ts": "^2.9.1"
49
49
  },
50
50
  "type": "module"
51
51
  }
@@ -27,7 +27,7 @@ export declare const accordionButton: import("tailwind-variants").TVReturnType<{
27
27
  center: "grid-cols-[3rem_1fr_3rem] pl-0 sm:pl-0";
28
28
  left: "grid-cols-[1fr_3rem]";
29
29
  };
30
- }, undefined, "grid overflow-hidden w-full items-center border-b-2 border-color-1-500", import("tailwind-variants/dist/config").TVConfig<{
30
+ }, undefined, "grid overflow-hidden w-full items-center border-b-2 border-color-1-500 focus-ring-black", import("tailwind-variants/dist/config").TVConfig<{
31
31
  titleBold: {
32
32
  true: "font-bold";
33
33
  };
@@ -15,7 +15,7 @@ declare const button: import("tailwind-variants").TVReturnType<{
15
15
  rounded: "rounded-md";
16
16
  circular: "rounded-full";
17
17
  };
18
- }, undefined, "\n flex\n items-center\n justify-center\n gap-4\n transition\n duration-300\n ease-in-out\n disabled:pointer-events-none\n disabled:opacity-30\n focus:outline-0\n border-transparent \n border-2\n focus:border-black\n ", import("tailwind-variants/dist/config").TVConfig<{
18
+ }, undefined, "\n flex\n items-center\n justify-center\n gap-4\n transition\n duration-300\n ease-in-out\n disabled:pointer-events-none\n disabled:opacity-30\n focus-ring-black\n ", import("tailwind-variants/dist/config").TVConfig<{
19
19
  buttonStyle: {
20
20
  default: "\n px-4\n py-2\n text-white\n !bg-color-1-500 \n hover:!bg-color-1-400\n active:!bg-color-1-400\n ";
21
21
  outline: "\n px-4\n py-2\n bg-transparent\n !border-color-1-500\n text-color-1-500\n hover:bg-color-1-500\n hover:text-white\n active:bg-color-1-500\n active:text-white\n ";
@@ -13,11 +13,11 @@ export declare const calendarNavigationButtonsContainer: import("tailwind-varian
13
13
  [x: string]: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<undefined, "flex items-center gap-1">;
14
14
  } | undefined;
15
15
  } | {}, undefined, "flex items-center gap-1", import("tailwind-variants/dist/config").TVConfig<unknown, import("tailwind-variants").TVVariantsDefault<undefined, "flex items-center gap-1"> | {}>, import("tailwind-variants").TVVariantsDefault<undefined, "flex items-center gap-1"> | {}, undefined>;
16
- export declare const calendarNavigationButtons: import("tailwind-variants").TVReturnType<import("tailwind-variants").TVVariantsDefault<undefined, "active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200"> | {
16
+ export declare const calendarNavigationButtons: import("tailwind-variants").TVReturnType<import("tailwind-variants").TVVariantsDefault<undefined, "active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200 focus-ring-black"> | {
17
17
  [x: string]: {
18
- [x: string]: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<undefined, "active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200">;
18
+ [x: string]: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<undefined, "active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200 focus-ring-black">;
19
19
  } | undefined;
20
- } | {}, undefined, "active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200", import("tailwind-variants/dist/config").TVConfig<unknown, import("tailwind-variants").TVVariantsDefault<undefined, "active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200"> | {}>, import("tailwind-variants").TVVariantsDefault<undefined, "active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200"> | {}, undefined>;
20
+ } | {}, undefined, "active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200 focus-ring-black", import("tailwind-variants/dist/config").TVConfig<unknown, import("tailwind-variants").TVVariantsDefault<undefined, "active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200 focus-ring-black"> | {}>, import("tailwind-variants").TVVariantsDefault<undefined, "active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200 focus-ring-black"> | {}, undefined>;
21
21
  export declare const calendarTable: import("tailwind-variants").TVReturnType<import("tailwind-variants").TVVariantsDefault<undefined, "flex-1"> | {
22
22
  [x: string]: {
23
23
  [x: string]: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<undefined, "flex-1">;
@@ -3,11 +3,11 @@ export declare const datePickerContainer: import("tailwind-variants").TVReturnTy
3
3
  [x: string]: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<undefined, "relative inline-flex flex-col text-left">;
4
4
  } | undefined;
5
5
  } | {}, undefined, "relative inline-flex flex-col text-left", import("tailwind-variants/dist/config").TVConfig<unknown, import("tailwind-variants").TVVariantsDefault<undefined, "relative inline-flex flex-col text-left"> | {}>, import("tailwind-variants").TVVariantsDefault<undefined, "relative inline-flex flex-col text-left"> | {}, undefined>;
6
- export declare const datePickerButton: import("tailwind-variants").TVReturnType<import("tailwind-variants").TVVariantsDefault<undefined, "flex items-center border-2 border-color-1-500 rounded"> | {
6
+ export declare const datePickerButton: import("tailwind-variants").TVReturnType<import("tailwind-variants").TVVariantsDefault<undefined, "flex items-center border-2 border-color-1-500 rounded focus-ring-black"> | {
7
7
  [x: string]: {
8
- [x: string]: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<undefined, "flex items-center border-2 border-color-1-500 rounded">;
8
+ [x: string]: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<undefined, "flex items-center border-2 border-color-1-500 rounded focus-ring-black">;
9
9
  } | undefined;
10
- } | {}, undefined, "flex items-center border-2 border-color-1-500 rounded", import("tailwind-variants/dist/config").TVConfig<unknown, import("tailwind-variants").TVVariantsDefault<undefined, "flex items-center border-2 border-color-1-500 rounded"> | {}>, import("tailwind-variants").TVVariantsDefault<undefined, "flex items-center border-2 border-color-1-500 rounded"> | {}, undefined>;
10
+ } | {}, undefined, "flex items-center border-2 border-color-1-500 rounded focus-ring-black", import("tailwind-variants/dist/config").TVConfig<unknown, import("tailwind-variants").TVVariantsDefault<undefined, "flex items-center border-2 border-color-1-500 rounded focus-ring-black"> | {}>, import("tailwind-variants").TVVariantsDefault<undefined, "flex items-center border-2 border-color-1-500 rounded focus-ring-black"> | {}, undefined>;
11
11
  export declare const datePickerCalendarPopoverUnderlay: import("tailwind-variants").TVReturnType<import("tailwind-variants").TVVariantsDefault<undefined, "fixed inset-0"> | {
12
12
  [x: string]: {
13
13
  [x: string]: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<undefined, "fixed inset-0">;
@@ -39,6 +39,11 @@ export declare const datePickerDateField: import("tailwind-variants").TVReturnTy
39
39
  false: "hidden";
40
40
  };
41
41
  }, undefined>;
42
+ export declare const datePickerDateSegment: import("tailwind-variants").TVReturnType<import("tailwind-variants").TVVariantsDefault<undefined, "focus-ring-black"> | {
43
+ [x: string]: {
44
+ [x: string]: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<undefined, "focus-ring-black">;
45
+ } | undefined;
46
+ } | {}, undefined, "focus-ring-black", import("tailwind-variants/dist/config").TVConfig<unknown, import("tailwind-variants").TVVariantsDefault<undefined, "focus-ring-black"> | {}>, import("tailwind-variants").TVVariantsDefault<undefined, "focus-ring-black"> | {}, undefined>;
42
47
  export declare const datePickerIcon: import("tailwind-variants").TVReturnType<import("tailwind-variants").TVVariantsDefault<undefined, "text-color-1-500 bg-color-1-100 border-l-2 border-color-1-500 h-full py-2 px-2"> | {
43
48
  [x: string]: {
44
49
  [x: string]: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<undefined, "text-color-1-500 bg-color-1-100 border-l-2 border-color-1-500 h-full py-2 px-2">;
@@ -1,13 +1,18 @@
1
+ export declare const lightBoxWrapper: import("tailwind-variants").TVReturnType<import("tailwind-variants").TVVariantsDefault<undefined, "focus-ring-black"> | {
2
+ [x: string]: {
3
+ [x: string]: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<undefined, "focus-ring-black">;
4
+ } | undefined;
5
+ } | {}, undefined, "focus-ring-black", import("tailwind-variants/dist/config").TVConfig<unknown, import("tailwind-variants").TVVariantsDefault<undefined, "focus-ring-black"> | {}>, import("tailwind-variants").TVVariantsDefault<undefined, "focus-ring-black"> | {}, undefined>;
1
6
  export declare const lightBoxContainer: import("tailwind-variants").TVReturnType<import("tailwind-variants").TVVariantsDefault<undefined, " w-screen h-screen relative flex items-center m-auto justify-center"> | {
2
7
  [x: string]: {
3
8
  [x: string]: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<undefined, " w-screen h-screen relative flex items-center m-auto justify-center">;
4
9
  } | undefined;
5
10
  } | {}, undefined, " w-screen h-screen relative flex items-center m-auto justify-center", import("tailwind-variants/dist/config").TVConfig<unknown, import("tailwind-variants").TVVariantsDefault<undefined, " w-screen h-screen relative flex items-center m-auto justify-center"> | {}>, import("tailwind-variants").TVVariantsDefault<undefined, " w-screen h-screen relative flex items-center m-auto justify-center"> | {}, undefined>;
6
- export declare const lightBoxCloseBtn: import("tailwind-variants").TVReturnType<import("tailwind-variants").TVVariantsDefault<undefined, "absolute xl:top-10 xl:right-20 lg:top-8 lg:right-8 z-10 top-4 right-4 w-[2.5rem]\n h-[2.5rem]"> | {
11
+ export declare const lightBoxCloseBtn: import("tailwind-variants").TVReturnType<import("tailwind-variants").TVVariantsDefault<undefined, "\n absolute\n xl:top-10\n xl:right-20\n lg:top-8\n lg:right-8\n z-10\n top-4\n right-4\n w-[2.5rem]\n h-[2.5rem]\n focus-ring-black\n "> | {
7
12
  [x: string]: {
8
- [x: string]: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<undefined, "absolute xl:top-10 xl:right-20 lg:top-8 lg:right-8 z-10 top-4 right-4 w-[2.5rem]\n h-[2.5rem]">;
13
+ [x: string]: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<undefined, "\n absolute\n xl:top-10\n xl:right-20\n lg:top-8\n lg:right-8\n z-10\n top-4\n right-4\n w-[2.5rem]\n h-[2.5rem]\n focus-ring-black\n ">;
9
14
  } | undefined;
10
- } | {}, undefined, "absolute xl:top-10 xl:right-20 lg:top-8 lg:right-8 z-10 top-4 right-4 w-[2.5rem]\n h-[2.5rem]", import("tailwind-variants/dist/config").TVConfig<unknown, import("tailwind-variants").TVVariantsDefault<undefined, "absolute xl:top-10 xl:right-20 lg:top-8 lg:right-8 z-10 top-4 right-4 w-[2.5rem]\n h-[2.5rem]"> | {}>, import("tailwind-variants").TVVariantsDefault<undefined, "absolute xl:top-10 xl:right-20 lg:top-8 lg:right-8 z-10 top-4 right-4 w-[2.5rem]\n h-[2.5rem]"> | {}, undefined>;
15
+ } | {}, undefined, "\n absolute\n xl:top-10\n xl:right-20\n lg:top-8\n lg:right-8\n z-10\n top-4\n right-4\n w-[2.5rem]\n h-[2.5rem]\n focus-ring-black\n ", import("tailwind-variants/dist/config").TVConfig<unknown, import("tailwind-variants").TVVariantsDefault<undefined, "\n absolute\n xl:top-10\n xl:right-20\n lg:top-8\n lg:right-8\n z-10\n top-4\n right-4\n w-[2.5rem]\n h-[2.5rem]\n focus-ring-black\n "> | {}>, import("tailwind-variants").TVVariantsDefault<undefined, "\n absolute\n xl:top-10\n xl:right-20\n lg:top-8\n lg:right-8\n z-10\n top-4\n right-4\n w-[2.5rem]\n h-[2.5rem]\n focus-ring-black\n "> | {}, undefined>;
11
16
  export declare const lightBoxLabel: import("tailwind-variants").TVReturnType<import("tailwind-variants").TVVariantsDefault<undefined, "sr-only"> | {
12
17
  size?: {
13
18
  h1?: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<undefined, "sr-only">;
@@ -3,7 +3,7 @@ export declare const shareButtonContainer: import("tailwind-variants").TVReturnT
3
3
  row: "flex-row";
4
4
  column: "flex-col";
5
5
  };
6
- }, undefined, "flex print:hidden", import("tailwind-variants/dist/config").TVConfig<{
6
+ }, undefined, "flex print:hidden relative", import("tailwind-variants/dist/config").TVConfig<{
7
7
  listDirection: {
8
8
  row: "flex-row";
9
9
  column: "flex-col";
@@ -24,7 +24,7 @@ export declare const shareButton: import("tailwind-variants").TVReturnType<{
24
24
  true: "";
25
25
  false: "";
26
26
  };
27
- }, undefined, "relative z-20 !bg-color-1-500 hover:!bg-color-1-400 p-4 active:!bg-color-1-400 rounded-full text-white", import("tailwind-variants/dist/config").TVConfig<{
27
+ }, undefined, "relative z-20 !bg-color-1-500 hover:!bg-color-1-400 w-16 h-16 flex justify-center items-center active:!bg-color-1-400 rounded-full text-white focus-ring-black", import("tailwind-variants/dist/config").TVConfig<{
28
28
  isOpen: {
29
29
  true: "";
30
30
  false: "";
@@ -42,17 +42,17 @@ export declare const shareButton: import("tailwind-variants").TVReturnType<{
42
42
  }, undefined>;
43
43
  export declare const shareButtonLinksList: import("tailwind-variants").TVReturnType<{
44
44
  listDirection: {
45
- row: "flex-row pl-14 [margin-left:-3.25rem]";
46
- column: "flex-col [margin-top:-3.25rem] [width:calc(100% + .5rem)] pt-14";
45
+ row: "flex-row pl-14 h-16 left-0";
46
+ column: "flex-col [width:calc(100% + .5rem)] pt-14 w-16 top-0";
47
47
  };
48
48
  isOpen: {
49
49
  true: "opacity-100 visible";
50
50
  false: "";
51
51
  };
52
- }, undefined, "!bg-color-1-200 relative opacity-0 invisible transition duration-300 flex items-center p-0 bg-primary-1 pb-0 z-0 rounded-b-full rounded-t-full", import("tailwind-variants/dist/config").TVConfig<{
52
+ }, undefined, "!bg-color-1-200 absolute opacity-0 invisible flex transition duration-300 items-center p-0 bg-primary-1 z-0 rounded-b-full rounded-t-full", import("tailwind-variants/dist/config").TVConfig<{
53
53
  listDirection: {
54
- row: "flex-row pl-14 [margin-left:-3.25rem]";
55
- column: "flex-col [margin-top:-3.25rem] [width:calc(100% + .5rem)] pt-14";
54
+ row: "flex-row pl-14 h-16 left-0";
55
+ column: "flex-col [width:calc(100% + .5rem)] pt-14 w-16 top-0";
56
56
  };
57
57
  isOpen: {
58
58
  true: "opacity-100 visible";
@@ -60,8 +60,8 @@ export declare const shareButtonLinksList: import("tailwind-variants").TVReturnT
60
60
  };
61
61
  }, {
62
62
  listDirection: {
63
- row: "flex-row pl-14 [margin-left:-3.25rem]";
64
- column: "flex-col [margin-top:-3.25rem] [width:calc(100% + .5rem)] pt-14";
63
+ row: "flex-row pl-14 h-16 left-0";
64
+ column: "flex-col [width:calc(100% + .5rem)] pt-14 w-16 top-0";
65
65
  };
66
66
  isOpen: {
67
67
  true: "opacity-100 visible";
@@ -69,8 +69,8 @@ export declare const shareButtonLinksList: import("tailwind-variants").TVReturnT
69
69
  };
70
70
  }>, {
71
71
  listDirection: {
72
- row: "flex-row pl-14 [margin-left:-3.25rem]";
73
- column: "flex-col [margin-top:-3.25rem] [width:calc(100% + .5rem)] pt-14";
72
+ row: "flex-row pl-14 h-16 left-0";
73
+ column: "flex-col [width:calc(100% + .5rem)] pt-14 w-16 top-0";
74
74
  };
75
75
  isOpen: {
76
76
  true: "opacity-100 visible";
@@ -82,7 +82,7 @@ export declare const shareButtonLink: import("tailwind-variants").TVReturnType<{
82
82
  row: "last:rounded-r-full h-full";
83
83
  column: "last:rounded-b-full";
84
84
  };
85
- }, undefined, "flex items-center justify-center cursor-pointer bg-color-1-200 hover:bg-color-1-300 w-full text-color-1-500 rounded-none p-2", import("tailwind-variants/dist/config").TVConfig<{
85
+ }, undefined, "\n flex\n items-center\n justify-center\n cursor-pointer\n bg-color-1-200\n hover:bg-color-1-300\n w-full\n text-color-1-500\n rounded-none\n p-2\n focus-ring-black\n z-10\n has-focus-ring:z-20\n ", import("tailwind-variants/dist/config").TVConfig<{
86
86
  listDirection: {
87
87
  row: "last:rounded-r-full h-full";
88
88
  column: "last:rounded-b-full";
@@ -2,7 +2,7 @@ export declare const textArea: import("tailwind-variants").TVReturnType<{
2
2
  isError: {
3
3
  true: "border-red-500";
4
4
  };
5
- }, undefined, "w-full min-h-32 rounded-2xl px-6 h-12 border-2 border-solid transition duration-300 ease-in-out text-gray-2 placeholder:text-gray-2 focus-visible:text-black focus-visible:placeholder:text-black focus-visible:border-black", import("tailwind-variants/dist/config").TVConfig<{
5
+ }, undefined, "\n w-full\n min-h-32\n rounded-2xl\n px-6\n h-12\n border-2\n border-solid\n transition\n duration-300\n ease-in-out\n text-gray-2\n placeholder:text-gray-2\n focus-ring-black\n \n ", import("tailwind-variants/dist/config").TVConfig<{
6
6
  isError: {
7
7
  true: "border-red-500";
8
8
  };