diff --git a/.eslintrc.json b/.eslintrc.json
index d76362fa..c348246a 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -3,6 +3,7 @@
"env": {
"es6": true,
"browser": true,
+ "node": true,
"jest": true
},
"parserOptions": {
@@ -16,5 +17,5 @@
"processor": "svelte3/svelte3"
}
],
- "ignorePatterns": ["*.snap"]
+ "ignorePatterns": ["docs", "*.snap"]
}
diff --git a/.prettierignore b/.prettierignore
new file mode 100644
index 00000000..42061c01
--- /dev/null
+++ b/.prettierignore
@@ -0,0 +1 @@
+README.md
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e12f0708..e3a59679 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [0.2.1](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.2.1) - 2020-01-08
+
+- Check if `l10n.en` is defined in `DatePicker` component to resolve Svelte REPL compilation
+
+## [0.2.0](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.2.0) - 2020-01-08
+
+- Include `src` in files published to npm to resolve Svelte module entry
+ ([#102](https://github.com/IBM/carbon-components-svelte/issues/102))
+
+- Support most Carbon components (See the [GitHub project](https://github.com/IBM/carbon-components-svelte/projects/1))
+
## [0.1.0](https://github.com/IBM/carbon-components-svelte/releases/tag/v0.1.0) - 2019-12-15
- Initial release
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index ee488446..8e0af8ac 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -57,7 +57,7 @@ This project uses Storybook for UI development and "live" documentation.
Run the following command to start the Storybook:
```bash
-yarn start -p 9090
+yarn start
```
#### Component Format
diff --git a/README.md b/README.md
index 08d735ce..31e0bcb2 100644
--- a/README.md
+++ b/README.md
@@ -1,131 +1,39 @@
# carbon-components-svelte
-> 🚧 UNDER CONSTRUCTION
+[![NPM][npm]][npm-url]
+[![Build][build]][build-badge]
-> Svelte implementation of the Carbon Design System
+> Svelte implementation of the [Carbon Design System](https://github.com/carbon-design-system)
-Currently, this project is under active development. See the [ongoing project](https://github.com/IBM/carbon-components-svelte/projects/1) for the anticipated v1.0.0 release.
+**NOTE**: Currently, this project is under active development. See the [issue tracker](https://github.com/IBM/carbon-components-svelte/projects/1) for the anticipated v1.0.0 release.
-## [Storybook](https://ibm.github.io/carbon-components-svelte)
+## [Storybook](https://ibm.github.io/carbon-components-svelte) · [CodeSandbox](https://codesandbox.io/s/carbon-components-svelte021-lhvc4)
-## Supported Components
+## Getting Started
-Currently, the following components are supported:
+`carbon-components-svelte` can be installed as a development dependency.
-- Accordion
-- AccordionItem
- - AccordionSkeleton
-- Breadcrumb
-- BreadcrumbItem
- - BreadcrumbSkeleton
-- Button
- - ButtonSkeleton
-- Checkbox
- - CheckboxSkeleton
-- CodeSnippet
- - CodeSnippetSkeleton
-- ComposedModal
- - ModalHeader
- - ModalBody
- - ModalFooter
-- ContentSwitcher
- - Switch
-- Copy
-- CopyButton
-- DataTableSkeleton
-- DatePicker
- - DatePickerInput
-- FileUploader
- - FileUploaderButton
- - FileUploaderItem
- - FileUploaderDropContainer
- - Filename
-- Form
-- FormGroup
-- FormItem
-- FormLabel
-- Icon
- - IconSkeleton
-- InlineLoading
-- Link
-- ListBox
- - ListBoxField
- - ListBoxMenu
- - ListBoxMenuIcon
- - ListBoxMenuItem
- - ListBoxSelection
-- ListItem
-- Loading
-- Modal
-- Notification
- - ToastNotification
- - InlineNotification
- - NotificationActionButton
- - NotificationButton
- - NotificationIcon
- - NotificationTextDetails
-- NumberInput
- - NumberInputSkeleton
-- OrderedList
-- OverflowMenu
- - OverflowMenuItem
-- Pagination
- - PaginationSkeleton
-- ProgressIndicator
- - ProgressIndicatorSkeleton
- - ProgressStep
-- RadioButton
- - RadioButtonSkeleton
-- RadioButtonGroup
-- Search
- - SearchSkeleton
-- Select
- - SelectSkeleton
- - SelectItem
- - SelectItemGroup
-- SkeletonPlaceholder
-- SkeletonText
-- Slider
- - SliderSkeleton
-- StructuredList
- - StructuredListSkeleton
- - StructuredListBody
- - StructuredListHead
- - StructuredListCell
- - StructuredListRow
- - StructuredListInput
- - StructuredListWrapper
-- Tabs
- - Tab
- - TabContent
- - TabsSkeleton
-- Tag
- - TagSkeleton
-- TextArea
- - TextAreaSkeleton
-- TextInput
- - TextInputSkeleton
- - PasswordInput
-- Tile
- - ClickableTile
- - SelectableTile
- - ExpandableTile
- - TileAboveTheFoldContent
- - TileBelowTheFoldContent
- - RadioTile
- - Tile
- - TileGroup
- - RadioTile
-- TimePicker
- - TimePickerSelect
-- Toggle
- - ToggleSkeleton
-- ToggleSmall
- - ToggleSmallSkeleton
-- Tooltip
-- TooltipDefinition
-- TooltipIcon
-- UnorderedList
+```bash
+yarn add -D carbon-components-svelte
+```
+
+## Usage
+
+```html
+
+
+
Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.