@liner-fe/prism 1.12.46 → 1.12.48

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.
@@ -14,10 +14,11 @@ export interface SelectProps extends ComponentPropsWithoutRef<typeof SelectPrimi
14
14
  }
15
15
  export interface SelectItemProps {
16
16
  value: string;
17
+ text?: string;
17
18
  disabled?: boolean;
18
19
  icon?: IconProps;
19
20
  onClick?: () => void;
20
21
  }
21
22
  export declare const Select: import("react").ForwardRefExoticComponent<SelectProps & import("react").RefAttributes<never>> & {
22
- Item: ({ value, disabled, icon, onClick }: SelectItemProps) => import("react/jsx-runtime").JSX.Element;
23
+ Item: ({ value, text, disabled, icon, onClick }: SelectItemProps) => import("react/jsx-runtime").JSX.Element;
23
24
  };
@@ -3,5 +3,3 @@ export * from './Set/Caption';
3
3
  export * from './Set/Paragraph';
4
4
  export * from './Set/Title';
5
5
  export * from './Set/Display';
6
- export * from './Responsive';
7
- export * from './Responsive/lib';
package/lib/index.mjs CHANGED
@@ -7219,96 +7219,6 @@ var Display = forwardRef6(
7219
7219
  }
7220
7220
  );
7221
7221
 
7222
- // src/components/Typography/Responsive/lib.ts
7223
- import { createMedia } from "@artsy/fresnel";
7224
- import { breakpoint } from "@liner-fe/design-token";
7225
-
7226
- // src/components/Typography/Responsive/constant.ts
7227
- var breakPointKeyArray = ["xs", "s", "m", "l", "xl", "xxl", "xxxl"];
7228
-
7229
- // src/components/Typography/Responsive/lib.ts
7230
- var removePx = /* @__PURE__ */ __name((breakPoint) => {
7231
- return +breakPoint.replace("px", "");
7232
- }, "removePx");
7233
- var AppMedia = createMedia({
7234
- breakpoints: breakPointKeyArray.reduce((acc, key) => {
7235
- acc[key] = removePx(breakpoint[`lp-pri-breakpoint-${key}`]);
7236
- return acc;
7237
- }, {})
7238
- });
7239
- var rootMediaStyle = AppMedia.createMediaStyle();
7240
- var { MediaContextProvider, Media } = AppMedia;
7241
-
7242
- // src/components/Typography/Responsive/index.tsx
7243
- import { Fragment as Fragment3, jsx as jsx148 } from "react/jsx-runtime";
7244
- import { createElement as createElement2 } from "react";
7245
- var TypographyImpl = /* @__PURE__ */ __name(({ level, text, ...rest }) => {
7246
- const commonProps = {
7247
- ...rest,
7248
- children: text
7249
- };
7250
- switch (level) {
7251
- case "caption":
7252
- return /* @__PURE__ */ jsx148(Caption, { ...commonProps });
7253
- case "display":
7254
- return /* @__PURE__ */ jsx148(Display, { ...commonProps });
7255
- case "heading":
7256
- return /* @__PURE__ */ jsx148(Heading, { ...commonProps });
7257
- case "paragraph":
7258
- return /* @__PURE__ */ jsx148(Paragraph, { ...commonProps });
7259
- case "title":
7260
- return /* @__PURE__ */ jsx148(Title2, { ...commonProps });
7261
- default:
7262
- return null;
7263
- }
7264
- }, "TypographyImpl");
7265
- var Typography = /* @__PURE__ */ __name((props) => {
7266
- const { children } = props;
7267
- const createMediaProps = /* @__PURE__ */ __name((current) => {
7268
- let returnValue = {};
7269
- breakPointKeyArray.forEach((breakPointKey, idx, originArray) => {
7270
- const isFoundCurrentBreakPointKey = current === breakPointKey;
7271
- if (isFoundCurrentBreakPointKey) {
7272
- const lagerCurrentBreakPointKeyArray = originArray.slice(idx + 1);
7273
- const isEmptyLagerCurrentBreakPointKeyArray = lagerCurrentBreakPointKeyArray.length === 0;
7274
- if (isEmptyLagerCurrentBreakPointKeyArray) {
7275
- returnValue = { greaterThanOrEqual: current };
7276
- } else {
7277
- lagerCurrentBreakPointKeyArray.forEach((lagerCurrentBreakPointKey, idx2, originArray2) => {
7278
- const isExistReturnValue = !isEmptyObject(returnValue);
7279
- const isEarlyReturn = isExistReturnValue;
7280
- if (isEarlyReturn) {
7281
- return;
7282
- }
7283
- const isExistLagerCurrentBreakPoint = !!props[lagerCurrentBreakPointKey];
7284
- if (isExistLagerCurrentBreakPoint) {
7285
- returnValue = { between: [current, lagerCurrentBreakPointKey] };
7286
- return;
7287
- }
7288
- const isLast = idx2 === originArray2.length - 1;
7289
- if (isLast) {
7290
- returnValue = { greaterThanOrEqual: current };
7291
- return;
7292
- }
7293
- });
7294
- }
7295
- }
7296
- });
7297
- return returnValue;
7298
- }, "createMediaProps");
7299
- return (
7300
- // Fragment없이도 원래 동작해야하는데 liner-web에서 JSX.Element가 배열로 오면 에러 띄워서 임시로 Fragment로 래핑합니다.
7301
- /* @__PURE__ */ jsx148(Fragment3, { children: breakPointKeyArray.map((breakPointKey) => {
7302
- const variable = props[breakPointKey];
7303
- const isExistVariable = !!variable;
7304
- if (isExistVariable) {
7305
- return /* @__PURE__ */ createElement2(Media, { ...createMediaProps(breakPointKey), key: breakPointKey }, /* @__PURE__ */ jsx148(TypographyImpl, { ...variable, text: variable.text || children }));
7306
- }
7307
- return null;
7308
- }) })
7309
- );
7310
- }, "Typography");
7311
-
7312
7222
  // src/components/Popover/index.tsx
7313
7223
  import * as React3 from "react";
7314
7224
  import * as PopoverPrimitive from "@radix-ui/react-popover";
@@ -7332,7 +7242,7 @@ var style_module_default5 = {
7332
7242
  // src/components/Popover/index.tsx
7333
7243
  import { cva as cva4 } from "class-variance-authority";
7334
7244
  import { clsx as clsx8 } from "clsx";
7335
- import { jsx as jsx149, jsxs as jsxs103 } from "react/jsx-runtime";
7245
+ import { jsx as jsx148, jsxs as jsxs103 } from "react/jsx-runtime";
7336
7246
  var DEFAULT_OFFSET = -6;
7337
7247
  var popoverVariants = cva4(style_module_default5.content, {
7338
7248
  variants: {
@@ -7354,9 +7264,9 @@ var popoverTagVariants = cva4([style_module_default5.tag, "lp-sys-typo-caption3-
7354
7264
  var popoverTitleVariants = cva4([style_module_default5.title, "lp-sys-typo-paragraph3-normal-bold"]);
7355
7265
  var popoverDescriptionVariants = cva4([style_module_default5.description, "lp-sys-typo-caption1-normal-regular"]);
7356
7266
  var popoverFooterVariants = cva4([style_module_default5.footer, "lp-sys-typo-caption1-normal-medium"]);
7357
- var PopoverRoot = /* @__PURE__ */ __name(({ isOpen, children, onChange }) => /* @__PURE__ */ jsx149(PopoverPrimitive.Root, { open: isOpen, onOpenChange: onChange, children }), "PopoverRoot");
7358
- var PopoverTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx149(PopoverPrimitive.Trigger, { asChild: true, children: by }), "PopoverTrigger");
7359
- var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ jsx149(
7267
+ var PopoverRoot = /* @__PURE__ */ __name(({ isOpen, children, onChange }) => /* @__PURE__ */ jsx148(PopoverPrimitive.Root, { open: isOpen, onOpenChange: onChange, children }), "PopoverRoot");
7268
+ var PopoverTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx148(PopoverPrimitive.Trigger, { asChild: true, children: by }), "PopoverTrigger");
7269
+ var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ jsx148(
7360
7270
  "svg",
7361
7271
  {
7362
7272
  className,
@@ -7366,7 +7276,7 @@ var PopoverAnchor = /* @__PURE__ */ __name(({ className }) => /* @__PURE__ */ js
7366
7276
  height: "10",
7367
7277
  viewBox: "0 0 30 10",
7368
7278
  fill: "none",
7369
- children: /* @__PURE__ */ jsx149(
7279
+ children: /* @__PURE__ */ jsx148(
7370
7280
  "path",
7371
7281
  {
7372
7282
  "fill-rule": "evenodd",
@@ -7391,7 +7301,7 @@ var PopoverContent = React3.forwardRef(
7391
7301
  onClose,
7392
7302
  className,
7393
7303
  ...props
7394
- }, ref) => /* @__PURE__ */ jsx149(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsxs103(
7304
+ }, ref) => /* @__PURE__ */ jsx148(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsxs103(
7395
7305
  PopoverPrimitive.Content,
7396
7306
  {
7397
7307
  ref,
@@ -7403,22 +7313,22 @@ var PopoverContent = React3.forwardRef(
7403
7313
  children: [
7404
7314
  /* @__PURE__ */ jsxs103("div", { className: style_module_default5.contentContainer, children: [
7405
7315
  /* @__PURE__ */ jsxs103("div", { className: style_module_default5.heading, children: [
7406
- tag && /* @__PURE__ */ jsx149("span", { className: popoverTagVariants(), children: tag }),
7407
- icon && /* @__PURE__ */ jsx149(Icon, { name: icon.name, size: "xs", thick: icon.thick, fill: icon.fill }),
7408
- /* @__PURE__ */ jsx149("p", { className: popoverTitleVariants(), children: title }),
7409
- /* @__PURE__ */ jsx149(
7316
+ tag && /* @__PURE__ */ jsx148("span", { className: popoverTagVariants(), children: tag }),
7317
+ icon && /* @__PURE__ */ jsx148(Icon, { name: icon.name, size: "xs", thick: icon.thick, fill: icon.fill }),
7318
+ /* @__PURE__ */ jsx148("p", { className: popoverTitleVariants(), children: title }),
7319
+ /* @__PURE__ */ jsx148(
7410
7320
  PopoverPrimitive.PopoverClose,
7411
7321
  {
7412
7322
  className: style_module_default5.closeButton,
7413
7323
  onClick: () => {
7414
7324
  onClose?.();
7415
7325
  },
7416
- children: /* @__PURE__ */ jsx149(Icon, { name: "close-fill", size: "s", fill: true, thick: true, type: "neutral-label-static-primary" })
7326
+ children: /* @__PURE__ */ jsx148(Icon, { name: "close-fill", size: "s", fill: true, thick: true, type: "neutral-label-static-primary" })
7417
7327
  }
7418
7328
  )
7419
7329
  ] }),
7420
- /* @__PURE__ */ jsx149("p", { className: popoverDescriptionVariants(), children: description }),
7421
- onConfirm && /* @__PURE__ */ jsx149("div", { className: popoverFooterVariants(), children: /* @__PURE__ */ jsx149(
7330
+ /* @__PURE__ */ jsx148("p", { className: popoverDescriptionVariants(), children: description }),
7331
+ onConfirm && /* @__PURE__ */ jsx148("div", { className: popoverFooterVariants(), children: /* @__PURE__ */ jsx148(
7422
7332
  Button,
7423
7333
  {
7424
7334
  as: "text",
@@ -7430,7 +7340,7 @@ var PopoverContent = React3.forwardRef(
7430
7340
  }
7431
7341
  ) })
7432
7342
  ] }),
7433
- /* @__PURE__ */ jsx149(PopoverPrimitive.Arrow, { asChild: true, children: /* @__PURE__ */ jsx149(PopoverAnchor, { className: clsx8(popoverAnchorVariants({ level })) }) })
7343
+ /* @__PURE__ */ jsx148(PopoverPrimitive.Arrow, { asChild: true, children: /* @__PURE__ */ jsx148(PopoverAnchor, { className: clsx8(popoverAnchorVariants({ level })) }) })
7434
7344
  ]
7435
7345
  }
7436
7346
  ) })
@@ -7455,14 +7365,14 @@ var style_module_default6 = {
7455
7365
  // src/components/Tooltip/index.tsx
7456
7366
  import { cva as cva5 } from "class-variance-authority";
7457
7367
  import clsx9 from "clsx";
7458
- import { jsx as jsx150 } from "react/jsx-runtime";
7368
+ import { jsx as jsx149 } from "react/jsx-runtime";
7459
7369
  var DEFAULT_OFFSET2 = "medium";
7460
7370
  var tooltipVariants = cva5([style_module_default6.tooltip, "lp-sys-typo-caption1-normal-medium"]);
7461
7371
  var TooltipProvider = TooltipPrimitive.Provider;
7462
- var TooltipRoot = /* @__PURE__ */ __name(({ children }) => /* @__PURE__ */ jsx150(TooltipPrimitive.Root, { delayDuration: 0, children }), "TooltipRoot");
7463
- var TooltipTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx150(TooltipPrimitive.Trigger, { asChild: true, children: by }), "TooltipTrigger");
7372
+ var TooltipRoot = /* @__PURE__ */ __name(({ children }) => /* @__PURE__ */ jsx149(TooltipPrimitive.Root, { delayDuration: 0, children }), "TooltipRoot");
7373
+ var TooltipTrigger = /* @__PURE__ */ __name(({ by }) => /* @__PURE__ */ jsx149(TooltipPrimitive.Trigger, { asChild: true, children: by }), "TooltipTrigger");
7464
7374
  var TooltipContent = forwardRef8(
7465
- ({ description, position = "top", className, offset = DEFAULT_OFFSET2, ...props }, ref) => /* @__PURE__ */ jsx150(
7375
+ ({ description, position = "top", className, offset = DEFAULT_OFFSET2, ...props }, ref) => /* @__PURE__ */ jsx149(
7466
7376
  TooltipPrimitive.Content,
7467
7377
  {
7468
7378
  ref,
@@ -7470,7 +7380,7 @@ var TooltipContent = forwardRef8(
7470
7380
  sideOffset: offset === "medium" ? 4 : 8,
7471
7381
  className: clsx9(tooltipVariants(), className),
7472
7382
  ...props,
7473
- children: /* @__PURE__ */ jsx150("p", { className: style_module_default6.tooltipContent, children: description })
7383
+ children: /* @__PURE__ */ jsx149("p", { className: style_module_default6.tooltipContent, children: description })
7474
7384
  }
7475
7385
  )
7476
7386
  );
@@ -7502,7 +7412,7 @@ var style_module_default7 = {
7502
7412
 
7503
7413
  // src/components/IconButton/index.tsx
7504
7414
  import { Slot as Slot2 } from "@radix-ui/react-slot";
7505
- import { jsx as jsx151 } from "react/jsx-runtime";
7415
+ import { jsx as jsx150 } from "react/jsx-runtime";
7506
7416
  var iconButtonSizeIconSizeMap = {
7507
7417
  l: "m",
7508
7418
  m: "s",
@@ -7538,7 +7448,7 @@ var iconButtonVariants = cva6([style_module_default7.iconButton], {
7538
7448
  var IconButton = forwardRef9(
7539
7449
  ({ asChild, level = "primary", name, thick = false, fill = false, size = "m", className, ...rest }, ref) => {
7540
7450
  const Comp = asChild ? Slot2 : "button";
7541
- return /* @__PURE__ */ jsx151(Comp, { ...rest, className: clsx10(iconButtonVariants({ level, size }), className), ref, children: /* @__PURE__ */ jsx151(
7451
+ return /* @__PURE__ */ jsx150(Comp, { ...rest, className: clsx10(iconButtonVariants({ level, size }), className), ref, children: /* @__PURE__ */ jsx150(
7542
7452
  Icon,
7543
7453
  {
7544
7454
  name,
@@ -7590,7 +7500,7 @@ var style_module_default9 = {
7590
7500
 
7591
7501
  // src/components/_Label/index.tsx
7592
7502
  import { cva as cva7 } from "class-variance-authority";
7593
- import { jsx as jsx152 } from "react/jsx-runtime";
7503
+ import { jsx as jsx151 } from "react/jsx-runtime";
7594
7504
  var defaultLabelVariants = cva7(["lp-sys-typo-paragraph2-normal-medium", style_module_default9.label], {
7595
7505
  variants: {
7596
7506
  level: {
@@ -7630,7 +7540,7 @@ var Label = forwardRef10(
7630
7540
  error = false,
7631
7541
  ...props
7632
7542
  }, ref) => {
7633
- return /* @__PURE__ */ jsx152(
7543
+ return /* @__PURE__ */ jsx151(
7634
7544
  LabelPrimitive.Root,
7635
7545
  {
7636
7546
  ref,
@@ -7642,17 +7552,17 @@ var Label = forwardRef10(
7642
7552
  );
7643
7553
 
7644
7554
  // src/components/CheckBox/index.tsx
7645
- import { Fragment as Fragment4, jsx as jsx153, jsxs as jsxs104 } from "react/jsx-runtime";
7555
+ import { Fragment as Fragment3, jsx as jsx152, jsxs as jsxs104 } from "react/jsx-runtime";
7646
7556
  var Checkbox = forwardRef11(
7647
7557
  ({ className, label, description, ...props }, ref) => {
7648
7558
  const CheckboxWrapper = /* @__PURE__ */ __name(({ children }) => label ? /* @__PURE__ */ jsxs104(Label, { position: "right", htmlFor: props.id, children: [
7649
7559
  /* @__PURE__ */ jsxs104("div", { className: style_module_default8["label-wrapper"], children: [
7650
7560
  label,
7651
- /* @__PURE__ */ jsx153(Paragraph, { className: style_module_default8.description, size: 3, type: "normal", weight: "regular", children: description })
7561
+ /* @__PURE__ */ jsx152(Paragraph, { className: style_module_default8.description, size: 3, type: "normal", weight: "regular", children: description })
7652
7562
  ] }),
7653
7563
  children
7654
- ] }) : /* @__PURE__ */ jsx153(Fragment4, { children }), "CheckboxWrapper");
7655
- return /* @__PURE__ */ jsx153(CheckboxWrapper, { children: /* @__PURE__ */ jsx153(CheckboxPrimitive.Root, { className: clsx12(style_module_default8.checkbox, className), ref, ...props, children: /* @__PURE__ */ jsx153(CheckboxPrimitive.Indicator, { className: style_module_default8["checkbox-indicator"], children: /* @__PURE__ */ jsx153(Icon, { name: "check-mark", thick: true, size: "xs", type: "inverse-label-primary" }) }) }) });
7564
+ ] }) : /* @__PURE__ */ jsx152(Fragment3, { children }), "CheckboxWrapper");
7565
+ return /* @__PURE__ */ jsx152(CheckboxWrapper, { children: /* @__PURE__ */ jsx152(CheckboxPrimitive.Root, { className: clsx12(style_module_default8.checkbox, className), ref, ...props, children: /* @__PURE__ */ jsx152(CheckboxPrimitive.Indicator, { className: style_module_default8["checkbox-indicator"], children: /* @__PURE__ */ jsx152(Icon, { name: "check-mark", thick: true, size: "xs", type: "inverse-label-primary" }) }) }) });
7656
7566
  }
7657
7567
  );
7658
7568
 
@@ -7671,19 +7581,19 @@ var style_module_default10 = {
7671
7581
  };
7672
7582
 
7673
7583
  // src/components/Radio/index.tsx
7674
- import { Fragment as Fragment5, jsx as jsx154, jsxs as jsxs105 } from "react/jsx-runtime";
7675
- var RadioIndicator = /* @__PURE__ */ __name(() => /* @__PURE__ */ jsx154("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", children: /* @__PURE__ */ jsx154("circle", { cx: "5", cy: "5", r: "5", fill: "#313133" }) }), "RadioIndicator");
7676
- var RadioRoot = forwardRef12(({ className, ...props }, ref) => /* @__PURE__ */ jsx154(RadioGroupPrimitive.Root, { className: clsx13(style_module_default10.radio, className), ...props }));
7584
+ import { Fragment as Fragment4, jsx as jsx153, jsxs as jsxs105 } from "react/jsx-runtime";
7585
+ var RadioIndicator = /* @__PURE__ */ __name(() => /* @__PURE__ */ jsx153("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", children: /* @__PURE__ */ jsx153("circle", { cx: "5", cy: "5", r: "5", fill: "#313133" }) }), "RadioIndicator");
7586
+ var RadioRoot = forwardRef12(({ className, ...props }, ref) => /* @__PURE__ */ jsx153(RadioGroupPrimitive.Root, { className: clsx13(style_module_default10.radio, className), ...props }));
7677
7587
  var RadioItem = forwardRef12(
7678
7588
  ({ className, label, description, ...props }, ref) => {
7679
7589
  const RadioItemWrapper = /* @__PURE__ */ __name(({ children }) => label ? /* @__PURE__ */ jsxs105(Label, { position: "right", htmlFor: props.id, children: [
7680
7590
  /* @__PURE__ */ jsxs105("div", { className: style_module_default10["label-wrapper"], children: [
7681
7591
  label,
7682
- /* @__PURE__ */ jsx154(Paragraph, { className: style_module_default10.description, size: 3, type: "normal", weight: "regular", children: description })
7592
+ /* @__PURE__ */ jsx153(Paragraph, { className: style_module_default10.description, size: 3, type: "normal", weight: "regular", children: description })
7683
7593
  ] }),
7684
7594
  children
7685
- ] }) : /* @__PURE__ */ jsx154(Fragment5, { children }), "RadioItemWrapper");
7686
- return /* @__PURE__ */ jsx154(RadioItemWrapper, { children: /* @__PURE__ */ jsx154(RadioGroupPrimitive.Item, { ref, className: clsx13(style_module_default10["radio-item"], className), ...props, children: /* @__PURE__ */ jsx154(RadioGroupPrimitive.Indicator, { className: style_module_default10.indicator, children: /* @__PURE__ */ jsx154(RadioIndicator, {}) }) }) });
7595
+ ] }) : /* @__PURE__ */ jsx153(Fragment4, { children }), "RadioItemWrapper");
7596
+ return /* @__PURE__ */ jsx153(RadioItemWrapper, { children: /* @__PURE__ */ jsx153(RadioGroupPrimitive.Item, { ref, className: clsx13(style_module_default10["radio-item"], className), ...props, children: /* @__PURE__ */ jsx153(RadioGroupPrimitive.Indicator, { className: style_module_default10.indicator, children: /* @__PURE__ */ jsx153(RadioIndicator, {}) }) }) });
7687
7597
  }
7688
7598
  );
7689
7599
  var Radio = Object.assign(RadioRoot, {
@@ -7724,7 +7634,7 @@ var style_module_default11 = {
7724
7634
  // src/components/Textfield/index.tsx
7725
7635
  import { cva as cva8 } from "class-variance-authority";
7726
7636
  import clsx14 from "clsx";
7727
- import { Fragment as Fragment6, jsx as jsx155, jsxs as jsxs106 } from "react/jsx-runtime";
7637
+ import { Fragment as Fragment5, jsx as jsx154, jsxs as jsxs106 } from "react/jsx-runtime";
7728
7638
  var defaultTextfieldVariants = cva8(style_module_default11.textfield, {
7729
7639
  variants: {
7730
7640
  color: {
@@ -7784,7 +7694,7 @@ var Textfield = forwardRef13((props, ref) => {
7784
7694
  }, "handleDeidentify");
7785
7695
  useImperativeHandle(ref, () => inputRef.current);
7786
7696
  return /* @__PURE__ */ jsxs106("div", { className: style_module_default11["textfield-container"], children: [
7787
- /* @__PURE__ */ jsx155(
7697
+ /* @__PURE__ */ jsx154(
7788
7698
  "div",
7789
7699
  {
7790
7700
  className: clsx14(defaultTextfieldVariants({ color }), {
@@ -7793,7 +7703,7 @@ var Textfield = forwardRef13((props, ref) => {
7793
7703
  }),
7794
7704
  onClick: handleTextfieldClick,
7795
7705
  children: /* @__PURE__ */ jsxs106("div", { className: style_module_default11["input-wrapper"], children: [
7796
- /* @__PURE__ */ jsx155(
7706
+ /* @__PURE__ */ jsx154(
7797
7707
  "input",
7798
7708
  {
7799
7709
  className: clsx14(style_module_default11.input, {
@@ -7808,7 +7718,7 @@ var Textfield = forwardRef13((props, ref) => {
7808
7718
  ...rest
7809
7719
  }
7810
7720
  ),
7811
- /* @__PURE__ */ jsx155(
7721
+ /* @__PURE__ */ jsx154(
7812
7722
  Label,
7813
7723
  {
7814
7724
  className: clsx14(style_module_default11.label, {
@@ -7821,7 +7731,7 @@ var Textfield = forwardRef13((props, ref) => {
7821
7731
  }
7822
7732
  ),
7823
7733
  /* @__PURE__ */ jsxs106("div", { className: style_module_default11["input-action-buttons"], children: [
7824
- textfieldValue && !disabled && /* @__PURE__ */ jsx155(
7734
+ textfieldValue && !disabled && /* @__PURE__ */ jsx154(
7825
7735
  IconButton,
7826
7736
  {
7827
7737
  tabIndex: -1,
@@ -7834,7 +7744,7 @@ var Textfield = forwardRef13((props, ref) => {
7834
7744
  onClick: handleClear
7835
7745
  }
7836
7746
  ),
7837
- isPassword && !disabled && /* @__PURE__ */ jsx155(
7747
+ isPassword && !disabled && /* @__PURE__ */ jsx154(
7838
7748
  IconButton,
7839
7749
  {
7840
7750
  tabIndex: -1,
@@ -7847,15 +7757,15 @@ var Textfield = forwardRef13((props, ref) => {
7847
7757
  onClick: handleDeidentify
7848
7758
  }
7849
7759
  ),
7850
- button && /* @__PURE__ */ jsx155(Button, { size: "m", type: "button", onClick: button.onClick, children: button.text })
7760
+ button && /* @__PURE__ */ jsx154(Button, { size: "m", type: "button", onClick: button.onClick, children: button.text })
7851
7761
  ] })
7852
7762
  ] })
7853
7763
  }
7854
7764
  ),
7855
7765
  displayFooter && /* @__PURE__ */ jsxs106("div", { className: style_module_default11.footer, children: [
7856
- /* @__PURE__ */ jsx155("div", { className: style_module_default11["error-wrapper"], children: error && /* @__PURE__ */ jsxs106(Fragment6, { children: [
7857
- /* @__PURE__ */ jsx155(Icon, { name: "exclamationmark-fill", fill: true, thick: true, size: "xs", type: "function-label-negative" }),
7858
- /* @__PURE__ */ jsx155(Caption, { size: 3, type: "normal", weight: "regular", className: style_module_default11["error-message"], children: error })
7766
+ /* @__PURE__ */ jsx154("div", { className: style_module_default11["error-wrapper"], children: error && /* @__PURE__ */ jsxs106(Fragment5, { children: [
7767
+ /* @__PURE__ */ jsx154(Icon, { name: "exclamationmark-fill", fill: true, thick: true, size: "xs", type: "function-label-negative" }),
7768
+ /* @__PURE__ */ jsx154(Caption, { size: 3, type: "normal", weight: "regular", className: style_module_default11["error-message"], children: error })
7859
7769
  ] }) }),
7860
7770
  maxCharacter && /* @__PURE__ */ jsxs106(Caption, { className: style_module_default11.character, size: 3, type: "normal", weight: "regular", children: [
7861
7771
  isControlled ? controlledValue.length : value.length,
@@ -7884,29 +7794,29 @@ var style_module_default12 = {
7884
7794
 
7885
7795
  // src/components/Slider/index.tsx
7886
7796
  import * as SliderPrimitive from "@radix-ui/react-slider";
7887
- import { Fragment as Fragment7, jsx as jsx156, jsxs as jsxs107 } from "react/jsx-runtime";
7797
+ import { Fragment as Fragment6, jsx as jsx155, jsxs as jsxs107 } from "react/jsx-runtime";
7888
7798
  var SliderRoot = forwardRef14((props, ref) => {
7889
7799
  const { label, tooltip, rangeLeft, rangeRight, min, max, step = 50, ...rest } = props;
7890
- return /* @__PURE__ */ jsx156(Fragment7, { children: /* @__PURE__ */ jsxs107(Tooltip.Provider, { children: [
7891
- /* @__PURE__ */ jsx156(Label, { level: "secondary", size: "m", offset: "high", className: style_module_default12.label, children: label }),
7800
+ return /* @__PURE__ */ jsx155(Fragment6, { children: /* @__PURE__ */ jsxs107(Tooltip.Provider, { children: [
7801
+ /* @__PURE__ */ jsx155(Label, { level: "secondary", size: "m", offset: "high", className: style_module_default12.label, children: label }),
7892
7802
  /* @__PURE__ */ jsxs107("div", { className: style_module_default12["slider-wrapper"], children: [
7893
7803
  /* @__PURE__ */ jsxs107("div", { className: style_module_default12["slider-option-wrapper"], children: [
7894
- /* @__PURE__ */ jsx156(Icon, { name: rangeLeft.icon, size: "xs" }),
7895
- /* @__PURE__ */ jsx156(Caption, { size: 1, type: "normal", weight: "medium", className: style_module_default12.optionText, children: rangeLeft.text })
7804
+ /* @__PURE__ */ jsx155(Icon, { name: rangeLeft.icon, size: "xs" }),
7805
+ /* @__PURE__ */ jsx155(Caption, { size: 1, type: "normal", weight: "medium", className: style_module_default12.optionText, children: rangeLeft.text })
7896
7806
  ] }),
7897
7807
  /* @__PURE__ */ jsxs107(SliderPrimitive.Root, { ...rest, step, className: style_module_default12["slider-root"], ref, children: [
7898
7808
  /* @__PURE__ */ jsxs107(SliderPrimitive.Track, { className: style_module_default12["slider-track"], children: [
7899
- Array.from({ length: 100 / step + 1 }).map((_, index) => /* @__PURE__ */ jsx156("span", { className: style_module_default12["slider-step"] }, index)),
7900
- /* @__PURE__ */ jsx156(SliderPrimitive.Range, { className: style_module_default12["slider-range"] })
7809
+ Array.from({ length: 100 / step + 1 }).map((_, index) => /* @__PURE__ */ jsx155("span", { className: style_module_default12["slider-step"] }, index)),
7810
+ /* @__PURE__ */ jsx155(SliderPrimitive.Range, { className: style_module_default12["slider-range"] })
7901
7811
  ] }),
7902
7812
  /* @__PURE__ */ jsxs107(Tooltip, { children: [
7903
- /* @__PURE__ */ jsx156(Tooltip.Trigger, { by: /* @__PURE__ */ jsx156(SliderPrimitive.Thumb, { className: style_module_default12["slider-thumb"] }) }),
7904
- /* @__PURE__ */ jsx156(Tooltip.Content, { description: tooltip })
7813
+ /* @__PURE__ */ jsx155(Tooltip.Trigger, { by: /* @__PURE__ */ jsx155(SliderPrimitive.Thumb, { className: style_module_default12["slider-thumb"] }) }),
7814
+ /* @__PURE__ */ jsx155(Tooltip.Content, { description: tooltip })
7905
7815
  ] })
7906
7816
  ] }),
7907
7817
  /* @__PURE__ */ jsxs107("div", { className: style_module_default12["slider-option-wrapper"], children: [
7908
- /* @__PURE__ */ jsx156(Icon, { name: rangeRight.icon, size: "xs" }),
7909
- /* @__PURE__ */ jsx156(Caption, { size: 1, type: "normal", weight: "medium", className: style_module_default12.optionText, children: rangeRight.text })
7818
+ /* @__PURE__ */ jsx155(Icon, { name: rangeRight.icon, size: "xs" }),
7819
+ /* @__PURE__ */ jsx155(Caption, { size: 1, type: "normal", weight: "medium", className: style_module_default12.optionText, children: rangeRight.text })
7910
7820
  ] })
7911
7821
  ] })
7912
7822
  ] }) });
@@ -7943,10 +7853,10 @@ var style_module_default13 = {
7943
7853
  // src/components/Select/index.tsx
7944
7854
  import { forwardRef as forwardRef15, useEffect as useEffect2, useState as useState4 } from "react";
7945
7855
  import clsx15 from "clsx";
7946
- import { Fragment as Fragment8, jsx as jsx157, jsxs as jsxs108 } from "react/jsx-runtime";
7856
+ import { Fragment as Fragment7, jsx as jsx156, jsxs as jsxs108 } from "react/jsx-runtime";
7947
7857
  var SelectContent = forwardRef15((props, ref) => {
7948
7858
  const { id, isResponsive, popSide, sideOffset, listLabel, children } = props;
7949
- return /* @__PURE__ */ jsx157(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx157(
7859
+ return /* @__PURE__ */ jsx156(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx156(
7950
7860
  SelectPrimitive.Content,
7951
7861
  {
7952
7862
  id: `select-content-${id}`,
@@ -7969,11 +7879,11 @@ var SelectContent = forwardRef15((props, ref) => {
7969
7879
  sideOffset,
7970
7880
  avoidCollisions: false,
7971
7881
  children: /* @__PURE__ */ jsxs108(ScrollArea.Root, { className: style_module_default13.scrollAreaRoot, type: "always", children: [
7972
- /* @__PURE__ */ jsx157(SelectPrimitive.Viewport, { asChild: true, children: /* @__PURE__ */ jsx157(ScrollArea.Viewport, { className: style_module_default13.scrollAreaViewport, style: { overflowY: void 0 }, children: /* @__PURE__ */ jsxs108(SelectPrimitive.Group, { children: [
7973
- /* @__PURE__ */ jsx157(SelectPrimitive.Label, { asChild: true, children: /* @__PURE__ */ jsx157(Label, { className: style_module_default13["desktop-label"], level: "secondary", size: "m", offset: "low", children: listLabel }) }),
7882
+ /* @__PURE__ */ jsx156(SelectPrimitive.Viewport, { asChild: true, children: /* @__PURE__ */ jsx156(ScrollArea.Viewport, { className: style_module_default13.scrollAreaViewport, style: { overflowY: void 0 }, children: /* @__PURE__ */ jsxs108(SelectPrimitive.Group, { children: [
7883
+ /* @__PURE__ */ jsx156(SelectPrimitive.Label, { asChild: true, children: /* @__PURE__ */ jsx156(Label, { className: style_module_default13["desktop-label"], level: "secondary", size: "m", offset: "low", children: listLabel }) }),
7974
7884
  children
7975
7885
  ] }) }) }),
7976
- /* @__PURE__ */ jsx157(ScrollArea.Scrollbar, { className: style_module_default13.scrollAreaScrollbar, orientation: "vertical", children: /* @__PURE__ */ jsx157(ScrollArea.Thumb, { className: style_module_default13.scrollAreaThumb }) })
7886
+ /* @__PURE__ */ jsx156(ScrollArea.Scrollbar, { className: style_module_default13.scrollAreaScrollbar, orientation: "vertical", children: /* @__PURE__ */ jsx156(ScrollArea.Thumb, { className: style_module_default13.scrollAreaThumb }) })
7977
7887
  ] })
7978
7888
  }
7979
7889
  ) });
@@ -7999,8 +7909,8 @@ var SelectRoot = forwardRef15((props, ref) => {
7999
7909
  useEffect2(() => {
8000
7910
  setIsOpen(open);
8001
7911
  }, [open]);
8002
- return /* @__PURE__ */ jsxs108(Fragment8, { children: [
8003
- /* @__PURE__ */ jsx157(Label, { className: style_module_default13["select-label"], level: "secondary", size: "m", offset: "low", htmlFor: id, children: label }),
7912
+ return /* @__PURE__ */ jsxs108(Fragment7, { children: [
7913
+ /* @__PURE__ */ jsx156(Label, { className: style_module_default13["select-label"], level: "secondary", size: "m", offset: "low", htmlFor: id, children: label }),
8004
7914
  /* @__PURE__ */ jsxs108(
8005
7915
  SelectPrimitive.Root,
8006
7916
  {
@@ -8012,16 +7922,16 @@ var SelectRoot = forwardRef15((props, ref) => {
8012
7922
  },
8013
7923
  children: [
8014
7924
  /* @__PURE__ */ jsxs108(SelectPrimitive.Trigger, { className: style_module_default13.trigger, ref, id, children: [
8015
- /* @__PURE__ */ jsx157(SelectPrimitive.Value, { className: style_module_default13.placeholder, placeholder }),
8016
- /* @__PURE__ */ jsx157(SelectPrimitive.Icon, { className: style_module_default13.openIcon, children: /* @__PURE__ */ jsx157(Icon, { name: "arrow-drop-down", fill: true, thick: true, size: "xs" }) })
7925
+ /* @__PURE__ */ jsx156(SelectPrimitive.Value, { className: style_module_default13.placeholder, placeholder }),
7926
+ /* @__PURE__ */ jsx156(SelectPrimitive.Icon, { className: style_module_default13.openIcon, children: /* @__PURE__ */ jsx156(Icon, { name: "arrow-drop-down", fill: true, thick: true, size: "xs" }) })
8017
7927
  ] }),
8018
- /* @__PURE__ */ jsx157(SelectContent, { ...contentProps })
7928
+ /* @__PURE__ */ jsx156(SelectContent, { ...contentProps })
8019
7929
  ]
8020
7930
  }
8021
7931
  )
8022
7932
  ] });
8023
7933
  });
8024
- var SelectItem = /* @__PURE__ */ __name(({ value, disabled, icon, onClick }) => /* @__PURE__ */ jsxs108(
7934
+ var SelectItem = /* @__PURE__ */ __name(({ value, text, disabled, icon, onClick }) => /* @__PURE__ */ jsxs108(
8025
7935
  SelectPrimitive.Item,
8026
7936
  {
8027
7937
  className: style_module_default13.item,
@@ -8032,9 +7942,9 @@ var SelectItem = /* @__PURE__ */ __name(({ value, disabled, icon, onClick }) =>
8032
7942
  onClick?.();
8033
7943
  },
8034
7944
  children: [
8035
- /* @__PURE__ */ jsx157(SelectPrimitive.ItemText, { children: /* @__PURE__ */ jsx157(Paragraph, { size: 3, type: "normal", weight: "medium", children: value }) }),
8036
- icon && /* @__PURE__ */ jsx157(SelectPrimitive.Icon, { className: style_module_default13.icon, children: /* @__PURE__ */ jsx157(Icon, { size: "xs", ...icon }) }),
8037
- /* @__PURE__ */ jsx157(SelectPrimitive.ItemIndicator, { className: style_module_default13.itemIndicator, children: /* @__PURE__ */ jsx157(Icon, { fill: false, thick: true, size: "xs", name: "check-mark", type: "brand-label-primary" }) })
7945
+ /* @__PURE__ */ jsx156(SelectPrimitive.ItemText, { children: /* @__PURE__ */ jsx156(Paragraph, { size: 3, type: "normal", weight: "medium", children: text ?? value }) }),
7946
+ icon && /* @__PURE__ */ jsx156(SelectPrimitive.Icon, { className: style_module_default13.icon, children: /* @__PURE__ */ jsx156(Icon, { size: "xs", ...icon }) }),
7947
+ /* @__PURE__ */ jsx156(SelectPrimitive.ItemIndicator, { className: style_module_default13.itemIndicator, children: /* @__PURE__ */ jsx156(Icon, { fill: false, thick: true, size: "xs", name: "check-mark", type: "brand-label-primary" }) })
8038
7948
  ]
8039
7949
  }
8040
7950
  ), "SelectItem");
@@ -8054,11 +7964,11 @@ import { useState as useState5 } from "react";
8054
7964
 
8055
7965
  // src/hooks/collection.tsx
8056
7966
  import { createContext, useContext, useMemo } from "react";
8057
- import { jsx as jsx158 } from "react/jsx-runtime";
7967
+ import { jsx as jsx157 } from "react/jsx-runtime";
8058
7968
  var CollectionContext = createContext(void 0);
8059
7969
  var CollectionProvider = /* @__PURE__ */ __name(({ value, onChangeValue, children }) => {
8060
7970
  const contextValue = useMemo(() => ({ value, onChangeValue }), [value, onChangeValue]);
8061
- return /* @__PURE__ */ jsx158(CollectionContext.Provider, { value: contextValue, children });
7971
+ return /* @__PURE__ */ jsx157(CollectionContext.Provider, { value: contextValue, children });
8062
7972
  }, "CollectionProvider");
8063
7973
  var useCollectionContext = /* @__PURE__ */ __name(() => {
8064
7974
  const context = useContext(CollectionContext);
@@ -8069,9 +7979,9 @@ var useCollectionContext = /* @__PURE__ */ __name(() => {
8069
7979
  }, "useCollectionContext");
8070
7980
 
8071
7981
  // src/components/List/index.tsx
8072
- import { jsx as jsx159, jsxs as jsxs109 } from "react/jsx-runtime";
7982
+ import { jsx as jsx158, jsxs as jsxs109 } from "react/jsx-runtime";
8073
7983
  var ListRoot = /* @__PURE__ */ __name(({ children, ...props }) => {
8074
- return /* @__PURE__ */ jsx159(CollectionProvider, { ...props, children: /* @__PURE__ */ jsx159("ul", { className: style_module_default14.list, children }) });
7984
+ return /* @__PURE__ */ jsx158(CollectionProvider, { ...props, children: /* @__PURE__ */ jsx158("ul", { className: style_module_default14.list, children }) });
8075
7985
  }, "ListRoot");
8076
7986
  var Item3 = /* @__PURE__ */ __name(({ value, disabled, icon, onClick }) => {
8077
7987
  const [isFocused, setIsFocused] = useState5(false);
@@ -8096,8 +8006,8 @@ var Item3 = /* @__PURE__ */ __name(({ value, disabled, icon, onClick }) => {
8096
8006
  context.onChangeValue?.(value);
8097
8007
  },
8098
8008
  children: [
8099
- /* @__PURE__ */ jsx159(Paragraph, { size: 3, type: "normal", weight: "medium", children: value }),
8100
- (icon || isSelected) && /* @__PURE__ */ jsx159(Icon, { className: style_module_default14.icon, size: "xs", ...iconProps })
8009
+ /* @__PURE__ */ jsx158(Paragraph, { size: 3, type: "normal", weight: "medium", children: value }),
8010
+ (icon || isSelected) && /* @__PURE__ */ jsx158(Icon, { className: style_module_default14.icon, size: "xs", ...iconProps })
8101
8011
  ]
8102
8012
  }
8103
8013
  );
@@ -8113,8 +8023,6 @@ export {
8113
8023
  Icon,
8114
8024
  IconButton,
8115
8025
  List,
8116
- Media,
8117
- MediaContextProvider,
8118
8026
  Paragraph,
8119
8027
  Popover,
8120
8028
  Radio,
@@ -8125,7 +8033,6 @@ export {
8125
8033
  Title2 as Title,
8126
8034
  Toaster,
8127
8035
  Tooltip,
8128
- Typography,
8129
8036
  arrayToStyleObject,
8130
8037
  colorKeys,
8131
8038
  getIconComponent,
@@ -8133,7 +8040,6 @@ export {
8133
8040
  iconMap,
8134
8041
  isEmptyObject,
8135
8042
  objectToArray,
8136
- rootMediaStyle,
8137
8043
  useToast
8138
8044
  };
8139
8045
  /*! For license information please see index.mjs.LEGAL.txt */