@livechat/design-system-react-components 2.0.0-alpha.3 → 2.0.0-alpha.5

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.
Files changed (67) hide show
  1. package/dist/components/ActionBar/types.d.ts +1 -2
  2. package/dist/components/AppFrame/AppFrame.d.ts +3 -0
  3. package/dist/components/AppFrame/components/ExpirationCounter/ExpirationCounter.d.ts +21 -0
  4. package/dist/components/AppFrame/components/Navigation/Navigation.d.ts +3 -0
  5. package/dist/components/AppFrame/components/Navigation/types.d.ts +8 -0
  6. package/dist/components/AppFrame/components/NavigationGroup/NavigationGroup.d.ts +3 -0
  7. package/dist/components/AppFrame/components/NavigationGroup/types.d.ts +16 -0
  8. package/dist/components/AppFrame/components/NavigationItem/NavigationItem.d.ts +3 -0
  9. package/dist/components/AppFrame/components/NavigationItem/types.d.ts +40 -0
  10. package/dist/components/AppFrame/components/NavigationTopBar/NavigationTopBar.d.ts +45 -0
  11. package/dist/components/AppFrame/components/NavigationTopBar/examples.d.ts +15 -0
  12. package/dist/components/AppFrame/components/NavigationTopBar/types.d.ts +59 -0
  13. package/dist/components/AppFrame/components/SideNavigation/SideNavigation.d.ts +3 -0
  14. package/dist/components/AppFrame/components/SideNavigation/types.d.ts +28 -0
  15. package/dist/components/AppFrame/components/SideNavigationGroup/SideNavigationGroup.d.ts +3 -0
  16. package/dist/components/AppFrame/components/SideNavigationGroup/types.d.ts +32 -0
  17. package/dist/components/AppFrame/components/SideNavigationItem/SideNavigationItem.d.ts +3 -0
  18. package/dist/components/AppFrame/components/SideNavigationItem/constants.d.ts +3 -0
  19. package/dist/components/AppFrame/components/SideNavigationItem/types.d.ts +44 -0
  20. package/dist/components/AppFrame/components/index.d.ts +9 -0
  21. package/dist/components/AppFrame/hooks/useAppFrameAnimations.d.ts +12 -0
  22. package/dist/components/AppFrame/index.d.ts +2 -0
  23. package/dist/components/AppFrame/stories-helpers.d.ts +19 -0
  24. package/dist/components/AppFrame/types.d.ts +38 -0
  25. package/dist/components/Badge/Badge.d.ts +3 -0
  26. package/dist/components/Button/Button.d.ts +1 -1
  27. package/dist/components/DetailsCard/DetailsCard.d.ts +1 -1
  28. package/dist/components/Modal/components/ActionModalContent.d.ts +29 -0
  29. package/dist/components/Modal/components/ModalPortal.d.ts +5 -4
  30. package/dist/components/Modal/index.d.ts +1 -0
  31. package/dist/components/OnboardingChecklist/OnboardingChecklist.d.ts +3 -0
  32. package/dist/components/OnboardingChecklist/components/CheckListItem.d.ts +3 -0
  33. package/dist/components/OnboardingChecklist/components/index.d.ts +1 -0
  34. package/dist/components/OnboardingChecklist/index.d.ts +2 -0
  35. package/dist/components/OnboardingChecklist/types.d.ts +97 -0
  36. package/dist/components/Picker/components/PickerTriggerBody.d.ts +1 -0
  37. package/dist/components/Picker/hooks/useFloatingPicker.d.ts +2 -1
  38. package/dist/components/Picker/hooks/usePickerItems.d.ts +4 -2
  39. package/dist/components/Popover/types.d.ts +2 -1
  40. package/dist/components/ProductSwitcher/ProductSwitcher.d.ts +4 -0
  41. package/dist/components/ProductSwitcher/components/ProductRow/ProductRow.d.ts +10 -0
  42. package/dist/components/ProductSwitcher/components/ProductTile/ProductTile.d.ts +9 -0
  43. package/dist/components/ProductSwitcher/constants.d.ts +7 -0
  44. package/dist/components/ProductSwitcher/helpers.d.ts +10 -0
  45. package/dist/components/ProductSwitcher/hooks/useProductSwitcher.d.ts +14 -0
  46. package/dist/components/ProductSwitcher/index.d.ts +4 -0
  47. package/dist/components/ProductSwitcher/openwidgetLogoUri.d.ts +1 -0
  48. package/dist/components/ProductSwitcher/types.d.ts +44 -0
  49. package/dist/components/StatusBadge/StatusBadge.d.ts +13 -0
  50. package/dist/components/StatusBadge/index.d.ts +1 -0
  51. package/dist/components/Tooltip/types.d.ts +4 -0
  52. package/dist/components/Typography/Text.d.ts +2 -0
  53. package/dist/components/UpdateBadge/UpdateBadge.d.ts +2 -0
  54. package/dist/components/UpdateBadge/index.d.ts +1 -0
  55. package/dist/foundations/design-token.d.ts +7 -0
  56. package/dist/index.cjs +1 -1
  57. package/dist/index.d.ts +6 -1
  58. package/dist/index.js +4336 -2717
  59. package/dist/providers/AppFrameProvider.d.ts +11 -0
  60. package/dist/providers/ThemeProvider.d.ts +19 -0
  61. package/dist/providers/constants.d.ts +4 -0
  62. package/dist/providers/helpers.d.ts +4 -0
  63. package/dist/providers/index.d.ts +5 -0
  64. package/dist/providers/types.d.ts +1 -0
  65. package/dist/style.css +1 -1
  66. package/dist/utils/plural.d.ts +1 -0
  67. package/package.json +5 -5
@@ -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",
3
+ "version": "2.0.0-alpha.5",
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 --quiet",
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",
@@ -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.2.1",
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.3",
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": "05b4f754801d914abe62e2c0255db06ff4d6bc49"
89
+ "gitHead": "ac87fb2c0838949a09533479449099464ff42057"
90
90
  }