frst-components 0.29.1 → 0.29.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.
package/dist/index.js CHANGED
@@ -24391,6 +24391,7 @@ const cardWrapper = styled__default["default"]('div') `
24391
24391
  background: #FFFFFF;
24392
24392
  box-shadow: 0px 0px 10px 0px #00000026;
24393
24393
  scroll-margin-top: 150px;
24394
+ border: 2px solid transparent;
24394
24395
 
24395
24396
  :hover,
24396
24397
  :focus {
@@ -24771,7 +24772,7 @@ const ContainerCard$1 = styled__default["default"]('div') `
24771
24772
  padding: 16px;
24772
24773
  background: ${({ theme }) => theme.colors.shadeWhite};
24773
24774
  cursor: pointer;
24774
- box-sizing: border-box;
24775
+ border: 2px solid transparent;
24775
24776
 
24776
24777
  :hover {
24777
24778
  border: 2px solid #757575;
@@ -24819,6 +24820,9 @@ const CardContainer$1 = styled__default["default"]('div') `
24819
24820
  width: 450px;
24820
24821
  height: 120px;
24821
24822
  padding-right: 16px;
24823
+ box-sizing: content-box;
24824
+ border: 2px solid transparent;
24825
+ cursor: pointer;
24822
24826
 
24823
24827
  :hover {
24824
24828
  border: 2px solid #757575;
@@ -24835,6 +24839,7 @@ const WrapperImage = styled__default["default"]('div') `
24835
24839
  height: 120px;
24836
24840
  border-top-left-radius: 12px;
24837
24841
  border-bottom-left-radius: 12px;
24842
+ object-fit: cover;
24838
24843
  }
24839
24844
  `;
24840
24845
  const CardInfo$1 = styled__default["default"]('div') `
@@ -24929,6 +24934,7 @@ const CardContainer = styled__default["default"].div `
24929
24934
  padding-top: 17px;
24930
24935
  padding-right: 20px;
24931
24936
  border-radius: 12px;
24937
+ border: 2px solid transparent;
24932
24938
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
24933
24939
 
24934
24940
  :hover,
@@ -24990,6 +24996,7 @@ const ContainerCard = styled__default["default"]('div') `
24990
24996
  padding: 16px;
24991
24997
  border-radius: 12px;
24992
24998
  background-color: ${({ theme }) => theme.colors.shadeWhite};
24999
+ border: 2px solid transparent;
24993
25000
 
24994
25001
  :hover {
24995
25002
  border: 2px solid #757575;
@@ -25062,9 +25069,105 @@ function MessageIcon() {
25062
25069
  }
25063
25070
  function PeopleCard({ avatar, name, area, position, showBtnProfile, showBtnInvite, showBtnMessage, handleClickProfile, handleClickInvite, handleClickMessage }) {
25064
25071
  return (jsxRuntime.jsx(styled.ThemeProvider, { theme: FRSTTheme, children: jsxRuntime.jsxs(ContainerCard, { children: [jsxRuntime.jsxs(HeaderInfo, { children: [jsxRuntime.jsx(Avatar, { src: avatar, size: '56px' }), jsxRuntime.jsxs(UserInfo, { children: [jsxRuntime.jsx("p", { className: 'title', children: name }), jsxRuntime.jsx("p", { children: area }), jsxRuntime.jsx("p", { children: position })] })] }), jsxRuntime.jsxs(ButtonsList, { children: [showBtnProfile &&
25065
- jsxRuntime.jsx(CardButton, { onClick: handleClickProfile, children: jsxRuntime.jsx(Tooltip$2, { direction: 'bottom', content: 'Acessar perfil', delay: 50, width: 'fit-content', height: 'fit-content', style: { textAlign: 'center', top: '36px', whiteSpace: 'nowrap' }, children: jsxRuntime.jsx(ProfileIcon, {}) }) }), showBtnInvite &&
25066
- jsxRuntime.jsx(CardButton, { onClick: handleClickInvite, children: jsxRuntime.jsx(Tooltip$2, { direction: 'bottom', content: 'Convidar', delay: 50, width: 'fit-content', height: 'fit-content', style: { textAlign: 'center', top: '36px', whiteSpace: 'nowrap' }, children: jsxRuntime.jsx(InviteIcon, {}) }) }), showBtnMessage &&
25067
- jsxRuntime.jsx(CardButton, { onClick: handleClickMessage, children: jsxRuntime.jsx(Tooltip$2, { direction: 'bottom', content: 'Enviar mensagem', delay: 50, width: 'fit-content', height: 'fit-content', style: { textAlign: 'center', top: '36px', whiteSpace: 'nowrap' }, children: jsxRuntime.jsx(MessageIcon, {}) }) })] })] }) }));
25072
+ jsxRuntime.jsx(material.Tooltip, { title: 'Acessar perfil', placement: 'bottom', arrow: true, slotProps: {
25073
+ popper: {
25074
+ modifiers: [
25075
+ {
25076
+ name: 'offset',
25077
+ options: {
25078
+ offset: [0, -8]
25079
+ }
25080
+ }
25081
+ ],
25082
+ },
25083
+ tooltip: {
25084
+ sx: {
25085
+ backgroundColor: '#FFFFFF',
25086
+ fontFamily: 'PT Sans',
25087
+ fontWeight: 400,
25088
+ fontSize: '14px',
25089
+ lineHeight: 1.3,
25090
+ textAlign: 'center',
25091
+ color: '#757575',
25092
+ border: '1px solid #BDBDBD',
25093
+ boxShadow: '0px 25px 18px -20px #22222233'
25094
+ }
25095
+ },
25096
+ arrow: {
25097
+ sx: {
25098
+ ":before": {
25099
+ border: '1px solid #BDBDBD'
25100
+ },
25101
+ color: '#FFFFFF'
25102
+ }
25103
+ }
25104
+ }, children: jsxRuntime.jsx(CardButton, { onClick: handleClickProfile, children: jsxRuntime.jsx(ProfileIcon, {}) }) }), showBtnInvite &&
25105
+ jsxRuntime.jsx(material.Tooltip, { title: 'Convidar', placement: 'bottom', arrow: true, slotProps: {
25106
+ popper: {
25107
+ modifiers: [
25108
+ {
25109
+ name: 'offset',
25110
+ options: {
25111
+ offset: [0, -8]
25112
+ }
25113
+ }
25114
+ ],
25115
+ },
25116
+ tooltip: {
25117
+ sx: {
25118
+ backgroundColor: '#FFFFFF',
25119
+ fontFamily: 'PT Sans',
25120
+ fontWeight: 400,
25121
+ fontSize: '14px',
25122
+ lineHeight: 1.3,
25123
+ textAlign: 'center',
25124
+ color: '#757575',
25125
+ border: '1px solid #BDBDBD',
25126
+ boxShadow: '0px 25px 18px -20px #22222233'
25127
+ }
25128
+ },
25129
+ arrow: {
25130
+ sx: {
25131
+ ":before": {
25132
+ border: '1px solid #BDBDBD'
25133
+ },
25134
+ color: '#FFFFFF'
25135
+ }
25136
+ }
25137
+ }, children: jsxRuntime.jsx(CardButton, { onClick: handleClickInvite, children: jsxRuntime.jsx(InviteIcon, {}) }) }), showBtnMessage &&
25138
+ jsxRuntime.jsx(material.Tooltip, { title: 'Enviar mensagem', placement: 'bottom', arrow: true, slotProps: {
25139
+ popper: {
25140
+ modifiers: [
25141
+ {
25142
+ name: 'offset',
25143
+ options: {
25144
+ offset: [0, -8]
25145
+ }
25146
+ }
25147
+ ],
25148
+ },
25149
+ tooltip: {
25150
+ sx: {
25151
+ backgroundColor: '#FFFFFF',
25152
+ fontFamily: 'PT Sans',
25153
+ fontWeight: 400,
25154
+ fontSize: '14px',
25155
+ lineHeight: 1.3,
25156
+ textAlign: 'center',
25157
+ color: '#757575',
25158
+ border: '1px solid #BDBDBD',
25159
+ boxShadow: '0px 25px 18px -20px #22222233'
25160
+ }
25161
+ },
25162
+ arrow: {
25163
+ sx: {
25164
+ ":before": {
25165
+ border: '1px solid #BDBDBD'
25166
+ },
25167
+ color: '#FFFFFF'
25168
+ }
25169
+ }
25170
+ }, children: jsxRuntime.jsx(CardButton, { onClick: handleClickMessage, children: jsxRuntime.jsx(MessageIcon, {}) }) })] })] }) }));
25068
25171
  }
25069
25172
 
25070
25173
  const TrailCardContainer = styled__default["default"]('div') `
@@ -25075,6 +25178,7 @@ const TrailCardContainer = styled__default["default"]('div') `
25075
25178
  background: #FFFFFF;
25076
25179
  gap: 8px;
25077
25180
  cursor: pointer;
25181
+ border: 2px solid transparent;
25078
25182
 
25079
25183
  :hover {
25080
25184
  border: 2px solid #757575;
@@ -25087,9 +25191,10 @@ const TrailCardContainer = styled__default["default"]('div') `
25087
25191
  `;
25088
25192
  const WrapperBanner = styled__default["default"]('div') `
25089
25193
  img {
25090
- width: 230px;
25194
+ width: 100%;
25091
25195
  height: 140px;
25092
25196
  border-radius: 8px;
25197
+ object-fit: cover;
25093
25198
  }
25094
25199
  `;
25095
25200
  const CardInfo = styled__default["default"]('div') `
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/newCards/challenge/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,oEAiBvB,CAAA;AACD,eAAO,MAAM,kBAAkB,oEAM9B,CAAA;AAED,eAAO,MAAM,gBAAgB;;SAW5B,CAAA;AAED,eAAO,MAAM,kBAAkB;;SAQ9B,CAAA;AAED,eAAO,MAAM,eAAe;;SAQ3B,CAAA;AAED,eAAO,MAAM,cAAc,oEAO1B,CAAA;AAED,eAAO,MAAM,aAAa,oEAKzB,CAAA;AAED,eAAO,MAAM,QAAQ,oEAKpB,CAAA;AAED,eAAO,MAAM,gBAAgB,oEA2B5B,CAAA;AAED,eAAO,MAAM,kBAAkB,oEA2B9B,CAAA;AAED,eAAO,MAAM,iBAAiB,oEAG7B,CAAA;AAED,eAAO,MAAM,UAAU,oEAUtB,CAAA;AAED,eAAO,MAAM,uBAAuB,oEAYnC,CAAA;AACD,eAAO,MAAM,cAAc,oEAM1B,CAAA;AAED,eAAO,MAAM,aAAa,oEAKzB,CAAA;AACD,eAAO,MAAM,MAAM,oEAYlB,CAAA;AAED,eAAO,MAAM,cAAc,oEAO1B,CAAA"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/newCards/challenge/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,oEAkBvB,CAAA;AACD,eAAO,MAAM,kBAAkB,oEAM9B,CAAA;AAED,eAAO,MAAM,gBAAgB;;SAW5B,CAAA;AAED,eAAO,MAAM,kBAAkB;;SAQ9B,CAAA;AAED,eAAO,MAAM,eAAe;;SAQ3B,CAAA;AAED,eAAO,MAAM,cAAc,oEAO1B,CAAA;AAED,eAAO,MAAM,aAAa,oEAKzB,CAAA;AAED,eAAO,MAAM,QAAQ,oEAKpB,CAAA;AAED,eAAO,MAAM,gBAAgB,oEA2B5B,CAAA;AAED,eAAO,MAAM,kBAAkB,oEA2B9B,CAAA;AAED,eAAO,MAAM,iBAAiB,oEAG7B,CAAA;AAED,eAAO,MAAM,UAAU,oEAUtB,CAAA;AAED,eAAO,MAAM,uBAAuB,oEAYnC,CAAA;AACD,eAAO,MAAM,cAAc,oEAM1B,CAAA;AAED,eAAO,MAAM,aAAa,oEAKzB,CAAA;AACD,eAAO,MAAM,MAAM,oEAYlB,CAAA;AAED,eAAO,MAAM,cAAc,oEAO1B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/newCards/content/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,oEAiBzB,CAAA;AAED,eAAO,MAAM,YAAY,oEAOxB,CAAA;AAED,eAAO,MAAM,QAAQ,oEAMpB,CAAA;AAED,eAAO,MAAM,kBAAkB,oEAyB9B,CAAA;AAED,eAAO,MAAM,UAAU,oEAmCtB,CAAA"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/newCards/content/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,oEAoBzB,CAAA;AAED,eAAO,MAAM,YAAY,oEAQxB,CAAA;AAED,eAAO,MAAM,QAAQ,oEAMpB,CAAA;AAED,eAAO,MAAM,kBAAkB,oEAyB9B,CAAA;AAED,eAAO,MAAM,UAAU,oEAmCtB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/newCards/mentoring/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,oEAkBzB,CAAA;AAED,eAAO,MAAM,WAAW,oEAMvB,CAAA;AAED,eAAO,MAAM,aAAa,oEAKzB,CAAA"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/newCards/mentoring/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,oEAmBzB,CAAA;AAED,eAAO,MAAM,WAAW,oEAMvB,CAAA;AAED,eAAO,MAAM,aAAa,oEAKzB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/newCards/people/index.tsx"],"names":[],"mappings":"AAsCA,UAAU,eAAe;IACrB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,OAAO,CAAA;IACvB,aAAa,EAAE,OAAO,CAAA;IACtB,cAAc,EAAE,OAAO,CAAA;IACvB,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC/B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC9B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAClC;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAE,EAChC,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,cAAc,EACd,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EACrB,EAAE,eAAe,2CA+DjB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/newCards/people/index.tsx"],"names":[],"mappings":"AAsCA,UAAU,eAAe;IACrB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,OAAO,CAAA;IACvB,aAAa,EAAE,OAAO,CAAA;IACtB,cAAc,EAAE,OAAO,CAAA;IACvB,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC/B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC9B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAClC;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAE,EAChC,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,cAAc,EACd,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EACrB,EAAE,eAAe,2CAyJjB"}
@@ -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,oEAqBpB,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,oEAoBzB,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"}
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/newCards/trail/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,oEAiB9B,CAAA;AAED,eAAO,MAAM,aAAa,oEAMzB,CAAA;AAED,eAAO,MAAM,QAAQ,oEA4BpB,CAAA"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/newCards/trail/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,oEAkB9B,CAAA;AAED,eAAO,MAAM,aAAa,oEAOzB,CAAA;AAED,eAAO,MAAM,QAAQ,oEA4BpB,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.29.1",
4
+ "version": "0.29.3",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",