markora-ui 0.1.1 → 0.1.4
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/README.md +10 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -0
- package/package.json +7 -2
- package/dist/index.d.ts +0 -1124
package/README.md
CHANGED
|
@@ -77,13 +77,13 @@ export default {
|
|
|
77
77
|
In your app's entry point:
|
|
78
78
|
|
|
79
79
|
```typescript
|
|
80
|
-
import '
|
|
80
|
+
import 'markora-ui/styles.css';
|
|
81
81
|
```
|
|
82
82
|
|
|
83
83
|
### Step 4: Start Using Components
|
|
84
84
|
|
|
85
85
|
```typescript
|
|
86
|
-
import { Button, Card, CardContent, CardHeader, CardTitle } from '
|
|
86
|
+
import { Button, Card, CardContent, CardHeader, CardTitle } from 'markora-ui';
|
|
87
87
|
|
|
88
88
|
export default function App() {
|
|
89
89
|
return (
|
|
@@ -267,7 +267,7 @@ export default function RootLayout({ children }) {
|
|
|
267
267
|
// app/page.tsx
|
|
268
268
|
'use client';
|
|
269
269
|
|
|
270
|
-
import { Button, Card, CardContent, CardHeader, CardTitle } from '
|
|
270
|
+
import { Button, Card, CardContent, CardHeader, CardTitle } from 'markora-ui';
|
|
271
271
|
|
|
272
272
|
export default function Page() {
|
|
273
273
|
return (
|
|
@@ -457,7 +457,13 @@ npm install
|
|
|
457
457
|
# Start dev server
|
|
458
458
|
npm run dev
|
|
459
459
|
|
|
460
|
-
# Build
|
|
460
|
+
# Build library package only (outputs to dist/)
|
|
461
|
+
npm run build:lib
|
|
462
|
+
|
|
463
|
+
# Build docs website only (outputs to website-dist/)
|
|
464
|
+
npm run build:site
|
|
465
|
+
|
|
466
|
+
# Build both library + website
|
|
461
467
|
npm run build
|
|
462
468
|
|
|
463
469
|
# Run tests
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
10
10
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
require('./styles.css');
|
|
14
14
|
|
|
15
15
|
// src/utils/cn.ts
|
|
16
16
|
function cn(...classes) {
|