@alixpartners/ui-components 2.3.0 → 2.3.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/main.js CHANGED
@@ -1,61 +1,62 @@
1
- import { default as r } from "./components/Button/Button.js";
2
- import { default as e } from "./components/Checkbox/Checkbox.js";
1
+ import { default as e } from "./components/Button/Button.js";
2
+ import { default as t } from "./components/Checkbox/Checkbox.js";
3
3
  import { default as s } from "./components/Icon/Icon.js";
4
- import { default as d } from "./components/Input/Input.js";
4
+ import { default as l } from "./components/Input/Input.js";
5
5
  import { default as u } from "./components/Radio/Radio.js";
6
6
  import { default as m } from "./components/RadioGroup/RadioGroup.js";
7
7
  import { default as n } from "./components/Textarea/Textarea.js";
8
8
  import { default as g } from "./components/Toggle/Toggle.js";
9
9
  import { default as b } from "./components/Banner/Banner.js";
10
10
  import { default as D } from "./components/Ghost/Ghost.js";
11
- import { default as v } from "./components/Dropdown/Dropdown.js";
12
- import { default as k } from "./components/FilePicker/FilePicker.js";
13
- import { default as F } from "./components/Search/Search.js";
11
+ import { default as k } from "./components/Dropdown/Dropdown.js";
12
+ import { default as C, useFilePickerContext as F } from "./components/FilePicker/FilePicker.js";
13
+ import { default as S } from "./components/Search/Search.js";
14
14
  import { default as I } from "./components/Toast/Toast.js";
15
- import { T as P } from "./ToastProvider-D5LImZ-Q.js";
16
- import { u as V } from "./useToast-Cz5MGKnw.js";
17
- import { default as A } from "./components/Creatable/Creatable.js";
18
- import { default as j } from "./components/SplitButton/SplitButton.js";
19
- import { default as y } from "./components/DragAndDrop/DragAndDrop.js";
20
- import { c as E, d as H } from "./DragAndDrop.utils-D3xTV9EK.js";
21
- import { default as K } from "./components/Tab/Tab.js";
22
- import { default as O } from "./components/TabNavigation/TabNavigation.js";
23
- import { default as U } from "./components/Dialog/Dialog.js";
24
- import { default as X } from "./components/TagsFields/TagsFields.js";
25
- import { default as Z } from "./components/NavBar/NavBar.js";
26
- import { default as $ } from "./components/Tag/Tag.js";
27
- import { default as ao } from "./components/Tooltip/Tooltip.js";
15
+ import { T as R } from "./ToastProvider-D5LImZ-Q.js";
16
+ import { u as w } from "./useToast-Cz5MGKnw.js";
17
+ import { default as L } from "./components/Creatable/Creatable.js";
18
+ import { default as q } from "./components/SplitButton/SplitButton.js";
19
+ import { default as z } from "./components/DragAndDrop/DragAndDrop.js";
20
+ import { c as H, d as J } from "./DragAndDrop.utils-D3xTV9EK.js";
21
+ import { default as M } from "./components/Tab/Tab.js";
22
+ import { default as Q } from "./components/TabNavigation/TabNavigation.js";
23
+ import { default as W } from "./components/Dialog/Dialog.js";
24
+ import { default as Y } from "./components/TagsFields/TagsFields.js";
25
+ import { default as _ } from "./components/NavBar/NavBar.js";
26
+ import { default as oo } from "./components/Tag/Tag.js";
27
+ import { default as eo } from "./components/Tooltip/Tooltip.js";
28
28
  import { default as to } from "./components/Spinner/Spinner.js";
29
- import { a as fo } from "./ap-logos-Cl1TR5nm.js";
29
+ import { a as so } from "./ap-logos-Cl1TR5nm.js";
30
30
  import './assets/main.css';export {
31
31
  b as Banner,
32
- r as Button,
33
- e as Checkbox,
34
- A as Creatable,
35
- U as Dialog,
36
- y as DragAndDrop,
37
- v as Dropdown,
38
- k as FilePicker,
32
+ e as Button,
33
+ t as Checkbox,
34
+ L as Creatable,
35
+ W as Dialog,
36
+ z as DragAndDrop,
37
+ k as Dropdown,
38
+ C as FilePicker,
39
39
  D as Ghost,
40
40
  s as Icon,
41
- d as Input,
42
- Z as NavBar,
41
+ l as Input,
42
+ _ as NavBar,
43
43
  u as Radio,
44
44
  m as RadioGroup,
45
- F as Search,
45
+ S as Search,
46
46
  to as Spinner,
47
- j as SplitButton,
48
- K as Tab,
49
- O as TabNavigation,
50
- $ as Tag,
51
- X as TagsFields,
47
+ q as SplitButton,
48
+ M as Tab,
49
+ Q as TabNavigation,
50
+ oo as Tag,
51
+ Y as TagsFields,
52
52
  n as Textarea,
53
53
  I as Toast,
54
- P as ToastProvider,
54
+ R as ToastProvider,
55
55
  g as Toggle,
56
- ao as Tooltip,
57
- fo as apLogos,
58
- E as composeValidators,
59
- H as defaultValidator,
60
- V as useToast
56
+ eo as Tooltip,
57
+ so as apLogos,
58
+ H as composeValidators,
59
+ J as defaultValidator,
60
+ F as useFilePickerContext,
61
+ w as useToast
61
62
  };
package/dist/web.config CHANGED
@@ -1,9 +1,9 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <configuration>
3
- <system.webServer>
4
- <staticContent>
5
- <remove fileExtension=".json"/>
6
- <mimeMap fileExtension=".json" mimeType="application/json"/>
7
- </staticContent>
8
- </system.webServer>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <configuration>
3
+ <system.webServer>
4
+ <staticContent>
5
+ <remove fileExtension=".json"/>
6
+ <mimeMap fileExtension=".json" mimeType="application/json"/>
7
+ </staticContent>
8
+ </system.webServer>
9
9
  </configuration>
package/package.json CHANGED
@@ -1,87 +1,87 @@
1
- {
2
- "name": "@alixpartners/ui-components",
3
- "version": "2.3.0",
4
- "type": "module",
5
- "files": [
6
- "dist"
7
- ],
8
- "exports": "./dist/main.js",
9
- "module": "./dist/main.js",
10
- "types": "./dist/main.d.ts",
11
- "license": "SEE LICENSE IN LICENSE.md",
12
- "repository": "https://alixpartners-dev.visualstudio.com/_git/AP.UIComponents",
13
- "main": "./dist/umd/index.js",
14
- "scripts": {
15
- "build": "tsc -b && vite build",
16
- "lint": "eslint . --ext ts,tsx",
17
- "lint:fix": "eslint . --ext ts,tsx --fix",
18
- "format": "prettier --check .",
19
- "format:fix": "prettier --write .",
20
- "stylelint": "stylelint **/*.css",
21
- "stylelint:fix": "stylelint **/*.css --fix",
22
- "storybook": "storybook dev -p 6006",
23
- "build-storybook": "storybook build",
24
- "test": "vitest",
25
- "test:unit": "vitest --project unit",
26
- "test:storybook": "vitest --project storybook",
27
- "test:ui": "vitest --ui",
28
- "coverage": "vitest run --coverage",
29
- "generate-icons": "node ./src/assets/generateIconsHelperFiles.js"
30
- },
31
- "dependencies": {
32
- "clsx": "^2.1.1"
33
- },
34
- "peerDependencies": {
35
- "react": "^18.3.1",
36
- "react-dom": "^18.3.1",
37
- "radix-ui": "^1.4.2",
38
- "notistack": "^3.0.1"
39
- },
40
- "devDependencies": {
41
- "@chromatic-com/storybook": "^4.0.1",
42
- "@eslint/js": "^9.25.0",
43
- "@storybook/addon-designs": "^10.0.2",
44
- "@storybook/addon-onboarding": "^9.0.18",
45
- "@storybook/react-vite": "^9.0.18",
46
- "@testing-library/react": "^16.3.0",
47
- "@types/node": "^22.15.21",
48
- "@types/react": "^19.1.2",
49
- "@types/react-dom": "^19.1.2",
50
- "@vitejs/plugin-react": "^4.4.1",
51
- "@vitest/browser": "^3.1.4",
52
- "@vitest/coverage-v8": "^3.1.4",
53
- "@vitest/ui": "^3.1.4",
54
- "babel-plugin-react-remove-properties": "^0.3.0",
55
- "eslint": "^9.25.0",
56
- "eslint-config-prettier": "^10.1.5",
57
- "eslint-plugin-react-hooks": "^5.2.0",
58
- "eslint-plugin-react-refresh": "^0.4.19",
59
- "eslint-plugin-storybook": "^9.0.18",
60
- "globals": "^16.0.0",
61
- "happy-dom": "^15.11.6",
62
- "jsdom": "^26.1.0",
63
- "notistack": "^3.0.1",
64
- "playwright": "^1.52.0",
65
- "postcss-scss": "^4.0.9",
66
- "prettier": "^3.5.3",
67
- "sass": "^1.89.0",
68
- "storybook": "^9.0.18",
69
- "stylelint": "^16.19.1",
70
- "stylelint-config-standard": "^38.0.0",
71
- "stylelint-scss": "^6.12.0",
72
- "typescript": "~5.8.3",
73
- "typescript-eslint": "^8.30.1",
74
- "vite": "^6.3.5",
75
- "vite-plugin-dts": "^4.5.4",
76
- "vite-plugin-lib-inject-css": "^2.2.2",
77
- "vitest": "^3.1.4",
78
- "@storybook/addon-vitest": "9.0.18",
79
- "@storybook/addon-docs": "^9.0.18",
80
- "glob": "^11.0.2"
81
- },
82
- "eslintConfig": {
83
- "extends": [
84
- "plugin:storybook/recommended"
85
- ]
86
- }
87
- }
1
+ {
2
+ "name": "@alixpartners/ui-components",
3
+ "version": "2.3.2",
4
+ "type": "module",
5
+ "files": [
6
+ "dist"
7
+ ],
8
+ "exports": "./dist/main.js",
9
+ "module": "./dist/main.js",
10
+ "types": "./dist/main.d.ts",
11
+ "license": "SEE LICENSE IN LICENSE.md",
12
+ "repository": "https://alixpartners-dev.visualstudio.com/_git/AP.UIComponents",
13
+ "main": "./dist/umd/index.js",
14
+ "scripts": {
15
+ "build": "tsc -b && vite build",
16
+ "lint": "eslint . --ext ts,tsx",
17
+ "lint:fix": "eslint . --ext ts,tsx --fix",
18
+ "format": "prettier --check .",
19
+ "format:fix": "prettier --write .",
20
+ "stylelint": "stylelint **/*.css",
21
+ "stylelint:fix": "stylelint **/*.css --fix",
22
+ "storybook": "storybook dev -p 6006",
23
+ "build-storybook": "storybook build",
24
+ "test": "vitest",
25
+ "test:unit": "vitest --project unit",
26
+ "test:storybook": "vitest --project storybook",
27
+ "test:ui": "vitest --ui",
28
+ "coverage": "vitest run --coverage",
29
+ "generate-icons": "node ./src/assets/generateIconsHelperFiles.js"
30
+ },
31
+ "dependencies": {
32
+ "clsx": "^2.1.1"
33
+ },
34
+ "peerDependencies": {
35
+ "react": "^18.3.1",
36
+ "react-dom": "^18.3.1",
37
+ "radix-ui": "^1.4.2",
38
+ "notistack": "^3.0.1"
39
+ },
40
+ "devDependencies": {
41
+ "@chromatic-com/storybook": "^4.0.1",
42
+ "@eslint/js": "^9.25.0",
43
+ "@storybook/addon-designs": "^10.0.2",
44
+ "@storybook/addon-onboarding": "^9.0.18",
45
+ "@storybook/react-vite": "^9.0.18",
46
+ "@testing-library/react": "^16.3.0",
47
+ "@types/node": "^22.15.21",
48
+ "@types/react": "^19.1.2",
49
+ "@types/react-dom": "^19.1.2",
50
+ "@vitejs/plugin-react": "^4.4.1",
51
+ "@vitest/browser": "^3.1.4",
52
+ "@vitest/coverage-v8": "^3.1.4",
53
+ "@vitest/ui": "^3.1.4",
54
+ "babel-plugin-react-remove-properties": "^0.3.0",
55
+ "eslint": "^9.25.0",
56
+ "eslint-config-prettier": "^10.1.5",
57
+ "eslint-plugin-react-hooks": "^5.2.0",
58
+ "eslint-plugin-react-refresh": "^0.4.19",
59
+ "eslint-plugin-storybook": "^9.0.18",
60
+ "globals": "^16.0.0",
61
+ "happy-dom": "^15.11.6",
62
+ "jsdom": "^26.1.0",
63
+ "notistack": "^3.0.1",
64
+ "playwright": "^1.52.0",
65
+ "postcss-scss": "^4.0.9",
66
+ "prettier": "^3.5.3",
67
+ "sass": "^1.89.0",
68
+ "storybook": "^9.0.18",
69
+ "stylelint": "^16.19.1",
70
+ "stylelint-config-standard": "^38.0.0",
71
+ "stylelint-scss": "^6.12.0",
72
+ "typescript": "~5.8.3",
73
+ "typescript-eslint": "^8.30.1",
74
+ "vite": "^6.3.5",
75
+ "vite-plugin-dts": "^4.5.4",
76
+ "vite-plugin-lib-inject-css": "^2.2.2",
77
+ "vitest": "^3.1.4",
78
+ "@storybook/addon-vitest": "9.0.18",
79
+ "@storybook/addon-docs": "^9.0.18",
80
+ "glob": "^11.0.2"
81
+ },
82
+ "eslintConfig": {
83
+ "extends": [
84
+ "plugin:storybook/recommended"
85
+ ]
86
+ }
87
+ }