@turquoisehealth/pit-viper 2.183.0 → 2.183.1-dev.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.
Files changed (38) hide show
  1. package/claude-plugin/skills/pit-viper/SKILL.md +28 -31
  2. package/package.json +1 -1
  3. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  4. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  9. package/pv-components/dist/vue/base/components/base/PvMenu/cascadeUtils.d.ts +2 -1
  10. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  11. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +3 -1
  12. package/pv-components/dist/vue/base/pv-components-base.mjs +924 -871
  13. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  14. package/pv-components/dist/vue/base/types.d.ts +6 -4
  15. package/pv-components/dist/vue/visualizations/components/base/PvMenu/cascadeUtils.d.ts +2 -1
  16. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  17. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +3 -1
  18. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/helpers.d.ts +5 -1
  19. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterGroupMenu.vue.d.ts +21 -0
  20. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +33 -17
  21. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.d.ts +4 -0
  22. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +11 -8
  23. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2287 -1802
  24. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  25. package/pv-components/dist/vue/visualizations/types.d.ts +6 -4
  26. package/pv-components/dist/web/components/pv-menu/pv-menu.js +44 -35
  27. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1016 -963
  28. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +68 -59
  29. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +44 -35
  30. package/pv-components/dist/web/pv-components.iife.js +20 -20
  31. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
  32. package/claude-plugin/skills/pit-viper/references/design-language.md +0 -80
  33. package/claude-plugin/skills/pit-viper/references/design-rules.md +0 -265
  34. package/claude-plugin/skills/pit-viper/references/html-patterns.md +0 -468
  35. package/claude-plugin/skills/pit-viper/references/layout-patterns.md +0 -367
  36. package/claude-plugin/skills/pit-viper/references/patterns-core.md +0 -97
  37. package/claude-plugin/skills/pit-viper/references/theme-guide.md +0 -160
  38. package/claude-plugin/skills/pit-viper/references/vue-guidelines.md +0 -526
@@ -6,7 +6,11 @@ allowed-tools: Read Glob Grep Write Edit WebFetch
6
6
 
7
7
  # Pit Viper Design System
8
8
 
9
- Use Pit Viper for all frontend work. This skill grounds you in what actually exists in the design system no hallucinating components or inventing variants.
9
+ Fetch the endpoint index and orientation before starting:
10
+
11
+ ```
12
+ WebFetch https://pitviper.turquoise.health/llms.txt
13
+ ```
10
14
 
11
15
  ## Workflow
12
16
 
@@ -67,34 +71,22 @@ WebFetch https://pitviper.turquoise.health/llm/tokens?category=color
67
71
  WebFetch https://pitviper.turquoise.health/llm/tokens?category=spacing
68
72
  ```
69
73
 
70
- ### LLM Endpoints Reference
71
-
72
- Base URL: `https://pitviper.turquoise.health`
73
-
74
- | Endpoint | Purpose |
75
- |----------|---------|
76
- | `GET /llm` | API index |
77
- | `GET /llm/search?q={query}` | Search Vue + CSS components |
78
- | `GET /llm/component` | List all Vue components |
79
- | `GET /llm/component/{name}` | Get component details (props, stories, source) |
80
- | `GET /llm/css` | List all CSS components |
81
- | `GET /llm/css/{component}` | Get CSS component docs |
82
- | `GET /llm/css/themes` | Get theme CDN URLs |
83
- | `GET /llm/tokens` | List design tokens |
84
- | `GET /llm/tokens?category={cat}` | Filter tokens (color, spacing, typography, border, shadow) |
74
+ ### Step 4: Generate Output
85
75
 
86
- Add `?web_component=true` to component endpoints for web component variants.
76
+ For all modes, first fetch the composition model:
87
77
 
88
- ### Step 4: Generate Output
78
+ ```
79
+ WebFetch https://pitviper.turquoise.health/llm/composition
80
+ ```
89
81
 
90
- Based on detected mode, read the appropriate reference and generate:
82
+ Then based on detected mode, read the appropriate reference and generate:
91
83
 
92
- - **Vue Mode**: Read `references/vue-guidelines.md`, produce Vue 3 SFC
93
- - **HTML Mode**: Read `references/html-patterns.md`, produce HTML with pv-* classes. Starter template: `assets/pv-html-starter.html`. Full example: `examples/pv-html-example.html`
94
- - **Design Review**: Read `references/design-language.md`, explain component selection
84
+ - **Vue Mode**: WebFetch https://pitviper.turquoise.health/llm/guides/vue, produce Vue 3 SFC
85
+ - **HTML Mode**: WebFetch https://pitviper.turquoise.health/llm/guides/html, produce HTML with pv-* classes. Starter template: `assets/pv-html-starter.html`. Full example: `examples/pv-html-example.html`
86
+ - **Design Review**: WebFetch https://pitviper.turquoise.health/llm/guides/design-language, explain component selection
95
87
 
96
- For page-level layouts, also read `references/layout-patterns.md`.
97
- For theme decisions, also read `references/theme-guide.md`.
88
+ For page-level layouts, also WebFetch https://pitviper.turquoise.health/llm/guides/layouts.
89
+ For theme decisions, also WebFetch https://pitviper.turquoise.health/llm/guides/themes.
98
90
 
99
91
  ## Anti-Patterns
100
92
 
@@ -120,22 +112,27 @@ If `/llm/search` returns no match for a legitimate UI need:
120
112
 
121
113
  ## References
122
114
 
115
+ ### All modes — fetch first:
116
+ - `WebFetch https://pitviper.turquoise.health/llm/composition` — composition mental model, custom property API, flow vs. stack, failure modes
117
+
123
118
  ### Vue Mode — load these:
124
- 1. `references/design-rules.md` — spacing, typography, colors
125
- 2. `references/patterns-core.md` — utility class patterns
126
- 3. `references/vue-guidelines.md` — Vue setup and patterns
119
+ 1. WebFetch https://pitviper.turquoise.health/llm/guides/rules — spacing, typography, colors
120
+ 2. WebFetch https://pitviper.turquoise.health/llm/guides/patterns — utility class patterns
121
+ 3. WebFetch https://pitviper.turquoise.health/llm/guides/vue — Vue setup and patterns
127
122
 
128
123
  ### HTML Mode — load these:
129
- 1. `references/html-patterns.md` — CDN setup, web components, vanilla JS patterns
124
+ 1. WebFetch https://pitviper.turquoise.health/llm/guides/html — CDN setup, web components, vanilla JS patterns
130
125
  2. Starter template: `assets/pv-html-starter.html`
131
126
  3. Full example: `examples/pv-html-example.html` — complete layout with nav, filters, table, sidebar
132
127
 
133
128
  ### Design Review — load these:
134
- 1. `references/design-language.md` — token validation, rationale
129
+ 1. WebFetch https://pitviper.turquoise.health/llm/guides/design-language — token validation, rationale
130
+ 2. WebFetch https://pitviper.turquoise.health/llm/guides/philosophy — full composition model, reasoning, and failure modes
135
131
 
136
132
  ### Optional (any mode):
137
- - `references/layout-patterns.md` — full page or multi-component layouts
138
- - `references/theme-guide.md`Platform vs Consumer theme selection
133
+ - WebFetch https://pitviper.turquoise.health/llm/guides/layouts — full page or multi-component layouts
134
+ - WebFetch https://pitviper.turquoise.health/llm/guides/philosophyfull philosophy doc when the user asks for design rationale or reasoning (not just code generation)
135
+ - WebFetch https://pitviper.turquoise.health/llm/guides/themes — Platform vs Consumer theme selection
139
136
 
140
137
  ## Quick Component Map
141
138
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turquoisehealth/pit-viper",
3
- "version": "2.183.0",
3
+ "version": "2.183.1-dev.0",
4
4
  "description": "Turquoise Health's design system.",
5
5
  "main": "README.md",
6
6
  "publishConfig": {