@soyio/soyio-widget 2.25.3 → 3.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soyio/soyio-widget",
3
- "version": "2.25.3",
3
+ "version": "3.0.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.cjs",
6
6
  "module": "./dist/index.js",
@@ -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
- "night",
2273
- "flat"
2285
+ "flat",
2286
+ "neutral",
2287
+ "night"
2274
2288
  ],
2275
2289
  "type": "string"
2276
2290
  }
@@ -395,6 +395,7 @@
395
395
  "type": "string"
396
396
  },
397
397
  "context": {
398
+ "deprecated": "Use `origin` instead.",
398
399
  "type": "string"
399
400
  },
400
401
  "developmentUrl": {
@@ -446,6 +447,9 @@
446
447
  "hide"
447
448
  ],
448
449
  "type": "string"
450
+ },
451
+ "origin": {
452
+ "type": "string"
449
453
  }
450
454
  },
451
455
  "required": [
@@ -945,6 +949,9 @@
945
949
  "config": {
946
950
  "$ref": "#/definitions/SoyioAppearanceConfig"
947
951
  },
952
+ "mode": {
953
+ "$ref": "#/definitions/SoyioColorMode"
954
+ },
948
955
  "rules": {
949
956
  "$ref": "#/definitions/SoyioRule"
950
957
  },
@@ -1147,6 +1154,15 @@
1147
1154
  },
1148
1155
  "type": "object"
1149
1156
  },
1157
+ "SoyioColorMode": {
1158
+ "description": "Appearance color mode.\n\n- `light`: force light mode\n- `dark`: force dark mode\n- `auto`: follow the consumer's system color scheme",
1159
+ "enum": [
1160
+ "light",
1161
+ "dark",
1162
+ "auto"
1163
+ ],
1164
+ "type": "string"
1165
+ },
1150
1166
  "SoyioIconConfig": {
1151
1167
  "additionalProperties": false,
1152
1168
  "properties": {
@@ -2816,10 +2832,12 @@
2816
2832
  "type": "object"
2817
2833
  },
2818
2834
  "SoyioTheme": {
2835
+ "description": "Appearance theme palette.\n\n`night` is kept as a deprecated alias for `theme: 'soyio'` + `mode: 'dark'`.",
2819
2836
  "enum": [
2820
2837
  "soyio",
2821
- "night",
2822
- "flat"
2838
+ "flat",
2839
+ "neutral",
2840
+ "night"
2823
2841
  ],
2824
2842
  "type": "string"
2825
2843
  },