@7shifts/sous-chef 3.87.0-beta.1 → 3.87.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/actions/Button/Button.d.ts +12 -1
- package/dist/actions/PaginationControls/PaginationControls.d.ts +5 -0
- package/dist/core/SousChefProvider/context/ProviderConfigContext.d.ts +0 -1
- package/dist/feedback/InlineBanner/InlineBanner.d.ts +7 -0
- package/dist/feedback/MicroBanner/MicroBanner.d.ts +7 -1
- package/dist/forms/PhoneField/usePhoneField.d.ts +0 -1
- package/dist/forms/SelectField/useSelectField.d.ts +0 -1
- package/dist/forms/TextField/useTextField.d.ts +0 -1
- package/dist/forms/hooks/useDateFieldControllers.d.ts +0 -1
- package/dist/forms/hooks/useMultiSelectFieldControllers.d.ts +0 -1
- package/dist/forms/hooks/usePhoneFieldControllers.d.ts +0 -1
- package/dist/forms/hooks/useRangeFieldControllers.d.ts +0 -1
- package/dist/forms/hooks/useSelectFieldControllers.d.ts +0 -1
- package/dist/foundation/tokens/color/color-constants.d.ts +3 -0
- package/dist/foundation/tokens/color/color-types.d.ts +1 -1
- package/dist/foundation/types.d.ts +40 -10
- package/dist/hooks/usePositionStyles.d.ts +0 -1
- package/dist/i18n/TranslationsContext.d.ts +0 -1
- package/dist/index.css +67 -128
- package/dist/index.css.map +1 -1
- package/dist/index.js +10 -11
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +10 -11
- package/dist/index.modern.js.map +1 -1
- package/dist/lists/DataTable/DataTableContext.d.ts +0 -1
- package/dist/lists/hooks/useDataTableScrollState.d.ts +0 -1
- package/dist/overlay/KebabMenu/types.d.ts +0 -1
- package/dist/overlay/Tooltip/Tooltip.d.ts +3 -0
- package/dist/overlay/hooks/useListKeyboardNavigation/types.d.ts +0 -1
- package/dist/utils/elements.d.ts +0 -1
- package/dist/utils/types.d.ts +0 -1
- package/package.json +15 -18
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Placement, TooltipTheme } from './types';
|
|
3
3
|
type Props = {
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated use the default black theme instead (no need to specify it explicitly). The white theme will be removed in future releases.
|
|
6
|
+
*/
|
|
4
7
|
theme?: TooltipTheme;
|
|
5
8
|
/** It defines the overlay position on the screen. The component might not use the value defined in here as it will place the tooltip on the best place based on the anchor position on the screen. */
|
|
6
9
|
placement?: Placement;
|
package/dist/utils/elements.d.ts
CHANGED
package/dist/utils/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@7shifts/sous-chef",
|
|
3
|
-
"version": "3.87.0
|
|
3
|
+
"version": "3.87.0",
|
|
4
4
|
"description": "7shifts component library",
|
|
5
5
|
"author": "7shifts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"start": "yarn storybook",
|
|
33
33
|
"storybook": "storybook dev -p 6006 --loglevel info",
|
|
34
34
|
"storybook:chromatic": "storybook dev -p 6006",
|
|
35
|
-
"storybook:chromatic:build": "storybook build -o ./.storybook/dist --webpack-stats-json
|
|
36
|
-
"storybook:build": "storybook build -o ./.storybook/dist --loglevel info --webpack-stats-json
|
|
35
|
+
"storybook:chromatic:build": "storybook build -o ./.storybook/dist --webpack-stats-json",
|
|
36
|
+
"storybook:build": "storybook build -o ./.storybook/dist --loglevel info --webpack-stats-json",
|
|
37
37
|
"new:component": "node ./scripts/new-component.js"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
@@ -44,15 +44,11 @@
|
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@babel/core": "^7.24.4",
|
|
46
46
|
"@babel/preset-env": "^7.24.4",
|
|
47
|
-
"@storybook/addon-a11y": "
|
|
48
|
-
"@storybook/addon-
|
|
49
|
-
"@storybook/addon-
|
|
50
|
-
"@storybook/addon-
|
|
51
|
-
"@storybook/
|
|
52
|
-
"@storybook/blocks": "^7.5.3",
|
|
53
|
-
"@storybook/react": "^7.5.3",
|
|
54
|
-
"@storybook/react-vite": "^7.5.3",
|
|
55
|
-
"@storybook/testing-library": "^0.2.2",
|
|
47
|
+
"@storybook/addon-a11y": "10.1.10",
|
|
48
|
+
"@storybook/addon-docs": "10.1.10",
|
|
49
|
+
"@storybook/addon-links": "10.1.10",
|
|
50
|
+
"@storybook/addon-onboarding": "10.1.10",
|
|
51
|
+
"@storybook/react-vite": "10.1.10",
|
|
56
52
|
"@svgr/cli": "^8.0.1",
|
|
57
53
|
"@testing-library/jest-dom": "^5.12.0",
|
|
58
54
|
"@testing-library/react": "^11.2.7",
|
|
@@ -65,7 +61,7 @@
|
|
|
65
61
|
"@types/react-modal": "^3.12.1",
|
|
66
62
|
"@typescript-eslint/eslint-plugin": "^6.11.0",
|
|
67
63
|
"@typescript-eslint/parser": "^6.11.0",
|
|
68
|
-
"@vitejs/plugin-react": "^4.0
|
|
64
|
+
"@vitejs/plugin-react": "^4.7.0",
|
|
69
65
|
"babel-jest": "^29.7.0",
|
|
70
66
|
"chromatic": "^13.3.4",
|
|
71
67
|
"cross-env": "^7.0.3",
|
|
@@ -81,8 +77,9 @@
|
|
|
81
77
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
82
78
|
"eslint-plugin-react-refresh": "^0.4.4",
|
|
83
79
|
"eslint-plugin-standard": "^5.0.0",
|
|
84
|
-
"eslint-plugin-storybook": "
|
|
80
|
+
"eslint-plugin-storybook": "10.1.10",
|
|
85
81
|
"formik": "^2.2.6",
|
|
82
|
+
"identity-obj-proxy": "^3.0.0",
|
|
86
83
|
"jest": "^29.7.0",
|
|
87
84
|
"jest-environment-jsdom": "^29.7.0",
|
|
88
85
|
"jest-environment-jsdom-sixteen": "^2.0.0",
|
|
@@ -91,15 +88,15 @@
|
|
|
91
88
|
"prompt": "^1.3.0",
|
|
92
89
|
"react": "^18.2.0",
|
|
93
90
|
"react-dom": "^18.2.0",
|
|
94
|
-
"react-scripts": "^3.4.1",
|
|
95
91
|
"sass": "^1.48.0",
|
|
96
92
|
"source-map-explorer": "^2.5.3",
|
|
97
|
-
"storybook": "
|
|
93
|
+
"storybook": "10.1.10",
|
|
98
94
|
"ts-jest": "^29.1.2",
|
|
99
95
|
"typescript": "^5.3.2",
|
|
100
|
-
"vite": "^
|
|
96
|
+
"vite": "^6.4.1",
|
|
101
97
|
"vite-plugin-turbosnap": "^1.0.3",
|
|
102
|
-
"yup": "^0.32.9"
|
|
98
|
+
"yup": "^0.32.9",
|
|
99
|
+
"@types/node": "^22"
|
|
103
100
|
},
|
|
104
101
|
"files": [
|
|
105
102
|
"dist"
|