forstok-ui-lib 6.3.2 → 6.4.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.d.ts CHANGED
@@ -882,7 +882,7 @@ declare const FilterItem: styled_components_dist_types.IStyledComponentBase<"web
882
882
  declare const FilterListTitle: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
883
883
  declare const FilterButton: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
884
884
  declare const IconDot: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
885
- $mode?: "list" | "header";
885
+ $mode?: "list" | "header" | "chat";
886
886
  }>> & string;
887
887
  declare const SortByWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
888
888
  declare const DetailWrapper: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
package/dist/index.js CHANGED
@@ -2117,6 +2117,17 @@
2117
2117
  text-align: center;
2118
2118
  padding: 0px 4px;
2119
2119
  border-radius: var(--ter-rd);
2120
+ ${({$mode:e})=>"chat"===e&&t.css`
2121
+ position: absolute;
2122
+ z-index: 8;
2123
+ left: 18px;
2124
+ top: 0;
2125
+ padding: 0.2em 0.3em;
2126
+ font-weight: bold;
2127
+ font-size: 10px;
2128
+ min-width: 16px;
2129
+ height: 16px;
2130
+ `}
2120
2131
  ${({$mode:e})=>("list"===e||"header"===e)&&t.css`
2121
2132
  position: absolute;
2122
2133
  top: 0;