@synergy-design-system/metadata 3.17.0 → 3.19.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.
Files changed (90) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/data/core/component/component:syn-button-group.json +0 -5
  3. package/data/core/component/component:syn-button.json +3 -3
  4. package/data/core/component/component:syn-chart.json +145 -0
  5. package/data/core/component/component:syn-radio-button.json +123 -14
  6. package/data/core/component/component:syn-radio-group.json +11 -0
  7. package/data/core/setup/setup:angular-components-module.json +1 -1
  8. package/data/core/setup/setup:angular-forms-module.json +1 -1
  9. package/data/core/setup/setup:angular-package.json +2 -2
  10. package/data/core/setup/setup:angular-validators-module.json +1 -1
  11. package/data/core/setup/setup:components-package.json +2 -2
  12. package/data/core/setup/setup:react-package.json +2 -2
  13. package/data/core/setup/setup:tokens-package.json +2 -2
  14. package/data/core/setup/setup:vue-package.json +2 -2
  15. package/data/core/token/token:tokens-charts-js-index-d-ts.json +1 -1
  16. package/data/core/token/token:tokens-charts-js-index-js.json +1 -1
  17. package/data/core/token/token:tokens-charts-scss-tokens-scss.json +1 -1
  18. package/data/core/token/token:tokens-charts-themes-sick2025-dark-css.json +1 -1
  19. package/data/core/token/token:tokens-charts-themes-sick2025-light-css.json +1 -1
  20. package/data/core/token/token:tokens-figma-variables-sick2018-dark-json.json +1 -1
  21. package/data/core/token/token:tokens-figma-variables-sick2018-light-json.json +1 -1
  22. package/data/core/token/token:tokens-figma-variables-sick2025-dark-json.json +1 -1
  23. package/data/core/token/token:tokens-figma-variables-sick2025-light-json.json +1 -1
  24. package/data/core/token/token:tokens-js-index-d-ts.json +1 -1
  25. package/data/core/token/token:tokens-js-index-js.json +1 -1
  26. package/data/core/token/token:tokens-scss-tokens-scss.json +1 -1
  27. package/data/core/token/token:tokens-themes-sick2018-dark-css.json +1 -1
  28. package/data/core/token/token:tokens-themes-sick2018-light-css.json +1 -1
  29. package/data/core/token/token:tokens-themes-sick2025-dark-css.json +1 -1
  30. package/data/core/token/token:tokens-themes-sick2025-light-css.json +1 -1
  31. package/data/index.json +3 -2
  32. package/data/layers/examples/component/component:syn-checkbox.md +16 -2
  33. package/data/layers/examples/component/component:syn-combobox.md +10 -3
  34. package/data/layers/examples/component/component:syn-file.md +16 -10
  35. package/data/layers/examples/component/component:syn-input.md +10 -3
  36. package/data/layers/examples/component/component:syn-radio-button.md +200 -0
  37. package/data/layers/examples/component/component:syn-radio-group.md +27 -2
  38. package/data/layers/examples/component/component:syn-radio.md +12 -5
  39. package/data/layers/examples/component/component:syn-range.md +16 -14
  40. package/data/layers/examples/component/component:syn-select.md +10 -3
  41. package/data/layers/examples/component/component:syn-switch.md +10 -3
  42. package/data/layers/examples/component/component:syn-textarea.md +10 -3
  43. package/data/layers/full/component/component:syn-button/components/button-group.styles.ts +66 -0
  44. package/data/layers/full/component/component:syn-button/components/button.component.ts +40 -52
  45. package/data/layers/full/component/component:syn-button/components/button.styles.ts +162 -173
  46. package/data/layers/full/component/component:syn-button-group/components/button-group.component.ts +22 -18
  47. package/data/layers/full/component/component:syn-button-group/components/button-group.styles.ts +0 -2
  48. package/data/layers/full/component/component:syn-radio-button/angular/radio-button.component.ts +14 -14
  49. package/data/layers/full/component/component:syn-radio-button/components/radio-button.component.ts +45 -25
  50. package/data/layers/full/component/component:syn-radio-button/components/radio-button.styles.ts +87 -25
  51. package/data/layers/full/component/component:syn-radio-button/react/radio-button.ts +1 -1
  52. package/data/layers/full/component/component:syn-radio-button/vue/SynVueRadioButton.vue +6 -6
  53. package/data/layers/full/component/component:syn-radio-group/components/radio-group.component.ts +23 -11
  54. package/data/layers/full/component/component:syn-radio-group/components/radio-group.styles.ts +51 -6
  55. package/data/layers/full/setup/setup:angular-package/angular/CHANGELOG.md +18 -0
  56. package/data/layers/full/setup/setup:angular-package/angular/package.json +1 -1
  57. package/data/layers/full/setup/setup:components-package/components/CHANGELOG.md +17 -0
  58. package/data/layers/full/setup/setup:components-package/components/package.json +1 -1
  59. package/data/layers/full/setup/setup:react-package/react/CHANGELOG.md +8 -0
  60. package/data/layers/full/setup/setup:react-package/react/package.json +1 -1
  61. package/data/layers/full/setup/setup:react-package/react/syn-jsx-elements.ts +2 -2
  62. package/data/layers/full/setup/setup:tokens-package/tokens/CHANGELOG.md +12 -0
  63. package/data/layers/full/setup/setup:tokens-package/tokens/package.json +1 -1
  64. package/data/layers/full/setup/setup:vue-package/vue/CHANGELOG.md +18 -0
  65. package/data/layers/full/setup/setup:vue-package/vue/package.json +1 -1
  66. package/data/layers/full/tokens/charts/js/index.d.ts +1 -1
  67. package/data/layers/full/tokens/charts/js/index.js +1 -1
  68. package/data/layers/full/tokens/charts/scss/_tokens.scss +1 -1
  69. package/data/layers/full/tokens/charts/themes/sick2025_dark.css +1 -1
  70. package/data/layers/full/tokens/charts/themes/sick2025_light.css +1 -1
  71. package/data/layers/full/tokens/figma-variables/sick2018-dark.json +20 -0
  72. package/data/layers/full/tokens/figma-variables/sick2018-light.json +20 -0
  73. package/data/layers/full/tokens/figma-variables/sick2025-dark.json +20 -0
  74. package/data/layers/full/tokens/figma-variables/sick2025-light.json +20 -0
  75. package/data/layers/full/tokens/js/index.d.ts +21 -1
  76. package/data/layers/full/tokens/js/index.js +21 -1
  77. package/data/layers/full/tokens/scss/_tokens.scss +5 -1
  78. package/data/layers/full/tokens/themes/sick2018_dark.css +5 -1
  79. package/data/layers/full/tokens/themes/sick2018_light.css +5 -1
  80. package/data/layers/full/tokens/themes/sick2025_dark.css +5 -1
  81. package/data/layers/full/tokens/themes/sick2025_light.css +5 -1
  82. package/data/layers/interface/component/component:syn-radio-button.json +14 -12
  83. package/data/layers/interface/component/component:syn-radio-button.md +6 -4
  84. package/data/layers/rules/component/component:syn-radio-button.md +16 -11
  85. package/data/manifest.json +1 -1
  86. package/dist/intentPolicy/domains/input/capabilities.js +4 -0
  87. package/dist/intentPolicy/domains/input/patterns.js +9 -0
  88. package/package.json +5 -5
  89. package/data/layers/full/component/component:syn-button/components/button.custom.styles.ts +0 -245
  90. package/data/layers/full/component/component:syn-button-group/components/button-group.custom.styles.ts +0 -5
@@ -1,245 +0,0 @@
1
- import { css } from 'lit';
2
-
3
- export default css`
4
- .button {
5
- font-weight: var(--syn-font-weight-bold);
6
- }
7
-
8
- .button:focus-visible {
9
- outline: var(--syn-focus-ring-color) solid var(--syn-focus-ring-width);
10
- outline-offset: var(--syn-focus-ring-width);
11
- }
12
-
13
- /** #429: Use token for opacity */
14
- .button--disabled {
15
- opacity: var(--syn-input-disabled-opacity);
16
- }
17
-
18
- /*
19
- * Adjustments for button label paddings
20
- * @see https://github.com/synergy-design-system/synergy-design-system/issues/243
21
- */
22
- .button--has-prefix.button--small .button__label {
23
- padding-inline-start: var(--syn-spacing-2x-small);
24
- }
25
-
26
- .button--has-suffix.button--small .button__label,
27
- .button--caret.button--small .button__label {
28
- padding-inline-end: var(--syn-spacing-2x-small);
29
- }
30
-
31
- .button--has-prefix.button--medium .button__label {
32
- padding-inline-start: var(--syn-spacing-x-small);
33
- }
34
-
35
- .button--has-suffix.button--medium .button__label,
36
- .button--caret.button--medium .button__label {
37
- padding-inline-end: var(--syn-spacing-x-small);
38
- }
39
-
40
- /**
41
- * Icon-only buttons
42
- */
43
- .button--small .button__label.button__icon-only {
44
- padding: 0 calc(var(--syn-spacing-x-small) + var(--syn-spacing-4x-small));
45
- }
46
-
47
- .button--small .button__label::slotted(syn-icon) {
48
- font-size: var(--syn-font-size-medium);
49
- vertical-align: -3px;
50
- }
51
-
52
- .button--medium .button__label.button__icon-only {
53
- padding: 0 calc(var(--syn-spacing-small) - var(--syn-spacing-4x-small));
54
- }
55
-
56
- .button--medium .button__label::slotted(syn-icon) {
57
- font-size: var(--syn-font-size-x-large);
58
- vertical-align: -6px;
59
- }
60
-
61
- .button--large .button__label.button__icon-only {
62
- padding: 0 calc(var(--syn-spacing-medium) - var(--syn-spacing-4x-small));
63
- }
64
-
65
- .button--large .button__label::slotted(syn-icon) {
66
- font-size: var(--syn-font-size-2x-large);
67
- vertical-align: -8px;
68
- }
69
-
70
- /**
71
- * Size modifiers
72
- */
73
- .button--small {
74
- border-radius: var(--syn-button-border-radius-small);
75
- }
76
-
77
- .button--medium {
78
- border-radius: var(--syn-button-border-radius-medium);
79
- }
80
-
81
- .button--large {
82
- border-radius: var(--syn-button-border-radius-large);
83
- }
84
-
85
- /*
86
- * Standard buttons
87
- */
88
- .button--filled.button--primary {
89
- background: var(--syn-button-color);
90
- border-color: var(--syn-button-color);
91
- color: var(--syn-button-filled-color-text);
92
- }
93
-
94
- .button--filled.button--primary.button--disabled {
95
- background-color: var(--syn-color-neutral-600);
96
- border-color: var(--syn-color-neutral-600);
97
- color: var(--syn-typography-color-text-inverted);
98
- }
99
-
100
- .button--filled.button--primary:hover:not(.button--disabled) {
101
- background-color: var(--syn-button-color-hover);
102
- border-color: var(--syn-button-color-hover);
103
- color: var(--syn-button-filled-color-text-hover);
104
- }
105
-
106
- .button--filled.button--primary:active:not(.button--disabled) {
107
- background-color: var(--syn-button-color-active);
108
- border-color: var(--syn-button-color-active);
109
- color: var(--syn-button-filled-color-text-active);
110
- }
111
-
112
- /*
113
- * Outline buttons
114
- */
115
- .button--outline {
116
- /** #901: Use token for border width */
117
- border-width: var(--syn-input-border-width);
118
- }
119
-
120
- .button--outline.button--primary {
121
- border-color: var(--syn-button-color);
122
- color: var(--syn-button-outline-color-text);
123
- }
124
-
125
- .button--outline.button--primary.button--disabled {
126
- background: none;
127
- border-color: var(--syn-color-neutral-600);
128
- color: var(--syn-color-neutral-600);
129
- }
130
-
131
- .button--outline.button--primary:hover:not(.button--disabled),
132
- .button--outline.button--primary.button--checked:not(.button--disabled) {
133
- background-color: var(--syn-button-outline-color-hover);
134
- border-color: var(--syn-button-outline-color-hover);
135
- color: var(--syn-button-outline-color-text-hover);
136
- }
137
-
138
- .button--outline.button--primary:active:not(.button--disabled) {
139
- background-color: var(--syn-button-outline-color-active);
140
- border-color: var(--syn-button-outline-color-active);
141
- color: var(--syn-button-outline-color-text-active);
142
- }
143
-
144
- /*
145
- * Text buttons
146
- */
147
- .button--text {
148
- color: var(--syn-button-text-color-text);
149
- }
150
-
151
- .button--text:hover:not(.button--disabled) {
152
- color: var(--syn-button-text-color-text-hover);
153
- }
154
-
155
- .button--text:focus-visible:not(.button--disabled) {
156
- color: var(--syn-button-color);
157
- }
158
-
159
- .button--text.button--primary:active:not(.button--disabled) {
160
- color: var(--syn-button-text-color-text-active);
161
- }
162
-
163
- .button--text.button--primary.button--disabled {
164
- color: var(--syn-color-neutral-600);
165
- }
166
-
167
- /**
168
- * Button spacing
169
- */
170
- .button.button--small.button--has-label.button--has-prefix {
171
- padding-inline-start: var(--syn-spacing-small);
172
- }
173
-
174
- .button.button--small.button--has-label.button--has-suffix {
175
- padding-inline-end: var(--syn-spacing-small);
176
- }
177
-
178
- .button.button--small.button--has-prefix .button__prefix,
179
- .button.button--small.button--has-suffix .button__suffix {
180
- font-size: var(--syn-spacing-medium);
181
- }
182
-
183
- .button.button--medium.button--has-label.button--has-prefix {
184
- padding-inline-start: var(--syn-spacing-medium);
185
- }
186
-
187
- .button.button--medium.button--has-label.button--has-suffix {
188
- padding-inline-end: var(--syn-spacing-medium);
189
- }
190
-
191
- .button.button--medium.button--has-prefix .button__prefix,
192
- .button.button--medium.button--has-suffix .button__suffix {
193
- font-size: var(--syn-spacing-large);
194
- }
195
-
196
- .button.button--large.button--has-label.button--has-prefix {
197
- padding-inline-start: var(--syn-spacing-large);
198
- }
199
-
200
- .button.button--large.button--has-label.button--has-prefix .button__label {
201
- padding-inline-start: var(--syn-spacing-small);
202
- }
203
-
204
- .button.button--large.button--has-label.button--has-suffix {
205
- padding-inline-end: var(--syn-spacing-large);
206
- }
207
-
208
- .button.button--large.button--has-label.button--has-suffix .button__label {
209
- padding-inline-end: var(--syn-spacing-small);
210
- }
211
-
212
- .button.button--large.button--has-prefix .button__prefix,
213
- .button.button--large.button--has-suffix .button__suffix {
214
- font-size: var(--syn-font-size-2x-large);
215
- }
216
-
217
- /*
218
- * Caret modifier
219
- */
220
- .button--caret.button--small .button__caret{
221
- font-size: var(--syn-font-size-medium);
222
- }
223
-
224
- .button--caret.button--medium .button__caret{
225
- font-size: var(--syn-font-size-x-large);
226
- }
227
-
228
- .button--caret.button--large .button__caret{
229
- font-size: var(--syn-font-size-2x-large);
230
- }
231
-
232
- /* #392: Button Groups */
233
- :host([data-syn-button-group__button--inner]) .button--filled.button {
234
- border-left-color: var(--syn-panel-background-color);
235
- border-right-color: var(--syn-panel-background-color);
236
- }
237
-
238
- :host([data-syn-button-group__button--first]:not([data-syn-button-group__button--last])) .button--filled.button {
239
- border-right-color: var(--syn-panel-background-color);
240
- }
241
-
242
- :host([data-syn-button-group__button--last]:not([data-syn-button-group__button--first])) .button--filled.button {
243
- border-left-color: var(--syn-panel-background-color);
244
- }
245
- `;
@@ -1,5 +0,0 @@
1
- import { css } from 'lit';
2
-
3
- export default css`
4
- /* Write custom CSS here */
5
- `;