@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/calendar/calendar.d.ts.map +1 -1
- package/dist/index.cjs +73 -100
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +196 -196
- package/dist/index.js +73 -100
- package/dist/index.js.map +1 -1
- package/dist/select/select.d.ts +0 -1
- package/dist/select/select.d.ts.map +1 -1
- package/dist/table/datatable.d.ts.map +1 -1
- package/dist/textfield/textfield.d.ts +8 -0
- package/dist/textfield/textfield.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../calendar/calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAM7D,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,EAAE,CAAC;AAIhD,eAAO,MAAM,QAAQ,yDAKlB,aAAa,
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../calendar/calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAM7D,MAAM,MAAM,aAAa,GAAG,cAAc,GAAG,EAAE,CAAC;AAIhD,eAAO,MAAM,QAAQ,yDAKlB,aAAa,4CAiCf,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -3318,7 +3318,7 @@ const $e698a72e93240346$export$adb584737d712b70 = $e698a72e93240346$export$59aad
|
|
|
3318
3318
|
|
|
3319
3319
|
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"};
|
|
3320
3320
|
|
|
3321
|
-
const label$
|
|
3321
|
+
const label$1 = cva(styles$w.label, {
|
|
3322
3322
|
variants: {
|
|
3323
3323
|
size: {
|
|
3324
3324
|
small: styles$w["label-small"],
|
|
@@ -3331,7 +3331,7 @@ const label$2 = cva(styles$w.label, {
|
|
|
3331
3331
|
},
|
|
3332
3332
|
});
|
|
3333
3333
|
function Label({ children, className, size, ...props }) {
|
|
3334
|
-
return (jsxRuntimeExports$1.jsx("label", { className: label$
|
|
3334
|
+
return (jsxRuntimeExports$1.jsx("label", { className: label$1({ size, className }), ...props, children: children }));
|
|
3335
3335
|
}
|
|
3336
3336
|
|
|
3337
3337
|
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"};
|
|
@@ -9669,7 +9669,7 @@ const $d08ef79370b62062$export$b04be29aa201d4f5 = $d08ef79370b62062$export$76e48
|
|
|
9669
9669
|
const $d08ef79370b62062$export$6d08773d2e66f8f2 = $d08ef79370b62062$export$ed97964d1871885d;
|
|
9670
9670
|
const $d08ef79370b62062$export$1ff3c3f08ae963c0 = $d08ef79370b62062$export$da160178fd3bc7e9;
|
|
9671
9671
|
|
|
9672
|
-
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"
|
|
9672
|
+
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"};
|
|
9673
9673
|
|
|
9674
9674
|
const content$2 = cva(styles$q.content);
|
|
9675
9675
|
const DropdownMenuContent = React__namespace.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 }) })));
|
|
@@ -9677,8 +9677,8 @@ DropdownMenuContent.displayName = $d08ef79370b62062$export$7c6e2c02157bb7d2.disp
|
|
|
9677
9677
|
const menuitem$1 = cva(styles$q.menuitem);
|
|
9678
9678
|
const DropdownMenuItem = React__namespace.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports$1.jsx($d08ef79370b62062$export$6d08773d2e66f8f2, { ref: ref, className: menuitem$1({ className }), ...props })));
|
|
9679
9679
|
DropdownMenuItem.displayName = $d08ef79370b62062$export$6d08773d2e66f8f2.displayName;
|
|
9680
|
-
const label
|
|
9681
|
-
const DropdownMenuLabel = React__namespace.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports$1.jsx($d08ef79370b62062$export$b04be29aa201d4f5, { ref: ref, className: label
|
|
9680
|
+
const label = cva(styles$q.label);
|
|
9681
|
+
const DropdownMenuLabel = React__namespace.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports$1.jsx($d08ef79370b62062$export$b04be29aa201d4f5, { ref: ref, className: label({ className }), ...props })));
|
|
9682
9682
|
DropdownMenuLabel.displayName = $d08ef79370b62062$export$b04be29aa201d4f5.displayName;
|
|
9683
9683
|
const separator$2 = cva(styles$q.separator);
|
|
9684
9684
|
const DropdownMenuSeparator = React__namespace.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports$1.jsx($d08ef79370b62062$export$1ff3c3f08ae963c0, { ref: ref, className: separator$2({ className }), ...props })));
|
|
@@ -19712,18 +19712,6 @@ const $cc7e05a45900e73f$export$ee25a334c55de1f4 = /*#__PURE__*/ React.forwardRef
|
|
|
19712
19712
|
ref: forwardedRef
|
|
19713
19713
|
})));
|
|
19714
19714
|
});
|
|
19715
|
-
/* -------------------------------------------------------------------------------------------------
|
|
19716
|
-
* SelectLabel
|
|
19717
|
-
* -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$LABEL_NAME = 'SelectLabel';
|
|
19718
|
-
const $cc7e05a45900e73f$export$f67338d29bd972f8 = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
|
|
19719
|
-
const { __scopeSelect: __scopeSelect , ...labelProps } = props;
|
|
19720
|
-
const groupContext = $cc7e05a45900e73f$var$useSelectGroupContext($cc7e05a45900e73f$var$LABEL_NAME, __scopeSelect);
|
|
19721
|
-
return /*#__PURE__*/ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034$1.div, _extends({
|
|
19722
|
-
id: groupContext.id
|
|
19723
|
-
}, labelProps, {
|
|
19724
|
-
ref: forwardedRef
|
|
19725
|
-
}));
|
|
19726
|
-
});
|
|
19727
19715
|
/* -------------------------------------------------------------------------------------------------
|
|
19728
19716
|
* SelectItem
|
|
19729
19717
|
* -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$ITEM_NAME = 'SelectItem';
|
|
@@ -19849,18 +19837,6 @@ const $cc7e05a45900e73f$export$3572fb0fb821ff49 = /*#__PURE__*/ React.forwardRef
|
|
|
19849
19837
|
ref: composedRefs
|
|
19850
19838
|
})), itemContext.isSelected && context.valueNode && !context.valueNodeHasChildren ? /*#__PURE__*/ $7SXl2$reactdom.createPortal(itemTextProps.children, context.valueNode) : null);
|
|
19851
19839
|
});
|
|
19852
|
-
/* -------------------------------------------------------------------------------------------------
|
|
19853
|
-
* SelectItemIndicator
|
|
19854
|
-
* -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$ITEM_INDICATOR_NAME = 'SelectItemIndicator';
|
|
19855
|
-
const $cc7e05a45900e73f$export$6b9198de19accfe6 = /*#__PURE__*/ React.forwardRef((props, forwardedRef)=>{
|
|
19856
|
-
const { __scopeSelect: __scopeSelect , ...itemIndicatorProps } = props;
|
|
19857
|
-
const itemContext = $cc7e05a45900e73f$var$useSelectItemContext($cc7e05a45900e73f$var$ITEM_INDICATOR_NAME, __scopeSelect);
|
|
19858
|
-
return itemContext.isSelected ? /*#__PURE__*/ React.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034$1.span, _extends({
|
|
19859
|
-
"aria-hidden": true
|
|
19860
|
-
}, itemIndicatorProps, {
|
|
19861
|
-
ref: forwardedRef
|
|
19862
|
-
})) : null;
|
|
19863
|
-
});
|
|
19864
19840
|
/* -------------------------------------------------------------------------------------------------
|
|
19865
19841
|
* SelectScrollDownButton
|
|
19866
19842
|
* -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$SCROLL_DOWN_BUTTON_NAME = 'SelectScrollDownButton';
|
|
@@ -20071,28 +20047,64 @@ const $cc7e05a45900e73f$export$602eac185826482c = $cc7e05a45900e73f$export$b2af6
|
|
|
20071
20047
|
const $cc7e05a45900e73f$export$7c6e2c02157bb7d2 = $cc7e05a45900e73f$export$c973a4b3cb86a03d;
|
|
20072
20048
|
const $cc7e05a45900e73f$export$d5c6c08dc2d3ca7 = $cc7e05a45900e73f$export$9ed6e7b40248d36d;
|
|
20073
20049
|
const $cc7e05a45900e73f$export$eb2fcfdbd7ba97d4 = $cc7e05a45900e73f$export$ee25a334c55de1f4;
|
|
20074
|
-
const $cc7e05a45900e73f$export$b04be29aa201d4f5 = $cc7e05a45900e73f$export$f67338d29bd972f8;
|
|
20075
20050
|
const $cc7e05a45900e73f$export$6d08773d2e66f8f2 = $cc7e05a45900e73f$export$13ef48a934230896;
|
|
20076
20051
|
const $cc7e05a45900e73f$export$d6e5bf9c43ea9319 = $cc7e05a45900e73f$export$3572fb0fb821ff49;
|
|
20077
|
-
const $cc7e05a45900e73f$export$c3468e2714d175fa = $cc7e05a45900e73f$export$6b9198de19accfe6;
|
|
20078
20052
|
const $cc7e05a45900e73f$export$bf1aedc3039c8d63 = $cc7e05a45900e73f$export$ff951e476c12189;
|
|
20079
20053
|
const $cc7e05a45900e73f$export$1ff3c3f08ae963c0 = $cc7e05a45900e73f$export$eba4b1df07cb1d3;
|
|
20080
20054
|
|
|
20081
|
-
var styles$e = {"
|
|
20055
|
+
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"};
|
|
20056
|
+
|
|
20057
|
+
const text$1 = cva(styles$e.text, {
|
|
20058
|
+
variants: {
|
|
20059
|
+
size: {
|
|
20060
|
+
1: styles$e["text-1"],
|
|
20061
|
+
2: styles$e["text-2"],
|
|
20062
|
+
3: styles$e["text-3"],
|
|
20063
|
+
4: styles$e["text-4"],
|
|
20064
|
+
5: styles$e["text-5"],
|
|
20065
|
+
6: styles$e["text-6"],
|
|
20066
|
+
7: styles$e["text-7"],
|
|
20067
|
+
8: styles$e["text-8"],
|
|
20068
|
+
9: styles$e["text-9"],
|
|
20069
|
+
10: styles$e["text-10"],
|
|
20070
|
+
},
|
|
20071
|
+
weight: {
|
|
20072
|
+
bold: styles$e["text-weight-bold"],
|
|
20073
|
+
bolder: styles$e["text-weight-bolder"],
|
|
20074
|
+
normal: styles$e["text-weight-normal"],
|
|
20075
|
+
lighter: styles$e["text-weight-lighter"],
|
|
20076
|
+
100: styles$e["text-weight-100"],
|
|
20077
|
+
200: styles$e["text-weight-200"],
|
|
20078
|
+
300: styles$e["text-weight-300"],
|
|
20079
|
+
400: styles$e["text-weight-400"],
|
|
20080
|
+
500: styles$e["text-weight-500"],
|
|
20081
|
+
600: styles$e["text-weight-600"],
|
|
20082
|
+
700: styles$e["text-weight-700"],
|
|
20083
|
+
800: styles$e["text-weight-800"],
|
|
20084
|
+
900: styles$e["text-weight-900"],
|
|
20085
|
+
},
|
|
20086
|
+
},
|
|
20087
|
+
defaultVariants: {
|
|
20088
|
+
size: 2,
|
|
20089
|
+
weight: 400,
|
|
20090
|
+
},
|
|
20091
|
+
});
|
|
20092
|
+
function Text({ children, className, size, weight, ...props }) {
|
|
20093
|
+
return (jsxRuntimeExports$1.jsx("span", { className: text$1({ size, className, weight }), ...props, children: children }));
|
|
20094
|
+
}
|
|
20095
|
+
|
|
20096
|
+
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"};
|
|
20082
20097
|
|
|
20083
|
-
const trigger$1 = cva(styles$
|
|
20084
|
-
const SelectTrigger = React__namespace.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$
|
|
20098
|
+
const trigger$1 = cva(styles$d.trigger);
|
|
20099
|
+
const SelectTrigger = React__namespace.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 }) })] })));
|
|
20085
20100
|
SelectTrigger.displayName = $cc7e05a45900e73f$export$41fb9f06171c75f4.displayName;
|
|
20086
|
-
const content$1 = cva(styles$
|
|
20101
|
+
const content$1 = cva(styles$d.content);
|
|
20087
20102
|
const SelectContent = React__namespace.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 }) })));
|
|
20088
20103
|
SelectContent.displayName = $cc7e05a45900e73f$export$7c6e2c02157bb7d2.displayName;
|
|
20089
|
-
const
|
|
20090
|
-
const
|
|
20091
|
-
SelectLabel.displayName = $cc7e05a45900e73f$export$b04be29aa201d4f5.displayName;
|
|
20092
|
-
const menuitem = cva(styles$e.menuitem);
|
|
20093
|
-
const SelectItem = React__namespace.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" } }) }) })] })));
|
|
20104
|
+
const menuitem = cva(styles$d.menuitem);
|
|
20105
|
+
const SelectItem = React__namespace.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 }) }) })));
|
|
20094
20106
|
SelectItem.displayName = $cc7e05a45900e73f$export$6d08773d2e66f8f2.displayName;
|
|
20095
|
-
const separator$1 = cva(styles$
|
|
20107
|
+
const separator$1 = cva(styles$d.separator);
|
|
20096
20108
|
const SelectSeparator = React__namespace.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports$1.jsx($cc7e05a45900e73f$export$1ff3c3f08ae963c0, { ref: ref, className: separator$1({ className }), ...props })));
|
|
20097
20109
|
SelectSeparator.displayName = $cc7e05a45900e73f$export$1ff3c3f08ae963c0.displayName;
|
|
20098
20110
|
const Select = Object.assign($cc7e05a45900e73f$export$be92b6f5f03c0fe9, {
|
|
@@ -20103,7 +20115,6 @@ const Select = Object.assign($cc7e05a45900e73f$export$be92b6f5f03c0fe9, {
|
|
|
20103
20115
|
Viewport: $cc7e05a45900e73f$export$d5c6c08dc2d3ca7,
|
|
20104
20116
|
Trigger: SelectTrigger,
|
|
20105
20117
|
Content: SelectContent,
|
|
20106
|
-
Label: SelectLabel,
|
|
20107
20118
|
Item: SelectItem,
|
|
20108
20119
|
Separator: SelectSeparator,
|
|
20109
20120
|
});
|
|
@@ -20150,14 +20161,14 @@ function $89eedd556c436f6a$var$isValidOrientation(orientation) {
|
|
|
20150
20161
|
}
|
|
20151
20162
|
const $89eedd556c436f6a$export$be92b6f5f03c0fe9 = $89eedd556c436f6a$export$1ff3c3f08ae963c0;
|
|
20152
20163
|
|
|
20153
|
-
var styles$
|
|
20164
|
+
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"};
|
|
20154
20165
|
|
|
20155
|
-
const separator = cva(styles$
|
|
20166
|
+
const separator = cva(styles$c.separator, {
|
|
20156
20167
|
variants: {
|
|
20157
20168
|
size: {
|
|
20158
|
-
small: styles$
|
|
20159
|
-
half: styles$
|
|
20160
|
-
full: styles$
|
|
20169
|
+
small: styles$c["separator-half"],
|
|
20170
|
+
half: styles$c["separator-half"],
|
|
20171
|
+
full: styles$c["separator-full"],
|
|
20161
20172
|
},
|
|
20162
20173
|
},
|
|
20163
20174
|
defaultVariants: {
|
|
@@ -20168,15 +20179,15 @@ function Separator({ children, size, className, ...props }) {
|
|
|
20168
20179
|
return (jsxRuntimeExports$1.jsx($89eedd556c436f6a$export$be92b6f5f03c0fe9, { decorative: true, className: separator({ size, className }), ...props }));
|
|
20169
20180
|
}
|
|
20170
20181
|
|
|
20171
|
-
var styles$
|
|
20182
|
+
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"};
|
|
20172
20183
|
|
|
20173
|
-
const sheetContent = cva(styles$
|
|
20184
|
+
const sheetContent = cva(styles$b.sheetContent, {
|
|
20174
20185
|
variants: {
|
|
20175
20186
|
side: {
|
|
20176
|
-
top: styles$
|
|
20177
|
-
bottom: styles$
|
|
20178
|
-
left: styles$
|
|
20179
|
-
right: styles$
|
|
20187
|
+
top: styles$b["sheetContent-top"],
|
|
20188
|
+
bottom: styles$b["sheetContent-bottom"],
|
|
20189
|
+
left: styles$b["sheetContent-left"],
|
|
20190
|
+
right: styles$b["sheetContent-right"],
|
|
20180
20191
|
},
|
|
20181
20192
|
},
|
|
20182
20193
|
defaultVariants: {
|
|
@@ -20186,10 +20197,10 @@ const sheetContent = cva(styles$c.sheetContent, {
|
|
|
20186
20197
|
const SheetContent = React.forwardRef(({ className, children, close, side, ...props }, forwardedRef) => {
|
|
20187
20198
|
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, {}) }))] })] }));
|
|
20188
20199
|
});
|
|
20189
|
-
const overlay = cva(styles$
|
|
20200
|
+
const overlay = cva(styles$b.overlay);
|
|
20190
20201
|
const Overlay = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports$1.jsx($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff, { ref: ref, className: overlay({ className }), ...props })));
|
|
20191
20202
|
Overlay.displayName = $5d3850c4d0b4e6c7$export$c6fdb837b070b4ff.displayName;
|
|
20192
|
-
const close = cva(styles$
|
|
20203
|
+
const close = cva(styles$b.close);
|
|
20193
20204
|
function CloseButton({ children, className, ...props }) {
|
|
20194
20205
|
return (jsxRuntimeExports$1.jsx($5d3850c4d0b4e6c7$export$f39c2d165cd861fe, { className: close({ className }), ...props, children: children }));
|
|
20195
20206
|
}
|
|
@@ -20204,47 +20215,6 @@ const Sheet = Object.assign(RootSheet, {
|
|
|
20204
20215
|
Description: $5d3850c4d0b4e6c7$export$393edc798c47379d,
|
|
20205
20216
|
});
|
|
20206
20217
|
|
|
20207
|
-
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"};
|
|
20208
|
-
|
|
20209
|
-
const text$1 = cva(styles$b.text, {
|
|
20210
|
-
variants: {
|
|
20211
|
-
size: {
|
|
20212
|
-
1: styles$b["text-1"],
|
|
20213
|
-
2: styles$b["text-2"],
|
|
20214
|
-
3: styles$b["text-3"],
|
|
20215
|
-
4: styles$b["text-4"],
|
|
20216
|
-
5: styles$b["text-5"],
|
|
20217
|
-
6: styles$b["text-6"],
|
|
20218
|
-
7: styles$b["text-7"],
|
|
20219
|
-
8: styles$b["text-8"],
|
|
20220
|
-
9: styles$b["text-9"],
|
|
20221
|
-
10: styles$b["text-10"],
|
|
20222
|
-
},
|
|
20223
|
-
weight: {
|
|
20224
|
-
bold: styles$b["text-weight-bold"],
|
|
20225
|
-
bolder: styles$b["text-weight-bolder"],
|
|
20226
|
-
normal: styles$b["text-weight-normal"],
|
|
20227
|
-
lighter: styles$b["text-weight-lighter"],
|
|
20228
|
-
100: styles$b["text-weight-100"],
|
|
20229
|
-
200: styles$b["text-weight-200"],
|
|
20230
|
-
300: styles$b["text-weight-300"],
|
|
20231
|
-
400: styles$b["text-weight-400"],
|
|
20232
|
-
500: styles$b["text-weight-500"],
|
|
20233
|
-
600: styles$b["text-weight-600"],
|
|
20234
|
-
700: styles$b["text-weight-700"],
|
|
20235
|
-
800: styles$b["text-weight-800"],
|
|
20236
|
-
900: styles$b["text-weight-900"],
|
|
20237
|
-
},
|
|
20238
|
-
},
|
|
20239
|
-
defaultVariants: {
|
|
20240
|
-
size: 2,
|
|
20241
|
-
weight: 400,
|
|
20242
|
-
},
|
|
20243
|
-
});
|
|
20244
|
-
function Text({ children, className, size, weight, ...props }) {
|
|
20245
|
-
return (jsxRuntimeExports$1.jsx("span", { className: text$1({ size, className, weight }), ...props, children: children }));
|
|
20246
|
-
}
|
|
20247
|
-
|
|
20248
20218
|
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"};
|
|
20249
20219
|
|
|
20250
20220
|
const SidebarRoot = ({ children, ...props }) => {
|
|
@@ -28193,6 +28163,7 @@ const Calendar = function ({ className, classNames, showOutsideDays = true, ...p
|
|
|
28193
28163
|
day_range_end: styles$6.day_range_end,
|
|
28194
28164
|
day_range_start: styles$6.day_range_start,
|
|
28195
28165
|
months: styles$6.months,
|
|
28166
|
+
// button: styles.button,
|
|
28196
28167
|
...classNames,
|
|
28197
28168
|
}, className: root$1({ className }), ...props }));
|
|
28198
28169
|
};
|
|
@@ -28220,16 +28191,16 @@ const textfield = cva(styles$5.textfield, {
|
|
|
28220
28191
|
size: "small",
|
|
28221
28192
|
},
|
|
28222
28193
|
});
|
|
28223
|
-
const TextField = React.forwardRef(({ leading, trailing, className, src, size, state, style, ...props }, ref) => {
|
|
28194
|
+
const TextField = React.forwardRef(({ leading, trailing, className, src, size, state, style, iconClass, ...props }, ref) => {
|
|
28224
28195
|
const hasLeadingElement = Boolean(leading);
|
|
28225
28196
|
const hasTrailingElement = Boolean(trailing);
|
|
28226
|
-
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({
|
|
28197
|
+
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({
|
|
28227
28198
|
size,
|
|
28228
28199
|
state,
|
|
28229
28200
|
className,
|
|
28230
28201
|
hasLeadingElement,
|
|
28231
28202
|
hasTrailingElement,
|
|
28232
|
-
})), ...props, ref: ref }), hasTrailingElement ? (jsxRuntimeExports$1.jsx(Flex, { style: { right: "8px" }, className: styles$5.trailingIcon, children: trailing })) : null] }));
|
|
28203
|
+
})), ...props, ref: ref }), hasTrailingElement ? (jsxRuntimeExports$1.jsx(Flex, { style: { right: "8px" }, className: cx(styles$5.trailingIcon, iconClass?.trailingIcon), children: trailing })) : null] }));
|
|
28233
28204
|
});
|
|
28234
28205
|
TextField.displayName = "TextField";
|
|
28235
28206
|
|
|
@@ -32300,7 +32271,9 @@ function DataTableRoot({ columns, data, emptyState, children, parentStyle, isLoa
|
|
|
32300
32271
|
}[header.column.getIsSorted()] ?? jsxRuntimeExports$1.jsx(CaretSortIcon, {})
|
|
32301
32272
|
: null] }) }, `${header.id}_${index}`));
|
|
32302
32273
|
}) }, headerGroup.id)))
|
|
32303
|
-
: 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:
|
|
32274
|
+
: 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
|
|
32275
|
+
? ""
|
|
32276
|
+
: `${styles$4.tRow} ${onRowClick ? styles$4.tRowClick : ""}`, children: row.getVisibleCells().map((cell, index) => (jsxRuntimeExports$1.jsx(Table.Cell, { style: {
|
|
32304
32277
|
...(cell.column.columnDef?.meta?.style ?? {}),
|
|
32305
32278
|
}, 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] }) }));
|
|
32306
32279
|
}
|