@atom-learning/components 1.2.0 → 1.3.0
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/components/accordion/AccordionContent.js +1 -1
- package/dist/components/accordion/AccordionItem.js +1 -1
- package/dist/components/accordion/AccordionTrigger.d.ts +2 -6
- package/dist/components/accordion/AccordionTrigger.js +1 -1
- package/dist/components/action-icon/ActionIcon.d.ts +2 -2
- package/dist/components/action-icon/ActionIcon.js +1 -1
- package/dist/components/table/Table.d.ts +1 -0
- package/dist/components/table/Table.js +1 -1
- package/dist/components/table/TableCell.js +1 -1
- package/dist/components/table/TableHeader.d.ts +7 -1
- package/dist/components/table/TableHeader.js +1 -1
- package/dist/components/table/TableHeaderCell.js +1 -1
- package/dist/components/tabs/TabTrigger.d.ts +5 -3
- package/dist/components/tabs/TabTrigger.js +1 -1
- package/dist/components/tabs/Tabs.d.ts +8 -268
- package/dist/components/tabs/Tabs.js +1 -1
- package/dist/components/tabs/TabsTriggerList.d.ts +273 -0
- package/dist/components/tabs/TabsTriggerList.js +1 -0
- package/dist/components/tabs/utils.d.ts +2 -0
- package/dist/components/tabs/utils.js +1 -0
- package/dist/components/video/Video.d.ts +265 -1
- package/dist/components/video/Video.js +1 -1
- package/dist/docgen.json +1 -1
- package/dist/docs/Accordion.mdx +4 -8
- package/dist/docs/Table.mdx +14 -0
- package/dist/docs/Tabs.mdx +9 -1
- package/dist/index.cjs.js +1 -1
- package/package.json +3 -1
- package/CHANGELOG.md +0 -53
|
@@ -1 +1 @@
|
|
|
1
|
-
const t=["children"];import{Content as e}from"@radix-ui/react-accordion";import
|
|
1
|
+
const t=["children","css"];import{Content as e}from"@radix-ui/react-accordion";import r from"react";import{CSSWrapper as i}from"../../utilities/css-wrapper/CSSWrapper.js";import"polished";import"../../utilities/style/keyframe-animations.js";import{keyframes as o,styled as a}from"../../stitches.js";const s=a(e,{border:0,width:"100%",bg:"#fff",'&[data-state="open"]':{borderRadius:"0 0 $0 $0"},"@allowMotion":{'&[data-state="open"]':{animation:`${o({from:{height:0},to:{height:"var(--radix-accordion-content-height)"}})} 300ms ease-out`},'&[data-state="closed"]':{animation:`${o({from:{height:"var(--radix-accordion-content-height)"},to:{height:0}})} 300ms ease-out`}}}),n=e=>{let{children:o,css:a}=e,n=function(t,e){if(null==t)return{};var r,i,o={},a=Object.keys(t);for(i=0;i<a.length;i++)r=a[i],e.indexOf(r)>=0||(o[r]=t[r]);return o}(e,t);return r.createElement(s,Object.assign({},n),r.createElement(i,{css:a},o))};export{n as AccordionContent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=["children","value"];import{Item as r}from"@radix-ui/react-accordion";import t from"react";import{styled as
|
|
1
|
+
const e=["children","value"];import{Item as r}from"@radix-ui/react-accordion";import t from"react";import{styled as n}from"../../stitches.js";const i=n(r,{width:"100%",overflow:"hidden","&:not(:last-child)":{mb:"$1"}}),o=r=>{let{children:n,value:o}=r,c=function(e,r){if(null==e)return{};var t,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(i[t]=e[t]);return i}(r,e);return t.createElement(i,Object.assign({value:o},c),n)};export{o as AccordionItem};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type * as Stitches from '@stitches/react';
|
|
3
|
-
import { Override } from '../../utilities';
|
|
4
2
|
declare const StyledTrigger: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/react-accordion").AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>>, {
|
|
5
|
-
theme?: "
|
|
3
|
+
theme?: "primaryDark" | "light" | undefined;
|
|
6
4
|
}, {
|
|
7
5
|
sm: string;
|
|
8
6
|
md: string;
|
|
@@ -268,8 +266,6 @@ declare const StyledTrigger: import("@stitches/react/types/styled-component").St
|
|
|
268
266
|
};
|
|
269
267
|
};
|
|
270
268
|
}>>;
|
|
271
|
-
declare type AccordionTriggerProps =
|
|
272
|
-
theme: string;
|
|
273
|
-
}>;
|
|
269
|
+
declare type AccordionTriggerProps = React.ComponentProps<typeof StyledTrigger>;
|
|
274
270
|
export declare const AccordionTrigger: React.FC<AccordionTriggerProps>;
|
|
275
271
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const r=["theme","children"];import{Trigger as t}from"@radix-ui/react-accordion";import e from"react";import{
|
|
1
|
+
const r=["theme","children"];import{Trigger as t}from"@radix-ui/react-accordion";import e from"react";import{Box as o}from"../box/Box.js";import{Icon as a}from"../icon/Icon.js";import{ChevronDown as n}from"@atom-learning/icons";import{styled as i,theme as s}from"../../stitches.js";import{darken as m}from"polished";const l=(r,t,e,o="#fff")=>({bg:r,color:o,"&[disabled]":{bg:"$tonal100",cursor:"not-allowed",color:"$tonal400"},"&:not([disabled]):hover":{bg:t},"&:not([disabled]):active":{bg:e}}),f=i(t,{border:0,py:"$3",px:"$4",width:"100%",display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"pointer",'&[data-state="open"]':{borderRadius:"$0 $0 0 0","& svg":{transition:"transform 300ms",transform:"rotate(180deg)"}},'&[data-state="closed"]':{borderRadius:"$0","& svg":{transition:"transform 300ms",transform:"rotate(0deg)"}},variants:{theme:{primaryDark:l("$primaryDark",m(.1,s.colors.primaryDark.value),m(.15,s.colors.primaryDark.value)),light:l("#fff",m(.1,"#fff"),m(.15,"#fff"),"$tonal600")}}}),c=t=>{let{theme:i="primaryDark",children:s}=t,m=function(r,t){if(null==r)return{};var e,o,a={},n=Object.keys(r);for(o=0;o<n.length;o++)e=n[o],t.indexOf(e)>=0||(a[e]=r[e]);return a}(t,r);return e.createElement(f,Object.assign({theme:i},m),e.createElement(o,null,s),e.createElement(a,{is:n}))};export{c as AccordionTrigger};
|
|
@@ -5,7 +5,7 @@ import { Override } from '../../utilities';
|
|
|
5
5
|
declare const StyledButton: import("@stitches/react/types/styled-component").StyledComponent<"button", {
|
|
6
6
|
theme?: "primary" | "success" | "danger" | "warning" | "neutral" | undefined;
|
|
7
7
|
appearance?: "outline" | "solid" | "simple" | undefined;
|
|
8
|
-
size?: "md" | "lg" | undefined;
|
|
8
|
+
size?: "md" | "lg" | "xl" | undefined;
|
|
9
9
|
isRounded?: boolean | "true" | undefined;
|
|
10
10
|
}, {
|
|
11
11
|
sm: string;
|
|
@@ -277,5 +277,5 @@ declare type ActionIconProps = Override<React.ComponentProps<typeof StyledButton
|
|
|
277
277
|
children: React.ReactNode;
|
|
278
278
|
label: string;
|
|
279
279
|
} & NavigatorActions>;
|
|
280
|
-
export declare const ActionIcon: React.ForwardRefExoticComponent<Pick<ActionIconProps, "appearance" | "color" | "translate" | "size" | "css" | "theme" | "onBlur" | "onSubmit" | "form" | "label" | "slot" | "style" | "title" | "hidden" | "key" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "as" | "disabled" | "value" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "
|
|
280
|
+
export declare const ActionIcon: React.ForwardRefExoticComponent<Pick<ActionIconProps, "appearance" | "color" | "translate" | "size" | "css" | "theme" | "onBlur" | "onSubmit" | "form" | "label" | "slot" | "style" | "title" | "hidden" | "key" | "name" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "as" | "disabled" | "value" | "type" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "isRounded" | keyof NavigatorActions> & React.RefAttributes<HTMLButtonElement>>;
|
|
281
281
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=["children","theme","appearance","size","label","href","disabled"];function r(){return(r=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(this,arguments)}import a from"invariant";import{forwardRef as
|
|
1
|
+
const e=["children","theme","appearance","size","label","href","disabled"];function r(){return(r=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(this,arguments)}import a from"invariant";import{darken as s}from"polished";import{forwardRef as i,Children as n,createElement as o,isValidElement as c,cloneElement as t}from"react";import{styled as l,theme as p}from"../../stitches.js";import{Icon as d}from"../icon/Icon.js";const m=(e,r,a)=>({bg:"transparent",color:e,"&:not(:disabled):hover, &:not(:disabled):focus":{color:r},"&:not(:disabled):active":{color:a},"&[disabled]":{color:"$tonal400",cursor:"not-allowed"}}),u=(e,r,a)=>({bg:e,color:"white","&:not(:disabled):hover, &:not(:disabled):focus":{bg:r,color:"white"},"&:not(:disabled):active":{bg:a},"&[disabled]":{bg:"$tonal100",color:"$tonal400",cursor:"not-allowed"}}),$=(e,r,a)=>({border:"1px solid",borderColor:"currentColor",color:e,"&:not(:disabled):hover, &:not(:disabled):focus":{color:r},"&:not(:disabled):active":{color:a},"&[disabled]":{borderColor:"$tonal400",color:"$tonal400",cursor:"not-allowed"}}),y=l("button",{alignItems:"center",appearance:"none",bg:"white",border:"unset",borderRadius:"$0",boxSizing:"border-box",cursor:"pointer",display:"flex",justifyContent:"center",p:"unset",transition:"all 100ms ease-out",variants:{theme:{neutral:{},primary:{},success:{},warning:{},danger:{}},appearance:{simple:{},outline:{},solid:{}},size:{md:{size:"$3"},lg:{size:"$4"},xl:{size:"$5"}},isRounded:{true:{borderRadius:"$round"}}},compoundVariants:[{theme:"neutral",appearance:"simple",css:m("$tonal300","$primaryMid","$primaryDark")},{theme:"primary",appearance:"simple",css:m("$primary","$primaryMid","$primaryDark")},{theme:"primaryDark",appearance:"simple",css:m("$primaryDark",s(.1,p.colors.primaryDark.value),s(.15,p.colors.primaryDark.value))},{theme:"success",appearance:"simple",css:m("$success","$successMid","$successDark")},{theme:"warning",appearance:"simple",css:m("$warning","$warningMid","$warningDark")},{theme:"danger",appearance:"simple",css:m("$danger","$dangerMid","$dangerDark")},{theme:"primary",appearance:"solid",css:u("$primary","$primaryMid","$primaryDark")},{theme:"primaryDark",appearance:"solid",css:u("$primaryDark",s(.1,p.colors.primaryDark.value),s(.15,p.colors.primaryDark.value))},{theme:"success",appearance:"solid",css:u("$success","$successMid","$successDark")},{theme:"warning",appearance:"solid",css:u("$warning","$warningMid","$warningDark")},{theme:"danger",appearance:"solid",css:u("$danger","$dangerMid","$dangerDark")},{theme:"primary",appearance:"outline",css:$("$primary","$primaryMid","$primaryDark")},{theme:"primaryDark",appearance:"outline",css:$("$primaryDark",s(.1,p.colors.primaryDark.value),s(.15,p.colors.primaryDark.value))},{theme:"success",appearance:"outline",css:$("$success","$successMid","$successDark")},{theme:"warning",appearance:"outline",css:$("$warning","$warningMid","$warningDark")},{theme:"danger",appearance:"outline",css:$("$danger","$dangerMid","$dangerDark")}]}),g=i(((s,i)=>{let{children:l,theme:p="primary",appearance:m="simple",size:u="md",label:$,href:b,disabled:h}=s,k=function(e,r){if(null==e)return{};var a,s,i={},n=Object.keys(e);for(s=0;s<n.length;s++)a=n[s],r.indexOf(a)>=0||(i[a]=e[a]);return i}(s,e);const f=`A single ${d.displayName} component is permitted as a child of ${g.displayName}`;a(1===n.count(l),f);const D=b?{as:"a",href:h?null:b,onClick:void 0,"aria-disabled":!!h}:{type:"button"};return o(y,Object.assign({},k,D,{"aria-label":$,theme:p,appearance:m,size:u,ref:i,disabled:h}),n.map(l,(e=>{if(!c(e))throw new Error(f);return a(e.type===d,`Children of type ${null==e?void 0:e.type} aren't permitted. Only an ${d.displayName} component is allowed in ${g.displayName}`),t(e,{css:r({size:["lg","xl"].includes(u)?20:16},e.props.css?e.props.css:{})})})))}));g.displayName="ActionIcon";export{g as ActionIcon};
|
|
@@ -17,6 +17,7 @@ declare type TableSubComponents = {
|
|
|
17
17
|
};
|
|
18
18
|
declare const StyledTable: import("@stitches/react/types/styled-component").StyledComponent<"table", {
|
|
19
19
|
size?: "md" | "lg" | undefined;
|
|
20
|
+
corners?: "round" | "square" | undefined;
|
|
20
21
|
}, {
|
|
21
22
|
sm: string;
|
|
22
23
|
md: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=["size"];import{createElement as
|
|
1
|
+
const e=["size","corners"];import{createElement as r}from"react";import{styled as o}from"../../stitches.js";import{TableBody as t}from"./TableBody.js";import{TableCell as s}from"./TableCell.js";import{TableFooter as i}from"./TableFooter.js";import{TableFooterCell as l}from"./TableFooterCell.js";import{TableHeader as a}from"./TableHeader.js";import{TableHeaderCell as d}from"./TableHeaderCell.js";import{TableRow as m}from"./TableRow.js";const n=o("table",{borderCollapse:"separate",borderSpacing:0,fontFamily:"$sans",fontSize:"$sm",width:"100%",variants:{size:{md:{[`${s}, ${d}, ${l}`]:{height:"$4"}},lg:{[`${s}, ${d}, ${l}`]:{height:"$5"}}},corners:{round:{[`${d}`]:{"&:first-of-type":{borderTopLeftRadius:"$0"},"&:last-of-type":{borderTopRightRadius:"$0"}},[`${m}:last-child`]:{[`${s}:first-child`]:{borderBottomLeftRadius:"$0"},[`${s}:last-child`]:{borderBottomRightRadius:"$0"}}},square:{}}}}),f=o=>{let{size:t="md",corners:s="round"}=o,i=function(e,r){if(null==e)return{};var o,t,s={},i=Object.keys(e);for(t=0;t<i.length;t++)o=i[t],r.indexOf(o)>=0||(s[o]=e[o]);return s}(o,e);return r(n,Object.assign({size:t,corners:s},i))};f.Body=t,f.Cell=s,f.Footer=i,f.FooterCell=l,f.Header=a,f.HeaderCell=d,f.Row=m,f.displayName="Table";export{f as Table};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{styled as t}from"../../stitches.js";const o=t("td",{borderBottom:"1px solid $tonal100",boxSizing:"border-box",color:"$tonal400",fontFamily:"$body",lineHeight:1.5,p:"$2 $3",textAlign:"left",verticalAlign:"middle","tr:nth-child(odd) &":{bg:"white"},"tr:nth-child(even) &":{bg:"$tonal50"}});o.displayName="TableCell";export{o as TableCell};
|
|
1
|
+
import{styled as t}from"../../stitches.js";const o=t("td",{borderBottom:"1px solid $tonal100",boxSizing:"border-box",color:"$tonal400",fontFamily:"$body",lineHeight:1.5,p:"$2 $3",textAlign:"left",verticalAlign:"middle","&:first-child":{fontWeight:"bold"},"tr:nth-child(odd) &":{bg:"white"},"tr:nth-child(even) &":{bg:"$tonal50"}});o.displayName="TableCell";export{o as TableCell};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const StyledTableHeader: import("@stitches/react/types/styled-component").StyledComponent<"thead", {
|
|
3
|
+
theme?: "primary" | "primaryDark" | undefined;
|
|
4
|
+
}, {
|
|
2
5
|
sm: string;
|
|
3
6
|
md: string;
|
|
4
7
|
lg: string;
|
|
@@ -263,3 +266,6 @@ export declare const TableHeader: import("@stitches/react/types/styled-component
|
|
|
263
266
|
};
|
|
264
267
|
};
|
|
265
268
|
}>>;
|
|
269
|
+
declare type TableHeaderProps = React.ComponentProps<typeof StyledTableHeader>;
|
|
270
|
+
export declare const TableHeader: React.FC<TableHeaderProps>;
|
|
271
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{styled as
|
|
1
|
+
const e=["theme"];import{styled as r}from"../../stitches.js";import t from"react";import{TableHeaderCell as a}from"./TableHeaderCell.js";const m=r("thead",{variants:{theme:{primary:{[`${a}`]:{bg:"$primary"}},primaryDark:{[`${a}`]:{bg:"$primaryDark"}}}}}),i=r=>{let{theme:a="primaryDark"}=r,i=function(e,r){if(null==e)return{};var t,a,m={},i=Object.keys(e);for(a=0;a<i.length;a++)t=i[a],r.indexOf(t)>=0||(m[t]=e[t]);return m}(r,e);return t.createElement(m,Object.assign({theme:a},i))};i.displayName="TableHeader";export{i as TableHeader};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{styled as e}from"../../stitches.js";const t=e("th",{
|
|
1
|
+
import{styled as e}from"../../stitches.js";const t=e("th",{color:"white",fontFamily:"$body",fontWeight:600,lineHeight:1.5,p:"$2 $3",textAlign:"left",verticalAlign:"middle"});t.displayName="TableHeaderCell";export{t as TableHeaderCell};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
declare const StyledTabTrigger: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/react-tabs").TabsTriggerProps & React.RefAttributes<HTMLDivElement>>, {
|
|
2
|
+
declare const StyledTabTrigger: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/react-tabs").TabsTriggerProps & React.RefAttributes<HTMLDivElement>>, {
|
|
3
|
+
theme?: "dark" | "light" | undefined;
|
|
4
|
+
}, {
|
|
3
5
|
sm: string;
|
|
4
6
|
md: string;
|
|
5
7
|
lg: string;
|
|
@@ -264,9 +266,9 @@ declare const StyledTabTrigger: import("@stitches/react/types/styled-component")
|
|
|
264
266
|
};
|
|
265
267
|
};
|
|
266
268
|
}>>;
|
|
267
|
-
|
|
269
|
+
interface TabTriggerProps extends React.ComponentProps<typeof StyledTabTrigger> {
|
|
268
270
|
value: string;
|
|
269
271
|
disabled?: boolean;
|
|
270
|
-
}
|
|
272
|
+
}
|
|
271
273
|
export declare const TabTrigger: React.FC<TabTriggerProps>;
|
|
272
274
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const e=["children","theme","disabled"];import{Trigger as t}from"@radix-ui/react-tabs";import{createElement as a}from"react";import{opacify as o}from"polished";import{styled as r,theme as i}from"../../stitches.js";const d=r(t,{textTransform:"uppercase",cursor:"pointer",flexShrink:0,fontFamily:"$body",p:"$4",height:"$5",userSelect:"none",transition:"0.3s",variants:{theme:{light:{bg:"white",'&[data-state="active"]':{color:"$primary",fontWeight:600,letterSpacing:"-0.005em",boxShadow:"inset 0 -2px 0 0 currentColor"},'&[data-state="inactive"]':{color:"$tonal500"},"&:not([data-disabled]):hover":{color:"$primary",bg:o(-.9,i.colors.primary.value)},"&:not([data-disabled]):active":{color:"$primary",bg:o(-.8,i.colors.primary.value),boxShadow:"none"},"&[data-disabled],&[data-disabled]:hover":{color:"$tonal200",cursor:"not-allowed"}},dark:{color:"white",'&[data-state="active"]':{fontWeight:600,letterSpacing:"-0.005em",boxShadow:"inset 0 -2px 0 0 currentColor"},"&:not([data-disabled]):hover":{bg:o(-.8,"white")},"&:not([data-disabled]):active":{bg:o(-.7,"white"),boxShadow:"none"},"&[data-disabled],&[data-disabled]:hover":{color:"$tonal200",cursor:"not-allowed"}}}}}),l=t=>{let{children:o,theme:r,disabled:i=!1}=t,l=function(e,t){if(null==e)return{};var a,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)a=i[o],t.indexOf(a)>=0||(r[a]=e[a]);return r}(t,e);return a(d,Object.assign({disabled:i,theme:r},l),o)};l.displayName="TabTrigger";export{l as TabTrigger};
|
|
@@ -1,271 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { TabTrigger } from './TabTrigger';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
xl: string;
|
|
8
|
-
reducedMotion: string;
|
|
9
|
-
allowMotion: string;
|
|
10
|
-
hover: string;
|
|
11
|
-
}, import("@stitches/react/types/css-util").CSS<{
|
|
12
|
-
sm: string;
|
|
13
|
-
md: string;
|
|
14
|
-
lg: string;
|
|
15
|
-
xl: string;
|
|
16
|
-
reducedMotion: string;
|
|
17
|
-
allowMotion: string;
|
|
18
|
-
hover: string;
|
|
3
|
+
import { TriggerListWrapper } from './TabsTriggerList';
|
|
4
|
+
declare type TabsProps = React.ComponentProps<typeof StyledRoot>;
|
|
5
|
+
declare const StyledRoot: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/react-tabs").TabsProps & React.RefAttributes<HTMLDivElement>>, {
|
|
6
|
+
theme?: "dark" | "light" | undefined;
|
|
19
7
|
}, {
|
|
20
|
-
colors: {
|
|
21
|
-
textForeground: any;
|
|
22
|
-
textSubtle: any;
|
|
23
|
-
textPlaceholder: any;
|
|
24
|
-
background: any;
|
|
25
|
-
backgroundAccent: any;
|
|
26
|
-
tonal50: any;
|
|
27
|
-
tonal100: any;
|
|
28
|
-
tonal200: any;
|
|
29
|
-
tonal300: any;
|
|
30
|
-
tonal400: any;
|
|
31
|
-
tonal500: any;
|
|
32
|
-
tonal600: any;
|
|
33
|
-
alpha100: any;
|
|
34
|
-
alpha150: any;
|
|
35
|
-
alpha200: any;
|
|
36
|
-
alpha250: any;
|
|
37
|
-
alpha600: any;
|
|
38
|
-
primaryLight: any;
|
|
39
|
-
primary: any;
|
|
40
|
-
primaryMid: any;
|
|
41
|
-
primaryDark: any;
|
|
42
|
-
secondary: any;
|
|
43
|
-
brandRed: any;
|
|
44
|
-
brandRedAccent: any;
|
|
45
|
-
brandGreen: any;
|
|
46
|
-
brandGreenAccent: any;
|
|
47
|
-
brandPurple: any;
|
|
48
|
-
brandPurpleAccent: any;
|
|
49
|
-
brandYellow: any;
|
|
50
|
-
brandYellowAccent: any;
|
|
51
|
-
successLight: any;
|
|
52
|
-
success: any;
|
|
53
|
-
successMid: any;
|
|
54
|
-
successDark: any;
|
|
55
|
-
dangerLight: any;
|
|
56
|
-
danger: any;
|
|
57
|
-
dangerMid: any;
|
|
58
|
-
dangerDark: any;
|
|
59
|
-
warningLight: any;
|
|
60
|
-
warning: any;
|
|
61
|
-
warningMid: any;
|
|
62
|
-
warningDark: any;
|
|
63
|
-
subjectEnglish: any;
|
|
64
|
-
subjectMaths: any;
|
|
65
|
-
subjectScience: any;
|
|
66
|
-
subjectVerbalReasoning: any;
|
|
67
|
-
subjectNonVerbalReasoning: any;
|
|
68
|
-
subjectCreativeWriting: any;
|
|
69
|
-
subjectExamSkills: any;
|
|
70
|
-
};
|
|
71
|
-
space: {
|
|
72
|
-
"0": any;
|
|
73
|
-
"1": any;
|
|
74
|
-
"2": any;
|
|
75
|
-
"3": any;
|
|
76
|
-
"4": any;
|
|
77
|
-
"5": any;
|
|
78
|
-
"6": any;
|
|
79
|
-
"7": any;
|
|
80
|
-
"8": any;
|
|
81
|
-
"9": any;
|
|
82
|
-
};
|
|
83
|
-
fontSizes: {
|
|
84
|
-
xs: any;
|
|
85
|
-
sm: any;
|
|
86
|
-
md: any;
|
|
87
|
-
lg: any;
|
|
88
|
-
xl: any;
|
|
89
|
-
"2xl": any;
|
|
90
|
-
"3xl": any;
|
|
91
|
-
"4xl": any;
|
|
92
|
-
};
|
|
93
|
-
fonts: {
|
|
94
|
-
sans: any;
|
|
95
|
-
mono: any;
|
|
96
|
-
display: any;
|
|
97
|
-
body: any;
|
|
98
|
-
};
|
|
99
|
-
sizes: {
|
|
100
|
-
"0": any;
|
|
101
|
-
"1": any;
|
|
102
|
-
"2": any;
|
|
103
|
-
"3": any;
|
|
104
|
-
"4": any;
|
|
105
|
-
"5": any;
|
|
106
|
-
"6": any;
|
|
107
|
-
"7": any;
|
|
108
|
-
"8": any;
|
|
109
|
-
};
|
|
110
|
-
radii: {
|
|
111
|
-
"0": any;
|
|
112
|
-
"1": any;
|
|
113
|
-
"2": any;
|
|
114
|
-
"3": any;
|
|
115
|
-
round: any;
|
|
116
|
-
};
|
|
117
|
-
shadows: {
|
|
118
|
-
"0": any;
|
|
119
|
-
"1": any;
|
|
120
|
-
"2": any;
|
|
121
|
-
"3": any;
|
|
122
|
-
};
|
|
123
|
-
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
124
|
-
bg: (value: {
|
|
125
|
-
readonly [$$PropertyValue]: "background";
|
|
126
|
-
}) => {
|
|
127
|
-
background: {
|
|
128
|
-
readonly [$$PropertyValue]: "background";
|
|
129
|
-
};
|
|
130
|
-
};
|
|
131
|
-
inset: (value: string | number | {
|
|
132
|
-
readonly [$$ScaleValue]: "space";
|
|
133
|
-
}) => {
|
|
134
|
-
top: string | number | {
|
|
135
|
-
readonly [$$ScaleValue]: "space";
|
|
136
|
-
};
|
|
137
|
-
right: string | number | {
|
|
138
|
-
readonly [$$ScaleValue]: "space";
|
|
139
|
-
};
|
|
140
|
-
bottom: string | number | {
|
|
141
|
-
readonly [$$ScaleValue]: "space";
|
|
142
|
-
};
|
|
143
|
-
left: string | number | {
|
|
144
|
-
readonly [$$ScaleValue]: "space";
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
size: (value: string | number | {
|
|
148
|
-
readonly [$$ScaleValue]: "size";
|
|
149
|
-
}) => {
|
|
150
|
-
height: string | number | {
|
|
151
|
-
readonly [$$ScaleValue]: "size";
|
|
152
|
-
};
|
|
153
|
-
width: string | number | {
|
|
154
|
-
readonly [$$ScaleValue]: "size";
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
p: (value: string | number | {
|
|
158
|
-
readonly [$$ScaleValue]: "space";
|
|
159
|
-
}) => {
|
|
160
|
-
padding: string | number | {
|
|
161
|
-
readonly [$$ScaleValue]: "space";
|
|
162
|
-
};
|
|
163
|
-
};
|
|
164
|
-
pt: (value: string | number | {
|
|
165
|
-
readonly [$$ScaleValue]: "space";
|
|
166
|
-
}) => {
|
|
167
|
-
paddingTop: string | number | {
|
|
168
|
-
readonly [$$ScaleValue]: "space";
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
pr: (value: string | number | {
|
|
172
|
-
readonly [$$ScaleValue]: "space";
|
|
173
|
-
}) => {
|
|
174
|
-
paddingRight: string | number | {
|
|
175
|
-
readonly [$$ScaleValue]: "space";
|
|
176
|
-
};
|
|
177
|
-
};
|
|
178
|
-
pb: (value: string | number | {
|
|
179
|
-
readonly [$$ScaleValue]: "space";
|
|
180
|
-
}) => {
|
|
181
|
-
paddingBottom: string | number | {
|
|
182
|
-
readonly [$$ScaleValue]: "space";
|
|
183
|
-
};
|
|
184
|
-
};
|
|
185
|
-
pl: (value: string | number | {
|
|
186
|
-
readonly [$$ScaleValue]: "space";
|
|
187
|
-
}) => {
|
|
188
|
-
paddingLeft: string | number | {
|
|
189
|
-
readonly [$$ScaleValue]: "space";
|
|
190
|
-
};
|
|
191
|
-
};
|
|
192
|
-
px: (value: string | number | {
|
|
193
|
-
readonly [$$ScaleValue]: "space";
|
|
194
|
-
}) => {
|
|
195
|
-
paddingLeft: string | number | {
|
|
196
|
-
readonly [$$ScaleValue]: "space";
|
|
197
|
-
};
|
|
198
|
-
paddingRight: string | number | {
|
|
199
|
-
readonly [$$ScaleValue]: "space";
|
|
200
|
-
};
|
|
201
|
-
};
|
|
202
|
-
py: (value: string | number | {
|
|
203
|
-
readonly [$$ScaleValue]: "space";
|
|
204
|
-
}) => {
|
|
205
|
-
paddingTop: string | number | {
|
|
206
|
-
readonly [$$ScaleValue]: "space";
|
|
207
|
-
};
|
|
208
|
-
paddingBottom: string | number | {
|
|
209
|
-
readonly [$$ScaleValue]: "space";
|
|
210
|
-
};
|
|
211
|
-
};
|
|
212
|
-
m: (value: string | number | {
|
|
213
|
-
readonly [$$ScaleValue]: "space";
|
|
214
|
-
}) => {
|
|
215
|
-
margin: string | number | {
|
|
216
|
-
readonly [$$ScaleValue]: "space";
|
|
217
|
-
};
|
|
218
|
-
};
|
|
219
|
-
mt: (value: string | number | {
|
|
220
|
-
readonly [$$ScaleValue]: "space";
|
|
221
|
-
}) => {
|
|
222
|
-
marginTop: string | number | {
|
|
223
|
-
readonly [$$ScaleValue]: "space";
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
mr: (value: string | number | {
|
|
227
|
-
readonly [$$ScaleValue]: "space";
|
|
228
|
-
}) => {
|
|
229
|
-
marginRight: string | number | {
|
|
230
|
-
readonly [$$ScaleValue]: "space";
|
|
231
|
-
};
|
|
232
|
-
};
|
|
233
|
-
mb: (value: string | number | {
|
|
234
|
-
readonly [$$ScaleValue]: "space";
|
|
235
|
-
}) => {
|
|
236
|
-
marginBottom: string | number | {
|
|
237
|
-
readonly [$$ScaleValue]: "space";
|
|
238
|
-
};
|
|
239
|
-
};
|
|
240
|
-
ml: (value: string | number | {
|
|
241
|
-
readonly [$$ScaleValue]: "space";
|
|
242
|
-
}) => {
|
|
243
|
-
marginLeft: string | number | {
|
|
244
|
-
readonly [$$ScaleValue]: "space";
|
|
245
|
-
};
|
|
246
|
-
};
|
|
247
|
-
mx: (value: string | number | {
|
|
248
|
-
readonly [$$ScaleValue]: "space";
|
|
249
|
-
}) => {
|
|
250
|
-
marginLeft: string | number | {
|
|
251
|
-
readonly [$$ScaleValue]: "space";
|
|
252
|
-
};
|
|
253
|
-
marginRight: string | number | {
|
|
254
|
-
readonly [$$ScaleValue]: "space";
|
|
255
|
-
};
|
|
256
|
-
};
|
|
257
|
-
my: (value: string | number | {
|
|
258
|
-
readonly [$$ScaleValue]: "space";
|
|
259
|
-
}) => {
|
|
260
|
-
marginTop: string | number | {
|
|
261
|
-
readonly [$$ScaleValue]: "space";
|
|
262
|
-
};
|
|
263
|
-
marginBottom: string | number | {
|
|
264
|
-
readonly [$$ScaleValue]: "space";
|
|
265
|
-
};
|
|
266
|
-
};
|
|
267
|
-
}>>;
|
|
268
|
-
declare const StyledTabContent: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/react-tabs").TabsContentProps & React.RefAttributes<HTMLDivElement>>, {}, {
|
|
269
8
|
sm: string;
|
|
270
9
|
md: string;
|
|
271
10
|
lg: string;
|
|
@@ -530,7 +269,9 @@ declare const StyledTabContent: import("@stitches/react/types/styled-component")
|
|
|
530
269
|
};
|
|
531
270
|
};
|
|
532
271
|
}>>;
|
|
533
|
-
declare const
|
|
272
|
+
declare const StyledTabContent: import("@stitches/react/types/styled-component").StyledComponent<React.ForwardRefExoticComponent<import("@radix-ui/react-tabs").TabsContentProps & React.RefAttributes<HTMLDivElement>>, {
|
|
273
|
+
theme?: "dark" | "light" | undefined;
|
|
274
|
+
}, {
|
|
534
275
|
sm: string;
|
|
535
276
|
md: string;
|
|
536
277
|
lg: string;
|
|
@@ -795,9 +536,8 @@ declare const StyledTriggerList: import("@stitches/react/types/styled-component"
|
|
|
795
536
|
};
|
|
796
537
|
};
|
|
797
538
|
}>>;
|
|
798
|
-
declare type TabsProps = React.ComponentProps<typeof StyledRoot>;
|
|
799
539
|
export declare const Tabs: React.FC<TabsProps> & {
|
|
800
|
-
TriggerList: typeof
|
|
540
|
+
TriggerList: typeof TriggerListWrapper;
|
|
801
541
|
Trigger: typeof TabTrigger;
|
|
802
542
|
Content: typeof StyledTabContent;
|
|
803
543
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const r=["children"];import{Root as
|
|
1
|
+
const r=["theme","children"];import{Root as t,Content as e}from"@radix-ui/react-tabs";import{createElement as i}from"react";import{styled as o}from"../../stitches.js";import{TabTrigger as m}from"./TabTrigger.js";import{TriggerListWrapper as a}from"./TabsTriggerList.js";import{passPropsToChildren as l}from"./utils.js";const n=o(t,{display:"flex",flexDirection:"column",variants:{theme:{light:{bg:"white",color:"$primary"},dark:{bg:"$primaryDark",color:"white"}}}}),s=o(e,{flexGrow:1,fontFamily:"$body",variants:{theme:{light:{color:"$textForeground"},dark:{color:"white"}}}}),c=t=>{let{theme:e="light",children:o}=t,m=function(r,t){if(null==r)return{};var e,i,o={},m=Object.keys(r);for(i=0;i<m.length;i++)e=m[i],t.indexOf(e)>=0||(o[e]=r[e]);return o}(t,r);return i(n,Object.assign({theme:e},m),l(o,{theme:e},[a,s]))};c.TriggerList=a,c.Trigger=m,c.Content=s,c.displayName="Tabs";export{c as Tabs};
|