open-index/open-npm huggingface dataset:
npm package: @riiid/santa-closet-web
Description: UI Design Kit for Santa's products
Author: Riiid
Latest version: 0.1.3

# santa-closet-web
[![NPM](https://img.shields.io/npm/v/@riiid/santa-closet-web.svg)](https://www.npmjs.com/package/@riiid/santa-closet-web)

**UI Design Kit for 🎅's products**

**Dependencies**
- React 에 의존성을 가집니다.

🚧👷 warning 👷🚧  <br/>
- foundation & component 추가 시 중복되는 명칭이 없도록 주의합니다. 👀


## Installation

```bash
yarn add @riiid/santa-closet-web
```

## Usage

### foundation
santa-closet 의 색상, 아이콘, 쉐도우 스타일을 정의합니다. <br/>
기본 팔레트 색상 외에도 테마 색상 `dark` 또는 `light` 을 적용하실 수 있습니다.

foundation 구조는 아래와 같습니다. <br/>

| Plugin | README |
| ------ | ------ |
| ALL | @riiid/santa-closet-web |
| colors | @riiid/santa-closet-web/colors |
| theme | @riiid/santa-closet-web/theme|
| icons | @riiid/santa-closet-web/icons |
| shadows | @riiid/santa-closet-web/shadows |

예시

```jsx
import {white1, shadowDown1} from '@riiid/santa-closet-web'
import {dark as theme} from '@riiid/santa-closet-web/theme';
import {Arrow, Cart, Password} from '@riiid/santa-closet-web/icons'

class Example extends Component {
  render () {
    return (
      <div style={shadowDown1}>
        <Arrow/>
        <Cart width={30} height={30} fill={white1}/>
        <Password fill={theme.color1}/>
      </div>
    )
  }
}
```

**icon list**
![image](https://user-images.githubusercontent.com/12146287/57600954-336f7f00-7596-11e9-91a5-58b76fd15059.png)


## Example

#### Cheetsheet
[`cheat sheet`](https://santa-closet.riiid.app) - https://santa-closet.riiid.app<br/>
#### Example Project
`yarn link` 로 deploy 된 `/lib` 폴더와 연결하여 테스트합니다.🖐🏻

## Deploy
`yarn release` 스크립트 실행 후 배포되는 폴더의 버전과 루트 폴더의 버전을 동일하게 올려줍니다.

## License

Riiid © [Riiid](https://github.com/Riiid)
npm package: @riiid/santa-sdk-js
Description: Santa SDK for Javascript
Author: Riiid
Latest version: 0.1.5

# santa-sdk-js
SDK for Riiider

## Installation
```
yarn add @riiid/santa-sdk-js
```

## Usage
```javascript
import {Auth, Payment} from '@riiid/santa-sdk-js';

const auth = new Auth(URL_AUTH, REQUEST_CONFIG);
const payment = new Payment(URL_PAYMENT, REQUEST_CONFIG);
```

## APIs
2가지 타입을 지원합니다 :hand:
* Promise - `default`
* Observable - suffix `$`
  * *ex)* `existEmail$`
### Auth
```javascript
existEmail({email})
getUser(token)
deleteUser(token)
signupWithEmail({email, password, token})
signinWithEmail({email, password})
getTokenWithSNS({token, snsToken, type})
updateTokens(token)
updatePassword({token, password})
createAnonymous(client_code)
```

### Payment
```javascript
preparePayment({token, payMethod, paymentItemId})
approvePayment({token, payMethod, payload})
getPaymentItemStatus({token, groupName})
getPaymentItemContents({token, paymentItemIds})
getPaymentItemContentById({token, contentId})
getEventContents(token)
getEventContentById({token, contentId})
getBannerContents(token)
getBannerContentById({token, contentId})
```