@proprioo/salatim 35.13.1 → 36.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.
@@ -1,9 +1,10 @@
1
- import { ReactElement } from 'react';
1
+ import { ReactElement, ReactNode } from 'react';
2
2
  export declare enum CardHeaderIconSize {
3
3
  MEDIUM = 32,
4
4
  SMALL = 18
5
5
  }
6
6
  export type CardProps = {
7
+ children?: ReactNode;
7
8
  label: string;
8
9
  after?: string | ReactElement;
9
10
  closeToggleAriaLabel?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="google.maps" />
2
1
  import { FC } from 'react';
3
2
  import { GenericInputProps } from '../../../utils';
4
3
  export type GmapsGeocodeProps = GenericInputProps & {
@@ -2,8 +2,8 @@ import { LoaderProps } from './Loader.interfaces';
2
2
  export declare const loaderAnimation: import("styled-components").FlattenSimpleInterpolation;
3
3
  export declare const LoaderContainer: import("styled-components").StyledComponent<"div", any, {
4
4
  backgroundColor: string;
5
- isWrapped?: boolean | undefined;
6
- loaderHeight?: string | undefined;
5
+ isWrapped?: boolean;
6
+ loaderHeight?: string;
7
7
  }, never>;
8
8
  export declare const LoaderRing: import("styled-components").StyledComponent<"div", any, {}, never>;
9
9
  export declare const LoaderRingContainer: import("styled-components").StyledComponent<"div", any, Pick<LoaderProps, "isWrapped">, never>;
@@ -0,0 +1,7 @@
1
+ type ParagraphSize = 'small' | 'medium' | 'large';
2
+ export interface ParagraphProps {
3
+ color?: string;
4
+ size?: ParagraphSize;
5
+ }
6
+ declare const Paragraph: import("styled-components").StyledComponent<"p", any, ParagraphProps, never>;
7
+ export default Paragraph;
@@ -3,7 +3,7 @@ import React, { ReactElement } from 'react';
3
3
  import { RenderOptions, RenderResult } from '@testing-library/react';
4
4
  declare const ChildrenPassthrough: ({ children }: {
5
5
  children: ReactElement;
6
- }) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
6
+ }) => React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
7
7
  type TestOptions = Omit<RenderOptions, 'wrapper'> & {
8
8
  wrapper?: typeof ChildrenPassthrough;
9
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proprioo/salatim",
3
- "version": "35.13.1",
3
+ "version": "36.0.0",
4
4
  "description": "Proprioo component library",
5
5
  "keywords": [
6
6
  "components",
@@ -25,13 +25,13 @@
25
25
  "clean": "rm -rf ./node_modules && yarn install",
26
26
  "coverage": "yarn test --coverage && jest-coverage-badges",
27
27
  "deploy": "yarn build && yarn publish --access=public --non-interactive",
28
- "dev": "NODE_OPTIONS=--openssl-legacy-provider yarn storybook",
29
- "generate-phone-metadata": "libphonenumber-metadata-generator ./packages/phone/src/metadata.custom.json --countries AD,AE,AR,AT,AU,BE,BF,BR,CA,CH,CI,CM,CN,CO,CZ,DE,DK,EE,ET,DZ,ES,FI,FR,GB,GF,GG,GI,GP,GR,GQ,HK,HR,IE,IL,IN,IS,IT,LB,LR,LT,LU,LV,KH,MA,MC,MG,MQ,MX,NC,NL,NO,NZ,PE,PF,PK,PL,PT,RE,RO,RS,RU,SE,SG,SI,SK,TH,TN,TR,UA,UG,US,VN,ZA",
28
+ "dev": "yarn storybook",
29
+ "generate-phone-metadata": "libphonenumber-metadata-generator ./packages/phone/src/metadata.custom.json --countries AD,AE,AR,AT,AU,BE,BF,BR,CA,CH,CI,CM,CN,CO,CZ,DE,DK,EE,ET,DZ,ES,FI,FR,GB,GF,GG,GI,GP,GR,GQ,HK,HR,IE,IL,IN,IS,IT,LB,LR,LT,LU,LV,KH,MA,MC,MG,MQ,MX,NC,NL,NO,NZ,OM,PE,PF,PK,PL,PT,RE,RO,RS,RU,SE,SG,SI,SK,TH,TN,TR,UA,UG,US,VN,ZA",
30
30
  "lint": "tslint -c tslint.json 'packages/**/*.{ts,tsx}'",
31
31
  "prepare": "husky",
32
32
  "start": "rollup -c rollup.config.ts -w",
33
- "storybook": "start-storybook -p 6006 -s ./packages/assets/",
34
- "storybook:build": "build-storybook -s ./packages/assets/",
33
+ "storybook": "storybook dev -p 6006",
34
+ "storybook:build": "storybook build",
35
35
  "test": "TZ=Europe/Paris vitest --watch=false",
36
36
  "test:watch": "TZ=Europe/Paris vitest --watch"
37
37
  },
@@ -39,59 +39,64 @@
39
39
  "@types/react": "^18.3.1"
40
40
  },
41
41
  "devDependencies": {
42
+ "@chromatic-com/storybook": "^3",
42
43
  "@commitlint/cli": "^19.3.0",
43
44
  "@commitlint/config-conventional": "^19.2.2",
44
45
  "@popperjs/core": "^2.11.8",
45
46
  "@proprioo/hokkaido": "13.4.0",
46
- "@rollup/plugin-commonjs": "^25.0.7",
47
+ "@rollup/plugin-commonjs": "^28.0.2",
47
48
  "@rollup/plugin-json": "^6.1.0",
48
- "@rollup/plugin-node-resolve": "^15.2.3",
49
+ "@rollup/plugin-node-resolve": "^16.0.0",
49
50
  "@rollup/plugin-url": "^8.0.2",
50
- "@sambego/storybook-state": "^2.0.1",
51
- "@storybook/addon-actions": "^6.5.16",
52
- "@storybook/addon-knobs": "^6.4.0",
53
- "@storybook/addon-links": "^6.5.16",
54
- "@storybook/react": "^6.5.16",
51
+ "@storybook/addon-actions": "^8.4.7",
52
+ "@storybook/addon-knobs": "^8.0.1",
53
+ "@storybook/addon-links": "^8.4.7",
54
+ "@storybook/addon-webpack5-compiler-babel": "^3.0.5",
55
+ "@storybook/react": "^8.4.7",
56
+ "@storybook/react-webpack5": "^8.4.7",
57
+ "@testing-library/dom": "^10.4.0",
55
58
  "@testing-library/jest-dom": "^6.4.2",
56
- "@testing-library/react": "^15.0.6",
59
+ "@testing-library/react": "^16.1.0",
57
60
  "@testing-library/user-event": "^14.5.2",
58
61
  "@types/googlemaps": "^3.43.3",
59
62
  "@types/jest-axe": "^3.5.9",
60
63
  "@types/mailcheck": "^1.1.37",
61
- "@types/react": "^18.3.1",
64
+ "@types/react": "^19.0.4",
62
65
  "@types/react-color": "^3.0.12",
63
66
  "@types/react-dates": "^21.8.6",
64
- "@types/react-dom": "^18.3.0",
67
+ "@types/react-dom": "^19.0.2",
65
68
  "@types/react-phone-number-input": "^3.1.37",
66
69
  "@types/react-places-autocomplete": "^7.2.14",
67
- "@types/react-test-renderer": "^18.3.0",
70
+ "@types/react-test-renderer": "^19.0.0",
68
71
  "@types/react-toggle": "^4.0.5",
69
72
  "@types/styled-components": "^5.1.34",
70
73
  "@vitejs/plugin-react": "^4.2.1",
71
- "@vitest/coverage-v8": "^1.5.3",
72
- "babel-loader": "^8.3.0",
74
+ "@vitest/coverage-v8": "^2.1.8",
75
+ "autoprefixer": "^10.4.20",
76
+ "babel-loader": "^9.2.1",
73
77
  "babel-preset-react-app": "^10.0.1",
74
- "date-fns": "^3.6.0",
78
+ "date-fns": "^4.1.0",
75
79
  "email-validator": "^2.0.4",
76
80
  "husky": "^9.0.11",
77
- "jest-axe": "^8.0.0",
81
+ "jest-axe": "^9.0.0",
78
82
  "jest-coverage-badges": "^1.1.2",
79
- "jsdom": "^24.0.0",
83
+ "jsdom": "^26.0.0",
80
84
  "libphonenumber-metadata-generator": "^1.0.1",
81
85
  "lint-staged": "^15.2.2",
82
- "madge": "^7.0.0",
86
+ "madge": "^8.0.0",
83
87
  "mailcheck": "^1.1.1",
84
88
  "mockdate": "^3.0.5",
85
89
  "polished": "^4.3.1",
86
- "postcss": "^8.4.38",
90
+ "postcss": "^8.4.49",
91
+ "postcss-flexbugs-fixes": "^5.0.2",
87
92
  "prettier": "^3.2.5",
88
- "react": "^18.3.1",
89
- "react-day-picker": "^8.10.1",
90
- "react-dom": "^18.3.1",
93
+ "react": "^19.0.0",
94
+ "react-day-picker": "^9.5.0",
95
+ "react-dom": "^19.0.0",
91
96
  "react-phone-number-input": "^3.4.1",
92
97
  "react-places-autocomplete": "^7.3.0",
93
98
  "react-popper-tooltip": "^4.4.2",
94
- "react-test-renderer": "^18.3.1",
99
+ "react-test-renderer": "^19.0.0",
95
100
  "react-toggle": "^4.1.3",
96
101
  "rollup": "^4.17.2",
97
102
  "rollup-plugin-bundle-size": "^1.0.3",
@@ -101,13 +106,14 @@
101
106
  "rollup-plugin-terser": "^7.0.2",
102
107
  "rollup-plugin-typescript2": "^0.36.0",
103
108
  "source-map-explorer": "^2.5.3",
109
+ "storybook": "^8.4.7",
104
110
  "styled-components": "^5.3.11",
105
111
  "tslint": "^6.1.3",
106
112
  "tslint-config-prettier": "^1.18.0",
107
113
  "tslint-react": "^5.0.0",
108
114
  "tslint-react-hooks": "^2.2.2",
109
115
  "typescript": "^5.4.5",
110
- "vitest": "^1.5.3",
116
+ "vitest": "^2.1.8",
111
117
  "yup": "^1.4.0"
112
118
  },
113
119
  "peerDependencies": {
@@ -118,6 +124,5 @@
118
124
  "react-dom": "^18.3.1",
119
125
  "styled-components": "^5.3.11",
120
126
  "yup": "^1.4.0"
121
- },
122
- "dependencies": {}
127
+ }
123
128
  }