linear-react-components-ui 1.1.2-beta.2 → 1.1.2-beta.21
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/.eslintcache +1 -0
- package/.gitlab-ci.yml +1 -0
- package/.vscode/settings.json +10 -1
- package/lib/@types/SizePixels.d.ts +1 -1
- package/lib/assets/styles/checkbox.scss +45 -38
- package/lib/assets/styles/colors.scss +3 -1
- package/lib/assets/styles/commons.scss +1 -0
- package/lib/assets/styles/dialog.scss +27 -10
- package/lib/assets/styles/error.scss +9 -0
- package/lib/assets/styles/fieldset.scss +3 -0
- package/lib/assets/styles/gridlayout.scss +9 -2
- package/lib/assets/styles/hint.scss +4 -0
- package/lib/assets/styles/input.scss +2 -7
- package/lib/assets/styles/multiSelect.scss +6 -1
- package/lib/assets/styles/radio.scss +37 -35
- package/lib/assets/styles/select.scss +13 -7
- package/lib/assets/styles/tabs.scss +3 -0
- package/lib/checkbox/Label.js +13 -4
- package/lib/checkbox/index.d.ts +2 -2
- package/lib/checkbox/index.js +21 -16
- package/lib/checkbox/types.d.ts +1 -0
- package/lib/dialog/base/Content.js +1 -0
- package/lib/dialog/base/Header.js +4 -4
- package/lib/dialog/base/index.js +6 -4
- package/lib/drawer/Drawer.js +5 -4
- package/lib/dropdown/Popup.d.ts +1 -1
- package/lib/dropdown/Popup.js +5 -2
- package/lib/dropdown/types.d.ts +1 -0
- package/lib/fieldset/index.js +4 -2
- package/lib/fieldset/types.d.ts +2 -0
- package/lib/gridlayout/GridRow.js +10 -2
- package/lib/gridlayout/types.d.ts +1 -0
- package/lib/hint/helpers.d.ts +3 -0
- package/lib/hint/helpers.js +21 -0
- package/lib/hint/index.d.ts +1 -1
- package/lib/hint/index.js +5 -15
- package/lib/hint/types.d.ts +1 -0
- package/lib/inputs/base/InputTextBase.js +8 -2
- package/lib/inputs/base/helpers.d.ts +1 -2
- package/lib/inputs/base/helpers.js +1 -8
- package/lib/inputs/base/types.d.ts +1 -0
- package/lib/inputs/date/index.js +2 -0
- package/lib/inputs/date/types.d.ts +1 -0
- package/lib/inputs/errorMessage/index.d.ts +16 -0
- package/lib/inputs/errorMessage/index.js +26 -0
- package/lib/inputs/file/DefaultFile.js +4 -2
- package/lib/inputs/file/DragDropFile.js +4 -2
- package/lib/inputs/inputHOC.d.ts +1 -0
- package/lib/inputs/mask/BaseMask.d.ts +1 -0
- package/lib/inputs/mask/Cnpj.d.ts +1 -0
- package/lib/inputs/mask/Cpf.d.ts +1 -0
- package/lib/inputs/mask/Phone.d.ts +1 -0
- package/lib/inputs/mask/ZipCode.d.ts +1 -0
- package/lib/inputs/mask/imaskHOC.d.ts +1 -0
- package/lib/inputs/mask/index.d.ts +1 -0
- package/lib/inputs/mask/types.d.ts +3 -1
- package/lib/inputs/multiSelect/ActionButtons.js +10 -8
- package/lib/inputs/multiSelect/Dropdown.js +2 -6
- package/lib/inputs/number/BaseNumber.d.ts +1 -0
- package/lib/inputs/number/Currency.d.ts +1 -0
- package/lib/inputs/number/Decimal.d.ts +1 -0
- package/lib/inputs/number/index.d.ts +1 -0
- package/lib/inputs/number/types.d.ts +1 -0
- package/lib/inputs/period/index.js +4 -1
- package/lib/inputs/search/index.d.ts +1 -0
- package/lib/inputs/select/ActionButtons.d.ts +1 -0
- package/lib/inputs/select/ActionButtons.js +18 -27
- package/lib/inputs/select/Dropdown.d.ts +1 -0
- package/lib/inputs/select/Dropdown.js +2 -6
- package/lib/inputs/select/helper.d.ts +1 -0
- package/lib/inputs/select/multiple/Selecteds.d.ts +1 -1
- package/lib/inputs/select/multiple/Selecteds.js +3 -5
- package/lib/inputs/select/multiple/index.js +38 -19
- package/lib/inputs/select/simple/index.js +60 -31
- package/lib/inputs/select/types.d.ts +3 -2
- package/lib/inputs/types.d.ts +11 -5
- package/lib/menus/sidenav/popup_menu_search/index.js +4 -3
- package/lib/table/HeaderColumn.d.ts +1 -1
- package/lib/table/HeaderColumn.js +5 -1
- package/lib/table/types.d.ts +2 -0
- package/lib/tabs/context.js +1 -1
- package/lib/tabs/types.d.ts +3 -3
- package/package.json +4 -4
- package/.tool-versions +0 -1
package/lib/tabs/types.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ interface TabsProviderProps {
|
|
|
23
23
|
container: RefObject<HTMLDivElement>;
|
|
24
24
|
tabsWidth: number | string;
|
|
25
25
|
selectedTab?: string | number | null;
|
|
26
|
-
onTabChange?: (tabId: string) => void;
|
|
26
|
+
onTabChange?: (tabId: string | number) => void;
|
|
27
27
|
onTabClose?: (tabId: string) => void;
|
|
28
28
|
firstTabIdent?: boolean;
|
|
29
29
|
}
|
|
@@ -32,12 +32,12 @@ interface ITabsPros {
|
|
|
32
32
|
toolbar?: ReactElement;
|
|
33
33
|
toolBarRef?: (value: HTMLDivElement | null) => void;
|
|
34
34
|
children?: ReactNode;
|
|
35
|
-
selectedTab?: string;
|
|
35
|
+
selectedTab?: string | number;
|
|
36
36
|
tabMenuSize?: Size;
|
|
37
37
|
tabMenuAlign?: Position;
|
|
38
38
|
firstTabIdent?: boolean;
|
|
39
39
|
tabMenuPosition?: Exclude<Position, 'center'>;
|
|
40
|
-
handlerTabClick?: (id?: string) => void;
|
|
40
|
+
handlerTabClick?: (id?: string | number) => void;
|
|
41
41
|
handlerCloseTab?: (id?: string, idx?: string) => void;
|
|
42
42
|
customClassForToolBar?: string;
|
|
43
43
|
tabsWidth?: string | number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "linear-react-components-ui",
|
|
3
|
-
"version": "1.1.2-beta.
|
|
3
|
+
"version": "1.1.2-beta.21",
|
|
4
4
|
"description": "Linear Sistemas ReactJs Components",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/index.cjs",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"lib:types": "NODE_OPTIONS='--max-old-space-size=16384' tsup --dts-only --dts --external react",
|
|
10
10
|
"demo": "node scripts/start.js",
|
|
11
11
|
"demo:prod": "webpack --config ./config/webpack.config.js --mode production",
|
|
12
|
-
"check:js": "eslint ./src/** --ext=.jsx,.js,.tsx,.ts",
|
|
12
|
+
"check:js": "eslint ./src/** --ext=.jsx,.js,.tsx,.ts --cache",
|
|
13
13
|
"deploy:heroku": "npm run demo:prod && cd demo && git commit -am 'Deploy' && git push heroku master",
|
|
14
14
|
"deploy:vercel": "npm run demo:prod && vercel --prod demo",
|
|
15
15
|
"publish:npm": "npm run lib && npm publish",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@types/react-dom": "18.0.5",
|
|
45
45
|
"attach-dom-events": "1.0.0",
|
|
46
|
-
"browserslist": "4.
|
|
46
|
+
"browserslist": "4.23.0",
|
|
47
47
|
"history": "5.0.0",
|
|
48
48
|
"imask": "6.4.3",
|
|
49
49
|
"init": "0.1.2",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@babel/preset-react": "7.18.6",
|
|
66
66
|
"@babel/preset-typescript": "7.23.3",
|
|
67
67
|
"@svgr/webpack": "8.1.0",
|
|
68
|
-
"@swc/core": "1.
|
|
68
|
+
"@swc/core": "1.4.13",
|
|
69
69
|
"@testing-library/jest-dom": "5.16.5",
|
|
70
70
|
"@testing-library/react": "14.1.2",
|
|
71
71
|
"@testing-library/user-event": "14.4.3",
|
package/.tool-versions
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
nodejs 10.16.0
|