@kalink-ui/seedly 0.26.0 → 0.26.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @kalink-ui/seedly
2
2
 
3
+ ## 0.26.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 87daf77: ci(release): ensure public publishes under the `@kalink-ui` scope by configuring npm scope auth in CI and Changesets access. No runtime code changes.
8
+ - Updated dependencies [87daf77]
9
+ - @kalink-ui/dibbly@0.5.2
10
+
11
+ ## 0.26.2
12
+
13
+ ### Patch Changes
14
+
15
+ - 9bfff1e: chore(deps): move `@kalink-ui/dibbly` to runtime dependencies and align dev workflow. Ensures consumers resolve built ESM from `dist` while developing with a watcher in Dibbly.
16
+ - Updated dependencies [a97aad9]
17
+ - @kalink-ui/dibbly@0.5.1
18
+
19
+ ## 0.26.1
20
+
21
+ ### Patch Changes
22
+
23
+ - fef7681: Text/Heading: fix responsive typography by carrying forward `variant` and `size` across breakpoints so larger viewports don't reapply base styles. Also updates Heading story to demonstrate responsive behavior.
24
+
3
25
  ## 0.26.0
4
26
 
5
27
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kalink-ui/seedly",
3
- "version": "0.26.0",
3
+ "version": "0.26.3",
4
4
  "description": "A set of components for building UIs with React and TypeScript",
5
5
  "sideEffects": false,
6
6
  "license": "MIT",
@@ -43,9 +43,8 @@
43
43
  "vite": "^6.3.5",
44
44
  "vite-tsconfig-paths": "^5.1.4",
45
45
  "vitest": "^3.2.3",
46
- "@kalink-ui/dibbly": "0.5.0",
47
- "@kalink-ui/typescript-config": "0.4.0",
48
- "@kalink-ui/eslint-config": "0.10.0"
46
+ "@kalink-ui/eslint-config": "0.10.0",
47
+ "@kalink-ui/typescript-config": "0.4.0"
49
48
  },
50
49
  "peerDependencies": {
51
50
  "@vanilla-extract/css": "^1.17.1",
@@ -65,7 +64,8 @@
65
64
  "@radix-ui/react-select": "^2.2.5",
66
65
  "@radix-ui/react-slot": "^1.2.3",
67
66
  "clsx": "^2.1.1",
68
- "cmdk": "^1.1.1"
67
+ "cmdk": "^1.1.1",
68
+ "@kalink-ui/dibbly": "^0.5.2"
69
69
  },
70
70
  "publishConfig": {
71
71
  "access": "public"
@@ -30,8 +30,10 @@ export function buildTypographyOverrides(opts: {
30
30
  defaultOrder,
31
31
  );
32
32
 
33
- const baseVariant = varMap.xs ?? variant;
34
- const baseSize = sizeMap.xs ?? size;
33
+ // Carry forward variant/size values across breakpoints so that
34
+ // a value set at md persists to lg/xl/... unless overridden again.
35
+ let currentVariant = varMap.xs ?? (variant as TypographyVariant | undefined);
36
+ let currentSize = sizeMap.xs ?? (size as TypographySize | undefined);
35
37
 
36
38
  const classes: string[] = [];
37
39
 
@@ -40,11 +42,16 @@ export function buildTypographyOverrides(opts: {
40
42
  continue;
41
43
  }
42
44
 
43
- const v = varMap[bp] ?? baseVariant;
44
- const s = sizeMap[bp] ?? baseSize;
45
+ if (varMap[bp] != null) {
46
+ currentVariant = varMap[bp];
47
+ }
48
+
49
+ if (sizeMap[bp] != null) {
50
+ currentSize = sizeMap[bp];
51
+ }
45
52
 
46
- if (v && s) {
47
- const key = `${String(v)}.${String(s)}`;
53
+ if (currentVariant && currentSize) {
54
+ const key = `${String(currentVariant)}.${String(currentSize)}`;
48
55
  const cls = (
49
56
  typographyAt as Record<
50
57
  Exclude<BreakpointWithBase, 'xs'>,