@spothero/ui 15.2.1-beta.0 → 15.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spothero/ui",
3
- "version": "15.2.1-beta.0",
3
+ "version": "15.3.0-beta.1",
4
4
  "description": "SpotHero's React component UI library.",
5
5
  "main": "v2/index.js",
6
6
  "repository": "https://github.com/spothero/fe-monorepo",
@@ -3,5 +3,4 @@ export default {
3
3
  zIndex: 'layer8',
4
4
  justifyContent: 'center',
5
5
  alignItems: {base: 'flex-end', tablet: 'center'},
6
- overflow: 'hidden',
7
6
  };
@@ -23,8 +23,8 @@ const Radio = forwardRef(
23
23
  isDisabled={isDisabled}
24
24
  isFocusable={!isDisabled}
25
25
  value={value}
26
- {...props}
27
26
  alignItems="start"
27
+ {...props}
28
28
  >
29
29
  {children}
30
30
  {helperText && (
@@ -29,7 +29,7 @@ const RadioGroup = forwardRef(
29
29
  errorMessage={errorMessage}
30
30
  label={label}
31
31
  inputId={props.id}
32
- isRadio
32
+ isFieldset
33
33
  >
34
34
  <ChakraRadioGroup
35
35
  ref={ref}
@@ -1,6 +1,6 @@
1
1
  export const fonts = {
2
- heading: 'Open Sans',
3
- body: 'Open Sans',
2
+ heading: `'Open Sans', sans-serif`,
3
+ body: `'Open Sans', sans-serif`,
4
4
  };
5
5
 
6
6
  export const fontSizes = {
@@ -23,14 +23,12 @@ export default global;
23
23
  export const Fonts = () => (
24
24
  <Global
25
25
  styles={`
26
- @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');
27
- /* Copied from https://fonts.googleapis.com/css2?family=Open+Sans:wght@700&display=swap */
28
26
  /* latin-ext */
29
27
  @font-face {
30
28
  font-family: 'Open Sans';
31
29
  font-style: normal;
32
30
  font-weight: 700;
33
- src: url(https://fonts.gstatic.com/s/opensans/v18/mem5YaGs126MiZpBA-UN7rgOXOhpKKSTj5PW.woff2) format('woff2');
31
+ src: url(./fonts/OpenSans-Bold.ttf) format('ttf');
34
32
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
35
33
  }
36
34
  /* latin-ext */
@@ -38,7 +36,7 @@ export const Fonts = () => (
38
36
  font-family: 'Open Sans';
39
37
  font-style: normal;
40
38
  font-weight: 600;
41
- src: url(https://fonts.gstatic.com/s/opensans/v18/mem5YaGs126MiZpBA-UNirkOXOhpKKSTj5PW.woff2) format('woff2');
39
+ src: url(./fonts/OpenSans-SemiBold.ttf) format('ttf');
42
40
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
43
41
  }
44
42
  /* latin-ext */
@@ -46,7 +44,7 @@ export const Fonts = () => (
46
44
  font-family: 'Open Sans';
47
45
  font-style: normal;
48
46
  font-weight: 400;
49
- src: url(https://fonts.gstatic.com/s/opensans/v18/mem8YaGs126MiZpBA-UFW50bf8pkAp6a.woff2) format('woff2');
47
+ src: url(./fonts/OpenSans-Regular.ttf) format('ttf');
50
48
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
51
49
  }
52
50
  /* latin-ext */
@@ -54,7 +52,7 @@ export const Fonts = () => (
54
52
  font-family: 'Open Sans';
55
53
  font-style: normal;
56
54
  font-weight: 300;
57
- src: url(https://fonts.gstatic.com/s/opensans/v18/mem5YaGs126MiZpBA-UN_r8OXOhpKKSTj5PW.woff2) format('woff2');
55
+ src: url(./fonts/OpenSans-Light.ttf) format('ttf');
58
56
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
59
57
  }
60
58
  `}