@jobber/design 0.30.0 → 0.30.1-pre.11

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.
Files changed (2) hide show
  1. package/dist/index.js +46 -47
  2. package/package.json +11 -13
package/dist/index.js CHANGED
@@ -2,9 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
5
+ var classnames = require('classnames');
6
6
 
7
- var classnames = _interopDefault(require('classnames'));
7
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
+
9
+ var classnames__default = /*#__PURE__*/_interopDefaultLegacy(classnames);
8
10
 
9
11
  function styleInject(css, ref) {
10
12
  if ( ref === void 0 ) ref = {};
@@ -33,17 +35,14 @@ function styleInject(css, ref) {
33
35
  }
34
36
  }
35
37
 
36
- var css_248z = ".ZDlJU6tECg7ouG-b27gya {\n fill: var(--color-greyBlue);\n display: inline-block;\n vertical-align: middle;\n}\n\n._2azt9Jt0fRUQn8YEtWXIl3 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n._2OdINXelxFp3p7rxzdXAsi {\n -webkit-transform: rotate(-90deg);\n transform: rotate(-90deg);\n}\n\n._3F7n5ToMv0htmhmS_dNhjQ {\n -webkit-transform: scaleY(-1);\n transform: scaleY(-1);\n}\n\n._29W47x5R7CHDPdmq99tUBc,\n._2Nh371UPo_GfyCeqMqwCsV,\n._33VR7mjmJ-eZ2x4Zb5KwRp,\n._35gHCudpO36maz6yBIS9hG {\n fill: var(--color-teal);\n}\n\n._2AsZsCnv8jY7bjbnXxovAZ,\n._37pYyp2fnxbNTQFRJQ-xzh {\n fill: var(--color-job);\n}\n\n._3xbzI80H4DwLBIE4qd8z0o,\n.Z8O8gzZTvEK6xX-CpO3Jc {\n fill: var(--color-lime);\n}\n\n._12EQ5VPmFFQmZF_lO8hbYu {\n fill: var(--color-yellow);\n}\n\n._2eXuXJ2BydGI2eeh4gknZT {\n fill: var(--color-quote);\n}\n\n.KhekINEl_x_sko8PgERf0 {\n fill: var(--color-request);\n}\n\n.rcs4bT0JqdzYpjGnkyEnH {\n fill: var(--color-navy);\n}\n\n.B6i-xSwS7zkMHnd7XBEPX,\n._2wzmr87z_SNfrth0ahpG7c,\n._1fbz56arQt3_OOO8zZg33p {\n fill: var(--color-destructive);\n}\n\n.k-yTz4leACw0mElhFmX3p {\n fill: var(--color-success);\n}\n\n._1ANbiqwd8qgeLaumvLs27n {\n fill: var(--color-lightBlue);\n}\n\n.g9p8B6JcwYGNc1VVKSAod,\n._3bk6hx_7Eq0deQRvkkHP2s,\n._1NpZCETHEsxF7m5-vwKGgy,\n._1_Znzx1cuZF--oS60cGWsf {\n fill: var(--color-invoice);\n}\n\n.Qz2uB9Zg2rRL3AtTi8DaU {\n fill: var(--color-critical);\n}\n\n._3Bvwx5XtHaBDiWE_BLHULH,\n._3adzZMLKo6Fvk-YmG9j0aA {\n fill: var(--color-orange);\n}\n\n._2NHMoD69qNtaT3C3vJ-KeH {\n fill: var(--color-blue);\n}\n\n._3U8Jjii2OgUrnU5w9Tz8he {\n fill: var(--color-lightBlue);\n}\n\n/* non-Atlantis colors to match brand colors of these file-types */\n\n._2HvZ7Ah_FhbtZ9QNG3qhao {\n fill: rgb(31, 115, 71);\n}\n\n._14SULxU6aQ9-isMBbAGtZ {\n fill: rgb(195, 27, 0);\n}\n\n.ExUqs2sYkwDZNobmsfS8a {\n fill: rgb(41, 86, 154);\n}\n";
37
- var styles = {"icon":"ZDlJU6tECg7ouG-b27gya","longArrowUp":"_2azt9Jt0fRUQn8YEtWXIl3","longArrowDown":"_2OdINXelxFp3p7rxzdXAsi","thumbsDown":"_3F7n5ToMv0htmhmS_dNhjQ","person":"_29W47x5R7CHDPdmq99tUBc","clients":"_2Nh371UPo_GfyCeqMqwCsV","company":"_33VR7mjmJ-eZ2x4Zb5KwRp","property":"_35gHCudpO36maz6yBIS9hG","job":"_2AsZsCnv8jY7bjbnXxovAZ","jobOnHold":"_37pYyp2fnxbNTQFRJQ-xzh","visit":"_3xbzI80H4DwLBIE4qd8z0o","moveVisits":"Z8O8gzZTvEK6xX-CpO3Jc","event":"_12EQ5VPmFFQmZF_lO8hbYu","quote":"_2eXuXJ2BydGI2eeh4gknZT","request":"KhekINEl_x_sko8PgERf0","task":"rcs4bT0JqdzYpjGnkyEnH","userUnassigned":"B6i-xSwS7zkMHnd7XBEPX","reminder":"_2wzmr87z_SNfrth0ahpG7c","trash":"_1fbz56arQt3_OOO8zZg33p","checkmark":"k-yTz4leACw0mElhFmX3p","timer":"_1ANbiqwd8qgeLaumvLs27n","invoice":"g9p8B6JcwYGNc1VVKSAod","invoiceLater":"_3bk6hx_7Eq0deQRvkkHP2s","sendInvoice":"_1NpZCETHEsxF7m5-vwKGgy","paidInvoice":"_1_Znzx1cuZF--oS60cGWsf","badInvoice":"Qz2uB9Zg2rRL3AtTi8DaU","payment":"_3Bvwx5XtHaBDiWE_BLHULH","expense":"_3adzZMLKo6Fvk-YmG9j0aA","archive":"_2NHMoD69qNtaT3C3vJ-KeH","video":"_3U8Jjii2OgUrnU5w9Tz8he","excel":"_2HvZ7Ah_FhbtZ9QNG3qhao","pdf":"_14SULxU6aQ9-isMBbAGtZ","word":"ExUqs2sYkwDZNobmsfS8a"};
38
- styleInject(css_248z);
38
+ var css_248z$2 = ".icon {\n fill: var(--color-greyBlue);\n display: inline-block;\n vertical-align: middle;\n}\n\n.longArrowUp {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.longArrowDown {\n -webkit-transform: rotate(-90deg);\n transform: rotate(-90deg);\n}\n\n.thumbsDown {\n -webkit-transform: scaleY(-1);\n transform: scaleY(-1);\n}\n\n.person,\n.clients,\n.company,\n.property {\n fill: var(--color-teal);\n}\n\n.job,\n.jobOnHold {\n fill: var(--color-job);\n}\n\n.visit,\n.moveVisits {\n fill: var(--color-lime);\n}\n\n.event {\n fill: var(--color-yellow);\n}\n\n.quote {\n fill: var(--color-quote);\n}\n\n.request {\n fill: var(--color-request);\n}\n\n.task {\n fill: var(--color-navy);\n}\n\n.userUnassigned,\n.reminder,\n.trash {\n fill: var(--color-destructive);\n}\n\n.checkmark {\n fill: var(--color-success);\n}\n\n.timer {\n fill: var(--color-lightBlue);\n}\n\n.invoice,\n.invoiceLater,\n.sendInvoice,\n.paidInvoice {\n fill: var(--color-invoice);\n}\n\n.badInvoice {\n fill: var(--color-critical);\n}\n\n.payment,\n.expense {\n fill: var(--color-orange);\n}\n\n.archive {\n fill: var(--color-blue);\n}\n\n.video {\n fill: var(--color-lightBlue);\n}\n\n/* non-Atlantis colors to match brand colors of these file-types */\n\n.excel {\n fill: rgb(31, 115, 71);\n}\n\n.pdf {\n fill: rgb(195, 27, 0);\n}\n\n.word {\n fill: rgb(41, 86, 154);\n}\n";
39
+ styleInject(css_248z$2);
39
40
 
40
- var css_248z$1 = "._isfJqqskSRqop8TStvGA {\n width: var(--base-unit);\n height: var(--base-unit);\n}\n\n._3ctOeOMP7zLhU37n25xoZC {\n width: calc(var(--base-unit) * 1.5);\n height: calc(var(--base-unit) * 1.5);\n}\n\n._2SoAwA0A8G1BGDNjtkt-lt {\n width: calc(var(--base-unit) * 2);\n height: calc(var(--base-unit) * 2);\n}\n";
41
- var sizes = {"small":"_isfJqqskSRqop8TStvGA","base":"_3ctOeOMP7zLhU37n25xoZC","large":"_2SoAwA0A8G1BGDNjtkt-lt"};
41
+ var css_248z$1 = ".small {\n width: var(--base-unit);\n height: var(--base-unit);\n}\n\n.base {\n width: calc(var(--base-unit) * 1.5);\n height: calc(var(--base-unit) * 1.5);\n}\n\n.large {\n width: calc(var(--base-unit) * 2);\n height: calc(var(--base-unit) * 2);\n}\n";
42
42
  styleInject(css_248z$1);
43
43
 
44
- var css_248z$2 = "._2GsLyQLHv8yNULHeXGdver {\n fill: var(--color-white);\n}\n\n._1YELv8nmPPlX0Pzu_QGOMG {\n fill: var(--color-grey);\n}\n\n._2e1AAW5-LqZd1rLcmAUuzN {\n fill: var(--color-greyBlue);\n}\n\n._8bWF3AeRyRyMzB0iH9M6y {\n fill: var(--color-greyBlue--dark);\n}\n\n.n2jBqFmFzNTdsaFLYln27 {\n fill: var(--color-blue);\n}\n\n._1Fz3GVTXQVAtpcbXjBZ1DQ {\n fill: var(--color-lightBlue);\n}\n\n._1R4_alABGZICCj4KPfBOIa {\n fill: var(--color-green);\n}\n\n._2QH3YFqLKdR7aDlgrj2Hh6 {\n fill: var(--color-yellow);\n}\n\n._3kicqC60DO19i9GJUdTy7F {\n fill: var(--color-red);\n}\n\n._3JP83AjCT81W_LPJGSnPD5 {\n fill: var(--color-navy);\n}\n\n._1ILoHD9okwFJq74eTNjP6t {\n fill: var(--color-orange);\n}\n\n._12VR_QdnOrr0uYfnGulvso {\n fill: var(--color-interactive);\n}\n\n._3gJhqOTdPZ3q8_riR5EOkY {\n fill: var(--color-interactive--hover);\n}\n\n._2XvATj2yLi5bRnIRtXmlCo {\n fill: var(--color-destructive);\n}\n\n._1P43A7mjvke3cHU15BQjuy {\n fill: var(--color-destructive--hover);\n}\n\n._2LOjniuiJ7S7KXYPneZh83 {\n fill: var(--color-interactive--subtle);\n}\n\n._3U-nuJ3AJ6bMh3Q_uS1oSJ {\n fill: var(--color-interactive--subtle--hover);\n}\n\n._3d_mPRCA6Acd1Cw7tkKfyA {\n fill: var(--color-disabled);\n}\n\n._1uxUG7mKqo7DTmB7pPTjMn {\n fill: var(--color-disabled--secondary);\n}\n\n._3S0ta0xTE6TKBo2TkRmwLv {\n fill: var(--color-focus);\n}\n\n._3_XuN5pkvTDnwUYEFefKiC {\n fill: var(--color-critical);\n}\n\n._1uxtNh577qTf7gZQ9sE2PB {\n fill: var(--color-critical--surface);\n}\n\n._1k7fQnz_5GJTDeyWn7Irqy {\n fill: var(--color-critical--onSurface);\n}\n\n._3Py1RaPZa3--eqJSDrJN6W {\n fill: var(--color-warning);\n}\n\n._22dsEAHHeZPVmojNi9QBjd {\n fill: var(--color-warning--surface);\n}\n\n.sdUqeV1jSaiEx3iiK7tqk {\n fill: var(--color-warning--onSurface);\n}\n\n._2xDMAaDywcy-N6CPPXGFor {\n fill: var(--color-success);\n}\n\n._1mtGQX90W-EecWtg-LA1g7 {\n fill: var(--color-success--surface);\n}\n\n._3u4hTypURa6CdwkE_uVI6b {\n fill: var(--color-success--onSurface);\n}\n\n._25Xt7gN6lfWaeSVU0XpRMb {\n fill: var(--color-informative);\n}\n\n._3y4ypbzLxkZRebphV4-au6 {\n fill: var(--color-informative--surface);\n}\n\n._2Z7rds-RtfQI8AYuQBJQOZ {\n fill: var(--color-informative--onSurface);\n}\n\n._1hhlT0_4ggzO_f2Qxup6ls {\n fill: var(--color-inactive);\n}\n\n._23PS9wPasMNF1-vmjoVf4o {\n fill: var(--color-inactive--surface);\n}\n\n._3PfcZIjtGdLlI1QYNN-PNr {\n fill: var(--color-inactive--onSurface);\n}\n\n._3fT3DM-w1gpl8ca5PrBiEP {\n fill: var(--color-heading);\n}\n\n._2tTQJ-gNaSMzqehI5agQSU {\n fill: var(--color-text);\n}\n\n._25qKLrxSYW1hXWswuA9GZI {\n fill: var(--color-text--secondary);\n}\n\n._3fgaPbh4JKfC65cAEi8GOQ {\n fill: var(--color-text--reverse);\n}\n\n._1ahShcIkV2CxLZQdOybgd7 {\n fill: var(--color-text--reverse--secondary);\n}\n\n._qoc5K-dxGZQcWrGy_UhJ {\n fill: var(--color-surface);\n}\n\n._103fXl0BTXIMr-bd0pSRk1 {\n fill: var(--color-surface--hover);\n}\n\n.S8EGNj0npcZP2BpoMIzkL {\n fill: var(--color-surface--active);\n}\n\n.Qapc7a_-VAoOsDM0oop-d {\n fill: var(--color-surface--background);\n}\n\n._3gEznmn4DvQu9B2SHDM-8U {\n fill: var(--color-surface--reverse);\n}\n\n._2NbShAfreAiEv494xM6yfV {\n fill: var(--color-brand);\n}\n\n.GlvyXGSUMJB6P5Y3PdhgJ {\n fill: var(--color-brand--highlight);\n}\n";
45
- var colors = {"white":"_2GsLyQLHv8yNULHeXGdver","grey":"_1YELv8nmPPlX0Pzu_QGOMG","greyBlue":"_2e1AAW5-LqZd1rLcmAUuzN","greyBlueDark":"_8bWF3AeRyRyMzB0iH9M6y","blue":"n2jBqFmFzNTdsaFLYln27","lightBlue":"_1Fz3GVTXQVAtpcbXjBZ1DQ","green":"_1R4_alABGZICCj4KPfBOIa","yellow":"_2QH3YFqLKdR7aDlgrj2Hh6","red":"_3kicqC60DO19i9GJUdTy7F","navy":"_3JP83AjCT81W_LPJGSnPD5","orange":"_1ILoHD9okwFJq74eTNjP6t","interactive":"_12VR_QdnOrr0uYfnGulvso","interactiveHover":"_3gJhqOTdPZ3q8_riR5EOkY","destructive":"_2XvATj2yLi5bRnIRtXmlCo","destructiveHover":"_1P43A7mjvke3cHU15BQjuy","interactiveSubtle":"_2LOjniuiJ7S7KXYPneZh83","interactiveSubtleHover":"_3U-nuJ3AJ6bMh3Q_uS1oSJ","disabled":"_3d_mPRCA6Acd1Cw7tkKfyA","disabledSecondary":"_1uxUG7mKqo7DTmB7pPTjMn","focus":"_3S0ta0xTE6TKBo2TkRmwLv","critical":"_3_XuN5pkvTDnwUYEFefKiC","criticalSurface":"_1uxtNh577qTf7gZQ9sE2PB","criticalOnSurface":"_1k7fQnz_5GJTDeyWn7Irqy","warning":"_3Py1RaPZa3--eqJSDrJN6W","warningSurface":"_22dsEAHHeZPVmojNi9QBjd","warningOnSurface":"sdUqeV1jSaiEx3iiK7tqk","success":"_2xDMAaDywcy-N6CPPXGFor","successSurface":"_1mtGQX90W-EecWtg-LA1g7","successOnSurface":"_3u4hTypURa6CdwkE_uVI6b","informative":"_25Xt7gN6lfWaeSVU0XpRMb","informativeSurface":"_3y4ypbzLxkZRebphV4-au6","informativeOnSurface":"_2Z7rds-RtfQI8AYuQBJQOZ","inactive":"_1hhlT0_4ggzO_f2Qxup6ls","inactiveSurface":"_23PS9wPasMNF1-vmjoVf4o","inactiveOnSurface":"_3PfcZIjtGdLlI1QYNN-PNr","heading":"_3fT3DM-w1gpl8ca5PrBiEP","text":"_2tTQJ-gNaSMzqehI5agQSU","textSecondary":"_25qKLrxSYW1hXWswuA9GZI","textReverse":"_3fgaPbh4JKfC65cAEi8GOQ","textReverseSecondary":"_1ahShcIkV2CxLZQdOybgd7","surface":"_qoc5K-dxGZQcWrGy_UhJ","surfaceHover":"_103fXl0BTXIMr-bd0pSRk1","surfaceActive":"S8EGNj0npcZP2BpoMIzkL","surfaceBackground":"Qapc7a_-VAoOsDM0oop-d","surfaceReverse":"_3gEznmn4DvQu9B2SHDM-8U","brand":"_2NbShAfreAiEv494xM6yfV","brandHighlight":"GlvyXGSUMJB6P5Y3PdhgJ"};
46
- styleInject(css_248z$2);
44
+ var css_248z = ".white {\n fill: var(--color-white);\n}\n\n.grey {\n fill: var(--color-grey);\n}\n\n.greyBlue {\n fill: var(--color-greyBlue);\n}\n\n.greyBlueDark {\n fill: var(--color-greyBlue--dark);\n}\n\n.blue {\n fill: var(--color-blue);\n}\n\n.lightBlue {\n fill: var(--color-lightBlue);\n}\n\n.green {\n fill: var(--color-green);\n}\n\n.yellow {\n fill: var(--color-yellow);\n}\n\n.red {\n fill: var(--color-red);\n}\n\n.navy {\n fill: var(--color-navy);\n}\n\n.orange {\n fill: var(--color-orange);\n}\n\n.interactive {\n fill: var(--color-interactive);\n}\n\n.interactiveHover {\n fill: var(--color-interactive--hover);\n}\n\n.destructive {\n fill: var(--color-destructive);\n}\n\n.destructiveHover {\n fill: var(--color-destructive--hover);\n}\n\n.interactiveSubtle {\n fill: var(--color-interactive--subtle);\n}\n\n.interactiveSubtleHover {\n fill: var(--color-interactive--subtle--hover);\n}\n\n.disabled {\n fill: var(--color-disabled);\n}\n\n.disabledSecondary {\n fill: var(--color-disabled--secondary);\n}\n\n.focus {\n fill: var(--color-focus);\n}\n\n.critical {\n fill: var(--color-critical);\n}\n\n.criticalSurface {\n fill: var(--color-critical--surface);\n}\n\n.criticalOnSurface {\n fill: var(--color-critical--onSurface);\n}\n\n.warning {\n fill: var(--color-warning);\n}\n\n.warningSurface {\n fill: var(--color-warning--surface);\n}\n\n.warningOnSurface {\n fill: var(--color-warning--onSurface);\n}\n\n.success {\n fill: var(--color-success);\n}\n\n.successSurface {\n fill: var(--color-success--surface);\n}\n\n.successOnSurface {\n fill: var(--color-success--onSurface);\n}\n\n.informative {\n fill: var(--color-informative);\n}\n\n.informativeSurface {\n fill: var(--color-informative--surface);\n}\n\n.informativeOnSurface {\n fill: var(--color-informative--onSurface);\n}\n\n.inactive {\n fill: var(--color-inactive);\n}\n\n.inactiveSurface {\n fill: var(--color-inactive--surface);\n}\n\n.inactiveOnSurface {\n fill: var(--color-inactive--onSurface);\n}\n\n.heading {\n fill: var(--color-heading);\n}\n\n.text {\n fill: var(--color-text);\n}\n\n.textSecondary {\n fill: var(--color-text--secondary);\n}\n\n.textReverse {\n fill: var(--color-text--reverse);\n}\n\n.textReverseSecondary {\n fill: var(--color-text--reverse--secondary);\n}\n\n.surface {\n fill: var(--color-surface);\n}\n\n.surfaceHover {\n fill: var(--color-surface--hover);\n}\n\n.surfaceActive {\n fill: var(--color-surface--active);\n}\n\n.surfaceBackground {\n fill: var(--color-surface--background);\n}\n\n.surfaceReverse {\n fill: var(--color-surface--reverse);\n}\n\n.brand {\n fill: var(--color-brand);\n}\n\n.brandHighlight {\n fill: var(--color-brand--highlight);\n}\n";
45
+ styleInject(css_248z);
47
46
 
48
47
  /* tslint:disable */
49
48
  /* eslint-disable */
@@ -485,17 +484,17 @@ const iconMap = {
485
484
  }
486
485
  };
487
486
 
488
- const iconClassMap = getInvertedClassMap(styles);
489
- const sizesClassMap = getInvertedClassMap(sizes);
490
- const colorsClassMap = getInvertedClassMap(colors);
487
+ const iconClassMap = getInvertedClassMap(css_248z$2);
488
+ const sizesClassMap = getInvertedClassMap(css_248z$1);
489
+ const colorsClassMap = getInvertedClassMap(css_248z);
491
490
  function getInvertedClassMap(classMap) {
492
491
  return Object.keys(classMap).reduce((acc, value) => (Object.assign(Object.assign({}, acc), { [classMap[value]]: value })), {});
493
492
  }
494
493
  function getIcon({ name, color, size = "base" }) {
495
- const svgClassNames = classnames(styles.icon, sizes[size], {
496
- [styles.longArrowUp]: name === "longArrowUp",
497
- [styles.longArrowDown]: name === "longArrowDown",
498
- [styles.thumbsDown]: name === "thumbsDown",
494
+ const svgClassNames = classnames__default["default"](css_248z$2.icon, css_248z$1[size], {
495
+ [css_248z$2.longArrowUp]: name === "longArrowUp",
496
+ [css_248z$2.longArrowDown]: name === "longArrowDown",
497
+ [css_248z$2.thumbsDown]: name === "thumbsDown",
499
498
  });
500
499
  const pathClassNames = getPathClassNames(name, color);
501
500
  const paths = getPaths(name);
@@ -526,36 +525,36 @@ function mapToCorrectIcon(name) {
526
525
  }
527
526
  }
528
527
  function getPathClassNames(name, color) {
529
- return classnames(color && colors[color], {
530
- [styles.person]: name === "person",
531
- [styles.clients]: name === "clients",
532
- [styles.company]: name === "company",
533
- [styles.property]: name === "property",
534
- [styles.userUnassigned]: name === "userUnassigned",
535
- [styles.job]: name === "job",
536
- [styles.jobOnHold]: name === "jobOnHold",
537
- [styles.visit]: name === "visit",
538
- [styles.moveVisits]: name === "moveVisits",
539
- [styles.event]: name === "event",
540
- [styles.request]: name === "request",
541
- [styles.reminder]: name === "reminder",
542
- [styles.trash]: name === "trash",
543
- [styles.task]: name === "task",
544
- [styles.timer]: name === "timer",
545
- [styles.quote]: name === "quote",
546
- [styles.invoice]: name === "invoice",
547
- [styles.checkmark]: name === "checkmark",
548
- [styles.invoiceLater]: name === "invoiceLater",
549
- [styles.badInvoice]: name === "badInvoice",
550
- [styles.sendInvoice]: name === "sendInvoice",
551
- [styles.paidInvoice]: name === "paidInvoice",
552
- [styles.payment]: name === "payment",
553
- [styles.expense]: name === "expense",
554
- [styles.archive]: name === "archive",
555
- [styles.excel]: name === "excel",
556
- [styles.pdf]: name === "pdf",
557
- [styles.word]: name === "word",
558
- [styles.video]: name === "video",
528
+ return classnames__default["default"](color && css_248z[color], {
529
+ [css_248z$2.person]: name === "person",
530
+ [css_248z$2.clients]: name === "clients",
531
+ [css_248z$2.company]: name === "company",
532
+ [css_248z$2.property]: name === "property",
533
+ [css_248z$2.userUnassigned]: name === "userUnassigned",
534
+ [css_248z$2.job]: name === "job",
535
+ [css_248z$2.jobOnHold]: name === "jobOnHold",
536
+ [css_248z$2.visit]: name === "visit",
537
+ [css_248z$2.moveVisits]: name === "moveVisits",
538
+ [css_248z$2.event]: name === "event",
539
+ [css_248z$2.request]: name === "request",
540
+ [css_248z$2.reminder]: name === "reminder",
541
+ [css_248z$2.trash]: name === "trash",
542
+ [css_248z$2.task]: name === "task",
543
+ [css_248z$2.timer]: name === "timer",
544
+ [css_248z$2.quote]: name === "quote",
545
+ [css_248z$2.invoice]: name === "invoice",
546
+ [css_248z$2.checkmark]: name === "checkmark",
547
+ [css_248z$2.invoiceLater]: name === "invoiceLater",
548
+ [css_248z$2.badInvoice]: name === "badInvoice",
549
+ [css_248z$2.sendInvoice]: name === "sendInvoice",
550
+ [css_248z$2.paidInvoice]: name === "paidInvoice",
551
+ [css_248z$2.payment]: name === "payment",
552
+ [css_248z$2.expense]: name === "expense",
553
+ [css_248z$2.archive]: name === "archive",
554
+ [css_248z$2.excel]: name === "excel",
555
+ [css_248z$2.pdf]: name === "pdf",
556
+ [css_248z$2.word]: name === "word",
557
+ [css_248z$2.video]: name === "video",
559
558
  });
560
559
  }
561
560
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/design",
3
- "version": "0.30.0",
3
+ "version": "0.30.1-pre.11+18c0b8e3",
4
4
  "description": "Design foundation for the Jobber Atlantis Design System",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -20,38 +20,36 @@
20
20
  "build:cssTypes": "tcm src/icons",
21
21
  "build:colors": "node buildColors.js",
22
22
  "build:foundation": "node buildFoundation.js && node jobberStyle.js && npm run build:foundationTypes && npm run build:addTypeLinterExceptions && npm run build:addFoundationLinterExceptions && npm run build:removeTempFiles",
23
- "build:foundationTypes": "tsc --declaration --emitDeclarationOnly --allowJs foundation.js --outDir .",
23
+ "build:foundationTypes": "tsc --declaration --emitDeclarationOnly --allowJs foundation.js --outDir . --skipLibCheck",
24
24
  "build:addTypeLinterExceptions": "(printf '/* tslint:disable */\n/* eslint-disable */\n/* This file is automatically generated and should not be edited. */\n'; cat foundation.d.ts) > foundation.d.ts.temp",
25
25
  "build:addFoundationLinterExceptions": "(printf '/* tslint:disable */\n/* eslint-disable */\n/* This file is automatically generated and should not be edited. */\n'; cat foundation.js) > foundation.js.temp",
26
26
  "build:removeTempFiles": "rm -f src/foundation.js && mv foundation.d.ts.temp foundation.d.ts && mv foundation.js.temp foundation.js",
27
27
  "build:iconCssStyle": "node buildIconStyles.js && npm run build:iconCssStyleTypes",
28
- "build:iconCssStyleTypes": "tsc --declaration --emitDeclarationOnly --allowJs src/icons/iconStyles.ts --outDir ./src/icons",
28
+ "build:iconCssStyleTypes": "tsc --declaration --emitDeclarationOnly --allowJs src/icons/iconStyles.ts --outDir ./src/icons --skipLibCheck",
29
29
  "clean": "rm -rf dist/* icons/* colors.js foundation.* iconStyles.* tsconfig.tsbuildinfo",
30
- "prepare": "npm run clean && npm run build"
30
+ "bootstrap": "npm run clean && npm run build"
31
31
  },
32
32
  "dependencies": {
33
33
  "classnames": "^2.3.2"
34
34
  },
35
35
  "devDependencies": {
36
+ "@rollup/plugin-commonjs": "^24.0.1",
37
+ "@types/node": "^18.15.7",
36
38
  "autoprefixer": "^9.5.1",
37
39
  "css-to-react-native-transform": "^2.0.0",
38
- "postcss": "^7.0.36",
40
+ "postcss": "^8.4.21",
39
41
  "postcss-calc": "7.0.2",
40
42
  "postcss-cli": "^6.1.2",
41
- "postcss-copy": "^7.1.0",
42
43
  "postcss-custom-properties": "^8.0.10",
43
44
  "postcss-import": "^12.0.1",
44
45
  "postcss-preset-env": "^6.6.0",
45
46
  "rollup": "^1.11.3",
46
- "rollup-plugin-commonjs": "^9.3.4",
47
47
  "rollup-plugin-copy": "^3.4.0",
48
- "rollup-plugin-multi-input": "^0.2.2",
49
- "rollup-plugin-node-resolve": "^4.2.4",
50
- "rollup-plugin-postcss": "^2.0.3",
51
- "rollup-plugin-typescript": "^1.0.1",
52
- "rollup-plugin-typescript2": "^0.31.2",
48
+ "rollup-plugin-multi-input": "^1.4.1",
49
+ "rollup-plugin-postcss": "^4.0.2",
50
+ "rollup-plugin-typescript2": "^0.34.1",
53
51
  "typed-css-modules": "^0.7.0",
54
52
  "typescript": "^4.9.5"
55
53
  },
56
- "gitHead": "9d9235988a4ecbc624f2bdbf7df5205140d9a4db"
54
+ "gitHead": "18c0b8e39ccf769eecbdce75b81233f1d0dcc4fc"
57
55
  }