@mintlify/components 0.1.10 → 0.1.11

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.
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ declare function Expandable({ title, description, defaultOpen, onChange, children, }: {
3
+ title: string;
4
+ description?: string;
5
+ defaultOpen?: boolean;
6
+ onChange?: (open: boolean) => void;
7
+ children: React.ReactNode;
8
+ }): JSX.Element;
9
+ export default Expandable;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ declare function ExpandableCover({ title, description, open, setOpen, }: {
3
+ title: string;
4
+ description?: string;
5
+ open: boolean;
6
+ setOpen: (open: boolean) => any;
7
+ }): JSX.Element;
8
+ export default ExpandableCover;
@@ -0,0 +1,2 @@
1
+ import Expandable from './Expandable';
2
+ export { Expandable };
package/dist/main.css CHANGED
@@ -1315,6 +1315,12 @@ video {
1315
1315
  .mb-3 {
1316
1316
  margin-bottom: 0.75rem;
1317
1317
  }
1318
+ .ml-2 {
1319
+ margin-left: 0.5rem;
1320
+ }
1321
+ .-mt-1 {
1322
+ margin-top: -0.25rem;
1323
+ }
1318
1324
  .-mb-px {
1319
1325
  margin-bottom: -1px;
1320
1326
  }
@@ -1372,6 +1378,9 @@ video {
1372
1378
  .h-auto {
1373
1379
  height: auto;
1374
1380
  }
1381
+ .h-3\.5 {
1382
+ height: 0.875rem;
1383
+ }
1375
1384
  .w-1 {
1376
1385
  width: 0.25rem;
1377
1386
  }
@@ -1419,6 +1428,10 @@ video {
1419
1428
  .flex-none {
1420
1429
  flex: none;
1421
1430
  }
1431
+ .rotate-90 {
1432
+ --tw-rotate: 90deg;
1433
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1434
+ }
1422
1435
  .transform {
1423
1436
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1424
1437
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintlify/components",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Open-source library of UI components made with React and TailwindCSS.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",