@toptal/picasso 42.7.2 → 42.7.3

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.
@@ -13,10 +13,15 @@ export default ({ palette }) => createStyles({
13
13
  },
14
14
  inputBase: {
15
15
  marginRight: '-8px',
16
- // override styles for native 'clock' icon for type='time'
16
+ // this workaround is needed to show the picker when we click our own clock icon
17
+ // eventually, we could "display: none" this native icon and use native showPicker()
18
+ // but currently not all browsers support the picker (e.g. Safari and Firefox), so for now we
19
+ // hide the native icon (with its functionality available) behind our icon
17
20
  '&::-webkit-calendar-picker-indicator': {
18
- outline: 'none',
21
+ position: 'absolute',
22
+ right: '0.5rem',
19
23
  cursor: 'pointer',
24
+ background: 'none',
20
25
  },
21
26
  },
22
27
  inputMask: {
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../src/TimePicker/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEvD,eAAe,CAAC,EAAE,OAAO,EAAS,EAAE,EAAE,CACpC,YAAY,CAAC;IACX,IAAI,EAAE;QACJ,MAAM,EAAE,SAAS;KAClB;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK;QAChC,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE,UAAU;QACjB,aAAa,EAAE,MAAM;QACrB,MAAM,EAAE,CAAC;QACT,UAAU,EAAE,MAAM;KACnB;IACD,SAAS,EAAE;QACT,WAAW,EAAE,MAAM;QAEnB,0DAA0D;QAC1D,sCAAsC,EAAE;YACtC,OAAO,EAAE,MAAM;YACf,MAAM,EAAE,SAAS;SAClB;KACF;IACD,SAAS,EAAE;QACT,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,GAAG;QACZ,MAAM,EAAE,GAAG;QACX,OAAO,EAAE,MAAM;KAChB;CACF,CAAC,CAAA"}
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../src/TimePicker/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEvD,eAAe,CAAC,EAAE,OAAO,EAAS,EAAE,EAAE,CACpC,YAAY,CAAC;IACX,IAAI,EAAE;QACJ,MAAM,EAAE,SAAS;KAClB;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK;QAChC,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE,UAAU;QACjB,aAAa,EAAE,MAAM;QACrB,MAAM,EAAE,CAAC;QACT,UAAU,EAAE,MAAM;KACnB;IACD,SAAS,EAAE;QACT,WAAW,EAAE,MAAM;QAEnB,gFAAgF;QAChF,oFAAoF;QACpF,6FAA6F;QAC7F,0EAA0E;QAC1E,sCAAsC,EAAE;YACtC,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,QAAQ;YACf,MAAM,EAAE,SAAS;YACjB,UAAU,EAAE,MAAM;SACnB;KACF;IACD,SAAS,EAAE;QACT,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,GAAG;QACZ,MAAM,EAAE,GAAG;QACX,OAAO,EAAE,MAAM;KAChB;CACF,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/picasso",
3
- "version": "42.7.2",
3
+ "version": "42.7.3",
4
4
  "description": "Toptal UI components library",
5
5
  "publishConfig": {
6
6
  "access": "public",