@exem-ui/react 0.3.4-next.20260713082547 → 0.3.4-next.20260713083704

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/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { ConditionalTooltip, overlayListVariants, commonInputVariants } from './chunk-HCPEPSQY.mjs';
2
- export { ColorPalette, ColorPaletteColors, DEFAULT_COLOR, Segment, Select, Tabs, Tooltip, colorPaletteColorClasses, getColorPaletteColor, isInPalette } from './chunk-HCPEPSQY.mjs';
1
+ import { ConditionalTooltip, overlayListVariants, commonInputVariants, ScrollArea } from './chunk-CH2SW3UL.mjs';
2
+ export { ColorPalette, ColorPaletteColors, DEFAULT_COLOR, ScrollArea, ScrollBar, Segment, Select, Tabs, Tooltip, colorPaletteColorClasses, getColorPaletteColor, isInPalette } from './chunk-CH2SW3UL.mjs';
3
3
  import { X, MoreHorizontal, iconSizes, Minus, Check, Person, Warning, Info, Error as Error$1, ChevronLeft, ChevronRight } from './chunk-MSA6TY4M.mjs';
4
4
  import { cva, cn } from '@exem-ui/core/utils';
5
5
  import * as React from 'react';
@@ -11,7 +11,6 @@ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
11
11
  import * as SwitchPrimitives from '@radix-ui/react-switch';
12
12
  import { getDefaultClassNames, DayPicker } from 'react-day-picker';
13
13
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
14
- import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
15
14
  import * as DialogPrimitive from '@radix-ui/react-dialog';
16
15
  import { Resizable } from 're-resizable';
17
16
  import { toast as toast$1, Toaster as Toaster$1 } from 'sonner';
@@ -1557,70 +1556,6 @@ TextField.displayName = "TextField";
1557
1556
  TextField.Label.displayName = "TextField.Label";
1558
1557
  TextField.Input.displayName = "TextField.Input";
1559
1558
  TextField.Description.displayName = "TextField.Description";
1560
- function ScrollBar({
1561
- className,
1562
- orientation = "vertical",
1563
- ...props
1564
- }) {
1565
- return /* @__PURE__ */ jsx(
1566
- ScrollAreaPrimitive.ScrollAreaScrollbar,
1567
- {
1568
- "data-slot": "scroll-area-scrollbar",
1569
- orientation,
1570
- className: cn(
1571
- "flex touch-none select-none transition-opacity",
1572
- orientation === "vertical" && "w-[10px] p-[2px] opacity-0 duration-300 ease-out group-hover:opacity-100",
1573
- orientation === "horizontal" && "h-[10px] flex-col px-[3px] py-[2px]",
1574
- className
1575
- ),
1576
- ...props,
1577
- children: /* @__PURE__ */ jsx(
1578
- ScrollAreaPrimitive.ScrollAreaThumb,
1579
- {
1580
- "data-slot": "scroll-area-thumb",
1581
- className: "relative flex-1 rounded-full bg-component-scroll"
1582
- }
1583
- )
1584
- }
1585
- );
1586
- }
1587
- function ScrollArea({
1588
- className,
1589
- children,
1590
- onScroll,
1591
- scrollRef,
1592
- hideVerticalScrollbar = false,
1593
- hideHorizontalScrollbar = false,
1594
- disableHorizontalScroll = false,
1595
- ...props
1596
- }) {
1597
- return /* @__PURE__ */ jsxs(
1598
- ScrollAreaPrimitive.Root,
1599
- {
1600
- "data-slot": "scroll-area",
1601
- className: cn("group relative overflow-hidden", className),
1602
- ...props,
1603
- children: [
1604
- /* @__PURE__ */ jsx(
1605
- ScrollAreaPrimitive.Viewport,
1606
- {
1607
- "data-slot": "scroll-area-viewport",
1608
- ref: scrollRef,
1609
- onScroll,
1610
- className: cn(
1611
- "size-full rounded-[inherit]",
1612
- disableHorizontalScroll && "!overflow-x-hidden"
1613
- ),
1614
- children
1615
- }
1616
- ),
1617
- !hideVerticalScrollbar && /* @__PURE__ */ jsx(ScrollBar, { orientation: "vertical", forceMount: true }),
1618
- !(hideHorizontalScrollbar || disableHorizontalScroll) && /* @__PURE__ */ jsx(ScrollBar, { orientation: "horizontal", forceMount: true }),
1619
- /* @__PURE__ */ jsx(ScrollAreaPrimitive.Corner, {})
1620
- ]
1621
- }
1622
- );
1623
- }
1624
1559
  var MODAL_PADDING = {
1625
1560
  body: "px-4 pb-4",
1626
1561
  footer: "px-4 py-3"
@@ -2695,6 +2630,6 @@ var buttonize = (fn) => {
2695
2630
  };
2696
2631
  };
2697
2632
 
2698
- export { Avatar, Badge, Breadcrumb, Button, ButtonGroup, Checkbox, DatePicker, DoubleTag, Dropdown, IconButton, Loading, MessageBox, Modal, Progress, Radio, ScrollArea, ScrollBar, Sheet, Star, Switch, Tag, TextArea, TextField, ToastProvider, Toaster, buttonize, toast, useToast };
2633
+ export { Avatar, Badge, Breadcrumb, Button, ButtonGroup, Checkbox, DatePicker, DoubleTag, Dropdown, IconButton, Loading, MessageBox, Modal, Progress, Radio, Sheet, Star, Switch, Tag, TextArea, TextField, ToastProvider, Toaster, buttonize, toast, useToast };
2699
2634
  //# sourceMappingURL=index.mjs.map
2700
2635
  //# sourceMappingURL=index.mjs.map