@webstudio-is/sdk-components-react-radix 0.100.0 → 0.100.1-d89b38d.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.
Files changed (2) hide show
  1. package/lib/props.js +12 -5
  2. package/package.json +15 -15
package/lib/props.js CHANGED
@@ -8057,7 +8057,7 @@ var propsTabsTrigger = {
8057
8057
  options: ["on", "off"]
8058
8058
  },
8059
8059
  value: {
8060
- required: true,
8060
+ required: false,
8061
8061
  control: "text",
8062
8062
  type: "string",
8063
8063
  description: "Defines a default value which will be displayed in the element on pageload."
@@ -8569,7 +8569,7 @@ var propsTabsContent = {
8569
8569
  options: ["on", "off"]
8570
8570
  },
8571
8571
  value: {
8572
- required: true,
8572
+ required: false,
8573
8573
  control: "text",
8574
8574
  type: "string",
8575
8575
  description: "Defines a default value which will be displayed in the element on pageload."
@@ -9646,6 +9646,13 @@ var propsAccordion = {
9646
9646
  },
9647
9647
  autoSave: { required: false, control: "text", type: "string" },
9648
9648
  className: { required: false, control: "text", type: "string" },
9649
+ collapsible: {
9650
+ description: "Whether an accordion item can be collapsed after it has been opened.",
9651
+ required: false,
9652
+ control: "boolean",
9653
+ type: "boolean",
9654
+ defaultValue: false
9655
+ },
9649
9656
  color: {
9650
9657
  required: false,
9651
9658
  control: "color",
@@ -10330,10 +10337,10 @@ var propsAccordionItem = {
10330
10337
  options: ["on", "off"]
10331
10338
  },
10332
10339
  value: {
10333
- description: "A string value for the accordion item. All items within an accordion should use a unique value.",
10334
- required: true,
10340
+ required: false,
10335
10341
  control: "text",
10336
- type: "string"
10342
+ type: "string",
10343
+ description: "Defines a default value which will be displayed in the element on pageload."
10337
10344
  },
10338
10345
  vocab: { required: false, control: "text", type: "string" }
10339
10346
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webstudio-is/sdk-components-react-radix",
3
- "version": "0.100.0",
3
+ "version": "0.100.1-d89b38d.0",
4
4
  "description": "Webstudio wrapper for radix library",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -14,25 +14,25 @@
14
14
  ],
15
15
  "exports": {
16
16
  ".": {
17
- "source": "./src/components.ts",
17
+ "webstudio": "./src/components.ts",
18
18
  "types": "./lib/types/components.d.ts",
19
19
  "import": "./lib/components.js",
20
20
  "require": "./lib/components.js"
21
21
  },
22
22
  "./metas": {
23
- "source": "./src/metas.ts",
23
+ "webstudio": "./src/metas.ts",
24
24
  "types": "./lib/types/metas.d.ts",
25
25
  "import": "./lib/metas.js",
26
26
  "require": "./lib/metas.js"
27
27
  },
28
28
  "./props": {
29
- "source": "./src/props.ts",
29
+ "webstudio": "./src/props.ts",
30
30
  "types": "./lib/types/props.d.ts",
31
31
  "import": "./lib/props.js",
32
32
  "require": "./lib/props.js"
33
33
  },
34
34
  "./hooks": {
35
- "source": "./src/hooks.ts",
35
+ "webstudio": "./src/hooks.ts",
36
36
  "types": "./lib/types/hooks.d.ts",
37
37
  "import": "./lib/hooks.js",
38
38
  "require": "./lib/hooks.js"
@@ -55,9 +55,9 @@
55
55
  "@radix-ui/react-switch": "^1.0.3",
56
56
  "@radix-ui/react-tabs": "^1.0.4",
57
57
  "@radix-ui/react-tooltip": "^1.0.6",
58
- "@webstudio-is/css-engine": "0.100.0",
59
- "@webstudio-is/icons": "0.100.0",
60
- "@webstudio-is/react-sdk": "0.100.0"
58
+ "@webstudio-is/css-engine": "0.100.1-d89b38d.0",
59
+ "@webstudio-is/icons": "0.100.1-d89b38d.0",
60
+ "@webstudio-is/react-sdk": "0.100.1-d89b38d.0"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@storybook/react": "^7.4.0",
@@ -67,17 +67,17 @@
67
67
  "react-dom": "^18.2.0",
68
68
  "tailwindcss": "^3.3.3",
69
69
  "typescript": "^5.2.2",
70
- "@webstudio-is/css-data": "0.100.0",
71
- "@webstudio-is/generate-arg-types": "0.100.0",
72
- "@webstudio-is/sdk-cli": "^0.94.0",
73
- "@webstudio-is/sdk-components-react": "0.100.0",
74
- "@webstudio-is/storybook-config": "0.0.0",
75
- "@webstudio-is/tsconfig": "1.0.7"
70
+ "@webstudio-is/css-data": "0.100.1-d89b38d.0",
71
+ "@webstudio-is/generate-arg-types": "0.100.1-d89b38d.0",
72
+ "@webstudio-is/sdk-cli": "^0.94.1-d89b38d.0",
73
+ "@webstudio-is/sdk-components-react": "0.100.1-d89b38d.0",
74
+ "@webstudio-is/storybook-config": "0.0.1-d89b38d.0",
75
+ "@webstudio-is/tsconfig": "1.0.8-d89b38d.0"
76
76
  },
77
77
  "scripts": {
78
78
  "dev": "rm -rf lib && esbuild 'src/**/*.ts' 'src/**/*.tsx' --outdir=lib --watch",
79
79
  "build": "rm -rf lib && esbuild src/components.ts src/metas.ts src/props.ts src/hooks.ts --outdir=lib --bundle --format=esm --packages=external",
80
- "build:args": "NODE_OPTIONS=--conditions=source generate-arg-types './src/*.tsx !./src/*.stories.tsx !./src/*.ws.tsx' -e asChild -e modal -e defaultValue -e defaultOpen -e defaultChecked && prettier --write \"**/*.props.ts\"",
80
+ "build:args": "NODE_OPTIONS=--conditions=webstudio generate-arg-types './src/accordion.tsx !./src/*.stories.tsx !./src/*.ws.tsx' -e asChild -e modal -e defaultValue -e defaultOpen -e defaultChecked && prettier --write \"**/*.props.ts\"",
81
81
  "build:tailwind": "tsx scripts/generate-tailwind-theme.ts && prettier --write src/theme/__generated__",
82
82
  "build:stories": "webstudio-sdk generate-stories && prettier --write \"src/__generated__/*.stories.tsx\"",
83
83
  "dts": "tsc --project tsconfig.dts.json",