@raystack/apsara 0.15.0 → 0.16.1

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.js CHANGED
@@ -3298,7 +3298,7 @@ const $e698a72e93240346$export$adb584737d712b70 = $e698a72e93240346$export$59aad
3298
3298
 
3299
3299
  var styles$w = {"label":"label-module_label__hM2lk","label-small":"label-module_label-small__se5gE","label-medium":"label-module_label-medium__Z4Tcb","label-large":"label-module_label-large__ba4Jb"};
3300
3300
 
3301
- const label$2 = cva(styles$w.label, {
3301
+ const label$1 = cva(styles$w.label, {
3302
3302
  variants: {
3303
3303
  size: {
3304
3304
  small: styles$w["label-small"],
@@ -3311,7 +3311,7 @@ const label$2 = cva(styles$w.label, {
3311
3311
  },
3312
3312
  });
3313
3313
  function Label({ children, className, size, ...props }) {
3314
- return (jsxRuntimeExports$1.jsx("label", { className: label$2({ size, className }), ...props, children: children }));
3314
+ return (jsxRuntimeExports$1.jsx("label", { className: label$1({ size, className }), ...props, children: children }));
3315
3315
  }
3316
3316
 
3317
3317
  var styles$v = {"checkbox":"checkbox-module_checkbox__QdlAc","checkbox-sm":"checkbox-module_checkbox-sm__tVhlX","checkbox-md":"checkbox-module_checkbox-md__G04e5","indicator":"checkbox-module_indicator__oGvoN"};
@@ -9649,7 +9649,7 @@ const $d08ef79370b62062$export$b04be29aa201d4f5 = $d08ef79370b62062$export$76e48
9649
9649
  const $d08ef79370b62062$export$6d08773d2e66f8f2 = $d08ef79370b62062$export$ed97964d1871885d;
9650
9650
  const $d08ef79370b62062$export$1ff3c3f08ae963c0 = $d08ef79370b62062$export$da160178fd3bc7e9;
9651
9651
 
9652
- var styles$q = {"content":"dropdown-menu-module_content__-LWeL","menuitem":"dropdown-menu-module_menuitem__IuV4n","label":"dropdown-menu-module_label__2h-4H","separator":"dropdown-menu-module_separator__0-EoW","menugroup":"dropdown-menu-module_menugroup__AmbLX"};
9652
+ var styles$q = {"content":"dropdown-menu-module_content__-LWeL","menuitem":"dropdown-menu-module_menuitem__IuV4n","label":"dropdown-menu-module_label__2h-4H","separator":"dropdown-menu-module_separator__0-EoW"};
9653
9653
 
9654
9654
  const content$2 = cva(styles$q.content);
9655
9655
  const DropdownMenuContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => (jsxRuntimeExports$1.jsx($d08ef79370b62062$export$602eac185826482c, { children: jsxRuntimeExports$1.jsx($d08ef79370b62062$export$7c6e2c02157bb7d2, { ref: ref, sideOffset: sideOffset, className: content$2({ className }), ...props }) })));
@@ -9657,8 +9657,8 @@ DropdownMenuContent.displayName = $d08ef79370b62062$export$7c6e2c02157bb7d2.disp
9657
9657
  const menuitem$1 = cva(styles$q.menuitem);
9658
9658
  const DropdownMenuItem = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports$1.jsx($d08ef79370b62062$export$6d08773d2e66f8f2, { ref: ref, className: menuitem$1({ className }), ...props })));
9659
9659
  DropdownMenuItem.displayName = $d08ef79370b62062$export$6d08773d2e66f8f2.displayName;
9660
- const label$1 = cva(styles$q.label);
9661
- const DropdownMenuLabel = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports$1.jsx($d08ef79370b62062$export$b04be29aa201d4f5, { ref: ref, className: label$1({ className }), ...props })));
9660
+ const label = cva(styles$q.label);
9661
+ const DropdownMenuLabel = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports$1.jsx($d08ef79370b62062$export$b04be29aa201d4f5, { ref: ref, className: label({ className }), ...props })));
9662
9662
  DropdownMenuLabel.displayName = $d08ef79370b62062$export$b04be29aa201d4f5.displayName;
9663
9663
  const separator$2 = cva(styles$q.separator);
9664
9664
  const DropdownMenuSeparator = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports$1.jsx($d08ef79370b62062$export$1ff3c3f08ae963c0, { ref: ref, className: separator$2({ className }), ...props })));
@@ -19692,18 +19692,6 @@ const $cc7e05a45900e73f$export$ee25a334c55de1f4 = /*#__PURE__*/ forwardRef((prop
19692
19692
  ref: forwardedRef
19693
19693
  })));
19694
19694
  });
19695
- /* -------------------------------------------------------------------------------------------------
19696
- * SelectLabel
19697
- * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$LABEL_NAME = 'SelectLabel';
19698
- const $cc7e05a45900e73f$export$f67338d29bd972f8 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
19699
- const { __scopeSelect: __scopeSelect , ...labelProps } = props;
19700
- const groupContext = $cc7e05a45900e73f$var$useSelectGroupContext($cc7e05a45900e73f$var$LABEL_NAME, __scopeSelect);
19701
- return /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034$1.div, _extends({
19702
- id: groupContext.id
19703
- }, labelProps, {
19704
- ref: forwardedRef
19705
- }));
19706
- });
19707
19695
  /* -------------------------------------------------------------------------------------------------
19708
19696
  * SelectItem
19709
19697
  * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$ITEM_NAME = 'SelectItem';
@@ -19829,18 +19817,6 @@ const $cc7e05a45900e73f$export$3572fb0fb821ff49 = /*#__PURE__*/ forwardRef((prop
19829
19817
  ref: composedRefs
19830
19818
  })), itemContext.isSelected && context.valueNode && !context.valueNodeHasChildren ? /*#__PURE__*/ createPortal(itemTextProps.children, context.valueNode) : null);
19831
19819
  });
19832
- /* -------------------------------------------------------------------------------------------------
19833
- * SelectItemIndicator
19834
- * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$ITEM_INDICATOR_NAME = 'SelectItemIndicator';
19835
- const $cc7e05a45900e73f$export$6b9198de19accfe6 = /*#__PURE__*/ forwardRef((props, forwardedRef)=>{
19836
- const { __scopeSelect: __scopeSelect , ...itemIndicatorProps } = props;
19837
- const itemContext = $cc7e05a45900e73f$var$useSelectItemContext($cc7e05a45900e73f$var$ITEM_INDICATOR_NAME, __scopeSelect);
19838
- return itemContext.isSelected ? /*#__PURE__*/ createElement($8927f6f2acc4f386$export$250ffa63cdc0d034$1.span, _extends({
19839
- "aria-hidden": true
19840
- }, itemIndicatorProps, {
19841
- ref: forwardedRef
19842
- })) : null;
19843
- });
19844
19820
  /* -------------------------------------------------------------------------------------------------
19845
19821
  * SelectScrollDownButton
19846
19822
  * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$SCROLL_DOWN_BUTTON_NAME = 'SelectScrollDownButton';
@@ -20051,28 +20027,64 @@ const $cc7e05a45900e73f$export$602eac185826482c = $cc7e05a45900e73f$export$b2af6
20051
20027
  const $cc7e05a45900e73f$export$7c6e2c02157bb7d2 = $cc7e05a45900e73f$export$c973a4b3cb86a03d;
20052
20028
  const $cc7e05a45900e73f$export$d5c6c08dc2d3ca7 = $cc7e05a45900e73f$export$9ed6e7b40248d36d;
20053
20029
  const $cc7e05a45900e73f$export$eb2fcfdbd7ba97d4 = $cc7e05a45900e73f$export$ee25a334c55de1f4;
20054
- const $cc7e05a45900e73f$export$b04be29aa201d4f5 = $cc7e05a45900e73f$export$f67338d29bd972f8;
20055
20030
  const $cc7e05a45900e73f$export$6d08773d2e66f8f2 = $cc7e05a45900e73f$export$13ef48a934230896;
20056
20031
  const $cc7e05a45900e73f$export$d6e5bf9c43ea9319 = $cc7e05a45900e73f$export$3572fb0fb821ff49;
20057
- const $cc7e05a45900e73f$export$c3468e2714d175fa = $cc7e05a45900e73f$export$6b9198de19accfe6;
20058
20032
  const $cc7e05a45900e73f$export$bf1aedc3039c8d63 = $cc7e05a45900e73f$export$ff951e476c12189;
20059
20033
  const $cc7e05a45900e73f$export$1ff3c3f08ae963c0 = $cc7e05a45900e73f$export$eba4b1df07cb1d3;
20060
20034
 
20061
- var styles$e = {"content":"select-module_content__X0QJ-","menuitem":"select-module_menuitem__DfVEU","menuitemIndicatorWapper":"select-module_menuitemIndicatorWapper__TZDvz","label":"select-module_label__4I1Se","separator":"select-module_separator__2UBNd","menugroup":"select-module_menugroup__zJbzr","trigger":"select-module_trigger__1tSaG","triggerIcon":"select-module_triggerIcon__iaoZ3"};
20035
+ var styles$e = {"text":"text-module_text__1E39C","text-1":"text-module_text-1__ZIYnD","text-2":"text-module_text-2__vhka2","text-3":"text-module_text-3__WhApV","text-4":"text-module_text-4__I4KCY","text-5":"text-module_text-5__5i6jy","text-6":"text-module_text-6__vn534","text-7":"text-module_text-7__5stey","text-8":"text-module_text-8__J--5n","text-9":"text-module_text-9__guv-W","text-10":"text-module_text-10__OdU-l","text-weight-bold":"text-module_text-weight-bold__248bx","text-weight-bolder":"text-module_text-weight-bolder__x-gH2","text-weight-normal":"text-module_text-weight-normal__N6rMZ","text-weight-lighter":"text-module_text-weight-lighter__PtdzT","text-weight-100":"text-module_text-weight-100__170iy","text-weight-200":"text-module_text-weight-200__iG1l4","text-weight-300":"text-module_text-weight-300__Z8-xh","text-weight-400":"text-module_text-weight-400__y4aiw","text-weight-500":"text-module_text-weight-500__El9dq","text-weight-600":"text-module_text-weight-600__yMGME","text-weight-700":"text-module_text-weight-700__EYo9-","text-weight-800":"text-module_text-weight-800__N7b82","text-weight-900":"text-module_text-weight-900__vs7L8"};
20036
+
20037
+ const text$1 = cva(styles$e.text, {
20038
+ variants: {
20039
+ size: {
20040
+ 1: styles$e["text-1"],
20041
+ 2: styles$e["text-2"],
20042
+ 3: styles$e["text-3"],
20043
+ 4: styles$e["text-4"],
20044
+ 5: styles$e["text-5"],
20045
+ 6: styles$e["text-6"],
20046
+ 7: styles$e["text-7"],
20047
+ 8: styles$e["text-8"],
20048
+ 9: styles$e["text-9"],
20049
+ 10: styles$e["text-10"],
20050
+ },
20051
+ weight: {
20052
+ bold: styles$e["text-weight-bold"],
20053
+ bolder: styles$e["text-weight-bolder"],
20054
+ normal: styles$e["text-weight-normal"],
20055
+ lighter: styles$e["text-weight-lighter"],
20056
+ 100: styles$e["text-weight-100"],
20057
+ 200: styles$e["text-weight-200"],
20058
+ 300: styles$e["text-weight-300"],
20059
+ 400: styles$e["text-weight-400"],
20060
+ 500: styles$e["text-weight-500"],
20061
+ 600: styles$e["text-weight-600"],
20062
+ 700: styles$e["text-weight-700"],
20063
+ 800: styles$e["text-weight-800"],
20064
+ 900: styles$e["text-weight-900"],
20065
+ },
20066
+ },
20067
+ defaultVariants: {
20068
+ size: 2,
20069
+ weight: 400,
20070
+ },
20071
+ });
20072
+ function Text({ children, className, size, weight, ...props }) {
20073
+ return (jsxRuntimeExports$1.jsx("span", { className: text$1({ size, className, weight }), ...props, children: children }));
20074
+ }
20075
+
20076
+ var styles$d = {"content":"select-module_content__X0QJ-","menuitem":"select-module_menuitem__DfVEU","separator":"select-module_separator__2UBNd","menugroup":"select-module_menugroup__zJbzr","trigger":"select-module_trigger__1tSaG","triggerIcon":"select-module_triggerIcon__iaoZ3"};
20062
20077
 
20063
- const trigger$1 = cva(styles$e.trigger);
20064
- const SelectTrigger = React.forwardRef(({ className, children, ...props }, ref) => (jsxRuntimeExports$1.jsxs($cc7e05a45900e73f$export$41fb9f06171c75f4, { ref: ref, className: trigger$1({ className }), ...props, children: [children, jsxRuntimeExports$1.jsx($cc7e05a45900e73f$export$f04a61298a47a40f, { asChild: true, children: jsxRuntimeExports$1.jsx(ChevronDownIcon, { className: styles$e.triggerIcon }) })] })));
20078
+ const trigger$1 = cva(styles$d.trigger);
20079
+ const SelectTrigger = React.forwardRef(({ className, children, ...props }, ref) => (jsxRuntimeExports$1.jsxs($cc7e05a45900e73f$export$41fb9f06171c75f4, { ref: ref, className: trigger$1({ className }), ...props, children: [children, jsxRuntimeExports$1.jsx($cc7e05a45900e73f$export$f04a61298a47a40f, { asChild: true, children: jsxRuntimeExports$1.jsx(ChevronDownIcon, { className: styles$d.triggerIcon }) })] })));
20065
20080
  SelectTrigger.displayName = $cc7e05a45900e73f$export$41fb9f06171c75f4.displayName;
20066
- const content$1 = cva(styles$e.content);
20081
+ const content$1 = cva(styles$d.content);
20067
20082
  const SelectContent = React.forwardRef(({ className, children, position = "popper", ...props }, ref) => (jsxRuntimeExports$1.jsx($cc7e05a45900e73f$export$602eac185826482c, { children: jsxRuntimeExports$1.jsx($cc7e05a45900e73f$export$7c6e2c02157bb7d2, { ref: ref, className: content$1({ className }), position: position, ...props, children: children }) })));
20068
20083
  SelectContent.displayName = $cc7e05a45900e73f$export$7c6e2c02157bb7d2.displayName;
20069
- const label = cva(styles$e.label);
20070
- const SelectLabel = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports$1.jsx($cc7e05a45900e73f$export$b04be29aa201d4f5, { ref: ref, className: label({ className }), ...props })));
20071
- SelectLabel.displayName = $cc7e05a45900e73f$export$b04be29aa201d4f5.displayName;
20072
- const menuitem = cva(styles$e.menuitem);
20073
- const SelectItem = React.forwardRef(({ className, children, ...props }, ref) => (jsxRuntimeExports$1.jsxs($cc7e05a45900e73f$export$6d08773d2e66f8f2, { ref: ref, className: menuitem({ className }), ...props, children: [jsxRuntimeExports$1.jsx($cc7e05a45900e73f$export$d6e5bf9c43ea9319, { children: children }), jsxRuntimeExports$1.jsx("span", { className: styles$e.menuitemIndicatorWapper, children: jsxRuntimeExports$1.jsx($cc7e05a45900e73f$export$c3468e2714d175fa, { children: jsxRuntimeExports$1.jsx(CheckIcon, { style: { width: "16px", height: "16px" } }) }) })] })));
20084
+ const menuitem = cva(styles$d.menuitem);
20085
+ const SelectItem = React.forwardRef(({ className, children, ...props }, ref) => (jsxRuntimeExports$1.jsx($cc7e05a45900e73f$export$6d08773d2e66f8f2, { ref: ref, className: menuitem({ className }), ...props, children: jsxRuntimeExports$1.jsx($cc7e05a45900e73f$export$d6e5bf9c43ea9319, { children: jsxRuntimeExports$1.jsx(Text, { children: children }) }) })));
20074
20086
  SelectItem.displayName = $cc7e05a45900e73f$export$6d08773d2e66f8f2.displayName;
20075
- const separator$1 = cva(styles$e.separator);
20087
+ const separator$1 = cva(styles$d.separator);
20076
20088
  const SelectSeparator = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports$1.jsx($cc7e05a45900e73f$export$1ff3c3f08ae963c0, { ref: ref, className: separator$1({ className }), ...props })));
20077
20089
  SelectSeparator.displayName = $cc7e05a45900e73f$export$1ff3c3f08ae963c0.displayName;
20078
20090
  const Select = Object.assign($cc7e05a45900e73f$export$be92b6f5f03c0fe9, {
@@ -20083,7 +20095,6 @@ const Select = Object.assign($cc7e05a45900e73f$export$be92b6f5f03c0fe9, {
20083
20095
  Viewport: $cc7e05a45900e73f$export$d5c6c08dc2d3ca7,
20084
20096
  Trigger: SelectTrigger,
20085
20097
  Content: SelectContent,
20086
- Label: SelectLabel,
20087
20098
  Item: SelectItem,
20088
20099
  Separator: SelectSeparator,
20089
20100
  });
@@ -20130,14 +20141,14 @@ function $89eedd556c436f6a$var$isValidOrientation(orientation) {
20130
20141
  }
20131
20142
  const $89eedd556c436f6a$export$be92b6f5f03c0fe9 = $89eedd556c436f6a$export$1ff3c3f08ae963c0;
20132
20143
 
20133
- var styles$d = {"separator":"separator-module_separator__uHK4y","separator-small":"separator-module_separator-small__-IkL9","separator-half":"separator-module_separator-half__IdLEw","separator-full":"separator-module_separator-full__hFgYp"};
20144
+ var styles$c = {"separator":"separator-module_separator__uHK4y","separator-small":"separator-module_separator-small__-IkL9","separator-half":"separator-module_separator-half__IdLEw","separator-full":"separator-module_separator-full__hFgYp"};
20134
20145
 
20135
- const separator = cva(styles$d.separator, {
20146
+ const separator = cva(styles$c.separator, {
20136
20147
  variants: {
20137
20148
  size: {
20138
- small: styles$d["separator-half"],
20139
- half: styles$d["separator-half"],
20140
- full: styles$d["separator-full"],
20149
+ small: styles$c["separator-half"],
20150
+ half: styles$c["separator-half"],
20151
+ full: styles$c["separator-full"],
20141
20152
  },
20142
20153
  },
20143
20154
  defaultVariants: {
@@ -20148,15 +20159,15 @@ function Separator({ children, size, className, ...props }) {
20148
20159
  return (jsxRuntimeExports$1.jsx($89eedd556c436f6a$export$be92b6f5f03c0fe9, { decorative: true, className: separator({ size, className }), ...props }));
20149
20160
  }
20150
20161
 
20151
- var styles$c = {"sheetContent":"sheet-module_sheetContent__51SVy","fadeIn":"sheet-module_fadeIn__CNcbj","fadeOut":"sheet-module_fadeOut__xODyX","sheetContent-top":"sheet-module_sheetContent-top__wdxh2","sheetContent-bottom":"sheet-module_sheetContent-bottom__y1sD3","sheetContent-right":"sheet-module_sheetContent-right__Qt-b0","sheetContent-left":"sheet-module_sheetContent-left__lC4Kn","overlay":"sheet-module_overlay__30Ve-","close":"sheet-module_close__g6uoQ"};
20162
+ var styles$b = {"sheetContent":"sheet-module_sheetContent__51SVy","fadeIn":"sheet-module_fadeIn__CNcbj","fadeOut":"sheet-module_fadeOut__xODyX","sheetContent-top":"sheet-module_sheetContent-top__wdxh2","sheetContent-bottom":"sheet-module_sheetContent-bottom__y1sD3","sheetContent-right":"sheet-module_sheetContent-right__Qt-b0","sheetContent-left":"sheet-module_sheetContent-left__lC4Kn","overlay":"sheet-module_overlay__30Ve-","close":"sheet-module_close__g6uoQ"};
20152
20163
 
20153
- const sheetContent = cva(styles$c.sheetContent, {
20164
+ const sheetContent = cva(styles$b.sheetContent, {
20154
20165
  variants: {
20155
20166
  side: {
20156
- top: styles$c["sheetContent-top"],
20157
- bottom: styles$c["sheetContent-bottom"],
20158
- left: styles$c["sheetContent-left"],
20159
- right: styles$c["sheetContent-right"],
20167
+ top: styles$b["sheetContent-top"],
20168
+ bottom: styles$b["sheetContent-bottom"],
20169
+ left: styles$b["sheetContent-left"],
20170
+ right: styles$b["sheetContent-right"],
20160
20171
  },
20161
20172
  },
20162
20173
  defaultVariants: {
@@ -20166,10 +20177,10 @@ const sheetContent = cva(styles$c.sheetContent, {
20166
20177
  const SheetContent = forwardRef(({ className, children, close, side, ...props }, forwardedRef) => {
20167
20178
  return (jsxRuntimeExports$1.jsxs($5d3850c4d0b4e6c7$export$602eac185826482c, { children: [jsxRuntimeExports$1.jsx(Overlay, {}), jsxRuntimeExports$1.jsxs($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2, { ...props, ref: forwardedRef, className: sheetContent({ side, className }), children: [children, close && (jsxRuntimeExports$1.jsx(CloseButton, { children: jsxRuntimeExports$1.jsx(Cross1Icon, {}) }))] })] }));
20168
20179
  });
20169
- const overlay = cva(styles$c.overlay);
20180
+ const overlay = cva(styles$b.overlay);
20170
20181
  const Overlay = forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports$1.jsx($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff, { ref: ref, className: overlay({ className }), ...props })));
20171
20182
  Overlay.displayName = $5d3850c4d0b4e6c7$export$c6fdb837b070b4ff.displayName;
20172
- const close = cva(styles$c.close);
20183
+ const close = cva(styles$b.close);
20173
20184
  function CloseButton({ children, className, ...props }) {
20174
20185
  return (jsxRuntimeExports$1.jsx($5d3850c4d0b4e6c7$export$f39c2d165cd861fe, { className: close({ className }), ...props, children: children }));
20175
20186
  }
@@ -20184,47 +20195,6 @@ const Sheet = Object.assign(RootSheet, {
20184
20195
  Description: $5d3850c4d0b4e6c7$export$393edc798c47379d,
20185
20196
  });
20186
20197
 
20187
- var styles$b = {"text":"text-module_text__1E39C","text-1":"text-module_text-1__ZIYnD","text-2":"text-module_text-2__vhka2","text-3":"text-module_text-3__WhApV","text-4":"text-module_text-4__I4KCY","text-5":"text-module_text-5__5i6jy","text-6":"text-module_text-6__vn534","text-7":"text-module_text-7__5stey","text-8":"text-module_text-8__J--5n","text-9":"text-module_text-9__guv-W","text-10":"text-module_text-10__OdU-l","text-weight-bold":"text-module_text-weight-bold__248bx","text-weight-bolder":"text-module_text-weight-bolder__x-gH2","text-weight-normal":"text-module_text-weight-normal__N6rMZ","text-weight-lighter":"text-module_text-weight-lighter__PtdzT","text-weight-100":"text-module_text-weight-100__170iy","text-weight-200":"text-module_text-weight-200__iG1l4","text-weight-300":"text-module_text-weight-300__Z8-xh","text-weight-400":"text-module_text-weight-400__y4aiw","text-weight-500":"text-module_text-weight-500__El9dq","text-weight-600":"text-module_text-weight-600__yMGME","text-weight-700":"text-module_text-weight-700__EYo9-","text-weight-800":"text-module_text-weight-800__N7b82","text-weight-900":"text-module_text-weight-900__vs7L8"};
20188
-
20189
- const text$1 = cva(styles$b.text, {
20190
- variants: {
20191
- size: {
20192
- 1: styles$b["text-1"],
20193
- 2: styles$b["text-2"],
20194
- 3: styles$b["text-3"],
20195
- 4: styles$b["text-4"],
20196
- 5: styles$b["text-5"],
20197
- 6: styles$b["text-6"],
20198
- 7: styles$b["text-7"],
20199
- 8: styles$b["text-8"],
20200
- 9: styles$b["text-9"],
20201
- 10: styles$b["text-10"],
20202
- },
20203
- weight: {
20204
- bold: styles$b["text-weight-bold"],
20205
- bolder: styles$b["text-weight-bolder"],
20206
- normal: styles$b["text-weight-normal"],
20207
- lighter: styles$b["text-weight-lighter"],
20208
- 100: styles$b["text-weight-100"],
20209
- 200: styles$b["text-weight-200"],
20210
- 300: styles$b["text-weight-300"],
20211
- 400: styles$b["text-weight-400"],
20212
- 500: styles$b["text-weight-500"],
20213
- 600: styles$b["text-weight-600"],
20214
- 700: styles$b["text-weight-700"],
20215
- 800: styles$b["text-weight-800"],
20216
- 900: styles$b["text-weight-900"],
20217
- },
20218
- },
20219
- defaultVariants: {
20220
- size: 2,
20221
- weight: 400,
20222
- },
20223
- });
20224
- function Text({ children, className, size, weight, ...props }) {
20225
- return (jsxRuntimeExports$1.jsx("span", { className: text$1({ size, className, weight }), ...props, children: children }));
20226
- }
20227
-
20228
20198
  var styles$a = {"sidebar":"sidebar-module_sidebar__NXH3O","logo":"sidebar-module_logo__RaK-j","navigations":"sidebar-module_navigations__z5B4k","navigationgroup":"sidebar-module_navigationgroup__bBDHs","navigationgroupheading":"sidebar-module_navigationgroupheading__MkRud","navigationgroupcontent":"sidebar-module_navigationgroupcontent__q70dL","cell":"sidebar-module_cell__NHLSi","active":"sidebar-module_active__lfMUF","disabled":"sidebar-module_disabled__nYLU3","cellText":"sidebar-module_cellText__JV292","footer":"sidebar-module_footer__wLl-f"};
20229
20199
 
20230
20200
  const SidebarRoot = ({ children, ...props }) => {
@@ -28173,6 +28143,7 @@ const Calendar = function ({ className, classNames, showOutsideDays = true, ...p
28173
28143
  day_range_end: styles$6.day_range_end,
28174
28144
  day_range_start: styles$6.day_range_start,
28175
28145
  months: styles$6.months,
28146
+ // button: styles.button,
28176
28147
  ...classNames,
28177
28148
  }, className: root$1({ className }), ...props }));
28178
28149
  };
@@ -28200,16 +28171,16 @@ const textfield = cva(styles$5.textfield, {
28200
28171
  size: "small",
28201
28172
  },
28202
28173
  });
28203
- const TextField = forwardRef(({ leading, trailing, className, src, size, state, style, ...props }, ref) => {
28174
+ const TextField = forwardRef(({ leading, trailing, className, src, size, state, style, iconClass, ...props }, ref) => {
28204
28175
  const hasLeadingElement = Boolean(leading);
28205
28176
  const hasTrailingElement = Boolean(trailing);
28206
- return (jsxRuntimeExports$1.jsxs(Flex, { align: "center", style: { position: "relative", width: "100%" }, children: [hasLeadingElement ? (jsxRuntimeExports$1.jsx(Flex, { style: { left: "8px" }, className: styles$5.leadingIcon, children: leading })) : null, jsxRuntimeExports$1.jsx("input", { className: cx(textfield({
28177
+ return (jsxRuntimeExports$1.jsxs(Flex, { align: "center", style: { position: "relative", width: "100%" }, children: [hasLeadingElement ? (jsxRuntimeExports$1.jsx(Flex, { style: { left: "8px" }, className: cx(styles$5.leadingIcon, iconClass?.leadingIcon), children: leading })) : null, jsxRuntimeExports$1.jsx("input", { className: cx(textfield({
28207
28178
  size,
28208
28179
  state,
28209
28180
  className,
28210
28181
  hasLeadingElement,
28211
28182
  hasTrailingElement,
28212
- })), ...props, ref: ref }), hasTrailingElement ? (jsxRuntimeExports$1.jsx(Flex, { style: { right: "8px" }, className: styles$5.trailingIcon, children: trailing })) : null] }));
28183
+ })), ...props, ref: ref }), hasTrailingElement ? (jsxRuntimeExports$1.jsx(Flex, { style: { right: "8px" }, className: cx(styles$5.trailingIcon, iconClass?.trailingIcon), children: trailing })) : null] }));
28213
28184
  });
28214
28185
  TextField.displayName = "TextField";
28215
28186
 
@@ -32280,7 +32251,9 @@ function DataTableRoot({ columns, data, emptyState, children, parentStyle, isLoa
32280
32251
  }[header.column.getIsSorted()] ?? jsxRuntimeExports$1.jsx(CaretSortIcon, {})
32281
32252
  : null] }) }, `${header.id}_${index}`));
32282
32253
  }) }, headerGroup.id)))
32283
- : null }), jsxRuntimeExports$1.jsx(Table.Body, { children: table.getRowModel().rows?.length ? (table.getRowModel().rows.map((row) => (jsxRuntimeExports$1.jsx(Table.Row, { "data-state": row.getIsSelected() && "selected", onClick: () => onRowClick?.(row.original), className: `${styles$4.tRow} ${onRowClick ? styles$4.tRowClick : ""}`, children: row.getVisibleCells().map((cell, index) => (jsxRuntimeExports$1.jsx(Table.Cell, { style: {
32254
+ : null }), jsxRuntimeExports$1.jsx(Table.Body, { children: table.getRowModel().rows?.length ? (table.getRowModel().rows.map((row) => (jsxRuntimeExports$1.jsx(Table.Row, { "data-state": row.getIsSelected() && "selected", onClick: () => onRowClick?.(row.original), className: isLoading
32255
+ ? ""
32256
+ : `${styles$4.tRow} ${onRowClick ? styles$4.tRowClick : ""}`, children: row.getVisibleCells().map((cell, index) => (jsxRuntimeExports$1.jsx(Table.Cell, { style: {
32284
32257
  ...(cell.column.columnDef?.meta?.style ?? {}),
32285
32258
  }, children: flexRender(cell.column.columnDef.cell, cell.getContext()) }, `${cell.id}_${index}`))) }, row.id)))) : (jsxRuntimeExports$1.jsx(Table.Row, { children: jsxRuntimeExports$1.jsx(Table.Cell, { colSpan: columns.length, children: emptyState || "No results." }) })) })] }), detail] })] }), footer] }) }));
32286
32259
  }