utscopy 1.1.2 → 1.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.
Files changed (3) hide show
  1. package/README.md +46 -25
  2. package/app/page.js +7 -6
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,36 +1,57 @@
1
1
  This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
2
2
 
3
+
3
4
  ## Getting Started
4
5
 
5
6
  First, run the development server:
6
7
 
7
8
  ```bash
8
- npm run dev
9
- # or
10
- yarn dev
11
- # or
12
- pnpm dev
13
- # or
14
- bun dev
9
+ #cara install
10
+ npm i utscopy
11
+
12
+ #setelah di install import komponen
13
+ import { Button, Card, Header, Footer, Sidebar } from "utscopy";
14
+
15
+ #contoh pemanggilan komponen
16
+ 1. <Button variant="primary" size="medium" shape="default">
17
+ Primary Button
18
+ </Button>
19
+
20
+ 2. <Card
21
+ title="YG U Soul"
22
+ content="Interior Gedung Entertainment Big 3 di Korea Selatan"
23
+ variant="image"
24
+ imageUrl="https://img.era.id/mHAIL0nV-JsK2GBVfNKEOxdSAj3AUgIvThE38LKX9cM/rs:fill:1280:720/g:sm/bG9jYWw6Ly8vcHVibGlzaGVycy8zODY5MS8yMDIwMDkyMzE1MDUtbWFpbi5qcGVn.jpg"
25
+ footerText="@ygofficial"
26
+ style={{ width: '100%' }}
27
+ />
28
+
29
+ 3. <Header
30
+ variant="default"
31
+ currentTheme="${currentTheme}"
32
+ onThemeChange={handleThemeChange}
33
+ logoSrc="https://upload.wikimedia.org/wikipedia/commons/3/31/YG_Entertainment_logo.png"
34
+ logoAlt="YG Logo"
35
+ />
36
+
37
+ 4. <Sidebar
38
+ variant="grouped"
39
+ groups={[
40
+ { title: 'UI Components', items: ['Button', 'Card'] },
41
+ { title: 'Layout', items: ['Header', 'Footer'] },
42
+ ]}
43
+ />
44
+
45
+ 5. <Footer variant="social" />
15
46
  ```
16
47
 
17
- Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
18
-
19
- You can start editing the page by modifying `app/page.js`. The page auto-updates as you edit the file.
20
-
21
- This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
22
-
23
- ## Learn More
24
-
25
- To learn more about Next.js, take a look at the following resources:
48
+ ## Components
26
49
 
27
- - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28
- - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
29
-
30
- You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
31
-
32
- ## Deploy on Vercel
33
-
34
- The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
50
+ ```bash
51
+ Button (primary, secondary, danger, outline)
52
+ Card (basic, featured, image, accent)
53
+ Header (default, center, color, gradient)
54
+ Sidebar (default, compact, grouped, collapsible)
55
+ Footer (default, simple, social, darkSplit)
35
56
 
36
- Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
57
+ ```
package/app/page.js CHANGED
@@ -525,17 +525,18 @@ export default function Page() {
525
525
  <SingleCardDemo>
526
526
  <Card
527
527
  title="Yang Hyun-Suk"
528
- content="CEO YG Entertainment"
528
+ content="CEO YG"
529
529
  variant="basic"
530
- style={{ width: '100%' }}
531
- />
530
+ footerText="Basic Footer"
531
+ />
532
532
  </SingleCardDemo>
533
533
 
534
534
  <CodeBlock style={{ width: '100%' }}>{`
535
535
  <Card
536
- title="Yang Hyun-Suk"
537
- content="CEO YG Entertainment"
538
- variant="basic"
536
+ title="Yang Hyun-Suk"
537
+ content="CEO YG"
538
+ variant="basic"
539
+ footerText="Basic Footer"
539
540
  />
540
541
  `}</CodeBlock>
541
542
  </DemoSection>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utscopy",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "private": false,