Skip to content
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
fe9dc53
Init components package
forestream Jul 1, 2025
e42cfa1
Update components package devup.json
forestream Jul 1, 2025
e1de67c
Update button component
forestream Jul 2, 2025
c9c963c
Remove box
forestream Jul 2, 2025
e376e35
Merge branch 'main' of https://github.com/dev-five-git/devup-ui into …
forestream Jul 2, 2025
3b12314
Update packages
forestream Jul 2, 2025
841ffec
Remove unnecessary css vars
forestream Jul 2, 2025
35cc816
Upgrade storybook to 9.0.15
forestream Jul 2, 2025
1b4ad94
Remove unused storybook addon
forestream Jul 2, 2025
ee92876
Fix storybook upgrade error
forestream Jul 2, 2025
b5e125b
Install clsx
forestream Jul 2, 2025
d024d40
Create variants object
forestream Jul 2, 2025
a46f080
Merge branch 'main' into feat-components
forestream Jul 2, 2025
5cb8554
Add styleVars keys
forestream Jul 3, 2025
abfe32e
Add WithIcon story
forestream Jul 3, 2025
6a06e5c
Merge branch 'main' into feat-components
forestream Jul 3, 2025
198662a
Merge branch 'main' into feat-components
forestream Jul 3, 2025
281a7fe
Add error & disabled design
forestream Jul 3, 2025
42793ce
Add button comp form story
forestream Jul 3, 2025
6f50121
Remove changelog md
forestream Jul 3, 2025
499b4e9
Fix package.json, .changeset
forestream Jul 3, 2025
8a3b9a8
Fix fallback colors
forestream Jul 3, 2025
3fccbfd
Merge branch 'main' into feat-components
forestream Jul 3, 2025
33ac8e0
Setup components tests
forestream Jul 3, 2025
d2c2607
Merge branch 'main' into feat-components
forestream Jul 4, 2025
a22507d
Merge branch 'main' into feat-components
forestream Jul 4, 2025
d131d2d
Merge branch 'main' into feat-components
forestream Jul 7, 2025
bfa72e4
Update repo
forestream Jul 7, 2025
709ac9a
Edit vitest config
forestream Jul 7, 2025
b10abf8
Fix button comp
forestream Jul 7, 2025
a905e2f
Fix button comp test
forestream Jul 7, 2025
4d39604
Merge branch 'main' into feat-components
forestream Jul 7, 2025
a9b65eb
Merge branch 'main' into feat-components
forestream Jul 7, 2025
37c36d5
Install @devup-ui/components in apps/landing
forestream Jul 7, 2025
7c7df38
Set storybook build command in yml
forestream Jul 7, 2025
e56667e
Add component page links and dumm mdx
forestream Jul 7, 2025
195f96d
Fix color, letter
forestream Jul 7, 2025
d354422
Change prop name
forestream Jul 7, 2025
29b7cb0
Fix test
forestream Jul 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ codecov.*
codecov.*.*
lcov.info
tarpaulin-report.html
tarpaulin-report.json
tarpaulin-report.json
*storybook.log
storybook-static
4 changes: 4 additions & 0 deletions apps/landing/src/app/(detail)/components/form/button/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { Button } from '@devup-ui/react'
export default function Page() {
return <Button>Button</Button>
}
19 changes: 19 additions & 0 deletions packages/components/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { DevupUI } from '@devup-ui/vite-plugin'
import type { StorybookConfig } from '@storybook/react-vite'
import { mergeConfig } from 'vite'

const config: StorybookConfig = {
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
addons: ['@storybook/addon-docs', '@storybook/addon-onboarding'],
framework: {
name: '@storybook/react-vite',
options: {},
},

viteFinal(config) {
return mergeConfig(config, {
plugins: [DevupUI()],
})
},
}
export default config
62 changes: 62 additions & 0 deletions packages/components/.storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
import { setTheme } from '@devup-ui/react'
import { Decorator } from '@storybook/react-vite'
import { useEffect } from 'react'
const preview: import('@storybook/react-vite').Preview = {
parameters: {
layout: 'fullscreen',
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
},
}

export default preview

export const globalTypes = {
theme: {
name: 'Theme',
description: 'Global theme for components',
defaultValue: 'light',
toolbar: {
// The icon for the toolbar item
icon: 'circlehollow',
// Array of options
items: [
{ value: 'default', icon: 'circlehollow', title: 'light' },
{ value: 'dark', icon: 'circle', title: 'dark' },
],
// Property that specifies if the name of the item will be displayed
showName: true,
},
},
}

export const withHead: Decorator = (StoryFn) => {
return (
<>
<StoryFn />
</>
)
}
export const withTheme: Decorator = (StoryFn, context) => {
// Get values from story parameter first, else fallback to globals
const theme = context.parameters.theme || context.globals.theme
// eslint-disable-next-line react-hooks/rules-of-hooks
useEffect(() => {
setTheme(theme)
}, [theme])
return (
<>
<StoryFn />
<style
dangerouslySetInnerHTML={{
__html: `:root[data-theme=default]{color-scheme: light;}:root[data-theme=dark]{color-scheme: dark;}`,
}}
></style>
</>
)
}
export const decorators = [withHead, withTheme]
242 changes: 242 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,242 @@
# @devup-ui/react
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changelog 는 제거되어야 합니다


## 1.0.4

### Patch Changes

- 9d45acb: Update wasm

## 1.0.3

### Patch Changes

- c5336c9: Add writingMode, textOrientation

## 1.0.2

### Patch Changes

- bb2f49f: Add vendor properties (moz, webkit, ms)

## 1.0.1

### Patch Changes

- 864c37b: Add info to package.json

## 1.0.0

### Major Changes

- 18b1bd7: Optimize Zero value

## 0.1.34

### Patch Changes

- c029a8d: Fix theme script

## 0.1.33

### Patch Changes

- 57db495: Add initTheme, Fix typing issue of ThemeScript

## 0.1.32

### Patch Changes

- 5f2ad1d: Add default theme

## 0.1.31

### Patch Changes

- e7fd185: Add textDecoration type

## 0.1.30

### Patch Changes

- 0e1ab6e: Support for conditional selector

## 0.1.29

### Patch Changes

- 7535643: Change default generic type of VStack

## 0.1.28

### Patch Changes

- 98c7b47: Add support conditional pattern

## 0.1.27

### Patch Changes

- 68f79d0: Add lineClamp, willChange
- 456cb42: Add visiblity

## 0.1.26

### Patch Changes

- 27c414d: Implement style order

## 0.1.25

### Patch Changes

- a3684c5: Add selectors

## 0.1.24

### Patch Changes

- bf47284: Add borderTopRadius, borderBottomRadius, borderLeftRadius, borderRightRadius, \_print

## 0.1.23

### Patch Changes

- 2102fd7: Support theme typing to css

## 0.1.22

### Patch Changes

- e1d8d8b: Fix typing issue

## 0.1.21

### Patch Changes

- 96cd069: Fix theme typing issue

## 0.1.20

### Patch Changes

- 064476f: Fix TypographyKey type definition for better type checking

## 0.1.19

### Patch Changes

- 7e54c1f: Fix type checking issue

## 0.1.18

### Patch Changes

- 77afb9e: Support generic to as prop

## 0.1.17

### Patch Changes

- ea622ed: Add svg props

## 0.1.16

### Patch Changes

- e072762: convert css

## 0.1.15

### Patch Changes

- b40d274: Add typograhpy to props

## 0.1.14

### Patch Changes

- 7f19bd5: Implement ThemeScript, useTheme, getTheme, setTheme

## 0.1.13

### Patch Changes

- 00b14ca: Support optional args in css

## 0.1.12

### Patch Changes

- b84cbc1: Update css.ts

## 0.1.11

### Patch Changes

- 76e8fa1: Add grid, Support for selector in css

## 0.1.10

### Patch Changes

- 0da9456: Add content to style props

## 0.1.9

### Patch Changes

- 6f7c55d: Add group selector

## 0.1.8

### Patch Changes

- 8943bad: Add double selector

## 0.1.7

### Patch Changes

- 0040445: Fix selector type

## 0.1.6

### Patch Changes

- b25c769: Add placehoder to selector

## 0.1.5

### Patch Changes

- e9d655f: Add shorthand

## 0.1.4

### Patch Changes

- 7bde1f2: Add boxSizing prop

## 0.1.3

### Patch Changes

- 30443ae: Update readme

## 0.1.2

### Patch Changes

- 242a6c2: Update package

## 0.1.1

### Patch Changes

- 6100644: Add Image component

## 0.1.0

### Minor Changes

- c0ff96f: Deploy
Loading
Loading