frst-components 0.28.9 → 0.29.0

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/dist/index.js CHANGED
@@ -4104,146 +4104,147 @@ const placeholderStyle = (color) => styled.css `
4104
4104
  }
4105
4105
  `;
4106
4106
  const TextFieldContainer = styled__default["default"].div `
4107
- width: ${(props) => props.theme.width || '100%'};
4108
- height: 48px;
4109
- background: ${({ theme }) => theme.colors.neutralsGrey6};
4110
- border: 1px solid ${({ theme }) => theme.colors.neutralsGrey5};
4111
- box-sizing: border-box;
4112
- border-radius: 8px;
4113
- outline: none;
4114
- transition: all 0.2s linear;
4115
-
4116
- margin: 8px 0;
4117
- display: flex;
4118
- align-items: center;
4119
- overflow: hidden;
4107
+ width: ${(props) => props.theme.width || '100%'};
4108
+ height: 48px;
4109
+ background: ${({ theme, inputBackground }) => (inputBackground ? inputBackground : theme.colors.neutralsGrey6)};
4110
+ border: 1px solid ${({ theme }) => theme.colors.neutralsGrey5};
4111
+ box-sizing: border-box;
4112
+ border-radius: 8px;
4113
+ outline: none;
4114
+ transition: all 0.2s linear;
4115
+
4116
+ margin: 8px 0;
4117
+ display: flex;
4118
+ align-items: center;
4119
+ overflow: hidden;
4120
4120
 
4121
- ${({ isClicked }) => isClicked &&
4121
+ ${({ isClicked }) => isClicked &&
4122
4122
  `
4123
4123
  box-shadow: 0px 0px 0px 2px rgba(102, 51, 102, 0.4) !important;
4124
4124
  border: 1px solid #663366 !important;`}
4125
4125
 
4126
-
4127
- ${(props) => props.isHelpTextBox && props.isClicked &&
4126
+ ${(props) => props.isHelpTextBox &&
4127
+ props.isClicked &&
4128
4128
  styled.css `
4129
- box-shadow: none !important;
4130
- border: 1px solid #F18624 !important;
4131
- `}
4129
+ box-shadow: none !important;
4130
+ border: 1px solid #f18624 !important;
4131
+ `}
4132
4132
 
4133
- ${(props) => props.theme.focused && props.isHelpTextBox &&
4133
+ ${(props) => props.theme.focused &&
4134
+ props.isHelpTextBox &&
4134
4135
  styled.css `
4135
- box-shadow: 0px 0px 0px 1px #F18624 !important;
4136
- border: 1px solid #F18624 !important;
4137
- `}
4136
+ box-shadow: 0px 0px 0px 1px #f18624 !important;
4137
+ border: 1px solid #f18624 !important;
4138
+ `}
4138
4139
 
4139
4140
 
4140
4141
  ${(props) => props.theme.multiline &&
4141
4142
  styled.css `
4142
- width: ${(props) => props.theme.width || '100%'};
4143
- height: ${(props) => props.theme.height || '100%'};
4144
- min-height: ${(props) => props.theme.height || '100%'};
4145
- display: block;
4146
- padding: 0;
4147
- overflow: hidden;
4148
- `}
4143
+ width: ${(props) => props.theme.width || '100%'};
4144
+ height: ${(props) => props.theme.height || '100%'};
4145
+ min-height: ${(props) => props.theme.height || '100%'};
4146
+ display: block;
4147
+ padding: 0;
4148
+ overflow: hidden;
4149
+ `}
4149
4150
 
4150
4151
 
4151
4152
  ${(props) => props.theme.hovered &&
4152
4153
  styled.css `
4153
- border: 1px solid ${({ theme }) => theme.colors.linkOnfocus};
4154
- `}
4154
+ border: 1px solid ${({ theme }) => theme.colors.linkOnfocus};
4155
+ `}
4155
4156
 
4156
4157
  ${(props) => props.theme.focused &&
4157
4158
  styled.css `
4158
- box-shadow: 0px 0px 0px 2px rgba(6, 69, 173, 0.4);
4159
- border: 1px solid ${({ theme }) => theme.colors.linkPressed};
4160
- `}
4159
+ box-shadow: 0px 0px 0px 2px rgba(6, 69, 173, 0.4);
4160
+ border: 1px solid ${({ theme }) => theme.colors.linkPressed};
4161
+ `}
4161
4162
 
4162
4163
  ${(props) => props.theme.disabled &&
4163
4164
  styled.css `
4164
- background: ${({ theme }) => theme.colors.neutralsGrey7};
4165
- border: 1px solid ${({ theme }) => theme.colors.neutralsGrey5};
4166
- `}
4165
+ background: ${({ theme }) => theme.colors.neutralsGrey7};
4166
+ border: 1px solid ${({ theme }) => theme.colors.neutralsGrey5};
4167
+ `}
4167
4168
 
4168
4169
  ${(props) => props.theme.error &&
4169
4170
  styled.css `
4170
- background: #ffe0e0;
4171
- box-shadow: none;
4172
- border: 1px solid ${({ theme }) => theme.colors.messageError1};
4173
- color: ${({ theme }) => theme.colors.neutralsGrey3};
4174
- `}
4171
+ background: #ffe0e0;
4172
+ box-shadow: none;
4173
+ border: 1px solid ${({ theme }) => theme.colors.messageError1};
4174
+ color: ${({ theme }) => theme.colors.neutralsGrey3};
4175
+ `}
4175
4176
 
4176
4177
  span {
4177
- display: flex;
4178
- align-items: center;
4179
- justify-content: center;
4180
- }
4178
+ display: flex;
4179
+ align-items: center;
4180
+ justify-content: center;
4181
+ }
4181
4182
  `;
4182
4183
  const TextField$1 = styled__default["default"].input.attrs(({ type, as }) => ({
4183
4184
  type: type || 'text',
4184
4185
  as: as || 'input'
4185
4186
  })) `
4186
- width: 100%;
4187
- height: 100%;
4188
- padding: 15px 16px;
4189
- border: none;
4190
- background-color: transparent;
4187
+ width: 100%;
4188
+ height: 100%;
4189
+ padding: 15px 16px;
4190
+ border: none;
4191
+ background-color: transparent;
4191
4192
 
4192
- font-family: 'PT Sans';
4193
- font-style: normal;
4194
- font-weight: 400;
4195
- font-size: 14px;
4196
- line-height: 18px;
4197
- color: ${({ theme }) => theme.colors.neutralsGrey1};
4193
+ font-family: 'PT Sans';
4194
+ font-style: normal;
4195
+ font-weight: 400;
4196
+ font-size: 14px;
4197
+ line-height: 18px;
4198
+ color: ${({ theme }) => theme.colors.neutralsGrey1};
4198
4199
 
4199
- ${placeholderStyle('neutralsGrey3')}
4200
+ ${placeholderStyle('neutralsGrey3')}
4200
4201
 
4201
- ${({ as }) => as === 'textarea' &&
4202
+ ${({ as }) => as === 'textarea' &&
4202
4203
  styled.css `
4203
- height: ${(props) => props.theme.height || '100%'};
4204
- resize: none;
4205
- overflow: auto;
4206
- min-height: 100%;
4207
- `}
4204
+ height: ${(props) => props.theme.height || '100%'};
4205
+ resize: none;
4206
+ overflow: auto;
4207
+ min-height: 100%;
4208
+ `}
4208
4209
 
4209
4210
  ${(props) => props.theme.disabled &&
4210
4211
  styled.css `
4211
- color: ${({ theme }) => theme.colors.neutralsGrey4};
4212
- ${placeholderStyle('neutralsGrey4')}
4213
- `}
4212
+ color: ${({ theme }) => theme.colors.neutralsGrey4};
4213
+ ${placeholderStyle('neutralsGrey4')}
4214
+ `}
4214
4215
  ${(props) => props.theme.error &&
4215
4216
  styled.css `
4216
- color: ${({ theme }) => theme.colors.messageError1};
4217
- ${placeholderStyle('linkError')}
4218
- `}
4217
+ color: ${({ theme }) => theme.colors.messageError1};
4218
+ ${placeholderStyle('linkError')}
4219
+ `}
4219
4220
  `;
4220
4221
  const Label$2 = styled__default["default"].label `
4221
- font-family: 'PT Sans';
4222
- font-style: normal;
4223
- font-weight: 400;
4224
- font-size: 16px;
4225
- line-height: 21px;
4226
- color: ${({ theme }) => theme.colors.neutralsGrey1};
4222
+ font-family: 'PT Sans';
4223
+ font-style: normal;
4224
+ font-weight: 400;
4225
+ font-size: 16px;
4226
+ line-height: 21px;
4227
+ color: ${({ theme }) => theme.colors.neutralsGrey1};
4227
4228
 
4228
- ${(props) => props.theme.hovered &&
4229
+ ${(props) => props.theme.hovered &&
4229
4230
  styled.css `
4230
- color: ${({ theme }) => theme.colors.linkOnfocus};
4231
- `}
4231
+ color: ${({ theme }) => theme.colors.linkOnfocus};
4232
+ `}
4232
4233
 
4233
- ${(props) => props.theme.focused &&
4234
+ ${(props) => props.theme.focused &&
4234
4235
  styled.css `
4235
- color: ${({ theme }) => theme.colors.linkOnfocus};
4236
- `}
4236
+ color: ${({ theme }) => theme.colors.linkOnfocus};
4237
+ `}
4237
4238
 
4238
4239
  ${(props) => props.theme.disabled &&
4239
4240
  styled.css `
4240
- color: ${({ theme }) => theme.colors.neutralsGrey3};
4241
- `}
4241
+ color: ${({ theme }) => theme.colors.neutralsGrey3};
4242
+ `}
4242
4243
 
4243
4244
  ${(props) => props.theme.error &&
4244
4245
  styled.css `
4245
- color: ${({ theme }) => theme.colors.messageError1};
4246
- `}
4246
+ color: ${({ theme }) => theme.colors.messageError1};
4247
+ `}
4247
4248
 
4248
4249
  ${({ isClicked }) => isClicked &&
4249
4250
  `
@@ -4251,37 +4252,37 @@ const Label$2 = styled__default["default"].label `
4251
4252
  `}
4252
4253
  `;
4253
4254
  const HelperText$3 = styled__default["default"].span `
4254
- font-family: 'Work Sans';
4255
- font-style: normal;
4256
- font-weight: 400;
4257
- font-size: 12px;
4258
- line-height: 14px;
4259
- color: ${({ theme }) => theme.colors.neutralsGrey3};
4255
+ font-family: 'Work Sans';
4256
+ font-style: normal;
4257
+ font-weight: 400;
4258
+ font-size: 12px;
4259
+ line-height: 14px;
4260
+ color: ${({ theme }) => theme.colors.neutralsGrey3};
4260
4261
 
4261
- ${(props) => props.theme.error &&
4262
+ ${(props) => props.theme.error &&
4262
4263
  styled.css `
4263
- color: ${({ theme }) => theme.colors.messageError1};
4264
- `}
4264
+ color: ${({ theme }) => theme.colors.messageError1};
4265
+ `}
4265
4266
  `;
4266
4267
  const InputIconButton = styled__default["default"].button `
4267
- display: flex;
4268
- justify-content: center;
4269
- align-items: center;
4270
- width: 40px;
4271
- height: 40px;
4272
- min-width: 40px;
4273
- min-height: 40px;
4274
- margin-right: -10px;
4275
- background-color: transparent !important;
4276
- border: none !important;
4277
- border-radius: 50%;
4278
- outline: none;
4279
- transition: all 0.1s linear;
4280
- cursor: pointer;
4281
- margin-right: 16px;
4268
+ display: flex;
4269
+ justify-content: center;
4270
+ align-items: center;
4271
+ width: 40px;
4272
+ height: 40px;
4273
+ min-width: 40px;
4274
+ min-height: 40px;
4275
+ margin-right: -10px;
4276
+ background-color: transparent !important;
4277
+ border: none !important;
4278
+ border-radius: 50%;
4279
+ outline: none;
4280
+ transition: all 0.1s linear;
4281
+ cursor: pointer;
4282
+ margin-right: 16px;
4282
4283
  `;
4283
4284
  const StartIcon = styled__default["default"].span `
4284
- margin-left: 16px;
4285
+ margin-left: 16px;
4285
4286
  `;
4286
4287
 
4287
4288
  function TextField(props) {
@@ -4303,7 +4304,16 @@ function TextField(props) {
4303
4304
  setClick(false);
4304
4305
  }, 1000);
4305
4306
  };
4306
- return (jsxRuntime.jsx(styled.ThemeProvider, { theme: { ...FRSTTheme, focused: focus, disabled: props.disabled, hovered: hover, error: props.error, multiline: props.multiline, width: props.width, height: props.height }, children: jsxRuntime.jsxs("div", { style: props.style, className: props.className, children: [jsxRuntime.jsx(Label$2, { htmlFor: props.id, isClicked: click, children: props.label }), jsxRuntime.jsxs(TextFieldContainer, { onMouseEnter: () => setHover(true), onMouseLeave: () => setHover(false), onClick: () => showBorderAfterClick(), isClicked: click, isHelpTextBox: props.isHelperTextBox, children: [props.startIcon && !props.multiline && (jsxRuntime.jsx(StartIcon, { children: props.startIcon })), jsxRuntime.jsx(TextField$1, { ref: props.textRef, onFocus: () => setFocus(true), onBlur: () => setFocus(false), id: props.id, placeholder: props.placeholder || `${t('globals.typeHere')}...`, as: props.multiline ? 'textarea' : 'input', type: inputType, value: props.value, disabled: props.disabled, onChange: props.onChange, name: props.name, required: props.required, defaultValue: props.defaultValue, maxLength: props.maxLength }), props.endIcon && !props.multiline && (!!props.endIcon && jsxRuntime.jsx(InputIconButton, { onClick: props.handleClickEndIcon, children: endIconState }))] }), props.helperText && jsxRuntime.jsx(HelperText$3, { children: props.helperText }), props.helperTextBox && jsxRuntime.jsx(HelperTextBox, { helperTextBox: props.helperTextBox })] }) }));
4307
+ return (jsxRuntime.jsx(styled.ThemeProvider, { theme: {
4308
+ ...FRSTTheme,
4309
+ focused: focus,
4310
+ disabled: props.disabled,
4311
+ hovered: hover,
4312
+ error: props.error,
4313
+ multiline: props.multiline,
4314
+ width: props.width,
4315
+ height: props.height
4316
+ }, children: jsxRuntime.jsxs("div", { style: props.style, className: props.className, children: [jsxRuntime.jsx(Label$2, { htmlFor: props.id, isClicked: click, children: props.label }), jsxRuntime.jsxs(TextFieldContainer, { onMouseEnter: () => setHover(true), onMouseLeave: () => setHover(false), onClick: () => showBorderAfterClick(), isClicked: click, isHelpTextBox: props.isHelperTextBox, inputBackground: props.inputBackground, children: [props.startIcon && !props.multiline && jsxRuntime.jsx(StartIcon, { children: props.startIcon }), jsxRuntime.jsx(TextField$1, { ref: props.textRef, onFocus: () => setFocus(true), onBlur: () => setFocus(false), id: props.id, placeholder: props.placeholder || `${t('globals.typeHere')}...`, as: props.multiline ? 'textarea' : 'input', type: inputType, value: props.value, disabled: props.disabled, onChange: props.onChange, name: props.name, required: props.required, defaultValue: props.defaultValue, maxLength: props.maxLength }), props.endIcon && !props.multiline && !!props.endIcon && (jsxRuntime.jsx(InputIconButton, { onClick: props.handleClickEndIcon, children: endIconState }))] }), props.helperText && jsxRuntime.jsx(HelperText$3, { children: props.helperText }), props.helperTextBox && jsxRuntime.jsx(HelperTextBox, { helperTextBox: props.helperTextBox })] }) }));
4307
4317
  }
4308
4318
 
4309
4319
  function Textarea(props) {
@@ -24654,7 +24664,7 @@ function NewChallengeCard({ selected, avatar, name, role, description, lastStep,
24654
24664
  } }) }), jsxRuntime.jsxs(contentWrapper, { children: [jsxRuntime.jsxs(headerContent, { children: [jsxRuntime.jsx(Tooltip$2, { direction: "bottom", content: 'Visitar perfil', trigger: 'hover', width: '101px', height: '32px', style: { top: '10px', textAlign: 'center' }, children: jsxRuntime.jsxs(userInfo, { onClick: onClickAvatar, children: [jsxRuntime.jsx(Avatar, { size: '40px', src: avatar, isActiveClick: true, onClick: onClickAvatar }), jsxRuntime.jsxs(namePositionInfo, { children: [jsxRuntime.jsx(material.Typography, { component: 'h6', children: abbreviateMiddleSurnames(name) }), jsxRuntime.jsx(material.Typography, { component: 'p', children: role })] })] }) }), jsxRuntime.jsx(MenuMore, { options: options, closeAfterClick: true })] }), jsxRuntime.jsxs(contentDescription, { onClick: () => handleClickChallenge?.(), children: [jsxRuntime.jsx(material.Typography, { component: 'h6', children: (lastStep == "3-aprendizados-e-resultados" || lastStep == "4-proximos-passos") && indicatorCurrent ? `RESULTADO ${resultNumber === 1 ? '' : resultNumber}` : "DESAFIO" }), jsxRuntime.jsx(material.Typography, { component: 'p', children: description })] }), (lastStep == "3-aprendizados-e-resultados" || lastStep == "4-proximos-passos") && indicatorCurrent ?
24655
24665
  jsxRuntime.jsx(wrapperResults, { onClick: () => handleClickChallenge?.(), children: jsxRuntime.jsx(ProgressGoalBar, { start: indicatorStart || 0, current: indicatorCurrent || 0, goal: indicatorGoal || 0, isVisibleMessage: false }) })
24656
24666
  :
24657
- jsxRuntime.jsxs(wrapperStepTag, { onClick: () => handleClickChallenge?.(), children: [jsxRuntime.jsxs(wrapperRating, { children: [jsxRuntime.jsxs(rating, { children: [jsxRuntime.jsx(StarRatingIcon, {}), " ", impact ? Math.floor(impact) : "0", " - Impacto"] }), jsxRuntime.jsxs(rating, { children: [jsxRuntime.jsx(StarRatingIcon, {}), " ", relevance ? Math.floor(relevance) : "0", " - Relev\u00E2ncia "] })] }), jsxRuntime.jsx(contentUpdatedChallenge, { style: { background: getStepName(lastStep).color }, children: jsxRuntime.jsx(material.Typography, { component: 'p', children: getStepName(lastStep).name }) })] })] })] })] }));
24667
+ jsxRuntime.jsxs(wrapperStepTag, { onClick: () => handleClickChallenge?.(), children: [jsxRuntime.jsxs(wrapperRating, { children: [jsxRuntime.jsxs(rating, { children: [jsxRuntime.jsx(StarRatingIcon, {}), " ", impact ? Math.floor(impact) : "0", " - Impacto"] }), jsxRuntime.jsxs(rating, { children: [jsxRuntime.jsx(StarRatingIcon, {}), " ", relevance ? Math.floor(relevance) : "0", " - Relev\u00E2ncia "] })] }), jsxRuntime.jsx(contentUpdatedChallenge, { style: { background: getStepName(lastStep)?.color }, children: jsxRuntime.jsx(material.Typography, { component: 'p', children: getStepName(lastStep)?.name }) })] })] })] })] }));
24658
24668
  }
24659
24669
 
24660
24670
  const ArticleContainer = styled__default["default"]('div') `
@@ -24995,6 +25005,7 @@ const HeaderInfo = styled__default["default"]('div') `
24995
25005
  const UserInfo = styled__default["default"]('div') `
24996
25006
  display: flex;
24997
25007
  flex-direction: column;
25008
+ gap: 4px;
24998
25009
 
24999
25010
  .title {
25000
25011
  font-family: 'PT Sans';
@@ -25002,7 +25013,6 @@ const UserInfo = styled__default["default"]('div') `
25002
25013
  font-weight: 600;
25003
25014
  line-height: 1.1;
25004
25015
  color: #222222;
25005
- margin-bottom: 4px;
25006
25016
  }
25007
25017
 
25008
25018
  p {
@@ -25011,6 +25021,7 @@ const UserInfo = styled__default["default"]('div') `
25011
25021
  font-weight: 400;
25012
25022
  line-height: 1.3;
25013
25023
  color: #757575;
25024
+ margin: 0;
25014
25025
  }
25015
25026
  `;
25016
25027
  const ButtonsList = styled__default["default"]('div') `
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/newCards/people/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,oEAmBzB,CAAA;AAED,eAAO,MAAM,UAAU,oEAItB,CAAA;AAED,eAAO,MAAM,QAAQ,oEAoBpB,CAAA;AAED,eAAO,MAAM,WAAW,oEAGvB,CAAA;AAED,eAAO,MAAM,UAAU,oEAiBtB,CAAA"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/newCards/people/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,oEAmBzB,CAAA;AAED,eAAO,MAAM,UAAU,oEAItB,CAAA;AAED,eAAO,MAAM,QAAQ,oEAqBpB,CAAA;AAED,eAAO,MAAM,WAAW,oEAGvB,CAAA;AAED,eAAO,MAAM,UAAU,oEAiBtB,CAAA"}
@@ -27,6 +27,7 @@ export interface TextFieldProps {
27
27
  maxLength?: number;
28
28
  handleClickEndIcon?: () => void;
29
29
  textRef?: React.RefObject<HTMLInputElement>;
30
+ inputBackground?: string;
30
31
  }
31
32
  export default function TextField(props: TextFieldProps): import("react/jsx-runtime").JSX.Element;
32
33
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form-elements/textfield/index.tsx"],"names":[],"mappings":";AA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AAC,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,cAAc,2CA6EtD"}
@@ -4,6 +4,7 @@ interface TextFieldProps {
4
4
  isClicked?: boolean;
5
5
  isHelpTextBox?: boolean;
6
6
  erroe?: boolean;
7
+ inputBackground?: string;
7
8
  }
8
9
  export declare const TextFieldContainer: import("styled-components").StyledComponent<"div", any, TextFieldProps, never>;
9
10
  export declare const TextField: import("styled-components").StyledComponent<"input", any, {
@@ -1 +1 @@
1
- {"version":3,"file":"textFieldStyle.d.ts","sourceRoot":"","sources":["../../../../../src/components/form-elements/textfield/textFieldStyle.ts"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACtB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAoBD,eAAO,MAAM,kBAAkB,gFAmF9B,CAAA;AAED,eAAO,MAAM,SAAS;QAGZ,MAAM;SAqCf,CAAA;AAED,eAAO,MAAM,KAAK;;SAqCjB,CAAA;AAED,eAAO,MAAM,UAAU,qEAatB,CAAA;AAID,eAAO,MAAM,eAAe,uEAgB3B,CAAA;AAED,eAAO,MAAM,SAAS,qEAErB,CAAA"}
1
+ {"version":3,"file":"textFieldStyle.d.ts","sourceRoot":"","sources":["../../../../../src/components/form-elements/textfield/textFieldStyle.ts"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,eAAe,CAAC,EAAE,MAAM,CAAA;CAC3B;AAoBD,eAAO,MAAM,kBAAkB,gFAoF9B,CAAA;AAED,eAAO,MAAM,SAAS;QAGZ,MAAM;SAqCf,CAAA;AAED,eAAO,MAAM,KAAK;;SAqCjB,CAAA;AAED,eAAO,MAAM,UAAU,qEAatB,CAAA;AAED,eAAO,MAAM,eAAe,uEAgB3B,CAAA;AAED,eAAO,MAAM,SAAS,qEAErB,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "frst-components",
3
3
  "homepage": "http://FRST-Falconi.github.io/storybook.frstfalconi.com",
4
- "version": "0.28.9",
4
+ "version": "0.29.0",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",