beyond-system 1.2.4 → 1.2.5
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.
|
@@ -4,7 +4,7 @@ type AccordionContentProps = React.ComponentProps<typeof RadixAccordion.Content>
|
|
|
4
4
|
type AccordionItemProps = React.ComponentProps<typeof RadixAccordion.Item>;
|
|
5
5
|
declare const Accordion: {
|
|
6
6
|
Root: React.ForwardRefExoticComponent<(RadixAccordion.AccordionSingleProps | RadixAccordion.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
Item: ({
|
|
7
|
+
Item: ({ ...props }: AccordionItemProps) => JSX.Element;
|
|
8
8
|
Header: React.ForwardRefExoticComponent<RadixAccordion.AccordionHeaderProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
9
9
|
Trigger: React.ForwardRefExoticComponent<RadixAccordion.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
10
10
|
Content: ({ className, ...props }: AccordionContentProps) => JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../src/components/react/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,cAAc,MAAM,2BAA2B,CAAA;AAE3D,KAAK,qBAAqB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,OAAO,CAAC,CAAA;AAShF,KAAK,kBAAkB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../src/components/react/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,cAAc,MAAM,2BAA2B,CAAA;AAE3D,KAAK,qBAAqB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,OAAO,CAAC,CAAA;AAShF,KAAK,kBAAkB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,CAAA;AAK1E,QAAA,MAAM,SAAS;;yBAJsB,kBAAkB;;;uCATJ,qBAAqB;CAmBvE,CAAA;AAED,eAAe,SAAS,CAAA"}
|
|
@@ -9,8 +9,8 @@ var AccordionContent = function (_a) {
|
|
|
9
9
|
return (react_1.default.createElement(RadixAccordion.Content, tslib_1.__assign({}, props, { className: (0, tailwind_merge_1.twMerge)('AnimateAccordionContent', className) })));
|
|
10
10
|
};
|
|
11
11
|
var AccordionItem = function (_a) {
|
|
12
|
-
var
|
|
13
|
-
return
|
|
12
|
+
var props = tslib_1.__rest(_a, []);
|
|
13
|
+
return react_1.default.createElement(RadixAccordion.Item, tslib_1.__assign({}, props));
|
|
14
14
|
};
|
|
15
15
|
var Accordion = {
|
|
16
16
|
Root: RadixAccordion.Root,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../../../src/components/react/Accordion/Accordion.tsx"],"names":[],"mappings":";;;AAAA,wDAAyB;AACzB,iDAAwC;AAExC,gFAA2D;AAG3D,IAAM,gBAAgB,GAAG,UAAC,EAA8C;IAA5C,IAAA,SAAS,eAAA,EAAK,KAAK,sBAArB,aAAuB,CAAF;IAC7C,OAAO,CACL,8BAAC,cAAc,CAAC,OAAO,uBACjB,KAAK,IACT,SAAS,EAAE,IAAA,wBAAO,EAAC,yBAAyB,EAAE,SAAS,CAAC,IACxD,CACH,CAAA;AACH,CAAC,CAAA;AAED,IAAM,aAAa,GAAG,UAAC,
|
|
1
|
+
{"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../../../src/components/react/Accordion/Accordion.tsx"],"names":[],"mappings":";;;AAAA,wDAAyB;AACzB,iDAAwC;AAExC,gFAA2D;AAG3D,IAAM,gBAAgB,GAAG,UAAC,EAA8C;IAA5C,IAAA,SAAS,eAAA,EAAK,KAAK,sBAArB,aAAuB,CAAF;IAC7C,OAAO,CACL,8BAAC,cAAc,CAAC,OAAO,uBACjB,KAAK,IACT,SAAS,EAAE,IAAA,wBAAO,EAAC,yBAAyB,EAAE,SAAS,CAAC,IACxD,CACH,CAAA;AACH,CAAC,CAAA;AAED,IAAM,aAAa,GAAG,UAAC,EAAgC;QAA3B,KAAK,sBAAV,EAAY,CAAF;IAC/B,OAAO,8BAAC,cAAc,CAAC,IAAI,uBAAK,KAAK,EAAI,CAAA;AAC3C,CAAC,CAAA;AAED,IAAM,SAAS,GAAG;IAChB,IAAI,EAAE,cAAc,CAAC,IAAI;IACzB,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE,cAAc,CAAC,MAAM;IAC7B,OAAO,EAAE,cAAc,CAAC,OAAO;IAC/B,OAAO,EAAE,gBAAgB;CAC1B,CAAA;AAED,kBAAe,SAAS,CAAA"}
|