Skip to content

Commit

Permalink
Convert from bower to npm, and bump version number to 0.9.0.
Browse files Browse the repository at this point in the history
Also, fix CSS paths corrupted when I removed iOS and holodark themes.
  • Loading branch information
wkeese committed Dec 14, 2019
1 parent 4d6e4bd commit 0a812f0
Show file tree
Hide file tree
Showing 155 changed files with 731 additions and 459 deletions.
3 changes: 0 additions & 3 deletions .bowerrc

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.idea
.project
node_modules/
9 changes: 9 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.bowerrc
.gitattributes
.jshintrc
bower.json
Gruntfile.js
tests
.idea
intern*
.travis.yml
2 changes: 1 addition & 1 deletion Accordion.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @module deliteful/Accordion */
define([
"dcl/dcl",
"decor/sniff",
"ibm-decor/sniff",
"requirejs-dplugins/Promise!",
"delite/register",
"delite/classList",
Expand Down
2 changes: 1 addition & 1 deletion Accordion/Accordion.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../requirejs-dplugins/css/includes";
@import "../node_modules/delite/css/includes";

.d-accordion {
.box-sizing(border-box);
Expand Down
2 changes: 1 addition & 1 deletion Button/Button.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../requirejs-dplugins/css/includes";
@import "../node_modules/delite/css/includes";

// Button variant
// -------------------------
Expand Down
4 changes: 2 additions & 2 deletions Checkbox/Checkbox.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import "../../requirejs-dplugins/css/mixins";
@import "../../requirejs-dplugins/css/variables";
@import "../node_modules/delite/css/mixins";
@import "../node_modules/delite/css/variables";

.d-checkbox-styles () {
margin-left: 4px;
Expand Down
2 changes: 1 addition & 1 deletion Combobox.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @module deliteful/Combobox */
define([
"dcl/dcl",
"dstore/Filter",
"dojo-dstore/Filter",
"dojo/string",
"delite/register",
"delite/FormValueWidget",
Expand Down
2 changes: 0 additions & 2 deletions Combobox/Combobox.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ fieldset[disabled] .d-combobox-input {
user-select: none;
}
.d-combobox-input:focus {
/* defined in requirejs-dplugins/css/bootstrap/mixins.less */
outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
Expand All @@ -100,7 +99,6 @@ fieldset[disabled] .d-combobox-input {
margin: 0;
}
.d-combobox-list .d-active-descendant {
/* defined in requirejs-dplugins/css/bootstrap/mixins.less */
outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
Expand Down
8 changes: 4 additions & 4 deletions Combobox/Combobox.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../../requirejs-dplugins/css/includes";
@import "../node_modules/delite/css/includes";

@import "../../requirejs-dplugins/css/variables.less";
@import "../node_modules/delite/css/variables.less";

@d-combobox-border-size: 1px;
@d-combobox-arrow-width: 10px;
Expand All @@ -26,7 +26,7 @@
border-radius: @input-border-radius;

&:focus {
/* defined in requirejs-dplugins/css/bootstrap/mixins.less */
// defined in delite/css/mixins.less
.tab-focus();
}

Expand Down Expand Up @@ -150,6 +150,6 @@
}

.d-combobox-list .d-active-descendant {
/* defined in requirejs-dplugins/css/bootstrap/mixins.less */
// defined in delite/css/mixins.less
.tab-focus();
}
2 changes: 1 addition & 1 deletion Combobox/ComboboxAPI.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @module deliteful/Combobox/ComboboxAPI */
define([
"dcl/dcl",
"dstore/Filter",
"dojo-dstore/Filter",
"dojo/string",
"delite/CssState",
"delite/Widget",
Expand Down
2 changes: 1 addition & 1 deletion Combobox/ComboboxImplementation.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @module deliteful/Combobox/ComboboxImplementation */
define([
"dcl/dcl",
"dstore/Filter",
"dojo-dstore/Filter",
"dojo/string",
"delite/CssState",
"delite/FormValueWidget",
Expand Down
2 changes: 1 addition & 1 deletion DatePicker/DatePicker.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../requirejs-dplugins/css/includes";
@import "../node_modules/delite/css/includes";

.d-date-picker {
display: inline-block;
Expand Down
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ module.exports = function (grunt) {
"../delite/out"
],
paths: {
"decor": "../../../../decor/docs/api/0.3.0/decor",
"delite": "../../delite/docs/api/0.4.0/delite"
"ibm-decor": "node_modules/ibm-decor/docs/api/0.3.0/ibm-decor",
"delite": "node_modules/delite/docs/api/0.4.0/delite"
},
packagePathFormat: "${name}/docs/api/${version}",
includeEventsInTOC: "false"
Expand Down
2 changes: 1 addition & 1 deletion Panel/Panel.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../requirejs-dplugins/css/includes";
@import "../node_modules/delite/css/includes";

.d-panel-base() {
.box-sizing(border-box);
Expand Down
4 changes: 2 additions & 2 deletions ProgressBar/ProgressBar.less
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@import "../../requirejs-dplugins/css/includes";
// -----------------------------------------------
// Theme : bootstrap
// Widget : deliteful/ProgressBar
// baseClass : d-progress-bar
// -----------------------------------------------

@import "../node_modules/delite/css/includes";
@import "./variables";

//predefined styles
Expand Down
1 change: 0 additions & 1 deletion ProgressIndicator/ProgressIndicator.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*
* -----------------------------------------------
* Theme : bootstrap
* Widget : deliteful/ProgressIndicator
* baseClass : d-progress-indicator
* -----------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions ProgressIndicator/ProgressIndicator.less
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
@import "../../requirejs-dplugins/css/includes";
/*
* -----------------------------------------------
* Theme : bootstrap
* Widget : deliteful/ProgressIndicator
* baseClass : d-progress-indicator
* -----------------------------------------------
*/

@import "../node_modules/delite/css/includes";

@progress-indicator-color: @btn-default-color;

.d-progress-indicator-styles() {
Expand Down
4 changes: 2 additions & 2 deletions RadioButton/RadioButton.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import "../../requirejs-dplugins/css/mixins";
@import "../../requirejs-dplugins/css/variables";
@import "../node_modules/delite/css/mixins";
@import "../node_modules/delite/css/variables";

.d-radio-button-styles () {
margin: 4px;
Expand Down
2 changes: 1 addition & 1 deletion ResponsiveColumns/ResponsiveColumns.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../requirejs-dplugins/css/mixins";
@import "../node_modules/delite/css/mixins";

.d-responsive-columns {
width: 100%;
Expand Down
4 changes: 2 additions & 2 deletions Select.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @module deliteful/Select */
define([
"dcl/dcl",
"decor/sniff",
"ibm-decor/sniff",
"delite/register",
"delite/classList",
"delite/FormWidget",
Expand Down Expand Up @@ -48,7 +48,7 @@ define([
* </d-select>
* @example <caption>Using programmatically created store</caption>
* JS:
* require(["dstore/Memory", "dstore/Trackable",
* require(["dojo-dstore/Memory", "dojo-dstore/Trackable",
* "deliteful/Select", "requirejs-domready/domReady!"],
* function (Memory, Trackable) {
* var store = new (Memory.createSubclass(Trackable))({});
Expand Down
2 changes: 1 addition & 1 deletion Select/Select.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ fieldset[disabled] .d-select-inner {
outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
/* defined in requirejs-dplugins/css/bootstrap/mixins.less */
/* defined in delite/css/bootstrap/mixins.less */
}
6 changes: 3 additions & 3 deletions Select/Select.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../../requirejs-dplugins/css/includes";
@import "../node_modules/delite/css/includes";

@import "../../requirejs-dplugins/css/variables.less";
@import "../node_modules/delite/css/variables.less";

/* Wrapping the select in a span avoids rounding the select element itself,
thus avoids a different rendering on FF and IE than in Chrome on desktop. */
Expand Down Expand Up @@ -46,5 +46,5 @@
}

.d-select-focus {
.tab-focus(); /* defined in requirejs-dplugins/css/bootstrap/mixins.less */
.tab-focus(); /* defined in delite/css/bootstrap/mixins.less */
}
2 changes: 1 addition & 1 deletion SidePane.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
define([
"dcl/dcl",
"dpointer/events",
"decor/sniff",
"ibm-decor/sniff",
"delite/register",
"delite/classList",
"delite/DisplayContainer",
Expand Down
2 changes: 1 addition & 1 deletion SidePane/SidePane.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@ANIMATION_DURATION: 0.3s;
@ANIMATION_STYLE: ease-in-out;

@import "../../requirejs-dplugins/css/mixins";
@import "../node_modules/delite/css/mixins";

.translate(@val){
-ms-transform: translate(@val, 0px); //IE9 support
Expand Down
2 changes: 1 addition & 1 deletion Slider/Slider.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../requirejs-dplugins/css/includes";
@import "../node_modules/delite/css/includes";

@d-slider-size: 200px;
@d-slider-halo-size: 16px;
Expand Down
2 changes: 1 addition & 1 deletion StarRating/StarRating.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../requirejs-dplugins/css/includes";
@import "../node_modules/delite/css/includes";

@star-icon-size: 2.85em;
@star-icon-full: "\2605"; // The black star character
Expand Down
2 changes: 1 addition & 1 deletion SwapView/SwapView.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../requirejs-dplugins/css/includes";
@import "../node_modules/delite/css/includes";

.d-swap-view {
.user-select(none); // make sure dragging will not select text on desktop
Expand Down
4 changes: 2 additions & 2 deletions Switch/Switch.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import "../../requirejs-dplugins/css/mixins";
@import "../../requirejs-dplugins/css/variables";
@import "../node_modules/delite/css/mixins";
@import "../node_modules/delite/css/variables";
@import "./variables";

.d-switch-on-styles() {
Expand Down
2 changes: 1 addition & 1 deletion Toaster.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ define([
"dcl/dcl",
"delite/Widget",
"delite/register",
"decor/sniff",
"ibm-decor/sniff",
"delite/handlebars!./Toaster/Toaster.html",
"./ToasterMessage",
"requirejs-dplugins/css!./Toaster/Toaster.css"
Expand Down
4 changes: 2 additions & 2 deletions Toaster/Toaster.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "../../requirejs-dplugins/css/includes";
@import "../node_modules/delite/css/includes";

@import "../../requirejs-dplugins/css/mixins";
@import "../node_modules/delite/css/mixins";
@max-width: 500px;
.d-toaster-inner {
.user-select (none);
Expand Down
4 changes: 2 additions & 2 deletions ToggleButton/ToggleButton.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import "../../requirejs-dplugins/css/mixins";
@import "../../requirejs-dplugins/css/variables";
@import "../node_modules/delite/css/mixins";
@import "../node_modules/delite/css/variables";

@import "../Button/Button";

Expand Down
4 changes: 2 additions & 2 deletions ViewIndicator/ViewIndicator.less
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@import "../../requirejs-dplugins/css/includes";
@import "../node_modules/delite/css/includes";

@dot-size: 0.43em;
@dot-margin: 0.43em;
@dot-color: @gray-light;
@dot-selected-color: white;

@import "../../requirejs-dplugins/css/mixins";
@import "../node_modules/delite/css/mixins";

.d-view-indicator {
display: block;
Expand Down
2 changes: 1 addition & 1 deletion ViewStack.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @module deliteful/ViewStack */
define([
"dcl/dcl",
"decor/sniff",
"ibm-decor/sniff",
"requirejs-dplugins/Promise!",
"delite/register",
"delite/classList",
Expand Down
2 changes: 1 addition & 1 deletion ViewStack/ViewStack.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../requirejs-dplugins/css/includes";
@import "../node_modules/delite/css/includes";
.d-view-stack {
height: 100%;
display: block;
Expand Down
2 changes: 1 addition & 1 deletion ViewStack/transitions/cover.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../../requirejs-dplugins/css/mixins";
@import "../../node_modules/delite/css/mixins";
.-d-view-stack-cover {
.transition-property(none);
.transition-duration(0s);
Expand Down
2 changes: 1 addition & 1 deletion ViewStack/transitions/coverv.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../../requirejs-dplugins/css/mixins";
@import "../../node_modules/delite/css/mixins";
.-d-view-stack-coverv {
.transition-property(none);
.transition-duration(0s);
Expand Down
2 changes: 1 addition & 1 deletion ViewStack/transitions/fade.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../../requirejs-dplugins/css/mixins";
@import "../../node_modules/delite/css/mixins";
.-d-view-stack-fade {
.transition-property(none);
.transition-duration(0s);
Expand Down
2 changes: 1 addition & 1 deletion ViewStack/transitions/flip.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../../requirejs-dplugins/css/mixins";
@import "../../node_modules/delite/css/mixins";
.-d-view-stack-flip {
.transition-property(none);
.transition-duration(0s);
Expand Down
2 changes: 1 addition & 1 deletion ViewStack/transitions/reveal.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../../requirejs-dplugins/css/mixins";
@import "../../node_modules/delite/css/mixins";
.-d-view-stack-reveal {
.transition-property(none);
.transition-duration(0s);
Expand Down
2 changes: 1 addition & 1 deletion ViewStack/transitions/revealv.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../../requirejs-dplugins/css/mixins";
@import "../../node_modules/delite/css/mixins";
.-d-view-stack-revealv {
.transition-property(none);
.transition-duration(0s);
Expand Down
2 changes: 1 addition & 1 deletion ViewStack/transitions/slide.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../../requirejs-dplugins/css/mixins";
@import "../../node_modules/delite/css/mixins";
.-d-view-stack-slide {
.transition-property(none);
.transition-duration(0s);
Expand Down
2 changes: 1 addition & 1 deletion ViewStack/transitions/slidev.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../../requirejs-dplugins/css/mixins";
@import "../../node_modules/delite/css/mixins";
.-d-view-stack-slidev {
.transition-property(none);
.transition-duration(0s);
Expand Down
Loading

0 comments on commit 0a812f0

Please sign in to comment.