@local-civics/hub-ui 0.1.149 → 0.1.150

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
@@ -639,21 +639,6 @@ type OverlayProps = {
639
639
  */
640
640
  declare const Overlay: (props: OverlayProps) => JSX.Element;
641
641
 
642
- /**
643
- * PathwayProps
644
- */
645
- type PathwayButtonProps = {
646
- active?: boolean;
647
- name?: "policy & government" | "arts & culture" | "college & career" | "volunteer" | "recreation";
648
- onClick?: () => void;
649
- };
650
- /**
651
- * A component for displaying a single pathway
652
- * @param props
653
- * @constructor
654
- */
655
- declare const PathwayButton: (props: PathwayButtonProps) => JSX.Element;
656
-
657
642
  /**
658
643
  * PathwayFilter props
659
644
  */
@@ -1069,6 +1054,36 @@ type PathwayProps = PathwayCardProps & {
1069
1054
  */
1070
1055
  declare const Pathway: (props: PathwayProps) => JSX.Element;
1071
1056
 
1057
+ type PathwayFilterOption = {
1058
+ label: string;
1059
+ isActive?: boolean;
1060
+ };
1061
+ /**
1062
+ * PathwaySectionProps
1063
+ */
1064
+ type PathwaySectionProps = {
1065
+ pathways: PathwayProps[];
1066
+ isLoading?: boolean;
1067
+ readonly?: boolean;
1068
+ list?: boolean;
1069
+ onToggleLayout?: (next: boolean) => void;
1070
+ };
1071
+ /**
1072
+ * PathwaySection
1073
+ * @param props
1074
+ * @constructor
1075
+ */
1076
+ declare const PathwaySection: (props: PathwaySectionProps) => JSX.Element;
1077
+
1078
+ type PathwayButtonProps = {
1079
+ title?: string;
1080
+ description?: string;
1081
+ imageURL?: string;
1082
+ compact?: boolean;
1083
+ onClick?: () => void;
1084
+ };
1085
+ declare const PathwayButton: (props: PathwayButtonProps) => JSX.Element;
1086
+
1072
1087
  /**
1073
1088
  * AuthLayoutProps
1074
1089
  */
@@ -1120,4 +1135,4 @@ type HomeLayoutProps = {
1120
1135
  */
1121
1136
  declare const HomeLayout: (props: HomeLayoutProps) => JSX.Element;
1122
1137
 
1123
- export { AboutWidget, AboutWidgetProps, AchievementWidget, AchievementWidgetProps, ActivityCard, ActivityCardProps, ActivityItem, ActivityItemProps, ActivityList, ActivityListProps, ActivityReflection, ActivityReflectionProps, AuthLayout, AuthLayoutProps, Badge, BadgeActivityMenu, BadgeActivityMenuProps, BadgeFilterOption, BadgeProps, BadgeSection, BadgeSectionProps, BadgeSuccessDialog, BadgeSuccessDialogProps, Board, BoardProps, Button, ButtonBorder, ButtonColor, ButtonFilter, ButtonJustify, ButtonProps, ButtonSize, ButtonSpacing, ButtonTheme, Card, CardProps, CtaListProps, DateSelection, DateSelectionProps, DaySelectionOptionProps, EventItem, EventItemProps, EventList, EventListProps, Home, HomeLayout, HomeLayoutProps, Icon, IconName, IconProps, ImpactWidget, ImpactWidgetProps, LearningForm, LearningFormProps, Loader, LoaderProps, LogServiceButton, LogServiceButtonProps, Logo, Modal, ModalProps, NavBar, NavBarProps, NavLink, NavLinkName, NavLinkProps, NotFound, NotFoundProps, Onboarding, OnboardingProps, Overlay, OverlayProps, Pathway, PathwayButton, PathwayButtonProps, PathwayFilter, PathwayFilterProps, PathwayProgress, PathwayProgressHeight, PathwayProgressProps, PathwayProps, PathwayWidget, PathwayWidgetProps, ProfileWidget, Progress, ProgressProps, ResidentWidgetProps, Search, SearchButton, SearchButtonProps, SearchProps, SearchResult, SearchResultProps, SettingsCard, SettingsCardProps, Stopwatch, StopwatchProps, Tab, TabProps, TagFilter, TagFilterProps, TaskItem, TaskItemProps, TaskList, TaskListProps, Widget, WidgetBody, WidgetBodyProps, WidgetHeader, WidgetHeaderLink, WidgetHeaderLinkProps, WidgetHeaderProps, WidgetProps, WidgetTitle, WidgetTitleProps };
1138
+ export { AboutWidget, AboutWidgetProps, AchievementWidget, AchievementWidgetProps, ActivityCard, ActivityCardProps, ActivityItem, ActivityItemProps, ActivityList, ActivityListProps, ActivityReflection, ActivityReflectionProps, AuthLayout, AuthLayoutProps, Badge, BadgeActivityMenu, BadgeActivityMenuProps, BadgeFilterOption, BadgeProps, BadgeSection, BadgeSectionProps, BadgeSuccessDialog, BadgeSuccessDialogProps, Board, BoardProps, Button, ButtonBorder, ButtonColor, ButtonFilter, ButtonJustify, ButtonProps, ButtonSize, ButtonSpacing, ButtonTheme, Card, CardProps, CtaListProps, DateSelection, DateSelectionProps, DaySelectionOptionProps, EventItem, EventItemProps, EventList, EventListProps, Home, HomeLayout, HomeLayoutProps, Icon, IconName, IconProps, ImpactWidget, ImpactWidgetProps, LearningForm, LearningFormProps, Loader, LoaderProps, LogServiceButton, LogServiceButtonProps, Logo, Modal, ModalProps, NavBar, NavBarProps, NavLink, NavLinkName, NavLinkProps, NotFound, NotFoundProps, Onboarding, OnboardingProps, Overlay, OverlayProps, Pathway, PathwayButton, PathwayButtonProps, PathwayFilter, PathwayFilterOption, PathwayFilterProps, PathwayProgress, PathwayProgressHeight, PathwayProgressProps, PathwayProps, PathwaySection, PathwaySectionProps, PathwayWidget, PathwayWidgetProps, ProfileWidget, Progress, ProgressProps, ResidentWidgetProps, Search, SearchButton, SearchButtonProps, SearchProps, SearchResult, SearchResultProps, SettingsCard, SettingsCardProps, Stopwatch, StopwatchProps, Tab, TabProps, TagFilter, TagFilterProps, TaskItem, TaskItemProps, TaskList, TaskListProps, Widget, WidgetBody, WidgetBodyProps, WidgetHeader, WidgetHeaderLink, WidgetHeaderLinkProps, WidgetHeaderProps, WidgetProps, WidgetTitle, WidgetTitleProps };