NCIOCPL / ncids

NCI Design System
7 stars 5 forks source link

Create Overview Page for Utilities #1563

Open sarinapadilla opened 4 months ago

sarinapadilla commented 4 months ago

Out of conversations about updating our Utilities pages to use our own content instead of pointing to USWDS, we determined a need for a "What are Utilities"/"How to Use Utilities" page.

We'll need developers, designers, and IAs to collaborate on this page. And we'll be yoinking most of the content from the USWDS Utilities page.

Some notes so far on what it should contain: How to use our utilities:

Tasks

Resources

dcvijanovic1k commented 3 months ago

Most recent comp has been updated to this Mural: https://app.mural.co/t/publicissapient7269/m/publicissapient7269/1708713324713/8c29da52a2d2584c52555e5439d99047355482e2?sender=uc0870c1f8489401535da0005; awaiting content for any further updates on design side.

monika-jaeger commented 2 months ago

Updates to comps are here in Figma. Updated header and side nav to correct navigation and updated noted headers to H2s. Awaiting further input for content.

cc: @blilianyu @laurelthrash

laurelthrash commented 2 months ago

Will review content - on hold until confirmed.

olitharp-nci commented 2 months ago
@use 'uswds-core';
uswds-core.$output-these-utilities: (
    'padding',
    'box-shadow',
    'font',
    'background-color',
    'font-weight',
    'border-color',
    'line-height',
    'justify-content'
);
// Add aspect ALWAYS outputs no matter the settings. So let's make sure we get
// the smallest possible aspect classes.
uswds-core.$add-aspect-settings: (
    output: false,
    responsive: false,
    active: false,
    focus: false,
    hover: false,
    visited: false
);
uswds-core.$background-color-settings: (
    output: true,
    responsive: false,
    active: false,
    focus: false,
    hover: false,
    // Undo default
    visited: false
);
uswds-core.$box-shadow-settings: (
    output: true,
    responsive: false,
    active: false,
    focus: false,
    hover: false,
    // Undo default
    visited: false
);
uswds-core.$border-color-settings: (
    output: true,
    responsive: false,
    // Undo default
    active: false,
    focus: false,
    hover: false,
    // Undo default
    visited: false
);
uswds-core.$justify-content-settings: (
    output: true,
    responsive: true,
    // Undo default
    active: false,
    focus: false,
    hover: false,
    visited: false
);

@forward 'uswds-utilities';
laurelthrash commented 1 month ago

Work on this ticket complete from design side for the time being. Closing this out on the Design board.

andyvanavery31 commented 1 week ago

The utility module table will be a react component that is included in the MDX that reads from the utilities-modules.json.

Approach: TBD