@proprioo/salatim 37.0.0 → 37.0.3
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/README.md +8 -8
- package/lib/index.js +781 -781
- package/lib/index.js.map +1 -1
- package/lib/ui/src/burger/Burger.styles.d.ts +1 -1
- package/lib/ui/src/clickableTag/ClickableTag.styles.d.ts +3 -3
- package/lib/ui/src/tag/Tag.styles.d.ts +2 -2
- package/lib/utils/src/test-utils.d.ts +2 -2
- package/package.json +11 -10
- package/CHANGELOG.md +0 -2664
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { BurgerProps } from './Burger.interfaces';
|
|
2
2
|
export declare const BurgerLine: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
3
|
-
export declare const ButtonBurger: import("styled-components").StyledComponent<"button", any, Pick<BurgerProps, "
|
|
3
|
+
export declare const ButtonBurger: import("styled-components").StyledComponent<"button", any, Pick<BurgerProps, "isOpen" | "isSmall" | "color">, never>;
|
|
@@ -6,13 +6,13 @@ type TagBaseProps = {
|
|
|
6
6
|
};
|
|
7
7
|
export declare const TagBase: import("styled-components").FlattenSimpleInterpolation;
|
|
8
8
|
export declare const TAG_BUSINESS_BASE: import("styled-components").FlattenSimpleInterpolation;
|
|
9
|
-
export declare const BasicTag: import("styled-components").StyledComponent<"span", any, Pick<ClickableTagProps, "
|
|
9
|
+
export declare const BasicTag: import("styled-components").StyledComponent<"span", any, Pick<ClickableTagProps, "appearance" | "color"> & TagBaseProps, never>;
|
|
10
10
|
export declare const TagCloser: import("styled-components").StyledComponent<"button", any, Pick<ClickableTagProps, "appearance">, never>;
|
|
11
|
-
export declare const ClickableTag: import("styled-components").StyledComponent<"span", any, Pick<ClickableTagProps, "
|
|
11
|
+
export declare const ClickableTag: import("styled-components").StyledComponent<"span", any, Pick<ClickableTagProps, "appearance" | "color"> & TagBaseProps & {
|
|
12
12
|
role: "button";
|
|
13
13
|
tabIndex: 0;
|
|
14
14
|
} & {
|
|
15
15
|
onClick?(): void;
|
|
16
|
-
}, "
|
|
16
|
+
}, "tabIndex" | "role">;
|
|
17
17
|
export declare const IconWrapper: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
18
18
|
export {};
|
|
@@ -5,10 +5,10 @@ type TagBaseProps = {
|
|
|
5
5
|
};
|
|
6
6
|
export declare const TagBase: import("styled-components").FlattenSimpleInterpolation;
|
|
7
7
|
export declare const TAG_BUSINESS_BASE: import("styled-components").FlattenSimpleInterpolation;
|
|
8
|
-
export declare const BasicTag: import("styled-components").StyledComponent<"span", any, Pick<TagProps, "
|
|
8
|
+
export declare const BasicTag: import("styled-components").StyledComponent<"span", any, Pick<TagProps, "appearance" | "color"> & TagBaseProps, never>;
|
|
9
9
|
export declare const TagCloser: import("styled-components").StyledComponent<"button", any, Pick<TagProps, "appearance">, never>;
|
|
10
10
|
export declare const TagElement: import("styled-components").StyledComponent<"li", any, {}, never>;
|
|
11
|
-
export declare const List: import("styled-components").StyledComponent<"ul", any, Pick<TagProps, "
|
|
11
|
+
export declare const List: import("styled-components").StyledComponent<"ul", any, Pick<TagProps, "appearance" | "color">, never>;
|
|
12
12
|
export declare const TagList: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
13
|
export declare const IconWrapper: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
14
14
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { RunOptions } from 'jest-axe/node_modules/axe-core';
|
|
2
|
-
import
|
|
2
|
+
import { JSX, ReactElement } from 'react';
|
|
3
3
|
import { RenderOptions, RenderResult } from '@testing-library/react';
|
|
4
4
|
declare const ChildrenPassthrough: ({ children }: {
|
|
5
5
|
children: ReactElement;
|
|
6
|
-
}) =>
|
|
6
|
+
}) => ReactElement<unknown, string | import("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": "37.0.
|
|
3
|
+
"version": "37.0.3",
|
|
4
4
|
"description": "Proprioo component library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"components",
|
|
@@ -19,15 +19,17 @@
|
|
|
19
19
|
},
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"scripts": {
|
|
22
|
-
"analyze": "
|
|
22
|
+
"analyze": "npm run build && mkdir -p explorer && source-map-explorer \"lib/*.js\" --html explorer/index.html",
|
|
23
23
|
"build": "rm -rf lib && rollup -c rollup.config.ts --bundleConfigAsCjs",
|
|
24
24
|
"circular-deps": "madge --circular --extensions \"ts, tsx\" ./packages",
|
|
25
|
-
"clean": "rm -rf ./node_modules &&
|
|
26
|
-
"coverage": "
|
|
27
|
-
"deploy": "
|
|
28
|
-
"dev": "
|
|
25
|
+
"clean": "rm -rf ./node_modules && npm install --legacy-peer-deps",
|
|
26
|
+
"coverage": "npm run test --coverage && jest-coverage-badges",
|
|
27
|
+
"deploy": "npm run build && npm publish --access=public --non-interactive",
|
|
28
|
+
"dev": "npm run storybook",
|
|
29
29
|
"generate-phone-metadata": "libphonenumber-metadata-generator ./packages/phone/src/metadata.custom.json --countries AD,AE,AR,AT,AU,BE,BF,BG,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,HU,ID,IE,IL,IN,IS,IT,LB,LR,LT,LU,LV,KH,MA,MC,MG,MQ,MT,MX,NC,NL,NO,NZ,OM,PE,PF,PK,PL,PT,RE,RO,RS,RU,SE,SG,SI,SK,TH,TG,TN,TR,UA,UG,US,VN,ZA",
|
|
30
30
|
"lint": "tslint -c tslint.json 'packages/**/*.{ts,tsx}'",
|
|
31
|
+
"lint-staged": "lint-staged",
|
|
32
|
+
"commitlint": "commitlint",
|
|
31
33
|
"prepare": "husky",
|
|
32
34
|
"start": "rollup -c rollup.config.ts -w",
|
|
33
35
|
"storybook": "storybook dev -p 6006",
|
|
@@ -82,7 +84,7 @@
|
|
|
82
84
|
"jest-coverage-badges": "^1.1.2",
|
|
83
85
|
"jsdom": "^26.0.0",
|
|
84
86
|
"libphonenumber-metadata-generator": "^1.1.0",
|
|
85
|
-
"lint-staged": "^15.
|
|
87
|
+
"lint-staged": "^15.5.2",
|
|
86
88
|
"madge": "^8.0.0",
|
|
87
89
|
"mailcheck": "^1.1.1",
|
|
88
90
|
"mockdate": "^3.0.5",
|
|
@@ -117,13 +119,12 @@
|
|
|
117
119
|
"yup": "^1.4.0"
|
|
118
120
|
},
|
|
119
121
|
"peerDependencies": {
|
|
120
|
-
"@proprioo/hokkaido": "^
|
|
122
|
+
"@proprioo/hokkaido": "^14.0.0",
|
|
121
123
|
"date-fns": "^3.6.0",
|
|
122
124
|
"polished": "^4.3.1",
|
|
123
125
|
"react": "^18.3.1",
|
|
124
126
|
"react-dom": "^18.3.1",
|
|
125
127
|
"styled-components": "^5.3.11",
|
|
126
128
|
"yup": "^1.4.0"
|
|
127
|
-
}
|
|
128
|
-
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
129
|
+
}
|
|
129
130
|
}
|