Skip to content

Commit 616ef99

Browse files
authored
Merge pull request #93 from esnet/release/2.0.1-beta.1
chore: merge release/2.0.1-beta.1 into develop
2 parents 87a7b70 + 1635efc commit 616ef99

24 files changed

Lines changed: 387 additions & 99 deletions

.changeset/pre.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"mode": "pre",
3+
"tag": "beta",
4+
"initialVersions": {
5+
"css-docs": "1.0.1",
6+
"host-docs": "1.0.0",
7+
"react-docs": "0.9.1",
8+
"web-docs": "1.0.1",
9+
"@repo/eslint-config": "0.1.1",
10+
"@repo/typescript-config": "0.0.0",
11+
"@esnet/pkts-tokens": "1.1.1",
12+
"doc-ui": "1.3.1",
13+
"@esnet/packets-ui-css": "0.1.0",
14+
"@esnet/packets-ui-react": "0.9.1",
15+
"@esnet/packets-ui-web": "0.1.1"
16+
},
17+
"changesets": [
18+
"release-2-0-1"
19+
]
20+
}

.changeset/release-2-0-1.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
"@esnet/packets-ui-react": major
3+
"@esnet/packets-ui-web": major
4+
"@esnet/packets-ui-css": major
5+
---
6+
7+
Release 2.0.1: CSS variable prefix rename, component style migration, new components, and bug fixes.
8+
9+
**Breaking changes**
10+
11+
- CSS custom property prefix renamed from `--esnet-` to `--pkts-` across all packages. Any consumer overriding or referencing `--esnet-*` variables must update to `--pkts-*`.
12+
- Internal tokens package renamed from `@esnet/esnet-tokens` to `@esnet/pkts-tokens`.
13+
14+
**ui-react**
15+
16+
- Migrated component styles for Accordion, CodeBlock, Dropdown, InputOption, InputRow, InputSelect, InputTypeahead, Label, SkeletonChip, Spacer, and Tooltip from inline/component-scoped CSS into `ui-css`.
17+
- Refactored Button and IconButton prop interface.
18+
- Fixed Accordion close behavior.
19+
- Fixed empty string selected value issue on InputSelect.
20+
- Fixed Typeahead component issues.
21+
- Fixed inert attribute handling on Dropdown.
22+
- Fixed PktsChip vertical padding for icon/avatar alignment.
23+
- Added missing stories for InputOption and Label.
24+
- Generated component documentation.
25+
26+
**ui-web**
27+
28+
- Added PktsChipGroup web component.
29+
- Renamed `--esnet-` CSS variable prefix to `--pkts-`.
30+
31+
**ui-css**
32+
33+
- Migrated styles for all components listed above from ui-react into ui-css, making them available to CSS-only and web component consumers.
34+
- Added padding tokens to replace hard-coded values.
35+
- Added tokens for several previously non-tokenized CSS values.
36+
- Fixed CSS variable shadow typo.
37+
- Updated component comment prefix from `esnet` to `pkts` in index.css.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN pnpm run build
2020
RUN cd apps/host-docs && pnpm run build
2121

2222
# React docs at /react
23-
RUN cd apps/react-docs && pnpm run build
23+
RUN cd apps/react-docs && pnpm run build:storybook
2424

2525
# Web docs at /web
2626
RUN cd apps/web-docs && pnpm run build

apps/css-docs/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# css-docs
22

3+
## 1.0.2-beta.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @esnet/packets-ui-css@1.0.0-beta.0
9+
310
## 1.0.1
411

512
### Patch Changes

apps/css-docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "css-docs",
3-
"version": "1.0.1",
3+
"version": "1.0.2-beta.0",
44
"private": true,
55
"type": "module",
66
"scripts": {

apps/host-docs/src/components-react.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { Meta } from "@storybook/blocks";
2222

2323
## Installation
2424

25-
For installation instructions, see **[Installing React Components →](/?path=/docs/about-installing-react-components--docs)**
25+
For installation instructions, see <a href="/?path=/docs/about-installing-react-components--docs" target="_parent"><strong>Installing React Components →</strong></a>
2626

2727
</div>
2828
</div>

apps/host-docs/src/components-web.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { Meta } from "@storybook/blocks";
2222

2323
## Installation
2424

25-
For installation instructions, see **[Installing Web Components →](/?path=/docs/about-installing-web-components--docs)**
25+
For installation instructions, see <a href="/?path=/docs/about-installing-web-components--docs" target="_parent"><strong>Installing Web Components →</strong></a>
2626

2727
</div>
2828
</div>

apps/host-docs/src/css.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { Meta } from "@storybook/blocks";
2222

2323
## Installation
2424

25-
For installation instructions, see **[Installing CSS Components →](/?path=/docs/about-installing-css-components--docs)**
25+
For installation instructions, see <a href="/?path=/docs/about-installing-css-components--docs" target="_parent"><strong>Installing CSS Components →</strong></a>
2626

2727
</div>
2828
</div>

apps/host-docs/src/design-tokens.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ const CustomButton = styled.button`
7575

7676
If you're starting a new project or simply want to use Packets components, you **don't need design tokens**. Instead, use one of the component systems:
7777

78-
- **[Installing CSS Components →](/?path=/docs/about-installing-css-components--docs)** - For static sites and no-build projects
79-
- **[Installing Web Components →](/?path=/docs/about-installing-web-components--docs)** - For framework-agnostic applications
80-
- **[Installing React Components →](/?path=/docs/about-installing-react-components--docs)** - For React applications
78+
- <a href="/?path=/docs/about-installing-css-components--docs" target="_parent"><strong>Installing CSS Components →</strong></a> - For static sites and no-build projects
79+
- <a href="/?path=/docs/about-installing-web-components--docs" target="_parent"><strong>Installing Web Components →</strong></a> - For framework-agnostic applications
80+
- <a href="/?path=/docs/about-installing-react-components--docs" target="_parent"><strong>Installing React Components →</strong></a> - For React applications
8181

8282
</div>
8383
</div>
@@ -88,13 +88,13 @@ const CustomButton = styled.button`
8888

8989
Browse the design tokens by category:
9090

91-
- **[Colors](/?path=/docs/design-tokens-colors--docs)** - Color ramps and semantic color tokens
92-
- **[Spacing](/?path=/docs/design-tokens-spacing--docs)** - Margin, padding, and gap values
93-
- **[Motion](/?path=/docs/design-tokens-motion--docs)** - Animation durations and easing functions
94-
- **[Breakpoints](/?path=/docs/design-tokens-breakpoints--docs)** - Responsive breakpoint values
95-
- **[Radius & Borders](/?path=/docs/design-tokens-radius-and-borders--docs)** - Border radius and border width values
96-
- **[Elevation & Shadows](/?path=/docs/design-tokens-elevation-and-shadows--docs)** - Box shadow and elevation tokens
97-
- **[Icons](/?path=/docs/design-tokens-icons--docs)** - Icon size and styling tokens
91+
- <a href="/?path=/docs/design-tokens-colors--docs" target="_parent"><strong>Colors</strong></a> - Color ramps and semantic color tokens
92+
- <a href="/?path=/docs/design-tokens-spacing--docs" target="_parent"><strong>Spacing</strong></a> - Margin, padding, and gap values
93+
- <a href="/?path=/docs/design-tokens-motion--docs" target="_parent"><strong>Motion</strong></a> - Animation durations and easing functions
94+
- <a href="/?path=/docs/design-tokens-breakpoints--docs" target="_parent"><strong>Breakpoints</strong></a> - Responsive breakpoint values
95+
- <a href="/?path=/docs/design-tokens-radius-and-borders--docs" target="_parent"><strong>Radius & Borders</strong></a> - Border radius and border width values
96+
- <a href="/?path=/docs/design-tokens-elevation-and-shadows--docs" target="_parent"><strong>Elevation & Shadows</strong></a> - Box shadow and elevation tokens
97+
- <a href="/?path=/docs/design-tokens-icons--docs" target="_parent"><strong>Icons</strong></a> - Icon size and styling tokens
9898

9999
</div>
100100
</div>

apps/host-docs/src/getting-started.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { Paintbrush, Globe, Atom } from "lucide-react";
2929
<code className="pkts-doc-code">npm install @esnet/packets-ui-css</code>
3030
</div>
3131
<div style={{padding: "14px 24px", borderTop: "1px solid rgba(128,128,128,0.12)"}}>
32-
<a href="?path=/docs/about-installing-css-components--docs" className="pkts-link-blue">
32+
<a href="?path=/docs/about-installing-css-components--docs" target="_parent" className="pkts-link-blue">
3333
Installation guide →
3434
</a>
3535
</div>
@@ -50,7 +50,7 @@ import { Paintbrush, Globe, Atom } from "lucide-react";
5050
<code className="pkts-doc-code">npm install @esnet/packets-ui-css @esnet/packets-ui-web</code>
5151
</div>
5252
<div style={{padding: "14px 24px", borderTop: "1px solid rgba(128,128,128,0.12)"}}>
53-
<a href="?path=/docs/about-installing-web-components--docs" className="pkts-link-purple">
53+
<a href="?path=/docs/about-installing-web-components--docs" target="_parent" className="pkts-link-purple">
5454
Installation guide →
5555
</a>
5656
</div>
@@ -71,7 +71,7 @@ import { Paintbrush, Globe, Atom } from "lucide-react";
7171
<code className="pkts-doc-code">npm install @esnet/packets-ui-css @esnet/packets-ui-react</code>
7272
</div>
7373
<div style={{padding: "14px 24px", borderTop: "1px solid rgba(128,128,128,0.12)"}}>
74-
<a href="?path=/docs/about-installing-react-components--docs" className="pkts-link-cyan">
74+
<a href="?path=/docs/about-installing-react-components--docs" target="_parent" className="pkts-link-cyan">
7575
Installation guide →
7676
</a>
7777
</div>
@@ -195,9 +195,9 @@ import { Paintbrush, Globe, Atom } from "lucide-react";
195195
</tr>
196196
<tr>
197197
<td><strong>Installation</strong></td>
198-
<td><a href="?path=/docs/about-installing-css-components--docs" className="pkts-link-blue">CSS guide →</a></td>
199-
<td><a href="?path=/docs/about-installing-web-components--docs" className="pkts-link-purple">Web guide →</a></td>
200-
<td><a href="?path=/docs/about-installing-react-components--docs" className="pkts-link-cyan">React guide →</a></td>
198+
<td><a href="?path=/docs/about-installing-css-components--docs" target="_parent" className="pkts-link-blue">CSS guide →</a></td>
199+
<td><a href="?path=/docs/about-installing-web-components--docs" target="_parent" className="pkts-link-purple">Web guide →</a></td>
200+
<td><a href="?path=/docs/about-installing-react-components--docs" target="_parent" className="pkts-link-cyan">React guide →</a></td>
201201
</tr>
202202
</tbody>
203203
</table>

0 commit comments

Comments
 (0)