@liner-fe/prism 2.1.30 → 2.1.32
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 +13 -7
- package/lib/components/Icon/index.d.ts +12 -5
- package/lib/components/IconButton/index.d.ts +11 -5
- package/lib/components/Label/index.d.ts +14 -8
- package/lib/components/TextButton/index.d.ts +12 -6
- package/lib/components/Textfield/index.d.ts +9 -3
- package/lib/components/Typography/utils.d.ts +8 -2
- package/lib/index.cjs +37 -26
- package/lib/index.cjs.map +3 -3
- package/lib/index.mjs +37 -26
- package/lib/index.mjs.map +2 -2
- package/package.json +2 -2
package/lib/index.mjs
CHANGED
|
@@ -7309,11 +7309,11 @@ var style_module_default = {
|
|
|
7309
7309
|
};
|
|
7310
7310
|
|
|
7311
7311
|
// src/components/Button/index.tsx
|
|
7312
|
-
import { cva as cva3 } from "
|
|
7312
|
+
import { cva as cva3 } from "cva";
|
|
7313
7313
|
import clsx2 from "clsx";
|
|
7314
7314
|
|
|
7315
7315
|
// src/components/Icon/index.tsx
|
|
7316
|
-
import { cva } from "
|
|
7316
|
+
import { cva } from "cva";
|
|
7317
7317
|
import clsx from "clsx";
|
|
7318
7318
|
|
|
7319
7319
|
// src/components/Icon/style.module.scss
|
|
@@ -7399,7 +7399,8 @@ var colorKeys = [
|
|
|
7399
7399
|
"accent-purple",
|
|
7400
7400
|
"accent-pink"
|
|
7401
7401
|
];
|
|
7402
|
-
var iconVariants = cva(
|
|
7402
|
+
var iconVariants = cva({
|
|
7403
|
+
base: style_module_default2.icon,
|
|
7403
7404
|
variants: {
|
|
7404
7405
|
type: arrayToStyleObject(colorKeys, style_module_default2),
|
|
7405
7406
|
fillType: arrayToStyleObject(colorKeys, style_module_default2, "fill")
|
|
@@ -7450,9 +7451,10 @@ var style_module_default3 = {
|
|
|
7450
7451
|
};
|
|
7451
7452
|
|
|
7452
7453
|
// src/components/_ButtonLoading/index.tsx
|
|
7453
|
-
import { cva as cva2 } from "
|
|
7454
|
+
import { cva as cva2 } from "cva";
|
|
7454
7455
|
import { jsx as jsx156, jsxs as jsxs108 } from "react/jsx-runtime";
|
|
7455
|
-
var loadingVariants = cva2(
|
|
7456
|
+
var loadingVariants = cva2({
|
|
7457
|
+
base: [style_module_default3["loading-dot"]],
|
|
7456
7458
|
variants: {
|
|
7457
7459
|
size: {
|
|
7458
7460
|
m: style_module_default3["m"],
|
|
@@ -7539,7 +7541,8 @@ var buttonFillLevelIconFillTypeMap = {
|
|
|
7539
7541
|
"inverse-static": void 0
|
|
7540
7542
|
}
|
|
7541
7543
|
};
|
|
7542
|
-
var defaultButtonVariants = cva3(
|
|
7544
|
+
var defaultButtonVariants = cva3({
|
|
7545
|
+
base: [style_module_default.button, style_module_default.default],
|
|
7543
7546
|
variants: {
|
|
7544
7547
|
level: {
|
|
7545
7548
|
primary: style_module_default.primary,
|
|
@@ -7570,7 +7573,8 @@ var defaultButtonVariants = cva3([style_module_default.button, style_module_defa
|
|
|
7570
7573
|
}
|
|
7571
7574
|
}
|
|
7572
7575
|
});
|
|
7573
|
-
var defaultButtonChildrenVariants = cva3(
|
|
7576
|
+
var defaultButtonChildrenVariants = cva3({
|
|
7577
|
+
base: style_module_default.children,
|
|
7574
7578
|
variants: {
|
|
7575
7579
|
size: {
|
|
7576
7580
|
cta: style_module_default["cta-children"],
|
|
@@ -7692,7 +7696,7 @@ import clsx3 from "clsx";
|
|
|
7692
7696
|
import { forwardRef as forwardRef2 } from "react";
|
|
7693
7697
|
|
|
7694
7698
|
// src/components/Typography/utils.ts
|
|
7695
|
-
import { cva as cva4 } from "
|
|
7699
|
+
import { cva as cva4 } from "cva";
|
|
7696
7700
|
|
|
7697
7701
|
// src/components/Typography/Set/style.module.scss
|
|
7698
7702
|
var style_module_default5 = {
|
|
@@ -7723,7 +7727,8 @@ var style_module_default5 = {
|
|
|
7723
7727
|
};
|
|
7724
7728
|
|
|
7725
7729
|
// src/components/Typography/utils.ts
|
|
7726
|
-
var colorVariants = cva4(
|
|
7730
|
+
var colorVariants = cva4({
|
|
7731
|
+
base: style_module_default5.typography,
|
|
7727
7732
|
variants: {
|
|
7728
7733
|
type: arrayToStyleObject(colorKeys, style_module_default5)
|
|
7729
7734
|
}
|
|
@@ -8502,11 +8507,11 @@ var style_module_default6 = {
|
|
|
8502
8507
|
};
|
|
8503
8508
|
|
|
8504
8509
|
// src/components/Popover/index.tsx
|
|
8505
|
-
import { cva as cva6 } from "
|
|
8510
|
+
import { cva as cva6 } from "cva";
|
|
8506
8511
|
import { clsx as clsx9 } from "clsx";
|
|
8507
8512
|
|
|
8508
8513
|
// src/components/TextButton/index.tsx
|
|
8509
|
-
import { cva as cva5 } from "
|
|
8514
|
+
import { cva as cva5 } from "cva";
|
|
8510
8515
|
|
|
8511
8516
|
// src/components/TextButton/style.module.scss
|
|
8512
8517
|
var style_module_default7 = {
|
|
@@ -8542,7 +8547,8 @@ var textButtonLevelIconFillTypeMap = {
|
|
|
8542
8547
|
inverse: "neutral-label-primary",
|
|
8543
8548
|
"inverse-static": "neutral-label-static-primary"
|
|
8544
8549
|
};
|
|
8545
|
-
var textButtonVariants = cva5(
|
|
8550
|
+
var textButtonVariants = cva5({
|
|
8551
|
+
base: [style_module_default7.button, style_module_default7.text],
|
|
8546
8552
|
variants: {
|
|
8547
8553
|
level: {
|
|
8548
8554
|
primary: [style_module_default7["primary"], "lp-sys-typo-caption1-normal-medium"],
|
|
@@ -8607,7 +8613,8 @@ var TextButton = forwardRef7(
|
|
|
8607
8613
|
// src/components/Popover/index.tsx
|
|
8608
8614
|
import { Fragment as Fragment6, jsx as jsx166, jsxs as jsxs112 } from "react/jsx-runtime";
|
|
8609
8615
|
var DEFAULT_OFFSET = -6;
|
|
8610
|
-
var popoverVariants = cva6(
|
|
8616
|
+
var popoverVariants = cva6({
|
|
8617
|
+
base: style_module_default6.content,
|
|
8611
8618
|
variants: {
|
|
8612
8619
|
level: {
|
|
8613
8620
|
primary: style_module_default6.primary,
|
|
@@ -8615,7 +8622,8 @@ var popoverVariants = cva6(style_module_default6.content, {
|
|
|
8615
8622
|
}
|
|
8616
8623
|
}
|
|
8617
8624
|
});
|
|
8618
|
-
var popoverAnchorVariants = cva6(
|
|
8625
|
+
var popoverAnchorVariants = cva6({
|
|
8626
|
+
base: style_module_default6.anchor,
|
|
8619
8627
|
variants: {
|
|
8620
8628
|
level: {
|
|
8621
8629
|
primary: style_module_default6.primary,
|
|
@@ -8623,10 +8631,10 @@ var popoverAnchorVariants = cva6(style_module_default6.anchor, {
|
|
|
8623
8631
|
}
|
|
8624
8632
|
}
|
|
8625
8633
|
});
|
|
8626
|
-
var popoverTagVariants = cva6([style_module_default6.tag, "lp-sys-typo-caption3-normal-bold"]);
|
|
8627
|
-
var popoverTitleVariants = cva6([style_module_default6.title, "lp-sys-typo-paragraph3-normal-bold"]);
|
|
8628
|
-
var popoverDescriptionVariants = cva6([style_module_default6.description, "lp-sys-typo-caption1-normal-regular"]);
|
|
8629
|
-
var popoverFooterVariants = cva6([style_module_default6.footer, "lp-sys-typo-caption1-normal-medium"]);
|
|
8634
|
+
var popoverTagVariants = cva6({ base: [style_module_default6.tag, "lp-sys-typo-caption3-normal-bold"] });
|
|
8635
|
+
var popoverTitleVariants = cva6({ base: [style_module_default6.title, "lp-sys-typo-paragraph3-normal-bold"] });
|
|
8636
|
+
var popoverDescriptionVariants = cva6({ base: [style_module_default6.description, "lp-sys-typo-caption1-normal-regular"] });
|
|
8637
|
+
var popoverFooterVariants = cva6({ base: [style_module_default6.footer, "lp-sys-typo-caption1-normal-medium"] });
|
|
8630
8638
|
var PopoverRoot = /* @__PURE__ */ __name(({ isOpen, children, onChange }) => /* @__PURE__ */ jsx166(PopoverPrimitive.Root, { open: isOpen, onOpenChange: onChange, children }), "PopoverRoot");
|
|
8631
8639
|
var PopoverTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx166(PopoverPrimitive.Trigger, { asChild: true, children: by }), "PopoverTrigger");
|
|
8632
8640
|
var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ jsx166("svg", { className, xmlns: "http://www.w3.org/2000/svg", width: "30", height: "10", viewBox: "0 0 30 10", fill: "none", children: /* @__PURE__ */ jsx166(
|
|
@@ -8722,11 +8730,11 @@ var style_module_default8 = {
|
|
|
8722
8730
|
};
|
|
8723
8731
|
|
|
8724
8732
|
// src/components/Tooltip/index.tsx
|
|
8725
|
-
import { cva as cva7 } from "
|
|
8733
|
+
import { cva as cva7 } from "cva";
|
|
8726
8734
|
import clsx10 from "clsx";
|
|
8727
8735
|
import { jsx as jsx167 } from "react/jsx-runtime";
|
|
8728
8736
|
var DEFAULT_OFFSET2 = "medium";
|
|
8729
|
-
var tooltipVariants = cva7([style_module_default8.tooltip, "lp-sys-typo-caption1-normal-medium"]);
|
|
8737
|
+
var tooltipVariants = cva7({ base: [style_module_default8.tooltip, "lp-sys-typo-caption1-normal-medium"] });
|
|
8730
8738
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
8731
8739
|
var TooltipRoot = /* @__PURE__ */ __name(({ children, ...props }) => /* @__PURE__ */ jsx167(TooltipPrimitive.Root, { delayDuration: 0, ...props, children }), "TooltipRoot");
|
|
8732
8740
|
var TooltipTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx167(TooltipPrimitive.Trigger, { asChild: true, children: by }), "TooltipTrigger");
|
|
@@ -8751,7 +8759,7 @@ var Tooltip = Object.assign(TooltipRoot, {
|
|
|
8751
8759
|
});
|
|
8752
8760
|
|
|
8753
8761
|
// src/components/IconButton/index.tsx
|
|
8754
|
-
import { cva as cva8 } from "
|
|
8762
|
+
import { cva as cva8 } from "cva";
|
|
8755
8763
|
import { forwardRef as forwardRef10 } from "react";
|
|
8756
8764
|
import clsx11 from "clsx";
|
|
8757
8765
|
|
|
@@ -8811,7 +8819,8 @@ var iconButtonLevelIconTypeMap = {
|
|
|
8811
8819
|
"inverse-static": "inverse-label-static-primary"
|
|
8812
8820
|
}
|
|
8813
8821
|
};
|
|
8814
|
-
var iconButtonVariants = cva8(
|
|
8822
|
+
var iconButtonVariants = cva8({
|
|
8823
|
+
base: [style_module_default9.iconButton],
|
|
8815
8824
|
variants: {
|
|
8816
8825
|
level: {
|
|
8817
8826
|
primary: style_module_default9.primary,
|
|
@@ -8906,9 +8915,10 @@ var style_module_default11 = {
|
|
|
8906
8915
|
};
|
|
8907
8916
|
|
|
8908
8917
|
// src/components/Label/index.tsx
|
|
8909
|
-
import { cva as cva9 } from "
|
|
8918
|
+
import { cva as cva9 } from "cva";
|
|
8910
8919
|
import { jsx as jsx169 } from "react/jsx-runtime";
|
|
8911
|
-
var defaultLabelVariants = cva9(
|
|
8920
|
+
var defaultLabelVariants = cva9({
|
|
8921
|
+
base: ["lp-sys-typo-paragraph2-normal-medium", style_module_default11.label],
|
|
8912
8922
|
variants: {
|
|
8913
8923
|
level: {
|
|
8914
8924
|
primary: style_module_default11.primary,
|
|
@@ -9039,11 +9049,12 @@ var style_module_default13 = {
|
|
|
9039
9049
|
};
|
|
9040
9050
|
|
|
9041
9051
|
// src/components/Textfield/index.tsx
|
|
9042
|
-
import { cva as cva10 } from "
|
|
9052
|
+
import { cva as cva10 } from "cva";
|
|
9043
9053
|
import clsx15 from "clsx";
|
|
9044
9054
|
import { flushSync } from "react-dom";
|
|
9045
9055
|
import { Fragment as Fragment9, jsx as jsx172, jsxs as jsxs115 } from "react/jsx-runtime";
|
|
9046
|
-
var defaultTextfieldVariants = cva10(
|
|
9056
|
+
var defaultTextfieldVariants = cva10({
|
|
9057
|
+
base: style_module_default13.textfield,
|
|
9047
9058
|
variants: {
|
|
9048
9059
|
color: {
|
|
9049
9060
|
"neutral-container-mid": style_module_default13.gray,
|