Skip to content

Refactor(dates): Remove the schema subpath - #382

Merged
jlukic merged 1 commit into
mainfrom
dates/no-schema
Sep 30, 2026
Merged

jlukic merged 1 commit into
mainfrom
dates/no-schema

Conversation

@jlukic

@jlukic jlukic commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Change

This removes schema definitions from @semantic-ui/dates. They will now live in a deep path @semantic-ui/schema/dates and the date library will remain a day.js style Temporal wrapper for general use.

On net this simplifies the dep graph for dates, and the re-export pair from the two created more hassle than it solved.

This also cleans up the docs to no longer reference the schema exports so Dates remains a pure Temporal wrapper at its heart.

@semantic-ui/dates is a Temporal wrapper and carries no schema integration. The `./schema`
subpath, its optional peer, its types and its docs page are removed.
@semantic-bundle-bot

Copy link
Copy Markdown

⚪ Bundle size: no meaningful change · -153 shipped LOC for 11ca8ea

Base: main · Run: #36775519498 · Raw: size-report.json

Refactor(dates): Remove the schema subpath

Note

No shipped bundle changed size.

0 larger · 0 smaller · 25 unchanged · -153 shipped LOC · -28 comment LOC

signal result
component brotli 0 B
Shipped LOC -153
Comment LOC -28
Changed bundles 0 / 25

No bundle changed size. 🎉

LOC by scope: -153 shipped LOC · -28 comment LOC

Shipped LOC excludes comments and blank lines.

scope shipped LOC comment LOC
dates -153 -28
All 25 bundles, gzip, and raw sizes
bundle group brotli Δ brotli gzip Δ gzip raw Δ raw
compiler package 6.2 KB — 6.9 KB — 18.7 KB —
component 🎯 package 48.2 KB — 54.7 KB — 167.5 KB —
dates package 11.2 KB — 12.3 KB — 40.7 KB —
query package 16.3 KB — 18.2 KB — 53.3 KB —
reactivity package 7.9 KB — 8.8 KB — 26.8 KB —
renderer package 45.4 KB — 51.6 KB — 159.7 KB —
specs package 54.0 KB — 63.9 KB — 236.6 KB —
tailwind package 70.1 KB — 88.2 KB — 346.5 KB —
templating package 29.9 KB — 33.5 KB — 99.8 KB —
utils † package 25.2 KB — 28.2 KB — 73.1 KB —
framework framework 122.4 KB — 155.1 KB — 640.4 KB —
button primitive 12.1 KB — 15.3 KB — 129.0 KB —
card primitive 3.0 KB — 3.5 KB — 15.8 KB —
container primitive 694 B — 888 B — 2.4 KB —
divider primitive 1.6 KB — 1.9 KB — 6.5 KB —
icon primitive 19.2 KB — 24.0 KB — 84.4 KB —
image primitive 776 B — 993 B — 2.2 KB —
input primitive 4.0 KB — 4.6 KB — 15.8 KB —
label primitive 1.3 KB — 1.6 KB — 5.5 KB —
menu primitive 14.1 KB — 16.2 KB — 64.2 KB —
modal primitive 1.7 KB — 2.0 KB — 6.7 KB —
rail primitive 534 B — 695 B — 1.5 KB —
segment primitive 3.1 KB — 3.7 KB — 19.7 KB —
spinner primitive 1.8 KB — 2.1 KB — 8.0 KB —
table primitive 555 B — 692 B — 1.3 KB —

brotli q11 · gzip l9 · vs main · fresh build both sides · 1m04s

@jlukic
jlukic merged commit 54cbe41 into main Sep 30, 2026
12 checks passed
@jlukic
jlukic deleted the dates/no-schema branch September 30, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant