Socket
Socket
Sign inDemoInstall

acl-ui

Package Overview
Dependencies
131
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    acl-ui

ACL UI Core + Components


Version published
Maintainers
1
Created

Readme

Source

ACL UI

ACL UI Components library, icon font, css and more!

ACL UI

Install

Add this to package.json, where VERSION_NUMBER equals e.g. 3.38.0 (get the version from here):

{
  "dependencies": {
    "@acl-services/acl-ui": "VERSION_NUMBER",
  }
}

Note: We use yarn for faster packages installation and better packages management. If you haven't had yarn installed, you can install it with

$ brew install yarn

and run

$ yarn

** May 2018 ** Current package issues may occur with node-sass and may be resolved using the following commmand

npm install node-sass --registry=http://registry.npm.taobao.org --sass-binary-site=http://npm.taobao.org/mirrors/node-sass

Styling Usage

Assuming you are using Webpack, you can import the base style and mixing helpers in a .scss file using:

// Import mixins and variables to use
@import "~acl-ui/helpers/css/index";

// Basic style using SASS variables
body {
  background-color: $color--black-lighten-80;
  color: $color--black;
  font-family: $font-family--default;
  margin: 0;
  width: 100%;
}

Component Usage

import React from "react";
import PropTypes from "prop-types";
import SidePanel from "acl-ui/components/SidePanel";

class SidePanelExample extends React.Component {
  openPanel() {
    this.refs.panel.open();
  }

  render() {
    return (
      <div>
        <button onClick={this.openPanel.bind(this)}>Open SidePanel</button>
        <SidePanel ref="panel" title="ACL UI is Awesome">
          <h1>Objectives:</h1>
          <ul>
            <li>Happy customers</li>
            <li>Profit</li>
          </ul>
        </SidePanel>
      </div>
    );
  }
}

export default SidePanelExample;

Consuming Services

Most of our services use ACL-UI in some format. The following table indicates those that are using and will also serve as the progress check against the move to ACL-UI 3's structure.

Pre 2.0acl-ui 2acl-ui 3Notes
Accountsxx
Inspirationsx
CommunitiesxStatic assets
ACL Store [wip]
Project Managerxx
Risk Managerxx
Results Managerxx
Visualizerxx
Storyboardsxx
ACL for Windowsx
Analytic
AXx
Project Manager Clientx
ADAx
Scripthubx
Report Manager
iOS App
Android App
Style Guidex
Build ACLx

After making a change, make sure to visually verify in the consuming services. If you are unable to verify the change, please let the respective developers and QAs know.

To generate tokens Markdown, SCSS & JSON from YAML

$ yarn design-tokens

Learn more

Check out the Wiki For more information!

ACL UI’s Storybook online

Viewable within ACL’s network only.

http://acl-ui.aclgrc-s1.com

FAQs

Last updated on 07 Mar 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc