@youngonesworks/ui 0.1.33 → 0.1.34

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
@@ -115936,6 +115936,21 @@ const Tab = forwardRef(({ tabId, activeTab, tabContent, clickFnc, rightSection }
115936
115936
  })]
115937
115937
  }));
115938
115938
 
115939
+ //#endregion
115940
+ //#region src/components/tabs/TabsBadge.tsx
115941
+ const TabsBadge = ({ children }) => {
115942
+ const isCircular = typeof children === "number" && children <= 9 || typeof children === "string" && children.length === 1 || false;
115943
+ return /* @__PURE__ */ jsx("div", {
115944
+ "data-testid": "tabs-badge",
115945
+ className: clsx_default("bg-pink h-5 rounded-full text-xs leading-5 font-medium text-white", {
115946
+ "w-5 text-center": isCircular,
115947
+ "px-2": !isCircular
115948
+ }),
115949
+ children
115950
+ });
115951
+ };
115952
+ TabsBadge.displayName = "TabsBadge";
115953
+
115939
115954
  //#endregion
115940
115955
  //#region src/components/tabs/TabsWrapper.tsx
115941
115956
  const TabsWrapper = ({ setActiveTab, activeTab, tabs }) => {
@@ -116001,21 +116016,6 @@ const TabContent = forwardRef(({ tab, setActiveTab, activeTab }, ref) => /* @__P
116001
116016
  }));
116002
116017
  TabContent.displayName = "TabContent";
116003
116018
 
116004
- //#endregion
116005
- //#region src/components/tabs/TabsBadge.tsx
116006
- const TabsBadge = ({ children }) => {
116007
- const isCircular = typeof children === "number" && children <= 9 || typeof children === "string" && children.length === 1 || false;
116008
- return /* @__PURE__ */ jsx("div", {
116009
- "data-testid": "tabs-badge",
116010
- className: clsx_default("bg-pink h-5 rounded-full text-xs leading-5 font-medium text-white", {
116011
- "w-5 text-center": isCircular,
116012
- "px-2": !isCircular
116013
- }),
116014
- children
116015
- });
116016
- };
116017
- TabsBadge.displayName = "TabsBadge";
116018
-
116019
116019
  //#endregion
116020
116020
  //#region src/components/textArea/index.tsx
116021
116021
  const Textarea = forwardRef(({ className, label, error: error$1, rows = 8,...props }, ref) => /* @__PURE__ */ jsxs("div", {