@wix/site-ui 1.0.0 → 1.2.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/dist/Accordion/index.css +2 -0
- package/dist/Accordion/index.d.ts +34 -0
- package/dist/Accordion/index.js +39 -0
- package/dist/AlertDialog/index.css +2 -0
- package/dist/AlertDialog/index.d.ts +47 -0
- package/dist/AlertDialog/index.js +55 -0
- package/dist/Autocomplete/index.css +2 -0
- package/dist/Autocomplete/index.d.ts +85 -0
- package/dist/Autocomplete/index.js +110 -0
- package/dist/Avatar/index.css +2 -0
- package/dist/Avatar/index.d.ts +21 -0
- package/dist/Avatar/index.js +26 -0
- package/dist/Button/index.css +2 -0
- package/dist/Button/index.d.ts +11 -0
- package/dist/Button/index.js +11 -0
- package/dist/Checkbox/index.css +2 -0
- package/dist/Checkbox/index.d.ts +17 -0
- package/dist/Checkbox/index.js +20 -0
- package/dist/CheckboxGroup/index.css +2 -0
- package/dist/CheckboxGroup/index.d.ts +11 -0
- package/dist/CheckboxGroup/index.js +11 -0
- package/dist/Collapsible/index.css +2 -0
- package/dist/Collapsible/index.d.ts +21 -0
- package/dist/Collapsible/index.js +26 -0
- package/dist/Combobox/index.css +2 -0
- package/dist/Combobox/index.d.ts +101 -0
- package/dist/Combobox/index.js +139 -0
- package/dist/ContextMenu/index.css +2 -0
- package/dist/ContextMenu/index.d.ts +76 -0
- package/dist/ContextMenu/index.js +102 -0
- package/dist/Dialog/index.css +2 -0
- package/dist/Dialog/index.d.ts +47 -0
- package/dist/Dialog/index.js +55 -0
- package/dist/Drawer/index.css +2 -0
- package/dist/Drawer/index.d.ts +60 -0
- package/dist/Drawer/index.js +83 -0
- package/dist/Field/index.css +2 -0
- package/dist/Field/index.d.ts +35 -0
- package/dist/Field/index.js +45 -0
- package/dist/Fieldset/index.css +2 -0
- package/dist/Fieldset/index.d.ts +17 -0
- package/dist/Fieldset/index.js +20 -0
- package/dist/Form/index.css +2 -0
- package/dist/Form/index.d.ts +13 -0
- package/dist/Form/index.js +11 -0
- package/dist/Input/index.css +2 -0
- package/dist/Input/index.d.ts +11 -0
- package/dist/Input/index.js +11 -0
- package/dist/Menu/index.css +2 -0
- package/dist/Menu/index.d.ts +85 -0
- package/dist/Menu/index.js +111 -0
- package/dist/Menubar/index.css +2 -0
- package/dist/Menubar/index.d.ts +11 -0
- package/dist/Menubar/index.js +11 -0
- package/dist/Meter/index.css +2 -0
- package/dist/Meter/index.d.ts +29 -0
- package/dist/Meter/index.js +38 -0
- package/dist/NavigationMenu/index.css +2 -0
- package/dist/NavigationMenu/index.d.ts +64 -0
- package/dist/NavigationMenu/index.js +82 -0
- package/dist/NumberField/index.css +2 -0
- package/dist/NumberField/index.d.ts +37 -0
- package/dist/NumberField/index.js +50 -0
- package/dist/Popover/index.css +2 -0
- package/dist/Popover/index.d.ts +54 -0
- package/dist/Popover/index.js +67 -0
- package/dist/PreviewCard/index.css +2 -0
- package/dist/PreviewCard/index.d.ts +42 -0
- package/dist/PreviewCard/index.js +49 -0
- package/dist/Progress/index.css +2 -0
- package/dist/Progress/index.d.ts +29 -0
- package/dist/Progress/index.js +38 -0
- package/dist/Radio/index.css +2 -0
- package/dist/Radio/index.d.ts +22 -0
- package/dist/Radio/index.js +21 -0
- package/dist/RadioGroup/index.css +2 -0
- package/dist/RadioGroup/index.d.ts +11 -0
- package/dist/RadioGroup/index.js +11 -0
- package/dist/ScrollArea/index.css +2 -0
- package/dist/ScrollArea/index.d.ts +33 -0
- package/dist/ScrollArea/index.js +44 -0
- package/dist/Select/index.css +2 -0
- package/dist/Select/index.d.ts +79 -0
- package/dist/Select/index.js +107 -0
- package/dist/Separator/index.css +2 -0
- package/dist/Separator/index.d.ts +11 -0
- package/dist/Separator/index.js +11 -0
- package/dist/Slider/index.css +2 -0
- package/dist/Slider/index.d.ts +42 -0
- package/dist/Slider/index.js +51 -0
- package/dist/Switch/index.css +2 -0
- package/dist/Switch/index.d.ts +17 -0
- package/dist/Switch/index.js +20 -0
- package/dist/Tabs/index.css +2 -0
- package/dist/Tabs/index.d.ts +29 -0
- package/dist/Tabs/index.js +38 -0
- package/dist/Toggle/index.css +2 -0
- package/dist/Toggle/index.d.ts +11 -0
- package/dist/Toggle/index.js +11 -0
- package/dist/ToggleGroup/index.css +2 -0
- package/dist/ToggleGroup/index.d.ts +11 -0
- package/dist/ToggleGroup/index.js +11 -0
- package/dist/Toolbar/index.css +2 -0
- package/dist/Toolbar/index.d.ts +33 -0
- package/dist/Toolbar/index.js +44 -0
- package/dist/Tooltip/index.css +2 -0
- package/dist/Tooltip/index.d.ts +40 -0
- package/dist/Tooltip/index.js +44 -0
- package/dist/index.d.ts +1059 -7
- package/dist/index.js +36 -26
- package/package.json +15 -10
- package/dist/index.css +0 -8
package/dist/index.js
CHANGED
|
@@ -1,26 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
|
|
26
|
-
};
|
|
1
|
+
export { Accordion } from "./Accordion/index.js";
|
|
2
|
+
export { AlertDialog } from "./AlertDialog/index.js";
|
|
3
|
+
export { Autocomplete } from "./Autocomplete/index.js";
|
|
4
|
+
export { Avatar } from "./Avatar/index.js";
|
|
5
|
+
export { Button } from "./Button/index.js";
|
|
6
|
+
export { Checkbox } from "./Checkbox/index.js";
|
|
7
|
+
export { CheckboxGroup } from "./CheckboxGroup/index.js";
|
|
8
|
+
export { Collapsible } from "./Collapsible/index.js";
|
|
9
|
+
export { Combobox } from "./Combobox/index.js";
|
|
10
|
+
export { ContextMenu } from "./ContextMenu/index.js";
|
|
11
|
+
export { Dialog } from "./Dialog/index.js";
|
|
12
|
+
export { Drawer } from "./Drawer/index.js";
|
|
13
|
+
export { Field } from "./Field/index.js";
|
|
14
|
+
export { Fieldset } from "./Fieldset/index.js";
|
|
15
|
+
export { Form } from "./Form/index.js";
|
|
16
|
+
export { Input } from "./Input/index.js";
|
|
17
|
+
export { Menu } from "./Menu/index.js";
|
|
18
|
+
export { Menubar } from "./Menubar/index.js";
|
|
19
|
+
export { Meter } from "./Meter/index.js";
|
|
20
|
+
export { NavigationMenu } from "./NavigationMenu/index.js";
|
|
21
|
+
export { NumberField } from "./NumberField/index.js";
|
|
22
|
+
export { Popover } from "./Popover/index.js";
|
|
23
|
+
export { PreviewCard } from "./PreviewCard/index.js";
|
|
24
|
+
export { Progress } from "./Progress/index.js";
|
|
25
|
+
export { Radio } from "./Radio/index.js";
|
|
26
|
+
export { RadioGroup } from "./RadioGroup/index.js";
|
|
27
|
+
export { ScrollArea } from "./ScrollArea/index.js";
|
|
28
|
+
export { Select } from "./Select/index.js";
|
|
29
|
+
export { Separator } from "./Separator/index.js";
|
|
30
|
+
export { Slider } from "./Slider/index.js";
|
|
31
|
+
export { Switch } from "./Switch/index.js";
|
|
32
|
+
export { Tabs } from "./Tabs/index.js";
|
|
33
|
+
export { Toggle } from "./Toggle/index.js";
|
|
34
|
+
export { ToggleGroup } from "./ToggleGroup/index.js";
|
|
35
|
+
export { Toolbar } from "./Toolbar/index.js";
|
|
36
|
+
export { Tooltip } from "./Tooltip/index.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/site-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Pure UI components for the Wix site builder",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -11,15 +11,21 @@
|
|
|
11
11
|
".": {
|
|
12
12
|
"types": "./dist/index.d.ts",
|
|
13
13
|
"import": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./*.css": "./dist/*/index.css",
|
|
16
|
+
"./*": {
|
|
17
|
+
"types": "./dist/*/index.d.ts",
|
|
18
|
+
"import": "./dist/*/index.js"
|
|
14
19
|
}
|
|
15
20
|
},
|
|
16
21
|
"scripts": {
|
|
17
|
-
"build": "
|
|
18
|
-
"test": "
|
|
22
|
+
"build": "rslib build",
|
|
23
|
+
"test": "rstest",
|
|
19
24
|
"tsc": "tsc -b ./tsconfig.json --force",
|
|
20
25
|
"clean": "rm -rf dist"
|
|
21
26
|
},
|
|
22
27
|
"dependencies": {
|
|
28
|
+
"@base-ui/react": "^1.5.0",
|
|
23
29
|
"clsx": "2.0.0"
|
|
24
30
|
},
|
|
25
31
|
"peerDependencies": {
|
|
@@ -27,19 +33,18 @@
|
|
|
27
33
|
"react-dom": "^18.2.0"
|
|
28
34
|
},
|
|
29
35
|
"devDependencies": {
|
|
36
|
+
"@rsbuild/plugin-react": "^2.0.0",
|
|
37
|
+
"@rslib/core": "^0.21.5",
|
|
38
|
+
"@rstest/adapter-rslib": "^0.10.0",
|
|
39
|
+
"@rstest/core": "^0.10.0",
|
|
30
40
|
"@testing-library/jest-dom": "^6.4.2",
|
|
31
41
|
"@testing-library/react": "^14.1.2",
|
|
32
42
|
"@types/react": "^18.2.42",
|
|
33
43
|
"@types/react-dom": "^18.2.17",
|
|
34
|
-
"@vitejs/plugin-react": "^4.3.4",
|
|
35
44
|
"jsdom": "^24.0.0",
|
|
36
45
|
"react": "^18.2.0",
|
|
37
46
|
"react-dom": "^18.2.0",
|
|
38
|
-
"typescript": "~5.0.4"
|
|
39
|
-
"vite": "^6.4.2",
|
|
40
|
-
"vite-plugin-dts": "^4.5.1",
|
|
41
|
-
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
42
|
-
"vitest": "^3.2.4"
|
|
47
|
+
"typescript": "~5.0.4"
|
|
43
48
|
},
|
|
44
49
|
"wix": {
|
|
45
50
|
"artifact": {
|
|
@@ -55,5 +60,5 @@
|
|
|
55
60
|
"registry": "https://registry.npmjs.org/",
|
|
56
61
|
"access": "public"
|
|
57
62
|
},
|
|
58
|
-
"falconPackageHash": "
|
|
63
|
+
"falconPackageHash": "7822be3db34e89458a2c03d10c73af0f5f31f46463a7adf3471d0687"
|
|
59
64
|
}
|