@synergy-design-system/tokens 1.2.0 → 1.2.2

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 CHANGED
@@ -1,3 +1,17 @@
1
+ # [@synergy-design-system/tokens-v1.2.2](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/1.2.1...tokens/1.2.2) (2024-01-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * 🤔 Update project dependencies ([#276](https://github.com/synergy-design-system/synergy-design-system/issues/276)) ([9aa94be](https://github.com/synergy-design-system/synergy-design-system/commit/9aa94beb8f1191862d7cf48617af2d1994a6df9c))
7
+
8
+ # [@synergy-design-system/tokens-v1.2.1](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/1.2.0...tokens/1.2.1) (2024-01-17)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * 🤔 Tokens of the radio get lost when pushing to GitHub ([#265](https://github.com/synergy-design-system/synergy-design-system/issues/265)) ([0643335](https://github.com/synergy-design-system/synergy-design-system/commit/06433355792459a382492b4ebc32d0de08b73030))
14
+
1
15
  # [@synergy-design-system/tokens-v1.2.0](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/1.1.0...tokens/1.2.0) (2024-01-15)
2
16
 
3
17
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.1.0
2
+ * @synergy-design-system/tokens version 1.2.1
3
3
  * SICK Global UX Foundation
4
4
  */
5
5
 
package/dist/js/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.1.0
2
+ * @synergy-design-system/tokens version 1.2.1
3
3
  * SICK Global UX Foundation
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.1.0
2
+ * @synergy-design-system/tokens version 1.2.1
3
3
  * SICK Global UX Foundation
4
4
  */
5
5
  $SynFontSize2xSmall: var(--syn-font-size-2x-small) !default;
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.1.0
2
+ * @synergy-design-system/tokens version 1.2.1
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly
5
- * Generated on Mon, 15 Jan 2024 13:15:09 GMT
5
+ * Generated on Wed, 24 Jan 2024 10:35:41 GMT
6
6
  */
7
7
 
8
8
  :root, .syn-theme-dark {
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.1.0
2
+ * @synergy-design-system/tokens version 1.2.1
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly
5
- * Generated on Mon, 15 Jan 2024 13:15:09 GMT
5
+ * Generated on Wed, 24 Jan 2024 10:35:41 GMT
6
6
  */
7
7
 
8
8
  :root, .syn-theme-light {
package/package.json CHANGED
@@ -8,15 +8,15 @@
8
8
  "@semantic-release/changelog": "^6.0.3",
9
9
  "@semantic-release/exec": "^6.0.3",
10
10
  "@semantic-release/git": "^10.0.1",
11
- "@tokens-studio/sd-transforms": "^0.11.0",
11
+ "@tokens-studio/sd-transforms": "^0.11.10",
12
12
  "chalk": "^5.3.0",
13
13
  "change-case": "^4.1.2",
14
- "eslint": "^8.47.0",
15
- "eslint-plugin-import": "^2.28.1",
16
- "rimraf": "^5.0.1",
14
+ "eslint": "^8.56.0",
15
+ "eslint-plugin-import": "^2.29.1",
16
+ "rimraf": "^5.0.5",
17
17
  "semantic-release": "^19.0.5",
18
18
  "semantic-release-monorepo": "^7.0.5",
19
- "style-dictionary": "^3.8.0",
19
+ "style-dictionary": "^3.9.2",
20
20
  "@synergy-design-system/eslint-config-syn": "0.1.0"
21
21
  },
22
22
  "exports": {
@@ -99,7 +99,7 @@
99
99
  },
100
100
  "type": "module",
101
101
  "types": "./dist/js/index.d.ts",
102
- "version": "1.2.0",
102
+ "version": "1.2.2",
103
103
  "scripts": {
104
104
  "build": "pnpm clean && node scripts/build.js",
105
105
  "clean": "rimraf build",
@@ -335,13 +335,55 @@
335
335
  }
336
336
  },
337
337
  "divider": {
338
- "description": {
339
- "value": "Dividers are used to visually separate or group elements.",
340
- "type": "text"
338
+ "default": {
339
+ "description": {
340
+ "value": "Dividers are used to visually separate or group elements.",
341
+ "type": "text"
342
+ },
343
+ "title": {
344
+ "value": "Divider",
345
+ "type": "text"
346
+ }
341
347
  },
342
- "title": {
343
- "value": "Divider",
344
- "type": "text"
348
+ "width": {
349
+ "title": {
350
+ "value": "Width",
351
+ "type": "text"
352
+ },
353
+ "description": {
354
+ "value": "Use the --width custom property to change the width of the divider.",
355
+ "type": "text"
356
+ }
357
+ },
358
+ "color": {
359
+ "title": {
360
+ "value": "Color",
361
+ "type": "text"
362
+ },
363
+ "description": {
364
+ "value": "Use the --color custom property to change the color of the divider.",
365
+ "type": "text"
366
+ }
367
+ },
368
+ "spacing": {
369
+ "title": {
370
+ "value": "Spacing",
371
+ "type": "text"
372
+ },
373
+ "description": {
374
+ "value": "Use the --spacing custom property to change the amount of space between the divider and it’s neighboring elements.",
375
+ "type": "text"
376
+ }
377
+ },
378
+ "vertical": {
379
+ "title": {
380
+ "value": "Vertical",
381
+ "type": "text"
382
+ },
383
+ "description": {
384
+ "value": "Add the vertical attribute to draw the divider in a vertical orientation. The divider will span the full height of its container. Vertical dividers work especially well inside of a flex container.",
385
+ "type": "text"
386
+ }
345
387
  }
346
388
  },
347
389
  "drawer": {
@@ -659,13 +701,35 @@
659
701
  }
660
702
  },
661
703
  "option": {
662
- "description": {
663
- "value": "Options define the selectable items within various form controls such as select.",
664
- "type": "text"
704
+ "default": {
705
+ "description": {
706
+ "value": "Options define the selectable items within various form controls such as select.",
707
+ "type": "text"
708
+ },
709
+ "title": {
710
+ "value": "Option",
711
+ "type": "text"
712
+ }
665
713
  },
666
- "title": {
667
- "value": "Option",
668
- "type": "text"
714
+ "disabled": {
715
+ "title": {
716
+ "value": "Disabled",
717
+ "type": "text"
718
+ },
719
+ "description": {
720
+ "value": "Use the disabled attribute to disable an option and prevent it from being selected.",
721
+ "type": "text"
722
+ }
723
+ },
724
+ "prefix-suffix": {
725
+ "title": {
726
+ "value": "Prefix and Suffix",
727
+ "type": "text"
728
+ },
729
+ "description": {
730
+ "value": "Add icons to the start and end of menu items using the prefix and suffix slots.",
731
+ "type": "text"
732
+ }
669
733
  }
670
734
  },
671
735
  "popup": {
@@ -851,13 +915,135 @@
851
915
  }
852
916
  },
853
917
  "select": {
854
- "description": {
855
- "value": "Selects allow you to choose items from a menu of predefined options.",
856
- "type": "text"
918
+ "default": {
919
+ "description": {
920
+ "value": "Selects allow you to choose items from a menu of predefined options.",
921
+ "type": "text"
922
+ },
923
+ "title": {
924
+ "value": "Select",
925
+ "type": "text"
926
+ }
857
927
  },
858
- "title": {
859
- "value": "Select",
860
- "type": "text"
928
+ "labels": {
929
+ "title": {
930
+ "value": "Labels",
931
+ "type": "text"
932
+ },
933
+ "description": {
934
+ "value": "Use the label attribute to give the select an accessible label. For labels that contain HTML, use the label slot instead.",
935
+ "type": "text"
936
+ }
937
+ },
938
+ "help-text": {
939
+ "title": {
940
+ "value": "Help Text",
941
+ "type": "text"
942
+ },
943
+ "description": {
944
+ "value": "Add descriptive help text to a select with the help-text attribute. For help texts that contain HTML, use the help-text slot instead.",
945
+ "type": "text"
946
+ }
947
+ },
948
+ "clearable": {
949
+ "title": {
950
+ "value": "Clearable",
951
+ "type": "text"
952
+ },
953
+ "description": {
954
+ "value": "Use the clearable attribute to make the control clearable. The clear button only appears when an option is selected.",
955
+ "type": "text"
956
+ }
957
+ },
958
+ "disabled": {
959
+ "title": {
960
+ "value": "Disabled",
961
+ "type": "text"
962
+ },
963
+ "description": {
964
+ "value": "Use the disabled attribute to disable a select.",
965
+ "type": "text"
966
+ }
967
+ },
968
+ "multiple": {
969
+ "title": {
970
+ "value": "Multiple",
971
+ "type": "text"
972
+ },
973
+ "description": {
974
+ "value": "To allow multiple options to be selected, use the multiple attribute. It’s a good practice to use clearable when this option is enabled. To set multiple values at once, set value to a space-delimited list of values.",
975
+ "type": "text"
976
+ }
977
+ },
978
+ "initialvalue": {
979
+ "title": {
980
+ "value": "Setting Initial Values",
981
+ "type": "text"
982
+ },
983
+ "description": {
984
+ "value": "Use the value attribute to set the initial selection.\n\nWhen using multiple, the value attribute uses space-delimited values to select more than one option. Because of this, <syn-option> values cannot contain spaces. If you’re accessing the value property through Javascript, it will be an array.",
985
+ "type": "text"
986
+ }
987
+ },
988
+ "group": {
989
+ "title": {
990
+ "value": "Grouping Options",
991
+ "type": "text"
992
+ },
993
+ "description": {
994
+ "value": "Use <syn-optgroup> to group listbox items visually.",
995
+ "type": "text"
996
+ }
997
+ },
998
+ "size": {
999
+ "title": {
1000
+ "value": "Sizes",
1001
+ "type": "text"
1002
+ },
1003
+ "description": {
1004
+ "value": "Use the size attribute to change a select’s size. Note that size does not apply to listbox options.",
1005
+ "type": "text"
1006
+ }
1007
+ },
1008
+ "prefix": {
1009
+ "title": {
1010
+ "value": "Prefix Suffix Text and Icons",
1011
+ "type": "text"
1012
+ },
1013
+ "description": {
1014
+ "value": "Use the prefix and suffix slots to add text and icons.",
1015
+ "type": "text"
1016
+ }
1017
+ },
1018
+ "gettag": {
1019
+ "title": {
1020
+ "value": "Custom Tags",
1021
+ "type": "text"
1022
+ },
1023
+ "description": {
1024
+ "value": "When multiple options can be selected, you can provide custom tags by passing a function to the getTag property. Your function can return a string of HTML, a Lit Template, or an HTMLElement. The getTag() function will be called for each option. The first argument is an <syn-option> element and the second argument is the tag’s index (its position in the tag list).\n\nRemember that custom tags are rendered in a shadow root. To style them, you can use the style attribute in your template or you can add your own parts and target them with the ::part() selector.",
1025
+ "type": "text"
1026
+ }
1027
+ },
1028
+ "placeholder": {
1029
+ "title": {
1030
+ "value": "Placeholder",
1031
+ "type": "text"
1032
+ },
1033
+ "description": {
1034
+ "value": "Use the placeholder attribute to add a placeholder.",
1035
+ "type": "text"
1036
+ }
1037
+ },
1038
+ "focus": {
1039
+ "title": {
1040
+ "value": "Focus",
1041
+ "type": "text"
1042
+ },
1043
+ "description": {
1044
+ "value": "The focus event gives the user feedback that the Select has been focused by the keyboard interaction.",
1045
+ "type": "text"
1046
+ }
861
1047
  }
862
1048
  },
863
1049
  "skeleton": {
@@ -1227,7 +1413,7 @@
1227
1413
  "type": "text"
1228
1414
  }
1229
1415
  },
1230
- "value": {
1416
+ "initialValue": {
1231
1417
  "title": {
1232
1418
  "value": "Initial Value",
1233
1419
  "type": "text"
@@ -1236,8 +1422,39 @@
1236
1422
  "value": "To set the initial value and checked state, use the value attribute on the containing radio group.",
1237
1423
  "type": "text"
1238
1424
  }
1425
+ }
1426
+ },
1427
+ "optiongroup": {
1428
+ "default": {
1429
+ "title": {
1430
+ "value": "Option Group",
1431
+ "type": "text"
1432
+ },
1433
+ "description": {
1434
+ "value": "Use <syn-optgroup> to group listbox items visually.",
1435
+ "type": "text"
1436
+ }
1239
1437
  },
1240
- "type": "other"
1438
+ "disabled": {
1439
+ "title": {
1440
+ "value": "Disabled",
1441
+ "type": "text"
1442
+ },
1443
+ "description": {
1444
+ "value": "Use the disabled attribute in the <syn-optgroup> to disable the Section and prevent it from being selected.",
1445
+ "type": "text"
1446
+ }
1447
+ },
1448
+ "prefix-suffix": {
1449
+ "title": {
1450
+ "value": "Prefix and suffix",
1451
+ "type": "text"
1452
+ },
1453
+ "description": {
1454
+ "value": "Add icons to the start and end of menu items using the prefix and suffix slots.",
1455
+ "type": "text"
1456
+ }
1457
+ }
1241
1458
  }
1242
1459
  },
1243
1460
  "frameworks": {
@@ -1500,4 +1717,4 @@
1500
1717
  }
1501
1718
  }
1502
1719
  }
1503
- }
1720
+ }
@@ -263,4 +263,4 @@
263
263
  }
264
264
  }
265
265
  }
266
- }
266
+ }