Skip to content

Commit

Permalink
Merge pull request #2159 from Teradata/new-pattern-process-doc
Browse files Browse the repository at this point in the history
Recreate Guides section - Adam
  • Loading branch information
knapsack-cloud[bot] authored May 8, 2024
2 parents 8012e99 + 0c7a030 commit 334dbaf
Show file tree
Hide file tree
Showing 63 changed files with 310 additions and 253 deletions.
1 change: 0 additions & 1 deletion apps/knapsack/data/blocks/block.Ioe5-CDp2.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@
]
}
},
"size": "large",
"blockType": "callout"
}
12 changes: 11 additions & 1 deletion apps/knapsack/data/blocks/block.Qo5t01X6yw.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,17 @@
},
"title": "Typography"
}
]
],
"gridStyles": {
"columns": "3",
"centered": false
},
"tileStyles": {
"rounded": true,
"outlined": true,
"imageSize": "none",
"titleSize": "small"
}
},
"blockType": "shortcut-tiles"
}
7 changes: 0 additions & 7 deletions apps/knapsack/data/blocks/block.d0NgtEmWM.json

This file was deleted.

42 changes: 42 additions & 0 deletions apps/knapsack/data/blocks/block.z7uw3T1AvI.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"id": "z7uw3T1AvI",
"data": {
"shortcuts": [
{
"id": "JDv5ZPaFQS",
"link": {
"name": "Color use",
"path": "/pages/color-use"
},
"title": "Color use"
},
{
"id": "MqrMiHpq-5",
"link": {
"name": "Errors",
"path": "/pages/errors"
},
"title": "Errors"
},
{
"id": "VoWngXyGWI",
"link": {
"name": "New pattern process",
"path": "/pages/new-pattern-process"
},
"title": "New pattern process"
}
],
"gridStyles": {
"columns": "3",
"centered": false
},
"tileStyles": {
"rounded": true,
"outlined": true,
"imageSize": "none",
"titleSize": "small"
}
},
"blockType": "shortcut-tiles"
}
4 changes: 2 additions & 2 deletions apps/knapsack/data/demos/demo.0n-okWquA.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"default": [
{
"type": "template-demo",
"demoId": "RMPpKHlzd",
"patternId": "radio",
"templateId": "web-components-qk2MWcBipT",
"demoId": "RMPpKHlzd"
"templateId": "web-components-qk2MWcBipT"
}
]
}
Expand Down
8 changes: 4 additions & 4 deletions apps/knapsack/data/demos/demo.1OH1Dga5C0.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
"status-header-actions": [
{
"type": "template-demo",
"demoId": "IxXMQMFkBT",
"patternId": "icon-button",
"templateId": "web-components-ctiCe2sAX",
"demoId": "IxXMQMFkBT"
"templateId": "web-components-ctiCe2sAX"
}
],
"status-header-icon": [
{
"type": "template-demo",
"demoId": "gMTyjmInaG",
"patternId": "circular-progress",
"templateId": "web-components-rw6v6c4fnU",
"demoId": "gMTyjmInaG"
"templateId": "web-components-rw6v6c4fnU"
}
],
"status-header-text": []
Expand Down
4 changes: 2 additions & 2 deletions apps/knapsack/data/demos/demo.1cr3GRlfdT.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"default": [
{
"type": "template-demo",
"demoId": "U89p0LyOsP",
"patternId": "switch",
"templateId": "web-components-tGj2TvSrpD",
"demoId": "U89p0LyOsP"
"templateId": "web-components-tGj2TvSrpD"
}
]
}
Expand Down
12 changes: 6 additions & 6 deletions apps/knapsack/data/demos/demo.3VTw68n4F5.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@
"icon": [
{
"type": "template-demo",
"demoId": "bn4zy44TYR",
"patternId": "icon",
"templateId": "web-components-N8bzRbfpuX",
"demoId": "bn4zy44TYR"
"templateId": "web-components-N8bzRbfpuX"
}
],
"text": [
{
"type": "text",
"text": "Balance"
"text": "Balance",
"type": "text"
},
{
"type": "text",
"text": "Every week"
"text": "Every week",
"type": "text"
}
]
}
Expand Down
8 changes: 4 additions & 4 deletions apps/knapsack/data/demos/demo.5aKkBtql-E.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
"action": [
{
"type": "template-demo",
"demoId": "E5ymzzEPs",
"patternId": "button",
"templateId": "web-components-raE1x4tYL",
"demoId": "E5ymzzEPs"
"templateId": "web-components-raE1x4tYL"
}
],
"dismiss": [
{
"type": "template-demo",
"demoId": "BueNSFTYn",
"patternId": "icon-button",
"templateId": "web-components-ctiCe2sAX",
"demoId": "BueNSFTYn"
"templateId": "web-components-ctiCe2sAX"
}
]
}
Expand Down
24 changes: 12 additions & 12 deletions apps/knapsack/data/demos/demo.5lBJhPKvTj.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,45 +16,45 @@
"section-action": [
{
"type": "template-demo",
"demoId": "MQBKTe4GON",
"patternId": "icon-button",
"templateId": "web-components-ctiCe2sAX",
"demoId": "MQBKTe4GON"
"templateId": "web-components-ctiCe2sAX"
}
],
"default": [
{
"type": "template-demo",
"demoId": "GOJxN1FZx",
"patternId": "tabs",
"templateId": "web-components-kjFGUA31tg",
"demoId": "GOJxN1FZx"
"templateId": "web-components-kjFGUA31tg"
},
{
"type": "template-demo",
"demoId": "8QAZfNvobo",
"patternId": "empty-state",
"templateId": "web-components-E0GwXgHJv",
"demoId": "8QAZfNvobo"
"templateId": "web-components-E0GwXgHJv"
}
],
"navigation": [
{
"type": "template-demo",
"demoId": "hjXCY4fSqY",
"patternId": "list",
"templateId": "web-components-fObxCsu2i8",
"demoId": "hjXCY4fSqY"
"templateId": "web-components-fObxCsu2i8"
}
],
"user-menu": [
{
"type": "template-demo",
"demoId": "NXMdeiHjKO",
"patternId": "toolbar",
"templateId": "web-components-A6-16QhSaM",
"demoId": "NXMdeiHjKO"
"templateId": "web-components-A6-16QhSaM"
}
],
"logo": [
{
"type": "text",
"text": "<svg slot=\"logo\" width=\"103\" height=\"20\" viewBox=\"0 0 103 20\" style=\"fill: var(--cv-theme-text-logo-on-background)\" fill=\"none\">\n <path d=\"M0 2.30182H3.53561V5.6615H7.47898V8.88045H3.53561V14.5072C3.53561 15.9632 4.26909 16.4391 5.30341 16.4391H7.47898V19.658H5.30341C1.68575 19.658 0 18.0358 0 14.5072V2.30182Z\"></path>\n <path d=\"M15.9376 19.9907C11.5865 19.9907 8.67492 17.0506 8.67492 12.6854C8.67492 8.32008 11.5318 5.32374 15.7461 5.32374C19.9605 5.32374 22.708 8.17934 22.708 12.5446C22.708 12.9643 22.6806 13.4121 22.5986 13.9443H12.3746C12.7003 15.9043 13.8714 16.828 15.9923 16.828C17.325 16.828 18.3046 16.2395 18.685 15.4565H22.33C21.5145 18.1714 19.2295 19.9907 15.9376 19.9907ZM12.4293 10.9787H19.0107C18.6577 9.21565 17.6233 8.37637 15.7461 8.37637C13.9783 8.37637 12.8371 9.27194 12.4293 10.9787Z\"></path>\n <path d=\"M24.6672 5.65895H28.0661V7.33751C29.3167 6.05044 30.8135 5.40563 32.2282 5.65895V9.01863C30.4604 8.79601 29.3192 9.63529 28.2028 11.1168V19.6529H24.6672V5.65895Z\"></path>\n <path d=\"M36.6316 19.8218C34.1303 19.8218 32.1437 18.3096 32.1437 15.1751C32.1437 12.6009 33.7201 10.8379 37.2557 10.8379H40.3288V10.4183C40.3288 9.13121 39.5406 8.59898 37.5814 8.59898C36.276 8.59898 35.2417 8.73972 33.827 9.15936V5.88412C34.916 5.57706 36.276 5.38004 37.8797 5.38004C41.9599 5.38004 43.8619 6.97416 43.8619 10.4183V19.6555H40.4084V18.8443L39.6202 19.1795C38.6132 19.5992 37.5814 19.8244 36.6291 19.8244L36.6316 19.8218ZM38.5635 16.5466L40.3313 15.7636V13.6935H37.6386C36.4153 13.6935 35.6793 14.282 35.6793 15.2058C35.6793 16.2984 36.4128 16.828 37.3377 16.828C37.7181 16.828 38.1532 16.7154 38.561 16.5491L38.5635 16.5466Z\"></path>\n <path d=\"M56.3758 19.6555V18.7318L56.1868 18.8162C54.9362 19.4329 53.6035 19.7399 52.3255 19.7399C48.9267 19.7399 45.9331 17.4728 45.9331 12.6598C45.9331 7.8467 48.9242 5.55148 52.3529 5.55148C53.6035 5.55148 54.9362 5.85853 56.1868 6.4752L56.2962 6.53149V0.341797H59.8318V19.6555H56.3758ZM52.9769 16.3802C53.7378 16.3802 54.5806 16.1832 55.4509 15.7636L56.2938 15.3439V9.97049L55.4509 9.55085C54.5806 9.13121 53.7378 8.93419 52.9769 8.93419C51.0177 8.93419 49.5507 10.1931 49.5507 12.6572C49.5507 15.1213 51.0202 16.3802 52.9769 16.3802Z\"></path>\n <path d=\"M66.2218 19.8218C63.7205 19.8218 61.7339 18.3096 61.7339 15.1751C61.7339 12.6009 63.3103 10.8379 66.8459 10.8379H69.919V10.4183C69.919 9.13121 69.1308 8.59898 67.1716 8.59898C65.8662 8.59898 64.8319 8.73972 63.4172 9.15936V5.88412C64.5062 5.57706 65.8662 5.38004 67.4699 5.38004C71.5501 5.38004 73.4521 6.97416 73.4521 10.4183V19.6555H69.9986V18.8443L69.2104 19.1795C68.2034 19.5992 67.1716 19.8244 66.2193 19.8244L66.2218 19.8218ZM68.1537 16.5466L69.9215 15.7636V13.6935H67.2288C66.0055 13.6935 65.2695 14.282 65.2695 15.2058C65.2695 16.2984 66.003 16.828 66.9279 16.828C67.3083 16.828 67.7435 16.7154 68.1512 16.5491L68.1537 16.5466Z\"></path>\n <path d=\"M76.0653 2.30182H79.6009V5.6615H83.5443V8.88045H79.6009V14.5072C79.6009 15.9632 80.3344 16.4391 81.3687 16.4391H83.5443V19.658H81.3687C77.7511 19.658 76.0653 18.0358 76.0653 14.5072V2.30182Z\"></path>\n <path d=\"M89.2555 19.8218C86.7542 19.8218 84.7676 18.3096 84.7676 15.1751C84.7676 12.6009 86.3439 10.8379 89.8795 10.8379H92.9527V10.4183C92.9527 9.13121 92.1645 8.59898 90.2053 8.59898C88.8999 8.59898 87.8656 8.73972 86.4509 9.15936V5.88412C87.5399 5.57706 88.8999 5.38004 90.5036 5.38004C94.5837 5.38004 96.4858 6.97416 96.4858 10.4183V19.6555H93.0323V18.8443L92.2441 19.1795C91.2371 19.5992 90.2053 19.8244 89.253 19.8244L89.2555 19.8218ZM91.1874 16.5466L92.9552 15.7636V13.6935H90.2624C89.0392 13.6935 88.3032 14.282 88.3032 15.2058C88.3032 16.2984 89.0367 16.828 89.9616 16.828C90.342 16.828 90.7771 16.7154 91.1849 16.5491L91.1874 16.5466Z\"></path>\n <path d=\"M98.5296 18.0588C98.5296 16.9943 99.3451 16.1551 100.407 16.1551C101.468 16.1551 102.284 16.9943 102.284 18.0588C102.284 19.1233 101.441 19.9907 100.407 19.9907C99.3725 19.9907 98.5296 19.1233 98.5296 18.0588Z\"></path>\n </svg>"
"text": "<svg slot=\"logo\" width=\"103\" height=\"20\" viewBox=\"0 0 103 20\" style=\"fill: var(--cv-theme-text-logo-on-background)\" fill=\"none\">\n <path d=\"M0 2.30182H3.53561V5.6615H7.47898V8.88045H3.53561V14.5072C3.53561 15.9632 4.26909 16.4391 5.30341 16.4391H7.47898V19.658H5.30341C1.68575 19.658 0 18.0358 0 14.5072V2.30182Z\"></path>\n <path d=\"M15.9376 19.9907C11.5865 19.9907 8.67492 17.0506 8.67492 12.6854C8.67492 8.32008 11.5318 5.32374 15.7461 5.32374C19.9605 5.32374 22.708 8.17934 22.708 12.5446C22.708 12.9643 22.6806 13.4121 22.5986 13.9443H12.3746C12.7003 15.9043 13.8714 16.828 15.9923 16.828C17.325 16.828 18.3046 16.2395 18.685 15.4565H22.33C21.5145 18.1714 19.2295 19.9907 15.9376 19.9907ZM12.4293 10.9787H19.0107C18.6577 9.21565 17.6233 8.37637 15.7461 8.37637C13.9783 8.37637 12.8371 9.27194 12.4293 10.9787Z\"></path>\n <path d=\"M24.6672 5.65895H28.0661V7.33751C29.3167 6.05044 30.8135 5.40563 32.2282 5.65895V9.01863C30.4604 8.79601 29.3192 9.63529 28.2028 11.1168V19.6529H24.6672V5.65895Z\"></path>\n <path d=\"M36.6316 19.8218C34.1303 19.8218 32.1437 18.3096 32.1437 15.1751C32.1437 12.6009 33.7201 10.8379 37.2557 10.8379H40.3288V10.4183C40.3288 9.13121 39.5406 8.59898 37.5814 8.59898C36.276 8.59898 35.2417 8.73972 33.827 9.15936V5.88412C34.916 5.57706 36.276 5.38004 37.8797 5.38004C41.9599 5.38004 43.8619 6.97416 43.8619 10.4183V19.6555H40.4084V18.8443L39.6202 19.1795C38.6132 19.5992 37.5814 19.8244 36.6291 19.8244L36.6316 19.8218ZM38.5635 16.5466L40.3313 15.7636V13.6935H37.6386C36.4153 13.6935 35.6793 14.282 35.6793 15.2058C35.6793 16.2984 36.4128 16.828 37.3377 16.828C37.7181 16.828 38.1532 16.7154 38.561 16.5491L38.5635 16.5466Z\"></path>\n <path d=\"M56.3758 19.6555V18.7318L56.1868 18.8162C54.9362 19.4329 53.6035 19.7399 52.3255 19.7399C48.9267 19.7399 45.9331 17.4728 45.9331 12.6598C45.9331 7.8467 48.9242 5.55148 52.3529 5.55148C53.6035 5.55148 54.9362 5.85853 56.1868 6.4752L56.2962 6.53149V0.341797H59.8318V19.6555H56.3758ZM52.9769 16.3802C53.7378 16.3802 54.5806 16.1832 55.4509 15.7636L56.2938 15.3439V9.97049L55.4509 9.55085C54.5806 9.13121 53.7378 8.93419 52.9769 8.93419C51.0177 8.93419 49.5507 10.1931 49.5507 12.6572C49.5507 15.1213 51.0202 16.3802 52.9769 16.3802Z\"></path>\n <path d=\"M66.2218 19.8218C63.7205 19.8218 61.7339 18.3096 61.7339 15.1751C61.7339 12.6009 63.3103 10.8379 66.8459 10.8379H69.919V10.4183C69.919 9.13121 69.1308 8.59898 67.1716 8.59898C65.8662 8.59898 64.8319 8.73972 63.4172 9.15936V5.88412C64.5062 5.57706 65.8662 5.38004 67.4699 5.38004C71.5501 5.38004 73.4521 6.97416 73.4521 10.4183V19.6555H69.9986V18.8443L69.2104 19.1795C68.2034 19.5992 67.1716 19.8244 66.2193 19.8244L66.2218 19.8218ZM68.1537 16.5466L69.9215 15.7636V13.6935H67.2288C66.0055 13.6935 65.2695 14.282 65.2695 15.2058C65.2695 16.2984 66.003 16.828 66.9279 16.828C67.3083 16.828 67.7435 16.7154 68.1512 16.5491L68.1537 16.5466Z\"></path>\n <path d=\"M76.0653 2.30182H79.6009V5.6615H83.5443V8.88045H79.6009V14.5072C79.6009 15.9632 80.3344 16.4391 81.3687 16.4391H83.5443V19.658H81.3687C77.7511 19.658 76.0653 18.0358 76.0653 14.5072V2.30182Z\"></path>\n <path d=\"M89.2555 19.8218C86.7542 19.8218 84.7676 18.3096 84.7676 15.1751C84.7676 12.6009 86.3439 10.8379 89.8795 10.8379H92.9527V10.4183C92.9527 9.13121 92.1645 8.59898 90.2053 8.59898C88.8999 8.59898 87.8656 8.73972 86.4509 9.15936V5.88412C87.5399 5.57706 88.8999 5.38004 90.5036 5.38004C94.5837 5.38004 96.4858 6.97416 96.4858 10.4183V19.6555H93.0323V18.8443L92.2441 19.1795C91.2371 19.5992 90.2053 19.8244 89.253 19.8244L89.2555 19.8218ZM91.1874 16.5466L92.9552 15.7636V13.6935H90.2624C89.0392 13.6935 88.3032 14.282 88.3032 15.2058C88.3032 16.2984 89.0367 16.828 89.9616 16.828C90.342 16.828 90.7771 16.7154 91.1849 16.5491L91.1874 16.5466Z\"></path>\n <path d=\"M98.5296 18.0588C98.5296 16.9943 99.3451 16.1551 100.407 16.1551C101.468 16.1551 102.284 16.9943 102.284 18.0588C102.284 19.1233 101.441 19.9907 100.407 19.9907C99.3725 19.9907 98.5296 19.1233 98.5296 18.0588Z\"></path>\n </svg>",
"type": "text"
}
]
}
Expand Down
8 changes: 4 additions & 4 deletions apps/knapsack/data/demos/demo.6tUMrwwjoe.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
"content": [
{
"type": "template-demo",
"demoId": "8QAZfNvobo",
"patternId": "empty-state",
"templateId": "web-components-E0GwXgHJv",
"demoId": "8QAZfNvobo"
"templateId": "web-components-E0GwXgHJv"
}
],
"footer": [
{
"type": "template-demo",
"demoId": "E5ymzzEPs",
"patternId": "button",
"templateId": "web-components-raE1x4tYL",
"demoId": "E5ymzzEPs"
"templateId": "web-components-raE1x4tYL"
}
]
}
Expand Down
8 changes: 4 additions & 4 deletions apps/knapsack/data/demos/demo.7gFch0E4yr.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
"slots": {
"label": [
{
"type": "text",
"text": "Tree list item"
"text": "Tree list item",
"type": "text"
}
],
"extraContent": [
{
"type": "text",
"text": "Secondary text"
"text": "Secondary text",
"type": "text"
}
]
}
Expand Down
16 changes: 8 additions & 8 deletions apps/knapsack/data/demos/demo.8QAZfNvobo.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,29 @@
"button": [
{
"type": "template-demo",
"demoId": "E5ymzzEPs",
"patternId": "button",
"templateId": "web-components-raE1x4tYL",
"demoId": "E5ymzzEPs"
"templateId": "web-components-raE1x4tYL"
},
{
"type": "template-demo",
"demoId": "E5ymzzEPs",
"patternId": "button",
"templateId": "web-components-raE1x4tYL",
"demoId": "E5ymzzEPs"
"templateId": "web-components-raE1x4tYL"
}
],
"buttons": [
{
"type": "template-demo",
"demoId": "E5ymzzEPs",
"patternId": "button",
"templateId": "web-components-raE1x4tYL",
"demoId": "E5ymzzEPs"
"templateId": "web-components-raE1x4tYL"
},
{
"type": "template-demo",
"demoId": "E5ymzzEPs",
"patternId": "button",
"templateId": "web-components-raE1x4tYL",
"demoId": "E5ymzzEPs"
"templateId": "web-components-raE1x4tYL"
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions apps/knapsack/data/demos/demo.8VqxwwTyJ.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"slots": {
"default": [
{
"type": "text",
"text": "arrow_back"
"text": "arrow_back",
"type": "text"
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions apps/knapsack/data/demos/demo.CkH7TzkgbA.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"slots": {
"default": [
{
"type": "text",
"text": "The quick brown fox jumps over the lazy dog"
"text": "The quick brown fox jumps over the lazy dog",
"type": "text"
}
]
}
Expand Down
12 changes: 6 additions & 6 deletions apps/knapsack/data/demos/demo.CvFKcI1eN0.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@
"slots": {
"default": [
{
"type": "text",
"text": "Check list item"
"text": "Check list item",
"type": "text"
}
],
"graphic": [
{
"type": "template-demo",
"demoId": "bn4zy44TYR",
"patternId": "icon",
"templateId": "web-components-N8bzRbfpuX",
"demoId": "bn4zy44TYR"
"templateId": "web-components-N8bzRbfpuX"
}
],
"secondary": [
{
"type": "text",
"text": "secondary text"
"text": "secondary text",
"type": "text"
}
]
}
Expand Down
12 changes: 6 additions & 6 deletions apps/knapsack/data/demos/demo.E5NLCltz6.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@
"slots": {
"default": [
{
"type": "text",
"text": "Navigation item"
"text": "Navigation item",
"type": "text"
}
],
"graphic": [
{
"type": "template-demo",
"demoId": "bn4zy44TYR",
"patternId": "icon",
"templateId": "web-components-N8bzRbfpuX",
"demoId": "bn4zy44TYR"
"templateId": "web-components-N8bzRbfpuX"
}
],
"expansion-panel": [
{
"type": "template-demo",
"demoId": "SIyOkmonoE",
"patternId": "list",
"templateId": "web-components-fObxCsu2i8",
"demoId": "SIyOkmonoE"
"templateId": "web-components-fObxCsu2i8"
}
]
}
Expand Down
Loading

0 comments on commit 334dbaf

Please sign in to comment.