@nvidia/foundations-css 1.24.0 → 1.25.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.
- package/CHANGELOG.md +11 -0
- package/dist/base/base-external.css +1 -1
- package/dist/base/base-for-aem-only.css +1 -1
- package/dist/base/base.css +1 -1
- package/dist/base/theme-dark.css +1 -1
- package/dist/base/theme-light.css +1 -1
- package/dist/base/theme-only-dark.css +1 -1
- package/dist/components/all.css +1 -1
- package/dist/components/all.js +267 -24
- package/dist/components/menu-bar.css +1 -0
- package/dist/components/segmented-control.css +1 -1
- package/dist/css-sizes.js +62 -52
- package/dist/index.cjs +10 -2
- package/dist/index.js +10 -2
- package/dist/plugins/tailwind-theme.css +1 -0
- package/dist/plugins/tailwind3-theme.js +1 -0
- package/dist/plugins/variables-sass.sass +1 -0
- package/dist/themes/theme-partials.js +3 -1
- package/package.json +1 -1
- package/skills/kaizen-ui-html-css/SKILL.md +5 -3
- package/skills/kaizen-ui-html-css/references/components/Divider.md +56 -7
- package/skills/kaizen-ui-html-css/references/components/MenuBar.md +91 -0
- package/skills/kaizen-ui-html-css/references/design-tokens/COLORS.md +1 -1
- package/skills/kaizen-ui-html-css/references/guides/CONFIGURATION.md +0 -9
|
@@ -117,7 +117,7 @@ The shape mirrors the state suffix table above. Three families:
|
|
|
117
117
|
- `*-interaction-primary-{base,hover,selected}` — brand-green primary action treatment.
|
|
118
118
|
- `*-interaction-inverse-{base,hover,pressed}` — dark-on-light treatment for high-contrast actions.
|
|
119
119
|
|
|
120
|
-
Plus disabled coverage: `bg-interaction-disabled`, `bg-interaction-disabled-checked`, `text-interaction-disabled-checked`, `text-interaction-selected`, and `border-interaction-{base,hover,pressed,selected,strong,disabled,inverse,inverse-hover,inverse-pressed,primary-base,primary-hover,primary-selected}`.
|
|
120
|
+
Plus `bg-interaction-selected-subtle` for the raised surface of a selected item inside a track, and disabled coverage: `bg-interaction-disabled`, `bg-interaction-disabled-checked`, `text-interaction-disabled-checked`, `text-interaction-selected`, and `border-interaction-{base,hover,pressed,selected,strong,disabled,inverse,inverse-hover,inverse-pressed,primary-base,primary-hover,primary-selected}`.
|
|
121
121
|
|
|
122
122
|
Generic borders not tied to interactive state: `border-base`, `border-brand`, `border-disabled`.
|
|
123
123
|
|
|
@@ -15,15 +15,6 @@ Import the base styles before the component styles:
|
|
|
15
15
|
@import "@nvidia/foundations-css/components.css";
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
Use `base-external.css` in place of `base.css` for non-NVIDIA applications, where proprietary NVIDIA Sans font should not be used:
|
|
19
|
-
|
|
20
|
-
```css
|
|
21
|
-
@import "@nvidia/foundations-css/base-external.css";
|
|
22
|
-
@import "@nvidia/foundations-css/components.css";
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Prototypes and HTML-only projects without a package manager can load the same stylesheets from the NVIDIA web assets CDN. Pin the version so an application does not pick up component changes unexpectedly.
|
|
26
|
-
|
|
27
18
|
## Themes
|
|
28
19
|
|
|
29
20
|
Apply a color theme and a density theme near the root of the document. Both are plain classes, so they can also be applied to a subtree to scope a region.
|