scorer-ui-kit 1.7.6 → 1.8.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +404 -85
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +404 -85
- package/dist/index.modern.js.map +1 -1
- package/dist/themes/dark/colors.d.ts +16 -0
- package/dist/themes/dark/custom.d.ts +209 -0
- package/dist/themes/dark/dark.d.ts +17 -0
- package/dist/themes/dark/styles.d.ts +49 -0
- package/dist/themes/dark/typography.d.ts +175 -0
- package/package.json +1 -1
- package/dist/themes/dark.d.ts +0 -167
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import lightTheme from './themes/light/light';
|
|
2
|
-
import darkTheme from './themes/dark';
|
|
2
|
+
import darkTheme from './themes/dark/dark';
|
|
3
3
|
import themeFallbackHelper from './themes/themeFallbackHelper';
|
|
4
4
|
import { AlertBar, Notification, INotificationProps, AlertWrapper } from './Alerts';
|
|
5
5
|
import { Form, Button, ButtonWithIcon, ButtonWithLoading, IconButton, IconButtonData, ActionButtons, SmallInput, Input, Label, Switch, Checkbox, PasswordField, TextField, TextArea, TextAreaField, SliderInput, ISliderMark, DurationSlider, PercentageSlider, InputFileButton, DropArea, CropTool, AvatarUploader, SelectField, SelectWrapper, AreaUploadManager, RadioButton } from './Form';
|
package/dist/index.js
CHANGED
|
@@ -1424,81 +1424,397 @@ var light = {
|
|
|
1424
1424
|
deviceMediaQuery: deviceMediaQuery
|
|
1425
1425
|
};
|
|
1426
1426
|
|
|
1427
|
-
var
|
|
1428
|
-
var styles$1 = {
|
|
1427
|
+
var typography$1 = {
|
|
1429
1428
|
"form": {
|
|
1430
|
-
"
|
|
1431
|
-
"
|
|
1429
|
+
"label": {
|
|
1430
|
+
"default": {
|
|
1431
|
+
"textAlign": "left",
|
|
1432
|
+
"fontSize": "14px",
|
|
1433
|
+
"fontWeight": 400,
|
|
1434
|
+
"textDecoration": "none",
|
|
1435
|
+
"color": "hsla(207, 5%, 56.7%, 1.000)"
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
},
|
|
1439
|
+
"global": {
|
|
1440
|
+
"mainMenu": {
|
|
1441
|
+
"subItem": {
|
|
1432
1442
|
"default": {
|
|
1433
|
-
"
|
|
1443
|
+
"textAlign": "left",
|
|
1444
|
+
"fontSize": "14px",
|
|
1445
|
+
"fontWeight": 300,
|
|
1446
|
+
"textDecoration": "none",
|
|
1447
|
+
"color": "hsla(0, 0%, 100%, 0.549)"
|
|
1448
|
+
},
|
|
1449
|
+
"hover": {
|
|
1450
|
+
"textAlign": "left",
|
|
1451
|
+
"fontSize": "14px",
|
|
1452
|
+
"fontWeight": 300,
|
|
1453
|
+
"textDecoration": "none",
|
|
1454
|
+
"color": "hsla(0, 0%, 100%, 0.800)"
|
|
1455
|
+
}
|
|
1456
|
+
},
|
|
1457
|
+
"subheader": {
|
|
1458
|
+
"textAlign": "left",
|
|
1459
|
+
"fontSize": "14px",
|
|
1460
|
+
"fontWeight": 600,
|
|
1461
|
+
"textTransform": "uppercase",
|
|
1462
|
+
"letterSpacing": "0.35px",
|
|
1463
|
+
"textDecoration": "none",
|
|
1464
|
+
"color": "hsla(0, 0%, 100%, 0.545)"
|
|
1465
|
+
},
|
|
1466
|
+
"identity": {
|
|
1467
|
+
"textAlign": "left",
|
|
1468
|
+
"fontSize": "12px",
|
|
1469
|
+
"fontWeight": 400,
|
|
1470
|
+
"textDecoration": "none",
|
|
1471
|
+
"color": "hsla(0, 0%, 88.6%, 0.651)"
|
|
1472
|
+
},
|
|
1473
|
+
"menuItem": {
|
|
1474
|
+
"active": {
|
|
1475
|
+
"textAlign": "left",
|
|
1476
|
+
"fontSize": "16px",
|
|
1477
|
+
"fontWeight": 300,
|
|
1478
|
+
"textDecoration": "none",
|
|
1479
|
+
"color": "hsla(0, 0%, 100%, 1.000)"
|
|
1480
|
+
},
|
|
1481
|
+
"default": {
|
|
1482
|
+
"textAlign": "left",
|
|
1483
|
+
"fontSize": "16px",
|
|
1484
|
+
"fontWeight": 300,
|
|
1485
|
+
"textDecoration": "none",
|
|
1486
|
+
"color": "hsla(0, 0%, 100%, 1.000)"
|
|
1487
|
+
},
|
|
1488
|
+
"hover": {
|
|
1489
|
+
"textAlign": "left",
|
|
1490
|
+
"fontSize": "16px",
|
|
1491
|
+
"fontWeight": 300,
|
|
1492
|
+
"textDecoration": "none",
|
|
1493
|
+
"color": "hsla(0, 0%, 100%, 1.000)"
|
|
1494
|
+
}
|
|
1495
|
+
},
|
|
1496
|
+
"hidePrompt": {
|
|
1497
|
+
"textAlign": "left",
|
|
1498
|
+
"fontSize": "14px",
|
|
1499
|
+
"fontWeight": 300,
|
|
1500
|
+
"textDecoration": "none",
|
|
1501
|
+
"color": "hsla(203, 13.2%, 73.3%, 1.000)"
|
|
1502
|
+
},
|
|
1503
|
+
"sub-MenuItem": {
|
|
1504
|
+
"default": {
|
|
1505
|
+
"textAlign": "left",
|
|
1506
|
+
"fontSize": "14px",
|
|
1507
|
+
"fontWeight": 300,
|
|
1508
|
+
"textDecoration": "none",
|
|
1509
|
+
"color": "hsla(203, 6.6%, 76.1%, 1.000)"
|
|
1510
|
+
},
|
|
1511
|
+
"active": {
|
|
1512
|
+
"textAlign": "left",
|
|
1513
|
+
"fontSize": "14px",
|
|
1514
|
+
"fontWeight": 300,
|
|
1515
|
+
"textDecoration": "none",
|
|
1516
|
+
"color": "hsla(203, 6.6%, 76.1%, 1.000)"
|
|
1517
|
+
},
|
|
1518
|
+
"hover": {
|
|
1519
|
+
"textAlign": "left",
|
|
1520
|
+
"fontSize": "14px",
|
|
1521
|
+
"fontWeight": 300,
|
|
1522
|
+
"textDecoration": "none",
|
|
1523
|
+
"color": "hsla(203, 6.6%, 76.1%, 1.000)"
|
|
1434
1524
|
}
|
|
1435
1525
|
}
|
|
1526
|
+
},
|
|
1527
|
+
"topBar": {
|
|
1528
|
+
"search": {
|
|
1529
|
+
"value": {
|
|
1530
|
+
"textAlign": "left",
|
|
1531
|
+
"fontSize": "14px",
|
|
1532
|
+
"fontWeight": 300,
|
|
1533
|
+
"textDecoration": "none",
|
|
1534
|
+
"color": "hsla(0, 0%, 34.9%, 1.000)"
|
|
1535
|
+
}
|
|
1536
|
+
}
|
|
1537
|
+
}
|
|
1538
|
+
},
|
|
1539
|
+
"pageHeader": {
|
|
1540
|
+
"introduction": {
|
|
1541
|
+
"textAlign": "left",
|
|
1542
|
+
"fontStyle": "italic",
|
|
1543
|
+
"fontSize": "14px",
|
|
1544
|
+
"fontWeight": 300,
|
|
1545
|
+
"lineHeight": "25px",
|
|
1546
|
+
"textDecoration": "none",
|
|
1547
|
+
"color": "hsla(207, 5%, 56.7%, 1.000)"
|
|
1548
|
+
}
|
|
1549
|
+
},
|
|
1550
|
+
"styleGuide": {
|
|
1551
|
+
"guideTitle": {
|
|
1552
|
+
"textAlign": "left",
|
|
1553
|
+
"fontSize": "24px",
|
|
1554
|
+
"fontWeight": 300,
|
|
1555
|
+
"textDecoration": "none",
|
|
1556
|
+
"color": "hsla(0, 0%, 48.2%, 1.000)",
|
|
1557
|
+
"textTransform": "uppercase",
|
|
1558
|
+
"letterSpacing": "0.4px"
|
|
1559
|
+
},
|
|
1560
|
+
"guideNotes": {
|
|
1561
|
+
"textAlign": "left",
|
|
1562
|
+
"fontStyle": "italic",
|
|
1563
|
+
"fontSize": "14px",
|
|
1564
|
+
"fontWeight": 300,
|
|
1565
|
+
"lineHeight": "30px",
|
|
1566
|
+
"paragraphSpacing": "15px",
|
|
1567
|
+
"textDecoration": "none",
|
|
1568
|
+
"color": "hsla(0, 0%, 48.2%, 1.000)"
|
|
1569
|
+
},
|
|
1570
|
+
"itemName": {
|
|
1571
|
+
"textAlign": "left",
|
|
1572
|
+
"fontSize": "12px",
|
|
1573
|
+
"fontWeight": 300,
|
|
1574
|
+
"textDecoration": "none",
|
|
1575
|
+
"color": "hsla(0, 0%, 22.7%, 1.000)"
|
|
1576
|
+
},
|
|
1577
|
+
"guideAreaSubtitle": {
|
|
1578
|
+
"textAlign": "left",
|
|
1579
|
+
"fontSize": "16px",
|
|
1580
|
+
"fontWeight": 300,
|
|
1581
|
+
"textTransform": "uppercase",
|
|
1582
|
+
"textDecoration": "none",
|
|
1583
|
+
"color": "hsla(0, 0%, 48.2%, 1.000)"
|
|
1584
|
+
},
|
|
1585
|
+
"guideAreaTitle": {
|
|
1586
|
+
"textAlign": "left",
|
|
1587
|
+
"fontSize": "20px",
|
|
1588
|
+
"fontWeight": 300,
|
|
1589
|
+
"textTransform": "uppercase",
|
|
1590
|
+
"textDecoration": "none",
|
|
1591
|
+
"color": "hsla(0, 0%, 48.2%, 1.000)"
|
|
1436
1592
|
}
|
|
1593
|
+
},
|
|
1594
|
+
"active": {
|
|
1595
|
+
"textAlign": "left",
|
|
1596
|
+
"fontSize": "14px",
|
|
1597
|
+
"fontWeight": 600,
|
|
1598
|
+
"textDecoration": "none",
|
|
1599
|
+
"color": "hsla(0, 0%, 100%, 0.800)"
|
|
1437
1600
|
}
|
|
1438
1601
|
};
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1602
|
+
|
|
1603
|
+
var colors$1 = {
|
|
1604
|
+
"divider": "hsla(240, 6.3%, 15.5%, 1.000)",
|
|
1605
|
+
"menu": {
|
|
1606
|
+
"active": "hsla(215, 100%, 75.1%, 1.000)",
|
|
1607
|
+
"hover": "hsla(200, 77.8%, 77.1%, 1.000)",
|
|
1608
|
+
"default": "hsla(200, 77.8%, 77.1%, 0.000)"
|
|
1609
|
+
},
|
|
1610
|
+
"icons": {
|
|
1611
|
+
"subtle": "hsla(0, 0%, 85.1%, 1.000)",
|
|
1612
|
+
"dimmed": "hsla(0, 0%, 65.1%, 1.000)",
|
|
1613
|
+
"inverse": "hsla(0, 0%, 100%, 1.000)",
|
|
1614
|
+
"mono": "hsla(0, 0%, 25.1%, 1.000)",
|
|
1615
|
+
"danger": "hsla(0, 100%, 70%, 1.000)",
|
|
1616
|
+
"primary": "hsla(205, 100%, 65.1%, 1.000)"
|
|
1617
|
+
}
|
|
1618
|
+
};
|
|
1619
|
+
|
|
1620
|
+
var styles$1 = {
|
|
1621
|
+
"global": {
|
|
1622
|
+
"mainMenu": {
|
|
1623
|
+
"background": {
|
|
1624
|
+
"boxShadow": "5px 0px 10px 0px hsla(205, 14%, 16.9%, 0.251)",
|
|
1625
|
+
"backgroundColor": "hsla(210, 7.9%, 14.9%, 1.000)"
|
|
1626
|
+
},
|
|
1627
|
+
"footerBackground": {
|
|
1628
|
+
"backgroundColor": "hsla(210, 7.9%, 14.9%, 0.800)"
|
|
1629
|
+
},
|
|
1630
|
+
"lines": {
|
|
1631
|
+
"backgroundColor": "hsla(225, 3.5%, 22.4%, 1.000)"
|
|
1632
|
+
},
|
|
1633
|
+
"iconBackground": {
|
|
1634
|
+
"default": {
|
|
1635
|
+
"backgroundColor": "hsla(215, 19.1%, 36.9%, 0.000)"
|
|
1636
|
+
},
|
|
1637
|
+
"hover": {
|
|
1638
|
+
"backgroundColor": "hsla(215, 19.1%, 36.9%, 1.000)"
|
|
1639
|
+
},
|
|
1640
|
+
"active": {
|
|
1641
|
+
"backgroundColor": "hsla(215, 66.3%, 59.2%, 1.000)"
|
|
1642
|
+
}
|
|
1643
|
+
},
|
|
1644
|
+
"desktop": {
|
|
1645
|
+
"open": {}
|
|
1471
1646
|
}
|
|
1647
|
+
},
|
|
1648
|
+
"drawer": {
|
|
1649
|
+
"background": {
|
|
1650
|
+
"boxShadow": "5px 0px 10px 0px hsla(205, 14%, 16.9%, 0.251)",
|
|
1651
|
+
"backgroundColor": "hsla(210, 7.9%, 14.9%, 1.000)"
|
|
1652
|
+
}
|
|
1653
|
+
},
|
|
1654
|
+
"topBar": {
|
|
1655
|
+
"lines": {
|
|
1656
|
+
"backgroundColor": "hsla(225, 3.5%, 22.4%, 1.000)"
|
|
1657
|
+
}
|
|
1658
|
+
},
|
|
1659
|
+
"background": {
|
|
1660
|
+
"backgroundImage": "linear-gradient(180.00deg, hsla(220, 4.2%, 13.9%, 1.000) 0%, hsla(220, 4.9%, 12%, 1.000) 100%)"
|
|
1472
1661
|
}
|
|
1473
1662
|
},
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1663
|
+
"general": {
|
|
1664
|
+
"divider": {
|
|
1665
|
+
"backgroundColor": "hsla(213, 11.6%, 18.6%, 1.000)"
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
};
|
|
1669
|
+
|
|
1670
|
+
var custom$1 = {
|
|
1671
|
+
"lines": {
|
|
1672
|
+
"primary": {
|
|
1673
|
+
label: {
|
|
1674
|
+
fill: "#fff"
|
|
1675
|
+
},
|
|
1676
|
+
contrastLine: {
|
|
1677
|
+
stroke: 'hsla(205deg, 80%, 45%, 100%);'
|
|
1678
|
+
},
|
|
1679
|
+
highlightLine: {
|
|
1680
|
+
stroke: 'hsla(205deg, 45%, 90%, 90%);'
|
|
1681
|
+
},
|
|
1682
|
+
grabHandle: {
|
|
1683
|
+
fill: 'hsla(205deg, 45%, 90%, 100%)',
|
|
1684
|
+
stroke: 'hsla(205deg, 45%, 100%, 100%)'
|
|
1685
|
+
},
|
|
1686
|
+
point: {
|
|
1687
|
+
fill: 'hsla(205deg, 45%, 90%, 100%)'
|
|
1688
|
+
},
|
|
1689
|
+
grabHandleContrast: {
|
|
1690
|
+
stroke: 'hsla(205deg, 80%, 45%, 100%)'
|
|
1691
|
+
},
|
|
1692
|
+
grabHandleText: {
|
|
1693
|
+
fill: 'hsla(205deg, 80%, 25%, 100%);'
|
|
1694
|
+
},
|
|
1695
|
+
handleBase: {
|
|
1696
|
+
fill: 'hsla(235deg, 100%, 80%, 100%);'
|
|
1697
|
+
},
|
|
1698
|
+
handleRingLayer: {
|
|
1699
|
+
stroke: 'hsla(205deg, 100%, 89%, 100%);'
|
|
1700
|
+
},
|
|
1701
|
+
handleReactiveFill: {
|
|
1702
|
+
fill: 'hsla(192deg, 100%, 45%, 100%);'
|
|
1703
|
+
},
|
|
1704
|
+
handleReactiveRing: {
|
|
1705
|
+
stroke: 'hsla(205deg, 100%, 36%, 27%);'
|
|
1706
|
+
},
|
|
1707
|
+
handleContrastLayer: {
|
|
1708
|
+
stroke: 'hsla(205deg, 100%, 36%, 15%);'
|
|
1709
|
+
},
|
|
1710
|
+
stopStart: {
|
|
1711
|
+
stopColor: ' hsla(205deg, 100%, 15%, 35%);'
|
|
1712
|
+
},
|
|
1713
|
+
stopEnd: {
|
|
1714
|
+
stopColor: 'hsla(205deg, 100%, 15%, 0%)'
|
|
1715
|
+
}
|
|
1484
1716
|
},
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1717
|
+
"secondary": {
|
|
1718
|
+
label: {
|
|
1719
|
+
fill: "#fff"
|
|
1720
|
+
},
|
|
1721
|
+
contrastLine: {
|
|
1722
|
+
stroke: 'hsla(120deg, 80%, 45%, 100%);'
|
|
1723
|
+
},
|
|
1724
|
+
highlightLine: {
|
|
1725
|
+
stroke: 'hsla(120deg, 45%, 90%, 90%);'
|
|
1726
|
+
},
|
|
1727
|
+
grabHandle: {
|
|
1728
|
+
fill: 'hsla(120deg, 45%, 90%, 100%)',
|
|
1729
|
+
stroke: 'hsla(120deg, 45%, 100%, 100%)'
|
|
1730
|
+
},
|
|
1731
|
+
point: {
|
|
1732
|
+
fill: 'hsla(120deg, 45%, 90%, 100%)'
|
|
1733
|
+
},
|
|
1734
|
+
grabHandleContrast: {
|
|
1735
|
+
stroke: 'hsla(120deg, 80%, 45%, 100%)'
|
|
1736
|
+
},
|
|
1737
|
+
grabHandleText: {
|
|
1738
|
+
fill: 'hsla(120deg, 80%, 25%, 100%);'
|
|
1739
|
+
},
|
|
1740
|
+
handleBase: {
|
|
1741
|
+
fill: 'hsla(150deg, 100%, 80%, 100%);'
|
|
1742
|
+
},
|
|
1743
|
+
handleRingLayer: {
|
|
1744
|
+
stroke: 'hsla(120deg, 100%, 89%, 100%);'
|
|
1745
|
+
},
|
|
1746
|
+
handleReactiveFill: {
|
|
1747
|
+
fill: 'hsla(108deg, 100%, 45%, 100%);'
|
|
1748
|
+
},
|
|
1749
|
+
handleReactiveRing: {
|
|
1750
|
+
stroke: 'hsla(120deg, 100%, 36%, 27%);'
|
|
1751
|
+
},
|
|
1752
|
+
handleContrastLayer: {
|
|
1753
|
+
stroke: 'hsla(120deg, 100%, 36%, 15%);'
|
|
1754
|
+
},
|
|
1755
|
+
stopStart: {
|
|
1756
|
+
stopColor: ' hsla(120deg, 100%, 15%, 35%);'
|
|
1757
|
+
},
|
|
1758
|
+
stopEnd: {
|
|
1759
|
+
stopColor: 'hsla(120deg, 100%, 15%, 0%)'
|
|
1760
|
+
}
|
|
1761
|
+
},
|
|
1762
|
+
"danger": {
|
|
1763
|
+
label: {
|
|
1764
|
+
fill: "#fff"
|
|
1765
|
+
},
|
|
1766
|
+
contrastLine: {
|
|
1767
|
+
stroke: 'hsla(0, 80%, 45%, 100%);'
|
|
1768
|
+
},
|
|
1769
|
+
highlightLine: {
|
|
1770
|
+
stroke: 'hsla(0, 45%, 90%, 90%);'
|
|
1771
|
+
},
|
|
1772
|
+
grabHandle: {
|
|
1773
|
+
fill: 'hsla(0, 45%, 90%, 100%)',
|
|
1774
|
+
stroke: 'hsla(0, 45%, 100%, 100%)'
|
|
1775
|
+
},
|
|
1776
|
+
point: {
|
|
1777
|
+
fill: 'hsla(0, 45%, 90%, 100%)'
|
|
1778
|
+
},
|
|
1779
|
+
grabHandleText: {
|
|
1780
|
+
fill: 'hsla(0, 80%, 25%, 100%);'
|
|
1781
|
+
},
|
|
1782
|
+
grabHandleContrast: {
|
|
1783
|
+
stroke: 'hsla(0, 80%, 45%, 100%)'
|
|
1784
|
+
},
|
|
1785
|
+
handleBase: {
|
|
1786
|
+
fill: 'hsla(30deg, 100%, 80%, 100%);'
|
|
1787
|
+
},
|
|
1788
|
+
handleRingLayer: {
|
|
1789
|
+
stroke: 'hsla(0, 100%, 89%, 100%);'
|
|
1790
|
+
},
|
|
1791
|
+
handleReactiveFill: {
|
|
1792
|
+
fill: 'hsla(348deg, 100%, 45%, 100%);'
|
|
1793
|
+
},
|
|
1794
|
+
handleReactiveRing: {
|
|
1795
|
+
stroke: 'hsla(0deg, 100%, 36%, 27%);'
|
|
1796
|
+
},
|
|
1797
|
+
handleContrastLayer: {
|
|
1798
|
+
stroke: 'hsla(0deg, 100%, 36%, 15%);'
|
|
1799
|
+
},
|
|
1800
|
+
stopStart: {
|
|
1801
|
+
stopColor: ' hsla(0, 100%, 15%, 35%);'
|
|
1802
|
+
},
|
|
1803
|
+
stopEnd: {
|
|
1804
|
+
stopColor: 'hsla(0, 100%, 15%, 0%);'
|
|
1805
|
+
}
|
|
1490
1806
|
}
|
|
1491
1807
|
}
|
|
1492
1808
|
};
|
|
1809
|
+
|
|
1493
1810
|
var dark = {
|
|
1494
1811
|
fontFamily: fontFamily,
|
|
1495
1812
|
dimensions: dimensions,
|
|
1813
|
+
typography: typography$1,
|
|
1496
1814
|
colors: colors$1,
|
|
1497
|
-
tmp: tmp,
|
|
1498
1815
|
styles: styles$1,
|
|
1499
1816
|
animation: animation,
|
|
1500
|
-
|
|
1501
|
-
deviceMediaQuery: deviceMediaQuery
|
|
1817
|
+
custom: custom$1
|
|
1502
1818
|
};
|
|
1503
1819
|
|
|
1504
1820
|
function themeFallbackHelper(theme, themeFallback) {
|
|
@@ -1548,20 +1864,23 @@ function _taggedTemplateLiteralLoose(strings, raw) {
|
|
|
1548
1864
|
}
|
|
1549
1865
|
|
|
1550
1866
|
var _templateObject;
|
|
1551
|
-
var IconWrapper = styled__default.div(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n [stroke]{\n stroke: ", ";\n }\n svg {\n overflow: visible;\n vector-effect: non-scaling-stroke;\n line, path, circle, ellipse, foreignObject, polygon, polyline, rect, text, textPath, tspan {\n vector-effect: non-scaling-stroke;\n }\n }\n"])), function (_ref) {
|
|
1552
|
-
var
|
|
1553
|
-
|
|
1867
|
+
var IconWrapper = styled__default.div(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n [stroke]{\n content: ", ";\n stroke: ", ";\n }\n svg {\n overflow: visible;\n vector-effect: non-scaling-stroke;\n line, path, circle, ellipse, foreignObject, polygon, polyline, rect, text, textPath, tspan {\n vector-effect: non-scaling-stroke;\n }\n }\n"])), function (_ref) {
|
|
1868
|
+
var color = _ref.color;
|
|
1869
|
+
return color;
|
|
1870
|
+
}, function (_ref2) {
|
|
1871
|
+
var theme = _ref2.theme,
|
|
1872
|
+
color = _ref2.color;
|
|
1554
1873
|
return theme.colors.icons[color];
|
|
1555
1874
|
});
|
|
1556
1875
|
|
|
1557
|
-
var Icon = function Icon(
|
|
1558
|
-
var icon =
|
|
1559
|
-
|
|
1560
|
-
size =
|
|
1561
|
-
|
|
1562
|
-
weight =
|
|
1563
|
-
|
|
1564
|
-
color =
|
|
1876
|
+
var Icon = function Icon(_ref3) {
|
|
1877
|
+
var icon = _ref3.icon,
|
|
1878
|
+
_ref3$size = _ref3.size,
|
|
1879
|
+
size = _ref3$size === void 0 ? 24 : _ref3$size,
|
|
1880
|
+
_ref3$weight = _ref3.weight,
|
|
1881
|
+
weight = _ref3$weight === void 0 ? 'regular' : _ref3$weight,
|
|
1882
|
+
_ref3$color = _ref3.color,
|
|
1883
|
+
color = _ref3$color === void 0 ? 'mono' : _ref3$color;
|
|
1565
1884
|
var iconWeight = dimensions.icons.weights[weight];
|
|
1566
1885
|
var IconSVG = icons.IconSVGs[icon];
|
|
1567
1886
|
return IconSVG != null ? React__default.createElement(IconWrapper, {
|
|
@@ -11750,7 +12069,7 @@ var MainMenu = function MainMenu(_ref5) {
|
|
|
11750
12069
|
}) : null)))), document.body));
|
|
11751
12070
|
};
|
|
11752
12071
|
|
|
11753
|
-
var _templateObject$1d, _templateObject2$15, _templateObject3$X, _templateObject4$S, _templateObject5$N, _templateObject6$A, _templateObject7$w, _templateObject8$u, _templateObject9$p, _templateObject10$m, _templateObject11$h, _templateObject12$a, _templateObject13$9, _templateObject14$8, _templateObject15$7, _templateObject16$4;
|
|
12072
|
+
var _templateObject$1d, _templateObject2$15, _templateObject3$X, _templateObject4$S, _templateObject5$N, _templateObject6$A, _templateObject7$w, _templateObject8$u, _templateObject9$p, _templateObject10$m, _templateObject11$h, _templateObject12$a, _templateObject13$9, _templateObject14$8, _templateObject15$7, _templateObject16$4, _templateObject17$4;
|
|
11754
12073
|
var DrawerTop = styled__default.div(_templateObject$1d || (_templateObject$1d = _taggedTemplateLiteralLoose([""])));
|
|
11755
12074
|
var DrawerBottom = styled__default.div(_templateObject2$15 || (_templateObject2$15 = _taggedTemplateLiteralLoose(["\n ", ";\n"])), function (_ref) {
|
|
11756
12075
|
var theme = _ref.theme;
|
|
@@ -11762,25 +12081,25 @@ var DrawerHeader = styled__default.h2(_templateObject4$S || (_templateObject4$S
|
|
|
11762
12081
|
});
|
|
11763
12082
|
var CurrentUser = styled__default.div(_templateObject5$N || (_templateObject5$N = _taggedTemplateLiteralLoose(["\n padding: 20px 20px 15px;\n\n ", ";\n"])), function (_ref3) {
|
|
11764
12083
|
var theme = _ref3.theme;
|
|
11765
|
-
return styled.css(_templateObject6$A || (_templateObject6$A = _taggedTemplateLiteralLoose(["\n border-bottom: ", " 1px solid;\n ", ";\n "])), theme.
|
|
12084
|
+
return styled.css(_templateObject6$A || (_templateObject6$A = _taggedTemplateLiteralLoose(["\n border-bottom: ", " 1px solid;\n ", ";\n "])), theme.styles.global.mainMenu.lines.backgroundColor, theme.typography.global.mainMenu.identity);
|
|
11766
12085
|
});
|
|
11767
|
-
var UserOptions = styled__default.div(_templateObject7$w || (_templateObject7$w = _taggedTemplateLiteralLoose(["\n padding: 20px 20px 10px 20px;\n
|
|
11768
|
-
var
|
|
11769
|
-
return
|
|
12086
|
+
var UserOptions = styled__default.div(_templateObject7$w || (_templateObject7$w = _taggedTemplateLiteralLoose(["\n padding: 20px 20px 10px 20px;\n ", ";\n\n"])), function (_ref4) {
|
|
12087
|
+
var theme = _ref4.theme;
|
|
12088
|
+
return styled.css(_templateObject8$u || (_templateObject8$u = _taggedTemplateLiteralLoose(["\n border-bottom: ", " 1px solid;\n "])), theme.styles.global.mainMenu.lines.backgroundColor);
|
|
11770
12089
|
});
|
|
11771
|
-
var Logout = styled__default.div(
|
|
11772
|
-
var LinkMenu = styled__default.ul(
|
|
11773
|
-
var LinkMenuItem = styled__default.li(
|
|
11774
|
-
var IconWrapper$3 = styled__default.div(
|
|
11775
|
-
var LinkMenuItemA = styled__default(reactRouterDom.Link)(
|
|
12090
|
+
var Logout = styled__default.div(_templateObject9$p || (_templateObject9$p = _taggedTemplateLiteralLoose(["\n padding: 0 20px;\n"])));
|
|
12091
|
+
var LinkMenu = styled__default.ul(_templateObject10$m || (_templateObject10$m = _taggedTemplateLiteralLoose(["\n padding: 0;\n margin: 12px 0 0 0;\n list-style: none;\n"])));
|
|
12092
|
+
var LinkMenuItem = styled__default.li(_templateObject11$h || (_templateObject11$h = _taggedTemplateLiteralLoose(["\n padding: 10px 0;\n"])));
|
|
12093
|
+
var IconWrapper$3 = styled__default.div(_templateObject12$a || (_templateObject12$a = _taggedTemplateLiteralLoose(["\n flex: 0 40px;\n width: 5px;\n display: flex;\n justify-content: center;\n align-items: center;\n > div {\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n"])));
|
|
12094
|
+
var LinkMenuItemA = styled__default(reactRouterDom.Link)(_templateObject13$9 || (_templateObject13$9 = _taggedTemplateLiteralLoose(["\n ", ";\n display: block;\n width: 100%;\n\n ", ";\n\n ", ";\n"])), resetButtonStyles, function (_ref5) {
|
|
11776
12095
|
var theme = _ref5.theme;
|
|
11777
|
-
return styled.css(
|
|
12096
|
+
return styled.css(_templateObject14$8 || (_templateObject14$8 = _taggedTemplateLiteralLoose(["\n ", ";\n\n &:hover {\n ", ";\n }\n "])), theme.typography.global.mainMenu.subItem["default"], theme.typography.global.mainMenu.subItem.hover);
|
|
11778
12097
|
}, function (_ref6) {
|
|
11779
12098
|
var theme = _ref6.theme,
|
|
11780
12099
|
isActive = _ref6.isActive;
|
|
11781
|
-
return isActive && styled.css(
|
|
12100
|
+
return isActive && styled.css(_templateObject15$7 || (_templateObject15$7 = _taggedTemplateLiteralLoose(["\n &, &:hover {\n ", ";\n }\n "])), theme.typography.global.mainMenu.subItem.active);
|
|
11782
12101
|
});
|
|
11783
|
-
var LanguageMenu = styled__default.button(
|
|
12102
|
+
var LanguageMenu = styled__default.button(_templateObject16$4 || (_templateObject16$4 = _taggedTemplateLiteralLoose(["\n ", ";\n\n font-family: ", ";\n margin-top: auto;\n display: flex;\n flex-direction: row;\n\n border-top: ", " 1px solid;\n ", ";\n\n padding: 20px 10px 15px;\n align-items: center;\n width: 100%;\n"])), resetButtonStyles, function (_ref7) {
|
|
11784
12103
|
var theme = _ref7.theme;
|
|
11785
12104
|
return theme.fontFamily.ui;
|
|
11786
12105
|
}, function (_ref8) {
|
|
@@ -11788,7 +12107,7 @@ var LanguageMenu = styled__default.button(_templateObject15$7 || (_templateObjec
|
|
|
11788
12107
|
return colors.divider;
|
|
11789
12108
|
}, function (_ref9) {
|
|
11790
12109
|
var theme = _ref9.theme;
|
|
11791
|
-
return styled.css(
|
|
12110
|
+
return styled.css(_templateObject17$4 || (_templateObject17$4 = _taggedTemplateLiteralLoose(["\n ", ";\n &:hover { ", "; }\n &:active { ", "; }\n "])), theme.typography.global.mainMenu.subItem["default"], theme.typography.global.mainMenu.subItem.hover, theme.typography.global.mainMenu.subItem.active);
|
|
11792
12111
|
});
|
|
11793
12112
|
|
|
11794
12113
|
var UserMenu = function UserMenu(_ref10) {
|
|
@@ -11913,11 +12232,11 @@ var _templateObject$1g, _templateObject2$18, _templateObject3$_, _templateObject
|
|
|
11913
12232
|
var Container$R = styled__default.div(_templateObject$1g || (_templateObject$1g = _taggedTemplateLiteralLoose(["\n z-index: 9;\n position: sticky;\n top: 0;\n align-self: flex-start;\n height: 65px;\n width: 100%;\n display: flex;\n justify-content: space-between;\n\n ", "\n"])), function (_ref) {
|
|
11914
12233
|
var theme = _ref.theme,
|
|
11915
12234
|
colors = _ref.theme.colors;
|
|
11916
|
-
return colors && styled.css(_templateObject2$18 || (_templateObject2$18 = _taggedTemplateLiteralLoose(["\n border-bottom: ", " 1px solid;\n box-shadow: 5px 7px 10px 0 hsla(205, 16%, 77%, 0.1);\n background-color:", ";\n "])),
|
|
12235
|
+
return colors && styled.css(_templateObject2$18 || (_templateObject2$18 = _taggedTemplateLiteralLoose(["\n border-bottom: ", " 1px solid;\n // box-shadow: 5px 7px 10px 0 hsla(205, 16%, 77%, 0.1);\n background-color:", ";\n "])), theme.styles.global.mainMenu.lines.backgroundColor, theme.styles.global.mainMenu.background.backgroundColor);
|
|
11917
12236
|
});
|
|
11918
12237
|
var SearchBar = styled__default.div(_templateObject3$_ || (_templateObject3$_ = _taggedTemplateLiteralLoose(["\n margin-left: 25px;\n flex: 0 1 500px;\n display: flex;\n justify-content: center;\n align-items: center;\n"])));
|
|
11919
12238
|
var IconWrapper$4 = styled__default.div(_templateObject4$U || (_templateObject4$U = _taggedTemplateLiteralLoose(["\n flex: 0 40px;\n width: 5px;\n display: flex;\n justify-content: center;\n align-items: center;\n > div {\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n"])));
|
|
11920
|
-
var SearchInput = styled__default.input(_templateObject5$P || (_templateObject5$P = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n flex: 1;\n height: 35px;\n line-height: 35px;\n border: none;\n outline: none;\n\n ", ";\n\n &::placeholder {\n font-style: italic;\n ", ";\n }\n"])), function (_ref2) {
|
|
12239
|
+
var SearchInput = styled__default.input(_templateObject5$P || (_templateObject5$P = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n flex: 1;\n height: 35px;\n line-height: 35px;\n border: none;\n outline: none;\n background: transparent;\n\n ", ";\n\n &::placeholder {\n font-style: italic;\n ", ";\n }\n"])), function (_ref2) {
|
|
11921
12240
|
var theme = _ref2.theme;
|
|
11922
12241
|
return theme.fontFamily.data;
|
|
11923
12242
|
}, function (_ref3) {
|
|
@@ -11932,7 +12251,7 @@ var DrawerToggle = styled__default.button.attrs({
|
|
|
11932
12251
|
type: 'button'
|
|
11933
12252
|
})(_templateObject7$y || (_templateObject7$y = _taggedTemplateLiteralLoose(["\n width: 60px;\n margin: 0 5px;\n height: inherit;\n background: none;\n border: none;\n outline: none;\n cursor: pointer;\n\n ", ";\n\n ", "\n"])), function (_ref5) {
|
|
11934
12253
|
var theme = _ref5.theme;
|
|
11935
|
-
return styled.css(_templateObject8$w || (_templateObject8$w = _taggedTemplateLiteralLoose(["\n border-bottom: 5px solid ", "
|
|
12254
|
+
return styled.css(_templateObject8$w || (_templateObject8$w = _taggedTemplateLiteralLoose(["\n border-bottom: 5px solid transparent;\n /*", ";*/\n\n &:hover {\n border-bottom-color: ", ";\n }\n\n transition: border ", " ", ";\n "])), theme.colors.menu.indicator, theme.colors.menu.hover, theme.animation.speed.normal, theme.animation.easing.primary.easeInOut);
|
|
11936
12255
|
}, function (_ref6) {
|
|
11937
12256
|
var isActive = _ref6.isActive,
|
|
11938
12257
|
theme = _ref6.theme;
|
|
@@ -11946,8 +12265,8 @@ var Drawer = styled__default.div(_templateObject11$i || (_templateObject11$i = _
|
|
|
11946
12265
|
var theme = _ref8.theme;
|
|
11947
12266
|
return theme.styles.global.mainMenu.background;
|
|
11948
12267
|
}, function (_ref9) {
|
|
11949
|
-
var
|
|
11950
|
-
return
|
|
12268
|
+
var theme = _ref9.theme;
|
|
12269
|
+
return theme.styles.global.mainMenu.lines.backgroundColor;
|
|
11951
12270
|
}, function (_ref10) {
|
|
11952
12271
|
var baseWidth = _ref10.baseWidth;
|
|
11953
12272
|
return baseWidth ? baseWidth : "200px";
|