@liner-fe/prism 2.1.26 → 2.1.27
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/lib/components/Button/index.d.ts +7 -13
- package/lib/components/Icon/index.d.ts +4 -10
- package/lib/components/IconButton/index.d.ts +5 -11
- package/lib/components/Label/index.d.ts +8 -14
- package/lib/components/TextButton/index.d.ts +6 -12
- package/lib/components/Textfield/index.d.ts +3 -9
- package/lib/components/Typography/utils.d.ts +2 -8
- package/lib/index.cjs +26 -37
- package/lib/index.cjs.map +3 -3
- package/lib/index.mjs +26 -37
- package/lib/index.mjs.map +2 -2
- package/package.json +2 -2
package/lib/index.mjs
CHANGED
|
@@ -7664,11 +7664,11 @@ var style_module_default = {
|
|
|
7664
7664
|
};
|
|
7665
7665
|
|
|
7666
7666
|
// src/components/Button/index.tsx
|
|
7667
|
-
import { cva as cva3 } from "
|
|
7667
|
+
import { cva as cva3 } from "class-variance-authority";
|
|
7668
7668
|
import clsx2 from "clsx";
|
|
7669
7669
|
|
|
7670
7670
|
// src/components/Icon/index.tsx
|
|
7671
|
-
import { cva } from "
|
|
7671
|
+
import { cva } from "class-variance-authority";
|
|
7672
7672
|
import clsx from "clsx";
|
|
7673
7673
|
|
|
7674
7674
|
// src/components/Icon/style.module.scss
|
|
@@ -7754,8 +7754,7 @@ var colorKeys = [
|
|
|
7754
7754
|
"accent-purple",
|
|
7755
7755
|
"accent-pink"
|
|
7756
7756
|
];
|
|
7757
|
-
var iconVariants = cva({
|
|
7758
|
-
base: style_module_default2.icon,
|
|
7757
|
+
var iconVariants = cva(style_module_default2.icon, {
|
|
7759
7758
|
variants: {
|
|
7760
7759
|
type: arrayToStyleObject(colorKeys, style_module_default2),
|
|
7761
7760
|
fillType: arrayToStyleObject(colorKeys, style_module_default2, "fill")
|
|
@@ -7806,10 +7805,9 @@ var style_module_default3 = {
|
|
|
7806
7805
|
};
|
|
7807
7806
|
|
|
7808
7807
|
// src/components/_ButtonLoading/index.tsx
|
|
7809
|
-
import { cva as cva2 } from "
|
|
7808
|
+
import { cva as cva2 } from "class-variance-authority";
|
|
7810
7809
|
import { jsx as jsx163, jsxs as jsxs113 } from "react/jsx-runtime";
|
|
7811
|
-
var loadingVariants = cva2({
|
|
7812
|
-
base: [style_module_default3["loading-dot"]],
|
|
7810
|
+
var loadingVariants = cva2([style_module_default3["loading-dot"]], {
|
|
7813
7811
|
variants: {
|
|
7814
7812
|
size: {
|
|
7815
7813
|
m: style_module_default3["m"],
|
|
@@ -7896,8 +7894,7 @@ var buttonFillLevelIconFillTypeMap = {
|
|
|
7896
7894
|
"inverse-static": void 0
|
|
7897
7895
|
}
|
|
7898
7896
|
};
|
|
7899
|
-
var defaultButtonVariants = cva3({
|
|
7900
|
-
base: [style_module_default.button, style_module_default.default],
|
|
7897
|
+
var defaultButtonVariants = cva3([style_module_default.button, style_module_default.default], {
|
|
7901
7898
|
variants: {
|
|
7902
7899
|
level: {
|
|
7903
7900
|
primary: style_module_default.primary,
|
|
@@ -7928,8 +7925,7 @@ var defaultButtonVariants = cva3({
|
|
|
7928
7925
|
}
|
|
7929
7926
|
}
|
|
7930
7927
|
});
|
|
7931
|
-
var defaultButtonChildrenVariants = cva3({
|
|
7932
|
-
base: style_module_default.children,
|
|
7928
|
+
var defaultButtonChildrenVariants = cva3(style_module_default.children, {
|
|
7933
7929
|
variants: {
|
|
7934
7930
|
size: {
|
|
7935
7931
|
cta: style_module_default["cta-children"],
|
|
@@ -8051,7 +8047,7 @@ import clsx3 from "clsx";
|
|
|
8051
8047
|
import { forwardRef as forwardRef2 } from "react";
|
|
8052
8048
|
|
|
8053
8049
|
// src/components/Typography/utils.ts
|
|
8054
|
-
import { cva as cva4 } from "
|
|
8050
|
+
import { cva as cva4 } from "class-variance-authority";
|
|
8055
8051
|
|
|
8056
8052
|
// src/components/Typography/Set/style.module.scss
|
|
8057
8053
|
var style_module_default5 = {
|
|
@@ -8082,8 +8078,7 @@ var style_module_default5 = {
|
|
|
8082
8078
|
};
|
|
8083
8079
|
|
|
8084
8080
|
// src/components/Typography/utils.ts
|
|
8085
|
-
var colorVariants = cva4({
|
|
8086
|
-
base: style_module_default5.typography,
|
|
8081
|
+
var colorVariants = cva4(style_module_default5.typography, {
|
|
8087
8082
|
variants: {
|
|
8088
8083
|
type: arrayToStyleObject(colorKeys, style_module_default5)
|
|
8089
8084
|
}
|
|
@@ -8862,11 +8857,11 @@ var style_module_default6 = {
|
|
|
8862
8857
|
};
|
|
8863
8858
|
|
|
8864
8859
|
// src/components/Popover/index.tsx
|
|
8865
|
-
import { cva as cva6 } from "
|
|
8860
|
+
import { cva as cva6 } from "class-variance-authority";
|
|
8866
8861
|
import { clsx as clsx9 } from "clsx";
|
|
8867
8862
|
|
|
8868
8863
|
// src/components/TextButton/index.tsx
|
|
8869
|
-
import { cva as cva5 } from "
|
|
8864
|
+
import { cva as cva5 } from "class-variance-authority";
|
|
8870
8865
|
|
|
8871
8866
|
// src/components/TextButton/style.module.scss
|
|
8872
8867
|
var style_module_default7 = {
|
|
@@ -8902,8 +8897,7 @@ var textButtonLevelIconFillTypeMap = {
|
|
|
8902
8897
|
inverse: "neutral-label-primary",
|
|
8903
8898
|
"inverse-static": "neutral-label-static-primary"
|
|
8904
8899
|
};
|
|
8905
|
-
var textButtonVariants = cva5({
|
|
8906
|
-
base: [style_module_default7.button, style_module_default7.text],
|
|
8900
|
+
var textButtonVariants = cva5([style_module_default7.button, style_module_default7.text], {
|
|
8907
8901
|
variants: {
|
|
8908
8902
|
level: {
|
|
8909
8903
|
primary: [style_module_default7["primary"], "lp-sys-typo-caption1-normal-medium"],
|
|
@@ -8968,8 +8962,7 @@ var TextButton = forwardRef7(
|
|
|
8968
8962
|
// src/components/Popover/index.tsx
|
|
8969
8963
|
import { Fragment as Fragment5, jsx as jsx173, jsxs as jsxs117 } from "react/jsx-runtime";
|
|
8970
8964
|
var DEFAULT_OFFSET = -6;
|
|
8971
|
-
var popoverVariants = cva6({
|
|
8972
|
-
base: style_module_default6.content,
|
|
8965
|
+
var popoverVariants = cva6(style_module_default6.content, {
|
|
8973
8966
|
variants: {
|
|
8974
8967
|
level: {
|
|
8975
8968
|
primary: style_module_default6.primary,
|
|
@@ -8977,8 +8970,7 @@ var popoverVariants = cva6({
|
|
|
8977
8970
|
}
|
|
8978
8971
|
}
|
|
8979
8972
|
});
|
|
8980
|
-
var popoverAnchorVariants = cva6({
|
|
8981
|
-
base: style_module_default6.anchor,
|
|
8973
|
+
var popoverAnchorVariants = cva6(style_module_default6.anchor, {
|
|
8982
8974
|
variants: {
|
|
8983
8975
|
level: {
|
|
8984
8976
|
primary: style_module_default6.primary,
|
|
@@ -8986,10 +8978,10 @@ var popoverAnchorVariants = cva6({
|
|
|
8986
8978
|
}
|
|
8987
8979
|
}
|
|
8988
8980
|
});
|
|
8989
|
-
var popoverTagVariants = cva6(
|
|
8990
|
-
var popoverTitleVariants = cva6(
|
|
8991
|
-
var popoverDescriptionVariants = cva6(
|
|
8992
|
-
var popoverFooterVariants = cva6(
|
|
8981
|
+
var popoverTagVariants = cva6([style_module_default6.tag, "lp-sys-typo-caption3-normal-bold"]);
|
|
8982
|
+
var popoverTitleVariants = cva6([style_module_default6.title, "lp-sys-typo-paragraph3-normal-bold"]);
|
|
8983
|
+
var popoverDescriptionVariants = cva6([style_module_default6.description, "lp-sys-typo-caption1-normal-regular"]);
|
|
8984
|
+
var popoverFooterVariants = cva6([style_module_default6.footer, "lp-sys-typo-caption1-normal-medium"]);
|
|
8993
8985
|
var PopoverRoot = /* @__PURE__ */ __name(({ isOpen, children, onChange }) => /* @__PURE__ */ jsx173(PopoverPrimitive.Root, { open: isOpen, onOpenChange: onChange, children }), "PopoverRoot");
|
|
8994
8986
|
var PopoverTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx173(PopoverPrimitive.Trigger, { asChild: true, children: by }), "PopoverTrigger");
|
|
8995
8987
|
var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ jsx173("svg", { className, xmlns: "http://www.w3.org/2000/svg", width: "30", height: "10", viewBox: "0 0 30 10", fill: "none", children: /* @__PURE__ */ jsx173(
|
|
@@ -9085,11 +9077,11 @@ var style_module_default8 = {
|
|
|
9085
9077
|
};
|
|
9086
9078
|
|
|
9087
9079
|
// src/components/Tooltip/index.tsx
|
|
9088
|
-
import { cva as cva7 } from "
|
|
9080
|
+
import { cva as cva7 } from "class-variance-authority";
|
|
9089
9081
|
import clsx10 from "clsx";
|
|
9090
9082
|
import { jsx as jsx174 } from "react/jsx-runtime";
|
|
9091
9083
|
var DEFAULT_OFFSET2 = "medium";
|
|
9092
|
-
var tooltipVariants = cva7(
|
|
9084
|
+
var tooltipVariants = cva7([style_module_default8.tooltip, "lp-sys-typo-caption1-normal-medium"]);
|
|
9093
9085
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
9094
9086
|
var TooltipRoot = /* @__PURE__ */ __name(({ children, ...props }) => /* @__PURE__ */ jsx174(TooltipPrimitive.Root, { delayDuration: 0, ...props, children }), "TooltipRoot");
|
|
9095
9087
|
var TooltipTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx174(TooltipPrimitive.Trigger, { asChild: true, children: by }), "TooltipTrigger");
|
|
@@ -9114,7 +9106,7 @@ var Tooltip = Object.assign(TooltipRoot, {
|
|
|
9114
9106
|
});
|
|
9115
9107
|
|
|
9116
9108
|
// src/components/IconButton/index.tsx
|
|
9117
|
-
import { cva as cva8 } from "
|
|
9109
|
+
import { cva as cva8 } from "class-variance-authority";
|
|
9118
9110
|
import { forwardRef as forwardRef10 } from "react";
|
|
9119
9111
|
import clsx11 from "clsx";
|
|
9120
9112
|
|
|
@@ -9174,8 +9166,7 @@ var iconButtonLevelIconTypeMap = {
|
|
|
9174
9166
|
"inverse-static": "inverse-label-static-primary"
|
|
9175
9167
|
}
|
|
9176
9168
|
};
|
|
9177
|
-
var iconButtonVariants = cva8({
|
|
9178
|
-
base: [style_module_default9.iconButton],
|
|
9169
|
+
var iconButtonVariants = cva8([style_module_default9.iconButton], {
|
|
9179
9170
|
variants: {
|
|
9180
9171
|
level: {
|
|
9181
9172
|
primary: style_module_default9.primary,
|
|
@@ -9270,10 +9261,9 @@ var style_module_default11 = {
|
|
|
9270
9261
|
};
|
|
9271
9262
|
|
|
9272
9263
|
// src/components/Label/index.tsx
|
|
9273
|
-
import { cva as cva9 } from "
|
|
9264
|
+
import { cva as cva9 } from "class-variance-authority";
|
|
9274
9265
|
import { jsx as jsx176 } from "react/jsx-runtime";
|
|
9275
|
-
var defaultLabelVariants = cva9({
|
|
9276
|
-
base: ["lp-sys-typo-paragraph2-normal-medium", style_module_default11.label],
|
|
9266
|
+
var defaultLabelVariants = cva9(["lp-sys-typo-paragraph2-normal-medium", style_module_default11.label], {
|
|
9277
9267
|
variants: {
|
|
9278
9268
|
level: {
|
|
9279
9269
|
primary: style_module_default11.primary,
|
|
@@ -9404,12 +9394,11 @@ var style_module_default13 = {
|
|
|
9404
9394
|
};
|
|
9405
9395
|
|
|
9406
9396
|
// src/components/Textfield/index.tsx
|
|
9407
|
-
import { cva as cva10 } from "
|
|
9397
|
+
import { cva as cva10 } from "class-variance-authority";
|
|
9408
9398
|
import clsx15 from "clsx";
|
|
9409
9399
|
import { flushSync } from "react-dom";
|
|
9410
9400
|
import { Fragment as Fragment8, jsx as jsx179, jsxs as jsxs120 } from "react/jsx-runtime";
|
|
9411
|
-
var defaultTextfieldVariants = cva10({
|
|
9412
|
-
base: style_module_default13.textfield,
|
|
9401
|
+
var defaultTextfieldVariants = cva10(style_module_default13.textfield, {
|
|
9413
9402
|
variants: {
|
|
9414
9403
|
color: {
|
|
9415
9404
|
"neutral-container-mid": style_module_default13.gray,
|