@synergy-design-system/components 1.0.2 → 1.1.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/README.md +2 -2
- package/dist/chunks/chunk.2FN5DTS6.js +67 -0
- package/dist/chunks/chunk.2FN5DTS6.js.map +7 -0
- package/dist/chunks/{chunk.W5GPJ6ZR.js → chunk.43IE6Z7Q.js} +2 -2
- package/dist/chunks/{chunk.U2NJG6GX.js → chunk.5D2VBXTP.js} +2 -2
- package/dist/chunks/{chunk.U7R4EV7C.js → chunk.5DHO22JT.js} +6 -6
- package/dist/chunks/chunk.6WUVZQ3H.js +12 -0
- package/dist/chunks/chunk.6WUVZQ3H.js.map +7 -0
- package/dist/chunks/{chunk.M5DMOLZK.js → chunk.7LGURT5X.js} +2 -2
- package/dist/chunks/{chunk.PHG2CETE.js → chunk.7NADL2IT.js} +2 -2
- package/dist/chunks/{chunk.MB5S3IM7.js → chunk.7ODKEYK3.js} +2 -2
- package/dist/chunks/chunk.A7ZVGGIT.js +137 -0
- package/dist/chunks/chunk.A7ZVGGIT.js.map +7 -0
- package/dist/chunks/{chunk.3NY33MCF.js → chunk.BBI3HWRM.js} +3 -3
- package/dist/chunks/{chunk.DUAFHNTR.js → chunk.CIYOYCTY.js} +2 -2
- package/dist/chunks/{chunk.5SKPG6DM.js → chunk.EEG4VWBU.js} +2 -2
- package/dist/chunks/{chunk.IFPM2NRM.js → chunk.EXMVZ32W.js} +2 -2
- package/dist/chunks/{chunk.D7KU5L75.js → chunk.ICDHGCRE.js} +2 -2
- package/dist/chunks/{chunk.HZERAHZP.js → chunk.JEEPLCYY.js} +7 -7
- package/dist/chunks/{chunk.WVYTLFNV.js → chunk.JSGAT7FF.js} +2 -2
- package/dist/chunks/{chunk.P3O63FHH.js → chunk.L6QCO373.js} +2 -2
- package/dist/chunks/{chunk.FJGYV3Y3.js → chunk.OEII5257.js} +2 -2
- package/dist/chunks/chunk.OJF7KL44.js +67 -0
- package/dist/chunks/chunk.OJF7KL44.js.map +7 -0
- package/dist/chunks/{chunk.XVJVR3MD.js → chunk.OVS5OKTW.js} +3 -3
- package/dist/chunks/{chunk.B7KNRAHG.js → chunk.P3EPUBB3.js} +3 -3
- package/dist/chunks/{chunk.7MTLFTYG.js → chunk.QP2S2MDN.js} +2 -2
- package/dist/chunks/{chunk.SUNIN43Y.js → chunk.RAJNSJOZ.js} +2 -2
- package/dist/chunks/{chunk.MUOAKBT3.js → chunk.S424QLI7.js} +2 -2
- package/dist/chunks/{chunk.MUOAKBT3.js.map → chunk.S424QLI7.js.map} +1 -1
- package/dist/chunks/{chunk.G3EPLUES.js → chunk.UU5CELZK.js} +2 -2
- package/dist/chunks/{chunk.JVSVQG6I.js → chunk.V3UXMJRA.js} +2 -2
- package/dist/components/button/button.component.js +5 -5
- package/dist/components/button/button.js +6 -6
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +3 -3
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.d.ts +63 -0
- package/dist/components/icon-button/icon-button.component.js +20 -0
- package/dist/components/icon-button/icon-button.component.js.map +7 -0
- package/dist/components/icon-button/icon-button.custom.styles.d.ts +2 -0
- package/dist/components/icon-button/icon-button.custom.styles.js +8 -0
- package/dist/components/icon-button/icon-button.custom.styles.js.map +7 -0
- package/dist/components/icon-button/icon-button.d.ts +8 -0
- package/dist/components/icon-button/icon-button.js +21 -0
- package/dist/components/icon-button/icon-button.js.map +7 -0
- package/dist/components/icon-button/icon-button.styles.d.ts +2 -0
- package/dist/components/icon-button/icon-button.styles.js +10 -0
- package/dist/components/icon-button/icon-button.styles.js.map +7 -0
- package/dist/components/input/input.component.js +4 -4
- package/dist/components/input/input.js +5 -5
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/custom-elements.json +314 -1
- package/dist/synergy.d.ts +1 -0
- package/dist/synergy.js +42 -35
- package/dist/vscode.html-custom-data.json +76 -0
- package/dist/web-types.json +142 -1
- package/package.json +13 -13
- /package/dist/chunks/{chunk.W5GPJ6ZR.js.map → chunk.43IE6Z7Q.js.map} +0 -0
- /package/dist/chunks/{chunk.U2NJG6GX.js.map → chunk.5D2VBXTP.js.map} +0 -0
- /package/dist/chunks/{chunk.U7R4EV7C.js.map → chunk.5DHO22JT.js.map} +0 -0
- /package/dist/chunks/{chunk.M5DMOLZK.js.map → chunk.7LGURT5X.js.map} +0 -0
- /package/dist/chunks/{chunk.PHG2CETE.js.map → chunk.7NADL2IT.js.map} +0 -0
- /package/dist/chunks/{chunk.MB5S3IM7.js.map → chunk.7ODKEYK3.js.map} +0 -0
- /package/dist/chunks/{chunk.3NY33MCF.js.map → chunk.BBI3HWRM.js.map} +0 -0
- /package/dist/chunks/{chunk.DUAFHNTR.js.map → chunk.CIYOYCTY.js.map} +0 -0
- /package/dist/chunks/{chunk.5SKPG6DM.js.map → chunk.EEG4VWBU.js.map} +0 -0
- /package/dist/chunks/{chunk.IFPM2NRM.js.map → chunk.EXMVZ32W.js.map} +0 -0
- /package/dist/chunks/{chunk.D7KU5L75.js.map → chunk.ICDHGCRE.js.map} +0 -0
- /package/dist/chunks/{chunk.HZERAHZP.js.map → chunk.JEEPLCYY.js.map} +0 -0
- /package/dist/chunks/{chunk.WVYTLFNV.js.map → chunk.JSGAT7FF.js.map} +0 -0
- /package/dist/chunks/{chunk.P3O63FHH.js.map → chunk.L6QCO373.js.map} +0 -0
- /package/dist/chunks/{chunk.FJGYV3Y3.js.map → chunk.OEII5257.js.map} +0 -0
- /package/dist/chunks/{chunk.XVJVR3MD.js.map → chunk.OVS5OKTW.js.map} +0 -0
- /package/dist/chunks/{chunk.B7KNRAHG.js.map → chunk.P3EPUBB3.js.map} +0 -0
- /package/dist/chunks/{chunk.7MTLFTYG.js.map → chunk.QP2S2MDN.js.map} +0 -0
- /package/dist/chunks/{chunk.SUNIN43Y.js.map → chunk.RAJNSJOZ.js.map} +0 -0
- /package/dist/chunks/{chunk.G3EPLUES.js.map → chunk.UU5CELZK.js.map} +0 -0
- /package/dist/chunks/{chunk.JVSVQG6I.js.map → chunk.V3UXMJRA.js.map} +0 -0
|
@@ -237,6 +237,82 @@
|
|
|
237
237
|
}
|
|
238
238
|
]
|
|
239
239
|
},
|
|
240
|
+
{
|
|
241
|
+
"name": "syn-icon-button",
|
|
242
|
+
"description": "Icons buttons are simple, icon-only buttons that can be used for actions and in toolbars.\n---\n\n\n### **Events:**\n - **syn-blur** - Emitted when the icon button loses focus.\n- **syn-focus** - Emitted when the icon button gains focus.\n\n### **Methods:**\n - **click()** - Simulates a click on the icon button.\n- **focus(options: _FocusOptions_)** - Sets focus on the icon button.\n- **blur()** - Removes focus from the icon button.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
243
|
+
"attributes": [
|
|
244
|
+
{
|
|
245
|
+
"name": "name",
|
|
246
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
247
|
+
"values": []
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "library",
|
|
251
|
+
"description": "The name of a registered custom icon library.",
|
|
252
|
+
"values": []
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"name": "src",
|
|
256
|
+
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
257
|
+
"values": []
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "href",
|
|
261
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
262
|
+
"values": []
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "target",
|
|
266
|
+
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
267
|
+
"values": [
|
|
268
|
+
{ "name": "_blank" },
|
|
269
|
+
{ "name": "_parent" },
|
|
270
|
+
{ "name": "_self" },
|
|
271
|
+
{ "name": "_top" }
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "download",
|
|
276
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
|
|
277
|
+
"values": []
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "label",
|
|
281
|
+
"description": "A description that gets read by assistive devices. For optimal accessibility, you should always include a label\nthat describes what the icon button does.",
|
|
282
|
+
"values": []
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"name": "size",
|
|
286
|
+
"description": "The icon button's size.",
|
|
287
|
+
"values": [
|
|
288
|
+
{ "name": "small" },
|
|
289
|
+
{ "name": "medium" },
|
|
290
|
+
{ "name": "large" },
|
|
291
|
+
{ "name": "inherit" }
|
|
292
|
+
]
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"name": "color",
|
|
296
|
+
"description": "The color of the icon button.\nThe default \"currentColor\" makes it possible to easily style the icon button from outside without any CSS variables.",
|
|
297
|
+
"values": [
|
|
298
|
+
{ "name": "currentColor" },
|
|
299
|
+
{ "name": "primary" },
|
|
300
|
+
{ "name": "neutral" }
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"name": "disabled",
|
|
305
|
+
"description": "Disables the button.",
|
|
306
|
+
"values": []
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
"references": [
|
|
310
|
+
{
|
|
311
|
+
"name": "Documentation",
|
|
312
|
+
"url": "https://synergy.style/components/icon-button"
|
|
313
|
+
}
|
|
314
|
+
]
|
|
315
|
+
},
|
|
240
316
|
{
|
|
241
317
|
"name": "syn-input",
|
|
242
318
|
"description": "Inputs collect data from the user.\n---\n\n\n### **Events:**\n - **syn-blur** - Emitted when the control loses focus.\n- **syn-change** - Emitted when an alteration to the control's value is committed by the user.\n- **syn-clear** - Emitted when the clear button is activated.\n- **syn-focus** - Emitted when the control gains focus.\n- **syn-input** - Emitted when the control receives input.\n- **syn-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **select()** - Selects all the text in the input.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **showPicker()** - Displays the browser picker for an input element (only works if the browser supports it for the input type).\n- **stepUp()** - Increments the value of a numeric input type by the value of the step attribute.\n- **stepDown()** - Decrements the value of a numeric input type by the value of the step attribute.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the input.\n- **suffix** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **input** - The internal `<input>` control.\n- **prefix** - The container that wraps the prefix.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **suffix** - The container that wraps the suffix.",
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@synergy-design-system/components",
|
|
4
|
-
"version": "1.0
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -496,6 +496,147 @@
|
|
|
496
496
|
]
|
|
497
497
|
}
|
|
498
498
|
},
|
|
499
|
+
{
|
|
500
|
+
"name": "syn-icon-button",
|
|
501
|
+
"description": "Icons buttons are simple, icon-only buttons that can be used for actions and in toolbars.\n---\n\n\n### **Events:**\n - **syn-blur** - Emitted when the icon button loses focus.\n- **syn-focus** - Emitted when the icon button gains focus.\n\n### **Methods:**\n - **click()** - Simulates a click on the icon button.\n- **focus(options: _FocusOptions_)** - Sets focus on the icon button.\n- **blur()** - Removes focus from the icon button.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
502
|
+
"doc-url": "",
|
|
503
|
+
"attributes": [
|
|
504
|
+
{
|
|
505
|
+
"name": "name",
|
|
506
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
507
|
+
"value": { "type": "string | undefined" }
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"name": "library",
|
|
511
|
+
"description": "The name of a registered custom icon library.",
|
|
512
|
+
"value": { "type": "string | undefined" }
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "src",
|
|
516
|
+
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
517
|
+
"value": { "type": "string | undefined" }
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"name": "href",
|
|
521
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
522
|
+
"value": { "type": "string | undefined" }
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"name": "target",
|
|
526
|
+
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
527
|
+
"value": {
|
|
528
|
+
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"name": "download",
|
|
533
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
|
|
534
|
+
"value": { "type": "string | undefined" }
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"name": "label",
|
|
538
|
+
"description": "A description that gets read by assistive devices. For optimal accessibility, you should always include a label\nthat describes what the icon button does.",
|
|
539
|
+
"value": { "type": "string", "default": "''" }
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"name": "size",
|
|
543
|
+
"description": "The icon button's size.",
|
|
544
|
+
"value": {
|
|
545
|
+
"type": "'small' | 'medium' | 'large' | 'inherit'",
|
|
546
|
+
"default": "'inherit'"
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"name": "color",
|
|
551
|
+
"description": "The color of the icon button.\nThe default \"currentColor\" makes it possible to easily style the icon button from outside without any CSS variables.",
|
|
552
|
+
"value": {
|
|
553
|
+
"type": "'currentColor' | 'primary' | 'neutral'",
|
|
554
|
+
"default": "'currentColor'"
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"name": "disabled",
|
|
559
|
+
"description": "Disables the button.",
|
|
560
|
+
"value": { "type": "boolean", "default": "false" }
|
|
561
|
+
}
|
|
562
|
+
],
|
|
563
|
+
"events": [
|
|
564
|
+
{
|
|
565
|
+
"name": "syn-blur",
|
|
566
|
+
"description": "Emitted when the icon button loses focus."
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"name": "syn-focus",
|
|
570
|
+
"description": "Emitted when the icon button gains focus."
|
|
571
|
+
}
|
|
572
|
+
],
|
|
573
|
+
"js": {
|
|
574
|
+
"properties": [
|
|
575
|
+
{
|
|
576
|
+
"name": "name",
|
|
577
|
+
"description": "The name of the icon to draw. Available names depend on the icon library being used.",
|
|
578
|
+
"value": { "type": "string | undefined" }
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"name": "library",
|
|
582
|
+
"description": "The name of a registered custom icon library.",
|
|
583
|
+
"value": { "type": "string | undefined" }
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"name": "src",
|
|
587
|
+
"description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
|
|
588
|
+
"value": { "type": "string | undefined" }
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"name": "href",
|
|
592
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
593
|
+
"value": { "type": "string | undefined" }
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"name": "target",
|
|
597
|
+
"description": "Tells the browser where to open the link. Only used when `href` is set.",
|
|
598
|
+
"value": {
|
|
599
|
+
"type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"name": "download",
|
|
604
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is set.",
|
|
605
|
+
"value": { "type": "string | undefined" }
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"name": "label",
|
|
609
|
+
"description": "A description that gets read by assistive devices. For optimal accessibility, you should always include a label\nthat describes what the icon button does.",
|
|
610
|
+
"value": { "type": "string" }
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"name": "size",
|
|
614
|
+
"description": "The icon button's size.",
|
|
615
|
+
"value": { "type": "'small' | 'medium' | 'large' | 'inherit'" }
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"name": "color",
|
|
619
|
+
"description": "The color of the icon button.\nThe default \"currentColor\" makes it possible to easily style the icon button from outside without any CSS variables.",
|
|
620
|
+
"value": { "type": "'currentColor' | 'primary' | 'neutral'" }
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"name": "disabled",
|
|
624
|
+
"description": "Disables the button.",
|
|
625
|
+
"value": { "type": "boolean" }
|
|
626
|
+
}
|
|
627
|
+
],
|
|
628
|
+
"events": [
|
|
629
|
+
{
|
|
630
|
+
"name": "syn-blur",
|
|
631
|
+
"description": "Emitted when the icon button loses focus."
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"name": "syn-focus",
|
|
635
|
+
"description": "Emitted when the icon button gains focus."
|
|
636
|
+
}
|
|
637
|
+
]
|
|
638
|
+
}
|
|
639
|
+
},
|
|
499
640
|
{
|
|
500
641
|
"name": "syn-input",
|
|
501
642
|
"description": "Inputs collect data from the user.\n---\n\n\n### **Events:**\n - **syn-blur** - Emitted when the control loses focus.\n- **syn-change** - Emitted when an alteration to the control's value is committed by the user.\n- **syn-clear** - Emitted when the clear button is activated.\n- **syn-focus** - Emitted when the control gains focus.\n- **syn-input** - Emitted when the control receives input.\n- **syn-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **select()** - Selects all the text in the input.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **showPicker()** - Displays the browser picker for an input element (only works if the browser supports it for the input type).\n- **stepUp()** - Increments the value of a numeric input type by the value of the step attribute.\n- **stepDown()** - Decrements the value of a numeric input type by the value of the step attribute.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the input.\n- **suffix** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **input** - The internal `<input>` control.\n- **prefix** - The container that wraps the prefix.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **suffix** - The container that wraps the suffix.",
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"url": "https://www.sick.com"
|
|
5
5
|
},
|
|
6
6
|
"name": "@synergy-design-system/components",
|
|
7
|
-
"version": "1.0
|
|
7
|
+
"version": "1.1.0",
|
|
8
8
|
"description": "",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@custom-elements-manifest/analyzer": "^0.8.4",
|
|
44
44
|
"@lit/react": "^1.0.0",
|
|
45
|
-
"@open-wc/testing": "^
|
|
45
|
+
"@open-wc/testing": "^4.0.0",
|
|
46
46
|
"@playwright/test": "^1.39.0",
|
|
47
47
|
"@semantic-release/changelog": "^6.0.3",
|
|
48
48
|
"@semantic-release/exec": "^6.0.3",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"vendorism": "github:mariohamann/vendorism",
|
|
90
90
|
"vue-tsc": "^1.8.24",
|
|
91
91
|
"@synergy-design-system/eslint-config-syn": "0.1.0",
|
|
92
|
-
"@synergy-design-system/tokens": "1.0
|
|
92
|
+
"@synergy-design-system/tokens": "1.1.0",
|
|
93
93
|
"@synergy-design-system/stylelint-config-syn": "0.1.0"
|
|
94
94
|
},
|
|
95
95
|
"release": {
|
|
@@ -141,7 +141,14 @@
|
|
|
141
141
|
"successComment": false
|
|
142
142
|
}
|
|
143
143
|
]
|
|
144
|
-
]
|
|
144
|
+
],
|
|
145
|
+
"monorepo": {
|
|
146
|
+
"dependencies": [
|
|
147
|
+
"packages/vue",
|
|
148
|
+
"packages/react",
|
|
149
|
+
"packages/angular"
|
|
150
|
+
]
|
|
151
|
+
}
|
|
145
152
|
},
|
|
146
153
|
"dependencies": {
|
|
147
154
|
"@floating-ui/dom": "^1.5.3",
|
|
@@ -151,16 +158,8 @@
|
|
|
151
158
|
"lit": "^3.0.0"
|
|
152
159
|
},
|
|
153
160
|
"web-types": "./dist/web-types.json",
|
|
154
|
-
"meta": {
|
|
155
|
-
"checksums": {
|
|
156
|
-
"angular": "432be0e964528715800cd77deee1cf7b6c95fa92",
|
|
157
|
-
"react": "f5c1cbc6d4366f0189d8f4804cbb41e38e2985b0",
|
|
158
|
-
"vue": "b8394e739b437d8f4cfe8d8480d761cf58856b49"
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
161
|
"scripts": {
|
|
162
162
|
"build": "node scripts/build.js",
|
|
163
|
-
"create-checksums": "node -e 'import(\"./scripts/jobs/createChecksums.js\").then( loadedModule => loadedModule.runCreateChecksums() )'",
|
|
164
163
|
"test": "web-test-runner --group default",
|
|
165
164
|
"vendor": "node scripts/vendorism.js",
|
|
166
165
|
"vendor.get": "node scripts/vendorism.js -g",
|
|
@@ -172,6 +171,7 @@
|
|
|
172
171
|
"release": "semantic-release --tagFormat 'components/${version}' -e semantic-release-monorepo",
|
|
173
172
|
"release.angular": "git add ../angular && git commit -m \"chore(release/angular) via component release [skip actions]\"",
|
|
174
173
|
"release.react": "git add ../react && git commit -m \"chore(release/react) via component release [skip actions]\"",
|
|
175
|
-
"release.vue": "git add ../vue && git commit -m \"chore(release/vue) via component release [skip actions]\""
|
|
174
|
+
"release.vue": "git add ../vue && git commit -m \"chore(release/vue) via component release [skip actions]\"",
|
|
175
|
+
"release.dry": "semantic-release --dry-run --tagFormat 'components/${version}' -e semantic-release-monorepo"
|
|
176
176
|
}
|
|
177
177
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|