@webstudio-is/sdk-components-react 0.151.0 → 0.163.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/lib/components.js +361 -9
- package/lib/metas.js +190 -62
- package/lib/props.js +327 -1
- package/lib/types/__generated__/local-date.props.d.ts +2 -0
- package/lib/types/__generated__/time.props.d.ts +2 -0
- package/lib/types/components.d.ts +1 -0
- package/lib/types/content-embed.ws.d.ts +2 -0
- package/lib/types/html-embed.d.ts +1 -0
- package/lib/types/metas.d.ts +2 -0
- package/lib/types/props.d.ts +1 -0
- package/lib/types/time.d.ts +16 -0
- package/lib/types/time.ws.d.ts +3 -0
- package/lib/types/xml-node.d.ts +4 -0
- package/package.json +12 -15
package/lib/props.js
CHANGED
|
@@ -16144,7 +16144,8 @@ import "@webstudio-is/react-sdk";
|
|
|
16144
16144
|
|
|
16145
16145
|
// src/__generated__/xml-node.props.ts
|
|
16146
16146
|
var props30 = {
|
|
16147
|
-
tag: { required: false, control: "text", type: "string", defaultValue: "" }
|
|
16147
|
+
tag: { required: false, control: "text", type: "string", defaultValue: "" },
|
|
16148
|
+
xmlns: { required: false, control: "text", type: "string" }
|
|
16148
16149
|
};
|
|
16149
16150
|
|
|
16150
16151
|
// src/xml-node.ws.ts
|
|
@@ -16152,6 +16153,330 @@ var propsMeta33 = {
|
|
|
16152
16153
|
props: props30,
|
|
16153
16154
|
initialProps: ["tag"]
|
|
16154
16155
|
};
|
|
16156
|
+
|
|
16157
|
+
// src/time.ws.ts
|
|
16158
|
+
import { CalendarIcon } from "@webstudio-is/icons/svg";
|
|
16159
|
+
import {
|
|
16160
|
+
defaultStates as defaultStates28
|
|
16161
|
+
} from "@webstudio-is/react-sdk";
|
|
16162
|
+
import { time } from "@webstudio-is/react-sdk/css-normalize";
|
|
16163
|
+
|
|
16164
|
+
// src/__generated__/time.props.ts
|
|
16165
|
+
var props31 = {
|
|
16166
|
+
country: {
|
|
16167
|
+
required: false,
|
|
16168
|
+
control: "select",
|
|
16169
|
+
type: "string",
|
|
16170
|
+
defaultValue: "GB",
|
|
16171
|
+
options: [
|
|
16172
|
+
"AF",
|
|
16173
|
+
"AL",
|
|
16174
|
+
"DZ",
|
|
16175
|
+
"AS",
|
|
16176
|
+
"AD",
|
|
16177
|
+
"AO",
|
|
16178
|
+
"AI",
|
|
16179
|
+
"AQ",
|
|
16180
|
+
"AG",
|
|
16181
|
+
"AR",
|
|
16182
|
+
"AM",
|
|
16183
|
+
"AW",
|
|
16184
|
+
"AU",
|
|
16185
|
+
"AT",
|
|
16186
|
+
"AZ",
|
|
16187
|
+
"BS",
|
|
16188
|
+
"BH",
|
|
16189
|
+
"BD",
|
|
16190
|
+
"BB",
|
|
16191
|
+
"BY",
|
|
16192
|
+
"BE",
|
|
16193
|
+
"BZ",
|
|
16194
|
+
"BJ",
|
|
16195
|
+
"BM",
|
|
16196
|
+
"BT",
|
|
16197
|
+
"BO",
|
|
16198
|
+
"BA",
|
|
16199
|
+
"BW",
|
|
16200
|
+
"BR",
|
|
16201
|
+
"BN",
|
|
16202
|
+
"BG",
|
|
16203
|
+
"BF",
|
|
16204
|
+
"BI",
|
|
16205
|
+
"CV",
|
|
16206
|
+
"KH",
|
|
16207
|
+
"CM",
|
|
16208
|
+
"CA",
|
|
16209
|
+
"KY",
|
|
16210
|
+
"CF",
|
|
16211
|
+
"TD",
|
|
16212
|
+
"CL",
|
|
16213
|
+
"CN",
|
|
16214
|
+
"CO",
|
|
16215
|
+
"KM",
|
|
16216
|
+
"CG",
|
|
16217
|
+
"CD",
|
|
16218
|
+
"CR",
|
|
16219
|
+
"HR",
|
|
16220
|
+
"CU",
|
|
16221
|
+
"CY",
|
|
16222
|
+
"CZ",
|
|
16223
|
+
"DK",
|
|
16224
|
+
"DJ",
|
|
16225
|
+
"DM",
|
|
16226
|
+
"DO",
|
|
16227
|
+
"EC",
|
|
16228
|
+
"EG",
|
|
16229
|
+
"SV",
|
|
16230
|
+
"GQ",
|
|
16231
|
+
"ER",
|
|
16232
|
+
"EE",
|
|
16233
|
+
"SZ",
|
|
16234
|
+
"ET",
|
|
16235
|
+
"FJ",
|
|
16236
|
+
"FI",
|
|
16237
|
+
"FR",
|
|
16238
|
+
"GA",
|
|
16239
|
+
"GM",
|
|
16240
|
+
"GE",
|
|
16241
|
+
"DE",
|
|
16242
|
+
"GH",
|
|
16243
|
+
"GR",
|
|
16244
|
+
"GD",
|
|
16245
|
+
"GT",
|
|
16246
|
+
"GN",
|
|
16247
|
+
"GW",
|
|
16248
|
+
"GY",
|
|
16249
|
+
"HT",
|
|
16250
|
+
"HN",
|
|
16251
|
+
"HU",
|
|
16252
|
+
"IS",
|
|
16253
|
+
"IN",
|
|
16254
|
+
"ID",
|
|
16255
|
+
"IR",
|
|
16256
|
+
"IQ",
|
|
16257
|
+
"IE",
|
|
16258
|
+
"IL",
|
|
16259
|
+
"IT",
|
|
16260
|
+
"JM",
|
|
16261
|
+
"JP",
|
|
16262
|
+
"JO",
|
|
16263
|
+
"KZ",
|
|
16264
|
+
"KE",
|
|
16265
|
+
"KI",
|
|
16266
|
+
"KP",
|
|
16267
|
+
"KR",
|
|
16268
|
+
"KW",
|
|
16269
|
+
"KG",
|
|
16270
|
+
"LA",
|
|
16271
|
+
"LV",
|
|
16272
|
+
"LB",
|
|
16273
|
+
"LS",
|
|
16274
|
+
"LR",
|
|
16275
|
+
"LY",
|
|
16276
|
+
"LI",
|
|
16277
|
+
"LT",
|
|
16278
|
+
"LU",
|
|
16279
|
+
"MG",
|
|
16280
|
+
"MW",
|
|
16281
|
+
"MY",
|
|
16282
|
+
"MV",
|
|
16283
|
+
"ML",
|
|
16284
|
+
"MT",
|
|
16285
|
+
"MH",
|
|
16286
|
+
"MR",
|
|
16287
|
+
"MU",
|
|
16288
|
+
"MX",
|
|
16289
|
+
"FM",
|
|
16290
|
+
"MD",
|
|
16291
|
+
"MC",
|
|
16292
|
+
"MN",
|
|
16293
|
+
"ME",
|
|
16294
|
+
"MA",
|
|
16295
|
+
"MZ",
|
|
16296
|
+
"MM",
|
|
16297
|
+
"NA",
|
|
16298
|
+
"NR",
|
|
16299
|
+
"NP",
|
|
16300
|
+
"NL",
|
|
16301
|
+
"NZ",
|
|
16302
|
+
"NI",
|
|
16303
|
+
"NE",
|
|
16304
|
+
"NG",
|
|
16305
|
+
"NO",
|
|
16306
|
+
"OM",
|
|
16307
|
+
"PK",
|
|
16308
|
+
"PW",
|
|
16309
|
+
"PA",
|
|
16310
|
+
"PG",
|
|
16311
|
+
"PY",
|
|
16312
|
+
"PE",
|
|
16313
|
+
"PH",
|
|
16314
|
+
"PL",
|
|
16315
|
+
"PT",
|
|
16316
|
+
"QA",
|
|
16317
|
+
"RO",
|
|
16318
|
+
"RU",
|
|
16319
|
+
"RW",
|
|
16320
|
+
"KN",
|
|
16321
|
+
"LC",
|
|
16322
|
+
"VC",
|
|
16323
|
+
"WS",
|
|
16324
|
+
"SM",
|
|
16325
|
+
"ST",
|
|
16326
|
+
"SA",
|
|
16327
|
+
"SN",
|
|
16328
|
+
"RS",
|
|
16329
|
+
"SC",
|
|
16330
|
+
"SL",
|
|
16331
|
+
"SG",
|
|
16332
|
+
"SK",
|
|
16333
|
+
"SI",
|
|
16334
|
+
"SB",
|
|
16335
|
+
"SO",
|
|
16336
|
+
"ZA",
|
|
16337
|
+
"SS",
|
|
16338
|
+
"ES",
|
|
16339
|
+
"LK",
|
|
16340
|
+
"SD",
|
|
16341
|
+
"SR",
|
|
16342
|
+
"SE",
|
|
16343
|
+
"CH",
|
|
16344
|
+
"SY",
|
|
16345
|
+
"TW",
|
|
16346
|
+
"TJ",
|
|
16347
|
+
"TZ",
|
|
16348
|
+
"TH",
|
|
16349
|
+
"TL",
|
|
16350
|
+
"TG",
|
|
16351
|
+
"TO",
|
|
16352
|
+
"TT",
|
|
16353
|
+
"TN",
|
|
16354
|
+
"TR",
|
|
16355
|
+
"TM",
|
|
16356
|
+
"TV",
|
|
16357
|
+
"UG",
|
|
16358
|
+
"UA",
|
|
16359
|
+
"AE",
|
|
16360
|
+
"GB",
|
|
16361
|
+
"US",
|
|
16362
|
+
"UY",
|
|
16363
|
+
"UZ",
|
|
16364
|
+
"VU",
|
|
16365
|
+
"VA",
|
|
16366
|
+
"VE",
|
|
16367
|
+
"VN",
|
|
16368
|
+
"YE",
|
|
16369
|
+
"ZM",
|
|
16370
|
+
"ZW"
|
|
16371
|
+
]
|
|
16372
|
+
},
|
|
16373
|
+
dateStyle: {
|
|
16374
|
+
required: false,
|
|
16375
|
+
control: "select",
|
|
16376
|
+
type: "string",
|
|
16377
|
+
defaultValue: "medium",
|
|
16378
|
+
options: ["full", "long", "medium", "short", "none"]
|
|
16379
|
+
},
|
|
16380
|
+
datetime: {
|
|
16381
|
+
required: false,
|
|
16382
|
+
control: "text",
|
|
16383
|
+
type: "string",
|
|
16384
|
+
defaultValue: "dateTime attribute is not set"
|
|
16385
|
+
},
|
|
16386
|
+
language: {
|
|
16387
|
+
required: false,
|
|
16388
|
+
control: "select",
|
|
16389
|
+
type: "string",
|
|
16390
|
+
defaultValue: "en",
|
|
16391
|
+
options: [
|
|
16392
|
+
"hr",
|
|
16393
|
+
"th",
|
|
16394
|
+
"tr",
|
|
16395
|
+
"id",
|
|
16396
|
+
"is",
|
|
16397
|
+
"cy",
|
|
16398
|
+
"fr",
|
|
16399
|
+
"af",
|
|
16400
|
+
"am",
|
|
16401
|
+
"ar",
|
|
16402
|
+
"az",
|
|
16403
|
+
"be",
|
|
16404
|
+
"bg",
|
|
16405
|
+
"bn",
|
|
16406
|
+
"bs",
|
|
16407
|
+
"ca",
|
|
16408
|
+
"cs",
|
|
16409
|
+
"da",
|
|
16410
|
+
"de",
|
|
16411
|
+
"el",
|
|
16412
|
+
"en",
|
|
16413
|
+
"es",
|
|
16414
|
+
"et",
|
|
16415
|
+
"eu",
|
|
16416
|
+
"fa",
|
|
16417
|
+
"fi",
|
|
16418
|
+
"ga",
|
|
16419
|
+
"gl",
|
|
16420
|
+
"gu",
|
|
16421
|
+
"he",
|
|
16422
|
+
"hi",
|
|
16423
|
+
"hu",
|
|
16424
|
+
"hy",
|
|
16425
|
+
"it",
|
|
16426
|
+
"ja",
|
|
16427
|
+
"ka",
|
|
16428
|
+
"kk",
|
|
16429
|
+
"km",
|
|
16430
|
+
"kn",
|
|
16431
|
+
"ko",
|
|
16432
|
+
"ky",
|
|
16433
|
+
"lb",
|
|
16434
|
+
"lt",
|
|
16435
|
+
"lv",
|
|
16436
|
+
"mk",
|
|
16437
|
+
"ml",
|
|
16438
|
+
"mn",
|
|
16439
|
+
"mr",
|
|
16440
|
+
"ms",
|
|
16441
|
+
"mt",
|
|
16442
|
+
"nb",
|
|
16443
|
+
"nl",
|
|
16444
|
+
"nn",
|
|
16445
|
+
"pl",
|
|
16446
|
+
"pt",
|
|
16447
|
+
"ro",
|
|
16448
|
+
"ru",
|
|
16449
|
+
"si",
|
|
16450
|
+
"sk",
|
|
16451
|
+
"sl",
|
|
16452
|
+
"sq",
|
|
16453
|
+
"sr",
|
|
16454
|
+
"sv",
|
|
16455
|
+
"sw",
|
|
16456
|
+
"ta",
|
|
16457
|
+
"te",
|
|
16458
|
+
"uk",
|
|
16459
|
+
"ur",
|
|
16460
|
+
"uz",
|
|
16461
|
+
"vi",
|
|
16462
|
+
"zh"
|
|
16463
|
+
],
|
|
16464
|
+
description: "Defines the script language used in the element."
|
|
16465
|
+
},
|
|
16466
|
+
timeStyle: {
|
|
16467
|
+
required: false,
|
|
16468
|
+
control: "select",
|
|
16469
|
+
type: "string",
|
|
16470
|
+
defaultValue: "none",
|
|
16471
|
+
options: ["full", "long", "medium", "short", "none"]
|
|
16472
|
+
}
|
|
16473
|
+
};
|
|
16474
|
+
|
|
16475
|
+
// src/time.ws.ts
|
|
16476
|
+
var propsMeta34 = {
|
|
16477
|
+
props: props31,
|
|
16478
|
+
initialProps: ["datetime", "language", "country", "dateStyle", "timeStyle"]
|
|
16479
|
+
};
|
|
16155
16480
|
export {
|
|
16156
16481
|
propsMeta20 as Blockquote,
|
|
16157
16482
|
propsMeta4 as Body,
|
|
@@ -16181,6 +16506,7 @@ export {
|
|
|
16181
16506
|
propsMeta14 as Superscript,
|
|
16182
16507
|
propsMeta6 as Text,
|
|
16183
16508
|
propsMeta26 as Textarea,
|
|
16509
|
+
propsMeta34 as Time,
|
|
16184
16510
|
propsMeta29 as Vimeo,
|
|
16185
16511
|
propsMeta31 as VimeoPlayButton,
|
|
16186
16512
|
propsMeta30 as VimeoPreviewImage,
|
|
@@ -6,6 +6,7 @@ type HtmlEmbedProps = {
|
|
|
6
6
|
code: string;
|
|
7
7
|
executeScriptOnCanvas?: boolean;
|
|
8
8
|
clientOnly?: boolean;
|
|
9
|
+
children?: never;
|
|
9
10
|
};
|
|
10
11
|
export declare const HtmlEmbed: import("react").ForwardRefExoticComponent<HtmlEmbedProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
12
|
export {};
|
package/lib/types/metas.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { meta as Slot } from "./slot.ws";
|
|
2
2
|
export { meta as Fragment } from "./fragment.ws";
|
|
3
3
|
export { meta as HtmlEmbed } from "./html-embed.ws";
|
|
4
|
+
export { meta as ContentEmbed } from "./content-embed.ws";
|
|
4
5
|
export { meta as Body } from "./body.ws";
|
|
5
6
|
export { meta as Box } from "./box.ws";
|
|
6
7
|
export { meta as Text } from "./text.ws";
|
|
@@ -31,3 +32,4 @@ export { meta as VimeoPreviewImage } from "./vimeo-preview-image.ws";
|
|
|
31
32
|
export { meta as VimeoPlayButton } from "./vimeo-play-button.ws";
|
|
32
33
|
export { meta as VimeoSpinner } from "./vimeo-spinner.ws";
|
|
33
34
|
export { meta as XmlNode } from "./xml-node.ws";
|
|
35
|
+
export { meta as Time } from "./time.ws";
|
package/lib/types/props.d.ts
CHANGED
|
@@ -31,3 +31,4 @@ export { propsMeta as VimeoPreviewImage } from "./vimeo-preview-image.ws";
|
|
|
31
31
|
export { propsMeta as VimeoPlayButton } from "./vimeo-play-button.ws";
|
|
32
32
|
export { propsMeta as VimeoSpinner } from "./vimeo-spinner.ws";
|
|
33
33
|
export { propsMeta as XmlNode } from "./xml-node.ws";
|
|
34
|
+
export { propsMeta as Time } from "./time.ws";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const languages: readonly ["af", "am", "ar", "az", "be", "bg", "bn", "bs", "ca", "cs", "cy", "da", "de", "el", "en", "es", "et", "eu", "fa", "fi", "fr", "ga", "gl", "gu", "he", "hi", "hr", "hu", "hy", "id", "is", "it", "ja", "ka", "kk", "km", "kn", "ko", "ky", "lb", "lt", "lv", "mk", "ml", "mn", "mr", "ms", "mt", "nb", "nl", "nn", "pl", "pt", "ro", "ru", "si", "sk", "sl", "sq", "sr", "sv", "sw", "ta", "te", "th", "tr", "uk", "ur", "uz", "vi", "zh"];
|
|
3
|
+
declare const countries: readonly ["AF", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BR", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CO", "KM", "CG", "CD", "CR", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FJ", "FI", "FR", "GA", "GM", "GE", "DE", "GH", "GR", "GD", "GT", "GN", "GW", "GY", "HT", "HN", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IL", "IT", "JM", "JP", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MR", "MU", "MX", "FM", "MD", "MC", "MN", "ME", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NZ", "NI", "NE", "NG", "NO", "OM", "PK", "PW", "PA", "PG", "PY", "PE", "PH", "PL", "PT", "QA", "RO", "RU", "RW", "KN", "LC", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "SS", "ES", "LK", "SD", "SR", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TO", "TT", "TN", "TR", "TM", "TV", "UG", "UA", "AE", "GB", "US", "UY", "UZ", "VU", "VA", "VE", "VN", "YE", "ZM", "ZW"];
|
|
4
|
+
type Language = (typeof languages)[number];
|
|
5
|
+
type Country = (typeof countries)[number];
|
|
6
|
+
type DateStyle = Intl.DateTimeFormatOptions["dateStyle"] | "none";
|
|
7
|
+
type TimeStyle = Intl.DateTimeFormatOptions["timeStyle"] | "none";
|
|
8
|
+
export type TimeProps = {
|
|
9
|
+
datetime?: string;
|
|
10
|
+
language?: Language;
|
|
11
|
+
country?: Country;
|
|
12
|
+
dateStyle?: DateStyle;
|
|
13
|
+
timeStyle?: TimeStyle;
|
|
14
|
+
};
|
|
15
|
+
export declare const Time: React.ForwardRefExoticComponent<TimeProps & React.RefAttributes<HTMLTimeElement>>;
|
|
16
|
+
export {};
|
package/lib/types/xml-node.d.ts
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import { idAttribute, componentAttribute } from "@webstudio-is/react-sdk";
|
|
1
2
|
import { type ReactNode } from "react";
|
|
2
3
|
export declare const defaultTag = "div";
|
|
3
4
|
type Props = {
|
|
4
5
|
tag: string;
|
|
6
|
+
xmlns?: string;
|
|
5
7
|
children: ReactNode;
|
|
8
|
+
[idAttribute]: string;
|
|
9
|
+
[componentAttribute]: string;
|
|
6
10
|
};
|
|
7
11
|
export declare const XmlNode: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
12
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/sdk-components-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.163.0",
|
|
4
4
|
"description": "Webstudio default library for react",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -16,20 +16,17 @@
|
|
|
16
16
|
".": {
|
|
17
17
|
"webstudio": "./src/components.ts",
|
|
18
18
|
"types": "./lib/types/components.d.ts",
|
|
19
|
-
"import": "./lib/components.js"
|
|
20
|
-
"require": "./lib/components.js"
|
|
19
|
+
"import": "./lib/components.js"
|
|
21
20
|
},
|
|
22
21
|
"./metas": {
|
|
23
22
|
"webstudio": "./src/metas.ts",
|
|
24
23
|
"types": "./lib/types/metas.d.ts",
|
|
25
|
-
"import": "./lib/metas.js"
|
|
26
|
-
"require": "./lib/metas.js"
|
|
24
|
+
"import": "./lib/metas.js"
|
|
27
25
|
},
|
|
28
26
|
"./props": {
|
|
29
27
|
"webstudio": "./src/props.ts",
|
|
30
28
|
"types": "./lib/types/props.d.ts",
|
|
31
|
-
"import": "./lib/props.js"
|
|
32
|
-
"require": "./lib/props.js"
|
|
29
|
+
"import": "./lib/props.js"
|
|
33
30
|
}
|
|
34
31
|
},
|
|
35
32
|
"peerDependencies": {
|
|
@@ -39,15 +36,15 @@
|
|
|
39
36
|
"dependencies": {
|
|
40
37
|
"@react-aria/utils": "^3.21.0",
|
|
41
38
|
"colord": "^2.9.3",
|
|
42
|
-
"@webstudio-is/icons": "0.
|
|
43
|
-
"@webstudio-is/image": "0.
|
|
44
|
-
"@webstudio-is/react-sdk": "0.
|
|
39
|
+
"@webstudio-is/icons": "0.163.0",
|
|
40
|
+
"@webstudio-is/image": "0.163.0",
|
|
41
|
+
"@webstudio-is/react-sdk": "0.163.0"
|
|
45
42
|
},
|
|
46
43
|
"devDependencies": {
|
|
47
44
|
"@jest/globals": "^29.7.0",
|
|
48
|
-
"@storybook/addon-essentials": "^
|
|
49
|
-
"@storybook/addon-links": "^
|
|
50
|
-
"@storybook/react": "^
|
|
45
|
+
"@storybook/addon-essentials": "^8.1.2",
|
|
46
|
+
"@storybook/addon-links": "^8.1.2",
|
|
47
|
+
"@storybook/react": "^8.1.2",
|
|
51
48
|
"@testing-library/jest-dom": "^6.4.2",
|
|
52
49
|
"@testing-library/react": "^14.2.2",
|
|
53
50
|
"@types/react": "^18.2.70",
|
|
@@ -57,9 +54,9 @@
|
|
|
57
54
|
"react-dom": "18.3.0-canary-14898b6a9-20240318",
|
|
58
55
|
"typescript": "5.4.5",
|
|
59
56
|
"@webstudio-is/generate-arg-types": "0.0.0",
|
|
57
|
+
"@webstudio-is/jest-config": "1.0.7",
|
|
60
58
|
"@webstudio-is/storybook-config": "0.0.0",
|
|
61
|
-
"@webstudio-is/tsconfig": "1.0.7"
|
|
62
|
-
"@webstudio-is/jest-config": "1.0.7"
|
|
59
|
+
"@webstudio-is/tsconfig": "1.0.7"
|
|
63
60
|
},
|
|
64
61
|
"scripts": {
|
|
65
62
|
"dev": "rm -rf lib && esbuild 'src/**/*.ts' 'src/**/*.tsx' --outdir=lib --watch",
|