diff --git a/docs/lib/sage_rails/app/views/sage_components/_sage_icon.html.erb b/docs/lib/sage_rails/app/views/sage_components/_sage_icon.html.erb index 31cdeaf45b..78f2c88b40 100644 --- a/docs/lib/sage_rails/app/views/sage_components/_sage_icon.html.erb +++ b/docs/lib/sage_rails/app/views/sage_components/_sage_icon.html.erb @@ -32,6 +32,7 @@ end <%= component.generated_css_classes %> " size="<%= "#{component.size}" if component.size.present? %>" + <%= component.generated_html_attributes.html_safe %> > <% if component.card_color.present? %> diff --git a/package.json b/package.json index d91280fc16..cd4065961a 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "sassdocs": "cd packages/sage-assets && yarn run start", "setup": "bin/setup.sh", "setup:init": "yarn install && yarn docs:initialize", - "start": "yarn npm-run-all --parallel build:sd watch docs storybook sassdocs", + "start": "NODE_OPTIONS=--openssl-legacy-provider yarn npm-run-all --parallel build:sd watch docs storybook sassdocs", "storybook": "cd packages/sage-react && yarn storybook", "test": "yarn npm-run-all test:prod:*", "test:dev": "yarn npm-run-all test:dev:*", diff --git a/packages/sage-react/lib/Select/Select.jsx b/packages/sage-react/lib/Select/Select.jsx index b82d8bc1fa..9da3cca82e 100644 --- a/packages/sage-react/lib/Select/Select.jsx +++ b/packages/sage-react/lib/Select/Select.jsx @@ -1,6 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; +import { SageTokens } from '../configs'; export const Select = ({ className, @@ -78,7 +79,13 @@ export const Select = ({ : buildOption(option, i) ))} -