analytica-frontend-lib 1.1.3 → 1.1.5

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.mts CHANGED
@@ -32,7 +32,7 @@ export { MultipleChoiceList } from './MultipleChoice/index.mjs';
32
32
  export { default as IconRender } from './IconRender/index.mjs';
33
33
  export { default as DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, MenuLabel, ProfileMenuFooter, ProfileMenuHeader, ProfileMenuSection, ProfileMenuTrigger } from './DropdownMenu/index.mjs';
34
34
  export { default as Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from './Select/index.mjs';
35
- export { Breadcrumb, default as Menu, MenuContent, MenuItem, MenuOverflow } from './Menu/index.mjs';
35
+ export { default as Menu, MenuContent, MenuItem, MenuOverflow } from './Menu/index.mjs';
36
36
  export { CardActivitiesResults, CardPerformance, CardProgress, CardQuestions, CardResults, CardSimulado, CardSimulationHistory, CardStatus, CardTest, CardTopic } from './Card/index.mjs';
37
37
  export { Skeleton, SkeletonCard, SkeletonCircle, SkeletonList, SkeletonRectangle, SkeletonRounded, SkeletonTable, SkeletonText } from './Skeleton/index.mjs';
38
38
  export { default as NotFound } from './NotFound/index.mjs';
package/dist/index.d.ts CHANGED
@@ -32,7 +32,7 @@ export { MultipleChoiceList } from './MultipleChoice/index.js';
32
32
  export { default as IconRender } from './IconRender/index.js';
33
33
  export { default as DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, MenuLabel, ProfileMenuFooter, ProfileMenuHeader, ProfileMenuSection, ProfileMenuTrigger } from './DropdownMenu/index.js';
34
34
  export { default as Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from './Select/index.js';
35
- export { Breadcrumb, default as Menu, MenuContent, MenuItem, MenuOverflow } from './Menu/index.js';
35
+ export { default as Menu, MenuContent, MenuItem, MenuOverflow } from './Menu/index.js';
36
36
  export { CardActivitiesResults, CardPerformance, CardProgress, CardQuestions, CardResults, CardSimulado, CardSimulationHistory, CardStatus, CardTest, CardTopic } from './Card/index.js';
37
37
  export { Skeleton, SkeletonCard, SkeletonCircle, SkeletonList, SkeletonRectangle, SkeletonRounded, SkeletonTable, SkeletonText } from './Skeleton/index.js';
38
38
  export { default as NotFound } from './NotFound/index.js';
package/dist/index.js CHANGED
@@ -35,7 +35,6 @@ __export(src_exports, {
35
35
  AlternativesList: () => AlternativesList,
36
36
  AuthProvider: () => AuthProvider,
37
37
  Badge: () => Badge_default,
38
- Breadcrumb: () => Breadcrumb,
39
38
  Button: () => Button_default,
40
39
  Calendar: () => Calendar_default,
41
40
  CardAccordation: () => CardAccordation,
@@ -6301,7 +6300,7 @@ var useMenuStore = (externalStore) => {
6301
6300
  var VARIANT_CLASSES5 = {
6302
6301
  menu: "bg-background shadow-soft-shadow-1 px-6",
6303
6302
  menu2: "",
6304
- breadcrumb: ""
6303
+ breadcrumb: "bg-transparent shadow-none !px-0 !-ml-2"
6305
6304
  };
6306
6305
  var Menu = (0, import_react20.forwardRef)(
6307
6306
  ({
@@ -6415,7 +6414,7 @@ var MenuItem = (0, import_react20.forwardRef)(
6415
6414
  "data-variant": "menu2",
6416
6415
  className: `
6417
6416
  w-full flex flex-col items-center px-2 pt-4 gap-3 cursor-pointer focus:rounded-sm justify-center hover:bg-background-100 rounded-lg
6418
- focus:outline-none focus:border-indicator-info focus:border-2
6417
+ focus:outline-none focus:border-indicator-info focus:border-2
6419
6418
  ${selectedValue === value ? "" : "pb-4"}
6420
6419
  `,
6421
6420
  ...commonProps,
@@ -6565,46 +6564,6 @@ var injectStore5 = (children, store) => import_react20.Children.map(children, (c
6565
6564
  ...typedChild.props.children ? { children: injectStore5(typedChild.props.children, store) } : {}
6566
6565
  });
6567
6566
  });
6568
- var Breadcrumb = (0, import_react20.forwardRef)(
6569
- ({ currentPage, parentPageName, onBackClick, className, ...props }, ref) => {
6570
- const handleBackToParent = (0, import_react20.useCallback)(() => {
6571
- onBackClick();
6572
- }, [onBackClick]);
6573
- const breadcrumbClassName = `bg-transparent shadow-none !px-0 py-4 !-ml-2 ${typeof className === "string" ? className : ""}`;
6574
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { ref, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
6575
- Menu,
6576
- {
6577
- variant: "breadcrumb",
6578
- defaultValue: "",
6579
- className: breadcrumbClassName,
6580
- children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(MenuContent, { variant: "breadcrumb", children: [
6581
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
6582
- MenuItem,
6583
- {
6584
- variant: "breadcrumb",
6585
- value: parentPageName.toLowerCase(),
6586
- onClick: handleBackToParent,
6587
- separator: true,
6588
- className: "text-text-600 underline cursor-pointer hover:text-text-950",
6589
- children: parentPageName
6590
- }
6591
- ),
6592
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
6593
- MenuItem,
6594
- {
6595
- variant: "breadcrumb",
6596
- value: currentPage.toLowerCase(),
6597
- className: "text-text-950 font-bold",
6598
- disabled: true,
6599
- children: currentPage
6600
- }
6601
- )
6602
- ] })
6603
- }
6604
- ) });
6605
- }
6606
- );
6607
- Breadcrumb.displayName = "Breadcrumb";
6608
6567
  var Menu_default = Menu;
6609
6568
 
6610
6569
  // src/components/Skeleton/Skeleton.tsx
@@ -9044,7 +9003,6 @@ var QuizListResultByMateria = ({
9044
9003
  AlternativesList,
9045
9004
  AuthProvider,
9046
9005
  Badge,
9047
- Breadcrumb,
9048
9006
  Button,
9049
9007
  Calendar,
9050
9008
  CardAccordation,