@ed.yakovich/example-component-library--molecules--sticky-footer 1.0.0

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.
@@ -0,0 +1,11 @@
1
+ import { jsxs as r, jsx as c } from "react/jsx-runtime";
2
+ const i = (o) => {
3
+ const { children: e, slot_footer: t } = o;
4
+ return /* @__PURE__ */ r("div", { "data-component-id": "StickyFooter", className: "flex flex-col min-h-screen", children: [
5
+ /* @__PURE__ */ c("div", { className: "grow", children: e }),
6
+ t
7
+ ] });
8
+ };
9
+ export {
10
+ i as StickyFooter
11
+ };
@@ -0,0 +1,6 @@
1
+ import { ReactNode } from 'react';
2
+ export type StickyFooterType = {
3
+ children: ReactNode;
4
+ 'slot_footer': ReactNode;
5
+ };
6
+ export declare const StickyFooter: (props: StickyFooterType) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { StickyFooter } from './component';
2
+ export type { StickyFooterType } from './component';
package/dist/main.js ADDED
@@ -0,0 +1,4 @@
1
+ import { StickyFooter as t } from "./component/index.js";
2
+ export {
3
+ t as StickyFooter
4
+ };
package/package.json ADDED
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "@ed.yakovich/example-component-library--molecules--sticky-footer",
3
+ "author": "Ed Yakovich",
4
+ "private": false,
5
+ "version": "1.0.0",
6
+ "type": "module",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./dist/lib/main.d.ts",
10
+ "default": "./dist/main.js"
11
+ }
12
+ },
13
+ "files": [
14
+ "dist"
15
+ ],
16
+ "sideEffects": [
17
+ "**/*.css"
18
+ ],
19
+ "scripts": {
20
+ "dev": "vite",
21
+ "build": "tsc -b ./tsconfig.lib.json && vite build",
22
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
23
+ "preview": "vite preview"
24
+ },
25
+ "peerDependencies": {
26
+ "react": "^18.0.0 || ^19.0.0",
27
+ "react-dom": "^18.0.0 || ^19.0.0"
28
+ },
29
+ "devDependencies": {
30
+ "@types/node": "^22.5.4",
31
+ "@types/react": "^18.3.5",
32
+ "@types/react-dom": "^18.3.0",
33
+ "@typescript-eslint/eslint-plugin": "^7.18.0",
34
+ "@typescript-eslint/parser": "^7.18.0",
35
+ "@vitejs/plugin-react": "^4.3.1",
36
+ "ajv": "^8.17.1",
37
+ "eslint": "^8.57.0",
38
+ "eslint-plugin-react-hooks": "^4.6.2",
39
+ "eslint-plugin-react-refresh": "^0.4.11",
40
+ "glob": "^11.0.0",
41
+ "react": "^18.3.1",
42
+ "react-dom": "^18.3.1",
43
+ "typescript": "^5.6.2",
44
+ "vite": "^5.4.4",
45
+ "vite-plugin-dts": "^4.2.1",
46
+ "vite-plugin-lib-inject-css": "^2.1.1"
47
+ }
48
+ }