@synergy-design-system/metadata 3.8.0 → 3.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/data/core/component/component:syn-chart.json +181 -0
- package/data/core/setup/setup:angular-components-module.json +1 -1
- package/data/core/setup/setup:angular-forms-module.json +1 -1
- package/data/core/setup/setup:angular-package.json +2 -2
- package/data/core/setup/setup:angular-validators-module.json +1 -1
- package/data/core/setup/setup:components-package.json +2 -2
- package/data/core/setup/setup:react-package.json +2 -2
- package/data/core/setup/setup:tokens-package.json +10 -2
- package/data/core/setup/setup:vue-package.json +2 -2
- package/data/core/token/token:tokens-charts-js-index-d-ts.json +31 -0
- package/data/core/token/token:tokens-charts-js-index-js.json +31 -0
- package/data/core/token/token:tokens-charts-scss-tokens-scss.json +31 -0
- package/data/core/token/token:tokens-charts-themes-sick2025-dark-css.json +32 -0
- package/data/core/token/token:tokens-charts-themes-sick2025-light-css.json +32 -0
- package/data/core/token/token:tokens-figma-variables-sick2018-dark-json.json +1 -1
- package/data/core/token/token:tokens-figma-variables-sick2018-light-json.json +1 -1
- package/data/core/token/token:tokens-figma-variables-sick2025-dark-json.json +1 -1
- package/data/core/token/token:tokens-figma-variables-sick2025-light-json.json +1 -1
- package/data/core/token/token:tokens-js-index-d-ts.json +1 -1
- package/data/core/token/token:tokens-js-index-js.json +1 -1
- package/data/core/token/token:tokens-scss-tokens-scss.json +1 -1
- package/data/core/token/token:tokens-themes-sick2018-dark-css.json +1 -1
- package/data/core/token/token:tokens-themes-sick2018-light-css.json +1 -1
- package/data/core/token/token:tokens-themes-sick2025-dark-css.json +1 -1
- package/data/core/token/token:tokens-themes-sick2025-light-css.json +1 -1
- package/data/index.json +108 -1
- package/data/layers/examples/component/component:syn-chart.md +191 -0
- package/data/layers/full/component/component:syn-accordion/angular/accordion.component.ts +1 -1
- package/data/layers/full/component/component:syn-accordion/vue/SynVueAccordion.vue +1 -1
- package/data/layers/full/component/component:syn-alert/angular/alert.component.ts +1 -1
- package/data/layers/full/component/component:syn-alert/vue/SynVueAlert.vue +1 -1
- package/data/layers/full/component/component:syn-badge/angular/badge.component.ts +1 -1
- package/data/layers/full/component/component:syn-badge/vue/SynVueBadge.vue +1 -1
- package/data/layers/full/component/component:syn-breadcrumb/angular/breadcrumb.component.ts +1 -1
- package/data/layers/full/component/component:syn-breadcrumb/vue/SynVueBreadcrumb.vue +1 -1
- package/data/layers/full/component/component:syn-breadcrumb-item/angular/breadcrumb-item.component.ts +1 -1
- package/data/layers/full/component/component:syn-breadcrumb-item/vue/SynVueBreadcrumbItem.vue +1 -1
- package/data/layers/full/component/component:syn-button/angular/button.component.ts +1 -1
- package/data/layers/full/component/component:syn-button/vue/SynVueButton.vue +1 -1
- package/data/layers/full/component/component:syn-button-group/angular/button-group.component.ts +1 -1
- package/data/layers/full/component/component:syn-button-group/vue/SynVueButtonGroup.vue +1 -1
- package/data/layers/full/component/component:syn-card/angular/card.component.ts +1 -1
- package/data/layers/full/component/component:syn-card/vue/SynVueCard.vue +1 -1
- package/data/layers/full/component/component:syn-chart/angular/chart.component.ts +84 -0
- package/data/layers/full/component/component:syn-chart/components/chart.component.ts +181 -0
- package/data/layers/full/component/component:syn-chart/components/chart.palettes.ts +110 -0
- package/data/layers/full/component/component:syn-chart/components/chart.styles.ts +15 -0
- package/data/layers/full/component/component:syn-chart/components/chart.ts +14 -0
- package/data/layers/full/component/component:syn-chart/components/types.ts +5 -0
- package/data/layers/full/component/component:syn-chart/react/SynChartJSXElement.ts +1 -0
- package/data/layers/full/component/component:syn-chart/react/chart.ts +28 -0
- package/data/layers/full/component/component:syn-chart/vue/SynVueChart.vue +76 -0
- package/data/layers/full/component/component:syn-checkbox/angular/checkbox.component.ts +1 -1
- package/data/layers/full/component/component:syn-checkbox/vue/SynVueCheckbox.vue +1 -1
- package/data/layers/full/component/component:syn-combobox/angular/combobox.component.ts +1 -1
- package/data/layers/full/component/component:syn-combobox/vue/SynVueCombobox.vue +1 -1
- package/data/layers/full/component/component:syn-details/angular/details.component.ts +1 -1
- package/data/layers/full/component/component:syn-details/vue/SynVueDetails.vue +1 -1
- package/data/layers/full/component/component:syn-dialog/angular/dialog.component.ts +1 -1
- package/data/layers/full/component/component:syn-dialog/vue/SynVueDialog.vue +1 -1
- package/data/layers/full/component/component:syn-divider/angular/divider.component.ts +1 -1
- package/data/layers/full/component/component:syn-divider/vue/SynVueDivider.vue +1 -1
- package/data/layers/full/component/component:syn-drawer/angular/drawer.component.ts +1 -1
- package/data/layers/full/component/component:syn-drawer/vue/SynVueDrawer.vue +1 -1
- package/data/layers/full/component/component:syn-dropdown/angular/dropdown.component.ts +1 -1
- package/data/layers/full/component/component:syn-dropdown/vue/SynVueDropdown.vue +1 -1
- package/data/layers/full/component/component:syn-file/angular/file.component.ts +1 -1
- package/data/layers/full/component/component:syn-file/vue/SynVueFile.vue +1 -1
- package/data/layers/full/component/component:syn-header/angular/header.component.ts +1 -1
- package/data/layers/full/component/component:syn-header/vue/SynVueHeader.vue +1 -1
- package/data/layers/full/component/component:syn-icon/angular/icon.component.ts +1 -1
- package/data/layers/full/component/component:syn-icon/vue/SynVueIcon.vue +1 -1
- package/data/layers/full/component/component:syn-icon-button/angular/icon-button.component.ts +1 -1
- package/data/layers/full/component/component:syn-icon-button/vue/SynVueIconButton.vue +1 -1
- package/data/layers/full/component/component:syn-input/angular/input.component.ts +1 -1
- package/data/layers/full/component/component:syn-input/vue/SynVueInput.vue +1 -1
- package/data/layers/full/component/component:syn-menu/angular/menu.component.ts +1 -1
- package/data/layers/full/component/component:syn-menu/vue/SynVueMenu.vue +1 -1
- package/data/layers/full/component/component:syn-menu-item/angular/menu-item.component.ts +1 -1
- package/data/layers/full/component/component:syn-menu-item/vue/SynVueMenuItem.vue +1 -1
- package/data/layers/full/component/component:syn-menu-label/angular/menu-label.component.ts +1 -1
- package/data/layers/full/component/component:syn-menu-label/vue/SynVueMenuLabel.vue +1 -1
- package/data/layers/full/component/component:syn-nav-item/angular/nav-item.component.ts +1 -1
- package/data/layers/full/component/component:syn-nav-item/vue/SynVueNavItem.vue +1 -1
- package/data/layers/full/component/component:syn-optgroup/angular/optgroup.component.ts +1 -1
- package/data/layers/full/component/component:syn-optgroup/vue/SynVueOptgroup.vue +1 -1
- package/data/layers/full/component/component:syn-option/angular/option.component.ts +1 -1
- package/data/layers/full/component/component:syn-option/vue/SynVueOption.vue +1 -1
- package/data/layers/full/component/component:syn-pagination/angular/pagination.component.ts +1 -1
- package/data/layers/full/component/component:syn-pagination/vue/SynVuePagination.vue +1 -1
- package/data/layers/full/component/component:syn-popup/angular/popup.component.ts +1 -1
- package/data/layers/full/component/component:syn-popup/vue/SynVuePopup.vue +1 -1
- package/data/layers/full/component/component:syn-prio-nav/angular/prio-nav.component.ts +1 -1
- package/data/layers/full/component/component:syn-prio-nav/vue/SynVuePrioNav.vue +1 -1
- package/data/layers/full/component/component:syn-progress-bar/angular/progress-bar.component.ts +1 -1
- package/data/layers/full/component/component:syn-progress-bar/vue/SynVueProgressBar.vue +1 -1
- package/data/layers/full/component/component:syn-progress-ring/angular/progress-ring.component.ts +1 -1
- package/data/layers/full/component/component:syn-progress-ring/vue/SynVueProgressRing.vue +1 -1
- package/data/layers/full/component/component:syn-radio/angular/radio.component.ts +1 -1
- package/data/layers/full/component/component:syn-radio/vue/SynVueRadio.vue +1 -1
- package/data/layers/full/component/component:syn-radio-button/angular/radio-button.component.ts +1 -1
- package/data/layers/full/component/component:syn-radio-button/vue/SynVueRadioButton.vue +1 -1
- package/data/layers/full/component/component:syn-radio-group/angular/radio-group.component.ts +1 -1
- package/data/layers/full/component/component:syn-radio-group/vue/SynVueRadioGroup.vue +1 -1
- package/data/layers/full/component/component:syn-range/angular/range.component.ts +1 -1
- package/data/layers/full/component/component:syn-range/vue/SynVueRange.vue +1 -1
- package/data/layers/full/component/component:syn-range-tick/angular/range-tick.component.ts +1 -1
- package/data/layers/full/component/component:syn-range-tick/vue/SynVueRangeTick.vue +1 -1
- package/data/layers/full/component/component:syn-select/angular/select.component.ts +1 -1
- package/data/layers/full/component/component:syn-select/vue/SynVueSelect.vue +1 -1
- package/data/layers/full/component/component:syn-side-nav/angular/side-nav.component.ts +1 -1
- package/data/layers/full/component/component:syn-side-nav/vue/SynVueSideNav.vue +1 -1
- package/data/layers/full/component/component:syn-spinner/angular/spinner.component.ts +1 -1
- package/data/layers/full/component/component:syn-spinner/vue/SynVueSpinner.vue +1 -1
- package/data/layers/full/component/component:syn-switch/angular/switch.component.ts +1 -1
- package/data/layers/full/component/component:syn-switch/vue/SynVueSwitch.vue +1 -1
- package/data/layers/full/component/component:syn-tab/angular/tab.component.ts +1 -1
- package/data/layers/full/component/component:syn-tab/vue/SynVueTab.vue +1 -1
- package/data/layers/full/component/component:syn-tab-group/angular/tab-group.component.ts +1 -1
- package/data/layers/full/component/component:syn-tab-group/vue/SynVueTabGroup.vue +1 -1
- package/data/layers/full/component/component:syn-tab-panel/angular/tab-panel.component.ts +1 -1
- package/data/layers/full/component/component:syn-tab-panel/vue/SynVueTabPanel.vue +1 -1
- package/data/layers/full/component/component:syn-tag/angular/tag.component.ts +1 -1
- package/data/layers/full/component/component:syn-tag/vue/SynVueTag.vue +1 -1
- package/data/layers/full/component/component:syn-tag-group/angular/tag-group.component.ts +1 -1
- package/data/layers/full/component/component:syn-tag-group/vue/SynVueTagGroup.vue +1 -1
- package/data/layers/full/component/component:syn-textarea/angular/textarea.component.ts +1 -1
- package/data/layers/full/component/component:syn-textarea/vue/SynVueTextarea.vue +1 -1
- package/data/layers/full/component/component:syn-tooltip/angular/tooltip.component.ts +1 -1
- package/data/layers/full/component/component:syn-tooltip/vue/SynVueTooltip.vue +1 -1
- package/data/layers/full/component/component:syn-validate/angular/validate.component.ts +1 -1
- package/data/layers/full/component/component:syn-validate/vue/SynVueValidate.vue +1 -1
- package/data/layers/full/setup/setup:angular-package/angular/CHANGELOG.md +19 -0
- package/data/layers/full/setup/setup:angular-package/angular/README.md +4 -0
- package/data/layers/full/setup/setup:angular-package/angular/package.json +1 -1
- package/data/layers/full/setup/setup:components-package/components/CHANGELOG.md +18 -0
- package/data/layers/full/setup/setup:components-package/components/README.md +84 -2
- package/data/layers/full/setup/setup:components-package/components/package.json +8 -5
- package/data/layers/full/setup/setup:react-package/react/CHANGELOG.md +19 -0
- package/data/layers/full/setup/setup:react-package/react/README.md +4 -0
- package/data/layers/full/setup/setup:react-package/react/package.json +1 -1
- package/data/layers/full/setup/setup:react-package/react/syn-jsx-elements.ts +19 -0
- package/data/layers/full/setup/setup:tokens-package/tokens/CHANGELOG.md +16 -0
- package/data/layers/full/setup/setup:tokens-package/tokens/README.md +119 -19
- package/data/layers/full/setup/setup:tokens-package/tokens/package.json +11 -6
- package/data/layers/full/setup/setup:vue-package/vue/CHANGELOG.md +19 -0
- package/data/layers/full/setup/setup:vue-package/vue/README.md +4 -0
- package/data/layers/full/setup/setup:vue-package/vue/package.json +9 -2
- package/data/layers/full/tokens/charts/js/index.d.ts +664 -0
- package/data/layers/full/tokens/charts/js/index.js +664 -0
- package/data/layers/full/tokens/charts/scss/_tokens.scss +136 -0
- package/data/layers/full/tokens/charts/themes/sick2025_dark.css +142 -0
- package/data/layers/full/tokens/charts/themes/sick2025_light.css +142 -0
- package/data/layers/full/tokens/figma-variables/sick2025-light.json +12 -12
- package/data/layers/full/tokens/js/index.d.ts +1 -1
- package/data/layers/full/tokens/js/index.js +1 -1
- package/data/layers/full/tokens/scss/_tokens.scss +1 -1
- package/data/layers/full/tokens/themes/sick2018_dark.css +1 -1
- package/data/layers/full/tokens/themes/sick2018_light.css +1 -1
- package/data/layers/full/tokens/themes/sick2025_dark.css +1 -1
- package/data/layers/full/tokens/themes/sick2025_light.css +12 -12
- package/data/layers/interface/component/component:syn-chart.json +51 -0
- package/data/layers/interface/component/component:syn-chart.md +61 -0
- package/data/layers/rules/component/component:syn-chart.md +39 -0
- package/data/manifest.json +3 -3
- package/package.json +5 -5
- package/dist/intentPolicy/capabilities/action.d.ts +0 -2
- package/dist/intentPolicy/capabilities/action.js +0 -26
- package/dist/intentPolicy/capabilities/assistance.d.ts +0 -2
- package/dist/intentPolicy/capabilities/assistance.js +0 -10
- package/dist/intentPolicy/capabilities/disclosure.d.ts +0 -2
- package/dist/intentPolicy/capabilities/disclosure.js +0 -14
- package/dist/intentPolicy/capabilities/feedback.d.ts +0 -2
- package/dist/intentPolicy/capabilities/feedback.js +0 -42
- package/dist/intentPolicy/capabilities/index.d.ts +0 -6
- package/dist/intentPolicy/capabilities/index.js +0 -22
- package/dist/intentPolicy/capabilities/input.d.ts +0 -2
- package/dist/intentPolicy/capabilities/input.js +0 -38
- package/dist/intentPolicy/capabilities/navigation.d.ts +0 -2
- package/dist/intentPolicy/capabilities/navigation.js +0 -54
- package/dist/intentPolicy/capabilities/status.d.ts +0 -2
- package/dist/intentPolicy/capabilities/status.js +0 -14
- package/dist/intentPolicy/capabilities/structure.d.ts +0 -2
- package/dist/intentPolicy/capabilities/structure.js +0 -22
- package/dist/intentPolicy/categories/action.d.ts +0 -2
- package/dist/intentPolicy/categories/action.js +0 -4
- package/dist/intentPolicy/categories/assistance.d.ts +0 -2
- package/dist/intentPolicy/categories/assistance.js +0 -4
- package/dist/intentPolicy/categories/disclosure.d.ts +0 -2
- package/dist/intentPolicy/categories/disclosure.js +0 -4
- package/dist/intentPolicy/categories/feedback.d.ts +0 -2
- package/dist/intentPolicy/categories/feedback.js +0 -4
- package/dist/intentPolicy/categories/index.d.ts +0 -5
- package/dist/intentPolicy/categories/index.js +0 -22
- package/dist/intentPolicy/categories/input.d.ts +0 -2
- package/dist/intentPolicy/categories/input.js +0 -4
- package/dist/intentPolicy/categories/navigation.d.ts +0 -2
- package/dist/intentPolicy/categories/navigation.js +0 -4
- package/dist/intentPolicy/categories/status.d.ts +0 -2
- package/dist/intentPolicy/categories/status.js +0 -4
- package/dist/intentPolicy/categories/structure.d.ts +0 -2
- package/dist/intentPolicy/categories/structure.js +0 -4
- package/dist/intentPolicy/intents/action.d.ts +0 -2
- package/dist/intentPolicy/intents/action.js +0 -38
- package/dist/intentPolicy/intents/assistance.d.ts +0 -2
- package/dist/intentPolicy/intents/assistance.js +0 -14
- package/dist/intentPolicy/intents/disclosure.d.ts +0 -2
- package/dist/intentPolicy/intents/disclosure.js +0 -20
- package/dist/intentPolicy/intents/feedback.d.ts +0 -2
- package/dist/intentPolicy/intents/feedback.js +0 -32
- package/dist/intentPolicy/intents/index.d.ts +0 -7
- package/dist/intentPolicy/intents/index.js +0 -23
- package/dist/intentPolicy/intents/input.d.ts +0 -2
- package/dist/intentPolicy/intents/input.js +0 -62
- package/dist/intentPolicy/intents/navigation.d.ts +0 -2
- package/dist/intentPolicy/intents/navigation.js +0 -44
- package/dist/intentPolicy/intents/status.d.ts +0 -2
- package/dist/intentPolicy/intents/status.js +0 -26
- package/dist/intentPolicy/intents/structure.d.ts +0 -2
- package/dist/intentPolicy/intents/structure.js +0 -32
- package/dist/intentPolicy/patterns/action.d.ts +0 -2
- package/dist/intentPolicy/patterns/action.js +0 -195
- package/dist/intentPolicy/patterns/assistance.d.ts +0 -2
- package/dist/intentPolicy/patterns/assistance.js +0 -13
- package/dist/intentPolicy/patterns/disclosure.d.ts +0 -2
- package/dist/intentPolicy/patterns/disclosure.js +0 -23
- package/dist/intentPolicy/patterns/feedback.d.ts +0 -2
- package/dist/intentPolicy/patterns/feedback.js +0 -44
- package/dist/intentPolicy/patterns/index.d.ts +0 -6
- package/dist/intentPolicy/patterns/index.js +0 -22
- package/dist/intentPolicy/patterns/input.d.ts +0 -2
- package/dist/intentPolicy/patterns/input.js +0 -99
- package/dist/intentPolicy/patterns/navigation.d.ts +0 -2
- package/dist/intentPolicy/patterns/navigation.js +0 -192
- package/dist/intentPolicy/patterns/status.d.ts +0 -2
- package/dist/intentPolicy/patterns/status.js +0 -32
- package/dist/intentPolicy/patterns/structure.d.ts +0 -2
- package/dist/intentPolicy/patterns/structure.js +0 -107
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { actionPatterns } from './action.js';
|
|
2
|
-
import { assistancePatterns } from './assistance.js';
|
|
3
|
-
import { disclosurePatterns } from './disclosure.js';
|
|
4
|
-
import { feedbackPatterns } from './feedback.js';
|
|
5
|
-
import { inputPatterns } from './input.js';
|
|
6
|
-
import { navigationPatterns } from './navigation.js';
|
|
7
|
-
import { statusPatterns } from './status.js';
|
|
8
|
-
import { structurePatterns } from './structure.js';
|
|
9
|
-
/**
|
|
10
|
-
* A comprehensive list of intent usage patterns, categorized by their respective intent categories.
|
|
11
|
-
* Each pattern provides a specific example of how an intent can be implemented within a user interface, demonstrating best practices and common use cases for that category.
|
|
12
|
-
*/
|
|
13
|
-
export const usagePatterns = [
|
|
14
|
-
...actionPatterns,
|
|
15
|
-
...feedbackPatterns,
|
|
16
|
-
...inputPatterns,
|
|
17
|
-
...navigationPatterns,
|
|
18
|
-
...disclosurePatterns,
|
|
19
|
-
...statusPatterns,
|
|
20
|
-
...assistancePatterns,
|
|
21
|
-
...structurePatterns,
|
|
22
|
-
];
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
export const inputPatterns = [
|
|
2
|
-
{
|
|
3
|
-
description: 'Single-line input for compact text or numeric values.',
|
|
4
|
-
intent: 'input.text.short',
|
|
5
|
-
preset: {
|
|
6
|
-
props: {
|
|
7
|
-
type: 'text',
|
|
8
|
-
},
|
|
9
|
-
},
|
|
10
|
-
target: { id: 'component:syn-input', kind: 'component', name: 'syn-input' },
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
description: 'Multiline text entry for detailed user-provided information.',
|
|
14
|
-
intent: 'input.text.long',
|
|
15
|
-
preset: {
|
|
16
|
-
props: {
|
|
17
|
-
resize: 'vertical',
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
target: { id: 'component:syn-textarea', kind: 'component', name: 'syn-textarea' },
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
description: 'Single selection from a predefined options list.',
|
|
24
|
-
intent: 'input.selection.single',
|
|
25
|
-
preset: {
|
|
26
|
-
props: {
|
|
27
|
-
multiple: false,
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
target: { id: 'component:syn-select', kind: 'component', name: 'syn-select' },
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
description: 'Multiple selection from a predefined options list.',
|
|
34
|
-
intent: 'input.selection.multiple',
|
|
35
|
-
preset: {
|
|
36
|
-
props: {
|
|
37
|
-
multiple: true,
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
target: { id: 'component:syn-select', kind: 'component', name: 'syn-select' },
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
description: 'Searchable selection with real-time filtering for larger option sets.',
|
|
44
|
-
intent: 'input.selection.searchable',
|
|
45
|
-
preset: {
|
|
46
|
-
props: {
|
|
47
|
-
autocomplete: 'list',
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
target: { id: 'component:syn-combobox', kind: 'component', name: 'syn-combobox' },
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
description: 'Binary toggle that applies changes immediately.',
|
|
54
|
-
intent: 'input.binary.immediate',
|
|
55
|
-
preset: {
|
|
56
|
-
props: {
|
|
57
|
-
checked: false,
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
target: { id: 'component:syn-switch', kind: 'component', name: 'syn-switch' },
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
description: 'Binary selection captured as part of a later form submit.',
|
|
64
|
-
intent: 'input.binary.deferred',
|
|
65
|
-
preset: {
|
|
66
|
-
props: {
|
|
67
|
-
checked: false,
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
target: { id: 'component:syn-checkbox', kind: 'component', name: 'syn-checkbox' },
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
description: 'Single required choice among related options.',
|
|
74
|
-
intent: 'input.selection.single',
|
|
75
|
-
notes: ['Provide one default selected option as recommended in component usage rules.'],
|
|
76
|
-
target: { id: 'component:syn-radio-group', kind: 'component', name: 'syn-radio-group' },
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
description: 'File attachment or upload control with optional multi-file mode.',
|
|
80
|
-
intent: 'input.file.upload',
|
|
81
|
-
preset: {
|
|
82
|
-
props: {
|
|
83
|
-
multiple: false,
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
target: { id: 'component:syn-file', kind: 'component', name: 'syn-file' },
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
description: 'Bounded numeric selection through a slider control.',
|
|
90
|
-
intent: 'input.range.slider',
|
|
91
|
-
target: { id: 'component:syn-range', kind: 'component', name: 'syn-range' },
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
description: 'Grouped select options organized through optgroup labels.',
|
|
95
|
-
intent: 'input.selection.grouped-options',
|
|
96
|
-
notes: ['Use syn-optgroup to cluster related syn-option entries under clear labels.'],
|
|
97
|
-
target: { id: 'component:syn-select', kind: 'component', name: 'syn-select' },
|
|
98
|
-
},
|
|
99
|
-
];
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
export const navigationPatterns = [
|
|
2
|
-
{
|
|
3
|
-
description: 'Class-based link navigation pattern for inline or standalone links.',
|
|
4
|
-
intent: 'action.navigation',
|
|
5
|
-
notes: [
|
|
6
|
-
'Use syn-link--quiet when the link should have lower visual emphasis.',
|
|
7
|
-
'Use size variants like syn-link--small, syn-link--medium, or syn-link--large as needed.',
|
|
8
|
-
],
|
|
9
|
-
preset: {
|
|
10
|
-
requiredClasses: ['syn-link'],
|
|
11
|
-
},
|
|
12
|
-
structure: {
|
|
13
|
-
children: [
|
|
14
|
-
{
|
|
15
|
-
component: 'text',
|
|
16
|
-
text: 'Link',
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
|
-
component: 'a',
|
|
20
|
-
props: {
|
|
21
|
-
class: 'syn-link',
|
|
22
|
-
href: '#',
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
target: {
|
|
26
|
-
classes: ['syn-link'],
|
|
27
|
-
id: 'style:syn-link',
|
|
28
|
-
kind: 'style',
|
|
29
|
-
layer: 'examples',
|
|
30
|
-
selector: '.syn-link',
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
description: 'Grouped navigation links using the link-list utility class.',
|
|
35
|
-
intent: 'navigation.link-list.grouped',
|
|
36
|
-
preset: {
|
|
37
|
-
requiredClasses: ['syn-link-list'],
|
|
38
|
-
},
|
|
39
|
-
structure: {
|
|
40
|
-
children: [
|
|
41
|
-
{
|
|
42
|
-
children: [
|
|
43
|
-
{
|
|
44
|
-
children: [
|
|
45
|
-
{
|
|
46
|
-
component: 'syn-icon',
|
|
47
|
-
props: {
|
|
48
|
-
name: 'keyboard_arrow_right',
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
component: 'text',
|
|
53
|
-
text: 'Link',
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
component: 'a',
|
|
57
|
-
props: {
|
|
58
|
-
class: 'syn-link',
|
|
59
|
-
href: '#',
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
component: 'li',
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
children: [
|
|
67
|
-
{
|
|
68
|
-
children: [
|
|
69
|
-
{
|
|
70
|
-
component: 'syn-icon',
|
|
71
|
-
props: {
|
|
72
|
-
name: 'keyboard_arrow_right',
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
component: 'text',
|
|
77
|
-
text: 'Link',
|
|
78
|
-
},
|
|
79
|
-
],
|
|
80
|
-
component: 'a',
|
|
81
|
-
props: {
|
|
82
|
-
class: 'syn-link',
|
|
83
|
-
href: '#',
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
],
|
|
87
|
-
component: 'li',
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
children: [
|
|
91
|
-
{
|
|
92
|
-
children: [
|
|
93
|
-
{
|
|
94
|
-
component: 'syn-icon',
|
|
95
|
-
props: {
|
|
96
|
-
name: 'keyboard_arrow_right',
|
|
97
|
-
},
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
component: 'text',
|
|
101
|
-
text: 'Link',
|
|
102
|
-
},
|
|
103
|
-
],
|
|
104
|
-
component: 'a',
|
|
105
|
-
props: {
|
|
106
|
-
class: 'syn-link',
|
|
107
|
-
href: '#',
|
|
108
|
-
},
|
|
109
|
-
},
|
|
110
|
-
],
|
|
111
|
-
component: 'li',
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
children: [
|
|
115
|
-
{
|
|
116
|
-
children: [
|
|
117
|
-
{
|
|
118
|
-
component: 'syn-icon',
|
|
119
|
-
props: {
|
|
120
|
-
name: 'keyboard_arrow_right',
|
|
121
|
-
},
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
component: 'text',
|
|
125
|
-
text: 'Link',
|
|
126
|
-
},
|
|
127
|
-
],
|
|
128
|
-
component: 'a',
|
|
129
|
-
props: {
|
|
130
|
-
class: 'syn-link',
|
|
131
|
-
href: '#',
|
|
132
|
-
},
|
|
133
|
-
},
|
|
134
|
-
],
|
|
135
|
-
component: 'li',
|
|
136
|
-
},
|
|
137
|
-
],
|
|
138
|
-
component: 'ul',
|
|
139
|
-
props: {
|
|
140
|
-
class: 'syn-link-list',
|
|
141
|
-
},
|
|
142
|
-
},
|
|
143
|
-
target: {
|
|
144
|
-
classes: ['syn-link-list'],
|
|
145
|
-
id: 'style:syn-link-list',
|
|
146
|
-
kind: 'style',
|
|
147
|
-
layer: 'examples',
|
|
148
|
-
selector: '.syn-link-list',
|
|
149
|
-
},
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
description: 'In-page section navigation through related tabs.',
|
|
153
|
-
intent: 'navigation.tabs.section',
|
|
154
|
-
notes: ['Prefer concise tab labels and keep tab count manageable (typically up to six).'],
|
|
155
|
-
target: { id: 'component:syn-tab-group', kind: 'component', name: 'syn-tab-group' },
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
description: 'Action-oriented menu with logical grouping and keyboard access.',
|
|
159
|
-
intent: 'navigation.menu.actions',
|
|
160
|
-
target: { id: 'component:syn-menu', kind: 'component', name: 'syn-menu' },
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
description: 'Compact trigger-based reveal of related options or destinations.',
|
|
164
|
-
intent: 'navigation.dropdown.compact-options',
|
|
165
|
-
target: { id: 'component:syn-dropdown', kind: 'component', name: 'syn-dropdown' },
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
description: 'Dataset paging controls for large result sets.',
|
|
169
|
-
intent: 'navigation.pagination.dataset',
|
|
170
|
-
target: { id: 'component:syn-pagination', kind: 'component', name: 'syn-pagination' },
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
description: 'Hierarchy-aware breadcrumb trail for location and backtracking.',
|
|
174
|
-
intent: 'navigation.breadcrumb.trail',
|
|
175
|
-
target: { id: 'component:syn-breadcrumb', kind: 'component', name: 'syn-breadcrumb' },
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
description: 'Breadcrumb item representing one navigable hierarchy level.',
|
|
179
|
-
intent: 'navigation.breadcrumb.trail',
|
|
180
|
-
target: { id: 'component:syn-breadcrumb-item', kind: 'component', name: 'syn-breadcrumb-item' },
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
description: 'Primary vertical navigation for app shell section switching.',
|
|
184
|
-
intent: 'navigation.sidenav.menu',
|
|
185
|
-
target: { id: 'component:syn-side-nav', kind: 'component', name: 'syn-side-nav' },
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
description: 'Single destination entry within side navigation structures.',
|
|
189
|
-
intent: 'navigation.sidenav.menu',
|
|
190
|
-
target: { id: 'component:syn-nav-item', kind: 'component', name: 'syn-nav-item' },
|
|
191
|
-
},
|
|
192
|
-
];
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export const statusPatterns = [
|
|
2
|
-
{
|
|
3
|
-
description: 'Section-local loading indicator while content is fetched.',
|
|
4
|
-
intent: 'status.loading.section',
|
|
5
|
-
preset: {
|
|
6
|
-
props: {
|
|
7
|
-
size: 'medium',
|
|
8
|
-
},
|
|
9
|
-
},
|
|
10
|
-
target: { id: 'component:syn-spinner', kind: 'component', name: 'syn-spinner' },
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
description: 'Inline processing indicator inside an action flow.',
|
|
14
|
-
intent: 'status.loading.action',
|
|
15
|
-
preset: {
|
|
16
|
-
props: {
|
|
17
|
-
size: 'small',
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
target: { id: 'component:syn-spinner', kind: 'component', name: 'syn-spinner' },
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
description: 'Determinate linear progress indicator for measurable workflow completion.',
|
|
24
|
-
intent: 'status.progress.linear',
|
|
25
|
-
target: { id: 'component:syn-progress-bar', kind: 'component', name: 'syn-progress-bar' },
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
description: 'Determinate circular progress indicator for compact progress displays.',
|
|
29
|
-
intent: 'status.progress.circular',
|
|
30
|
-
target: { id: 'component:syn-progress-ring', kind: 'component', name: 'syn-progress-ring' },
|
|
31
|
-
},
|
|
32
|
-
];
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
export const structurePatterns = [
|
|
2
|
-
{
|
|
3
|
-
description: 'Confirmation dialog with explicit cancel and destructive actions in footer slot.',
|
|
4
|
-
intent: 'structure.confirmation',
|
|
5
|
-
notes: [
|
|
6
|
-
'Renderers should preserve footer action ordering (cancel before destructive confirm).',
|
|
7
|
-
'Destructive action should be visually distinct from the cancel action.',
|
|
8
|
-
],
|
|
9
|
-
roles: {
|
|
10
|
-
cancelAction: 'abort',
|
|
11
|
-
confirmAction: 'confirm-destructive',
|
|
12
|
-
container: 'dialog',
|
|
13
|
-
footer: 'group',
|
|
14
|
-
},
|
|
15
|
-
structure: {
|
|
16
|
-
children: [
|
|
17
|
-
{
|
|
18
|
-
component: 'text',
|
|
19
|
-
role: 'content',
|
|
20
|
-
text: 'Content',
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
children: [
|
|
24
|
-
{
|
|
25
|
-
component: 'syn-button',
|
|
26
|
-
config: {
|
|
27
|
-
propRules: [
|
|
28
|
-
{
|
|
29
|
-
code: 'REQUIRED_CANCEL_VARIANT_TEXT',
|
|
30
|
-
kind: 'requiredEquals',
|
|
31
|
-
message: 'Cancel action should use text variant in confirmation dialog footer.',
|
|
32
|
-
prop: 'variant',
|
|
33
|
-
rationale: 'Text variant keeps cancel action visually secondary to destructive confirmation.',
|
|
34
|
-
suggestedFix: 'Set variant property to "text".',
|
|
35
|
-
value: 'text',
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
},
|
|
39
|
-
role: 'cancelAction',
|
|
40
|
-
text: 'Abort',
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
component: 'syn-button',
|
|
44
|
-
config: {
|
|
45
|
-
propRules: [
|
|
46
|
-
{
|
|
47
|
-
code: 'REQUIRED_CONFIRM_VARIANT_FILLED',
|
|
48
|
-
kind: 'requiredEquals',
|
|
49
|
-
message: 'Confirm action should use filled variant in confirmation dialog footer.',
|
|
50
|
-
prop: 'variant',
|
|
51
|
-
rationale: 'Filled variant visually signals the destructive nature of the action.',
|
|
52
|
-
suggestedFix: 'Set variant property to "filled".',
|
|
53
|
-
value: 'filled',
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
code: 'FORBIDDEN_CONFIRM_HREF',
|
|
57
|
-
kind: 'forbidden',
|
|
58
|
-
message: 'Confirm action in confirmation dialogs must not use href navigation.',
|
|
59
|
-
prop: 'href',
|
|
60
|
-
rationale: 'Destructive confirmation should execute an explicit action, not navigate away.',
|
|
61
|
-
suggestedFix: 'Remove href and handle confirmation through action callbacks.',
|
|
62
|
-
},
|
|
63
|
-
],
|
|
64
|
-
},
|
|
65
|
-
role: 'confirmAction',
|
|
66
|
-
text: 'Delete this!',
|
|
67
|
-
},
|
|
68
|
-
],
|
|
69
|
-
component: 'nav',
|
|
70
|
-
role: 'footer',
|
|
71
|
-
slot: 'footer',
|
|
72
|
-
},
|
|
73
|
-
],
|
|
74
|
-
component: 'syn-dialog',
|
|
75
|
-
props: {
|
|
76
|
-
open: true,
|
|
77
|
-
},
|
|
78
|
-
role: 'container',
|
|
79
|
-
},
|
|
80
|
-
target: { id: 'component:syn-dialog', kind: 'component', name: 'syn-dialog' },
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
description: 'Edge-aligned drawer overlay for secondary contextual workflows.',
|
|
84
|
-
intent: 'structure.drawer.overlay',
|
|
85
|
-
notes: ['Use drawers for supplementary content that should not replace the current page context.'],
|
|
86
|
-
target: { id: 'component:syn-drawer', kind: 'component', name: 'syn-drawer' },
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
description: 'Top-level header shell structure for branding and navigation regions.',
|
|
90
|
-
intent: 'structure.header.shell',
|
|
91
|
-
notes: [
|
|
92
|
-
'Navigation slot can host primary navigation controls such as syn-prio-nav.',
|
|
93
|
-
'Meta-navigation slot can host compact utility actions such as syn-icon-button.',
|
|
94
|
-
],
|
|
95
|
-
target: { id: 'component:syn-header', kind: 'component', name: 'syn-header' },
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
description: 'Card container grouping related content and supporting actions.',
|
|
99
|
-
intent: 'structure.content.container',
|
|
100
|
-
target: { id: 'component:syn-card', kind: 'component', name: 'syn-card' },
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
description: 'Visual separator between adjacent blocks of related content.',
|
|
104
|
-
intent: 'structure.content.separator',
|
|
105
|
-
target: { id: 'component:syn-divider', kind: 'component', name: 'syn-divider' },
|
|
106
|
-
},
|
|
107
|
-
];
|