Skip to content

Commit e10fbf7

Browse files
committed
Merge branch 'ivoreis-feat/typescript-sidenav'
2 parents 0643235 + e3440bb commit e10fbf7

File tree

8 files changed

+435
-347
lines changed

8 files changed

+435
-347
lines changed

packages/css/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ interface CSSOthersObjectForCSSObject {
5050
/**
5151
* Map all nested selectors
5252
*/
53-
interface CSSSelectorObject {
53+
export interface CSSSelectorObject {
5454
[cssSelector: string]: SystemStyleObject
5555
}
5656

@@ -443,7 +443,7 @@ export type SystemCssProperties = {
443443
| SystemStyleObject
444444
}
445445

446-
interface VariantProperty {
446+
export interface VariantProperty {
447447
/**
448448
* **`Variants`** can be useful for applying complex styles to a component based on a single prop.
449449
*

packages/sidenav/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"version": "0.4.0-alpha.1",
44
"main": "dist/index.js",
55
"module": "dist/index.esm.js",
6+
"types": "dist/index.d.ts",
7+
"sideEffects": false,
68
"license": "MIT",
79
"scripts": {
810
"prepare": "microbundle --no-compress",
@@ -16,7 +18,8 @@
1618
"@mdx-js/react": "^1.0.21",
1719
"deepmerge": "^4.0.0",
1820
"react": "^16.8.6",
19-
"theme-ui": "^0.4.0-alpha.1"
21+
"theme-ui": "^0.4.0-alpha.1",
22+
"@types/mdx-js__react": "^1.5.1"
2023
},
2124
"keywords": [
2225
"theme-ui",

packages/sidenav/src/index.js

Lines changed: 0 additions & 325 deletions
This file was deleted.

0 commit comments

Comments
 (0)