@scania/tegel-lite 0.0.3-rules-beta.9 → 0.1.0-beta.globals-test-2

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 (48) hide show
  1. package/README.md +0 -29
  2. package/dist/assets/icons/scania/microphone.svg +4 -0
  3. package/dist/assets/icons/scania/microphone_inactive.svg +7 -0
  4. package/dist/assets/icons/scania/notification_snooze.svg +6 -0
  5. package/dist/assets/icons/scania/paperclip.svg +3 -0
  6. package/dist/components.css +2115 -1660
  7. package/dist/global.css +3075 -4720
  8. package/dist/scania-variables.css +8 -0
  9. package/dist/tl-badge.css +15 -0
  10. package/dist/tl-button.css +19 -0
  11. package/dist/tl-card.css +10 -0
  12. package/dist/tl-dropdown.css +54 -2
  13. package/dist/tl-folder-tabs.css +64 -0
  14. package/dist/tl-footer.css +64 -0
  15. package/dist/tl-header.css +211 -57
  16. package/dist/tl-icon.css +16 -0
  17. package/dist/tl-inline-tabs.css +81 -0
  18. package/dist/tl-modal.css +35 -0
  19. package/dist/tl-navigation-tabs.css +81 -0
  20. package/dist/tl-radio-button.css +1 -1
  21. package/dist/tl-side-menu.css +74 -0
  22. package/dist/tl-slider.css +1024 -1485
  23. package/dist/tl-spinner.css +8 -0
  24. package/dist/tl-step.css +8 -0
  25. package/dist/tl-stepper.css +8 -0
  26. package/dist/tl-table.css +17 -20
  27. package/dist/tl-text-field.css +32 -13
  28. package/package.json +4 -15
  29. package/.ai/rules/01-design-tokens.mdc +0 -318
  30. package/.ai/rules/02-components-forms.mdc +0 -396
  31. package/.ai/rules/03-components-display.mdc +0 -474
  32. package/.ai/rules/04-components-navigation.mdc +0 -358
  33. package/.ai/rules/05-guidelines.mdc +0 -144
  34. package/.ai/rules/06-patterns.mdc +0 -352
  35. package/.cursor/rules/tegel-lite/01-design-tokens.mdc +0 -317
  36. package/.cursor/rules/tegel-lite/02-components-forms.mdc +0 -395
  37. package/.cursor/rules/tegel-lite/03-components-display.mdc +0 -473
  38. package/.cursor/rules/tegel-lite/04-components-navigation.mdc +0 -357
  39. package/.cursor/rules/tegel-lite/05-guidelines.mdc +0 -143
  40. package/.cursor/rules/tegel-lite/06-patterns.mdc +0 -351
  41. package/.github/copilot-instructions.md +0 -2045
  42. package/AGENTS.md +0 -2045
  43. package/CLAUDE.md +0 -2045
  44. package/bin/setup-ai-rules.js +0 -368
  45. package/dist/tl-folder-tab.css +0 -87
  46. package/dist/tl-inline-tab.css +0 -80
  47. package/dist/tl-navigation-tab.css +0 -114
  48. package/dist/tl-textarea-mixins.css +0 -0
package/README.md CHANGED
@@ -87,35 +87,6 @@ dist/
87
87
 
88
88
  All components use the `tl-` prefix.
89
89
 
90
- ## AI Coding Rules
91
-
92
- This package ships with AI-aware coding rules that help AI assistants (Cursor, Claude Code, GitHub Copilot, OpenAI Codex) write correct tegel-lite markup.
93
-
94
- After installing the package, run:
95
-
96
- ```bash
97
- npx tegel-lite-setup-rules
98
- ```
99
-
100
- An interactive CLI will let you choose which AI tools to configure:
101
-
102
- | AI Tool | Files installed |
103
- | --- | --- |
104
- | **Cursor** | `.cursor/rules/tegel-lite/*.mdc` |
105
- | **Claude Code** | `CLAUDE.md` at project root |
106
- | **GitHub Copilot** | `.github/copilot-instructions.md` |
107
- | **OpenAI Codex** | `AGENTS.md` at project root |
108
-
109
- All options are selected by default. Use arrow keys to navigate, space to toggle, and enter to confirm.
110
-
111
- To skip the interactive prompt and install all formats at once:
112
-
113
- ```bash
114
- npx tegel-lite-setup-rules --all
115
- ```
116
-
117
- Re-running the command will update existing rules in place (using section markers) without duplicating content.
118
-
119
90
  ## Documentation
120
91
 
121
92
  Full documentation: **[tegel.scania.com](https://tegel.scania.com)**
@@ -0,0 +1,4 @@
1
+ <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M18 6C18 4.89543 17.1046 4 16 4C14.8954 4 14 4.89543 14 6V16C14 17.1046 14.8954 18 16 18C17.1046 18 18 17.1046 18 16V6ZM20 16C20 18.2091 18.2091 20 16 20C13.7909 20 12 18.2091 12 16V6C12 3.79086 13.7909 2 16 2C18.2091 2 20 3.79086 20 6V16Z" fill="#0B0C0F"/>
3
+ <path d="M24 12C24.5523 12 25 12.4477 25 13V16C25 20.6325 21.4998 24.4448 17 24.9424V28H21C21.5523 28 22 28.4477 22 29C22 29.5523 21.5523 30 21 30H11C10.4477 30 10 29.5523 10 29C10 28.4477 10.4477 28 11 28H15V24.9424C10.5002 24.4448 7 20.6325 7 16V13C7 12.4477 7.44772 12 8 12C8.55228 12 9 12.4477 9 13V16C9 19.866 12.134 23 16 23C19.866 23 23 19.866 23 16V13C23 12.4477 23.4477 12 24 12Z" fill="#0B0C0F"/>
4
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M9.00005 13.2402V16C9.00005 19.87 12.13 23 16 23C16.8299 23 17.6197 22.8598 18.3497 22.5898L19.8702 24.1104C18.9902 24.5403 18.02 24.8304 17 24.9404V28H21C21.55 28 22 28.45 22 29C22 29.55 21.55 30 21 30H11C10.45 30 10 29.55 10 29C10.0001 28.45 10.4501 28 11 28H15V24.9404C10.5 24.4404 7.00005 20.63 7.00005 16V13C7.00006 12.53 7.33033 12.1305 7.78032 12.0205L9.00005 13.2402Z" fill="#0B0C0F"/>
3
+ <path d="M2.29302 2.29297C2.68354 1.90246 3.31656 1.90245 3.70708 2.29297L29.7071 28.293C30.0975 28.6835 30.0976 29.3165 29.7071 29.707C29.3166 30.0975 28.6835 30.0975 28.293 29.707L2.29302 3.70703C1.90249 3.31651 1.90249 2.68349 2.29302 2.29297Z" fill="#0B0C0F"/>
4
+ <path d="M15.75 19.9902C13.74 19.8702 12.1298 18.26 12.0098 16.25L15.75 19.9902Z" fill="#0B0C0F"/>
5
+ <path d="M24 12C24.55 12 25 12.45 25 13V16C25 17.3899 24.6801 18.6999 24.1202 19.8799L22.5899 18.3496C22.8598 17.6197 23 16.8199 23 16V13C23 12.45 23.45 12 24 12Z" fill="#0B0C0F"/>
6
+ <path d="M16 2C18.21 2.00005 20 3.79003 20 6V15.7598L18 13.7598V6C18 4.90003 17.1 4.00005 16 4C14.9 4 14 4.9 14 6V9.75977L12 7.75977V6C12 3.79 13.79 2 16 2Z" fill="#0B0C0F"/>
7
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M17.625 28C18.1773 28 18.625 28.4477 18.625 29C18.625 29.5523 18.1773 30 17.625 30H13.625C13.0727 30 12.625 29.5523 12.625 29C12.625 28.4477 13.0727 28 13.625 28H17.625Z" fill="#0B0C0F"/>
3
+ <path d="M15.625 2C16.1773 2 16.625 2.44772 16.625 3V4.0498C17.315 4.11831 17.9835 4.25941 18.625 4.46094V6.58301C17.6984 6.20787 16.6861 6 15.625 6C11.2067 6 7.625 9.58172 7.625 14V24H23.625V14H25.625V24H26.625C27.1773 24 27.625 24.4477 27.625 25C27.625 25.5523 27.1773 26 26.625 26H4.625C4.07272 26 3.625 25.5523 3.625 25C3.625 24.4477 4.07272 24 4.625 24H5.625V14C5.625 8.81467 9.5717 4.55155 14.625 4.0498V3C14.625 2.44772 15.0727 2 15.625 2Z" fill="#0B0C0F"/>
4
+ <path d="M19.625 10.25C19.9091 10.25 20.1689 10.411 20.2959 10.665C20.4227 10.919 20.395 11.223 20.2246 11.4502L18.125 14.25H19.625C20.0392 14.25 20.375 14.5858 20.375 15C20.375 15.4142 20.0392 15.75 19.625 15.75H16.625C16.3409 15.75 16.0811 15.589 15.9541 15.335C15.8273 15.081 15.855 14.777 16.0254 14.5498L18.125 11.75H16.625C16.2108 11.75 15.875 11.4142 15.875 11C15.875 10.5858 16.2108 10.25 16.625 10.25H19.625Z" fill="#0B0C0F"/>
5
+ <path d="M27.625 3.25C27.9159 3.25 28.1802 3.41832 28.3037 3.68164C28.4271 3.94518 28.3875 4.25691 28.2012 4.48047L24.2266 9.25H27.625C28.0392 9.25 28.375 9.58579 28.375 10C28.375 10.4142 28.0392 10.75 27.625 10.75H22.625C22.3341 10.75 22.0698 10.5817 21.9463 10.3184C21.8229 10.0548 21.8625 9.74309 22.0488 9.51953L26.0234 4.75H22.625C22.2108 4.75 21.875 4.41421 21.875 4C21.875 3.58579 22.2108 3.25 22.625 3.25H27.625Z" fill="#0B0C0F"/>
6
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M17.6438 5.45697C19.5964 3.50467 22.7626 3.50449 24.7151 5.45697C26.6676 7.40949 26.6674 10.5756 24.7151 12.5283L14.0373 23.206C12.8658 24.3775 10.9657 24.3776 9.79418 23.206C8.62288 22.0345 8.62291 20.1353 9.79418 18.9638L17.9719 10.7851C18.3624 10.3949 18.9965 10.3947 19.387 10.7851C19.7774 11.1755 19.7772 11.8096 19.387 12.2001L11.2082 20.3779C10.818 20.7683 10.818 21.4015 11.2082 21.7919C11.5987 22.1824 12.2318 22.1822 12.6223 21.7919L23.3 11.1142C24.4716 9.94262 24.4716 8.04358 23.3 6.87201C22.1285 5.70048 20.2294 5.70045 19.0579 6.87201L17.926 8.00384C17.9231 8.00678 17.9192 8.00877 17.9163 8.01166L8.45727 17.4716C6.50471 19.4242 6.50483 22.5903 8.45727 24.5429C10.4099 26.4955 13.5759 26.4955 15.5286 24.5429L25.3 14.7714C25.6905 14.3809 26.3236 14.381 26.7141 14.7714C27.1046 15.1619 27.1046 15.795 26.7141 16.1855L16.9426 25.957C14.2089 28.6906 9.77687 28.6906 7.0432 25.957C4.30972 23.2233 4.30959 18.7912 7.0432 16.0576L17.6438 5.45697Z" fill="#0B0C0F"/>
3
+ </svg>