@agent-native/toolkit 0.4.3 → 0.4.4
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/dist/styles.css +11 -9
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Registers @agent-native/toolkit
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
2
|
+
* Registers @agent-native/toolkit components with Tailwind so apps that render
|
|
3
|
+
* toolkit UI (dropdowns, dialogs, popovers, etc.) generate the classes those
|
|
4
|
+
* components use. Without this, classes that appear ONLY inside toolkit
|
|
5
|
+
* components (e.g. the dropdown content's `z-[250]` and enter/exit animations)
|
|
6
|
+
* are never generated, and menus/overlays stack under raised app surfaces.
|
|
7
7
|
*
|
|
8
8
|
* Import in an app's `app/global.css` AFTER `@import "tailwindcss";`, alongside
|
|
9
9
|
* the core stylesheet:
|
|
@@ -12,8 +12,10 @@
|
|
|
12
12
|
* @import "@agent-native/core/styles/agent-native.css";
|
|
13
13
|
* @import "@agent-native/toolkit/styles.css";
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* Paths are self-relative to this file:
|
|
16
|
+
* - Monorepo / Vite workspace alias: this file is served from `src/`, so scan
|
|
17
|
+
* sibling TypeScript sources (dist/ is gitignored and skipped by Tailwind).
|
|
18
|
+
* - Published package: this file ships at `dist/styles.css`, so also scan
|
|
19
|
+
* compiled `.js` next to it for consumers that only install `dist/`.
|
|
18
20
|
*/
|
|
19
|
-
@source "./**/*.js";
|
|
21
|
+
@source "./**/*.{js,ts,tsx}";
|