@liner-fe/prism 1.12.32 → 1.12.34

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/index.mjs CHANGED
@@ -6893,6 +6893,7 @@ import { useEffect, useRef, useState } from "react";
6893
6893
 
6894
6894
  // src/components/Typography/Set/Paragraph.tsx
6895
6895
  import clsx3 from "clsx";
6896
+ import { forwardRef as forwardRef2 } from "react";
6896
6897
 
6897
6898
  // src/components/Typography/utils.ts
6898
6899
  import { cva as cva3 } from "class-variance-authority";
@@ -6934,24 +6935,19 @@ var colorVariants = cva3(style_module_default4.typography, {
6934
6935
 
6935
6936
  // src/components/Typography/Set/Paragraph.tsx
6936
6937
  import { jsx as jsx139 } from "react/jsx-runtime";
6937
- var Paragraph = /* @__PURE__ */ __name(({
6938
- size,
6939
- type,
6940
- weight,
6941
- className,
6942
- children,
6943
- color = "neutral-label-primary",
6944
- ...rest
6945
- }) => {
6946
- return /* @__PURE__ */ jsx139(
6947
- "p",
6948
- {
6949
- ...rest,
6950
- className: clsx3(`lp-sys-typo-paragraph${size}-${type}-${weight}`, colorVariants({ type: color }), className),
6951
- children
6952
- }
6953
- );
6954
- }, "Paragraph");
6938
+ var Paragraph = forwardRef2(
6939
+ ({ size, type, weight, className, children, color = "neutral-label-primary", ...rest }, ref) => {
6940
+ return /* @__PURE__ */ jsx139(
6941
+ "p",
6942
+ {
6943
+ ...rest,
6944
+ className: clsx3(`lp-sys-typo-paragraph${size}-${type}-${weight}`, colorVariants({ type: color }), className),
6945
+ ref,
6946
+ children
6947
+ }
6948
+ );
6949
+ }
6950
+ );
6955
6951
 
6956
6952
  // src/components/Toast/index.tsx
6957
6953
  import { useRecoilValue, useSetRecoilState as useSetRecoilState2 } from "recoil";
@@ -7026,97 +7022,82 @@ var SingleToast = /* @__PURE__ */ __name((props) => {
7026
7022
  }, "SingleToast");
7027
7023
 
7028
7024
  // src/components/Typography/Set/Heading.tsx
7025
+ import { forwardRef as forwardRef3 } from "react";
7029
7026
  import clsx4 from "clsx";
7030
7027
  import { jsx as jsx141 } from "react/jsx-runtime";
7031
- var Heading = /* @__PURE__ */ __name(({
7032
- size,
7033
- children,
7034
- type,
7035
- className,
7036
- color = "neutral-label-primary",
7037
- ...rest
7038
- }) => {
7039
- const Element = `h${size}`;
7040
- return /* @__PURE__ */ jsx141(
7041
- Element,
7042
- {
7043
- ...rest,
7044
- className: clsx4(`lp-sys-typo-heading${size}-${type}`, colorVariants({ type: color }), className),
7045
- children
7046
- }
7047
- );
7048
- }, "Heading");
7028
+ var Heading = forwardRef3(
7029
+ ({ size, children, type, className, color = "neutral-label-primary", ...rest }, ref) => {
7030
+ const Element = `h${size}`;
7031
+ return /* @__PURE__ */ jsx141(
7032
+ Element,
7033
+ {
7034
+ ...rest,
7035
+ className: clsx4(`lp-sys-typo-heading${size}-${type}`, colorVariants({ type: color }), className),
7036
+ ref,
7037
+ children
7038
+ }
7039
+ );
7040
+ }
7041
+ );
7049
7042
 
7050
7043
  // src/components/Typography/Set/Caption.tsx
7051
7044
  import clsx5 from "clsx";
7045
+ import { forwardRef as forwardRef4 } from "react";
7052
7046
  import { jsx as jsx142 } from "react/jsx-runtime";
7053
- var Caption = /* @__PURE__ */ __name(({
7054
- children,
7055
- size,
7056
- weight,
7057
- type,
7058
- className,
7059
- color = "neutral-label-primary",
7060
- ...rest
7061
- }) => {
7062
- return /* @__PURE__ */ jsx142(
7063
- "p",
7064
- {
7065
- ...rest,
7066
- className: clsx5(
7067
- `lp-sys-typo-caption${size}-${type}-${weight}`,
7068
- style_module_default4.caption,
7069
- colorVariants({ type: color }),
7070
- className
7071
- ),
7072
- children
7073
- }
7074
- );
7075
- }, "Caption");
7047
+ var Caption = forwardRef4(
7048
+ ({ children, size, weight, type, className, color = "neutral-label-primary", ...rest }, ref) => {
7049
+ return /* @__PURE__ */ jsx142(
7050
+ "p",
7051
+ {
7052
+ ...rest,
7053
+ className: clsx5(
7054
+ `lp-sys-typo-caption${size}-${type}-${weight}`,
7055
+ style_module_default4.caption,
7056
+ colorVariants({ type: color }),
7057
+ className
7058
+ ),
7059
+ ref,
7060
+ children
7061
+ }
7062
+ );
7063
+ }
7064
+ );
7076
7065
 
7077
7066
  // src/components/Typography/Set/Title.tsx
7067
+ import { forwardRef as forwardRef5 } from "react";
7078
7068
  import clsx6 from "clsx";
7079
7069
  import { jsx as jsx143 } from "react/jsx-runtime";
7080
- var Title2 = /* @__PURE__ */ __name(({
7081
- weight,
7082
- size,
7083
- type,
7084
- className,
7085
- children,
7086
- color = "neutral-label-primary",
7087
- ...rest
7088
- }) => {
7089
- return /* @__PURE__ */ jsx143(
7090
- "p",
7091
- {
7092
- ...rest,
7093
- className: clsx6(`lp-sys-typo-title${size}-${type}-${weight}`, colorVariants({ type: color }), className),
7094
- children
7095
- }
7096
- );
7097
- }, "Title");
7070
+ var Title2 = forwardRef5(
7071
+ ({ weight, size, type, className, children, color = "neutral-label-primary", ...rest }, ref) => {
7072
+ return /* @__PURE__ */ jsx143(
7073
+ "p",
7074
+ {
7075
+ ...rest,
7076
+ className: clsx6(`lp-sys-typo-title${size}-${type}-${weight}`, colorVariants({ type: color }), className),
7077
+ ref,
7078
+ children
7079
+ }
7080
+ );
7081
+ }
7082
+ );
7098
7083
 
7099
7084
  // src/components/Typography/Set/Display.tsx
7100
7085
  import clsx7 from "clsx";
7086
+ import { forwardRef as forwardRef6 } from "react";
7101
7087
  import { jsx as jsx144 } from "react/jsx-runtime";
7102
- var Display = /* @__PURE__ */ __name(({
7103
- size,
7104
- type,
7105
- weight,
7106
- className,
7107
- children,
7108
- color = "neutral-label-primary",
7109
- ...rest
7110
- }) => {
7111
- return /* @__PURE__ */ jsx144(
7112
- "p",
7113
- {
7114
- ...rest,
7115
- className: clsx7(`lp-sys-typo-display${size}-${type}-${weight}`, colorVariants({ type: color }), className),
7116
- children
7117
- }
7118
- );
7119
- }, "Display");
7088
+ var Display = forwardRef6(
7089
+ ({ size, type, weight, className, children, color = "neutral-label-primary", ...rest }, ref) => {
7090
+ return /* @__PURE__ */ jsx144(
7091
+ "p",
7092
+ {
7093
+ ref,
7094
+ ...rest,
7095
+ className: clsx7(`lp-sys-typo-display${size}-${type}-${weight}`, colorVariants({ type: color }), className),
7096
+ children
7097
+ }
7098
+ );
7099
+ }
7100
+ );
7120
7101
 
7121
7102
  // src/components/Typography/Responsive/index.tsx
7122
7103
  import { createMedia } from "@artsy/fresnel";
@@ -7133,7 +7114,7 @@ var rootMediaStyle = AppMedia.createMediaStyle();
7133
7114
  var { Media, MediaContextProvider } = AppMedia;
7134
7115
 
7135
7116
  // src/components/Popover/index.tsx
7136
- import * as React from "react";
7117
+ import * as React3 from "react";
7137
7118
  import * as PopoverPrimitive from "@radix-ui/react-popover";
7138
7119
 
7139
7120
  // src/components/Popover/style.module.scss
@@ -7200,7 +7181,7 @@ var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ js
7200
7181
  )
7201
7182
  }
7202
7183
  ), "PopoverAnchor");
7203
- var PopoverContent = React.forwardRef(
7184
+ var PopoverContent = React3.forwardRef(
7204
7185
  ({
7205
7186
  level = "primary",
7206
7187
  position = "top",
@@ -7267,7 +7248,7 @@ var Popover = Object.assign(PopoverRoot, {
7267
7248
 
7268
7249
  // src/components/Tooltip/index.tsx
7269
7250
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
7270
- import { forwardRef as forwardRef3 } from "react";
7251
+ import { forwardRef as forwardRef8 } from "react";
7271
7252
 
7272
7253
  // src/components/Tooltip/style.module.scss
7273
7254
  var style_module_default6 = {
@@ -7284,7 +7265,7 @@ var tooltipVariants = cva5([style_module_default6.tooltip, "lp-sys-typo-caption1
7284
7265
  var TooltipProvider = TooltipPrimitive.Provider;
7285
7266
  var TooltipRoot = /* @__PURE__ */ __name(({ children }) => /* @__PURE__ */ jsx146(TooltipPrimitive.Root, { delayDuration: 0, children }), "TooltipRoot");
7286
7267
  var TooltipTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx146(TooltipPrimitive.Trigger, { asChild: true, children: by }), "TooltipTrigger");
7287
- var TooltipContent = forwardRef3(
7268
+ var TooltipContent = forwardRef8(
7288
7269
  ({ description, position = "top", className, offset = DEFAULT_OFFSET2, ...props }, ref) => /* @__PURE__ */ jsx146(
7289
7270
  TooltipPrimitive.Content,
7290
7271
  {
@@ -7305,7 +7286,7 @@ var Tooltip = Object.assign(TooltipRoot, {
7305
7286
 
7306
7287
  // src/components/IconButton/index.tsx
7307
7288
  import { cva as cva6 } from "class-variance-authority";
7308
- import { forwardRef as forwardRef4 } from "react";
7289
+ import { forwardRef as forwardRef9 } from "react";
7309
7290
  import clsx10 from "clsx";
7310
7291
 
7311
7292
  // src/components/IconButton/style.module.scss
@@ -7358,7 +7339,7 @@ var iconButtonVariants = cva6([style_module_default7.iconButton], {
7358
7339
  }
7359
7340
  }
7360
7341
  });
7361
- var IconButton = forwardRef4(
7342
+ var IconButton = forwardRef9(
7362
7343
  ({ asChild, level = "primary", name, thick = false, fill = false, size = "m", className, ...rest }, ref) => {
7363
7344
  const Comp = asChild ? Slot2 : "button";
7364
7345
  return /* @__PURE__ */ jsx147(Comp, { ...rest, className: clsx10(iconButtonVariants({ level, size }), className), ref, children: /* @__PURE__ */ jsx147(
@@ -7386,36 +7367,34 @@ var style_module_default8 = {
7386
7367
  };
7387
7368
 
7388
7369
  // src/components/CheckBox/index.tsx
7389
- import { forwardRef as forwardRef6 } from "react";
7370
+ import { forwardRef as forwardRef11 } from "react";
7390
7371
  import clsx12 from "clsx";
7391
7372
 
7392
7373
  // src/components/_Label/index.tsx
7393
- import { forwardRef as forwardRef5 } from "react";
7374
+ import { forwardRef as forwardRef10 } from "react";
7394
7375
  import * as LabelPrimitive from "@radix-ui/react-label";
7395
7376
  import clsx11 from "clsx";
7396
7377
 
7397
7378
  // src/components/_Label/style.module.scss
7398
7379
  var style_module_default9 = {
7399
- "label-wrapper": "_label-wrapper_ayib1_1",
7400
- "label": "_label_ayib1_1",
7401
- "error": "_error_ayib1_21",
7402
- "primary": "_primary_ayib1_25",
7403
- "secondary": "_secondary_ayib1_36",
7404
- "top": "_top_ayib1_47",
7405
- "l": "_l_ayib1_1",
7406
- "offset-high": "_offset-high_ayib1_50",
7407
- "offset-medium": "_offset-medium_ayib1_53",
7408
- "offset-low": "_offset-low_ayib1_56",
7409
- "m": "_m_ayib1_59",
7410
- "s": "_s_ayib1_36",
7411
- "right": "_right_ayib1_78",
7412
- "disabled": "_disabled_ayib1_100",
7413
- "label-chip": "_label-chip_ayib1_105"
7380
+ "label": "_label_10wug_1",
7381
+ "error": "_error_10wug_15",
7382
+ "primary": "_primary_10wug_19",
7383
+ "secondary": "_secondary_10wug_30",
7384
+ "top": "_top_10wug_41",
7385
+ "l": "_l_10wug_1",
7386
+ "offset-high": "_offset-high_10wug_44",
7387
+ "offset-medium": "_offset-medium_10wug_47",
7388
+ "offset-low": "_offset-low_10wug_50",
7389
+ "m": "_m_10wug_53",
7390
+ "s": "_s_10wug_30",
7391
+ "right": "_right_10wug_72",
7392
+ "disabled": "_disabled_10wug_94"
7414
7393
  };
7415
7394
 
7416
7395
  // src/components/_Label/index.tsx
7417
7396
  import { cva as cva7 } from "class-variance-authority";
7418
- import { jsx as jsx148, jsxs as jsxs102 } from "react/jsx-runtime";
7397
+ import { jsx as jsx148 } from "react/jsx-runtime";
7419
7398
  var defaultLabelVariants = cva7(["lp-sys-typo-paragraph2-normal-medium", style_module_default9.label], {
7420
7399
  variants: {
7421
7400
  level: {
@@ -7444,7 +7423,7 @@ var defaultLabelVariants = cva7(["lp-sys-typo-paragraph2-normal-medium", style_m
7444
7423
  }
7445
7424
  }
7446
7425
  });
7447
- var Label = forwardRef5(
7426
+ var Label = forwardRef10(
7448
7427
  ({
7449
7428
  className,
7450
7429
  level = "primary",
@@ -7453,29 +7432,25 @@ var Label = forwardRef5(
7453
7432
  offset = "medium",
7454
7433
  disabled = false,
7455
7434
  error = false,
7456
- chip,
7457
7435
  ...props
7458
7436
  }, ref) => {
7459
- return /* @__PURE__ */ jsxs102("div", { className: style_module_default9["label-wrapper"], children: [
7460
- /* @__PURE__ */ jsx148(
7461
- LabelPrimitive.Root,
7462
- {
7463
- ref,
7464
- className: clsx11(defaultLabelVariants({ level, position, size, offset, disabled, error }), className),
7465
- ...props
7466
- }
7467
- ),
7468
- chip && /* @__PURE__ */ jsx148(Caption, { size: 2, type: "normal", weight: "medium", className: style_module_default9["label-chip"], children: chip })
7469
- ] });
7437
+ return /* @__PURE__ */ jsx148(
7438
+ LabelPrimitive.Root,
7439
+ {
7440
+ ref,
7441
+ className: clsx11(defaultLabelVariants({ level, position, size, offset, disabled, error }), className),
7442
+ ...props
7443
+ }
7444
+ );
7470
7445
  }
7471
7446
  );
7472
7447
 
7473
7448
  // src/components/CheckBox/index.tsx
7474
- import { Fragment as Fragment3, jsx as jsx149, jsxs as jsxs103 } from "react/jsx-runtime";
7475
- var Checkbox = forwardRef6(
7449
+ import { Fragment as Fragment3, jsx as jsx149, jsxs as jsxs102 } from "react/jsx-runtime";
7450
+ var Checkbox = forwardRef11(
7476
7451
  ({ className, label, description, ...props }, ref) => {
7477
- const CheckboxWrapper = /* @__PURE__ */ __name(({ children }) => label ? /* @__PURE__ */ jsxs103(Label, { position: "right", htmlFor: props.id, children: [
7478
- /* @__PURE__ */ jsxs103("div", { className: style_module_default8["label-wrapper"], children: [
7452
+ const CheckboxWrapper = /* @__PURE__ */ __name(({ children }) => label ? /* @__PURE__ */ jsxs102(Label, { position: "right", htmlFor: props.id, children: [
7453
+ /* @__PURE__ */ jsxs102("div", { className: style_module_default8["label-wrapper"], children: [
7479
7454
  label,
7480
7455
  /* @__PURE__ */ jsx149(Paragraph, { className: style_module_default8.description, size: 3, type: "normal", weight: "regular", children: description })
7481
7456
  ] }),
@@ -7488,7 +7463,7 @@ var Checkbox = forwardRef6(
7488
7463
  // src/components/Radio/index.tsx
7489
7464
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
7490
7465
  import clsx13 from "clsx";
7491
- import { forwardRef as forwardRef7 } from "react";
7466
+ import { forwardRef as forwardRef12 } from "react";
7492
7467
 
7493
7468
  // src/components/Radio/style.module.scss
7494
7469
  var style_module_default10 = {
@@ -7500,13 +7475,13 @@ var style_module_default10 = {
7500
7475
  };
7501
7476
 
7502
7477
  // src/components/Radio/index.tsx
7503
- import { Fragment as Fragment4, jsx as jsx150, jsxs as jsxs104 } from "react/jsx-runtime";
7478
+ import { Fragment as Fragment4, jsx as jsx150, jsxs as jsxs103 } from "react/jsx-runtime";
7504
7479
  var RadioIndicator = /* @__PURE__ */ __name(() => /* @__PURE__ */ jsx150("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", children: /* @__PURE__ */ jsx150("circle", { cx: "5", cy: "5", r: "5", fill: "#313133" }) }), "RadioIndicator");
7505
- var RadioRoot = forwardRef7(({ className, ...props }, ref) => /* @__PURE__ */ jsx150(RadioGroupPrimitive.Root, { className: clsx13(style_module_default10.radio, className), ...props }));
7506
- var RadioItem = forwardRef7(
7480
+ var RadioRoot = forwardRef12(({ className, ...props }, ref) => /* @__PURE__ */ jsx150(RadioGroupPrimitive.Root, { className: clsx13(style_module_default10.radio, className), ...props }));
7481
+ var RadioItem = forwardRef12(
7507
7482
  ({ className, label, description, ...props }, ref) => {
7508
- const RadioItemWrapper = /* @__PURE__ */ __name(({ children }) => label ? /* @__PURE__ */ jsxs104(Label, { position: "right", htmlFor: props.id, children: [
7509
- /* @__PURE__ */ jsxs104("div", { className: style_module_default10["label-wrapper"], children: [
7483
+ const RadioItemWrapper = /* @__PURE__ */ __name(({ children }) => label ? /* @__PURE__ */ jsxs103(Label, { position: "right", htmlFor: props.id, children: [
7484
+ /* @__PURE__ */ jsxs103("div", { className: style_module_default10["label-wrapper"], children: [
7510
7485
  label,
7511
7486
  /* @__PURE__ */ jsx150(Paragraph, { className: style_module_default10.description, size: 3, type: "normal", weight: "regular", children: description })
7512
7487
  ] }),
@@ -7521,7 +7496,7 @@ var Radio = Object.assign(RadioRoot, {
7521
7496
 
7522
7497
  // src/components/Textfield/index.tsx
7523
7498
  import {
7524
- forwardRef as forwardRef8,
7499
+ forwardRef as forwardRef13,
7525
7500
  useId,
7526
7501
  useImperativeHandle,
7527
7502
  useRef as useRef2,
@@ -7553,7 +7528,7 @@ var style_module_default11 = {
7553
7528
  // src/components/Textfield/index.tsx
7554
7529
  import { cva as cva8 } from "class-variance-authority";
7555
7530
  import clsx14 from "clsx";
7556
- import { Fragment as Fragment5, jsx as jsx151, jsxs as jsxs105 } from "react/jsx-runtime";
7531
+ import { Fragment as Fragment5, jsx as jsx151, jsxs as jsxs104 } from "react/jsx-runtime";
7557
7532
  var defaultTextfieldVariants = cva8(style_module_default11.textfield, {
7558
7533
  variants: {
7559
7534
  color: {
@@ -7562,7 +7537,7 @@ var defaultTextfieldVariants = cva8(style_module_default11.textfield, {
7562
7537
  }
7563
7538
  }
7564
7539
  });
7565
- var Textfield = forwardRef8((props, ref) => {
7540
+ var Textfield = forwardRef13((props, ref) => {
7566
7541
  const {
7567
7542
  id = useId(),
7568
7543
  type,
@@ -7612,7 +7587,7 @@ var Textfield = forwardRef8((props, ref) => {
7612
7587
  }
7613
7588
  }, "handleDeidentify");
7614
7589
  useImperativeHandle(ref, () => inputRef.current);
7615
- return /* @__PURE__ */ jsxs105("div", { className: style_module_default11["textfield-container"], children: [
7590
+ return /* @__PURE__ */ jsxs104("div", { className: style_module_default11["textfield-container"], children: [
7616
7591
  /* @__PURE__ */ jsx151(
7617
7592
  "div",
7618
7593
  {
@@ -7621,7 +7596,7 @@ var Textfield = forwardRef8((props, ref) => {
7621
7596
  [style_module_default11["label-out-textfield"]]: labelType === "out"
7622
7597
  }),
7623
7598
  onClick: handleTextfieldClick,
7624
- children: /* @__PURE__ */ jsxs105("div", { className: style_module_default11["input-wrapper"], children: [
7599
+ children: /* @__PURE__ */ jsxs104("div", { className: style_module_default11["input-wrapper"], children: [
7625
7600
  /* @__PURE__ */ jsx151(
7626
7601
  "input",
7627
7602
  {
@@ -7649,7 +7624,7 @@ var Textfield = forwardRef8((props, ref) => {
7649
7624
  children: labelText
7650
7625
  }
7651
7626
  ),
7652
- /* @__PURE__ */ jsxs105("div", { className: style_module_default11["input-action-buttons"], children: [
7627
+ /* @__PURE__ */ jsxs104("div", { className: style_module_default11["input-action-buttons"], children: [
7653
7628
  textfieldValue && !disabled && /* @__PURE__ */ jsx151(
7654
7629
  IconButton,
7655
7630
  {
@@ -7681,12 +7656,12 @@ var Textfield = forwardRef8((props, ref) => {
7681
7656
  ] })
7682
7657
  }
7683
7658
  ),
7684
- displayFooter && /* @__PURE__ */ jsxs105("div", { className: style_module_default11.footer, children: [
7685
- /* @__PURE__ */ jsx151("div", { className: style_module_default11["error-wrapper"], children: error && /* @__PURE__ */ jsxs105(Fragment5, { children: [
7659
+ displayFooter && /* @__PURE__ */ jsxs104("div", { className: style_module_default11.footer, children: [
7660
+ /* @__PURE__ */ jsx151("div", { className: style_module_default11["error-wrapper"], children: error && /* @__PURE__ */ jsxs104(Fragment5, { children: [
7686
7661
  /* @__PURE__ */ jsx151(Icon, { name: "exclamationmark-fill", fill: true, thick: true, size: "xs", type: "function-label-negative" }),
7687
7662
  /* @__PURE__ */ jsx151(Caption, { size: 3, type: "normal", weight: "regular", className: style_module_default11["error-message"], children: error })
7688
7663
  ] }) }),
7689
- maxCharacter && /* @__PURE__ */ jsxs105(Caption, { className: style_module_default11.character, size: 3, type: "normal", weight: "regular", children: [
7664
+ maxCharacter && /* @__PURE__ */ jsxs104(Caption, { className: style_module_default11.character, size: 3, type: "normal", weight: "regular", children: [
7690
7665
  isControlled ? controlledValue.length : value.length,
7691
7666
  "/",
7692
7667
  maxCharacter
@@ -7696,7 +7671,7 @@ var Textfield = forwardRef8((props, ref) => {
7696
7671
  });
7697
7672
 
7698
7673
  // src/components/Slider/index.tsx
7699
- import { forwardRef as forwardRef9 } from "react";
7674
+ import { forwardRef as forwardRef14 } from "react";
7700
7675
 
7701
7676
  // src/components/Slider/style.module.scss
7702
7677
  var style_module_default12 = {
@@ -7713,27 +7688,27 @@ var style_module_default12 = {
7713
7688
 
7714
7689
  // src/components/Slider/index.tsx
7715
7690
  import * as SliderPrimitive from "@radix-ui/react-slider";
7716
- import { Fragment as Fragment6, jsx as jsx152, jsxs as jsxs106 } from "react/jsx-runtime";
7717
- var SliderRoot = forwardRef9((props, ref) => {
7691
+ import { Fragment as Fragment6, jsx as jsx152, jsxs as jsxs105 } from "react/jsx-runtime";
7692
+ var SliderRoot = forwardRef14((props, ref) => {
7718
7693
  const { label, tooltip, rangeLeft, rangeRight, min, max, step = 50, ...rest } = props;
7719
- return /* @__PURE__ */ jsx152(Fragment6, { children: /* @__PURE__ */ jsxs106(Tooltip.Provider, { children: [
7694
+ return /* @__PURE__ */ jsx152(Fragment6, { children: /* @__PURE__ */ jsxs105(Tooltip.Provider, { children: [
7720
7695
  /* @__PURE__ */ jsx152(Label, { level: "secondary", size: "m", offset: "high", className: style_module_default12.label, children: label }),
7721
- /* @__PURE__ */ jsxs106("div", { className: style_module_default12["slider-wrapper"], children: [
7722
- /* @__PURE__ */ jsxs106("div", { className: style_module_default12["slider-option-wrapper"], children: [
7696
+ /* @__PURE__ */ jsxs105("div", { className: style_module_default12["slider-wrapper"], children: [
7697
+ /* @__PURE__ */ jsxs105("div", { className: style_module_default12["slider-option-wrapper"], children: [
7723
7698
  /* @__PURE__ */ jsx152(Icon, { name: rangeLeft.icon, size: "xs" }),
7724
7699
  /* @__PURE__ */ jsx152(Caption, { size: 1, type: "normal", weight: "medium", className: style_module_default12.optionText, children: rangeLeft.text })
7725
7700
  ] }),
7726
- /* @__PURE__ */ jsxs106(SliderPrimitive.Root, { ...rest, step, className: style_module_default12["slider-root"], ref, children: [
7727
- /* @__PURE__ */ jsxs106(SliderPrimitive.Track, { className: style_module_default12["slider-track"], children: [
7701
+ /* @__PURE__ */ jsxs105(SliderPrimitive.Root, { ...rest, step, className: style_module_default12["slider-root"], ref, children: [
7702
+ /* @__PURE__ */ jsxs105(SliderPrimitive.Track, { className: style_module_default12["slider-track"], children: [
7728
7703
  Array.from({ length: 100 / step + 1 }).map((_, index) => /* @__PURE__ */ jsx152("span", { className: style_module_default12["slider-step"] }, index)),
7729
7704
  /* @__PURE__ */ jsx152(SliderPrimitive.Range, { className: style_module_default12["slider-range"] })
7730
7705
  ] }),
7731
- /* @__PURE__ */ jsxs106(Tooltip, { children: [
7706
+ /* @__PURE__ */ jsxs105(Tooltip, { children: [
7732
7707
  /* @__PURE__ */ jsx152(Tooltip.Trigger, { by: /* @__PURE__ */ jsx152(SliderPrimitive.Thumb, { className: style_module_default12["slider-thumb"] }) }),
7733
7708
  /* @__PURE__ */ jsx152(Tooltip.Content, { description: tooltip })
7734
7709
  ] })
7735
7710
  ] }),
7736
- /* @__PURE__ */ jsxs106("div", { className: style_module_default12["slider-option-wrapper"], children: [
7711
+ /* @__PURE__ */ jsxs105("div", { className: style_module_default12["slider-option-wrapper"], children: [
7737
7712
  /* @__PURE__ */ jsx152(Icon, { name: rangeRight.icon, size: "xs" }),
7738
7713
  /* @__PURE__ */ jsx152(Caption, { size: 1, type: "normal", weight: "medium", className: style_module_default12.optionText, children: rangeRight.text })
7739
7714
  ] })
@@ -7770,10 +7745,10 @@ var style_module_default13 = {
7770
7745
  };
7771
7746
 
7772
7747
  // src/components/Select/index.tsx
7773
- import { forwardRef as forwardRef10, useEffect as useEffect2, useState as useState4 } from "react";
7748
+ import { forwardRef as forwardRef15, useEffect as useEffect2, useState as useState4 } from "react";
7774
7749
  import clsx15 from "clsx";
7775
- import { Fragment as Fragment7, jsx as jsx153, jsxs as jsxs107 } from "react/jsx-runtime";
7776
- var SelectContent = forwardRef10((props, ref) => {
7750
+ import { Fragment as Fragment7, jsx as jsx153, jsxs as jsxs106 } from "react/jsx-runtime";
7751
+ var SelectContent = forwardRef15((props, ref) => {
7777
7752
  const { id, isResponsive, popSide, sideOffset, listLabel, children } = props;
7778
7753
  return /* @__PURE__ */ jsx153(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx153(
7779
7754
  SelectPrimitive.Content,
@@ -7797,8 +7772,8 @@ var SelectContent = forwardRef10((props, ref) => {
7797
7772
  side: popSide,
7798
7773
  sideOffset,
7799
7774
  avoidCollisions: false,
7800
- children: /* @__PURE__ */ jsxs107(ScrollArea.Root, { className: style_module_default13.scrollAreaRoot, type: "always", children: [
7801
- /* @__PURE__ */ jsx153(SelectPrimitive.Viewport, { asChild: true, children: /* @__PURE__ */ jsx153(ScrollArea.Viewport, { className: style_module_default13.scrollAreaViewport, style: { overflowY: void 0 }, children: /* @__PURE__ */ jsxs107(SelectPrimitive.Group, { children: [
7775
+ children: /* @__PURE__ */ jsxs106(ScrollArea.Root, { className: style_module_default13.scrollAreaRoot, type: "always", children: [
7776
+ /* @__PURE__ */ jsx153(SelectPrimitive.Viewport, { asChild: true, children: /* @__PURE__ */ jsx153(ScrollArea.Viewport, { className: style_module_default13.scrollAreaViewport, style: { overflowY: void 0 }, children: /* @__PURE__ */ jsxs106(SelectPrimitive.Group, { children: [
7802
7777
  /* @__PURE__ */ jsx153(SelectPrimitive.Label, { asChild: true, children: /* @__PURE__ */ jsx153(Label, { className: style_module_default13["desktop-label"], level: "secondary", size: "m", offset: "low", children: listLabel }) }),
7803
7778
  children
7804
7779
  ] }) }) }),
@@ -7807,12 +7782,12 @@ var SelectContent = forwardRef10((props, ref) => {
7807
7782
  }
7808
7783
  ) });
7809
7784
  });
7810
- var SelectRoot = forwardRef10((props, ref) => {
7785
+ var SelectRoot = forwardRef15((props, ref) => {
7811
7786
  const {
7812
7787
  id,
7813
7788
  placeholder,
7814
7789
  label,
7815
- labelChip,
7790
+ chip,
7816
7791
  listLabel,
7817
7792
  popSide = "top",
7818
7793
  sideOffset = 6,
@@ -7828,9 +7803,9 @@ var SelectRoot = forwardRef10((props, ref) => {
7828
7803
  useEffect2(() => {
7829
7804
  setIsOpen(open);
7830
7805
  }, [open]);
7831
- return /* @__PURE__ */ jsxs107(Fragment7, { children: [
7832
- /* @__PURE__ */ jsx153(Label, { className: style_module_default13["select-label"], level: "secondary", size: "m", offset: "low", htmlFor: id, chip: labelChip, children: label }),
7833
- /* @__PURE__ */ jsxs107(
7806
+ return /* @__PURE__ */ jsxs106(Fragment7, { children: [
7807
+ /* @__PURE__ */ jsx153(Label, { className: style_module_default13["select-label"], level: "secondary", size: "m", offset: "low", htmlFor: id, children: label }),
7808
+ /* @__PURE__ */ jsxs106(
7834
7809
  SelectPrimitive.Root,
7835
7810
  {
7836
7811
  ...rest,
@@ -7840,7 +7815,7 @@ var SelectRoot = forwardRef10((props, ref) => {
7840
7815
  setIsOpen(open2);
7841
7816
  },
7842
7817
  children: [
7843
- /* @__PURE__ */ jsxs107(SelectPrimitive.Trigger, { className: style_module_default13.trigger, ref, id, children: [
7818
+ /* @__PURE__ */ jsxs106(SelectPrimitive.Trigger, { className: style_module_default13.trigger, ref, id, children: [
7844
7819
  /* @__PURE__ */ jsx153(SelectPrimitive.Value, { className: style_module_default13.placeholder, placeholder }),
7845
7820
  /* @__PURE__ */ jsx153(SelectPrimitive.Icon, { className: style_module_default13.openIcon, children: /* @__PURE__ */ jsx153(Icon, { name: "arrow-drop-down", fill: true, thick: true, size: "xs" }) })
7846
7821
  ] }),
@@ -7850,7 +7825,7 @@ var SelectRoot = forwardRef10((props, ref) => {
7850
7825
  )
7851
7826
  ] });
7852
7827
  });
7853
- var SelectItem = /* @__PURE__ */ __name(({ value, disabled, icon, onClick }) => /* @__PURE__ */ jsxs107(
7828
+ var SelectItem = /* @__PURE__ */ __name(({ value, disabled, icon, onClick }) => /* @__PURE__ */ jsxs106(
7854
7829
  SelectPrimitive.Item,
7855
7830
  {
7856
7831
  className: style_module_default13.item,