@san-siva/blogkit 1.1.9 → 1.1.10
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/README.md +32 -9
- package/dist/cjs/components/Table.js +2 -2
- package/dist/cjs/components/Table.js.map +1 -1
- package/dist/cjs/index.css +1 -1
- package/dist/cjs/index.css.map +1 -1
- package/dist/cjs/staticComponents/TableStatic.js +3 -3
- package/dist/cjs/staticComponents/TableStatic.js.map +1 -1
- package/dist/esm/components/Table.js +2 -2
- package/dist/esm/components/Table.js.map +1 -1
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.css.map +1 -1
- package/dist/esm/staticComponents/TableStatic.js +3 -3
- package/dist/esm/staticComponents/TableStatic.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Table.tsx +3 -0
- package/src/staticComponents/TableStatic.tsx +5 -1
- package/src/styles/Table.module.scss +5 -4
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Blogkit
|
|
2
2
|
|
|
3
|
+

|
|
4
|
+
|
|
3
5
|
A comprehensive, production-ready blog component library for React and Next.js applications. Built with TypeScript and SCSS modules, Blogkit provides a complete suite of components for creating professional, interactive blog posts with advanced features including syntax highlighting, diagram rendering, callouts, and more.
|
|
4
6
|
|
|
5
7
|
**[View Full Documentation](https://blogkit-c367c.web.app/)** | **[Live Demo](https://santhoshsiva.dev)**
|
|
@@ -119,19 +121,40 @@ See Blogkit in action in these blogs and documentation sites:
|
|
|
119
121
|
- **[Optimizing Background Tasks with requestIdleCallback](https://santhoshsiva.dev/blog/optimizing-background-tasks-with-requestidlecallback-advanced-scheduling-in-the-javascript-event-loop/)** - Advanced scheduling in the JavaScript event loop
|
|
120
122
|
- **[Linting at Scale](https://santhoshsiva.dev/blog/linting-at-scale-strategies-for-updating-eslint-configs-in-large-applications/)** - Strategies for updating ESLint configs in large applications
|
|
121
123
|
|
|
122
|
-
## Requirements
|
|
124
|
+
## System Requirements
|
|
125
|
+
|
|
126
|
+
### Development Environment
|
|
127
|
+
|
|
128
|
+
- **Node.js**: 18.0.0 or higher (20.x LTS recommended)
|
|
129
|
+
- **Package Manager**: npm 7+, yarn 1.22+, or pnpm 8+
|
|
130
|
+
- **TypeScript**: 5.0.0 or higher (optional, but recommended for type safety)
|
|
131
|
+
|
|
132
|
+
### Runtime Dependencies
|
|
133
|
+
|
|
134
|
+
- **React**: ^19.0.0 or higher
|
|
135
|
+
- **React DOM**: ^19.0.0 or higher
|
|
136
|
+
- **Next.js**: ^16.0.10 or higher
|
|
137
|
+
|
|
138
|
+
### Operating System
|
|
123
139
|
|
|
124
|
-
-
|
|
125
|
-
-
|
|
126
|
-
-
|
|
140
|
+
Blogkit is cross-platform and supports:
|
|
141
|
+
- **macOS**: 10.15 (Catalina) or later
|
|
142
|
+
- **Windows**: 10 or later
|
|
143
|
+
- **Linux**: Most modern distributions (Ubuntu 20.04+, Debian 10+, etc.)
|
|
127
144
|
|
|
128
|
-
|
|
145
|
+
### Browser Support
|
|
129
146
|
|
|
130
147
|
Blogkit supports all modern browsers:
|
|
131
|
-
- Chrome
|
|
132
|
-
- Firefox
|
|
133
|
-
- Safari (
|
|
134
|
-
- Edge
|
|
148
|
+
- **Chrome**: Latest version
|
|
149
|
+
- **Firefox**: Latest version
|
|
150
|
+
- **Safari**: Latest version (macOS and iOS)
|
|
151
|
+
- **Edge**: Latest version
|
|
152
|
+
|
|
153
|
+
Minimum browser versions:
|
|
154
|
+
- Chrome 90+
|
|
155
|
+
- Firefox 88+
|
|
156
|
+
- Safari 14+
|
|
157
|
+
- Edge 90+
|
|
135
158
|
|
|
136
159
|
## Contributing
|
|
137
160
|
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
var TableStatic = require('../staticComponents/TableStatic.js');
|
|
7
7
|
|
|
8
|
-
const Table = ({ rows = [], headers = [], hasMarginUp = false, hasMarginDown = false, }) => {
|
|
9
|
-
return (jsxRuntime.jsx(TableStatic.default, { rows: rows, headers: headers, hasMarginUp: hasMarginUp, hasMarginDown: hasMarginDown }));
|
|
8
|
+
const Table = ({ rows = [], headers = [], hasMarginUp = false, hasMarginDown = false, fontSize, }) => {
|
|
9
|
+
return (jsxRuntime.jsx(TableStatic.default, { rows: rows, headers: headers, hasMarginUp: hasMarginUp, hasMarginDown: hasMarginDown, fontSize: fontSize }));
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
exports.default = Table;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.js","sources":["../../../src/components/Table.tsx"],"sourcesContent":["import { ReactNode } from 'react';\nimport TableStatic from '../staticComponents/TableStatic';\n\ninterface TableProperties {\n\trows?: ReactNode[][];\n\theaders?: ReactNode[];\n\thasMarginUp?: boolean;\n\thasMarginDown?: boolean;\n}\n\nconst Table = ({\n\trows = [],\n\theaders = [],\n\thasMarginUp = false,\n\thasMarginDown = false,\n}: TableProperties) => {\n\treturn (\n\t\t<TableStatic\n\t\t\trows={rows}\n\t\t\theaders={headers}\n\t\t\thasMarginUp={hasMarginUp}\n\t\t\thasMarginDown={hasMarginDown}\n\t\t/>\n\t);\n};\n\nexport default Table;\n"],"names":["_jsx","TableStatic"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"Table.js","sources":["../../../src/components/Table.tsx"],"sourcesContent":["import { ReactNode } from 'react';\nimport TableStatic from '../staticComponents/TableStatic';\n\ninterface TableProperties {\n\trows?: ReactNode[][];\n\theaders?: ReactNode[];\n\thasMarginUp?: boolean;\n\thasMarginDown?: boolean;\n\tfontSize?: string;\n}\n\nconst Table = ({\n\trows = [],\n\theaders = [],\n\thasMarginUp = false,\n\thasMarginDown = false,\n\tfontSize,\n}: TableProperties) => {\n\treturn (\n\t\t<TableStatic\n\t\t\trows={rows}\n\t\t\theaders={headers}\n\t\t\thasMarginUp={hasMarginUp}\n\t\t\thasMarginDown={hasMarginDown}\n\t\t\tfontSize={fontSize}\n\t\t/>\n\t);\n};\n\nexport default Table;\n"],"names":["_jsx","TableStatic"],"mappings":";;;;;;;AAWA,MAAM,KAAK,GAAG,CAAC,EACd,IAAI,GAAG,EAAE,EACT,OAAO,GAAG,EAAE,EACZ,WAAW,GAAG,KAAK,EACnB,aAAa,GAAG,KAAK,EACrB,QAAQ,GACS,KAAI;IACrB,QACCA,cAAA,CAACC,mBAAW,EAAA,EACX,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,aAAa,EAC5B,QAAQ,EAAE,QAAQ,EAAA,CACjB;AAEJ;;;;"}
|