diff --git a/.storybook/index.css b/.storybook/index.css index afd05bdc..44ff93bf 100644 --- a/.storybook/index.css +++ b/.storybook/index.css @@ -15,6 +15,7 @@ body { .light .sbdocs .sbdocs-content > h2, .light .sbdocs .sbdocs-content > h3, .light .sbdocs .sbdocs-content > .sb-anchor > h3, +.light .sbdocs .sbdocs-content > .sb-anchor > p, .light .sbdocs .sbdocs-content > p, .light .sbdocs .sbdocs-content > table th, .light .sbdocs .sbdocs-content > table td { @@ -25,6 +26,7 @@ body { .dark .sbdocs .sbdocs-content > h2, .dark .sbdocs .sbdocs-content > h3, .dark .sbdocs .sbdocs-content > .sb-anchor > h3, +.dark .sbdocs .sbdocs-content > .sb-anchor > p, .dark .sbdocs .sbdocs-content > p, .dark .sbdocs .sbdocs-content > table th, .dark .sbdocs .sbdocs-content > table td { @@ -163,6 +165,14 @@ body { @apply mt-2; } +.dark .sb-anchor > p > a { + @apply text-green-400; +} + +.light .sb-anchor > p > a { + @apply text-green-600; +} + .sb-bar, .docs-story { @apply bg-white; diff --git a/src/assets/icons/vueless/arrow_right.svg b/src/assets/icons/vueless/arrow_right.svg new file mode 100644 index 00000000..8f3ecf32 --- /dev/null +++ b/src/assets/icons/vueless/arrow_right.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/constants.js b/src/constants.js index 09af06ac..3ef93443 100644 --- a/src/constants.js +++ b/src/constants.js @@ -147,6 +147,7 @@ export const COMPONENTS = { UTabs: "ui.navigation-tabs", UProgress: "ui.navigation-progress", UPagination: "ui.navigation-pagination", + UBreadcrumbs: "ui.navigation-breadcrumbs", /* Loaders and Skeletons */ ULoader: "ui.loader", diff --git a/src/types.ts b/src/types.ts index 1808cb3e..152fa646 100644 --- a/src/types.ts +++ b/src/types.ts @@ -37,6 +37,7 @@ import UPaginationConfig from "./ui.navigation-pagination/config.ts"; import UProgressConfig from "./ui.navigation-progress/config.ts"; import UTabConfig from "./ui.navigation-tab/config.ts"; import UTabsConfig from "./ui.navigation-tabs/config.ts"; +import UBreadcrumbsConfig from "./ui.navigation-breadcrumbs/config.ts"; import UAvatarConfig from "./ui.image-avatar/config.ts"; import UIconConfig from "./ui.image-icon/config.ts"; import UCheckboxConfig from "./ui.form-checkbox/config.ts"; @@ -226,6 +227,7 @@ export interface Components { UProgress: Partial; UTab: Partial; UTabs: Partial; + UBreadcrumbs: Partial; UAvatar: Partial; UIcon: Partial; UCheckbox: Partial; diff --git a/src/ui.button-link/ULink.vue b/src/ui.button-link/ULink.vue index 0d187463..42ed1126 100644 --- a/src/ui.button-link/ULink.vue +++ b/src/ui.button-link/ULink.vue @@ -9,7 +9,7 @@ import { getDefaults } from "../utils/ui.ts"; import defaultConfig from "./config.ts"; import { COMPONENT_NAME } from "./constants.ts"; -import type { Props, Config } from "./types.ts"; +import type { Props, Config, ULinkSlotProps } from "./types.ts"; defineOptions({ inheritAttrs: false }); @@ -101,6 +101,7 @@ const { getDataTest, linkAttrs } = useUI(defaultConfig, mutatedProps);