@chotot/clad-ui 3.0.0-next.6 → 3.0.0

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,30 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - Migrate to vite ([#448](https://github.com/carousell/clad-ui/pull/448))
8
+
9
+ ### Minor Changes
10
+
11
+ - Minor version upgrade for @chotot/clad-ui ([#445](https://github.com/carousell/clad-ui/pull/445))
12
+ - Icons have been extracted to a new @chotot/icons package. The @chotot/clad-ui package now re-exports all icons from @chotot/icons for backward compatibility. No breaking changes - all icons are still available through @chotot/clad-ui. ([#449](https://github.com/carousell/clad-ui/pull/449))
13
+ - Decompose monolithic `Drawer` into composable compound slots (`Drawer.Container`, `Drawer.DragHandle`, `Drawer.Header`, `Drawer.HeaderItem`, `Drawer.Body`, `Drawer.Button`), add desktop sizing options (`S`/`M`/`L`), and support mobile half-height expandable gestures. ([#480](https://github.com/carousell/clad-ui/pull/480))
14
+ - Add `display-price` typography token (`<DisplayPrice>`) and `background-chotot-light` color token (`backgroundChototLight`). ([#483](https://github.com/carousell/clad-ui/pull/483))
15
+ - Decompose monolithic `Popup` into composable compound slots (`Popup.Container`, `Popup.Header`, `Popup.HeaderItem`, `Popup.Body`, `Popup.Button`) with centered button actions and 100% backward compatibility for existing monolithic usages (PLMO-2506 / #481). ([#481](https://github.com/carousell/clad-ui/pull/481))
16
+ - Standardize `data-clad` root and slot selectors (`Drawer.Header`, `Drawer.Body`, `Drawer.Button`), forward `id` and `{...rest}` (`data-testid`, `data-*`, `aria-*`) across all 38 components, fix `Drawer` `contentClassName` duplication and `disablePrimaryButton` forwarding, and update `migrate-clad-ui-v3` and `clad-ui` skills. ([#496](https://github.com/carousell/clad-ui/pull/496))
17
+
18
+ ### Patch Changes
19
+
20
+ - Add white (blank) Button variant (`color="blank"`), rendered the same on `solid`, `default`, `outline` and `tonal` variants (PLMO-2501). ([#486](https://github.com/carousell/clad-ui/pull/486))
21
+ - Update Chip typography to Header scale (`header.annotation` for sm, `header.caption` for lg and xl) (PLMO-2502). ([#485](https://github.com/carousell/clad-ui/pull/485))
22
+ - Fix `Dropdown` portal menu `z-index` (`1500` → `1700`) so options render above `Drawer` and `Popup` modals (`z-index: 1600`). ([#512](https://github.com/carousell/clad-ui/pull/512))
23
+ - Fix Button `color="blank"` showing a white border around the button on hover and pressed (PLMO-2501). ([#489](https://github.com/carousell/clad-ui/pull/489))
24
+ - Migrate to Tailwind CSS v4 (Clad UI v3) ([#440](https://github.com/carousell/clad-ui/pull/440))
25
+ - Updated dependencies [[`c43d65c`](https://github.com/carousell/clad-ui/commit/c43d65c53c875e7e7191583eadc4cff3b25f52d2)]:
26
+ - @chotot/icons@3.0.0
27
+
3
28
  ## 2.4.0
4
29
 
5
30
  ### Minor Changes
@@ -1,8 +1,11 @@
1
1
  /**
2
- * @chotot/clad-ui/forge
2
+ * @chotot/clad-ui/forge (Experimental)
3
3
  *
4
4
  * Pre-release entry point for Clad Forge components before promotion to stable `@chotot/clad-ui`.
5
- * Keep exports isolated here so stable `packages/clad-ui/src/index.ts` and `packages/clad-ui/src/components/index.ts`
6
- * remain untouched during Forge build & review loops.
5
+ * - Keep exports isolated here so stable `packages/clad-ui/src/index.ts` and `packages/clad-ui/src/components/index.ts`
6
+ * remain untouched during Forge build & review loops.
7
+ * - Experimental subpath (outside root SemVer stability): when a component is promoted to stable `@chotot/clad-ui`,
8
+ * remove its export from `./forge` immediately (hard cut — do not leave `@deprecated` bridge re-exports here).
9
+ * - Only end-applications may import `@chotot/clad-ui/forge`; published shared libraries must import stable `@chotot/clad-ui`.
7
10
  */
8
11
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chotot/clad-ui",
3
- "version": "3.0.0-next.6",
3
+ "version": "3.0.0",
4
4
  "description": "Classified Ads group (Chotot) design system built on Tailwind CSS v4.",
5
5
  "keywords": [
6
6
  "chotot",
@@ -71,7 +71,7 @@
71
71
  "@floating-ui/react-dom": "^2.1.2",
72
72
  "cn": "^0.5.0",
73
73
  "tailwind-variants": "^3.3.1",
74
- "@chotot/icons": "^3.0.0-next.2"
74
+ "@chotot/icons": "^3.0.0"
75
75
  },
76
76
  "devDependencies": {
77
77
  "@playwright/experimental-ct-react": "^1.60.0",
@@ -83,7 +83,6 @@
83
83
  "@types/react-dom": "^18.3.5",
84
84
  "@vitejs/plugin-react-swc": "^4.2.2",
85
85
  "concurrently": "^9.2.1",
86
- "cross-env": "^7.0.3",
87
86
  "react": "*",
88
87
  "react-dom": "*",
89
88
  "tailwindcss": "^4.3.3",
@@ -110,15 +109,7 @@
110
109
  "preview": "vite preview",
111
110
  "publint": "publint",
112
111
  "pw": "playwright test -c playwright-ct.config.ts",
113
- "pw:compare": "rimraf 'playwright/.cache' && playwright test -c playwright-ct.compare.config.ts",
114
- "pw:compare:job": "cross-env CLAD_THEME=job pnpm pw:compare",
115
- "pw:compare:pty": "cross-env CLAD_THEME=pty pnpm pw:compare",
116
- "pw:compare:veh": "cross-env CLAD_THEME=veh pnpm pw:compare",
117
112
  "pw:ui": "playwright test -c playwright-ct.config.ts --ui",
118
- "pw:update": "rimraf 'playwright/.cache' && playwright test -c playwright-ct.config.ts --update-snapshots",
119
- "pw:update:job": "cross-env CLAD_THEME=job pnpm pw:update",
120
- "pw:update:pty": "cross-env CLAD_THEME=pty pnpm pw:update",
121
- "pw:update:veh": "cross-env CLAD_THEME=veh pnpm pw:update",
122
113
  "test": "pnpm validate:skills",
123
114
  "type-check": "tsc -b tsconfig.build.json",
124
115
  "validate:skills": "intent validate skills"
@@ -5,7 +5,7 @@ metadata:
5
5
  purpose: Build and style React UI using @chotot/clad-ui (Clad UI v3, Tailwind CSS v4) and @chotot/icons. Use when creating or updating UI components, selecting semantic color/typography tokens, wiring forms, modals, drawers, or tabs. Not for migrating legacy @chotot/clad-ui v2 Linaria code, use migrate-clad-ui-v3 instead.
6
6
  type: core
7
7
  library: '@chotot/clad-ui'
8
- library_version: '3.0.0-next.6'
8
+ library_version: '3.0.0'
9
9
  sources:
10
10
  - 'carousell/clad-ui:packages/clad-ui/src/**'
11
11
  ---
@@ -5,7 +5,7 @@ metadata:
5
5
  purpose: Report bugs, request component/token/icon enhancements, or propose new ideas for @chotot/clad-ui, @chotot/icons, and @chotot/charts by creating structured GitHub issues in carousell/clad-ui. Use when a consumer developer hits a design system bug, missing prop/icon/token, migration blocker, or asks to file feedback/issue for Clad UI.
6
6
  type: sub-skill
7
7
  library: '@chotot/clad-ui'
8
- library_version: '3.0.0-next.6'
8
+ library_version: '3.0.0'
9
9
  requires:
10
10
  - clad-ui
11
11
  sources:
@@ -5,7 +5,7 @@ metadata:
5
5
  purpose: Migrate consumer React/Next.js code from @chotot/clad-ui v2 (Linaria) to @chotot/clad-ui v3 (Tailwind CSS v4) and @chotot/icons. Supports incremental file/feature migration (coexistence via @chotot/clad-ui-v2 alias) and full-repo cutover. Not for building new v3 UI from scratch, use clad-ui instead.
6
6
  type: lifecycle
7
7
  library: '@chotot/clad-ui'
8
- library_version: '3.0.0-next.6'
8
+ library_version: '3.0.0'
9
9
  requires:
10
10
  - clad-ui
11
11
  sources: