@medway-ui/core 1.35.0 → 1.35.1

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/COMPONENTS.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # @medway-ui/core — Component Reference
2
2
 
3
3
  > **Auto-generated — do not edit manually.**
4
- > Package `@medway-ui/core` · v1.35.0 · Generated 2026-10-22
4
+ > Package `@medway-ui/core` · v1.35.1 · Generated 2026-10-23
5
5
 
6
6
  All components require React 18+ and are client components (`"use client"`).
7
7
 
@@ -2331,14 +2331,18 @@ Exported from `Carousel`. See component docs above for context.
2331
2331
 
2332
2332
  ## Design Tokens
2333
2333
 
2334
- ```tsx
2335
- // 1. Import CSS custom properties into your app root
2336
- import "@medway-ui/core/tokens.css";
2334
+ ```css
2335
+ /* 1. First line of the global CSS, before @tailwind (needs postcss-import) */
2336
+ @import "@medway-ui/core/tokens.css";
2337
+ ```
2337
2338
 
2339
+ ```tsx
2338
2340
  // 2. Import JS token map for tailwind.config.ts
2339
2341
  import { colors, content } from "@medway-ui/core/tokens";
2340
2342
  ```
2341
2343
 
2344
+ Full setup: https://ui.medway.com.br/docs/introduction/getting-started
2345
+
2342
2346
  ### CSS Custom Properties
2343
2347
 
2344
2348
  <details>
@@ -1,6 +1,6 @@
1
1
  # @medway-ui/core — Component Summary
2
2
 
3
- > v1.35.0 · For the full prop/variant reference see `COMPONENTS.md`.
3
+ > v1.35.1 · For the full prop/variant reference see `COMPONENTS.md`.
4
4
 
5
5
  ## Components
6
6
 
@@ -64,7 +64,12 @@
64
64
 
65
65
  ## Tokens
66
66
 
67
+ ```css
68
+ @import "@medway-ui/core/tokens.css"; /* global CSS, before @tailwind */
69
+ ```
70
+
67
71
  ```tsx
68
- import "@medway-ui/core/tokens.css"; // CSS custom properties
69
72
  import { colors } from "@medway-ui/core/tokens"; // Tailwind config
70
- ```
73
+ ```
74
+
75
+ Full setup: https://ui.medway.com.br/docs/introduction/getting-started
@@ -1,7 +1,7 @@
1
1
  # @medway-ui/core — Component Reference
2
2
 
3
3
  > **Auto-generated — do not edit manually.**
4
- > Package `@medway-ui/core` · v1.35.0 · Generated 2026-10-22
4
+ > Package `@medway-ui/core` · v1.35.1 · Generated 2026-10-23
5
5
 
6
6
  All components require React 18+ and are client components (`"use client"`).
7
7
 
@@ -2331,14 +2331,18 @@ Exported from `Carousel`. See component docs above for context.
2331
2331
 
2332
2332
  ## Design Tokens
2333
2333
 
2334
- ```tsx
2335
- // 1. Import CSS custom properties into your app root
2336
- import "@medway-ui/core/tokens.css";
2334
+ ```css
2335
+ /* 1. First line of the global CSS, before @tailwind (needs postcss-import) */
2336
+ @import "@medway-ui/core/tokens.css";
2337
+ ```
2337
2338
 
2339
+ ```tsx
2338
2340
  // 2. Import JS token map for tailwind.config.ts
2339
2341
  import { colors, content } from "@medway-ui/core/tokens";
2340
2342
  ```
2341
2343
 
2344
+ Full setup: https://ui.medway.com.br/docs/introduction/getting-started
2345
+
2342
2346
  ### CSS Custom Properties
2343
2347
 
2344
2348
  <details>
@@ -1,6 +1,6 @@
1
1
  # @medway-ui/core — Component Summary
2
2
 
3
- > v1.35.0 · For the full prop/variant reference see `COMPONENTS.md`.
3
+ > v1.35.1 · For the full prop/variant reference see `COMPONENTS.md`.
4
4
 
5
5
  ## Components
6
6
 
@@ -64,7 +64,12 @@
64
64
 
65
65
  ## Tokens
66
66
 
67
+ ```css
68
+ @import "@medway-ui/core/tokens.css"; /* global CSS, before @tailwind */
69
+ ```
70
+
67
71
  ```tsx
68
- import "@medway-ui/core/tokens.css"; // CSS custom properties
69
72
  import { colors } from "@medway-ui/core/tokens"; // Tailwind config
70
- ```
73
+ ```
74
+
75
+ Full setup: https://ui.medway.com.br/docs/introduction/getting-started
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medway-ui/core",
3
- "version": "1.35.0",
3
+ "version": "1.35.1",
4
4
  "private": false,
5
5
  "description": "Biblioteca de componentes e assets para o sistema Medway",
6
6
  "author": "Alekcarvalho",
@@ -10,6 +10,7 @@
10
10
  "types": "dist/index.d.ts",
11
11
  "files": [
12
12
  "dist",
13
+ "tokens.css",
13
14
  "README.md",
14
15
  "COMPONENTS.md",
15
16
  "COMPONENTS_SUMMARY.md"
@@ -84,7 +85,7 @@
84
85
  "@commitlint/cli": "^19.8.1",
85
86
  "@commitlint/config-conventional": "^19.8.1",
86
87
  "@eslint/eslintrc": "^3",
87
- "@medway-ui/icons": "^1.14.1",
88
+ "@medway-ui/icons": "^1.15.0",
88
89
  "@medway-ui/notes-core": "link:notes-core",
89
90
  "@rollup/plugin-node-resolve": "^16.0.3",
90
91
  "@tiptap/core": "^3.31.3",
package/tokens.css ADDED
@@ -0,0 +1,2 @@
1
+ /* postcss-import ignores package.json "exports", so "@medway-ui/core/tokens.css" must exist as a real file. */
2
+ @import "./dist/assets/css/tokens.css";