@liner-fe/prism 2.6.20 → 2.6.21
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.css +0 -86
- package/lib/index.d.ts +2 -14
- package/lib/index.js +235 -285
- package/package.json +1 -1
package/lib/index.css
CHANGED
|
@@ -1470,92 +1470,6 @@
|
|
|
1470
1470
|
color: var(--neutral-label-secondary);
|
|
1471
1471
|
}
|
|
1472
1472
|
|
|
1473
|
-
/* esbuild-sass-plugin:css-chunk:src/components/Slider/style.module.scss */
|
|
1474
|
-
._label_8exch_1 {
|
|
1475
|
-
color: var(--neutral-label-secondary);
|
|
1476
|
-
padding-bottom: var(--lp-sys-padding-component-300);
|
|
1477
|
-
}
|
|
1478
|
-
._optionText_8exch_6 {
|
|
1479
|
-
color: var(--neutral-label-primary);
|
|
1480
|
-
}
|
|
1481
|
-
._slider-wrapper_8exch_10 {
|
|
1482
|
-
display: flex;
|
|
1483
|
-
align-items: center;
|
|
1484
|
-
gap: var(--lp-sys-gap-positive-400);
|
|
1485
|
-
padding: var(--lp-sys-padding-component-200) 0px;
|
|
1486
|
-
}
|
|
1487
|
-
._slider-wrapper_8exch_10:has([data-disabled]) {
|
|
1488
|
-
pointer-events: none;
|
|
1489
|
-
}
|
|
1490
|
-
._slider-wrapper_8exch_10:has([data-disabled]) > ._slider-option-wrapper_8exch_19 > * {
|
|
1491
|
-
color: var(--neutral-label-tertiary);
|
|
1492
|
-
}
|
|
1493
|
-
._slider-wrapper_8exch_10:has([data-disabled]) > ._slider-option-wrapper_8exch_19 > * > * {
|
|
1494
|
-
fill: var(--neutral-label-tertiary);
|
|
1495
|
-
}
|
|
1496
|
-
._slider-wrapper_8exch_10:has([data-disabled]) ._slider-thumb_8exch_25 {
|
|
1497
|
-
border: 2px solid var(--neutral-border-overlay-normal);
|
|
1498
|
-
}
|
|
1499
|
-
._slider-wrapper_8exch_10:has([data-disabled]) ._slider-step_8exch_28 {
|
|
1500
|
-
background-color: var(--neutral-fill-overlay-high);
|
|
1501
|
-
}
|
|
1502
|
-
._slider-option-wrapper_8exch_19 {
|
|
1503
|
-
display: flex;
|
|
1504
|
-
align-items: flex-start;
|
|
1505
|
-
gap: var(--lp-sys-gap-positive-100);
|
|
1506
|
-
}
|
|
1507
|
-
._slider-root_8exch_38 {
|
|
1508
|
-
position: relative;
|
|
1509
|
-
display: flex;
|
|
1510
|
-
align-items: center;
|
|
1511
|
-
user-select: none;
|
|
1512
|
-
touch-action: none;
|
|
1513
|
-
width: 100%;
|
|
1514
|
-
height: 20px;
|
|
1515
|
-
}
|
|
1516
|
-
._slider-track_8exch_48 {
|
|
1517
|
-
display: flex;
|
|
1518
|
-
align-items: center;
|
|
1519
|
-
justify-content: space-between;
|
|
1520
|
-
padding: 0 var(--lp-pri-size-2);
|
|
1521
|
-
background-color: var(--neutral-container-highest);
|
|
1522
|
-
position: relative;
|
|
1523
|
-
flex-grow: 1;
|
|
1524
|
-
border-radius: var(--lp-sys-radius-xs);
|
|
1525
|
-
height: 8px;
|
|
1526
|
-
z-index: 0;
|
|
1527
|
-
}
|
|
1528
|
-
._slider-range_8exch_61 {
|
|
1529
|
-
position: absolute;
|
|
1530
|
-
background-color: none;
|
|
1531
|
-
border-radius: 9999px;
|
|
1532
|
-
height: 100%;
|
|
1533
|
-
}
|
|
1534
|
-
._slider-thumb_8exch_25 {
|
|
1535
|
-
box-sizing: border-box;
|
|
1536
|
-
position: relative;
|
|
1537
|
-
display: block;
|
|
1538
|
-
width: 20px;
|
|
1539
|
-
height: 20px;
|
|
1540
|
-
background-color: var(--neutral-container-lowest);
|
|
1541
|
-
border: 2px solid var(--brand-border-opaque-normal);
|
|
1542
|
-
border-radius: 20px;
|
|
1543
|
-
}
|
|
1544
|
-
._slider-thumb_8exch_25:hover {
|
|
1545
|
-
background-color: var(--function-fill-selection);
|
|
1546
|
-
}
|
|
1547
|
-
._slider-thumb_8exch_25:focus {
|
|
1548
|
-
outline: none;
|
|
1549
|
-
border: 2px solid var(--brand-border-opaque-normal);
|
|
1550
|
-
}
|
|
1551
|
-
._slider-step_8exch_28 {
|
|
1552
|
-
width: var(--lp-pri-size-4);
|
|
1553
|
-
height: var(--lp-pri-size-4);
|
|
1554
|
-
border-radius: 9999px;
|
|
1555
|
-
background: var(--brand-container-mid);
|
|
1556
|
-
z-index: 1;
|
|
1557
|
-
}
|
|
1558
|
-
|
|
1559
1473
|
/* esbuild-sass-plugin:css-chunk:src/components/Select/style.module.scss */
|
|
1560
1474
|
@-webkit-keyframes _slide-up_c4pnp_1 {
|
|
1561
1475
|
0% {
|
package/lib/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
7
7
|
import { ToastProps } from '@radix-ui/react-toast';
|
|
8
8
|
import * as _artsy_fresnel_dist_Media from '@artsy/fresnel/dist/Media';
|
|
9
9
|
import { breakpointOrigin } from '@liner-fe/design-token';
|
|
10
|
-
import { Popover as Popover$1, Tooltip as Tooltip$1, Checkbox as Checkbox$1, RadioGroup,
|
|
10
|
+
import { Popover as Popover$1, Tooltip as Tooltip$1, Checkbox as Checkbox$1, RadioGroup, Select as Select$1, Label as Label$1 } from 'radix-ui';
|
|
11
11
|
import * as recoil from 'recoil';
|
|
12
12
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
13
13
|
import { PopoverProps, PopoverPortalProps } from '@radix-ui/react-popover';
|
|
@@ -415,18 +415,6 @@ interface TextfieldProps extends InputHTMLAttributes<HTMLInputElement>, VariantP
|
|
|
415
415
|
}
|
|
416
416
|
declare const Textfield: react.ForwardRefExoticComponent<TextfieldProps & react.RefAttributes<HTMLInputElement>>;
|
|
417
417
|
|
|
418
|
-
interface Range {
|
|
419
|
-
text: string;
|
|
420
|
-
icon: IconKey;
|
|
421
|
-
}
|
|
422
|
-
interface SliderRootProps extends ComponentPropsWithoutRef<typeof Slider$1.Root> {
|
|
423
|
-
label?: string;
|
|
424
|
-
tooltip?: string;
|
|
425
|
-
rangeLeft: Range;
|
|
426
|
-
rangeRight: Range;
|
|
427
|
-
}
|
|
428
|
-
declare const Slider: react.ForwardRefExoticComponent<SliderRootProps & react.RefAttributes<HTMLSpanElement>>;
|
|
429
|
-
|
|
430
418
|
interface SelectProps extends ComponentPropsWithoutRef<typeof Select$1.Root> {
|
|
431
419
|
id?: string;
|
|
432
420
|
placeholder?: string;
|
|
@@ -686,4 +674,4 @@ interface TagProps extends Omit<IPropsNormalBold, 'type' | 'size' | 'weight'> {
|
|
|
686
674
|
}
|
|
687
675
|
declare const Tag: react.ForwardRefExoticComponent<TagProps & react.RefAttributes<HTMLParagraphElement>>;
|
|
688
676
|
|
|
689
|
-
export { type BaseCoachMarkContentProps, type BasicColorType, type BreakPointsKey, Button, type ButtonIconProps, type ButtonProps, type ButtonSizeType, Caption, Checkbox, CoachMark, type CoachMarkContentProps, type CommonButtonProps, CompactCoachMark, DefaultButton, type DefaultButtonProps, Display, type FillFalseLevelType, type FillLevelType, type FillType, Heading, type ICaptionProps, type IDisplayProps, type IHeadingProps, type IPropsAccent, type IPropsAnswer, type IPropsNormal, type IPropsNormalBold, type IPropsPost, type ITitleProps, Icon, IconButton, type IconButtonLevelType, type IconButtonProps, type IconColorType, type IconComponent, type IconComponentProps, type IconKey, type IconMapType, type IconProps, type IconSizeKey, type IconSizeType, type ItemProps, Label, List, Loading, Logo, Media, MediaContextProvider, Paragraph, type ParagraphProps, Popover, type PopoverContentProps, PrimitiveCoachMark, type PrimitiveCoachMarkContentProps, type PrimitiveCoachMarkRootProps, Radio, Select, type SelectItemProps, type SelectProps, SingleSnackbar,
|
|
677
|
+
export { type BaseCoachMarkContentProps, type BasicColorType, type BreakPointsKey, Button, type ButtonIconProps, type ButtonProps, type ButtonSizeType, Caption, Checkbox, CoachMark, type CoachMarkContentProps, type CommonButtonProps, CompactCoachMark, DefaultButton, type DefaultButtonProps, Display, type FillFalseLevelType, type FillLevelType, type FillType, Heading, type ICaptionProps, type IDisplayProps, type IHeadingProps, type IPropsAccent, type IPropsAnswer, type IPropsNormal, type IPropsNormalBold, type IPropsPost, type ITitleProps, Icon, IconButton, type IconButtonLevelType, type IconButtonProps, type IconColorType, type IconComponent, type IconComponentProps, type IconKey, type IconMapType, type IconProps, type IconSizeKey, type IconSizeType, type ItemProps, Label, List, Loading, Logo, Media, MediaContextProvider, Paragraph, type ParagraphProps, Popover, type PopoverContentProps, PrimitiveCoachMark, type PrimitiveCoachMarkContentProps, type PrimitiveCoachMarkRootProps, Radio, Select, type SelectItemProps, type SelectProps, SingleSnackbar, Snackbar, Tag, TextButton, type TextButtonProps, Textfield, type TextfieldButtonProps, type TextfieldLabelType, type TextfieldProps, Title, Toaster, Tooltip, Typography, arrayToStyleObject, getIconComponent, iconKeyOptions, iconMap, isEmptyObject, objectToArray, rootMediaStyle, snackbarAtom, useSnackbar, useToast };
|