Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(actionmenu): text, icon, overflow, single-level
- Loading branch information
Showing
14 changed files
with
611 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"plugins": [ | ||
"glamorous-displayname" | ||
], | ||
"presets": [ | ||
"react", | ||
"stage-2", | ||
["env", { | ||
"targets": { | ||
"browsers": ["last 2 versions", "ie >= 10"] | ||
} | ||
}] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
__specs__ | ||
src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package-lock=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/* eslint-disable import/no-extraneous-dependencies, import/no-unresolved, import/extensions */ | ||
|
||
import '@storybook/addon-actions/register' | ||
import '@storybook/addon-links/register' | ||
import '@storybook/addon-backgrounds/register' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* eslint-disable import/no-extraneous-dependencies, import/no-unresolved, import/extensions */ | ||
|
||
import { configure } from '@storybook/react'; | ||
|
||
function loadStories() { | ||
require('../stories'); | ||
} | ||
|
||
configure(loadStories, module); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<link rel="stylesheet" href="https://cloud.typography.com/6966154/691568/css/fonts.css" /> | ||
<link rel="stylesheet" href="https://unpkg.com/@pluralsight/ps-design-system-normalize" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
const React = require('./dist/react') | ||
|
||
module.exports = { React } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"name": "@pluralsight/ps-design-system-actionmenu", | ||
"version": "1.0.0", | ||
"description": "Design System component for actionmenu ui", | ||
"main": "index.js", | ||
"scripts": { | ||
"build": "babel src --out-dir dist --ignore spec.js --copy-files", | ||
"build:watch": "npm run build -- --watch", | ||
"prepublish": "npm run build", | ||
"storybook": "start-storybook -p 6006", | ||
"build-storybook": "build-storybook", | ||
"test": "jest", | ||
"test:watch": "npm run test -- --watchAll", | ||
"test:updateSnapshot": "npm run test -- --updateSnapshot" | ||
}, | ||
"keywords": [], | ||
"author": "jaketrent", | ||
"license": "Apache-2.0", | ||
"repository": "pluralsight/design-system", | ||
"peerDependencies": { | ||
"@pluralsight/ps-design-system-normalize": "^3.0.24", | ||
"glamor": "^2.20.0", | ||
"react": ">=0.15.0 < 16.0.0" | ||
}, | ||
"dependencies": { | ||
"@pluralsight/ps-design-system-core": "^2.4.2", | ||
"@pluralsight/ps-design-system-icon": "^7.0.0", | ||
"babel-plugin-glamorous-displayname": "^1.1.3", | ||
"babel-preset-env": "^1.4.0", | ||
"babel-preset-react": "^6.24.1", | ||
"babel-preset-stage-2": "^6.24.1", | ||
"glamorous": "^4.1.0", | ||
"prop-types": "^15.5.10" | ||
}, | ||
"devDependencies": { | ||
"@pluralsight/ps-design-system-button": "^8.0.1", | ||
"@storybook/addon-backgrounds": "^3.0.0", | ||
"@storybook/addon-storyshots": "^3.2.4", | ||
"@storybook/react": "^3.2.3", | ||
"babel-cli": "^6.24.1", | ||
"jest": "^20.0.4", | ||
"react-sizeme": "^2.3.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('./dist/react') |
Oops, something went wrong.