analytica-frontend-lib 1.0.47 → 1.0.49
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/Menu/index.js +4 -3
- package/dist/Menu/index.js.map +1 -1
- package/dist/Menu/index.mjs +4 -3
- package/dist/Menu/index.mjs.map +1 -1
- package/dist/Modal/index.d.mts +66 -0
- package/dist/Modal/index.d.ts +66 -0
- package/dist/Modal/index.js +113 -0
- package/dist/Modal/index.js.map +1 -0
- package/dist/Modal/index.mjs +92 -0
- package/dist/Modal/index.mjs.map +1 -0
- package/dist/TextArea/index.js +1 -9
- package/dist/TextArea/index.js.map +1 -1
- package/dist/TextArea/index.mjs +1 -9
- package/dist/TextArea/index.mjs.map +1 -1
- package/dist/index.css +5 -3
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +3 -66
- package/dist/index.d.ts +3 -66
- package/dist/index.js +5 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -12
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +5 -3
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -974,29 +974,21 @@ import {
|
|
|
974
974
|
import { jsx as jsx12, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
975
975
|
var SIZE_CLASSES5 = {
|
|
976
976
|
small: {
|
|
977
|
-
container: "w-72",
|
|
978
|
-
// 288px width
|
|
979
977
|
textarea: "h-24 text-sm",
|
|
980
978
|
// 96px height, 14px font
|
|
981
979
|
textSize: "sm"
|
|
982
980
|
},
|
|
983
981
|
medium: {
|
|
984
|
-
container: "w-72",
|
|
985
|
-
// 288px width
|
|
986
982
|
textarea: "h-24 text-base",
|
|
987
983
|
// 96px height, 16px font
|
|
988
984
|
textSize: "md"
|
|
989
985
|
},
|
|
990
986
|
large: {
|
|
991
|
-
container: "w-72",
|
|
992
|
-
// 288px width
|
|
993
987
|
textarea: "h-24 text-lg",
|
|
994
988
|
// 96px height, 18px font
|
|
995
989
|
textSize: "lg"
|
|
996
990
|
},
|
|
997
991
|
extraLarge: {
|
|
998
|
-
container: "w-72",
|
|
999
|
-
// 288px width
|
|
1000
992
|
textarea: "h-24 text-xl",
|
|
1001
993
|
// 96px height, 20px font
|
|
1002
994
|
textSize: "xl"
|
|
@@ -1066,7 +1058,7 @@ var TextArea = forwardRef7(
|
|
|
1066
1058
|
const sizeClasses = SIZE_CLASSES5[size];
|
|
1067
1059
|
const stateClasses = STATE_CLASSES3[currentState];
|
|
1068
1060
|
const textareaClasses = `${BASE_TEXTAREA_CLASSES} ${sizeClasses.textarea} ${stateClasses.base} ${stateClasses.hover} ${stateClasses.focus} ${className}`;
|
|
1069
|
-
return /* @__PURE__ */ jsxs9("div", { className: `flex flex-col
|
|
1061
|
+
return /* @__PURE__ */ jsxs9("div", { className: `flex flex-col`, children: [
|
|
1070
1062
|
label && /* @__PURE__ */ jsx12(
|
|
1071
1063
|
Text_default,
|
|
1072
1064
|
{
|
|
@@ -3710,7 +3702,7 @@ var MenuItem = forwardRef11(
|
|
|
3710
3702
|
className: `
|
|
3711
3703
|
w-full flex flex-col gap-0.5 items-center py-1 px-2 rounded-sm font-medium text-xs
|
|
3712
3704
|
[&>svg]:size-6 cursor-pointer hover:bg-primary-600 hover:text-text
|
|
3713
|
-
focus:outline-none focus:border-
|
|
3705
|
+
focus:outline-none focus:border-indicator-info focus:border-2
|
|
3714
3706
|
${selectedValue === value ? "bg-primary-50 text-primary-950" : "text-text-950"}
|
|
3715
3707
|
${className ?? ""}
|
|
3716
3708
|
`,
|
|
@@ -3723,7 +3715,8 @@ var MenuItem = forwardRef11(
|
|
|
3723
3715
|
{
|
|
3724
3716
|
"data-variant": "menu2",
|
|
3725
3717
|
className: `
|
|
3726
|
-
flex flex-row items-center p-4 gap-2 border-b-2 border-transparent text-text-950 text-sx font-bold cursor-pointer
|
|
3718
|
+
flex flex-row items-center p-4 gap-2 border-b-2 border-transparent text-text-950 text-sx font-bold cursor-pointer focus:rounded-sm
|
|
3719
|
+
focus:outline-none focus:border-indicator-info focus:border-2
|
|
3727
3720
|
${selectedValue === value ? "border-b-primary-950" : ""}
|
|
3728
3721
|
`,
|
|
3729
3722
|
...commonProps,
|
|
@@ -3735,7 +3728,7 @@ var MenuItem = forwardRef11(
|
|
|
3735
3728
|
{
|
|
3736
3729
|
"data-variant": "breadcrumb",
|
|
3737
3730
|
className: `
|
|
3738
|
-
p-2 rounded-lg hover:text-primary-600 cursor-pointer font-bold text-xs
|
|
3731
|
+
p-2 rounded-lg hover:text-primary-600 cursor-pointer font-bold text-xs
|
|
3739
3732
|
focus:outline-none focus:border-indicator-info focus:border-2
|
|
3740
3733
|
${selectedValue === value ? "text-primary-950" : "text-text-600"}
|
|
3741
3734
|
${className ?? ""}
|