@hero-design/rn 8.66.0 → 8.67.0
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/.turbo/turbo-build.log +2 -2
- package/CHANGELOG.md +11 -0
- package/es/index.js +149 -132
- package/lib/index.js +150 -132
- package/package.json +2 -2
- package/src/index.ts +2 -0
- package/src/theme/global/colors/__tests__/__snapshots__/swagLight.spec.ts.snap +48 -0
- package/src/theme/global/colors/__tests__/swagLight.spec.ts +7 -0
- package/src/theme/global/colors/swagLight.ts +25 -0
- package/src/theme/global/index.ts +2 -0
- package/src/theme/index.ts +2 -0
- package/stats/8.67.0/rn-stats.html +4844 -0
- package/types/index.d.ts +2 -2
- package/types/theme/global/colors/swagLight.d.ts +3 -0
- package/types/theme/global/index.d.ts +2 -1
- package/types/theme/index.d.ts +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
(node:
|
|
1
|
+
(node:2919) ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.
|
|
2
2
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
3
|
-
(node:
|
|
3
|
+
(node:2919) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
|
|
4
4
|
[36m
|
|
5
5
|
[1msrc/index.ts[22m → [1mlib/index.js, es/index.js[22m...[39m
|
|
6
6
|
[1m[33m(!) [plugin replace] @rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.[39m[22m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @hero-design/rn
|
|
2
2
|
|
|
3
|
+
## 8.67.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#3389](https://github.com/Thinkei/hero-design/pull/3389) [`058c9d7f5bff2958ea2ff873e85ff9acad609cc3`](https://github.com/Thinkei/hero-design/commit/058c9d7f5bff2958ea2ff873e85ff9acad609cc3) Thanks [@ttkien](https://github.com/ttkien)! - add swag light theme
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`058c9d7f5bff2958ea2ff873e85ff9acad609cc3`](https://github.com/Thinkei/hero-design/commit/058c9d7f5bff2958ea2ff873e85ff9acad609cc3)]:
|
|
12
|
+
- @hero-design/colors@8.44.0
|
|
13
|
+
|
|
3
14
|
## 8.66.0
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
package/es/index.js
CHANGED
|
@@ -1376,9 +1376,9 @@ var blue$1 = colorScales.blue,
|
|
|
1376
1376
|
purple$1 = colorScales.purple,
|
|
1377
1377
|
vermilion$2 = colorScales.vermilion,
|
|
1378
1378
|
smalt = colorScales.smalt,
|
|
1379
|
-
violet$
|
|
1379
|
+
violet$2 = colorScales.violet,
|
|
1380
1380
|
yellow$1 = colorScales.yellow;
|
|
1381
|
-
var palette$
|
|
1381
|
+
var palette$c = {
|
|
1382
1382
|
black: '#000000',
|
|
1383
1383
|
white: '#ffffff',
|
|
1384
1384
|
blue: blue$1.base,
|
|
@@ -1481,19 +1481,19 @@ var palette$b = {
|
|
|
1481
1481
|
smaltLight45: smalt.lighten45,
|
|
1482
1482
|
smaltLight75: smalt.lighten75,
|
|
1483
1483
|
smaltLight90: smalt.lighten90,
|
|
1484
|
-
violet: violet$
|
|
1485
|
-
violetDark15: violet$
|
|
1486
|
-
violetDark30: violet$
|
|
1487
|
-
violetDark45: violet$
|
|
1488
|
-
violetDark60: violet$
|
|
1489
|
-
violetDark75: violet$
|
|
1490
|
-
violetDark90: violet$
|
|
1491
|
-
violetLight15: violet$
|
|
1492
|
-
violetLight30: violet$
|
|
1493
|
-
violetLight45: violet$
|
|
1494
|
-
violetLight60: violet$
|
|
1495
|
-
violetLight75: violet$
|
|
1496
|
-
violetLight90: violet$
|
|
1484
|
+
violet: violet$2.base,
|
|
1485
|
+
violetDark15: violet$2.darken15,
|
|
1486
|
+
violetDark30: violet$2.darken30,
|
|
1487
|
+
violetDark45: violet$2.darken45,
|
|
1488
|
+
violetDark60: violet$2.darken60,
|
|
1489
|
+
violetDark75: violet$2.darken75,
|
|
1490
|
+
violetDark90: violet$2.darken90,
|
|
1491
|
+
violetLight15: violet$2.lighten15,
|
|
1492
|
+
violetLight30: violet$2.lighten30,
|
|
1493
|
+
violetLight45: violet$2.lighten45,
|
|
1494
|
+
violetLight60: violet$2.lighten60,
|
|
1495
|
+
violetLight75: violet$2.lighten75,
|
|
1496
|
+
violetLight90: violet$2.lighten90,
|
|
1497
1497
|
yellow: yellow$1.base,
|
|
1498
1498
|
yellowDark15: yellow$1.darken15,
|
|
1499
1499
|
yellowDark30: yellow$1.darken30,
|
|
@@ -1506,16 +1506,16 @@ var palette$b = {
|
|
|
1506
1506
|
yellowLight90: yellow$1.lighten90
|
|
1507
1507
|
};
|
|
1508
1508
|
var mauve$3 = colorScales.mauve,
|
|
1509
|
-
violet$
|
|
1510
|
-
Object.assign(Object.assign({}, palette$
|
|
1509
|
+
violet$1 = colorScales.violet;
|
|
1510
|
+
Object.assign(Object.assign({}, palette$c), {
|
|
1511
1511
|
mauve: mauve$3.base,
|
|
1512
1512
|
mauveLight80: mauve$3.lighten80,
|
|
1513
|
-
violetDark50: violet$
|
|
1513
|
+
violetDark50: violet$1.darken50
|
|
1514
1514
|
});
|
|
1515
1515
|
var apple$3 = colorScales.apple,
|
|
1516
1516
|
hitPink$1 = colorScales.hitPink,
|
|
1517
1517
|
maasstrichtBlue$4 = colorScales.maasstrichtBlue;
|
|
1518
|
-
Object.assign(Object.assign({}, palette$
|
|
1518
|
+
Object.assign(Object.assign({}, palette$c), {
|
|
1519
1519
|
apple: apple$3.base,
|
|
1520
1520
|
appleDark20: apple$3.darken20,
|
|
1521
1521
|
appleDark50: apple$3.darken50,
|
|
@@ -1548,7 +1548,7 @@ var aliceBlue$1 = colorScales.aliceBlue,
|
|
|
1548
1548
|
vodka$1 = colorScales.vodka,
|
|
1549
1549
|
windsorGrey = colorScales.windsorGrey,
|
|
1550
1550
|
black$1 = colorScales.black;
|
|
1551
|
-
var palette$
|
|
1551
|
+
var palette$9 = {
|
|
1552
1552
|
black: black$1.base,
|
|
1553
1553
|
white: '#ffffff',
|
|
1554
1554
|
greyLight95: grey$1.lighten95,
|
|
@@ -1620,7 +1620,7 @@ var aliceBlue = colorScales.aliceBlue,
|
|
|
1620
1620
|
mintLeaf = colorScales.mintLeaf,
|
|
1621
1621
|
blueOblivion = colorScales.blueOblivion,
|
|
1622
1622
|
pastelBlue = colorScales.pastelBlue;
|
|
1623
|
-
var palette$
|
|
1623
|
+
var palette$8 = {
|
|
1624
1624
|
black: '#000000',
|
|
1625
1625
|
white: '#ffffff',
|
|
1626
1626
|
greyLight95: grey$3.lighten95,
|
|
@@ -1685,7 +1685,7 @@ var palette$7 = {
|
|
|
1685
1685
|
flagstone: flagstone.base
|
|
1686
1686
|
};
|
|
1687
1687
|
var maasstrichtBlue$1 = colorScales.maasstrichtBlue;
|
|
1688
|
-
var palette$
|
|
1688
|
+
var palette$7 = {
|
|
1689
1689
|
maasstrichtBlue: maasstrichtBlue$1.base,
|
|
1690
1690
|
maasstrichtBlueLight5: maasstrichtBlue$1.lighten5,
|
|
1691
1691
|
maasstrichtBlueLight10: maasstrichtBlue$1.lighten10,
|
|
@@ -1698,7 +1698,7 @@ var palette$6 = {
|
|
|
1698
1698
|
};
|
|
1699
1699
|
var violet1$2 = colorScales.violet1,
|
|
1700
1700
|
mauve$2 = colorScales.mauve;
|
|
1701
|
-
var palette$
|
|
1701
|
+
var palette$6 = Object.assign(Object.assign({}, palette$9), {
|
|
1702
1702
|
violet: violet1$2.base,
|
|
1703
1703
|
violetLight20: violet1$2.lighten20,
|
|
1704
1704
|
violetLight30: violet1$2.lighten30,
|
|
@@ -1710,7 +1710,7 @@ var palette$5 = Object.assign(Object.assign({}, palette$8), {
|
|
|
1710
1710
|
var apple = colorScales.apple,
|
|
1711
1711
|
currant = colorScales.currant,
|
|
1712
1712
|
hitPink = colorScales.hitPink;
|
|
1713
|
-
var palette$
|
|
1713
|
+
var palette$5 = Object.assign(Object.assign({}, palette$9), {
|
|
1714
1714
|
apple: apple.base,
|
|
1715
1715
|
appleLight10: apple.lighten10,
|
|
1716
1716
|
appleDark20: apple.darken20,
|
|
@@ -1724,7 +1724,7 @@ var palette$4 = Object.assign(Object.assign({}, palette$8), {
|
|
|
1724
1724
|
var scarletGum$1 = colorScales.scarletGum,
|
|
1725
1725
|
violet1$1 = colorScales.violet1,
|
|
1726
1726
|
mauve$1 = colorScales.mauve;
|
|
1727
|
-
var palette$
|
|
1727
|
+
var palette$4 = Object.assign(Object.assign({}, palette$9), {
|
|
1728
1728
|
scarletGumLight20: scarletGum$1.lighten20,
|
|
1729
1729
|
scarletGumLight30: scarletGum$1.lighten30,
|
|
1730
1730
|
scarletGumLight50: scarletGum$1.lighten50,
|
|
@@ -1739,11 +1739,15 @@ var palette$3 = Object.assign(Object.assign({}, palette$8), {
|
|
|
1739
1739
|
violet: violet1$1.base,
|
|
1740
1740
|
mauve: mauve$1.base
|
|
1741
1741
|
});
|
|
1742
|
+
var violet$3 = colorScales.violet;
|
|
1743
|
+
var palette$3 = Object.assign(Object.assign({}, palette$9), {
|
|
1744
|
+
violet: violet$3.base
|
|
1745
|
+
});
|
|
1742
1746
|
var scarletGum = colorScales.scarletGum,
|
|
1743
1747
|
violet1 = colorScales.violet1,
|
|
1744
1748
|
mauve = colorScales.mauve,
|
|
1745
1749
|
maasstrichtBlue = colorScales.maasstrichtBlue;
|
|
1746
|
-
var palette$2 = Object.assign(Object.assign({}, palette$
|
|
1750
|
+
var palette$2 = Object.assign(Object.assign({}, palette$9), {
|
|
1747
1751
|
scarletGumLight20: scarletGum.lighten20,
|
|
1748
1752
|
scarletGumLight30: scarletGum.lighten30,
|
|
1749
1753
|
scarletGumLight50: scarletGum.lighten50,
|
|
@@ -1766,7 +1770,7 @@ var palette$2 = Object.assign(Object.assign({}, palette$8), {
|
|
|
1766
1770
|
});
|
|
1767
1771
|
var royalBlue = colorScales.royalBlue,
|
|
1768
1772
|
frenchSky = colorScales.frenchSky;
|
|
1769
|
-
var palette$1 = Object.assign(Object.assign({}, palette$
|
|
1773
|
+
var palette$1 = Object.assign(Object.assign({}, palette$9), {
|
|
1770
1774
|
royalBlue: royalBlue.base,
|
|
1771
1775
|
royalBlueLight10: royalBlue.lighten10,
|
|
1772
1776
|
royalBlueLight80: royalBlue.lighten80,
|
|
@@ -1780,7 +1784,7 @@ var palette$1 = Object.assign(Object.assign({}, palette$8), {
|
|
|
1780
1784
|
var gold$1 = colorScales.gold,
|
|
1781
1785
|
policeBlue = colorScales.policeBlue,
|
|
1782
1786
|
black$2 = colorScales.black;
|
|
1783
|
-
var palette = Object.assign(Object.assign({}, palette$
|
|
1787
|
+
var palette = Object.assign(Object.assign({}, palette$9), {
|
|
1784
1788
|
blackLight30: black$2.lighten30,
|
|
1785
1789
|
blackLight90: black$2.lighten90,
|
|
1786
1790
|
goldLight20: gold$1.lighten20,
|
|
@@ -1798,95 +1802,95 @@ var palette = Object.assign(Object.assign({}, palette$8), {
|
|
|
1798
1802
|
var globalPalette$1 = {
|
|
1799
1803
|
// Updated 21 / Nov / 22
|
|
1800
1804
|
// Surfaces
|
|
1801
|
-
defaultGlobalSurface: palette$
|
|
1802
|
-
onDefaultGlobalSurface: palette$
|
|
1803
|
-
neutralGlobalSurface: palette$
|
|
1804
|
-
mutedOnDefaultGlobalSurface: palette$
|
|
1805
|
-
inactiveOnDefaultGlobalSurface: palette$
|
|
1806
|
-
disabledOnDefaultGlobalSurface: palette$
|
|
1807
|
-
darkGlobalSurface: palette$
|
|
1808
|
-
onDarkGlobalSurface: palette$
|
|
1809
|
-
overlayGlobalSurface: palette$
|
|
1805
|
+
defaultGlobalSurface: palette$9.white,
|
|
1806
|
+
onDefaultGlobalSurface: palette$9.maasstrichtBlue,
|
|
1807
|
+
neutralGlobalSurface: palette$9.greyLight90,
|
|
1808
|
+
mutedOnDefaultGlobalSurface: palette$9.maasstrichtBlueLight30,
|
|
1809
|
+
inactiveOnDefaultGlobalSurface: palette$9.maasstrichtBlueLight50,
|
|
1810
|
+
disabledOnDefaultGlobalSurface: palette$9.greyLight30,
|
|
1811
|
+
darkGlobalSurface: palette$9.maasstrichtBlue,
|
|
1812
|
+
onDarkGlobalSurface: palette$9.white,
|
|
1813
|
+
overlayGlobalSurface: palette$9.black,
|
|
1810
1814
|
// Outlines
|
|
1811
|
-
primaryOutline: palette$
|
|
1812
|
-
secondaryOutline: palette$
|
|
1813
|
-
inactiveOutline: palette$
|
|
1814
|
-
disabledOutline: palette$
|
|
1815
|
+
primaryOutline: palette$9.maasstrichtBlue,
|
|
1816
|
+
secondaryOutline: palette$9.greyLight75,
|
|
1817
|
+
inactiveOutline: palette$9.maasstrichtBlueLight50,
|
|
1818
|
+
disabledOutline: palette$9.greyLight30,
|
|
1815
1819
|
// Accents
|
|
1816
|
-
error: palette$
|
|
1817
|
-
mutedError: palette$
|
|
1818
|
-
errorSurface: palette$
|
|
1819
|
-
onErrorSurface: palette$
|
|
1820
|
-
warning: palette$
|
|
1821
|
-
mutedWarning: palette$
|
|
1822
|
-
warningSurface: palette$
|
|
1823
|
-
onWarningSurface: palette$
|
|
1824
|
-
success: palette$
|
|
1825
|
-
mutedSuccess: palette$
|
|
1826
|
-
successSurface: palette$
|
|
1827
|
-
onSuccessSurface: palette$
|
|
1828
|
-
info: palette$
|
|
1829
|
-
mutedInfo: palette$
|
|
1830
|
-
infoSurface: palette$
|
|
1831
|
-
onInfoSurface: palette$
|
|
1832
|
-
archived: palette$
|
|
1833
|
-
mutedArchived: palette$
|
|
1834
|
-
archivedSurface: palette$
|
|
1835
|
-
onArchivedSurface: palette$
|
|
1820
|
+
error: palette$9.pastelRed,
|
|
1821
|
+
mutedError: palette$9.pastelRedLight20,
|
|
1822
|
+
errorSurface: palette$9.linen,
|
|
1823
|
+
onErrorSurface: palette$9.amaranthaRed,
|
|
1824
|
+
warning: palette$9.mellowApricot,
|
|
1825
|
+
mutedWarning: palette$9.mellowApricotLight20,
|
|
1826
|
+
warningSurface: palette$9.seashell,
|
|
1827
|
+
onWarningSurface: palette$9.orangeBrown,
|
|
1828
|
+
success: palette$9.emerald,
|
|
1829
|
+
mutedSuccess: palette$9.emeraldLight20,
|
|
1830
|
+
successSurface: palette$9.honeydew,
|
|
1831
|
+
onSuccessSurface: palette$9.pineGreen,
|
|
1832
|
+
info: palette$9.vodka,
|
|
1833
|
+
mutedInfo: palette$9.vodkaLight20,
|
|
1834
|
+
infoSurface: palette$9.aliceBlue,
|
|
1835
|
+
onInfoSurface: palette$9.gentianFlower,
|
|
1836
|
+
archived: palette$9.silverChalice,
|
|
1837
|
+
mutedArchived: palette$9.silverChaliceLight20,
|
|
1838
|
+
archivedSurface: palette$9.cumberlandFog,
|
|
1839
|
+
onArchivedSurface: palette$9.windsorGrey
|
|
1836
1840
|
// End of Updated 21 / Nov / 22
|
|
1837
1841
|
};
|
|
1838
1842
|
|
|
1839
|
-
var swagBrandSystemPallete = {
|
|
1840
|
-
primary: palette$
|
|
1841
|
-
onPrimary: palette$
|
|
1842
|
-
secondary: palette$
|
|
1843
|
-
onSecondary: palette$
|
|
1844
|
-
defaultSurface: palette$
|
|
1845
|
-
highlightedSurface: palette$
|
|
1846
|
-
pressedSurface: palette$
|
|
1847
|
-
decorativePrimary: palette$
|
|
1848
|
-
decorativePrimarySurface: palette$
|
|
1843
|
+
var swagBrandSystemPallete$1 = {
|
|
1844
|
+
primary: palette$4.scarletGum,
|
|
1845
|
+
onPrimary: palette$4.white,
|
|
1846
|
+
secondary: palette$4.scarletGumLight30,
|
|
1847
|
+
onSecondary: palette$4.white,
|
|
1848
|
+
defaultSurface: palette$4.greyLight90,
|
|
1849
|
+
highlightedSurface: palette$4.scarletGumLight90,
|
|
1850
|
+
pressedSurface: palette$4.scarletGumDark20,
|
|
1851
|
+
decorativePrimary: palette$4.white,
|
|
1852
|
+
decorativePrimarySurface: palette$4.maasstrichtBlueLight80
|
|
1849
1853
|
};
|
|
1850
|
-
var swagSystemPalette = _objectSpread2(_objectSpread2({}, globalPalette$1), swagBrandSystemPallete);
|
|
1854
|
+
var swagSystemPalette$1 = _objectSpread2(_objectSpread2({}, globalPalette$1), swagBrandSystemPallete$1);
|
|
1851
1855
|
|
|
1852
1856
|
var globalPalette = {
|
|
1853
1857
|
// Updated 21 / Nov / 22
|
|
1854
1858
|
// Surfaces
|
|
1855
|
-
defaultGlobalSurface: palette$
|
|
1856
|
-
onDefaultGlobalSurface: palette$
|
|
1857
|
-
neutralGlobalSurface: palette$
|
|
1858
|
-
mutedOnDefaultGlobalSurface: palette$
|
|
1859
|
-
inactiveOnDefaultGlobalSurface: palette$
|
|
1860
|
-
disabledOnDefaultGlobalSurface: palette$
|
|
1861
|
-
darkGlobalSurface: palette$
|
|
1862
|
-
onDarkGlobalSurface: palette$
|
|
1863
|
-
overlayGlobalSurface: palette$
|
|
1859
|
+
defaultGlobalSurface: palette$8.maasstrichtBlue,
|
|
1860
|
+
onDefaultGlobalSurface: palette$8.white,
|
|
1861
|
+
neutralGlobalSurface: palette$8.maasstrichtBlueLight15,
|
|
1862
|
+
mutedOnDefaultGlobalSurface: palette$8.maasstrichtBlueLight70,
|
|
1863
|
+
inactiveOnDefaultGlobalSurface: palette$8.maasstrichtBlueLight60,
|
|
1864
|
+
disabledOnDefaultGlobalSurface: palette$8.greyDark20,
|
|
1865
|
+
darkGlobalSurface: palette$8.white,
|
|
1866
|
+
onDarkGlobalSurface: palette$8.maasstrichtBlue,
|
|
1867
|
+
overlayGlobalSurface: palette$8.greyDark30,
|
|
1864
1868
|
// Outlines
|
|
1865
|
-
primaryOutline: palette$
|
|
1866
|
-
secondaryOutline: palette$
|
|
1867
|
-
inactiveOutline: palette$
|
|
1868
|
-
disabledOutline: palette$
|
|
1869
|
+
primaryOutline: palette$8.white,
|
|
1870
|
+
secondaryOutline: palette$8.maasstrichtBlueLight10,
|
|
1871
|
+
inactiveOutline: palette$8.maasstrichtBlueLight60,
|
|
1872
|
+
disabledOutline: palette$8.greyDark20,
|
|
1869
1873
|
// Accents
|
|
1870
|
-
error: palette$
|
|
1871
|
-
mutedError: palette$
|
|
1872
|
-
errorSurface: palette$
|
|
1873
|
-
onErrorSurface: palette$
|
|
1874
|
-
warning: palette$
|
|
1875
|
-
mutedWarning: palette$
|
|
1876
|
-
warningSurface: palette$
|
|
1877
|
-
onWarningSurface: palette$
|
|
1878
|
-
success: palette$
|
|
1879
|
-
mutedSuccess: palette$
|
|
1880
|
-
successSurface: palette$
|
|
1881
|
-
onSuccessSurface: palette$
|
|
1882
|
-
info: palette$
|
|
1883
|
-
mutedInfo: palette$
|
|
1884
|
-
infoSurface: palette$
|
|
1885
|
-
onInfoSurface: palette$
|
|
1886
|
-
archived: palette$
|
|
1887
|
-
mutedArchived: palette$
|
|
1888
|
-
archivedSurface: palette$
|
|
1889
|
-
onArchivedSurface: palette$
|
|
1874
|
+
error: palette$8.vermilionDark10,
|
|
1875
|
+
mutedError: palette$8.vermilionLight20,
|
|
1876
|
+
errorSurface: palette$8.moussaka,
|
|
1877
|
+
onErrorSurface: palette$8.indianDance,
|
|
1878
|
+
warning: palette$8.theatreGold,
|
|
1879
|
+
mutedWarning: palette$8.theatreGoldLight20,
|
|
1880
|
+
warningSurface: palette$8.uniformGreen,
|
|
1881
|
+
onWarningSurface: palette$8.blazingBonfire,
|
|
1882
|
+
success: palette$8.pineGreenDark10,
|
|
1883
|
+
mutedSuccess: palette$8.pineGreenLight20,
|
|
1884
|
+
successSurface: palette$8.deepIntoTheJungle,
|
|
1885
|
+
onSuccessSurface: palette$8.mintLeaf,
|
|
1886
|
+
info: palette$8.ultramarineBlueDark10,
|
|
1887
|
+
mutedInfo: palette$8.ultramarineBlueLight20,
|
|
1888
|
+
infoSurface: palette$8.blueOblivion,
|
|
1889
|
+
onInfoSurface: palette$8.pastelBlue,
|
|
1890
|
+
archived: palette$8.sonicSilverDark10,
|
|
1891
|
+
mutedArchived: palette$8.sonicSilverLight50,
|
|
1892
|
+
archivedSurface: palette$8.bigStone,
|
|
1893
|
+
onArchivedSurface: palette$8.flagstone
|
|
1890
1894
|
// End of Updated 21 / Nov / 22
|
|
1891
1895
|
};
|
|
1892
1896
|
|
|
@@ -1903,6 +1907,19 @@ var swagDarkBrandSystemPalette = {
|
|
|
1903
1907
|
};
|
|
1904
1908
|
var swagDarkSystemPalette = _objectSpread2(_objectSpread2({}, globalPalette), swagDarkBrandSystemPalette);
|
|
1905
1909
|
|
|
1910
|
+
var swagBrandSystemPallete = {
|
|
1911
|
+
primary: palette$3.violet,
|
|
1912
|
+
onPrimary: '#FDFBFF',
|
|
1913
|
+
secondary: '#460078',
|
|
1914
|
+
onSecondary: palette$3.white,
|
|
1915
|
+
defaultSurface: '#FDFBFF',
|
|
1916
|
+
highlightedSurface: '#F1E9FB',
|
|
1917
|
+
pressedSurface: '#380060',
|
|
1918
|
+
decorativePrimary: '#FDFBFF',
|
|
1919
|
+
decorativePrimarySurface: '#B382FD'
|
|
1920
|
+
};
|
|
1921
|
+
var swagSystemPalette = _objectSpread2(_objectSpread2({}, globalPalette$1), swagBrandSystemPallete);
|
|
1922
|
+
|
|
1906
1923
|
var workBrandSystemPallete = {
|
|
1907
1924
|
primary: palette.black,
|
|
1908
1925
|
onPrimary: palette.white,
|
|
@@ -1914,20 +1931,20 @@ var workBrandSystemPallete = {
|
|
|
1914
1931
|
decorativePrimary: palette.gold,
|
|
1915
1932
|
decorativePrimarySurface: palette.goldLight80
|
|
1916
1933
|
};
|
|
1917
|
-
var workSystemPalette = _objectSpread2(_objectSpread2({}, swagSystemPalette), workBrandSystemPallete);
|
|
1934
|
+
var workSystemPalette = _objectSpread2(_objectSpread2({}, swagSystemPalette$1), workBrandSystemPallete);
|
|
1918
1935
|
|
|
1919
1936
|
var jobsBrandSystemPallete = {
|
|
1920
|
-
primary: palette$
|
|
1921
|
-
onPrimary: palette$
|
|
1922
|
-
secondary: palette$
|
|
1923
|
-
onSecondary: palette$
|
|
1924
|
-
defaultSurface: palette$
|
|
1925
|
-
highlightedSurface: palette$
|
|
1926
|
-
pressedSurface: palette$
|
|
1927
|
-
decorativePrimary: palette$
|
|
1928
|
-
decorativePrimarySurface: palette$
|
|
1937
|
+
primary: palette$5.apple,
|
|
1938
|
+
onPrimary: palette$5.white,
|
|
1939
|
+
secondary: palette$5.maasstrichtBlueLight30,
|
|
1940
|
+
onSecondary: palette$5.white,
|
|
1941
|
+
defaultSurface: palette$5.white,
|
|
1942
|
+
highlightedSurface: palette$5.hitPinkLight90,
|
|
1943
|
+
pressedSurface: palette$5.appleDark20,
|
|
1944
|
+
decorativePrimary: palette$5.hitPink,
|
|
1945
|
+
decorativePrimarySurface: palette$5.hitPinkLight80
|
|
1929
1946
|
};
|
|
1930
|
-
var jobsSystemPalette = _objectSpread2(_objectSpread2({}, swagSystemPalette), jobsBrandSystemPallete);
|
|
1947
|
+
var jobsSystemPalette = _objectSpread2(_objectSpread2({}, swagSystemPalette$1), jobsBrandSystemPallete);
|
|
1931
1948
|
|
|
1932
1949
|
var walletBrandSystemPallete = {
|
|
1933
1950
|
primary: palette$1.royalBlue,
|
|
@@ -1940,20 +1957,20 @@ var walletBrandSystemPallete = {
|
|
|
1940
1957
|
decorativePrimary: palette$1.frenchSky,
|
|
1941
1958
|
decorativePrimarySurface: palette$1.frenchSkyLight80
|
|
1942
1959
|
};
|
|
1943
|
-
var walletSystemPalette = _objectSpread2(_objectSpread2({}, swagSystemPalette), walletBrandSystemPallete);
|
|
1960
|
+
var walletSystemPalette = _objectSpread2(_objectSpread2({}, swagSystemPalette$1), walletBrandSystemPallete);
|
|
1944
1961
|
|
|
1945
1962
|
var eBensBrandSystemPallete = {
|
|
1946
|
-
primary: palette$
|
|
1947
|
-
onPrimary: palette$
|
|
1948
|
-
secondary: palette$
|
|
1949
|
-
onSecondary: palette$
|
|
1950
|
-
defaultSurface: palette$
|
|
1951
|
-
highlightedSurface: palette$
|
|
1952
|
-
pressedSurface: palette$
|
|
1953
|
-
decorativePrimary: palette$
|
|
1954
|
-
decorativePrimarySurface: palette$
|
|
1955
|
-
};
|
|
1956
|
-
var eBensSystemPalette = _objectSpread2(_objectSpread2({}, swagSystemPalette), eBensBrandSystemPallete);
|
|
1963
|
+
primary: palette$6.violet,
|
|
1964
|
+
onPrimary: palette$6.white,
|
|
1965
|
+
secondary: palette$6.violetLight30,
|
|
1966
|
+
onSecondary: palette$6.white,
|
|
1967
|
+
defaultSurface: palette$6.white,
|
|
1968
|
+
highlightedSurface: palette$6.violetLight90,
|
|
1969
|
+
pressedSurface: palette$6.violetDark20,
|
|
1970
|
+
decorativePrimary: palette$6.mauve,
|
|
1971
|
+
decorativePrimarySurface: palette$6.mauveLight80
|
|
1972
|
+
};
|
|
1973
|
+
var eBensSystemPalette = _objectSpread2(_objectSpread2({}, swagSystemPalette$1), eBensBrandSystemPallete);
|
|
1957
1974
|
|
|
1958
1975
|
var BASE_WIDTH = 390; // Based on iPhone 13's viewport size
|
|
1959
1976
|
var horizontalScale = function horizontalScale(size) {
|
|
@@ -3748,7 +3765,7 @@ var getTypographyTheme = function getTypographyTheme(theme) {
|
|
|
3748
3765
|
|
|
3749
3766
|
var getTheme$1 = function getTheme() {
|
|
3750
3767
|
var scale = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : scale$1;
|
|
3751
|
-
var systemPallete = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : swagSystemPalette;
|
|
3768
|
+
var systemPallete = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : swagSystemPalette$1;
|
|
3752
3769
|
var globalTheme = getGlobalTheme(scale, systemPallete);
|
|
3753
3770
|
return _objectSpread2(_objectSpread2({}, globalTheme), {}, {
|
|
3754
3771
|
__hd__: {
|
|
@@ -4972,7 +4989,7 @@ var ThemeSwitcher = function ThemeSwitcher(_ref) {
|
|
|
4972
4989
|
var theme = useMemo(function () {
|
|
4973
4990
|
switch (name) {
|
|
4974
4991
|
case 'swag':
|
|
4975
|
-
return getTheme$1(scale$1, swagSystemPalette);
|
|
4992
|
+
return getTheme$1(scale$1, swagSystemPalette$1);
|
|
4976
4993
|
case 'work':
|
|
4977
4994
|
return getTheme$1(scale$1, workSystemPalette);
|
|
4978
4995
|
case 'jobs':
|
|
@@ -8322,7 +8339,7 @@ var shuffleArray = function shuffleArray(array) {
|
|
|
8322
8339
|
*/
|
|
8323
8340
|
var useAvatarColors = function useAvatarColors() {
|
|
8324
8341
|
var shuffledColors = useMemo(function () {
|
|
8325
|
-
return shuffleArray(Object.values(palette$
|
|
8342
|
+
return shuffleArray(Object.values(palette$7));
|
|
8326
8343
|
}, []);
|
|
8327
8344
|
return shuffledColors;
|
|
8328
8345
|
};
|
|
@@ -36091,4 +36108,4 @@ function SectionListWithFAB(_ref) {
|
|
|
36091
36108
|
});
|
|
36092
36109
|
}
|
|
36093
36110
|
|
|
36094
|
-
export { Accordion, Alert, Attachment, index$8 as Avatar, Badge$1 as Badge, BottomNavigation, BottomSheet$1 as BottomSheet, Box, CompoundButton as Button, Calendar, Card$1 as Card, index$7 as Carousel, Checkbox, Chip, Collapse, ContentNavigator, DatePicker, Divider, index$6 as Drawer, Empty, ErrorComponent as Error, FAB, FlatListWithFAB, HeroDesignProvider, Icon, Image, List, PageControl, PinInput, Portal$1 as Portal, Progress, CompoundRadio as Radio, Rate, RefreshControl, index as RichTextEditor, ScrollViewWithFAB, SectionHeading, SectionListWithFAB, index$4 as Select, Skeleton, Slider, Spinner, Success, index$5 as Swipeable, index$3 as Switch, index$2 as Tabs, Tag, TextInput, ThemeProvider, ThemeSwitcher, TimePicker, Toast, index$1 as Toolbar, Typography, eBensSystemPalette, getTheme$1 as getTheme, jobsSystemPalette, scale, swagDarkSystemPalette, swagSystemPalette, defaultTheme as theme, useAvatarColors, useTheme, walletSystemPalette, withTheme, workSystemPalette };
|
|
36111
|
+
export { Accordion, Alert, Attachment, index$8 as Avatar, Badge$1 as Badge, BottomNavigation, BottomSheet$1 as BottomSheet, Box, CompoundButton as Button, Calendar, Card$1 as Card, index$7 as Carousel, Checkbox, Chip, Collapse, ContentNavigator, DatePicker, Divider, index$6 as Drawer, Empty, ErrorComponent as Error, FAB, FlatListWithFAB, HeroDesignProvider, Icon, Image, List, PageControl, PinInput, Portal$1 as Portal, Progress, CompoundRadio as Radio, Rate, RefreshControl, index as RichTextEditor, ScrollViewWithFAB, SectionHeading, SectionListWithFAB, index$4 as Select, Skeleton, Slider, Spinner, Success, index$5 as Swipeable, index$3 as Switch, index$2 as Tabs, Tag, TextInput, ThemeProvider, ThemeSwitcher, TimePicker, Toast, index$1 as Toolbar, Typography, eBensSystemPalette, getTheme$1 as getTheme, jobsSystemPalette, scale, swagDarkSystemPalette, swagSystemPalette as swagLightSystemPalette, swagSystemPalette$1 as swagSystemPalette, defaultTheme as theme, useAvatarColors, useTheme, walletSystemPalette, withTheme, workSystemPalette };
|