Skip to content

Commit

Permalink
docs: rename corp name to NHN Cloud (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
jajugoguma authored Apr 1, 2022
1 parent dbab85d commit ad93cef
Show file tree
Hide file tree
Showing 35 changed files with 57 additions and 90 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License

Copyright (c) 2019 NHN Corp.
Copyright (c) 2019 NHN Cloud Corp.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
104 changes: 50 additions & 54 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
# TOAST UI Component : Date Picker

> Component that selects specific date.
[![GitHub release](https://img.shields.io/github/release/nhn/tui.date-picker.svg)](https://github.com/nhn/tui.date-picker/releases/latest)
[![npm](https://img.shields.io/npm/v/tui-date-picker.svg)](https://www.npmjs.com/package/tui-date-picker)
[![GitHub license](https://img.shields.io/github/license/nhn/tui.date-picker.svg)](https://github.com/nhn/tui.date-picker/blob/production/LICENSE)
[![PRs welcome](https://img.shields.io/badge/PRs-welcome-ff69b4.svg)](https://github.com/nhn/tui.date-picker/issues)
[![code with hearth by NHN](https://img.shields.io/badge/%3C%2F%3E%20with%20%E2%99%A5%20by-NHN-ff1414.svg)](https://github.com/nhn)

[![code with hearth by NHN Cloud](https://img.shields.io/badge/%3C%2F%3E%20with%20%E2%99%A5%20by-NHN_Cloud-ff1414.svg)](https://github.com/nhn)

<p><a href="https://nhn.github.io/tui.date-picker/latest/"><img src="https://user-images.githubusercontent.com/8615506/64501774-cc709580-d2fd-11e9-98f0-f7b89376c986.gif" /></a></p>


## 🚩 Table of Contents

- [Collect statistics on the use of open source](#collect-statistics-on-the-use-of-open-source)
Expand Down Expand Up @@ -40,7 +39,6 @@
- [🍞 TOAST UI Family](#-toast-ui-family)
- [📜 License](#-license)


## Collect statistics on the use of open source

TOAST UI DatePicker applies Google Analytics (GA) to collect statistics on the use of open source, in order to identify how widely TOAST UI DatePicker is used throughout the world.
Expand All @@ -63,33 +61,32 @@ Or, include [`tui-code-snippet`](https://github.com/nhn/tui.code-snippet)(**v2.2
tui.usageStatistics = false;
```


## 📙 Documents
* [Getting Started](https://github.com/nhn/tui.date-picker/blob/production/docs/getting-started.md)
* [Tutorials](https://github.com/nhn/tui.date-picker/tree/production/docs)
* [APIs](https://nhn.github.io/tui.date-picker/latest)
* [v4.0.0 Migration Guide](https://github.com/nhn/tui.date-picker/blob/master/docs/getting-started.md#v400-migration-guide)

You can also see the older versions of API page on the [releases page](https://github.com/nhn/tui.date-picker/releases).
- [Getting Started](https://github.com/nhn/tui.date-picker/blob/production/docs/getting-started.md)
- [Tutorials](https://github.com/nhn/tui.date-picker/tree/production/docs)
- [APIs](https://nhn.github.io/tui.date-picker/latest)
- [v4.0.0 Migration Guide](https://github.com/nhn/tui.date-picker/blob/master/docs/getting-started.md#v400-migration-guide)

You can also see the older versions of API page on the [releases page](https://github.com/nhn/tui.date-picker/releases).

## 🎨 Features
* Selects specific year, month, date, and time.
* Creates the calendar that only show date-layer using `createCalendar` API.
* Creates the range picker that selects a date period using `createRangePicker` API.
* Supports internationalization(i18n).
* Supports custom events.
* Provides the file of default css style.

- Selects specific year, month, date, and time.
- Creates the calendar that only show date-layer using `createCalendar` API.
- Creates the range picker that selects a date period using `createRangePicker` API.
- Supports internationalization(i18n).
- Supports custom events.
- Provides the file of default css style.

## 🐾 Examples
* [Basic](https://nhn.github.io/tui.date-picker/latest/tutorial-example01-basic) : Example of using default options.
* [Having Timepicker](https://nhn.github.io/tui.date-picker/latest/tutorial-example04-having-timepicker) : Example of using a time picker to select a time.
* [Calendar](https://nhn.github.io/tui.date-picker/latest/tutorial-example07-calendar) : Examples of creating and using calendars.
* [RangePicker](https://nhn.github.io/tui.date-picker/latest/tutorial-example08-daterangepicker) : Example of creating and using a range picker.

More examples can be found on the left sidebar of each example page, and have fun with it.
- [Basic](https://nhn.github.io/tui.date-picker/latest/tutorial-example01-basic) : Example of using default options.
- [Having Timepicker](https://nhn.github.io/tui.date-picker/latest/tutorial-example04-having-timepicker) : Example of using a time picker to select a time.
- [Calendar](https://nhn.github.io/tui.date-picker/latest/tutorial-example07-calendar) : Examples of creating and using calendars.
- [RangePicker](https://nhn.github.io/tui.date-picker/latest/tutorial-example08-daterangepicker) : Example of creating and using a range picker.

More examples can be found on the left sidebar of each example page, and have fun with it.

## 💾 Install

Expand All @@ -104,14 +101,14 @@ When using npm, be sure to use it in the environment [Node.js](https://nodejs.or

#### npm

``` sh
```sh
$ npm install --save tui-date-picker # Latest version
$ npm install --save tui-date-picker@<version> # Specific version
```

#### bower

``` sh
```sh
$ bower install tui-date-picker # Latest version
$ bower install tui-date-picker#<tag> # Specific version
```
Expand All @@ -123,7 +120,7 @@ TOAST UI products are available over a CDN powered by [TOAST Cloud](https://www.
You can use CDN as below.

```html
<link rel="stylesheet" href="https://uicdn.toast.com/tui.date-picker/latest/tui-date-picker.css">
<link rel="stylesheet" href="https://uicdn.toast.com/tui.date-picker/latest/tui-date-picker.css" />
<script src="https://uicdn.toast.com/tui.date-picker/latest/tui-date-picker.js"></script>
```

Expand All @@ -143,9 +140,9 @@ tui.date-picker/
```

### Download Source Files
* [Download bundle files](https://github.com/nhn/tui.date-picker/tree/production/dist)
* [Download all sources for each version](https://github.com/nhn/tui.date-picker/releases)

- [Download bundle files](https://github.com/nhn/tui.date-picker/tree/production/dist)
- [Download all sources for each version](https://github.com/nhn/tui.date-picker/releases)

## 🔨 Usage

Expand All @@ -155,10 +152,10 @@ You need to add two elements.
One is the container element to display a date picker, and the other is a target element in which a date picker is attached.
Also add some elements for applying the css style.

``` html
```html
<div class="tui-datepicker-input tui-datetime-input tui-has-focus">
<input type="text" id="tui-date-picker-target" aria-label="Date-Time">
<span class="tui-ico-date"></span>
<input type="text" id="tui-date-picker-target" aria-label="Date-Time" />
<span class="tui-ico-date"></span>
</div>
<div id="tui-date-picker-container" style="margin-top: -1px;"></div>
```
Expand All @@ -169,22 +166,24 @@ This can be used by creating an instance with the constructor function.
To get the constructor function, you should import the module using one of the following ways depending on your environment.

#### Using namespace in browser environment
``` javascript

```javascript
const DatePicker = tui.DatePicker;
```

#### Using module format in node environment
``` javascript

```javascript
const DatePicker = require('tui-date-picker'); /* CommonJS */
```

``` javascript
```javascript
import DatePicker from 'tui-date-picker'; /* ES6 */
```

You can create an instance with [options](http://nhn.github.io/tui.date-picker/latest/DatePicker) and call various APIs after creating an instance.

``` javascript
```javascript
const container = document.getElementById('tui-date-picker-container');
const target = document.getElementById('tui-date-picker-target');

Expand All @@ -200,16 +199,15 @@ instance.getDate();

For more information about the API, please see [here](http://nhn.github.io/tui.date-picker/latest/DatePicker).


## 🔩 Dependency
* [tui-time-picker](https://github.com/nhn/tui.time-picker) >= 2.0.3

- [tui-time-picker](https://github.com/nhn/tui.time-picker) >= 2.0.3

## 🌏 Browser Support
| <img src="https://user-images.githubusercontent.com/1215767/34348387-a2e64588-ea4d-11e7-8267-a43365103afe.png" alt="Chrome" width="16px" height="16px" /> Chrome | <img src="https://user-images.githubusercontent.com/1215767/34348590-250b3ca2-ea4f-11e7-9efb-da953359321f.png" alt="IE" width="16px" height="16px" /> Internet Explorer | <img src="https://user-images.githubusercontent.com/1215767/34348380-93e77ae8-ea4d-11e7-8696-9a989ddbbbf5.png" alt="Edge" width="16px" height="16px" /> Edge | <img src="https://user-images.githubusercontent.com/1215767/34348394-a981f892-ea4d-11e7-9156-d128d58386b9.png" alt="Safari" width="16px" height="16px" /> Safari | <img src="https://user-images.githubusercontent.com/1215767/34348383-9e7ed492-ea4d-11e7-910c-03b39d52f496.png" alt="Firefox" width="16px" height="16px" /> Firefox |
| :---------: | :---------: | :---------: | :---------: | :---------: |
| Yes | 8+ | Yes | Yes | Yes |

| <img src="https://user-images.githubusercontent.com/1215767/34348387-a2e64588-ea4d-11e7-8267-a43365103afe.png" alt="Chrome" width="16px" height="16px" /> Chrome | <img src="https://user-images.githubusercontent.com/1215767/34348590-250b3ca2-ea4f-11e7-9efb-da953359321f.png" alt="IE" width="16px" height="16px" /> Internet Explorer | <img src="https://user-images.githubusercontent.com/1215767/34348380-93e77ae8-ea4d-11e7-8696-9a989ddbbbf5.png" alt="Edge" width="16px" height="16px" /> Edge | <img src="https://user-images.githubusercontent.com/1215767/34348394-a981f892-ea4d-11e7-9156-d128d58386b9.png" alt="Safari" width="16px" height="16px" /> Safari | <img src="https://user-images.githubusercontent.com/1215767/34348383-9e7ed492-ea4d-11e7-910c-03b39d52f496.png" alt="Firefox" width="16px" height="16px" /> Firefox |
| :--------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| Yes | 8+ | Yes | Yes | Yes |

## 🔧 Pull Request Steps

Expand All @@ -222,7 +220,7 @@ Fork `develop` branch into your personal repository.
Clone it to local computer. Install node modules.
Before starting development, you should check if there are any errors.

``` sh
```sh
$ git clone https://github.com/{your-personal-repo}/tui.date-picker.git
$ cd tui.date-picker
$ npm install
Expand All @@ -237,14 +235,14 @@ Don't miss adding test cases and then make green rights.

#### Running dev server

``` sh
```sh
$ npm run serve
$ npm run serve:ie8 # Run on Internet Explorer 8
```

#### Running test

``` sh
```sh
$ npm run test
```

Expand All @@ -255,24 +253,22 @@ If it has no errors, commit and then push it!

For more information on PR's steps, please see links in the Contributing section.


## 💬 Contributing
* [Code of Conduct](https://github.com/nhn/tui.date-picker/blob/production/CODE_OF_CONDUCT.md)
* [Contributing guideline](https://github.com/nhn/tui.date-picker/blob/production/CONTRIBUTING.md)
* [Issue guideline](https://github.com/nhn/tui.date-picker/blob/production/docs/ISSUE_TEMPLATE.md)
* [Commit convention](https://github.com/nhn/tui.date-picker/blob/production/docs/COMMIT_MESSAGE_CONVENTION.md)

- [Code of Conduct](https://github.com/nhn/tui.date-picker/blob/production/CODE_OF_CONDUCT.md)
- [Contributing guideline](https://github.com/nhn/tui.date-picker/blob/production/CONTRIBUTING.md)
- [Issue guideline](https://github.com/nhn/tui.date-picker/blob/production/docs/ISSUE_TEMPLATE.md)
- [Commit convention](https://github.com/nhn/tui.date-picker/blob/production/docs/COMMIT_MESSAGE_CONVENTION.md)

## 🍞 TOAST UI Family

* [TOAST UI Editor](https://github.com/nhn/tui.editor)
* [TOAST UI Calendar](https://github.com/nhn/tui.calendar)
* [TOAST UI Chart](https://github.com/nhn/tui.chart)
* [TOAST UI Image-Editor](https://github.com/nhn/tui.image-editor)
* [TOAST UI Grid](https://github.com/nhn/tui.grid)
* [TOAST UI Components](https://github.com/nhn)

- [TOAST UI Editor](https://github.com/nhn/tui.editor)
- [TOAST UI Calendar](https://github.com/nhn/tui.calendar)
- [TOAST UI Chart](https://github.com/nhn/tui.chart)
- [TOAST UI Image-Editor](https://github.com/nhn/tui.image-editor)
- [TOAST UI Grid](https://github.com/nhn/tui.grid)
- [TOAST UI Components](https://github.com/nhn)

## 📜 License

This software is licensed under the [MIT](https://github.com/nhn/tui.date-picker/blob/production/LICENSE) © [NHN](https://github.com/nhn).
This software is licensed under the [MIT](https://github.com/nhn/tui.date-picker/blob/production/LICENSE) © [NHN Cloud](https://github.com/nhn).
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tui-date-picker",
"authors": [
"NHN. FE Development Lab <dl_javascript@nhn.com>"
"NHN Cloud. FE Development Lab <dl_javascript@nhn.com>"
],
"main": [
"dist/tui-date-picker.js",
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@
"calendar",
"date-picker",
"date-range-picker",
"tui-date-picker"
"tui-date-picker",
"nhn cloud"
],
"author": "NHN. FE Development Lab <dl_javascript@nhn.com>",
"author": "NHN Cloud. FE Development Lab <dl_javascript@nhn.com>",
"license": "MIT",
"devDependencies": {
"@toast-ui/release-notes": "^2.0.1",
Expand Down
1 change: 0 additions & 1 deletion src/js/calendar/body.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* @fileoverview Calendar body
* @author NHN. FE Development Lab <dl_javascript@nhn.com>
*/

'use strict';
Expand Down
1 change: 0 additions & 1 deletion src/js/calendar/header.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* @fileoverview Calendar Header
* @author NHN. FE dev Lab <dl_javascript@nhn.com>
*/

'use strict';
Expand Down
1 change: 0 additions & 1 deletion src/js/calendar/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* @fileoverview Calendar component
* @author NHN. FE dev Lab <dl_javascript@nhn.com>
*/

'use strict';
Expand Down
1 change: 0 additions & 1 deletion src/js/calendar/layerBody/base.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* @fileoverview Layer base
* @author NHN. FE Development Lab <dl_javascript@nhn.com>
*/

'use strict';
Expand Down
1 change: 0 additions & 1 deletion src/js/calendar/layerBody/date.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* @fileoverview Date layer
* @author NHN. FE Development Lab <dl_javascript@nhn.com>
*/

'use strict';
Expand Down
1 change: 0 additions & 1 deletion src/js/calendar/layerBody/month.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* @fileoverview Month layer
* @author NHN. FE Development Lab <dl_javascript@nhn.com>
*/

'use strict';
Expand Down
1 change: 0 additions & 1 deletion src/js/calendar/layerBody/year.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* @fileoverview Year layer
* @author NHN. FE Development Lab <dl_javascript@nhn.com>
*/

'use strict';
Expand Down
1 change: 0 additions & 1 deletion src/js/constants.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* @fileoverview Constants of date-picker
* @author NHN. FE Development Lab <dl_javascript@nhn.com>
*/

'use strict';
Expand Down
1 change: 0 additions & 1 deletion src/js/dateRangePicker/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* @fileoverview Date-Range picker
* @author NHN. FE Development Lab <dl_javascript@nhn.com>
*/

'use strict';
Expand Down
1 change: 0 additions & 1 deletion src/js/dateTimeFormatter.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* @fileoverview Date <-> Text formatting module
* @author NHN. FE Development Lab <dl_javascript@nhn.com>
*/

'use strict';
Expand Down
1 change: 0 additions & 1 deletion src/js/dateUtil.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* @fileoverview Utils for DatePicker component
* @author NHN. FE dev Lab. <dl_javascript@nhn.com>
*/

'use strict';
Expand Down
1 change: 0 additions & 1 deletion src/js/datepicker/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* @fileoverview DatePicker component
* @author NHN. FE dev Lab <dl_javascript@nhn.com>
*/

'use strict';
Expand Down
1 change: 0 additions & 1 deletion src/js/datepicker/input.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* @fileoverview DatePicker input(element) component
* @author NHN. FE Development Lab <dl_javascript@nhn.com>
*/

'use strict';
Expand Down
1 change: 0 additions & 1 deletion src/js/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* @fileoverview The entry file of DatePicker components
* @author NHN. FE Development Team
*/

'use strict';
Expand Down
1 change: 0 additions & 1 deletion src/js/localeTexts.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* @fileoverview Default locale texts
* @author NHN. FE Development Lab <dl_javascript@nhn.com>
*/

'use strict';
Expand Down
1 change: 0 additions & 1 deletion src/js/mouseTouchEvent.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* @fileoverview Set mouse-touch event
* @author NHN. FE Development Lab <dl_javascript@nhn.com>
*/

'use strict';
Expand Down
1 change: 0 additions & 1 deletion src/js/rangeModel/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* @fileoverview RangeModel
* @author NHN. FE Development Lab <dl_javascript@nhn.com>
*/

'use strict';
Expand Down
1 change: 0 additions & 1 deletion src/js/rangeModel/range.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* @fileoverview Range (in RangeModel)
* @author NHN. FE Development Lab <dl_javascript@nhn.com>
*/

'use strict';
Expand Down
Loading

0 comments on commit ad93cef

Please sign in to comment.