frst-components 0.36.8 → 0.37.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
@@ -5909,7 +5909,7 @@ const FeedAction = styled__default["default"].button `
5909
5909
  `;
5910
5910
 
5911
5911
  const Button$3 = styled__default["default"].div `
5912
- ${({ variant, disabled, active, theme, isTooltipActive, darkMode }) => {
5912
+ ${({ variant, disabled, active, theme, isTooltipActive, darkMode, configColor }) => {
5913
5913
  let styleVariant = {
5914
5914
  'primary': styled.css `
5915
5915
  display: flex;
@@ -5919,7 +5919,7 @@ const Button$3 = styled__default["default"].div `
5919
5919
  gap: 8px;
5920
5920
  width: fit-content;
5921
5921
  height: 32px;
5922
- background: ${disabled ? '#BDBDBD' : '#F26818'};
5922
+ background: ${disabled ? '#BDBDBD' : configColor ? configColor : '#F26818'};
5923
5923
  border-radius: 8px;
5924
5924
  cursor: ${disabled ? 'default' : 'pointer'};
5925
5925
  font-family: 'Work Sans';
@@ -5932,7 +5932,7 @@ const Button$3 = styled__default["default"].div `
5932
5932
  color: ${({ theme }) => theme.colors.shadeWhite};
5933
5933
  user-select:none;
5934
5934
  &:hover {
5935
- background: ${disabled ? '#BDBDBD' : '#D14211'};
5935
+ background: ${disabled ? '#BDBDBD' : configColor ? `${configColor}80` : '#D14211'};
5936
5936
  }
5937
5937
  `,
5938
5938
  'secondary': styled.css `
@@ -4,6 +4,7 @@ interface IButton {
4
4
  active?: boolean;
5
5
  isTooltipActive?: boolean;
6
6
  darkMode?: boolean;
7
+ configColor?: string;
7
8
  }
8
9
  export declare const Button: import("styled-components").StyledComponent<"div", any, IButton, never>;
9
10
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"miniButtonStyle.d.ts","sourceRoot":"","sources":["../../../../src/components/mini-button/miniButtonStyle.ts"],"names":[],"mappings":"AAGA,UAAU,OAAO;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,MAAM,yEAyGlB,CAAA"}
1
+ {"version":3,"file":"miniButtonStyle.d.ts","sourceRoot":"","sources":["../../../../src/components/mini-button/miniButtonStyle.ts"],"names":[],"mappings":"AAGA,UAAU,OAAO;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,eAAO,MAAM,MAAM,yEAyGlB,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.36.8",
4
+ "version": "0.37.0",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",