mui-sass 0.8.1 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 812fecbc763791d5dd154a8d92e723f02664c562
4
- data.tar.gz: 8d7bc80f1f71e491fc86cfc80564d93663402eec
3
+ metadata.gz: ca588b1fb4d1950493e5489d4a00fd9afeda6ab8
4
+ data.tar.gz: a715bffc484664c19a83f46480a4223af0e68a01
5
5
  SHA512:
6
- metadata.gz: d9e1fea5fbd2f770c09278891da775a9503c82a54fbceba9842e21e6c719429f459ab747cafbbef04ad79b20328f9a0bbb48a84e644b1ef5e9cd2d293d67085f
7
- data.tar.gz: 03409819887debb1c88e63538189be9aacff1c385d10b5764c7a45f338cb7af78b8c350ca5ae67b4b83f4f58ed5753c5b0df969c006e3a73e7ce45b79fb3d191
6
+ metadata.gz: e89a129c0681eb4259e2086f873f68bbddb4d0479fd60ea9985521228e5285d17d1d6f73f7202eecbd29dde77e298179a82fbbff06509dc7b891ec1a3116679f
7
+ data.tar.gz: 77778a4cf09be21cfd299b933fafbb52612c97321551a20dd71363d241cf339542bf0bca007e60658f3988bf14b04c2f008b911e865fd590c9b29a24966d25ad
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.9.0 (2016-10-21)
2
+
3
+ - Update assets to match upstream version
4
+
1
5
  ## 0.8.1 (2016-09-21)
2
6
 
3
7
  - Update assets to match upstream version
data/lib/mui-sass.rb CHANGED
@@ -2,9 +2,7 @@ module Mui
2
2
  module Sass
3
3
  class << self
4
4
  def load!
5
- if defined?(::Compass::Frameworks)
6
- register_compass_extension
7
- elsif defined?(::Rails)
5
+ if defined?(::Rails)
8
6
  register_rails_engine
9
7
  elsif defined?(::Sprockets)
10
8
  register_sprockets
@@ -33,18 +31,6 @@ module Mui
33
31
  ::Sass.load_paths << stylesheets_path
34
32
  end
35
33
 
36
- def register_compass_extension
37
- require 'mui/sass/version'
38
-
39
- ::Compass::Frameworks.register(
40
- 'mui',
41
- version: Mui::Sass::VERSION,
42
- path: gem_path,
43
- stylesheets_directory: stylesheets_path,
44
- templates_directory: File.join(gem_path, 'templates')
45
- )
46
- end
47
-
48
34
  def register_rails_engine
49
35
  require 'mui/sass/engine'
50
36
  end
@@ -1,5 +1,5 @@
1
1
  module Mui
2
2
  module Sass
3
- VERSION = '0.8.1'
3
+ VERSION = '0.9.0'
4
4
  end
5
5
  end
data/mui-sass.gemspec CHANGED
@@ -21,8 +21,8 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.required_ruby_version = '>= 2.0.0'
23
23
 
24
- spec.add_runtime_dependency 'sass', '~> 3.4'
24
+ spec.add_runtime_dependency 'sass', '~> 3.3'
25
25
 
26
- spec.add_development_dependency 'rspec', '~> 3.5'
27
- spec.add_development_dependency 'rails', '~> 4.2'
26
+ spec.add_development_dependency 'rspec', '~> 3.3'
27
+ spec.add_development_dependency 'rails', '~> 5.0'
28
28
  end
@@ -289,7 +289,7 @@ function jqLiteOne(element, events, callback, useCapture) {
289
289
  if (callback) callback.apply(this, arguments);
290
290
 
291
291
  // remove wrapper
292
- jqLiteOff(element, event, onFn);
292
+ jqLiteOff(element, event, onFn, useCapture);
293
293
  }, useCapture);
294
294
  });
295
295
  }
@@ -520,6 +520,7 @@ module.exports = {
520
520
 
521
521
  var config = require('../config'),
522
522
  jqLite = require('./jqLite'),
523
+ animationEvents = 'animationstart mozAnimationStart webkitAnimationStart',
523
524
  nodeInsertedCallbacks = [],
524
525
  scrollLock = 0,
525
526
  scrollLockCls = 'mui-body--scroll-lock',
@@ -591,12 +592,9 @@ function onNodeInsertedFn(callbackFn) {
591
592
  nodeInsertedCallbacks.push(callbackFn);
592
593
 
593
594
  // initalize listeners
594
- if (nodeInsertedCallbacks._initialized === undefined) {
595
- var doc = document,
596
- events = 'animationstart mozAnimationStart webkitAnimationStart';
597
-
598
- jqLite.on(doc, events, animationHandlerFn);
599
- nodeInsertedCallbacks._initialized = true;
595
+ if (!this.initialized) {
596
+ jqLite.on(document, animationEvents, animationHandlerFn);
597
+ this.initialized = true;
600
598
  }
601
599
  }
602
600
 
@@ -609,12 +607,11 @@ function animationHandlerFn(ev) {
609
607
  // check animation name
610
608
  if (ev.animationName !== 'mui-node-inserted') return;
611
609
 
612
- var el = ev.target;
610
+ var el = ev.target,
611
+ i = nodeInsertedCallbacks.length;
613
612
 
614
613
  // iterate through callbacks
615
- for (var i=nodeInsertedCallbacks.length - 1; i >= 0; i--) {
616
- nodeInsertedCallbacks[i](el);
617
- }
614
+ while (i--) nodeInsertedCallbacks[i](el);
618
615
  }
619
616
 
620
617
 
@@ -739,6 +736,9 @@ function requestAnimationFrameFn(callback) {
739
736
  * Define the module API
740
737
  */
741
738
  module.exports = {
739
+ /** List cross-browser animation events */
740
+ animationEvents: animationEvents,
741
+
742
742
  /** Create callback closures */
743
743
  callback: callbackFn,
744
744
 
@@ -1286,6 +1286,9 @@ function initialize(selectEl) {
1286
1286
 
1287
1287
  // initialize element
1288
1288
  new Select(selectEl);
1289
+
1290
+ // set flag
1291
+ selectEl._muiJs = true;
1289
1292
  }
1290
1293
 
1291
1294
 
@@ -1294,93 +1297,130 @@ function initialize(selectEl) {
1294
1297
  * @class
1295
1298
  */
1296
1299
  function Select(selectEl) {
1300
+ var wrapperEl = selectEl.parentNode;
1301
+
1297
1302
  // instance variables
1298
1303
  this.selectEl = selectEl;
1299
- this.wrapperEl = selectEl.parentNode;
1304
+ this.wrapperEl = wrapperEl;
1300
1305
  this.useDefault = false; // currently unused but let's keep just in case
1306
+ this.isOpen = false;
1307
+ this.menu = null;
1301
1308
 
1302
- // attach event handlers
1303
- jqLite.on(selectEl, 'mousedown', util.callback(this, 'mousedownHandler'));
1304
- jqLite.on(selectEl, 'focus', util.callback(this, 'focusHandler'));
1305
- jqLite.on(selectEl, 'click', util.callback(this, 'clickHandler'));
1306
-
1307
- // make wrapper focusable and fix firefox bug
1308
- this.wrapperEl.tabIndex = -1;
1309
- var callbackFn = util.callback(this, 'wrapperFocusHandler');
1310
- jqLite.on(this.wrapperEl, 'focus', callbackFn);
1309
+ // NOTE: To get around cross-browser issues with <select> behavior we will
1310
+ // defer focus to the parent element and handle events there
1311
+
1312
+ // make wrapper tab focusable, remove tab focus from <select>
1313
+ if (!selectEl.disabled) wrapperEl.tabIndex = 0;
1314
+ if (!this.useDefault) selectEl.tabIndex = -1;
1315
+
1316
+ var cb = util.callback;
1317
+
1318
+ // prevent built-in menu from opening on <select>
1319
+ jqLite.on(selectEl, 'mousedown', cb(this, 'onInnerMouseDown'));
1320
+
1321
+ // attach event listeners for custom menu
1322
+ jqLite.on(wrapperEl, 'click', cb(this, 'onWrapperClick'));
1323
+ jqLite.on(wrapperEl, 'blur focus', cb(this, 'onWrapperBlurOrFocus'));
1324
+ jqLite.on(wrapperEl, 'keydown', cb(this, 'onWrapperKeyDown'));
1325
+
1326
+ // add element to detect 'disabled' change (using sister element due to
1327
+ // IE/Firefox issue
1328
+ var el = document.createElement('div');
1329
+ el.className = 'mui-event-trigger';
1330
+ wrapperEl.appendChild(el);
1331
+
1332
+ // handle 'disabled' add/remove
1333
+ jqLite.on(el, util.animationEvents, function(ev) {
1334
+ // no need to propagate
1335
+ ev.stopPropagation();
1336
+
1337
+ if (ev.animationName === 'mui-node-disabled') {
1338
+ ev.target.parentNode.removeAttribute('tabIndex');
1339
+ } else {
1340
+ ev.target.parentNode.tabIndex = 0;
1341
+ }
1342
+ });
1311
1343
  }
1312
1344
 
1313
1345
 
1314
1346
  /**
1315
- * Disable default dropdown on mousedown.
1347
+ * Dispatch focus and blur events on inner <select> element.
1316
1348
  * @param {Event} ev - The DOM event
1317
1349
  */
1318
- Select.prototype.mousedownHandler = function(ev) {
1319
- if (ev.button !== 0 || this.useDefault === true) return;
1320
- ev.preventDefault();
1350
+ Select.prototype.onWrapperBlurOrFocus = function(ev) {
1351
+ util.dispatchEvent(this.selectEl, ev.type, false, false);
1321
1352
  }
1322
1353
 
1323
1354
 
1355
+
1324
1356
  /**
1325
- * Handle focus event on select element.
1357
+ * Disable default dropdown on mousedown.
1326
1358
  * @param {Event} ev - The DOM event
1327
1359
  */
1328
- Select.prototype.focusHandler = function(ev) {
1329
- // check flag
1330
- if (this.useDefault === true) return;
1331
-
1332
- var selectEl = this.selectEl,
1333
- wrapperEl = this.wrapperEl,
1334
- tabIndex = selectEl.tabIndex,
1335
- keydownFn = util.callback(this, 'keydownHandler');
1336
-
1337
- // attach keydown handler
1338
- jqLite.on(doc, 'keydown', keydownFn);
1360
+ Select.prototype.onInnerMouseDown = function(ev) {
1361
+ // only left clicks
1362
+ if (ev.button !== 0 || this.useDefault) return;
1339
1363
 
1340
- // disable tabfocus once
1341
- selectEl.tabIndex = -1;
1342
- jqLite.one(wrapperEl, 'blur', function() {
1343
- selectEl.tabIndex = tabIndex;
1344
- jqLite.off(doc, 'keydown', keydownFn);
1345
- });
1346
-
1347
- // defer focus to parent
1348
- wrapperEl.focus();
1364
+ // prevent built-in menu from opening
1365
+ ev.preventDefault();
1349
1366
  }
1350
1367
 
1351
1368
 
1352
1369
  /**
1353
- * Handle keydown events on doc
1370
+ * Handle keydown events when wrapper is focused
1354
1371
  **/
1355
- Select.prototype.keydownHandler = function(ev) {
1372
+ Select.prototype.onWrapperKeyDown = function(ev) {
1373
+ // check flag
1374
+ if (this.useDefault || ev.defaultPrevented) return;
1375
+
1356
1376
  var keyCode = ev.keyCode;
1357
1377
 
1358
- // spacebar, down, up
1359
- if (keyCode === 32 || keyCode === 38 || keyCode === 40) {
1360
- // prevent win scroll
1361
- ev.preventDefault();
1362
-
1363
- if (this.selectEl.disabled !== true) this.renderMenu();
1364
- }
1365
- }
1378
+ if (this.isOpen === false) {
1379
+ // spacebar, down, up
1380
+ if (keyCode === 32 || keyCode === 38 || keyCode === 40) {
1381
+ ev.preventDefault();
1366
1382
 
1383
+ // open custom menu
1384
+ this.renderMenu();
1385
+ }
1367
1386
 
1368
- /**
1369
- * Handle focus event on wrapper element.
1370
- */
1371
- Select.prototype.wrapperFocusHandler = function() {
1372
- // firefox bugfix
1373
- if (this.selectEl.disabled) return this.wrapperEl.blur();
1387
+ } else {
1388
+ var menu = this.menu;
1389
+
1390
+ // tab
1391
+ if (keyCode === 9) return menu.destroy();
1392
+
1393
+ // escape | up | down | enter
1394
+ if (keyCode === 27 || keyCode === 40 || keyCode === 38 || keyCode === 13) {
1395
+ ev.preventDefault();
1396
+ }
1397
+
1398
+ if (keyCode === 27) {
1399
+ menu.destroy();
1400
+ } else if (keyCode === 40) {
1401
+ menu.increment();
1402
+ } else if (keyCode === 38) {
1403
+ menu.decrement();
1404
+ } else if (keyCode === 13) {
1405
+ menu.selectCurrent();
1406
+ menu.destroy();
1407
+ }
1408
+ }
1374
1409
  }
1375
1410
 
1376
1411
 
1377
1412
  /**
1378
- * Handle click events on select element.
1413
+ * Handle click events on wrapper element.
1379
1414
  * @param {Event} ev - The DOM event
1380
1415
  */
1381
- Select.prototype.clickHandler = function(ev) {
1382
- // only left clicks
1383
- if (ev.button !== 0) return;
1416
+ Select.prototype.onWrapperClick = function(ev) {
1417
+ // only left clicks, check default and disabled flags
1418
+ if (ev.button !== 0 || this.useDefault || this.selectEl.disabled) return;
1419
+
1420
+ // focus wrapper
1421
+ this.wrapperEl.focus();
1422
+
1423
+ // open menu
1384
1424
  this.renderMenu();
1385
1425
  }
1386
1426
 
@@ -1389,10 +1429,19 @@ Select.prototype.clickHandler = function(ev) {
1389
1429
  * Render options dropdown.
1390
1430
  */
1391
1431
  Select.prototype.renderMenu = function() {
1392
- // check and reset flag
1393
- if (this.useDefault === true) return this.useDefault = false;
1432
+ // check flag
1433
+ if (this.isOpen) return;
1434
+
1435
+ // render custom menu and reset flag
1436
+ var self = this;
1437
+ this.menu = new Menu(this.wrapperEl, this.selectEl, function() {
1438
+ self.isOpen = false;
1439
+ self.menu = null;
1440
+ self.wrapperEl.focus();
1441
+ });
1394
1442
 
1395
- new Menu(this.wrapperEl, this.selectEl);
1443
+ // set flag
1444
+ this.isOpen = true;
1396
1445
  }
1397
1446
 
1398
1447
 
@@ -1400,7 +1449,7 @@ Select.prototype.renderMenu = function() {
1400
1449
  * Creates a new Menu
1401
1450
  * @class
1402
1451
  */
1403
- function Menu(wrapperEl, selectEl) {
1452
+ function Menu(wrapperEl, selectEl, wrapperCallbackFn) {
1404
1453
  // add scroll lock
1405
1454
  util.enableScrollLock();
1406
1455
 
@@ -1409,30 +1458,25 @@ function Menu(wrapperEl, selectEl) {
1409
1458
  this.origPos = null;
1410
1459
  this.currentPos = null;
1411
1460
  this.selectEl = selectEl;
1461
+ this.wrapperEl = wrapperEl;
1412
1462
  this.menuEl = this._createMenuEl(wrapperEl, selectEl);
1413
- this.clickCallbackFn = util.callback(this, 'clickHandler');
1414
- this.keydownCallbackFn = util.callback(this, 'keydownHandler');
1415
- this.destroyCallbackFn = util.callback(this, 'destroy');
1463
+
1464
+ var cb = util.callback;
1465
+
1466
+ this.onClickCB = cb(this, 'onClick');
1467
+ this.destroyCB = cb(this, 'destroy');
1468
+ this.wrapperCallbackFn = wrapperCallbackFn;
1416
1469
 
1417
1470
  // add to DOM
1418
1471
  wrapperEl.appendChild(this.menuEl);
1419
1472
  jqLite.scrollTop(this.menuEl, this.menuEl._muiScrollTop);
1420
1473
 
1421
- // blur active element
1422
- setTimeout(function() {
1423
- // ie10 bugfix
1424
- if (doc.activeElement.nodeName.toLowerCase() !== "body") {
1425
- doc.activeElement.blur();
1426
- }
1427
- }, 0);
1428
-
1429
1474
  // attach event handlers
1430
- jqLite.on(this.menuEl, 'click', this.clickCallbackFn);
1431
- jqLite.on(doc, 'keydown', this.keydownCallbackFn);
1432
- jqLite.on(win, 'resize', this.destroyCallbackFn);
1475
+ jqLite.on(this.menuEl, 'click', this.onClickCB);
1476
+ jqLite.on(win, 'resize', this.destroyCB);
1433
1477
 
1434
1478
  // attach event handler after current event loop exits
1435
- var fn = this.destroyCallbackFn;
1479
+ var fn = this.destroyCB;
1436
1480
  setTimeout(function() {jqLite.on(doc, 'click', fn);}, 0);
1437
1481
  }
1438
1482
 
@@ -1529,39 +1573,11 @@ Menu.prototype._createMenuEl = function(wrapperEl, selectEl) {
1529
1573
  }
1530
1574
 
1531
1575
 
1532
- /**
1533
- * Handle keydown events on doc element.
1534
- * @param {Event} ev - The DOM event
1535
- */
1536
- Menu.prototype.keydownHandler = function(ev) {
1537
- var keyCode = ev.keyCode;
1538
-
1539
- // tab
1540
- if (keyCode === 9) return this.destroy();
1541
-
1542
- // escape | up | down | enter
1543
- if (keyCode === 27 || keyCode === 40 || keyCode === 38 || keyCode === 13) {
1544
- ev.preventDefault();
1545
- }
1546
-
1547
- if (keyCode === 27) {
1548
- this.destroy();
1549
- } else if (keyCode === 40) {
1550
- this.increment();
1551
- } else if (keyCode === 38) {
1552
- this.decrement();
1553
- } else if (keyCode === 13) {
1554
- this.selectCurrent();
1555
- this.destroy();
1556
- }
1557
- }
1558
-
1559
-
1560
1576
  /**
1561
1577
  * Handle click events on menu element.
1562
1578
  * @param {Event} ev - The DOM event
1563
1579
  */
1564
- Menu.prototype.clickHandler = function(ev) {
1580
+ Menu.prototype.onClick = function(ev) {
1565
1581
  // don't allow events to bubble
1566
1582
  ev.stopPropagation();
1567
1583
 
@@ -1618,7 +1634,7 @@ Menu.prototype.selectCurrent = function() {
1618
1634
  this.selectEl.selectedIndex = this.itemArray[this.currentPos]._muiIndex;
1619
1635
 
1620
1636
  // trigger change event
1621
- util.dispatchEvent(this.selectEl, 'change');
1637
+ util.dispatchEvent(this.selectEl, 'change', false, false);
1622
1638
  }
1623
1639
  }
1624
1640
 
@@ -1627,20 +1643,20 @@ Menu.prototype.selectCurrent = function() {
1627
1643
  * Destroy menu and detach event handlers
1628
1644
  */
1629
1645
  Menu.prototype.destroy = function() {
1630
- // remove element and focus element
1631
- var parentNode = this.menuEl.parentNode;
1632
- if (parentNode) parentNode.removeChild(this.menuEl);
1633
-
1634
- this.selectEl.focus();
1635
-
1636
1646
  // remove scroll lock
1637
1647
  util.disableScrollLock(true);
1638
1648
 
1639
1649
  // remove event handlers
1640
1650
  jqLite.off(this.menuEl, 'click', this.clickCallbackFn);
1641
- jqLite.off(doc, 'keydown', this.keydownCallbackFn);
1642
- jqLite.off(doc, 'click', this.destroyCallbackFn);
1643
- jqLite.off(win, 'resize', this.destroyCallbackFn);
1651
+ jqLite.off(doc, 'click', this.destroyCB);
1652
+ jqLite.off(win, 'resize', this.destroyCB);
1653
+
1654
+ // remove element and execute wrapper callback
1655
+ var parentNode = this.menuEl.parentNode;
1656
+ if (parentNode) {
1657
+ parentNode.removeChild(this.menuEl);
1658
+ this.wrapperCallbackFn();
1659
+ }
1644
1660
  }
1645
1661
 
1646
1662
 
@@ -1652,7 +1668,7 @@ module.exports = {
1652
1668
  var elList = doc.querySelectorAll(cssSelector);
1653
1669
  for (var i=elList.length - 1; i >= 0; i--) initialize(elList[i]);
1654
1670
 
1655
- // listen for new elements
1671
+ // listen for mui-node-inserted events
1656
1672
  util.onNodeInserted(function(el) {
1657
1673
  if (el.tagName === 'SELECT' &&
1658
1674
  jqLite.hasClass(el.parentNode, wrapperClass)) {
@@ -11,6 +11,11 @@
11
11
  to { opacity: 1; }
12
12
  }
13
13
 
14
+ @keyframes mui-node-disabled {
15
+ from { opacity: 0.99; }
16
+ to { opacity: 1;}
17
+ }
18
+
14
19
 
15
20
 
16
21
 
@@ -68,6 +68,18 @@ $xFormLabelLineHeight: floor($mui-label-font-size * 1.25);
68
68
  background-color: $mui-input-bg-color-disabled;
69
69
  opacity: 1; // iOS fix for unreadable disabled content
70
70
  }
71
+
72
+ // disable focus ring in Firefox
73
+ &:-moz-focusring {
74
+ color: transparent;
75
+ text-shadow: 0 0 0 #000;
76
+ }
77
+
78
+ // prevent IE background color
79
+ &:focus::-ms-value {
80
+ background: none;
81
+ color: $mui-text-dark;
82
+ }
71
83
  }
72
84
 
73
85
  > label {
@@ -80,6 +92,20 @@ $xFormLabelLineHeight: floor($mui-label-font-size * 1.25);
80
92
  color: $mui-input-border-color-focus;
81
93
  }
82
94
 
95
+ // 'disabled' animations (uses separate element for Firefox/IE)
96
+ .mui-select > select {
97
+ // re-paint
98
+ & ~ .mui-event-trigger {
99
+ @include mui-node-inserted();
100
+ }
101
+
102
+ // disable
103
+ &:disabled ~ .mui-event-trigger {
104
+ @include mui-node-disabled();
105
+ }
106
+ }
107
+
108
+
83
109
  .mui-select__menu {
84
110
  @extend .mui--z1;
85
111
 
@@ -3,6 +3,11 @@
3
3
  animation-name: mui-node-inserted;
4
4
  }
5
5
 
6
+ @mixin mui-node-disabled() {
7
+ animation-duration: 0.0001s;
8
+ animation-name: mui-node-disabled;
9
+ }
10
+
6
11
  // Clearfix
7
12
  //
8
13
  // For modern browsers
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mui-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitriy Tarasov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-21 00:00:00.000000000 Z
11
+ date: 2016-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.4'
19
+ version: '3.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.4'
26
+ version: '3.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '3.5'
33
+ version: '3.3'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '3.5'
40
+ version: '3.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '4.2'
47
+ version: '5.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '4.2'
54
+ version: '5.0'
55
55
  description: MUI is a lightweight framework that follows Google's Material Design
56
56
  guidelines
57
57
  email:
@@ -74,8 +74,6 @@ files:
74
74
  - lib/mui/sass/engine.rb
75
75
  - lib/mui/sass/version.rb
76
76
  - mui-sass.gemspec
77
- - templates/project/manifest.rb
78
- - templates/project/styles.sass
79
77
  - vendor/assets/javascripts/mui.js
80
78
  - vendor/assets/stylesheets/_mui.scss
81
79
  - vendor/assets/stylesheets/mui/_appbar.scss
@@ -1,2 +0,0 @@
1
- description 'MUI CSS for Sass'
2
- stylesheet 'styles.sass'
@@ -1 +0,0 @@
1
- @import 'mui'