@publish.os/nextjs 0.0.1-alpha.4 → 0.0.1-alpha.5

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.
Files changed (38) hide show
  1. package/dist/kernel/components/blocks/design-system-preview.cjs +18 -17
  2. package/dist/kernel/components/blocks/design-system-preview.js +18 -17
  3. package/dist/kernel/components/blocks/link-playground.cjs +3 -3
  4. package/dist/kernel/components/blocks/link-playground.js +3 -3
  5. package/dist/kernel/components/blocks/navbar.cjs +1 -1
  6. package/dist/kernel/components/blocks/navbar.js +1 -1
  7. package/dist/kernel/components/blocks/navigation-progress-playground.cjs +2 -2
  8. package/dist/kernel/components/blocks/navigation-progress-playground.js +2 -2
  9. package/dist/kernel/components/ui/button-group.cjs +2 -3
  10. package/dist/kernel/components/ui/button-group.d.cts +2 -2
  11. package/dist/kernel/components/ui/button-group.d.ts +2 -2
  12. package/dist/kernel/components/ui/button-group.js +2 -3
  13. package/dist/kernel/components/ui/button.cjs +4 -12
  14. package/dist/kernel/components/ui/button.d.cts +3 -4
  15. package/dist/kernel/components/ui/button.d.ts +3 -4
  16. package/dist/kernel/components/ui/button.js +4 -12
  17. package/dist/kernel/components/ui/card.d.cts +1 -1
  18. package/dist/kernel/components/ui/card.d.ts +1 -1
  19. package/dist/kernel/components/ui/tag.cjs +104 -0
  20. package/dist/kernel/components/ui/tag.d.cts +14 -0
  21. package/dist/kernel/components/ui/tag.d.ts +14 -0
  22. package/dist/kernel/components/ui/tag.js +76 -0
  23. package/dist/kernel/components/ui/text.d.cts +1 -1
  24. package/dist/kernel/components/ui/text.d.ts +1 -1
  25. package/dist/kernel/components/ui/theme-toggle.cjs +1 -1
  26. package/dist/kernel/components/ui/theme-toggle.js +1 -1
  27. package/dist/kernel/defaults.registry.cjs +4 -4
  28. package/dist/kernel/defaults.registry.d.cts +4 -4
  29. package/dist/kernel/defaults.registry.d.ts +4 -4
  30. package/dist/kernel/defaults.registry.js +4 -4
  31. package/package.json +3 -4
  32. package/release/package.json +1 -1
  33. package/release/pnpm-lock.yaml +224 -201
  34. package/release/release.json +3 -3
  35. package/dist/kernel/components/ui/badge.cjs +0 -75
  36. package/dist/kernel/components/ui/badge.d.cts +0 -12
  37. package/dist/kernel/components/ui/badge.d.ts +0 -12
  38. package/dist/kernel/components/ui/badge.js +0 -47
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "runtime": "nextjs",
4
- "version": "0.0.1-alpha.4",
4
+ "version": "0.0.1-alpha.5",
5
5
  "cliProtocol": 1,
6
6
  "builderProtocol": 1,
7
7
  "node": ">=22.13",
@@ -15,8 +15,8 @@
15
15
  "sharp": true
16
16
  }
17
17
  },
18
- "packageJsonSha256": "891a357b034d2bb7291a7f39b329234ee3330dd4538df539783009c2fa386303",
19
- "lockfileSha256": "44e0e12c44c3dda26f6a07fb8fbc122b498ec6cdd4c001fa0b5f6a07af694e95",
18
+ "packageJsonSha256": "614535ab9d54da33dc2156278931c3f82942ab6d081c8643a740735e2d489c8b",
19
+ "lockfileSha256": "6f2689008c4e43958258b47e207958f03c6d265d80d4da9a6d784861e0638dd7",
20
20
  "configurableDependencies": {
21
21
  "icons": {
22
22
  "lucide": {
@@ -1,75 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/kernel/components/ui/badge.tsx
21
- var badge_exports = {};
22
- __export(badge_exports, {
23
- Badge: () => Badge,
24
- badgeVariants: () => badgeVariants
25
- });
26
- module.exports = __toCommonJS(badge_exports);
27
-
28
- // src/utils/cn.ts
29
- var import_clsx = require("clsx");
30
- var import_tailwind_merge = require("tailwind-merge");
31
- var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
32
- extend: {
33
- classGroups: {
34
- z: [
35
- "z-content",
36
- "z-nav",
37
- "z-overlay",
38
- "z-modal",
39
- "z-search",
40
- "z-toast",
41
- "z-progress"
42
- ]
43
- }
44
- }
45
- });
46
- function cn(...inputs) {
47
- return twMerge((0, import_clsx.clsx)(inputs));
48
- }
49
-
50
- // src/kernel/components/ui/badge.tsx
51
- var import_class_variance_authority = require("class-variance-authority");
52
- var import_jsx_runtime = require("react/jsx-runtime");
53
- var badgeVariants = (0, import_class_variance_authority.cva)(
54
- "inline-flex items-center rounded-badge border px-2 py-0.5 text-xs font-medium leading-5",
55
- {
56
- variants: {
57
- variant: {
58
- primary: "border-accent-border bg-accent-soft text-accent-1",
59
- secondary: "border-stroke-2 bg-surface-2 text-foreground-2",
60
- outline: "border-stroke-2 bg-transparent text-foreground-2"
61
- }
62
- },
63
- defaultVariants: {
64
- variant: "secondary"
65
- }
66
- }
67
- );
68
- function Badge({ className, variant, ...props }) {
69
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: cn(badgeVariants({ variant }), className), ...props });
70
- }
71
- // Annotate the CommonJS export names for ESM import in node:
72
- 0 && (module.exports = {
73
- Badge,
74
- badgeVariants
75
- });
@@ -1,12 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as class_variance_authority_types from 'class-variance-authority/types';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { HTMLAttributes } from 'react';
5
-
6
- declare const badgeVariants: (props?: ({
7
- variant?: "primary" | "secondary" | "outline" | null | undefined;
8
- } & class_variance_authority_types.ClassProp) | undefined) => string;
9
- type BadgeProps = HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants>;
10
- declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
11
-
12
- export { Badge, type BadgeProps, badgeVariants };
@@ -1,12 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as class_variance_authority_types from 'class-variance-authority/types';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { HTMLAttributes } from 'react';
5
-
6
- declare const badgeVariants: (props?: ({
7
- variant?: "primary" | "secondary" | "outline" | null | undefined;
8
- } & class_variance_authority_types.ClassProp) | undefined) => string;
9
- type BadgeProps = HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants>;
10
- declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
11
-
12
- export { Badge, type BadgeProps, badgeVariants };
@@ -1,47 +0,0 @@
1
- // src/utils/cn.ts
2
- import { clsx } from "clsx";
3
- import { extendTailwindMerge } from "tailwind-merge";
4
- var twMerge = extendTailwindMerge({
5
- extend: {
6
- classGroups: {
7
- z: [
8
- "z-content",
9
- "z-nav",
10
- "z-overlay",
11
- "z-modal",
12
- "z-search",
13
- "z-toast",
14
- "z-progress"
15
- ]
16
- }
17
- }
18
- });
19
- function cn(...inputs) {
20
- return twMerge(clsx(inputs));
21
- }
22
-
23
- // src/kernel/components/ui/badge.tsx
24
- import { cva } from "class-variance-authority";
25
- import { jsx } from "react/jsx-runtime";
26
- var badgeVariants = cva(
27
- "inline-flex items-center rounded-badge border px-2 py-0.5 text-xs font-medium leading-5",
28
- {
29
- variants: {
30
- variant: {
31
- primary: "border-accent-border bg-accent-soft text-accent-1",
32
- secondary: "border-stroke-2 bg-surface-2 text-foreground-2",
33
- outline: "border-stroke-2 bg-transparent text-foreground-2"
34
- }
35
- },
36
- defaultVariants: {
37
- variant: "secondary"
38
- }
39
- }
40
- );
41
- function Badge({ className, variant, ...props }) {
42
- return /* @__PURE__ */ jsx("span", { className: cn(badgeVariants({ variant }), className), ...props });
43
- }
44
- export {
45
- Badge,
46
- badgeVariants
47
- };