@mindly/ui-components 8.14.2 → 9.0.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.
@@ -0,0 +1,18 @@
1
+ import { DateTime } from 'luxon';
2
+ import { Schedule } from '../types';
3
+ export declare const STORYBOOK_FIXED_NOW_ISO = "2026-03-15T12:00:00.000Z";
4
+ export declare const STORYBOOK_FIXED_NOW: DateTime;
5
+ export declare const STORYBOOK_FIXED_NOW_SECONDS: number;
6
+ export declare const STORYBOOK_FIXED_NOW_TIMESTAMP: number;
7
+ export declare const STORYBOOK_FIXED_NOW_DATE: Date;
8
+ export declare const STORYBOOK_FIXED_NOW_DATE_ISO: string;
9
+ export declare const STORYBOOK_SESSION_START_DATE: string;
10
+ export declare const STORYBOOK_NEW_SPECIALIST_ACTIVATED_AT: number;
11
+ export declare const STORYBOOK_REVIEW_DATE: number;
12
+ export declare const STORYBOOK_CLIENT_LAST_SEEN_AT = "2026-03-14T18:30:00.000Z";
13
+ export declare const STORYBOOK_SUBSCRIPTION_PERIOD_END: number;
14
+ export declare const STORYBOOK_SUBSCRIPTION_PREVIOUS_PERIOD_END: number;
15
+ export declare const STORYBOOK_SUBSCRIPTION_ENDS_SOON: number;
16
+ export declare const STORYBOOK_SUBSCRIPTION_PREVIOUS_OVERDUE: number;
17
+ export declare const STORYBOOK_SUBSCRIPTION_OVERDUE: number;
18
+ export declare const STORYBOOK_SPECIALIST_SCHEDULE: Schedule;
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "8.14.2",
3
+ "version": "9.0.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",
7
7
  "build": "rollup -c",
8
8
  "build:watch": "yarn build --watch",
9
+ "build-storybook": "storybook build",
9
10
  "test:ts": "tsc --noEmit --skipLibCheck",
10
11
  "coverage": "yarn test --env=jsdom --coverage --coverageDirectory=jest-coverage --passWithNoTests",
11
12
  "test:lint": "eslint \"./src/**/*{ts,tsx}\" --ignore-pattern \"*.d.ts\" --fix",
@@ -14,7 +15,10 @@
14
15
  "storybook": "storybook dev -p 6006",
15
16
  "prepare": "husky install",
16
17
  "version:timestamp": "node scripts/version-with-timestamp.js",
17
- "pack:local:update": "node scripts/pack-and-update-local.js"
18
+ "pack:local:update": "node scripts/pack-and-update-local.js",
19
+ "chromatic": "npx chromatic --project-token=$PROJECT_TOKEN --only-changed",
20
+ "chromatic:carelessly": "npx chromatic --project-token=$PROJECT_TOKEN",
21
+ "chromatic:force": "npx chromatic --project-token=$PROJECT_TOKEN --force-rebuild --only-changed"
18
22
  },
19
23
  "dependencies": {
20
24
  "@babel/polyfill": "7.12.1",
@@ -36,11 +40,9 @@
36
40
  "i18next": "^23.16.8",
37
41
  "luxon": "2.5.2",
38
42
  "markdown-to-jsx": "7.5.0",
39
- "react": "^19.2.3",
40
43
  "react-aria": "3.26.0",
41
44
  "react-countdown": "2.3.5",
42
45
  "react-day-picker": "8.8.2",
43
- "react-dom": "^19.2.3",
44
46
  "react-i18next": "^13.5.0",
45
47
  "react-intersection-observer": "9.5.3",
46
48
  "react-photo-view": "1.2.4",
@@ -57,6 +59,7 @@
57
59
  },
58
60
  "peerDependencies": {
59
61
  "@babel/polyfill": "7.12.1",
62
+ "@capacitor/core": "^7.4.0",
60
63
  "@capacitor-firebase/authentication": "7.2.0",
61
64
  "@capacitor/haptics": "7.0.1",
62
65
  "@capacitor/keyboard": "7.0.1",
@@ -66,8 +69,8 @@
66
69
  "@ionic/react-router": "^8.7.9",
67
70
  "i18next": "^23.16.8",
68
71
  "luxon": "2.5.2",
69
- "react": "19.2.0",
70
- "react-dom": "19.2.0",
72
+ "react": "19.2.3",
73
+ "react-dom": "19.2.3",
71
74
  "react-i18next": "^13.5.0",
72
75
  "styled-components": "^6.1.19"
73
76
  },
@@ -110,6 +113,7 @@
110
113
  "@babel/preset-env": "^7.28.0",
111
114
  "@babel/preset-react": "^7.28.5",
112
115
  "@babel/preset-typescript": "7.22.15",
116
+ "@capacitor/core": "^7.4.0",
113
117
  "@capacitor-firebase/authentication": "7.2.0",
114
118
  "@ionic/lab": "3.2.10",
115
119
  "@rollup/plugin-commonjs": "20.0.0",
@@ -134,6 +138,7 @@
134
138
  "@typescript-eslint/parser": "4.33.0",
135
139
  "autoprefixer": "10.4.15",
136
140
  "babel-cli": "6.26.0",
141
+ "chromatic": "^16.0.0",
137
142
  "cross-env": "7.0.3",
138
143
  "css-loader": "^7.1.2",
139
144
  "eslint": "7.32.0",