Skip to content

Commit 7511e14

Browse files
committed
renamed progress bar to progress
1 parent 90dec29 commit 7511e14

File tree

9 files changed

+18
-17
lines changed

9 files changed

+18
-17
lines changed

modules/primer-product/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121
@import "primer-labels/index.scss";
2222
@import "primer-markdown/index.scss";
2323
@import "primer-popover/index.scss";
24-
@import "primer-progress-bar/index.scss";
24+
@import "primer-progress/index.scss";
2525
@import "primer-subhead/index.scss";

modules/primer-product/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@
3838
"primer-popover": "0.1.4",
3939
"primer-subhead": "1.0.7",
4040
"primer-support": "4.6.0",
41-
"primer-progress-bar": "0.0.1"
41+
"primer-progress": "0.0.1"
4242
}
4343
}

modules/primer-progress-bar/stories.js

Lines changed: 0 additions & 10 deletions
This file was deleted.
File renamed without changes.

modules/primer-progress-bar/README.md renamed to modules/primer-progress/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Primer / Progress Bar
1+
# Primer / Progress
22

33
[![npm version](https://img.shields.io/npm/v/primer-progress-bar.svg)](https://www.npmjs.org/package/primer-progress-bar)
44
[![Build Status](https://travis-ci.org/primer/primer.svg?branch=master)](https://travis-ci.org/primer/primer)
@@ -9,18 +9,18 @@ This repository is a module of the full [primer][primer] repository.
99

1010
## Install
1111

12-
This repository is distributed with [npm]. After [installing npm][install-npm], you can install `primer-progress-bar` with this command.
12+
This repository is distributed with [npm]. After [installing npm][install-npm], you can install `primer-progress` with this command.
1313

1414
```
15-
$ npm install --save primer-progress-bar
15+
$ npm install --save primer-progress
1616
```
1717

1818
## Usage
1919

2020
The source files included are written in [Sass][sass] (SCSS) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.
2121

2222
```scss
23-
@import "primer-progress-bar/index.scss";
23+
@import "primer-progress/index.scss";
2424
```
2525

2626
You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// support files
22
@import "primer-support/index.scss";
3-
@import "./lib/progress-bar.scss";
3+
@import "./lib/progress.scss";
File renamed without changes.

modules/primer-progress/stories.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import React from "react";
2+
import { storiesOf } from "@storybook/react";
3+
import storiesFromMarkdown from "../../.storybook/lib/storiesFromMarkdown";
4+
5+
const stories = storiesOf("Progress", module);
6+
7+
storiesFromMarkdown(require.context(".", true, /\.md$/)).forEach(
8+
({ title, story }) => {
9+
stories.add(title, story);
10+
}
11+
);

0 commit comments

Comments
 (0)