From 1e5e925d427f2dd981fab2181a099759fe74e53b Mon Sep 17 00:00:00 2001 From: Paul Stanton Date: Thu, 22 Aug 2024 12:02:05 +0100 Subject: [PATCH] Fix pulsar css and js inclides --- Gruntfile.js | 1 - docs/docs/components/button.mdx | 14 +- docs/docs/guides/getting-started.mdx | 46 +- docs/docusaurus.config.js | 7 +- docs/src/css/custom.scss | 104 +- docs/src/theme/Layout/index.js | 11 + docs/src/theme/prism-include-languages.js | 23 + .../examples/dropdown-button-basic.html | 7 + docs/static/js/bundle.js | 104020 +++++++++++++++ docs/static/js/main.js | 37 + docs/yarn.lock | 42 +- package.json | 2 +- stylesheets/_component.cards.scss | 1 + stylesheets/_function.color-luminance.scss | 34 +- stylesheets/_function.color.scss | 53 +- stylesheets/_function.pick-best-color.scss | 19 +- stylesheets/pulsar.scss | 5 +- 17 files changed, 104232 insertions(+), 194 deletions(-) create mode 100644 docs/src/theme/Layout/index.js create mode 100644 docs/src/theme/prism-include-languages.js create mode 100644 docs/static/examples/dropdown-button-basic.html create mode 100644 docs/static/js/bundle.js create mode 100644 docs/static/js/main.js diff --git a/Gruntfile.js b/Gruntfile.js index 08681cce70..5bf7cadfc9 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -511,7 +511,6 @@ module.exports = function(grunt) { 'autoprefixer', 'browserify:dev', 'browserify:lexicon', - 'browserSync', 'watch' ]); diff --git a/docs/docs/components/button.mdx b/docs/docs/components/button.mdx index 11aab8e16a..6a8ca339fe 100644 --- a/docs/docs/components/button.mdx +++ b/docs/docs/components/button.mdx @@ -83,7 +83,7 @@ The text label you use for a button should be clear enough for any user to under If the button relates to an action, the label should ideally be a verb, use the common state classes to reinforce dangerous or destructive actions with colour, but don't rely on colour alone to communicate a button’s intention.
- +       
Other recommendations for labelling your buttons include: @@ -94,12 +94,12 @@ Other recommendations for labelling your buttons include:
Do use title case
-
-
- -
-
Don’t use sentence case or all caps
+
+
+
+  
+
Don’t use sentence case or all caps
@@ -127,7 +127,7 @@ If an action relates to creating new items of content, use 'New', Do not use 'Cr If a button triggers more than one action you should communicate the chain of events to the user, ideally in the order in which they will happen. This helps users to build a mental model of what is happening when they push a button.
- +  
## Using icons diff --git a/docs/docs/guides/getting-started.mdx b/docs/docs/guides/getting-started.mdx index 3e3bd1bf35..c4d045c133 100644 --- a/docs/docs/guides/getting-started.mdx +++ b/docs/docs/guides/getting-started.mdx @@ -10,46 +10,46 @@ As a Jadu designer or developer, you’re probably working on one or more of the ## Team -
-
-
-
-
- -
-

Paul Stanton

+
+
+
+
+
+ +
+

Paul Stanton

-
+
Head of User Experience @jadu
- -
-
-
-
+
+
+
+
-
-

James Jacobs

+
+

James Jacobs

-
+
Accessibility Lead
-