@gympass/yoga 7.90.1 → 7.91.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.
@@ -73,9 +73,13 @@ const Link = (0, import_styled_components.default)(import_Button.Label)`
73
73
  const state = secondary ? "secondary" : "primary";
74
74
  return `
75
75
  color: ${link.font[state].color};
76
+ text-decoration: underline;
77
+ text-decoration-color: ${link.font[state].color};
76
78
 
77
- ${disabled ? `color: ${link.font.disabled.color};` : ""}
78
- ${!disabled && pressed ? `color: ${(0, import_yoga_common.hexToRgb)(link.font[state].color, 0.75)};` : ""}
79
+ ${disabled ? `color: ${link.font.disabled.color};
80
+ text-decoration-color: ${link.font.disabled.color};` : ""}
81
+ ${!disabled && pressed ? `color: ${(0, import_yoga_common.hexToRgb)(link.font[state].color, 0.75)};
82
+ text-decoration-color: ${(0, import_yoga_common.hexToRgb)(link.font[state].color, 0.75)};` : ""}
79
83
  `;
80
84
  }}
81
85
  `;
@@ -67,7 +67,11 @@ var import_yoga_common = require("@gympass/yoga-common");
67
67
  var import_withTouchable = __toESM(require("./withTouchable"));
68
68
  var import_Button = require("./Button");
69
69
  const LabelText = (0, import_styled_components.default)(import_Button.Label)`
70
- ${({ color }) => `color: ${color};`}
70
+ ${({ color }) => `
71
+ color: ${color};
72
+ text-decoration: underline;
73
+ text-decoration-color: ${color};
74
+ `},
71
75
  `;
72
76
  const ButtonContainerText = (0, import_styled_components.default)(import_Button.ButtonContainer)`
73
77
  ${({
@@ -84,12 +84,18 @@ const Link = (0, import_styled_components.default)(import_Button.default)`
84
84
  border: none;
85
85
  border-radius: 0;
86
86
  color: ${button.types.link.font[state].color};
87
+ text-decoration: underline;
88
+ text-decoration-color: ${button.types.link.font[state].color};
87
89
 
88
90
  svg {
89
91
  margin-right: ${button.types.link.icon.margin.right}px;
90
92
  fill: ${button.types.link.font[state].color};
91
93
  }
92
94
 
95
+ &:not([disabled]):link {
96
+ text-decoration: underline;
97
+ }
98
+
93
99
  &:disabled,
94
100
  &:not([disabled]):hover,
95
101
  &:not([disabled]):focus,
@@ -101,6 +107,11 @@ const Link = (0, import_styled_components.default)(import_Button.default)`
101
107
  &:not([disabled]):hover {
102
108
  color: ${(0, import_yoga_common.hexToRgb)(button.types.link.font[state].color, 0.5)};
103
109
 
110
+ text-decoration-color: ${(0, import_yoga_common.hexToRgb)(
111
+ button.types.link.font[state].color,
112
+ 0.5
113
+ )};
114
+
104
115
  svg {
105
116
  fill: ${(0, import_yoga_common.hexToRgb)(button.types.link.font[state].color, 0.5)};
106
117
  }
@@ -109,6 +120,11 @@ const Link = (0, import_styled_components.default)(import_Button.default)`
109
120
  &:not([disabled]):focus, &:not([disabled]):active {
110
121
  color: ${(0, import_yoga_common.hexToRgb)(button.types.link.font[state].color, 0.75)};
111
122
 
123
+ text-decoration-color: ${(0, import_yoga_common.hexToRgb)(
124
+ button.types.link.font[state].color,
125
+ 0.75
126
+ )};
127
+
112
128
  svg {
113
129
  fill: ${(0, import_yoga_common.hexToRgb)(button.types.link.font[state].color, 0.75)};
114
130
  }
@@ -117,6 +133,9 @@ const Link = (0, import_styled_components.default)(import_Button.default)`
117
133
  &:disabled {
118
134
  color: ${button.types.link.font.disabled.color};
119
135
 
136
+ text-decoration: underline;
137
+ text-decoration-color: ${button.types.link.font.disabled.color};
138
+
120
139
  svg {
121
140
  fill: ${button.types.link.font.disabled.color};
122
141
  }
@@ -82,11 +82,17 @@ const StyledButton = (0, import_styled_components.default)(import_Button.default
82
82
  background-color: ${button.types.text.backgroundColor};
83
83
  border-color: ${button.types.text.backgroundColor};
84
84
  color: ${colors[state]};
85
+ text-decoration: underline;
86
+ text-decoration-color: ${button.types.link.font[state].color};
85
87
 
86
88
  svg {
87
89
  fill: ${colors[state]};
88
90
  }
89
91
 
92
+ &:not([disabled]):link {
93
+ text-decoration: underline;
94
+ }
95
+
90
96
  &:not([disabled]):hover, &:not([disabled]):focus, &:not([disabled]):active {
91
97
  background-color: ${button.types.text.backgroundColor};
92
98
  box-shadow: none;
@@ -94,6 +100,9 @@ const StyledButton = (0, import_styled_components.default)(import_Button.default
94
100
 
95
101
  &:not([disabled]):hover {
96
102
  color: ${(0, import_yoga_common.hexToRgb)(colors[state], 0.5)};
103
+
104
+ text-decoration-color: ${(0, import_yoga_common.hexToRgb)(colors[state], 0.5)};
105
+
97
106
  svg {
98
107
  fill: ${(0, import_yoga_common.hexToRgb)(colors[state], 0.5)};
99
108
  }
@@ -101,6 +110,9 @@ const StyledButton = (0, import_styled_components.default)(import_Button.default
101
110
 
102
111
  &:not([disabled]):focus, &:not([disabled]):active {
103
112
  color: ${(0, import_yoga_common.hexToRgb)(colors[state], 0.75)};
113
+
114
+ text-decoration-color: ${(0, import_yoga_common.hexToRgb)(colors[state], 0.75)};
115
+
104
116
  svg {
105
117
  fill: ${(0, import_yoga_common.hexToRgb)(colors[state], 0.75)};
106
118
  }
@@ -108,12 +120,18 @@ const StyledButton = (0, import_styled_components.default)(import_Button.default
108
120
 
109
121
  ${inverted ? `
110
122
  color: ${colors.white};
123
+
124
+ text-decoration-color: ${colors.white};
125
+
111
126
  svg {
112
127
  fill: ${colors.white};
113
128
  }
114
129
 
115
130
  &:not([disabled]):hover {
116
131
  color: ${(0, import_yoga_common.hexToRgb)(colors.white, 0.5)};
132
+
133
+ text-decoration-color: ${(0, import_yoga_common.hexToRgb)(colors.white, 0.5)};
134
+
117
135
  svg {
118
136
  fill: ${(0, import_yoga_common.hexToRgb)(colors.white, 0.5)};
119
137
  }
@@ -121,6 +139,9 @@ const StyledButton = (0, import_styled_components.default)(import_Button.default
121
139
 
122
140
  &:not([disabled]):focus, &:not([disabled]):active {
123
141
  color: ${(0, import_yoga_common.hexToRgb)(colors.white, 0.75)};
142
+
143
+ text-decoration-color: ${(0, import_yoga_common.hexToRgb)(colors.white, 0.75)};
144
+
124
145
  svg {
125
146
  fill: ${(0, import_yoga_common.hexToRgb)(colors.white, 0.75)};
126
147
  }
@@ -131,6 +152,10 @@ const StyledButton = (0, import_styled_components.default)(import_Button.default
131
152
  background-color: ${button.types.text.backgroundColor};
132
153
  border-color: ${button.types.text.backgroundColor};
133
154
  color: ${button.types.text.disabled};
155
+
156
+ text-decoration: underline;
157
+ text-decoration-color: ${button.types.text.disabled};
158
+
134
159
  svg {
135
160
  fill: ${button.types.text.disabled};
136
161
  }
package/cjs/Text/index.js CHANGED
@@ -22,18 +22,4 @@ __export(Text_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(Text_exports);
24
24
  var import_web = require("./web");
25
- import_web.Text.H1 = import_web.H1;
26
- import_web.Text.H2 = import_web.H2;
27
- import_web.Text.H3 = import_web.H3;
28
- import_web.Text.H4 = import_web.H4;
29
- import_web.Text.H5 = import_web.H5;
30
- import_web.Text.Small = import_web.Small;
31
- import_web.Text.Tiny = import_web.Tiny;
32
- import_web.Text.Light = import_web.Light;
33
- import_web.Text.Regular = import_web.Regular;
34
- import_web.Text.Medium = import_web.Medium;
35
- import_web.Text.Bold = import_web.Bold;
36
- import_web.Text.Black = import_web.Black;
37
- import_web.Text.SectionTitle = import_web.SectionTitle;
38
- import_web.Text.SmallestException = import_web.SmallestException;
39
25
  var Text_default = import_web.Text;
@@ -22,18 +22,4 @@ __export(index_native_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(index_native_exports);
24
24
  var import_native = require("./native");
25
- import_native.Text.H1 = import_native.H1;
26
- import_native.Text.H2 = import_native.H2;
27
- import_native.Text.H3 = import_native.H3;
28
- import_native.Text.H4 = import_native.H4;
29
- import_native.Text.H5 = import_native.H5;
30
- import_native.Text.Small = import_native.Small;
31
- import_native.Text.Tiny = import_native.Tiny;
32
- import_native.Text.Light = import_native.Light;
33
- import_native.Text.Regular = import_native.Regular;
34
- import_native.Text.Medium = import_native.Medium;
35
- import_native.Text.Bold = import_native.Bold;
36
- import_native.Text.Black = import_native.Black;
37
- import_native.Text.SectionTitle = import_native.SectionTitle;
38
- import_native.Text.SmallestException = import_native.SmallestException;
39
25
  var index_native_default = import_native.Text;
@@ -101,6 +101,20 @@ SmallestException.displayName = "Text.SmallestException";
101
101
  const TextRenderer = styledText("p");
102
102
  const Text = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TextRenderer, __spreadValues({}, props));
103
103
  Text.displayName = "Text";
104
+ Text.H1 = H1;
105
+ Text.H2 = H2;
106
+ Text.H3 = H3;
107
+ Text.H4 = H4;
108
+ Text.H5 = H5;
109
+ Text.Small = Small;
110
+ Text.Tiny = Tiny;
111
+ Text.Light = Light;
112
+ Text.Regular = Regular;
113
+ Text.Medium = Medium;
114
+ Text.Bold = Bold;
115
+ Text.Black = Black;
116
+ Text.SectionTitle = SectionTitle;
117
+ Text.SmallestException = SmallestException;
104
118
  const fontSizes = (0, import_prop_types.oneOf)([
105
119
  "xxsmall",
106
120
  "xsmall",
@@ -104,6 +104,20 @@ SmallestException.displayName = "Text.SmallestException";
104
104
  const TextRenderer = styledText("p");
105
105
  const Text = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TextRenderer, __spreadValues({}, props));
106
106
  Text.displayName = "Text";
107
+ Text.H1 = H1;
108
+ Text.H2 = H2;
109
+ Text.H3 = H3;
110
+ Text.H4 = H4;
111
+ Text.H5 = H5;
112
+ Text.Small = Small;
113
+ Text.Tiny = Tiny;
114
+ Text.Light = Light;
115
+ Text.Regular = Regular;
116
+ Text.Medium = Medium;
117
+ Text.Bold = Bold;
118
+ Text.Black = Black;
119
+ Text.SectionTitle = SectionTitle;
120
+ Text.SmallestException = SmallestException;
107
121
  const fontSizes = (0, import_prop_types.oneOf)([
108
122
  "xxsmall",
109
123
  "xsmall",
@@ -42,9 +42,13 @@ const Link = styled(Label)`
42
42
  const state = secondary ? "secondary" : "primary";
43
43
  return `
44
44
  color: ${link.font[state].color};
45
+ text-decoration: underline;
46
+ text-decoration-color: ${link.font[state].color};
45
47
 
46
- ${disabled ? `color: ${link.font.disabled.color};` : ""}
47
- ${!disabled && pressed ? `color: ${hexToRgb(link.font[state].color, 0.75)};` : ""}
48
+ ${disabled ? `color: ${link.font.disabled.color};
49
+ text-decoration-color: ${link.font.disabled.color};` : ""}
50
+ ${!disabled && pressed ? `color: ${hexToRgb(link.font[state].color, 0.75)};
51
+ text-decoration-color: ${hexToRgb(link.font[state].color, 0.75)};` : ""}
48
52
  `;
49
53
  }}
50
54
  `;
@@ -36,7 +36,11 @@ import { hexToRgb } from "@gympass/yoga-common";
36
36
  import withTouchable from "./withTouchable";
37
37
  import { Label, ButtonContainer } from "./Button";
38
38
  const LabelText = styled(Label)`
39
- ${({ color }) => `color: ${color};`}
39
+ ${({ color }) => `
40
+ color: ${color};
41
+ text-decoration: underline;
42
+ text-decoration-color: ${color};
43
+ `},
40
44
  `;
41
45
  const ButtonContainerText = styled(ButtonContainer)`
42
46
  ${({
@@ -53,12 +53,18 @@ const Link = styled(Button)`
53
53
  border: none;
54
54
  border-radius: 0;
55
55
  color: ${button.types.link.font[state].color};
56
+ text-decoration: underline;
57
+ text-decoration-color: ${button.types.link.font[state].color};
56
58
 
57
59
  svg {
58
60
  margin-right: ${button.types.link.icon.margin.right}px;
59
61
  fill: ${button.types.link.font[state].color};
60
62
  }
61
63
 
64
+ &:not([disabled]):link {
65
+ text-decoration: underline;
66
+ }
67
+
62
68
  &:disabled,
63
69
  &:not([disabled]):hover,
64
70
  &:not([disabled]):focus,
@@ -70,6 +76,11 @@ const Link = styled(Button)`
70
76
  &:not([disabled]):hover {
71
77
  color: ${hexToRgb(button.types.link.font[state].color, 0.5)};
72
78
 
79
+ text-decoration-color: ${hexToRgb(
80
+ button.types.link.font[state].color,
81
+ 0.5
82
+ )};
83
+
73
84
  svg {
74
85
  fill: ${hexToRgb(button.types.link.font[state].color, 0.5)};
75
86
  }
@@ -78,6 +89,11 @@ const Link = styled(Button)`
78
89
  &:not([disabled]):focus, &:not([disabled]):active {
79
90
  color: ${hexToRgb(button.types.link.font[state].color, 0.75)};
80
91
 
92
+ text-decoration-color: ${hexToRgb(
93
+ button.types.link.font[state].color,
94
+ 0.75
95
+ )};
96
+
81
97
  svg {
82
98
  fill: ${hexToRgb(button.types.link.font[state].color, 0.75)};
83
99
  }
@@ -86,6 +102,9 @@ const Link = styled(Button)`
86
102
  &:disabled {
87
103
  color: ${button.types.link.font.disabled.color};
88
104
 
105
+ text-decoration: underline;
106
+ text-decoration-color: ${button.types.link.font.disabled.color};
107
+
89
108
  svg {
90
109
  fill: ${button.types.link.font.disabled.color};
91
110
  }
@@ -51,11 +51,17 @@ const StyledButton = styled(Button)`
51
51
  background-color: ${button.types.text.backgroundColor};
52
52
  border-color: ${button.types.text.backgroundColor};
53
53
  color: ${colors[state]};
54
+ text-decoration: underline;
55
+ text-decoration-color: ${button.types.link.font[state].color};
54
56
 
55
57
  svg {
56
58
  fill: ${colors[state]};
57
59
  }
58
60
 
61
+ &:not([disabled]):link {
62
+ text-decoration: underline;
63
+ }
64
+
59
65
  &:not([disabled]):hover, &:not([disabled]):focus, &:not([disabled]):active {
60
66
  background-color: ${button.types.text.backgroundColor};
61
67
  box-shadow: none;
@@ -63,6 +69,9 @@ const StyledButton = styled(Button)`
63
69
 
64
70
  &:not([disabled]):hover {
65
71
  color: ${hexToRgb(colors[state], 0.5)};
72
+
73
+ text-decoration-color: ${hexToRgb(colors[state], 0.5)};
74
+
66
75
  svg {
67
76
  fill: ${hexToRgb(colors[state], 0.5)};
68
77
  }
@@ -70,6 +79,9 @@ const StyledButton = styled(Button)`
70
79
 
71
80
  &:not([disabled]):focus, &:not([disabled]):active {
72
81
  color: ${hexToRgb(colors[state], 0.75)};
82
+
83
+ text-decoration-color: ${hexToRgb(colors[state], 0.75)};
84
+
73
85
  svg {
74
86
  fill: ${hexToRgb(colors[state], 0.75)};
75
87
  }
@@ -77,12 +89,18 @@ const StyledButton = styled(Button)`
77
89
 
78
90
  ${inverted ? `
79
91
  color: ${colors.white};
92
+
93
+ text-decoration-color: ${colors.white};
94
+
80
95
  svg {
81
96
  fill: ${colors.white};
82
97
  }
83
98
 
84
99
  &:not([disabled]):hover {
85
100
  color: ${hexToRgb(colors.white, 0.5)};
101
+
102
+ text-decoration-color: ${hexToRgb(colors.white, 0.5)};
103
+
86
104
  svg {
87
105
  fill: ${hexToRgb(colors.white, 0.5)};
88
106
  }
@@ -90,6 +108,9 @@ const StyledButton = styled(Button)`
90
108
 
91
109
  &:not([disabled]):focus, &:not([disabled]):active {
92
110
  color: ${hexToRgb(colors.white, 0.75)};
111
+
112
+ text-decoration-color: ${hexToRgb(colors.white, 0.75)};
113
+
93
114
  svg {
94
115
  fill: ${hexToRgb(colors.white, 0.75)};
95
116
  }
@@ -100,6 +121,10 @@ const StyledButton = styled(Button)`
100
121
  background-color: ${button.types.text.backgroundColor};
101
122
  border-color: ${button.types.text.backgroundColor};
102
123
  color: ${button.types.text.disabled};
124
+
125
+ text-decoration: underline;
126
+ text-decoration-color: ${button.types.text.disabled};
127
+
103
128
  svg {
104
129
  fill: ${button.types.text.disabled};
105
130
  }
package/esm/Text/index.js CHANGED
@@ -1,34 +1,4 @@
1
- import {
2
- Text,
3
- H1,
4
- H2,
5
- H3,
6
- H4,
7
- H5,
8
- Small,
9
- Tiny,
10
- Light,
11
- Regular,
12
- Medium,
13
- Bold,
14
- Black,
15
- SectionTitle,
16
- SmallestException
17
- } from "./web";
18
- Text.H1 = H1;
19
- Text.H2 = H2;
20
- Text.H3 = H3;
21
- Text.H4 = H4;
22
- Text.H5 = H5;
23
- Text.Small = Small;
24
- Text.Tiny = Tiny;
25
- Text.Light = Light;
26
- Text.Regular = Regular;
27
- Text.Medium = Medium;
28
- Text.Bold = Bold;
29
- Text.Black = Black;
30
- Text.SectionTitle = SectionTitle;
31
- Text.SmallestException = SmallestException;
1
+ import { Text } from "./web";
32
2
  var Text_default = Text;
33
3
  export {
34
4
  Text_default as default
@@ -1,34 +1,4 @@
1
- import {
2
- Text,
3
- H1,
4
- H2,
5
- H3,
6
- H4,
7
- H5,
8
- Small,
9
- Tiny,
10
- Light,
11
- Regular,
12
- Medium,
13
- Bold,
14
- Black,
15
- SectionTitle,
16
- SmallestException
17
- } from "./native";
18
- Text.H1 = H1;
19
- Text.H2 = H2;
20
- Text.H3 = H3;
21
- Text.H4 = H4;
22
- Text.H5 = H5;
23
- Text.Small = Small;
24
- Text.Tiny = Tiny;
25
- Text.Light = Light;
26
- Text.Regular = Regular;
27
- Text.Medium = Medium;
28
- Text.Bold = Bold;
29
- Text.Black = Black;
30
- Text.SectionTitle = SectionTitle;
31
- Text.SmallestException = SmallestException;
1
+ import { Text } from "./native";
32
2
  var index_native_default = Text;
33
3
  export {
34
4
  index_native_default as default
@@ -56,6 +56,20 @@ SmallestException.displayName = "Text.SmallestException";
56
56
  const TextRenderer = styledText("p");
57
57
  const Text = (props) => /* @__PURE__ */ jsx(TextRenderer, __spreadValues({}, props));
58
58
  Text.displayName = "Text";
59
+ Text.H1 = H1;
60
+ Text.H2 = H2;
61
+ Text.H3 = H3;
62
+ Text.H4 = H4;
63
+ Text.H5 = H5;
64
+ Text.Small = Small;
65
+ Text.Tiny = Tiny;
66
+ Text.Light = Light;
67
+ Text.Regular = Regular;
68
+ Text.Medium = Medium;
69
+ Text.Bold = Bold;
70
+ Text.Black = Black;
71
+ Text.SectionTitle = SectionTitle;
72
+ Text.SmallestException = SmallestException;
59
73
  const fontSizes = oneOf([
60
74
  "xxsmall",
61
75
  "xsmall",
@@ -58,6 +58,20 @@ SmallestException.displayName = "Text.SmallestException";
58
58
  const TextRenderer = styledText("p");
59
59
  const Text = (props) => /* @__PURE__ */ jsx(TextRenderer, __spreadValues({}, props));
60
60
  Text.displayName = "Text";
61
+ Text.H1 = H1;
62
+ Text.H2 = H2;
63
+ Text.H3 = H3;
64
+ Text.H4 = H4;
65
+ Text.H5 = H5;
66
+ Text.Small = Small;
67
+ Text.Tiny = Tiny;
68
+ Text.Light = Light;
69
+ Text.Regular = Regular;
70
+ Text.Medium = Medium;
71
+ Text.Bold = Bold;
72
+ Text.Black = Black;
73
+ Text.SectionTitle = SectionTitle;
74
+ Text.SmallestException = SmallestException;
61
75
  const fontSizes = oneOf([
62
76
  "xxsmall",
63
77
  "xsmall",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gympass/yoga",
3
- "version": "7.90.1",
3
+ "version": "7.91.1",
4
4
  "description": "Gympass component library",
5
5
  "main": "./cjs",
6
6
  "types": "./typings/index.d.ts",
@@ -46,6 +46,7 @@
46
46
  },
47
47
  "devDependencies": {
48
48
  "@react-native-community/eslint-config": "^3.0.1",
49
+ "@types/styled-components": "^5.1.34",
49
50
  "babel-plugin-inline-react-svg": "^1.1.1",
50
51
  "react-native": "0.72.3",
51
52
  "styled-components": "^4.4.0"
@@ -56,7 +57,7 @@
56
57
  "react-native": "0.72.3",
57
58
  "styled-components": "^4.4.0"
58
59
  },
59
- "gitHead": "8dad59f700b4ff4e3be23c1f178258ab0c92663f",
60
+ "gitHead": "9cdfae959a192ee74b28474e57056d175b734906",
60
61
  "module": "./esm",
61
62
  "private": false,
62
63
  "react-native": "./cjs/index.native.js"
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+
3
+ declare const _default: React.ForwardRefExoticComponent<{
4
+ [x: string]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
5
+ [x: number]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
6
+ [x: symbol]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
7
+ } & {
8
+ theme?: any;
9
+ }>;
10
+
11
+ export { _default as _ };
@@ -1,6 +1,7 @@
1
- import { N as NavigationMenu } from '../NavigationMenu-373d8980.js';
1
+ import { N as NavigationMenu } from '../NavigationMenu-4912428a.js';
2
2
  import '../Switcher-a8dff781.js';
3
3
  import 'react';
4
+ import 'styled-components';
4
5
 
5
6
 
6
7
 
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { _ as _default } from '../../../Icon-4557ae6b.js';
2
+ import { _ as _default } from '../../../Icon-19f6da82.js';
3
3
 
4
4
  declare type ItemProps = {
5
5
  active?: boolean;
@@ -1,6 +1,62 @@
1
- declare const StyledTextContainer: any;
2
- declare const StyledTag: any;
3
- declare const StyledText: any;
4
- declare const StyledItem: any;
1
+ import * as prop_types from 'prop-types';
2
+ import * as styled_components from 'styled-components';
3
+
4
+ declare const StyledTextContainer: styled_components.StyledComponent<string, any, {
5
+ isSubItem?: boolean | undefined;
6
+ children: React.ReactNode;
7
+ }, never>;
8
+ declare const StyledTag: styled_components.StyledComponent<{
9
+ (props: any): JSX.Element;
10
+ propTypes: {
11
+ variant: prop_types.Requireable<string>;
12
+ children: prop_types.Validator<string | number | boolean | prop_types.ReactElementLike | prop_types.ReactNodeArray>;
13
+ small: prop_types.Requireable<boolean>;
14
+ ellipsis: prop_types.Requireable<boolean>;
15
+ };
16
+ defaultProps: {
17
+ variant: string;
18
+ small: boolean;
19
+ ellipsis: boolean;
20
+ };
21
+ }, any, {}, never>;
22
+ declare const StyledText: styled_components.StyledComponent<{
23
+ (props: any): JSX.Element;
24
+ displayName: string;
25
+ H1: styled_components.StyledComponent<string, any, {}, never>;
26
+ H2: styled_components.StyledComponent<string, any, {}, never>;
27
+ H3: styled_components.StyledComponent<string, any, {}, never>;
28
+ H4: styled_components.StyledComponent<string, any, {}, never>;
29
+ H5: styled_components.StyledComponent<string, any, {}, never>;
30
+ Small: styled_components.StyledComponent<string, any, {}, never>;
31
+ Tiny: styled_components.StyledComponent<string, any, {}, never>;
32
+ Light: styled_components.StyledComponent<string, any, {}, never>;
33
+ Regular: styled_components.StyledComponent<string, any, {}, never>;
34
+ Medium: styled_components.StyledComponent<string, any, {}, never>;
35
+ Bold: styled_components.StyledComponent<string, any, {}, never>;
36
+ Black: styled_components.StyledComponent<string, any, {}, never>;
37
+ SectionTitle: styled_components.StyledComponent<string, any, {}, never>;
38
+ SmallestException: styled_components.StyledComponent<string, any, {}, never>;
39
+ propTypes: {
40
+ inverted: prop_types.Requireable<boolean>;
41
+ numberOfLines: prop_types.Requireable<number>;
42
+ variant: (props: any, propName: any, componentName: any, ...rest: any[]) => any;
43
+ size: (props: any, propName: any, componentName: any, ...rest: any[]) => any;
44
+ light: prop_types.Requireable<boolean>;
45
+ fontSize: prop_types.Requireable<string>;
46
+ };
47
+ defaultProps: {
48
+ inverted: boolean;
49
+ variant: undefined;
50
+ size: undefined;
51
+ fontSize: string;
52
+ numberOfLines: undefined;
53
+ light: boolean;
54
+ };
55
+ }, any, {}, never>;
56
+ declare const StyledItem: styled_components.StyledComponent<string, any, {
57
+ isActive: boolean;
58
+ isResponsive?: boolean | undefined;
59
+ children: React.ReactNode;
60
+ }, never>;
5
61
 
6
62
  export { StyledItem, StyledTag, StyledText, StyledTextContainer };
@@ -1,6 +1,7 @@
1
- import { N as NavigationMenu } from '../../NavigationMenu-373d8980.js';
1
+ import { N as NavigationMenu } from '../../NavigationMenu-4912428a.js';
2
2
  import '../../Switcher-a8dff781.js';
3
3
  import 'react';
4
+ import 'styled-components';
4
5
 
5
6
 
6
7
 
@@ -1,4 +1,5 @@
1
1
  import { S as SwitcherActionsProps } from './Switcher-a8dff781.js';
2
+ import * as styled_components from 'styled-components';
2
3
  import React from 'react';
3
4
 
4
5
  declare type NavigationMenuProps = {
@@ -8,7 +9,7 @@ declare type NavigationMenuProps = {
8
9
  };
9
10
  declare const NavigationMenu: {
10
11
  ({ children, openOnMobile, responsive, }: NavigationMenuProps): JSX.Element;
11
- Header: any;
12
+ Header: styled_components.StyledComponent<string, any, {}, never>;
12
13
  Menu: ({ avatar: Avatar, subtitle, title, onClick }: {
13
14
  avatar: React.ReactElement<any, string | React.JSXElementConstructor<any>>;
14
15
  subtitle?: string | undefined;
@@ -24,13 +25,19 @@ declare const NavigationMenu: {
24
25
  subtitle?: string | undefined;
25
26
  title?: string | undefined;
26
27
  }) => JSX.Element;
27
- Items: any;
28
- ItemsGroup: any;
28
+ Items: styled_components.StyledComponent<string, any, {}, never>;
29
+ ItemsGroup: styled_components.StyledComponent<string, any, {}, never>;
29
30
  Item: ({ active, children, expanded, icon: Icon, label, responsive, tag, wrapper: Wrapper, }: {
30
31
  active?: boolean | undefined;
31
32
  children?: React.ReactNode;
32
33
  expanded?: boolean | undefined;
33
- icon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
34
+ icon?: React.ReactElement<React.ForwardRefExoticComponent<{
35
+ [x: string]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
36
+ [x: number]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
37
+ [x: symbol]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
38
+ } & {
39
+ theme?: any;
40
+ }>, string | React.JSXElementConstructor<any>> | undefined;
34
41
  label: string;
35
42
  responsive?: boolean | undefined;
36
43
  tag?: string | undefined;
@@ -50,7 +57,7 @@ declare const NavigationMenu: {
50
57
  label: string;
51
58
  wrapper: React.FunctionComponent<any>;
52
59
  }) => JSX.Element;
53
- Footer: any;
60
+ Footer: styled_components.StyledComponent<string, any, {}, never>;
54
61
  };
55
62
 
56
63
  export { NavigationMenu as N };
@@ -1,8 +1,9 @@
1
1
  import * as prop_types from 'prop-types';
2
2
  import prop_types__default, { string, bool, func, node, number, elementType } from 'prop-types';
3
3
  import React from 'react';
4
- export { _ as Icon } from './Icon-4557ae6b.js';
5
- export { N as NavigationMenu } from './NavigationMenu-373d8980.js';
4
+ import * as styled_components from 'styled-components';
5
+ export { _ as Icon } from './Icon-19f6da82.js';
6
+ export { N as NavigationMenu } from './NavigationMenu-4912428a.js';
6
7
  import './Switcher-a8dff781.js';
7
8
 
8
9
  /** This component provides a theme to all React components underneath itself via the context API. */
@@ -16,7 +17,13 @@ declare namespace ThemeProvider {
16
17
  }
17
18
  }
18
19
 
19
- declare const _default$9: any;
20
+ declare const _default$9: React.ForwardRefExoticComponent<{
21
+ [x: string]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
22
+ [x: number]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
23
+ [x: symbol]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
24
+ } & {
25
+ theme?: any;
26
+ }>;
20
27
 
21
28
  declare function composeTheme(tokens: any, customTheming?: {}): any;
22
29
 
@@ -73,9 +80,21 @@ containing primary and supplemental actions, which are represented by icons and
73
80
  text. */
74
81
  declare const List: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
75
82
 
76
- declare const _default$7: any;
77
-
78
- declare const _default$6: any;
83
+ declare const _default$7: React.ForwardRefExoticComponent<{
84
+ [x: string]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
85
+ [x: number]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
86
+ [x: symbol]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
87
+ } & {
88
+ theme?: any;
89
+ }>;
90
+
91
+ declare const _default$6: React.ForwardRefExoticComponent<{
92
+ [x: string]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
93
+ [x: number]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
94
+ [x: symbol]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
95
+ } & {
96
+ theme?: any;
97
+ }>;
79
98
 
80
99
  declare function RadioGroup({ name, onChange, selectedValue, small, full, children, style, ...rest }: {
81
100
  [x: string]: any;
@@ -133,7 +152,13 @@ declare namespace PlanCard {
133
152
  const displayName: string;
134
153
  }
135
154
 
136
- declare const _default$5: any;
155
+ declare const _default$5: React.ForwardRefExoticComponent<{
156
+ [x: string]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
157
+ [x: number]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
158
+ [x: symbol]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
159
+ } & {
160
+ theme?: any;
161
+ }>;
137
162
 
138
163
  declare function limitChildren(props: any, propName: any, componentName: any): Error | null;
139
164
 
@@ -160,18 +185,32 @@ declare namespace Stepper {
160
185
  }
161
186
  }
162
187
 
163
- declare const Container: any;
188
+ declare const Container: styled_components.StyledComponent<string, any, {}, never>;
164
189
 
165
- declare const Row: any;
190
+ declare const Row: styled_components.StyledComponent<string, any, {}, never>;
166
191
 
167
- declare const Col: any;
192
+ declare const Col: styled_components.StyledComponent<string, any, {}, never>;
168
193
 
169
- declare const Hide: any;
194
+ declare const Hide: styled_components.StyledComponent<string, any, {}, never>;
170
195
 
171
196
  declare function Text(props: any): JSX.Element;
172
197
  declare namespace Text {
173
- const displayName: string;
174
- namespace propTypes {
198
+ export const displayName: string;
199
+ export { H1 };
200
+ export { H2 };
201
+ export { H3 };
202
+ export { H4 };
203
+ export { H5 };
204
+ export { Small };
205
+ export { Tiny };
206
+ export { Light };
207
+ export { Regular };
208
+ export { Medium };
209
+ export { Bold };
210
+ export { Black };
211
+ export { SectionTitle };
212
+ export { SmallestException };
213
+ export namespace propTypes {
175
214
  export { bool as inverted };
176
215
  export { number as numberOfLines };
177
216
  export const variant: (props: any, propName: any, componentName: any, ...rest: any[]) => any;
@@ -179,7 +218,7 @@ declare namespace Text {
179
218
  export { bool as light };
180
219
  export { fontSizes as fontSize };
181
220
  }
182
- namespace defaultProps {
221
+ export namespace defaultProps {
183
222
  export const inverted: boolean;
184
223
  const variant_1: undefined;
185
224
  export { variant_1 as variant };
@@ -190,9 +229,30 @@ declare namespace Text {
190
229
  export const light: boolean;
191
230
  }
192
231
  }
232
+ declare const H1: styled_components.StyledComponent<string, any, {}, never>;
233
+ declare const H2: styled_components.StyledComponent<string, any, {}, never>;
234
+ declare const H3: styled_components.StyledComponent<string, any, {}, never>;
235
+ declare const H4: styled_components.StyledComponent<string, any, {}, never>;
236
+ declare const H5: styled_components.StyledComponent<string, any, {}, never>;
237
+ declare const Small: styled_components.StyledComponent<string, any, {}, never>;
238
+ declare const Tiny: styled_components.StyledComponent<string, any, {}, never>;
239
+ declare const Light: styled_components.StyledComponent<string, any, {}, never>;
240
+ declare const Regular: styled_components.StyledComponent<string, any, {}, never>;
241
+ declare const Medium: styled_components.StyledComponent<string, any, {}, never>;
242
+ declare const Bold: styled_components.StyledComponent<string, any, {}, never>;
243
+ declare const Black: styled_components.StyledComponent<string, any, {}, never>;
244
+ declare const SectionTitle: styled_components.StyledComponent<string, any, {}, never>;
245
+ declare const SmallestException: styled_components.StyledComponent<string, any, {}, never>;
246
+
193
247
  declare const fontSizes: prop_types.Requireable<string>;
194
248
 
195
- declare const _default$4: any;
249
+ declare const _default$4: React.ForwardRefExoticComponent<{
250
+ [x: string]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
251
+ [x: number]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
252
+ [x: symbol]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
253
+ } & {
254
+ theme?: any;
255
+ }>;
196
256
 
197
257
  /** Tags should be keywords to categorize or organize an item. */
198
258
  declare function Tag(props: any): JSX.Element;
@@ -232,11 +292,23 @@ declare const TextArea: React.ForwardRefExoticComponent<React.RefAttributes<any>
232
292
  /** The autocomplete is a normal input field enhanced by a panel of suggested options. */
233
293
  declare const AutoComplete: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
234
294
 
235
- declare const _default$3: any;
295
+ declare const _default$3: React.ForwardRefExoticComponent<{
296
+ [x: string]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
297
+ [x: number]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
298
+ [x: symbol]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
299
+ } & {
300
+ theme?: any;
301
+ }>;
236
302
 
237
- declare const Box: any;
303
+ declare const Box: styled_components.StyledComponent<string, any, {}, never>;
238
304
 
239
- declare const _default$2: React.MemoExoticComponent<any>;
305
+ declare const _default$2: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
306
+ [x: string]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
307
+ [x: number]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
308
+ [x: symbol]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
309
+ } & {
310
+ theme?: any;
311
+ }>>;
240
312
 
241
313
  /**
242
314
  * The Avatar component is used to display the image.
@@ -248,7 +320,13 @@ declare const BottomSheet: React.ForwardRefExoticComponent<React.RefAttributes<a
248
320
 
249
321
  declare const Dialog: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
250
322
 
251
- declare const _default$1: any;
323
+ declare const _default$1: React.ForwardRefExoticComponent<{
324
+ [x: string]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
325
+ [x: number]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
326
+ [x: symbol]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
327
+ } & {
328
+ theme?: any;
329
+ }>;
252
330
 
253
331
  declare function Header({ link, logo, children, ...props }: {
254
332
  [x: string]: any;
@@ -430,6 +508,12 @@ declare namespace ActionRequirement {
430
508
 
431
509
  declare const Popover: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
432
510
 
433
- declare const _default: any;
511
+ declare const _default: React.ForwardRefExoticComponent<{
512
+ [x: string]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
513
+ [x: number]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
514
+ [x: symbol]: React.JSX.LibraryManagedAttributes<C, React.ComponentPropsWithRef<C>>;
515
+ } & {
516
+ theme?: any;
517
+ }>;
434
518
 
435
519
  export { Accordion, ActionRequirement, AutoComplete, Avatar, Banner, BottomSheet, Box, Button, Card, _default$7 as Checkbox, _default$3 as Chips, Col, Container, Datepicker, Dialog, _default$1 as Divider, Drawer, Dropdown, _default$5 as EventCard, Feedback, _default$9 as FontLoader, Header, Heading, Hide, Input, List, Menu, PlanCard, Popover, Progress, RadioGroup, _default$4 as Rating, Row, Skeleton, _default$6 as Slider, _default$2 as Snackbar, _default as Spinner, Stepper, Tag, Text, TextArea, ThemeProvider, createTheme, _default$8 as theme, composeTheme as yogaTheme };
@@ -1,3 +0,0 @@
1
- declare const _default: any;
2
-
3
- export { _default as _ };