@alixpartners/ui-components 2.5.0 → 2.5.1

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.
@@ -3,7 +3,7 @@ import { u as G, d as O, P as _, c as P, b as H, f as K } from "./index-DM51yNMI
3
3
  import { P as $, D as j } from "./index-DrR82jOT.js";
4
4
  import { h as U, R as V, u as W, F as Z } from "./index-Chv2KjIL.js";
5
5
  import { u as q } from "./index-7CBv-Jx6.js";
6
- import { R as z, A as x, c as w, C as B, a as J } from "./index-C-3_YVJ1.js";
6
+ import { R as z, A as x, c as w, C as B, a as J } from "./index-D34Qo5Qx.js";
7
7
  import { P as E } from "./index-BymOxiM6.js";
8
8
  import { jsx as p } from "react/jsx-runtime";
9
9
  var m = "Popover", [b] = H(m, [
@@ -3,7 +3,7 @@ import { d as N, c as v, b as je, P as F, e as He, f as We, a as ze } from "./in
3
3
  import { u as Ze, c as pe, a as $e, I as qe, R as Je } from "./index-DEphED6n.js";
4
4
  import { P as Qe, D as et } from "./index-DrR82jOT.js";
5
5
  import { h as tt, u as nt, R as ot, F as rt } from "./index-Chv2KjIL.js";
6
- import { R as ct, A as at, c as ve, C as st, a as ut } from "./index-C-3_YVJ1.js";
6
+ import { R as ct, A as at, c as ve, C as st, a as ut } from "./index-D34Qo5Qx.js";
7
7
  import { P as H } from "./index-BymOxiM6.js";
8
8
  import { a as Me } from "./index-7CBv-Jx6.js";
9
9
  import { jsx as u } from "react/jsx-runtime";
package/dist/main.d.ts CHANGED
@@ -11,6 +11,7 @@ export { default as Ghost } from './components/Ghost/Ghost.tsx';
11
11
  export { default as Dropdown, type DropdownOption } from './components/Dropdown/Dropdown.tsx';
12
12
  export { default as FilePicker, useFilePickerContext, type FilePickerContextValue, } from './components/FilePicker/FilePicker.tsx';
13
13
  export { default as Search } from './components/Search/Search.tsx';
14
+ export { default as Datepicker } from './components/Datepicker/Datepicker';
14
15
  export { default as Toast } from './components/Toast/Toast.tsx';
15
16
  export { default as ToastProvider } from './components/ToastProvider/ToastProvider.tsx';
16
17
  export { useToast } from './components/ToastProvider/useToast.ts';
package/dist/main.js CHANGED
@@ -1,64 +1,66 @@
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 p } 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
- import { default as g } from "./components/Toggle/Toggle.js";
9
- import { default as b } from "./components/Banner/Banner.js";
10
- import { default as D } from "./components/Ghost/Ghost.js";
11
- import { default as k } from "./components/Dropdown/Dropdown.js";
8
+ import { default as c } from "./components/Toggle/Toggle.js";
9
+ import { default as D } from "./components/Banner/Banner.js";
10
+ import { default as k } from "./components/Ghost/Ghost.js";
11
+ import { default as h } from "./components/Dropdown/Dropdown.js";
12
12
  import { default as C, useFilePickerContext as F } from "./components/FilePicker/FilePicker.js";
13
13
  import { default as P } from "./components/Search/Search.js";
14
- import { default as G } from "./components/Toast/Toast.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 ro } from "./components/Tooltip/Tooltip.js";
28
- import { default as eo } from "./components/Spinner/Spinner.js";
29
- import { default as so } from "./components/Illustration/Illustration.js";
30
- import { a as po } from "./ap-logos-CwA4O8B7.js";
14
+ import { default as G } from "./components/Datepicker/Datepicker.js";
15
+ import { default as R } from "./components/Toast/Toast.js";
16
+ import { T as w } from "./ToastProvider-D5LImZ-Q.js";
17
+ import { u as L } from "./useToast-Cz5MGKnw.js";
18
+ import { default as q } from "./components/Creatable/Creatable.js";
19
+ import { default as z } from "./components/SplitButton/SplitButton.js";
20
+ import { default as H } from "./components/DragAndDrop/DragAndDrop.js";
21
+ import { c as K, d as M } from "./DragAndDrop.utils-D3xTV9EK.js";
22
+ import { default as Q } from "./components/Tab/Tab.js";
23
+ import { default as W } from "./components/TabNavigation/TabNavigation.js";
24
+ import { default as Y } from "./components/Dialog/Dialog.js";
25
+ import { default as _ } from "./components/TagsFields/TagsFields.js";
26
+ import { default as oo } from "./components/NavBar/NavBar.js";
27
+ import { default as eo } from "./components/Tag/Tag.js";
28
+ import { default as to } from "./components/Tooltip/Tooltip.js";
29
+ import { default as so } from "./components/Spinner/Spinner.js";
30
+ import { default as lo } from "./components/Illustration/Illustration.js";
31
+ import { a as xo } from "./ap-logos-CwA4O8B7.js";
31
32
  import './assets/main.css';export {
32
- b as Banner,
33
- r as Button,
34
- e as Checkbox,
35
- L as Creatable,
36
- W as Dialog,
37
- z as DragAndDrop,
38
- k as Dropdown,
33
+ D as Banner,
34
+ e as Button,
35
+ t as Checkbox,
36
+ q as Creatable,
37
+ G as Datepicker,
38
+ Y as Dialog,
39
+ H as DragAndDrop,
40
+ h as Dropdown,
39
41
  C as FilePicker,
40
- D as Ghost,
42
+ k as Ghost,
41
43
  s as Icon,
42
- so as Illustration,
43
- p as Input,
44
- _ as NavBar,
44
+ lo as Illustration,
45
+ l as Input,
46
+ oo as NavBar,
45
47
  u as Radio,
46
48
  m as RadioGroup,
47
49
  P as Search,
48
- eo as Spinner,
49
- q as SplitButton,
50
- M as Tab,
51
- Q as TabNavigation,
52
- oo as Tag,
53
- Y as TagsFields,
50
+ so as Spinner,
51
+ z as SplitButton,
52
+ Q as Tab,
53
+ W as TabNavigation,
54
+ eo as Tag,
55
+ _ as TagsFields,
54
56
  n as Textarea,
55
- G as Toast,
56
- R as ToastProvider,
57
- g as Toggle,
58
- ro as Tooltip,
59
- po as apLogos,
60
- H as composeValidators,
61
- J as defaultValidator,
57
+ R as Toast,
58
+ w as ToastProvider,
59
+ c as Toggle,
60
+ to as Tooltip,
61
+ xo as apLogos,
62
+ K as composeValidators,
63
+ M as defaultValidator,
62
64
  F as useFilePickerContext,
63
- w as useToast
65
+ L as useToast
64
66
  };
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,88 +1,88 @@
1
- {
2
- "name": "@alixpartners/ui-components",
3
- "version": "2.5.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": "npm run generate-illustrations && 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
- "generate-illustrations": "node ./src/assets/generateIllustrationsHelperFiles.js"
31
- },
32
- "dependencies": {
33
- "clsx": "^2.1.1"
34
- },
35
- "peerDependencies": {
36
- "react": "^18.3.1",
37
- "react-dom": "^18.3.1",
38
- "radix-ui": "^1.4.2",
39
- "notistack": "^3.0.1"
40
- },
41
- "devDependencies": {
42
- "@chromatic-com/storybook": "^4.0.1",
43
- "@eslint/js": "^9.25.0",
44
- "@storybook/addon-designs": "^10.0.2",
45
- "@storybook/addon-onboarding": "^9.0.18",
46
- "@storybook/react-vite": "^9.0.18",
47
- "@testing-library/react": "^16.3.0",
48
- "@types/node": "^22.15.21",
49
- "@types/react": "^19.1.2",
50
- "@types/react-dom": "^19.1.2",
51
- "@vitejs/plugin-react": "^4.4.1",
52
- "@vitest/browser": "^3.1.4",
53
- "@vitest/coverage-v8": "^3.1.4",
54
- "@vitest/ui": "^3.1.4",
55
- "babel-plugin-react-remove-properties": "^0.3.0",
56
- "eslint": "^9.25.0",
57
- "eslint-config-prettier": "^10.1.5",
58
- "eslint-plugin-react-hooks": "^5.2.0",
59
- "eslint-plugin-react-refresh": "^0.4.19",
60
- "eslint-plugin-storybook": "^9.0.18",
61
- "globals": "^16.0.0",
62
- "happy-dom": "^15.11.6",
63
- "jsdom": "^26.1.0",
64
- "notistack": "^3.0.1",
65
- "playwright": "^1.52.0",
66
- "postcss-scss": "^4.0.9",
67
- "prettier": "^3.5.3",
68
- "sass": "^1.89.0",
69
- "storybook": "^9.0.18",
70
- "stylelint": "^16.19.1",
71
- "stylelint-config-standard": "^38.0.0",
72
- "stylelint-scss": "^6.12.0",
73
- "typescript": "~5.8.3",
74
- "typescript-eslint": "^8.30.1",
75
- "vite": "^6.3.5",
76
- "vite-plugin-dts": "^4.5.4",
77
- "vite-plugin-lib-inject-css": "^2.2.2",
78
- "vitest": "^3.1.4",
79
- "@storybook/addon-vitest": "9.0.18",
80
- "@storybook/addon-docs": "^9.0.18",
81
- "glob": "^11.0.2"
82
- },
83
- "eslintConfig": {
84
- "extends": [
85
- "plugin:storybook/recommended"
86
- ]
87
- }
88
- }
1
+ {
2
+ "name": "@alixpartners/ui-components",
3
+ "version": "2.5.1",
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": "npm run generate-illustrations && 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
+ "generate-illustrations": "node ./src/assets/generateIllustrationsHelperFiles.js"
31
+ },
32
+ "dependencies": {
33
+ "clsx": "^2.1.1"
34
+ },
35
+ "peerDependencies": {
36
+ "react": "^18.3.1",
37
+ "react-dom": "^18.3.1",
38
+ "radix-ui": "^1.4.2",
39
+ "notistack": "^3.0.1"
40
+ },
41
+ "devDependencies": {
42
+ "@chromatic-com/storybook": "^4.0.1",
43
+ "@eslint/js": "^9.25.0",
44
+ "@storybook/addon-designs": "^10.0.2",
45
+ "@storybook/addon-onboarding": "^9.0.18",
46
+ "@storybook/react-vite": "^9.0.18",
47
+ "@testing-library/react": "^16.3.0",
48
+ "@types/node": "^22.15.21",
49
+ "@types/react": "^19.1.2",
50
+ "@types/react-dom": "^19.1.2",
51
+ "@vitejs/plugin-react": "^4.4.1",
52
+ "@vitest/browser": "^3.1.4",
53
+ "@vitest/coverage-v8": "^3.1.4",
54
+ "@vitest/ui": "^3.1.4",
55
+ "babel-plugin-react-remove-properties": "^0.3.0",
56
+ "eslint": "^9.25.0",
57
+ "eslint-config-prettier": "^10.1.5",
58
+ "eslint-plugin-react-hooks": "^5.2.0",
59
+ "eslint-plugin-react-refresh": "^0.4.19",
60
+ "eslint-plugin-storybook": "^9.0.18",
61
+ "globals": "^16.0.0",
62
+ "happy-dom": "^15.11.6",
63
+ "jsdom": "^26.1.0",
64
+ "notistack": "^3.0.1",
65
+ "playwright": "^1.52.0",
66
+ "postcss-scss": "^4.0.9",
67
+ "prettier": "^3.5.3",
68
+ "sass": "^1.89.0",
69
+ "storybook": "^9.0.18",
70
+ "stylelint": "^16.19.1",
71
+ "stylelint-config-standard": "^38.0.0",
72
+ "stylelint-scss": "^6.12.0",
73
+ "typescript": "~5.8.3",
74
+ "typescript-eslint": "^8.30.1",
75
+ "vite": "^6.3.5",
76
+ "vite-plugin-dts": "^4.5.4",
77
+ "vite-plugin-lib-inject-css": "^2.2.2",
78
+ "vitest": "^3.1.4",
79
+ "@storybook/addon-vitest": "9.0.18",
80
+ "@storybook/addon-docs": "^9.0.18",
81
+ "glob": "^11.0.2"
82
+ },
83
+ "eslintConfig": {
84
+ "extends": [
85
+ "plugin:storybook/recommended"
86
+ ]
87
+ }
88
+ }