beem-component 2.1.8 → 2.1.29

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 (50) hide show
  1. package/Dockerfile +1 -1
  2. package/Jenkinsfile +5 -20
  3. package/dist/components/BmSelector/BmSelector.js +2 -15
  4. package/dist/components/BmSelector/BmSelector.stories.js +1 -14
  5. package/dist/components/Card_v2/Card.js +1 -1
  6. package/dist/components/InfoPanel/InfoPanel.js +17 -54
  7. package/dist/components/InfoPanel/InfoPanel.stories.js +4 -56
  8. package/dist/components/globalStyles.js +1 -1
  9. package/dist/components/index.js +0 -14
  10. package/dist/components/text.js +10 -11
  11. package/dist/components/typography.js +2 -3
  12. package/package.json +1 -1
  13. package/public/index.html +0 -1
  14. package/src/App.js +65 -128
  15. package/src/fonts.scss +0 -6
  16. package/src/lib/components/BmSelector/BmSelector.js +1 -14
  17. package/src/lib/components/BmSelector/BmSelector.stories.jsx +0 -10
  18. package/src/lib/components/Card_v2/Card.js +0 -20
  19. package/src/lib/components/InfoPanel/InfoPanel.js +11 -35
  20. package/src/lib/components/InfoPanel/InfoPanel.stories.jsx +2 -42
  21. package/src/lib/components/globalStyles.js +1 -2
  22. package/src/lib/components/index.js +0 -4
  23. package/src/lib/components/text.js +11 -17
  24. package/src/lib/components/typography.js +0 -1
  25. package/dist/components/Alert/Alert.js +0 -83
  26. package/dist/components/Alert/Alert.stories.js +0 -66
  27. package/dist/components/BmCustomCardTitle/CustomCardTitle.js +0 -174
  28. package/dist/components/BmCustomCardTitle/CustomCardTitle.stories.js +0 -85
  29. package/src/fonts/Inter-Black.woff2 +0 -0
  30. package/src/fonts/Inter-Bold.woff2 +0 -0
  31. package/src/fonts/Inter-ExtraBold.woff2 +0 -0
  32. package/src/fonts/Inter-ExtraLight.woff2 +0 -0
  33. package/src/fonts/Inter-Light.woff2 +0 -0
  34. package/src/fonts/Inter-Medium.woff2 +0 -0
  35. package/src/fonts/Inter-Regular.woff2 +0 -0
  36. package/src/fonts/Inter-SemiBold.woff2 +0 -0
  37. package/src/fonts/Inter-Thin.woff2 +0 -0
  38. package/src/fonts/Inter-VariableFont_opsz,wght.ttf +0 -0
  39. package/src/fonts/InterDisplay-Black.woff2 +0 -0
  40. package/src/fonts/InterDisplay-Bold.woff2 +0 -0
  41. package/src/fonts/InterDisplay-ExtraBold.woff2 +0 -0
  42. package/src/fonts/InterDisplay-ExtraLight.woff2 +0 -0
  43. package/src/fonts/InterDisplay-Light.woff2 +0 -0
  44. package/src/fonts/InterDisplay-Medium.woff2 +0 -0
  45. package/src/fonts/InterDisplay-SemiBold.woff2 +0 -0
  46. package/src/fonts/InterDisplay-Thin.woff2 +0 -0
  47. package/src/lib/components/Alert/Alert.js +0 -111
  48. package/src/lib/components/Alert/Alert.stories.jsx +0 -66
  49. package/src/lib/components/BmCustomCardTitle/CustomCardTitle.js +0 -142
  50. package/src/lib/components/BmCustomCardTitle/CustomCardTitle.stories.jsx +0 -83
package/Dockerfile CHANGED
@@ -24,7 +24,7 @@ COPY --from=build /app/storybook-static /usr/share/nginx/html
24
24
  RUN rm /etc/nginx/conf.d/default.conf
25
25
 
26
26
  # Replace the default NGINX config with your custom one
27
- COPY nginx.conf /etc/nginx/conf.d/
27
+ COPY nginx.conf /etc/nginx/conf.d/default.conf
28
28
 
29
29
 
30
30
  EXPOSE 3000
package/Jenkinsfile CHANGED
@@ -1,43 +1,33 @@
1
1
  pipeline{
2
2
  agent any
3
- parameters {
4
- string(name: 'TAG', description: 'Tag Number Ex: v2.0.0')
5
- }
6
3
  tools {nodejs "nodejs"}
7
4
  environment
8
5
  {
9
- VERSION = "${params.TAG != "" ? params.TAG : "v2.0.${BUILD_NUMBER}"}"
6
+ VERSION = "v1.0.${BUILD_NUMBER}"
10
7
  PROJECT = "bm-components"
11
8
  IMAGE = "$PROJECT:$VERSION"
12
9
  ECRURL = "https://347944191864.dkr.ecr.eu-west-1.amazonaws.com"
13
10
  ECRCRED = "ecr:eu-west-1:awscred"
14
- GIT_CREDS = "master-user-dev"
15
- GIT_URL = "git@bitbucket.org:bongolive/${PROJECT}.git"
16
-
17
11
  }
12
+
18
13
  stages{
19
14
  stage('Deploy for development') {
20
15
  when {
21
16
  branch 'develop'
22
17
  }
23
18
  steps {
24
- git branch: 'develop',credentialsId: "${GIT_CREDS}",url: "${GIT_URL}"
19
+ git branch: 'develop',credentialsId: 'bitbucket',url: "https://bitbucket.org/bongolive/${PROJECT}.git"
25
20
  }
26
21
  }
27
22
  stage('Deploy for production') {
28
23
  when {
29
24
  branch 'master'
30
25
  }
31
- steps {
32
- git branch: 'master',credentialsId: "${GIT_CREDS}",url: "${GIT_URL}"
26
+ steps {
27
+ git branch: 'master',credentialsId: 'bitbucket',url: "https://bitbucket.org/bongolive/${PROJECT}.git"
33
28
  }
34
29
  }
35
30
  stage('Image build') {
36
- when {
37
- expression {
38
- return params.TAG == ''
39
- }
40
- }
41
31
  steps{
42
32
  script
43
33
  {
@@ -46,11 +36,6 @@ pipeline{
46
36
  }
47
37
  }
48
38
  stage('Image push') {
49
- when {
50
- expression {
51
- return params.TAG == ''
52
- }
53
- }
54
39
  steps {
55
40
  script
56
41
  {
@@ -89,23 +89,10 @@ const BmSelector = _ref8 => {
89
89
  themeColor,
90
90
  textColor,
91
91
  fontWeight,
92
- name = 'selection',
93
- useFormik = false
92
+ name = 'selection'
94
93
  } = _ref8;
95
94
  return /*#__PURE__*/_react.default.createElement(RadioGroupWrapper, null, data.map(item => {
96
95
  const isSelected = selectedDataId === item.id;
97
- const handleChange = () => {
98
- if (useFormik) {
99
- onChange({
100
- target: {
101
- name,
102
- value: item.id
103
- }
104
- });
105
- } else {
106
- onChange(item.id);
107
- }
108
- };
109
96
  return /*#__PURE__*/_react.default.createElement("label", {
110
97
  key: item.id,
111
98
  htmlFor: item.id
@@ -114,7 +101,7 @@ const BmSelector = _ref8 => {
114
101
  name: name,
115
102
  value: item.id,
116
103
  checked: isSelected,
117
- onChange: handleChange
104
+ onChange: () => onChange(item.id)
118
105
  }), /*#__PURE__*/_react.default.createElement(TimeSlotCard, {
119
106
  selected: isSelected,
120
107
  themeColor: themeColor
@@ -56,12 +56,6 @@ var _default = exports.default = {
56
56
  endDate: '09:30 AM'
57
57
  }
58
58
  }]
59
- },
60
- useFormik: {
61
- control: {
62
- type: 'boolean'
63
- },
64
- defaultValue: false
65
59
  }
66
60
  }
67
61
  };
@@ -108,7 +102,6 @@ Default.args = {
108
102
  endDate: '09:30 AM'
109
103
  }
110
104
  }],
111
- useFormik: false,
112
105
  themeColor: '#33B1BA',
113
106
  textColor: '#33B1BA',
114
107
  fontWeight: '',
@@ -131,21 +124,15 @@ const Example = () => {
131
124
  endDate: '11:10 AM'
132
125
  }
133
126
  }];
134
-
135
- // When you use useFormik as true then you need to pass handleChange func and the name [name="time"].
136
- // so that is works accordingly
137
-
138
127
  const [selectedDataId, setSelectedDataId] = (0, _react.useState)(null);
139
128
  return /*#__PURE__*/_react.default.createElement(_BmSelector.default, {
140
- name: "time",
141
129
  data: slots,
142
130
  selectedDataId: selectedDataId,
143
131
  onChange: setSelectedDataId,
144
132
  icon: _AccessTime.default,
145
133
  themeColor: "#33B1BA",
146
134
  textColor: "#33B1BA",
147
- fontWeight: "600",
148
- useFormik: "false"
135
+ fontWeight: "600"
149
136
  });
150
137
  };
151
138
  exports.Example = Example;
@@ -51,7 +51,7 @@ const Description = _styledComponents.default.p.withConfig({
51
51
  })(["color:var(--muted-foreground,#666);margin:0;"]);
52
52
  const Content = _styledComponents.default.div.withConfig({
53
53
  displayName: "Card__Content"
54
- })(["min-height:180px;padding:0 1.5rem;max-height:calc(100vh - 28.5714rem);overflow-y:auto;scrollbar-width:thin;scrollbar-color:", " transparent;&::-webkit-scrollbar-thumb{background:", ";border-radius:0.6429rem;transition:background 0.2s ease;}&::-webkit-scrollbar-thumb:hover{background:", ";}&:last-child{padding-bottom:1.5rem;}@media (max-width:54.8571rem){max-height:calc(100vh - 17.8572rem);}"], () => hexToRgba('#33b1ba', 0.2), () => hexToRgba('#33b1ba', 0.3), () => hexToRgba('#33b1ba', 0.3));
54
+ })(["padding:0 1.5rem;&:last-child{padding-bottom:1.5rem;}"]);
55
55
  const Footer = _styledComponents.default.div.withConfig({
56
56
  displayName: "Card__Footer"
57
57
  })(["display:flex;justify-content:space-between;align-items:center;padding:0 1.5rem 1.5rem 1.5rem;gap:1rem;@media (max-width:42.8571rem){flex-direction:column;align-items:stretch;& > *{width:100%;}}"]);
@@ -30,7 +30,7 @@ const SectionSummaryContainer = _styledComponents.default.div.withConfig({
30
30
  })(["display:flex;align-items:center;margin-bottom:1rem;@media (min-width:45.7143rem){margin-bottom:1.25rem;}"]);
31
31
  const IconBox = _styledComponents.default.div.withConfig({
32
32
  displayName: "InfoPanel__IconBox"
33
- })(["display:flex;align-items:center;justify-content:center;text-align:center;margin-right:0.5rem;padding:0.5rem;border-radius:714.2143rem;background-color:", ";svg{height:1.2rem;width:1.2rem;color:", ";@media (min-width:45.7143rem){height:1.4rem;width:1.4rem;}}"], _ref => {
33
+ })(["display:flex;align-items:center;justify-content:center;text-align:center;margin-right:0.5rem;padding:0.5rem;border-radius:714.2143rem;background-color:", ";svg{height:1.2rem;width:1.2rem;color:", ";@media (min-width:45.7143rem){height:1.5rem;width:1.5rem;}}"], _ref => {
34
34
  let {
35
35
  iconBackgroundColor,
36
36
  iconColor
@@ -63,7 +63,7 @@ const SummarySubtitle = _styledComponents.default.p.withConfig({
63
63
  });
64
64
  const SectionContainer = _styledComponents.default.div.withConfig({
65
65
  displayName: "InfoPanel__SectionContainer"
66
- })(["padding:0.6rem 1rem;display:flex;align-items:center;gap:0.5rem;", " @media (max-width:42.8571rem){padding:0.5rem 0.75rem;gap:0.25rem;}"], _ref5 => {
66
+ })(["padding:0.75rem 1rem;display:flex;align-items:center;gap:0.5rem;", " @media (max-width:42.8571rem){padding:0.5rem 0.75rem;gap:0.25rem;}"], _ref5 => {
67
67
  let {
68
68
  backgroundColor
69
69
  } = _ref5;
@@ -80,35 +80,14 @@ const RowContainer = _styledComponents.default.div.withConfig({
80
80
  })(["display:flex;justify-content:space-between;font-size:0.875rem;align-items:center;@media (max-width:42.8571rem){font-size:0.8rem;}"]);
81
81
  const Label = _styledComponents.default.span.withConfig({
82
82
  displayName: "InfoPanel__Label"
83
- })(["color:", ";@media (max-width:42.8571rem){font-size:0.75rem;}"], _ref6 => {
84
- let {
85
- labelTextColor
86
- } = _ref6;
87
- return hexToRgba(labelTextColor || '#000000', 0.6);
88
- });
83
+ })(["color:rgba(0,0,0,0.6);@media (max-width:42.8571rem){font-size:0.75rem;}"]);
89
84
  const Value = _styledComponents.default.span.withConfig({
90
85
  displayName: "InfoPanel__Value"
91
- })(["font-weight:500;color:", ";@media (max-width:42.8571rem){font-size:0.75rem;}"], _ref7 => {
92
- let {
93
- valueTextColor
94
- } = _ref7;
95
- return hexToRgba(valueTextColor || '#000000', 1);
96
- });
86
+ })(["font-weight:500;@media (max-width:42.8571rem){font-size:0.75rem;}"]);
97
87
  const Divider = _styledComponents.default.hr.withConfig({
98
88
  displayName: "InfoPanel__Divider"
99
- })(["border:none;border-top:", ";margin:1rem auto;max-width:97%;@media (max-width:42.8571rem){margin:0.75rem auto;max-width:97%;}"], _ref8 => {
100
- let {
101
- showDivider,
102
- dividerColor = '#33b1ba',
103
- dividerType = 'dashed',
104
- dividerWitdh = '1px',
105
- dividerOpacity = '0.2'
106
- } = _ref8;
107
- if (showDivider) {
108
- return "".concat(dividerWitdh, " ").concat(dividerType, " ").concat(hexToRgba(dividerColor, dividerOpacity));
109
- }
110
- });
111
- const SectionSummary = _ref9 => {
89
+ })(["border:none;border-top:0.0714rem dashed rgba(51,177,186,0.2);margin:1rem auto;max-width:97%;@media (max-width:42.8571rem){margin:0.75rem auto;max-width:97%;}"]);
90
+ const SectionSummary = _ref6 => {
112
91
  let {
113
92
  icon: Icon,
114
93
  title,
@@ -116,7 +95,7 @@ const SectionSummary = _ref9 => {
116
95
  textColor,
117
96
  subtitle,
118
97
  iconBackgroundColor
119
- } = _ref9;
98
+ } = _ref6;
120
99
  return /*#__PURE__*/_react.default.createElement(SectionSummaryContainer, null, Icon && /*#__PURE__*/_react.default.createElement(IconBox, {
121
100
  iconColor: iconColor,
122
101
  iconBackgroundColor: iconBackgroundColor
@@ -126,13 +105,13 @@ const SectionSummary = _ref9 => {
126
105
  textColor: textColor
127
106
  }, subtitle)));
128
107
  };
129
- const BmInfoPanel = _ref0 => {
108
+ const BmInfoPanel = _ref7 => {
130
109
  let {
131
110
  children
132
- } = _ref0;
111
+ } = _ref7;
133
112
  return /*#__PURE__*/_react.default.createElement(Panel, null, children);
134
113
  };
135
- const Section = _ref1 => {
114
+ const Section = _ref8 => {
136
115
  let {
137
116
  title,
138
117
  icon: Icon,
@@ -140,37 +119,21 @@ const Section = _ref1 => {
140
119
  showDivider,
141
120
  backgroundColor,
142
121
  iconColor,
143
- iconBackgroundColor,
144
- dividerColor,
145
- dividerWitdh,
146
- dividerType,
147
- dividerOpacity
148
- } = _ref1;
149
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, showDivider && /*#__PURE__*/_react.default.createElement(Divider, {
150
- dividerColor: dividerColor,
151
- showDivider: showDivider,
152
- dividerWitdh: dividerWitdh,
153
- dividerType: dividerType,
154
- dividerOpacity: dividerOpacity
155
- }), /*#__PURE__*/_react.default.createElement(SectionContainer, {
122
+ iconBackgroundColor
123
+ } = _ref8;
124
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, showDivider && /*#__PURE__*/_react.default.createElement(Divider, null), /*#__PURE__*/_react.default.createElement(SectionContainer, {
156
125
  backgroundColor: backgroundColor
157
126
  }, Icon && /*#__PURE__*/_react.default.createElement(IconBox, {
158
127
  iconColor: iconColor,
159
128
  iconBackgroundColor: iconBackgroundColor
160
129
  }, /*#__PURE__*/_react.default.createElement(Icon, null)), /*#__PURE__*/_react.default.createElement(SectionTitle, null, title)), /*#__PURE__*/_react.default.createElement(SectionBody, null, children));
161
130
  };
162
- const Row = _ref10 => {
131
+ const Row = _ref9 => {
163
132
  let {
164
133
  label,
165
- value,
166
- labelTextColor,
167
- valueTextColor
168
- } = _ref10;
169
- return /*#__PURE__*/_react.default.createElement(RowContainer, null, /*#__PURE__*/_react.default.createElement(Label, {
170
- labelTextColor: labelTextColor
171
- }, label, ":"), /*#__PURE__*/_react.default.createElement(Value, {
172
- valueTextColor: valueTextColor
173
- }, value));
134
+ value
135
+ } = _ref9;
136
+ return /*#__PURE__*/_react.default.createElement(RowContainer, null, /*#__PURE__*/_react.default.createElement(Label, null, label, ":"), /*#__PURE__*/_react.default.createElement(Value, null, value));
174
137
  };
175
138
  BmInfoPanel.Section = Section;
176
139
  BmInfoPanel.Row = Row;
@@ -48,34 +48,6 @@ var _default = exports.default = {
48
48
  },
49
49
  iconBackgroundColor: {
50
50
  control: 'boolean'
51
- },
52
- dividerColor: {
53
- control: 'color'
54
- },
55
- dividerWidth: {
56
- control: {
57
- type: 'text'
58
- },
59
- defaultValue: '3px'
60
- },
61
- dividerOpacity: {
62
- control: {
63
- type: 'text'
64
- },
65
- defaultValue: '0.2'
66
- },
67
- dividerType: {
68
- control: {
69
- type: 'select'
70
- },
71
- options: ['dashed', 'solid'],
72
- defaultValue: 'dashed'
73
- },
74
- labelTextColor: {
75
- control: 'color'
76
- },
77
- valueTextColor: {
78
- control: 'color'
79
51
  }
80
52
  }
81
53
  };
@@ -86,13 +58,7 @@ const Template = _ref => {
86
58
  backgroundColor,
87
59
  iconColor,
88
60
  textColor,
89
- iconBackgroundColor,
90
- dividerColor,
91
- dividerOpacity,
92
- dividerType,
93
- dividerWidth,
94
- labelTextColor,
95
- valueTextColor
61
+ iconBackgroundColor
96
62
  } = _ref;
97
63
  if (variant === 'summary') {
98
64
  return /*#__PURE__*/_react.default.createElement(_InfoPanel.default, {
@@ -134,19 +100,13 @@ const Template = _ref => {
134
100
  label: "Date",
135
101
  value: "Monday, June 24, 2025"
136
102
  }), /*#__PURE__*/_react.default.createElement(_InfoPanel.default.Row, {
137
- labelTextColor: labelTextColor,
138
- valueTextColor: valueTextColor,
139
103
  label: "Time",
140
104
  value: "09:00 AM"
141
105
  })), /*#__PURE__*/_react.default.createElement(_InfoPanel.default.Section, {
142
106
  title: "Personal Information",
143
107
  icon: _Person.default,
144
108
  showDivider: showDivider,
145
- iconColor: iconColor,
146
- dividerColor: dividerColor,
147
- dividerType: dividerType,
148
- dividerOpacity: dividerOpacity,
149
- dividerWitdh: dividerWidth
109
+ iconColor: iconColor
150
110
  }, /*#__PURE__*/_react.default.createElement(_InfoPanel.default.Row, {
151
111
  label: "Name",
152
112
  value: "John Doe"
@@ -165,13 +125,7 @@ Default.args = {
165
125
  backgroundColor: '#33B1BA',
166
126
  iconColor: '#33B1BA',
167
127
  textColor: '#000000',
168
- iconBackgroundColor: false,
169
- dividerColor: '#33b1ba',
170
- dividerType: 'dashed',
171
- dividerWidth: '1px',
172
- dividerOpacity: '0.2',
173
- labelTextColor: '#e46a8e',
174
- valueTextColor: '#235e92'
128
+ iconBackgroundColor: false
175
129
  };
176
130
  const ExampleSummary = () => {
177
131
  return /*#__PURE__*/_react.default.createElement(_InfoPanel.default, null, /*#__PURE__*/_react.default.createElement(_InfoPanel.default.Section, {
@@ -208,8 +162,6 @@ const ExampleDetails = () => {
208
162
  label: "Resource",
209
163
  value: formData.resourceName
210
164
  }), /*#__PURE__*/_react.default.createElement(_InfoPanel.default.Row, {
211
- labelTextColor: "#e46a8e",
212
- valueTextColor: "#235e92",
213
165
  label: "Duration",
214
166
  value: appointmentDetails.duration
215
167
  }), /*#__PURE__*/_react.default.createElement(_InfoPanel.default.Row, {
@@ -221,11 +173,7 @@ const ExampleDetails = () => {
221
173
  })), /*#__PURE__*/_react.default.createElement(_InfoPanel.default.Section, {
222
174
  title: "Personal Information",
223
175
  icon: _Person.default,
224
- showDivider: true,
225
- dividerColor: "#33b1ba",
226
- dividerType: "dashed",
227
- dividerWitdh: "1px",
228
- dividerOpacity: "0.2"
176
+ showDivider: true
229
177
  }, /*#__PURE__*/_react.default.createElement(_InfoPanel.default.Row, {
230
178
  label: "Name",
231
179
  value: formData.name
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.GlobalStyle = void 0;
7
7
  var _styledComponents = require("styled-components");
8
8
  var _text = require("./text");
9
- const GlobalStyle = exports.GlobalStyle = (0, _styledComponents.createGlobalStyle)(["*{font-size:14px;cursor:pointer}h1{", "}h2{", "}h3{", "}h4{", "}h5{", "}h6{", "}p{", "}input{", "}a{", "}span{", "}"], _text.h1, _text.h2, _text.h3, _text.h4, _text.h5, _text.h6, _text.p, _text.input, _text.a, _text.span);
9
+ const GlobalStyle = exports.GlobalStyle = (0, _styledComponents.createGlobalStyle)(["*{font-size:14px;cursor:pointer}h1{", "}h2{", "}h3{", "}h4{", "}h5{", "}h6{", "}p{", "}input{", "}a{", "}"], _text.h1, _text.h2, _text.h3, _text.h4, _text.h5, _text.h6, _text.p, _text.input, _text.a);
@@ -9,12 +9,6 @@ Object.defineProperty(exports, "BmAccordion", {
9
9
  return _Accordion.default;
10
10
  }
11
11
  });
12
- Object.defineProperty(exports, "BmAlertBox", {
13
- enumerable: true,
14
- get: function () {
15
- return _Alert.default;
16
- }
17
- });
18
12
  Object.defineProperty(exports, "BmAlertIcon", {
19
13
  enumerable: true,
20
14
  get: function () {
@@ -172,12 +166,6 @@ Object.defineProperty(exports, "BmCounter", {
172
166
  return _messageCounter.default;
173
167
  }
174
168
  });
175
- Object.defineProperty(exports, "BmCustomCardTitle", {
176
- enumerable: true,
177
- get: function () {
178
- return _CustomCardTitle.default;
179
- }
180
- });
181
169
  Object.defineProperty(exports, "BmEmojiIcon", {
182
170
  enumerable: true,
183
171
  get: function () {
@@ -477,7 +465,5 @@ var _LabelWithIcon = _interopRequireDefault(require("./LabelWithIcon/LabelWithIc
477
465
  var _Card = require("./Card_v2/Card");
478
466
  var _InfoPanel = _interopRequireDefault(require("./InfoPanel/InfoPanel"));
479
467
  var _BmSelector = _interopRequireDefault(require("./BmSelector/BmSelector"));
480
- var _CustomCardTitle = _interopRequireDefault(require("./BmCustomCardTitle/CustomCardTitle"));
481
- var _Alert = _interopRequireDefault(require("./Alert/Alert"));
482
468
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
483
469
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -3,28 +3,27 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.span = exports.p = exports.input = exports.h6 = exports.h5 = exports.h4 = exports.h3 = exports.h2 = exports.h1 = exports.a = void 0;
6
+ exports.p = exports.input = exports.h6 = exports.h5 = exports.h4 = exports.h3 = exports.h2 = exports.h1 = exports.a = void 0;
7
7
  var _typography = require("./typography");
8
8
  // 32px
9
- const h1 = exports.h1 = "font-family: ".concat(_typography.Inter, ";\nfont-style: normal;\nfont-weight: 500;\nfont-size: 2.286rem;\nletter-spacing: -0.02rem;\nmargin: 0rem;");
9
+ const h1 = exports.h1 = "font-family: ".concat(_typography.OpenSans, ";\nfont-style: normal;\nfont-weight: 500;\nfont-size: 2.286rem;\nletter-spacing: -0.02rem;\nmargin: 0rem;");
10
10
 
11
11
  // 24px
12
- const h2 = exports.h2 = "font-family: ".concat(_typography.Inter, ";\nfont-style: normal;\nfont-weight: 500;\nfont-size: 1.714rem;\nletter-spacing: -0.02em;\nmargin: 0rem;");
12
+ const h2 = exports.h2 = "font-family: ".concat(_typography.OpenSans, ";\nfont-style: normal;\nfont-weight: 500;\nfont-size: 1.714rem;\nletter-spacing: -0.02em;\nmargin: 0rem;");
13
13
 
14
14
  // 18px
15
- const h3 = exports.h3 = "font-family: ".concat(_typography.Inter, ";\nfont-style: normal;\nfont-weight: 500;\nfont-size: 1.286rem;\nletter-spacing: -0.02rem;\nmargin: 0rem;");
15
+ const h3 = exports.h3 = "font-family: ".concat(_typography.OpenSans, ";\nfont-style: normal;\nfont-weight: 500;\nfont-size: 1.286rem;\nletter-spacing: -0.02rem;\nmargin: 0rem;");
16
16
 
17
17
  // 16px
18
- const h4 = exports.h4 = " font-family: ".concat(_typography.Inter, ";\nfont-style: normal;\nfont-weight: 500;\nfont-size: 1.143rem;\nletter-spacing: -0.02rem;\nmargin: 0rem;");
18
+ const h4 = exports.h4 = " font-family: ".concat(_typography.OpenSans, ";\nfont-style: normal;\nfont-weight: 500;\nfont-size: 1.143rem;\nletter-spacing: -0.02rem;\nmargin: 0rem;");
19
19
 
20
20
  // 14px
21
- const h5 = exports.h5 = " font-family: ".concat(_typography.Inter, ";\nfont-style: normal;\nfont-weight: 500;\nfont-size: 1rem;\nletter-spacing: -0.02rem;\nmargin: 0rem;");
21
+ const h5 = exports.h5 = " font-family: ".concat(_typography.OpenSans, ";\nfont-style: normal;\nfont-weight: 500;\nfont-size: 1rem;\nletter-spacing: -0.02rem;\nmargin: 0rem;");
22
22
 
23
23
  // 12px
24
- const h6 = exports.h6 = " font-family: ".concat(_typography.Inter, ";\nfont-style: normal;\nfont-weight: 500;\nfont-size: .857rem;\nletter-spacing: -0.02rem;\nmargin: 0rem;");
24
+ const h6 = exports.h6 = " font-family: ".concat(_typography.OpenSans, ";\nfont-style: normal;\nfont-weight: 500;\nfont-size: .857rem;\nletter-spacing: -0.02rem;\nmargin: 0rem;");
25
25
 
26
26
  // 14px
27
- const p = exports.p = "font-family: ".concat(_typography.Inter, ";\nfont-style: normal;\nfont-weight: normal;\nfont-size: 1rem;\nletter-spacing: -0.02rem;\nmargin: 0rem;");
28
- const input = exports.input = " font-family: ".concat(_typography.Inter, ";\nfont-style: normal;\nfont-weight: normal;\nfont-size: 1rem;\nletter-spacing: -0.02rem;\nmargin: 0rem;");
29
- const a = exports.a = "font-family: ".concat(_typography.Inter, ";\nfont-style: normal;\nfont-weight: normal;\nfont-size: 1rem;\nletter-spacing: -0.02rem;\nmargin: 0rem;");
30
- const span = exports.span = "font-family: ".concat(_typography.Inter, ";\nfont-style: normal;\nfont-weight: normal;\nfont-size: 1rem;\nletter-spacing: -0.02rem;\nmargin: 0rem;");
27
+ const p = exports.p = "font-family: ".concat(_typography.OpenSans, ";\nfont-style: normal;\nfont-weight: normal;\nfont-size: 1rem;\nletter-spacing: -0.02rem;\nmargin: 0rem;");
28
+ const input = exports.input = " font-family: ".concat(_typography.OpenSans, ";\nfont-style: normal;\nfont-weight: normal;\nfont-size: 1rem;\nletter-spacing: -0.02rem;\nmargin: 0rem;");
29
+ const a = exports.a = "font-family: ".concat(_typography.OpenSans, ";\nfont-style: normal;\nfont-weight: normal;\nfont-size: 1rem;\nletter-spacing: -0.02rem;\nmargin: 0rem;");
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.QuoteMark = exports.PullQuote = exports.PoppinsMedium = exports.Poppins = exports.P = exports.OpenSans = exports.Inter = exports.Hero = exports.H6 = exports.H5 = exports.H4 = exports.H3 = exports.H2 = exports.H1 = exports.Captions = void 0;
6
+ exports.QuoteMark = exports.PullQuote = exports.PoppinsMedium = exports.Poppins = exports.P = exports.OpenSans = exports.Hero = exports.H6 = exports.H5 = exports.H4 = exports.H3 = exports.H2 = exports.H1 = exports.Captions = void 0;
7
7
  const H1 = exports.H1 = '2.286rem';
8
8
  const H2 = exports.H2 = '1.714rem';
9
9
  const H3 = exports.H3 = '1.286rem';
@@ -17,5 +17,4 @@ const Captions = exports.Captions = '0.714rem';
17
17
  const Hero = exports.Hero = '1rem';
18
18
  const PoppinsMedium = exports.PoppinsMedium = 'PoppinsMedium';
19
19
  const Poppins = exports.Poppins = 'Poppins';
20
- const OpenSans = exports.OpenSans = 'OpenSans';
21
- const Inter = exports.Inter = 'Inter';
20
+ const OpenSans = exports.OpenSans = 'OpenSans';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beem-component",
3
- "version": "2.1.8",
3
+ "version": "2.1.29",
4
4
  "private": false,
5
5
  "main": "dist/components/index.js",
6
6
  "scripts": {
package/public/index.html CHANGED
@@ -4,7 +4,6 @@
4
4
  <head>
5
5
  <meta charset="utf-8" />
6
6
  <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
7
- <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400..700&display=swap" rel="stylesheet">
8
7
  <meta name="viewport" content="width=device-width, initial-scale=1" />
9
8
  <meta name="theme-color" content="#000000" />
10
9
  <meta name="description" content="Web site created using create-react-app" />