@livechat/design-system-react-components 2.0.0-alpha.4 → 2.0.0-alpha.6
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/components/AppFrame/AppFrame.d.ts +3 -0
- package/dist/components/AppFrame/components/ExpirationCounter/ExpirationCounter.d.ts +21 -0
- package/dist/components/AppFrame/components/Navigation/Navigation.d.ts +3 -0
- package/dist/components/AppFrame/components/Navigation/types.d.ts +8 -0
- package/dist/components/AppFrame/components/NavigationGroup/NavigationGroup.d.ts +3 -0
- package/dist/components/AppFrame/components/NavigationGroup/types.d.ts +16 -0
- package/dist/components/AppFrame/components/NavigationItem/NavigationItem.d.ts +3 -0
- package/dist/components/AppFrame/components/NavigationItem/types.d.ts +40 -0
- package/dist/components/AppFrame/components/NavigationTopBar/NavigationTopBar.d.ts +45 -0
- package/dist/components/AppFrame/components/NavigationTopBar/examples.d.ts +15 -0
- package/dist/components/AppFrame/components/NavigationTopBar/types.d.ts +59 -0
- package/dist/components/AppFrame/components/SideNavigation/SideNavigation.d.ts +3 -0
- package/dist/components/AppFrame/components/SideNavigation/types.d.ts +28 -0
- package/dist/components/AppFrame/components/SideNavigationGroup/SideNavigationGroup.d.ts +3 -0
- package/dist/components/AppFrame/components/SideNavigationGroup/types.d.ts +32 -0
- package/dist/components/AppFrame/components/SideNavigationItem/SideNavigationItem.d.ts +3 -0
- package/dist/components/AppFrame/components/SideNavigationItem/constants.d.ts +3 -0
- package/dist/components/AppFrame/components/SideNavigationItem/types.d.ts +44 -0
- package/dist/components/AppFrame/components/index.d.ts +9 -0
- package/dist/components/AppFrame/hooks/useAppFrameAnimations.d.ts +12 -0
- package/dist/components/AppFrame/index.d.ts +2 -0
- package/dist/components/AppFrame/stories-helpers.d.ts +19 -0
- package/dist/components/AppFrame/types.d.ts +38 -0
- package/dist/components/Badge/Badge.d.ts +3 -0
- package/dist/components/DetailsCard/DetailsCard.d.ts +1 -1
- package/dist/components/Modal/components/ActionModalContent.d.ts +29 -0
- package/dist/components/Modal/components/ModalPortal.d.ts +5 -4
- package/dist/components/Modal/index.d.ts +1 -0
- package/dist/components/OnboardingChecklist/OnboardingChecklist.d.ts +3 -0
- package/dist/components/OnboardingChecklist/components/CheckListItem.d.ts +3 -0
- package/dist/components/OnboardingChecklist/components/index.d.ts +1 -0
- package/dist/components/OnboardingChecklist/index.d.ts +2 -0
- package/dist/components/OnboardingChecklist/types.d.ts +97 -0
- package/dist/components/Picker/components/PickerTriggerBody.d.ts +1 -0
- package/dist/components/Picker/hooks/useFloatingPicker.d.ts +2 -1
- package/dist/components/Picker/hooks/usePickerItems.d.ts +4 -2
- package/dist/components/Popover/types.d.ts +2 -1
- package/dist/components/ProductSwitcher/ProductSwitcher.d.ts +4 -0
- package/dist/components/ProductSwitcher/components/ProductRow/ProductRow.d.ts +10 -0
- package/dist/components/ProductSwitcher/components/ProductTile/ProductTile.d.ts +9 -0
- package/dist/components/ProductSwitcher/constants.d.ts +7 -0
- package/dist/components/ProductSwitcher/helpers.d.ts +10 -0
- package/dist/components/ProductSwitcher/hooks/useProductSwitcher.d.ts +14 -0
- package/dist/components/ProductSwitcher/index.d.ts +4 -0
- package/dist/components/ProductSwitcher/openwidgetLogoUri.d.ts +1 -0
- package/dist/components/ProductSwitcher/types.d.ts +44 -0
- package/dist/components/StatusBadge/StatusBadge.d.ts +13 -0
- package/dist/components/StatusBadge/index.d.ts +1 -0
- package/dist/components/Tooltip/types.d.ts +4 -0
- package/dist/components/Typography/Text.d.ts +2 -0
- package/dist/components/UpdateBadge/UpdateBadge.d.ts +2 -0
- package/dist/components/UpdateBadge/index.d.ts +1 -0
- package/dist/foundations/design-token.d.ts +7 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +4348 -2720
- package/dist/providers/AppFrameProvider.d.ts +11 -0
- package/dist/providers/ThemeProvider.d.ts +19 -0
- package/dist/providers/constants.d.ts +4 -0
- package/dist/providers/helpers.d.ts +4 -0
- package/dist/providers/index.d.ts +5 -0
- package/dist/providers/types.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/utils/plural.d.ts +1 -0
- package/package.json +7 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function plural(metric: number, singularForm: string, pluralForm: string, zeroForm?: string): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/design-system-react-components",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"type": "module",
|
|
17
17
|
"scripts": {
|
|
18
18
|
"dev": "run-p dev:*",
|
|
19
|
-
"dev:storybook": "storybook dev -p 6006 --
|
|
19
|
+
"dev:storybook": "storybook dev -p 6006 --exact-port",
|
|
20
20
|
"dev:lib": "vite build --mode development -w",
|
|
21
21
|
"prebuild": "rimraf dist && mkdir dist",
|
|
22
22
|
"build": "tsc && vite build",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"test:coverage": "vitest run --coverage"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"react": "
|
|
36
|
-
"react-dom": "
|
|
35
|
+
"react": ">= 18.3.0",
|
|
36
|
+
"react-dom": ">= 18.3.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@chromatic-com/storybook": "^1.5.0",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@types/react": "^18.3.0",
|
|
58
58
|
"@types/react-dom": "^18.3.0",
|
|
59
59
|
"@types/react-transition-group": "^4.4.4",
|
|
60
|
-
"@vitejs/plugin-react": "^4.
|
|
60
|
+
"@vitejs/plugin-react": "^4.3.1",
|
|
61
61
|
"@vitest/coverage-v8": "^1.6.0",
|
|
62
62
|
"chromatic": "^11.5.3",
|
|
63
63
|
"jsdom": "^24.1.0",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@floating-ui/react": "^0.26.4",
|
|
78
78
|
"@livechat/data-utils": "^0.2.16",
|
|
79
|
-
"@livechat/design-system-icons": "^2.0.0-alpha.
|
|
79
|
+
"@livechat/design-system-icons": "^2.0.0-alpha.5",
|
|
80
80
|
"clsx": "^1.1.1",
|
|
81
81
|
"date-fns": "^2.28.0",
|
|
82
82
|
"lodash.debounce": "^4.0.8",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"react-transition-group": "^4.4.2",
|
|
87
87
|
"react-virtuoso": "^4.7.11"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "8e616e6fbd30d7a94d64765139bef3accbd1e7a2"
|
|
90
90
|
}
|