@rkosafo/cai.components 0.0.18 → 0.0.20

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.
@@ -11,18 +11,11 @@
11
11
  let { topBar, children }: TFContentWrapperProps = $props();
12
12
  </script>
13
13
 
14
- <section id="tf-content" class="h-full w-full">
15
- {@render topBar?.()}
16
- <section class="flex h-full w-full flex-col rounded-tl-lg bg-[#f4f3ef]">
17
- <!-- {#if $activePage.showBreadCrumb}
18
- <div class="head-title pt-3 pl-6">
19
- <div class="left">
20
- <BreadCrumb options={$breadCrumb} {activeBreadCrumb} on:click={optionClicked} />
21
- </div>
22
- </div>
23
- {/if} -->
24
- <div class=" h-full w-full flex-grow overflow-hidden">
25
- {@render children()}
26
- </div>
14
+ <section id="tf-content" class="flex h-full w-full flex-col">
15
+ <div>
16
+ {@render topBar?.()}
17
+ </div>
18
+ <section class="flex h-full w-full flex-grow rounded-tl-lg bg-[#f4f3ef]">
19
+ {@render children()}
27
20
  </section>
28
21
  </section>
@@ -781,18 +781,18 @@ export interface BoxProps extends svelteHTML.HTMLAttributes<HTMLDivElement> {
781
781
  padding?: boolean;
782
782
  shadow?: boolean;
783
783
  }
784
- export interface IBreadCrumb {
784
+ export interface IBreadcrumb {
785
785
  title: string;
786
786
  component?: any;
787
787
  props?: any;
788
788
  path?: string;
789
789
  }
790
- export interface BreadCrumbProps {
791
- options: IBreadCrumb[];
790
+ export interface BreadcrumbProps {
791
+ options: IBreadcrumb[];
792
792
  activeBreadCrumb: string;
793
- onclik?: (val: IBreadCrumbClick) => void;
793
+ onclik?: (val: IBreadcrumbClick) => void;
794
794
  }
795
- export interface IBreadCrumbClick {
795
+ export interface IBreadcrumbClick {
796
796
  title: string;
797
797
  path?: string;
798
798
  index: number;
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
- import { IconifyIcon, type BreadCrumbProps } from '../../index.js';
2
+ import { IconifyIcon, type BreadcrumbProps } from '../../index.js';
3
3
 
4
- let { options = [], activeBreadCrumb = '', onclik }: BreadCrumbProps = $props();
4
+ let { options = [], activeBreadCrumb = '', onclik }: BreadcrumbProps = $props();
5
5
  </script>
6
6
 
7
7
  <ul class="breadcrumb">
@@ -1,4 +1,4 @@
1
- import { type BreadCrumbProps } from '../../index.js';
2
- declare const Breadcrumb: import("svelte").Component<BreadCrumbProps, {}, "">;
1
+ import { type BreadcrumbProps } from '../../index.js';
2
+ declare const Breadcrumb: import("svelte").Component<BreadcrumbProps, {}, "">;
3
3
  type Breadcrumb = ReturnType<typeof Breadcrumb>;
4
4
  export default Breadcrumb;
@@ -1 +1 @@
1
- export {};
1
+ export { default as Breadcrumb } from './Breadcrumb.svelte';
@@ -1 +1 @@
1
- "use strict";
1
+ export { default as Breadcrumb } from './Breadcrumb.svelte';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rkosafo/cai.components",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "files": [
5
5
  "dist",
6
6
  "!dist/**/*.test.*",