forstok-ui-lib 5.12.0 → 5.12.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forstok-ui-lib",
3
- "version": "5.12.0",
3
+ "version": "5.12.2",
4
4
  "description": "Forstok UI Components Library",
5
5
  "path": "dist",
6
6
  "main": "dist/index.js",
@@ -46,6 +46,18 @@ const getButtonModifiedStyled = ({ $mode, $isIndicatorArrow, $isShown, $isLoadin
46
46
  stroke: #ffffff;
47
47
  }
48
48
  `
49
+ } else if ($mode === 'green') {
50
+ style += `
51
+ color: var(--act-clr);
52
+ background-color: rgb(33, 186, 69);
53
+ &:hover {
54
+ background-color: #06402B);
55
+ }
56
+ & ${IndicatorsArrowIconSvg} {
57
+ fill: #ffffff;
58
+ stroke: #ffffff;
59
+ }
60
+ `
49
61
  } else if ($mode === 'white') {
50
62
  style += `
51
63
  color: var(--mt-clr);
@@ -23,7 +23,7 @@ export type TUser = {
23
23
  shopee_partner_key: string
24
24
  },
25
25
  has_access_orderV1: boolean
26
- isAi?: boolean
26
+ isAI?: boolean
27
27
  }
28
28
  export type THierarchy = {
29
29
  evTooglePopup?: TPopupFunction