From 88b189d580ddbd1e812622bbe957f66b763058e1 Mon Sep 17 00:00:00 2001 From: coliff Date: Wed, 10 Jul 2024 21:24:39 +0900 Subject: [PATCH 1/3] Update Toasts examples / docs --- content/components/web/toasts/_index.md | 2 +- content/components/web/toasts/styles.md | 91 +++++++++++++------------ hugo.yml | 2 +- package-lock.json | 8 +-- package.json | 2 +- 5 files changed, 54 insertions(+), 51 deletions(-) diff --git a/content/components/web/toasts/_index.md b/content/components/web/toasts/_index.md index f988756c..86858910 100644 --- a/content/components/web/toasts/_index.md +++ b/content/components/web/toasts/_index.md @@ -79,7 +79,7 @@ Toasts display low priority, event-driven feedback which usually doesn’t requi 3 Emails Deleted + data-css-inspector-hide="bg-color height margin max-width padding" + data-css-inspector-show="width"> +
+ +
+

Title

+This is an informal toast. It shows you did something, but it's not very important.
+ +
@@ -57,31 +52,50 @@ popoverCSSInspector: true - Can sometimes be dismissed with a close icon. - Cannot include links. - - - - @@ -100,17 +114,9 @@ popoverCSSInspector: true instead. - For messages, use full sentences with punctuation. Use sentence case. -### Colors - | Element | Property | Color | | ----------------- | ---------- | --------------------------------------------------------------------------------------------------------- | -| Toast | Color | {{< color-preview nameL="Trimble Gray" hexL="#252a2e" nameD="White" hexD="#ffffff" >}} | -| | Background | {{< color-preview nameL="White" hexL="#ffffff" nameD=" " hexD="rgba(241,241,246,.15)" >}} | -| | Border | {{< color-preview nameL="Black (10%)" hexL="rgba(0,0,0,.1)" nameD="Black (10%)" hexD="rgba(0,0,0,.1)" >}} | -| Toast (Dark) | Color | {{< color-preview nameL="White" hexL="#fff" nameD="White" hexD="#ffffff" >}} | -| | Background | {{< color-preview nameL="Trimble Gray" hexL="#252a2e" nameD="Gray 10 (10%)" hexD="#171c1e80" >}} | -| | Border | {{< color-preview nameL="Black (10%)" hexL="rgba(0,0,0,.1)" nameD="Gray 10" hexD="#171c1e" >}} | | Toast (Primary) | Color | {{< color-preview nameL=" " hexL="#07599b" nameD="Gray Light" hexD="#f1f1f6" >}} | | | Background | {{< color-preview nameL="Blue (10%)" hexL="#cfe1ee" nameD="Trimble Blue (10%)" hexD="#019aeb80" >}} | | | Border | {{< color-preview nameL="Blue" hexL="#0063a3" nameD="Trimble Blue" hexD="#019aeb" >}} | @@ -120,11 +126,8 @@ popoverCSSInspector: true | Toast (Danger) | Color | {{< color-preview nameL="Trimble Gray" hexL="#252a2e" nameD="Gray Light" hexD="#f1f1f6" >}} | | | Background | {{< color-preview nameL="Red (10%)" hexL="#f4d1d3" nameD="Red (10%)" hexD="#da212c80" >}} | | | Border | {{< color-preview nameL="Red Dark" hexL="#da212c" nameD="Red" hexD="#da212c" >}} | -| Toast (Warning) | Color | {{< color-preview nameL="Trimble Gray" hexL="#252a2e" nameD="Gray Light" hexD="#f1f1f6" >}} | -| | Background | {{< color-preview nameL="Yellow" hexL="#fff2cc" nameD="Yellow (10%)" hexD="#fbad2680" >}} | -| | Border | {{< color-preview nameL="Yellow Dark" hexL="#e49325" nameD="Yellow" hexD="#fbad26" >}} | | Toast (Success) | Color | {{< color-preview nameL="Trimble Gray" hexL="#252a2e" nameD="Gray Light" hexD="#f1f1f6" >}} | | | Background | {{< color-preview nameL="Green" hexL="#dfe9d6" nameD="Green (10%)" hexD="#1e8a4480" >}} | | | Border | {{< color-preview nameL="Green Dark" hexL="#006638" nameD="Green" hexD="#1e8a44" >}} | -{class="table table-sm table-bordered border border-opacity-50"} +{class="table table-sm table-bordered border border-opacity-50 d-none"} diff --git a/hugo.yml b/hugo.yml index ecc356af..e5fa475c 100644 --- a/hugo.yml +++ b/hugo.yml @@ -4,7 +4,7 @@ languageCode: en-US locale: en-US enableInlineShortcodes: true -googleAnalytics: "" +googleAnalytics: "G-DZ0V55EQWB" params: title: Trimble Modus Design System diff --git a/package-lock.json b/package-lock.json index f5636127..66b7b606 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "private", "devDependencies": { "@fullhuman/postcss-purgecss": "6.0.0", - "@trimble-oss/modus-bootstrap": "2.0.0-alpha33", + "@trimble-oss/modus-bootstrap": "2.0.0-alpha34", "@trimble-oss/modus-icons": "1.14.0", "autoprefixer": "10.4.19", "bootstrap-print-css": "1.0.1", @@ -775,9 +775,9 @@ "dev": true }, "node_modules/@trimble-oss/modus-bootstrap": { - "version": "2.0.0-alpha33", - "resolved": "https://registry.npmjs.org/@trimble-oss/modus-bootstrap/-/modus-bootstrap-2.0.0-alpha33.tgz", - "integrity": "sha512-3snYk1YXdp3l6/1uw9pAWYpCgqUo49+nCaxJPNahNh0j+G1wXZY6N2XwZsJClX696zoBUZlbfNRmzttjy6qbyw==", + "version": "2.0.0-alpha34", + "resolved": "https://registry.npmjs.org/@trimble-oss/modus-bootstrap/-/modus-bootstrap-2.0.0-alpha34.tgz", + "integrity": "sha512-EPcs34NsUCYcLjt9E1lfU3UWWIFzLpp88u2JI/cJ6Ec9c4GZRNJQTseTSPTtFouBqrp7UHvsoAZqJuaZKiRUZQ==", "dev": true, "dependencies": { "bootstrap": "5.3.3" diff --git a/package.json b/package.json index 93bdb97c..ce1d3bc5 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ }, "devDependencies": { "@fullhuman/postcss-purgecss": "6.0.0", - "@trimble-oss/modus-bootstrap": "2.0.0-alpha33", + "@trimble-oss/modus-bootstrap": "2.0.0-alpha34", "@trimble-oss/modus-icons": "1.14.0", "autoprefixer": "10.4.19", "bootstrap-print-css": "1.0.1", From e574539d8031ce7eaa23fdb6a8bc6d75127a985f Mon Sep 17 00:00:00 2001 From: coliff Date: Wed, 10 Jul 2024 22:56:05 +0900 Subject: [PATCH 2/3] update MB2 --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 66b7b606..64025d03 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "private", "devDependencies": { "@fullhuman/postcss-purgecss": "6.0.0", - "@trimble-oss/modus-bootstrap": "2.0.0-alpha34", + "@trimble-oss/modus-bootstrap": "2.0.0-alpha35", "@trimble-oss/modus-icons": "1.14.0", "autoprefixer": "10.4.19", "bootstrap-print-css": "1.0.1", @@ -775,9 +775,9 @@ "dev": true }, "node_modules/@trimble-oss/modus-bootstrap": { - "version": "2.0.0-alpha34", - "resolved": "https://registry.npmjs.org/@trimble-oss/modus-bootstrap/-/modus-bootstrap-2.0.0-alpha34.tgz", - "integrity": "sha512-EPcs34NsUCYcLjt9E1lfU3UWWIFzLpp88u2JI/cJ6Ec9c4GZRNJQTseTSPTtFouBqrp7UHvsoAZqJuaZKiRUZQ==", + "version": "2.0.0-alpha35", + "resolved": "https://registry.npmjs.org/@trimble-oss/modus-bootstrap/-/modus-bootstrap-2.0.0-alpha35.tgz", + "integrity": "sha512-SXkU3K10RzymDxK0/AOZrCKdS5kxiegr9ggdYXvxScp+LTwTJi2yRE10ewa8d0nljURQQEGG79sFL3dQk4lmwg==", "dev": true, "dependencies": { "bootstrap": "5.3.3" diff --git a/package.json b/package.json index ce1d3bc5..a7e4178a 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ }, "devDependencies": { "@fullhuman/postcss-purgecss": "6.0.0", - "@trimble-oss/modus-bootstrap": "2.0.0-alpha34", + "@trimble-oss/modus-bootstrap": "2.0.0-alpha35", "@trimble-oss/modus-icons": "1.14.0", "autoprefixer": "10.4.19", "bootstrap-print-css": "1.0.1", From ed776b184de012cf4ff57e92289663244e49548b Mon Sep 17 00:00:00 2001 From: coliff Date: Wed, 17 Jul 2024 00:06:48 +0900 Subject: [PATCH 3/3] update MB2 --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 64025d03..fa02bb73 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "private", "devDependencies": { "@fullhuman/postcss-purgecss": "6.0.0", - "@trimble-oss/modus-bootstrap": "2.0.0-alpha35", + "@trimble-oss/modus-bootstrap": "2.0.0-alpha42", "@trimble-oss/modus-icons": "1.14.0", "autoprefixer": "10.4.19", "bootstrap-print-css": "1.0.1", @@ -775,9 +775,9 @@ "dev": true }, "node_modules/@trimble-oss/modus-bootstrap": { - "version": "2.0.0-alpha35", - "resolved": "https://registry.npmjs.org/@trimble-oss/modus-bootstrap/-/modus-bootstrap-2.0.0-alpha35.tgz", - "integrity": "sha512-SXkU3K10RzymDxK0/AOZrCKdS5kxiegr9ggdYXvxScp+LTwTJi2yRE10ewa8d0nljURQQEGG79sFL3dQk4lmwg==", + "version": "2.0.0-alpha42", + "resolved": "https://registry.npmjs.org/@trimble-oss/modus-bootstrap/-/modus-bootstrap-2.0.0-alpha42.tgz", + "integrity": "sha512-bsgS1Du5FAl0NJoSqLTCND6iXVRrW4Ct+Fev2J6Euwn1w3wP7v5xketXe2lGfLjOwN1MKzN4x7H4lIzcVH6sXw==", "dev": true, "dependencies": { "bootstrap": "5.3.3" diff --git a/package.json b/package.json index a7e4178a..df5428f8 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ }, "devDependencies": { "@fullhuman/postcss-purgecss": "6.0.0", - "@trimble-oss/modus-bootstrap": "2.0.0-alpha35", + "@trimble-oss/modus-bootstrap": "2.0.0-alpha42", "@trimble-oss/modus-icons": "1.14.0", "autoprefixer": "10.4.19", "bootstrap-print-css": "1.0.1",