@r2digisolutions/ui 0.9.0 → 0.10.1

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.
@@ -8,4 +8,5 @@ import CardFooter from './ui/Card/CardFooter.svelte';
8
8
  import CardHeader from './ui/Card/CardHeader.svelte';
9
9
  import Avatar from './ui/Avatar/Avatar.svelte';
10
10
  import Container from './ui/Container/Container.svelte';
11
- export { Alert, TableList, Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter, Avatar, Container, };
11
+ import Section from './ui/Section/Section.svelte';
12
+ export { Alert, TableList, Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter, Avatar, Container, Section, };
@@ -8,4 +8,5 @@ import CardFooter from './ui/Card/CardFooter.svelte';
8
8
  import CardHeader from './ui/Card/CardHeader.svelte';
9
9
  import Avatar from './ui/Avatar/Avatar.svelte';
10
10
  import Container from './ui/Container/Container.svelte';
11
- export { Alert, TableList, Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter, Avatar, Container, };
11
+ import Section from './ui/Section/Section.svelte';
12
+ export { Alert, TableList, Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter, Avatar, Container, Section, };
@@ -0,0 +1,12 @@
1
+ <script lang="ts">
2
+ import type { Props } from './type.js';
3
+
4
+ const { children, ...props }: Props = $props();
5
+ </script>
6
+
7
+ <section class={['relative flex flex-col gap-2 py-32', props.class]}>
8
+ {@render children()}
9
+ </section>
10
+
11
+ <style>
12
+ </style>
@@ -0,0 +1,4 @@
1
+ import type { Props } from './type.js';
2
+ declare const Section: import("svelte").Component<Props, {}, "">;
3
+ type Section = ReturnType<typeof Section>;
4
+ export default Section;
@@ -0,0 +1,5 @@
1
+ import type { IBaseProps } from "../../../types/base.type.js";
2
+ import type { Snippet } from "svelte";
3
+ export interface Props extends IBaseProps {
4
+ children: Snippet;
5
+ }
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@r2digisolutions/ui",
3
- "version": "0.9.0",
3
+ "version": "0.10.1",
4
4
  "private": false,
5
5
  "packageManager": "bun@1.2.18",
6
6
  "publishConfig": {
@@ -59,8 +59,8 @@
59
59
  "@storybook/sveltekit": "^9.0.16",
60
60
  "@storybook/test": "^8.6.14",
61
61
  "@sveltejs/adapter-static": "^3.0.8",
62
- "@sveltejs/kit": "^2.22.5",
63
- "@sveltejs/package": "^2.3.12",
62
+ "@sveltejs/kit": "^2.23.0",
63
+ "@sveltejs/package": "^2.4.0",
64
64
  "@sveltejs/vite-plugin-svelte": "^6.0.0",
65
65
  "@tailwindcss/postcss": "^4.1.11",
66
66
  "@testing-library/svelte": "^5.2.8",
@@ -77,11 +77,11 @@
77
77
  "prettier-plugin-tailwindcss": "^0.6.14",
78
78
  "publint": "^0.3.12",
79
79
  "storybook": "^9.0.16",
80
- "svelte": "^5.35.6",
80
+ "svelte": "^5.36.0",
81
81
  "svelte-check": "^4.2.2",
82
82
  "tailwindcss": "^4.1.11",
83
83
  "typescript": "^5.8.3",
84
- "typescript-eslint": "^8.36.0",
84
+ "typescript-eslint": "^8.37.0",
85
85
  "vite": "^7.0.4",
86
86
  "vitest": "^3.2.4"
87
87
  },