diff --git a/packages/theme-toolkit/src/component-stories-utrecht.tsx b/packages/theme-toolkit/src/component-stories-utrecht.tsx index c7faf88b3..9b3087227 100644 --- a/packages/theme-toolkit/src/component-stories-utrecht.tsx +++ b/packages/theme-toolkit/src/component-stories-utrecht.tsx @@ -53,6 +53,7 @@ import { TableCell, TableCaption, RadioButton, + SpotlightSection, Mark, CodeBlock, Code, @@ -424,6 +425,141 @@ export const UTRECHT_COMPONENT_STORIES: ComponentStory[] = [ name: 'Utrecht Heading - Level 6', render: () => The Quick Brown Fox Jumps Over The Lazy Dog, }, + { + storyId: 'react-utrecht-spotlight-section--default', + component: 'utrecht-spotlight-section', + name: 'Utrecht Spotlight Section', + render: () => ( + + Lorem ipsum + + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore + magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo + consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla + pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id + est laborum. + + + ), + detectTokens: { + anyOf: [ + 'utrecht.spotlight-section.color', + 'utrecht.spotlight-section.border-color', + 'utrecht.spotlight-section.border-width', + 'utrecht.spotlight-section.background-color', + 'utrecht.spotlight-section.padding-block-start', + 'utrecht.spotlight-section.padding-block-end', + 'utrecht.spotlight-section.padding-inline-start', + 'utrecht.spotlight-section.padding-inline-end', + 'utrecht.spotlight-section.marging-block-start', + 'utrecht.spotlight-section.marging-block-end', + ], + }, + }, + { + storyId: 'react-utrecht-spotlight-section--info', + component: 'utrecht-spotlight-section', + name: 'Utrecht Spotlight Section: Info', + render: () => ( + + Lorem ipsum + + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore + magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo + consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla + pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id + est laborum. + + + ), + detectTokens: { + anyOf: [ + 'utrecht.spotlight-section.info.color', + 'utrecht.spotlight-section.info.border-color', + 'utrecht.spotlight-section.info.border-width', + 'utrecht.spotlight-section.info.background-color', + 'utrecht.spotlight-section.info.icon-color', + ], + }, + }, + { + storyId: 'react-utrecht-spotlight-section--warning', + component: 'utrecht-spotlight-section', + name: 'Utrecht Spotlight Section: Warning', + render: () => ( + + Lorem ipsum + + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore + magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo + consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla + pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id + est laborum. + + + ), + detectTokens: { + anyOf: [ + 'utrecht.spotlight-section.warning.color', + 'utrecht.spotlight-section.warning.border-color', + 'utrecht.spotlight-section.warning.border-width', + 'utrecht.spotlight-section.warning.background-color', + 'utrecht.spotlight-section.warning.icon-color', + ], + }, + }, + { + storyId: 'react-utrecht-spotlight-section--error', + component: 'utrecht-spotlight-section', + name: 'Utrecht Spotlight Section: Error', + render: () => ( + + Lorem ipsum + + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore + magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo + consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla + pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id + est laborum. + + + ), + detectTokens: { + anyOf: [ + 'utrecht.spotlight-section.error.color', + 'utrecht.spotlight-section.error.border-color', + 'utrecht.spotlight-section.error.border-width', + 'utrecht.spotlight-section.error.background-color', + 'utrecht.spotlight-section.error.icon-color', + ], + }, + }, + { + storyId: 'react-utrecht-spotlight-section--ok', + component: 'utrecht-spotlight-section', + name: 'Utrecht Spotlight Section: Ok', + render: () => ( + + Lorem ipsum + + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore + magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo + consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla + pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id + est laborum. + + + ), + detectTokens: { + anyOf: [ + 'utrecht.spotlight-section.ok.color', + 'utrecht.spotlight-section.ok.border-color', + 'utrecht.spotlight-section.ok.border-width', + 'utrecht.spotlight-section.ok.background-color', + 'utrecht.spotlight-section.ok.icon-color', + ], + }, + }, { storyId: 'react-utrecht-radio-button--default', component: 'utrecht-radio-button',