@glasshome/widget-sdk 1.25.0 → 1.25.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/dist/export-history.json +288 -0
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/export-history.json
CHANGED
|
@@ -4990,5 +4990,293 @@
|
|
|
4990
4990
|
"useWidgetViewer",
|
|
4991
4991
|
"widgetFields",
|
|
4992
4992
|
"z"
|
|
4993
|
+
],
|
|
4994
|
+
"1.25.1": [
|
|
4995
|
+
"Badge",
|
|
4996
|
+
"Button",
|
|
4997
|
+
"ButtonGroup",
|
|
4998
|
+
"Carousel",
|
|
4999
|
+
"CarouselContent",
|
|
5000
|
+
"CarouselDots",
|
|
5001
|
+
"CarouselItem",
|
|
5002
|
+
"CarouselNext",
|
|
5003
|
+
"CarouselPrevious",
|
|
5004
|
+
"ColorDisc",
|
|
5005
|
+
"ColorSlider",
|
|
5006
|
+
"ColorWheel",
|
|
5007
|
+
"CountPill",
|
|
5008
|
+
"Icon",
|
|
5009
|
+
"Input",
|
|
5010
|
+
"Label",
|
|
5011
|
+
"PanelEntityRow",
|
|
5012
|
+
"PanelFacts",
|
|
5013
|
+
"PanelRow",
|
|
5014
|
+
"PanelRows",
|
|
5015
|
+
"PanelSection",
|
|
5016
|
+
"Progress",
|
|
5017
|
+
"ResponsiveDialog",
|
|
5018
|
+
"ResponsiveDialogBody",
|
|
5019
|
+
"ResponsiveDialogClose",
|
|
5020
|
+
"ResponsiveDialogContent",
|
|
5021
|
+
"ResponsiveDialogDescription",
|
|
5022
|
+
"ResponsiveDialogFooter",
|
|
5023
|
+
"ResponsiveDialogHeader",
|
|
5024
|
+
"ResponsiveDialogTitle",
|
|
5025
|
+
"SDK_VERSION",
|
|
5026
|
+
"SchemaForm",
|
|
5027
|
+
"SectionIcon",
|
|
5028
|
+
"SectionTitle",
|
|
5029
|
+
"Select",
|
|
5030
|
+
"SelectContent",
|
|
5031
|
+
"SelectItem",
|
|
5032
|
+
"SelectTrigger",
|
|
5033
|
+
"SelectValue",
|
|
5034
|
+
"Slider",
|
|
5035
|
+
"SwatchPicker",
|
|
5036
|
+
"Switch",
|
|
5037
|
+
"Tabs",
|
|
5038
|
+
"TabsContent",
|
|
5039
|
+
"TabsList",
|
|
5040
|
+
"TabsTrigger",
|
|
5041
|
+
"TemperatureBar",
|
|
5042
|
+
"Toggle",
|
|
5043
|
+
"ToggleGroup",
|
|
5044
|
+
"ToggleGroupItem",
|
|
5045
|
+
"ToneSchema",
|
|
5046
|
+
"Widget",
|
|
5047
|
+
"WidgetAction",
|
|
5048
|
+
"WidgetBackdrop",
|
|
5049
|
+
"WidgetChip",
|
|
5050
|
+
"WidgetChoice",
|
|
5051
|
+
"WidgetContent",
|
|
5052
|
+
"WidgetControls",
|
|
5053
|
+
"WidgetCtx",
|
|
5054
|
+
"WidgetDebugTab",
|
|
5055
|
+
"WidgetDebugView",
|
|
5056
|
+
"WidgetDialog",
|
|
5057
|
+
"WidgetGlyph",
|
|
5058
|
+
"WidgetHead",
|
|
5059
|
+
"WidgetHero",
|
|
5060
|
+
"WidgetIcon",
|
|
5061
|
+
"WidgetLayer",
|
|
5062
|
+
"WidgetManifestSchema",
|
|
5063
|
+
"WidgetSizeCtx",
|
|
5064
|
+
"WidgetSliderFill",
|
|
5065
|
+
"WidgetStatus",
|
|
5066
|
+
"WidgetStepper",
|
|
5067
|
+
"WidgetTitle",
|
|
5068
|
+
"WidgetValue",
|
|
5069
|
+
"buildDebugData",
|
|
5070
|
+
"byDomain",
|
|
5071
|
+
"calculateLightGroup",
|
|
5072
|
+
"calculateSensorGroup",
|
|
5073
|
+
"copyText",
|
|
5074
|
+
"countActiveEntities",
|
|
5075
|
+
"defineConfig",
|
|
5076
|
+
"defineWidget",
|
|
5077
|
+
"deprecations",
|
|
5078
|
+
"field",
|
|
5079
|
+
"formatDeprecation",
|
|
5080
|
+
"formatSchemaError",
|
|
5081
|
+
"getEntityAttribute",
|
|
5082
|
+
"getForecasts",
|
|
5083
|
+
"getStream",
|
|
5084
|
+
"getWebRtcClientConfig",
|
|
5085
|
+
"hassMediaUrl",
|
|
5086
|
+
"imagePreset",
|
|
5087
|
+
"imageSrc",
|
|
5088
|
+
"imageUrl",
|
|
5089
|
+
"injectTokens",
|
|
5090
|
+
"isDark",
|
|
5091
|
+
"isEntityActive",
|
|
5092
|
+
"isPanelControllable",
|
|
5093
|
+
"mediaUrl",
|
|
5094
|
+
"monotoneCubicPath",
|
|
5095
|
+
"parseColor",
|
|
5096
|
+
"presetValue",
|
|
5097
|
+
"sendWebRtcCandidate",
|
|
5098
|
+
"startWebRtcSession",
|
|
5099
|
+
"state",
|
|
5100
|
+
"svgColors",
|
|
5101
|
+
"trackEntityHistory",
|
|
5102
|
+
"untrackEntityHistory",
|
|
5103
|
+
"useArea",
|
|
5104
|
+
"useCalendarEvents",
|
|
5105
|
+
"useCamera",
|
|
5106
|
+
"useConfirm",
|
|
5107
|
+
"useConnection",
|
|
5108
|
+
"useCopyText",
|
|
5109
|
+
"useCurrency",
|
|
5110
|
+
"useDaylight",
|
|
5111
|
+
"useEntities",
|
|
5112
|
+
"useEntity",
|
|
5113
|
+
"useEntityHistory",
|
|
5114
|
+
"useEntityStatistics",
|
|
5115
|
+
"useForecast",
|
|
5116
|
+
"useHassConfig",
|
|
5117
|
+
"useIntersectionPause",
|
|
5118
|
+
"useLocale",
|
|
5119
|
+
"useMaterial",
|
|
5120
|
+
"useReducedMotion",
|
|
5121
|
+
"useService",
|
|
5122
|
+
"useStore",
|
|
5123
|
+
"useTemperatureUnit",
|
|
5124
|
+
"useToggle",
|
|
5125
|
+
"useTurnOff",
|
|
5126
|
+
"useTurnOn",
|
|
5127
|
+
"useUnitSystem",
|
|
5128
|
+
"useWidgetContext",
|
|
5129
|
+
"useWidgetDashboard",
|
|
5130
|
+
"useWidgetDialog",
|
|
5131
|
+
"useWidgetDimensions",
|
|
5132
|
+
"useWidgetEntityGroup",
|
|
5133
|
+
"useWidgetGestures",
|
|
5134
|
+
"useWidgetViewer",
|
|
5135
|
+
"widgetFields",
|
|
5136
|
+
"z"
|
|
5137
|
+
],
|
|
5138
|
+
"1.25.2": [
|
|
5139
|
+
"Badge",
|
|
5140
|
+
"Button",
|
|
5141
|
+
"ButtonGroup",
|
|
5142
|
+
"Carousel",
|
|
5143
|
+
"CarouselContent",
|
|
5144
|
+
"CarouselDots",
|
|
5145
|
+
"CarouselItem",
|
|
5146
|
+
"CarouselNext",
|
|
5147
|
+
"CarouselPrevious",
|
|
5148
|
+
"ColorDisc",
|
|
5149
|
+
"ColorSlider",
|
|
5150
|
+
"ColorWheel",
|
|
5151
|
+
"CountPill",
|
|
5152
|
+
"Icon",
|
|
5153
|
+
"Input",
|
|
5154
|
+
"Label",
|
|
5155
|
+
"PanelEntityRow",
|
|
5156
|
+
"PanelFacts",
|
|
5157
|
+
"PanelRow",
|
|
5158
|
+
"PanelRows",
|
|
5159
|
+
"PanelSection",
|
|
5160
|
+
"Progress",
|
|
5161
|
+
"ResponsiveDialog",
|
|
5162
|
+
"ResponsiveDialogBody",
|
|
5163
|
+
"ResponsiveDialogClose",
|
|
5164
|
+
"ResponsiveDialogContent",
|
|
5165
|
+
"ResponsiveDialogDescription",
|
|
5166
|
+
"ResponsiveDialogFooter",
|
|
5167
|
+
"ResponsiveDialogHeader",
|
|
5168
|
+
"ResponsiveDialogTitle",
|
|
5169
|
+
"SDK_VERSION",
|
|
5170
|
+
"SchemaForm",
|
|
5171
|
+
"SectionIcon",
|
|
5172
|
+
"SectionTitle",
|
|
5173
|
+
"Select",
|
|
5174
|
+
"SelectContent",
|
|
5175
|
+
"SelectItem",
|
|
5176
|
+
"SelectTrigger",
|
|
5177
|
+
"SelectValue",
|
|
5178
|
+
"Slider",
|
|
5179
|
+
"SwatchPicker",
|
|
5180
|
+
"Switch",
|
|
5181
|
+
"Tabs",
|
|
5182
|
+
"TabsContent",
|
|
5183
|
+
"TabsList",
|
|
5184
|
+
"TabsTrigger",
|
|
5185
|
+
"TemperatureBar",
|
|
5186
|
+
"Toggle",
|
|
5187
|
+
"ToggleGroup",
|
|
5188
|
+
"ToggleGroupItem",
|
|
5189
|
+
"ToneSchema",
|
|
5190
|
+
"Widget",
|
|
5191
|
+
"WidgetAction",
|
|
5192
|
+
"WidgetBackdrop",
|
|
5193
|
+
"WidgetChip",
|
|
5194
|
+
"WidgetChoice",
|
|
5195
|
+
"WidgetContent",
|
|
5196
|
+
"WidgetControls",
|
|
5197
|
+
"WidgetCtx",
|
|
5198
|
+
"WidgetDebugTab",
|
|
5199
|
+
"WidgetDebugView",
|
|
5200
|
+
"WidgetDialog",
|
|
5201
|
+
"WidgetGlyph",
|
|
5202
|
+
"WidgetHead",
|
|
5203
|
+
"WidgetHero",
|
|
5204
|
+
"WidgetIcon",
|
|
5205
|
+
"WidgetLayer",
|
|
5206
|
+
"WidgetManifestSchema",
|
|
5207
|
+
"WidgetSizeCtx",
|
|
5208
|
+
"WidgetSliderFill",
|
|
5209
|
+
"WidgetStatus",
|
|
5210
|
+
"WidgetStepper",
|
|
5211
|
+
"WidgetTitle",
|
|
5212
|
+
"WidgetValue",
|
|
5213
|
+
"buildDebugData",
|
|
5214
|
+
"byDomain",
|
|
5215
|
+
"calculateLightGroup",
|
|
5216
|
+
"calculateSensorGroup",
|
|
5217
|
+
"copyText",
|
|
5218
|
+
"countActiveEntities",
|
|
5219
|
+
"defineConfig",
|
|
5220
|
+
"defineWidget",
|
|
5221
|
+
"deprecations",
|
|
5222
|
+
"field",
|
|
5223
|
+
"formatDeprecation",
|
|
5224
|
+
"formatSchemaError",
|
|
5225
|
+
"getEntityAttribute",
|
|
5226
|
+
"getForecasts",
|
|
5227
|
+
"getStream",
|
|
5228
|
+
"getWebRtcClientConfig",
|
|
5229
|
+
"hassMediaUrl",
|
|
5230
|
+
"imagePreset",
|
|
5231
|
+
"imageSrc",
|
|
5232
|
+
"imageUrl",
|
|
5233
|
+
"injectTokens",
|
|
5234
|
+
"isDark",
|
|
5235
|
+
"isEntityActive",
|
|
5236
|
+
"isPanelControllable",
|
|
5237
|
+
"mediaUrl",
|
|
5238
|
+
"monotoneCubicPath",
|
|
5239
|
+
"parseColor",
|
|
5240
|
+
"presetValue",
|
|
5241
|
+
"sendWebRtcCandidate",
|
|
5242
|
+
"startWebRtcSession",
|
|
5243
|
+
"state",
|
|
5244
|
+
"svgColors",
|
|
5245
|
+
"trackEntityHistory",
|
|
5246
|
+
"untrackEntityHistory",
|
|
5247
|
+
"useArea",
|
|
5248
|
+
"useCalendarEvents",
|
|
5249
|
+
"useCamera",
|
|
5250
|
+
"useConfirm",
|
|
5251
|
+
"useConnection",
|
|
5252
|
+
"useCopyText",
|
|
5253
|
+
"useCurrency",
|
|
5254
|
+
"useDaylight",
|
|
5255
|
+
"useEntities",
|
|
5256
|
+
"useEntity",
|
|
5257
|
+
"useEntityHistory",
|
|
5258
|
+
"useEntityStatistics",
|
|
5259
|
+
"useForecast",
|
|
5260
|
+
"useHassConfig",
|
|
5261
|
+
"useIntersectionPause",
|
|
5262
|
+
"useLocale",
|
|
5263
|
+
"useMaterial",
|
|
5264
|
+
"useReducedMotion",
|
|
5265
|
+
"useService",
|
|
5266
|
+
"useStore",
|
|
5267
|
+
"useTemperatureUnit",
|
|
5268
|
+
"useToggle",
|
|
5269
|
+
"useTurnOff",
|
|
5270
|
+
"useTurnOn",
|
|
5271
|
+
"useUnitSystem",
|
|
5272
|
+
"useWidgetContext",
|
|
5273
|
+
"useWidgetDashboard",
|
|
5274
|
+
"useWidgetDialog",
|
|
5275
|
+
"useWidgetDimensions",
|
|
5276
|
+
"useWidgetEntityGroup",
|
|
5277
|
+
"useWidgetGestures",
|
|
5278
|
+
"useWidgetViewer",
|
|
5279
|
+
"widgetFields",
|
|
5280
|
+
"z"
|
|
4993
5281
|
]
|
|
4994
5282
|
}
|
package/dist/index.js
CHANGED
|
@@ -3136,7 +3136,7 @@ function Co() {
|
|
|
3136
3136
|
//#region src/version.ts
|
|
3137
3137
|
var wo = {
|
|
3138
3138
|
name: "@glasshome/widget-sdk",
|
|
3139
|
-
version: "1.25.
|
|
3139
|
+
version: "1.25.2",
|
|
3140
3140
|
description: "SDK for building GlassHome dashboard widgets with SolidJS",
|
|
3141
3141
|
keywords: [
|
|
3142
3142
|
"dashboard",
|
|
@@ -3208,7 +3208,7 @@ var wo = {
|
|
|
3208
3208
|
lint: "oxlint --type-aware . && oxfmt --check ."
|
|
3209
3209
|
},
|
|
3210
3210
|
dependencies: {
|
|
3211
|
-
"@glasshome/widget-contract": "0.
|
|
3211
|
+
"@glasshome/widget-contract": "0.6.0",
|
|
3212
3212
|
"@tailwindcss/vite": "^4.1.13",
|
|
3213
3213
|
clsx: "^2.1.1",
|
|
3214
3214
|
"happy-dom": "^20.0.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glasshome/widget-sdk",
|
|
3
|
-
"version": "1.25.
|
|
3
|
+
"version": "1.25.2",
|
|
4
4
|
"description": "SDK for building GlassHome dashboard widgets with SolidJS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dashboard",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"lint": "oxlint --type-aware . && oxfmt --check ."
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@glasshome/widget-contract": "0.
|
|
79
|
+
"@glasshome/widget-contract": "0.6.0",
|
|
80
80
|
"@tailwindcss/vite": "^4.1.13",
|
|
81
81
|
"clsx": "^2.1.1",
|
|
82
82
|
"happy-dom": "^20.0.0",
|