Improve Jqhtml_Integration.js documentation with hydration system explanation Add jqhtml-laravel integration packages for traditional Laravel projects 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
13 lines
331 B
JavaScript
13 lines
331 B
JavaScript
'use strict';
|
|
const { list } = require('postcss');
|
|
/** @type {(v: string | string[]) => [string, string, string, string]} */
|
|
module.exports = (v) => {
|
|
const s = typeof v === 'string' ? list.space(v) : v;
|
|
return [
|
|
s[0], // top
|
|
s[1] || s[0], // right
|
|
s[2] || s[0], // bottom
|
|
s[3] || s[1] || s[0], // left
|
|
];
|
|
};
|