@soyio/soyio-widget 2.26.0 → 3.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 +24 -5
- package/dist/index.d.ts +23 -2
- package/dist/index.js +807 -797
- package/dist/index.umd.cjs +35 -35
- package/package.json +1 -1
- package/src/schemas/appearance.schema.json +16 -2
- package/src/schemas/config.schema.json +26 -2
package/package.json
CHANGED
|
@@ -396,6 +396,9 @@
|
|
|
396
396
|
"config": {
|
|
397
397
|
"$ref": "#/definitions/SoyioAppearanceConfig"
|
|
398
398
|
},
|
|
399
|
+
"mode": {
|
|
400
|
+
"$ref": "#/definitions/SoyioColorMode"
|
|
401
|
+
},
|
|
399
402
|
"rules": {
|
|
400
403
|
"$ref": "#/definitions/SoyioRule"
|
|
401
404
|
},
|
|
@@ -598,6 +601,15 @@
|
|
|
598
601
|
},
|
|
599
602
|
"type": "object"
|
|
600
603
|
},
|
|
604
|
+
"SoyioColorMode": {
|
|
605
|
+
"description": "Appearance color mode.\n\n- `light`: force light mode\n- `dark`: force dark mode\n- `auto`: follow the consumer's system color scheme",
|
|
606
|
+
"enum": [
|
|
607
|
+
"light",
|
|
608
|
+
"dark",
|
|
609
|
+
"auto"
|
|
610
|
+
],
|
|
611
|
+
"type": "string"
|
|
612
|
+
},
|
|
601
613
|
"SoyioIconConfig": {
|
|
602
614
|
"additionalProperties": false,
|
|
603
615
|
"properties": {
|
|
@@ -2267,10 +2279,12 @@
|
|
|
2267
2279
|
"type": "object"
|
|
2268
2280
|
},
|
|
2269
2281
|
"SoyioTheme": {
|
|
2282
|
+
"description": "Appearance theme palette.\n\n`night` is kept as a deprecated alias for `theme: 'soyio'` + `mode: 'dark'`.",
|
|
2270
2283
|
"enum": [
|
|
2271
2284
|
"soyio",
|
|
2272
|
-
"
|
|
2273
|
-
"
|
|
2285
|
+
"flat",
|
|
2286
|
+
"neutral",
|
|
2287
|
+
"night"
|
|
2274
2288
|
],
|
|
2275
2289
|
"type": "string"
|
|
2276
2290
|
}
|
|
@@ -543,6 +543,11 @@
|
|
|
543
543
|
},
|
|
544
544
|
"type": "array"
|
|
545
545
|
},
|
|
546
|
+
"externalRightsExerciseUrl": {
|
|
547
|
+
"format": "uri",
|
|
548
|
+
"minLength": 1,
|
|
549
|
+
"type": "string"
|
|
550
|
+
},
|
|
546
551
|
"fileRequisites": {
|
|
547
552
|
"additionalProperties": false,
|
|
548
553
|
"properties": {
|
|
@@ -690,6 +695,11 @@
|
|
|
690
695
|
},
|
|
691
696
|
"type": "array"
|
|
692
697
|
},
|
|
698
|
+
"externalRightsExerciseUrl": {
|
|
699
|
+
"format": "uri",
|
|
700
|
+
"minLength": 1,
|
|
701
|
+
"type": "string"
|
|
702
|
+
},
|
|
693
703
|
"fileRequisites": {
|
|
694
704
|
"additionalProperties": false,
|
|
695
705
|
"properties": {
|
|
@@ -949,6 +959,9 @@
|
|
|
949
959
|
"config": {
|
|
950
960
|
"$ref": "#/definitions/SoyioAppearanceConfig"
|
|
951
961
|
},
|
|
962
|
+
"mode": {
|
|
963
|
+
"$ref": "#/definitions/SoyioColorMode"
|
|
964
|
+
},
|
|
952
965
|
"rules": {
|
|
953
966
|
"$ref": "#/definitions/SoyioRule"
|
|
954
967
|
},
|
|
@@ -1151,6 +1164,15 @@
|
|
|
1151
1164
|
},
|
|
1152
1165
|
"type": "object"
|
|
1153
1166
|
},
|
|
1167
|
+
"SoyioColorMode": {
|
|
1168
|
+
"description": "Appearance color mode.\n\n- `light`: force light mode\n- `dark`: force dark mode\n- `auto`: follow the consumer's system color scheme",
|
|
1169
|
+
"enum": [
|
|
1170
|
+
"light",
|
|
1171
|
+
"dark",
|
|
1172
|
+
"auto"
|
|
1173
|
+
],
|
|
1174
|
+
"type": "string"
|
|
1175
|
+
},
|
|
1154
1176
|
"SoyioIconConfig": {
|
|
1155
1177
|
"additionalProperties": false,
|
|
1156
1178
|
"properties": {
|
|
@@ -2820,10 +2842,12 @@
|
|
|
2820
2842
|
"type": "object"
|
|
2821
2843
|
},
|
|
2822
2844
|
"SoyioTheme": {
|
|
2845
|
+
"description": "Appearance theme palette.\n\n`night` is kept as a deprecated alias for `theme: 'soyio'` + `mode: 'dark'`.",
|
|
2823
2846
|
"enum": [
|
|
2824
2847
|
"soyio",
|
|
2825
|
-
"
|
|
2826
|
-
"
|
|
2848
|
+
"flat",
|
|
2849
|
+
"neutral",
|
|
2850
|
+
"night"
|
|
2827
2851
|
],
|
|
2828
2852
|
"type": "string"
|
|
2829
2853
|
},
|