@ngrr/ds 0.1.17 → 0.1.18

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 (3) hide show
  1. package/AGENTS.md +1 -0
  2. package/AI.md +1 -0
  3. package/package.json +1 -1
package/AGENTS.md CHANGED
@@ -444,6 +444,7 @@ Either populate with real, meaningful content or hide the slot entirely.
444
444
  13. **Enabling the primary CTA before all mandatory fields have a value.** The submit button must be disabled until the form is fillable.
445
445
  14. **Omitting `⌘↵` from the primary form submit button.** Always include the `Shortcut` component on the primary CTA.
446
446
  15. **Using dataviz colors from generic semantic tokens or hardcoded hex.** Always use `--color-dataviz-*` tokens for all chart and graph colors.
447
+ 16. **Adding spacing overrides directly to components.** Never add `padding`, `margin`, `gap`, or any spacing property directly on a DS-Nagarro component element. All components have their internal spacing built in. To space components relative to each other, apply `--space-*` tokens only to wrapper or container elements.
447
448
 
448
449
  ---
449
450
 
package/AI.md CHANGED
@@ -2067,6 +2067,7 @@ export const DisabledVariant: Story = {
2067
2067
  - ❌ Build page layout manually with divs — always use `AppShell`.
2068
2068
  - ❌ Apply scroll to the full page or AppShell root — only the content area scrolls.
2069
2069
  - ❌ Use hardcoded `padding-left`, `padding-right`, `margin-left`, or `margin-right` on any container — always use `var(--page-margin-x)`.
2070
+ - ❌ Add padding, margin, gap, or any spacing override directly to a DS-Nagarro component element. All components have internal spacing built in — overriding it breaks their proportions. To space components relative to each other, apply spacing tokens to wrapper/container elements only.
2070
2071
  - ❌ Allow card content to touch card edges — always apply `padding: var(--inset-large)`.
2071
2072
  - ❌ Leave list items undersized — always stretch to full container width.
2072
2073
  - ❌ Mix Tab and CustomView tab types in the same row.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngrr/ds",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "main": "./dist/ds-nagarro.umd.js",
5
5
  "module": "./dist/ds-nagarro.es.js",
6
6
  "types": "./dist/index.d.ts",