@evergis/uilib-gl 1.0.94 → 1.0.95

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Everpoint
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Everpoint
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,109 +1,109 @@
1
- # 🛴 Evergis UI
2
- ## Contributing
3
-
4
- 🏆 **Before start:**
5
-
6
- ```
7
- yarn
8
- ```
9
- Update webstorm to >2017.3.3
10
-
11
- Install Styled Components plugin [Jetbrains plugins](https://plugins.jetbrains.com/plugin/9997-styled-components)
12
-
13
- 🛠️ **Start dev:**
14
-
15
- ```
16
- yarn storybook
17
- ```
18
-
19
- Open in browser localhost:6006
20
-
21
- ✅ **Start tests:**
22
-
23
- ```
24
- yarn test
25
- ```
26
-
27
- ## How to release
28
-
29
- 1. Создать временную ветку из `master`
30
- 2. Изменить версию пакета в `package.json`
31
- 3. `yarn` - освежить все зависимости
32
- 4. `yarn lint:fix` - автопоправка eslint ошибок
33
- 5. `yarn build` - сборка
34
- 6. В корне проекта создать файл `.npmrc` со следующим содержимым:
35
-
36
- ```
37
- //registry.npmjs.org/:_authToken=npm_XXX
38
- ```
39
-
40
- Здесь `npm_XXX` -- granular token; создать его можно [по инструкции](https://docs.npmjs.com/creating-and-viewing-access-tokens). ВАЖНО: с 09.12.2025 срок действия токена не может превышать 90 дней.
41
-
42
- **Примечение:** При создании токена необходимо *ОБЯЗАТЕЛЬНО* выбрать опцию `Bypass two-factor authentication (2FA)`.
43
-
44
- 7. `npm login` - залогиниться в npm (ВАЖНО: с 12.12.2025 сессия длится 12 часов, проверить, всё ли мы ещё залогинены, можно с помощью команды `npm whoami`).
45
- 8. `npm publish` - паблиш
46
- 9. Создать МР из временной ветки в `master`
47
-
48
- ## How to link
49
-
50
- For testing uilib locally in client (or other projects)
51
- without rebuilding after every update use linking:
52
-
53
- 1. `yarn build` - сборка
54
- 2. `yarn link` - создаём глобальную ссылку на uilib
55
- 3. Открываем client или другой проект
56
- 4. `yarn link "@evergis/uilib-gl"` - привязываем uilib к проекту
57
- 5. `yarn start` - запускаем проект с привязанной uilib
58
- 6. `yarn build` - после изменений в uilib делаем его пересборку
59
-
60
- ### How to manage icons
61
-
62
- 1. https://icomoon.io/app/#/projects
63
- 2. Import Project из `src/fonts/selection.json`
64
- 3. Load
65
- 4. Клик по гамбургер набора EverCloud в правом верхнем углу Import to Set
66
- 5. Generate Font в правом нижнем углу
67
- 6. Замена файлов `src/fonts` на загруженные из архива (папка fonts и selection.json)
68
-
69
- ## Used libraries, languages and tools
70
-
71
- 1. Typescript [Docs](https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html)
72
- 2. React [Docs](https://reactjs.org/docs/hello-world.html)
73
- 3. Styled-components [Docs](https://www.styled-components.com/docs)
74
- 4. Jest [Docs](https://facebook.github.io/jest/docs/en/using-matchers.html)
75
- 6. Storybook [Docs](https://storybook.js.org/basics/writing-stories/)
76
-
77
- ## Style Guide
78
- 1. Every component in separate directory
79
- 2. Test file in same directory, with name *.test.tsx
80
- 3. Do not write snapshot tests for components, for snapshot testing used stories, test only specific behavior and functions
81
- 4. Story file in same directory, with name *.story.tsx
82
- 5. Write stories for every possible component state
83
- 6. Every component must be working without any props
84
- 7. Do not create pull request with any linters or ts errors
85
- 8. File naming convention:
86
-
87
- 1. PascalCase for file exporting classes and Components
88
- 2. camelCase for file exporting objects and functions
89
- 3. kebab-case for module replacements
90
- 9. Do not use default exports
91
- 10. Write component description in source file
92
-
93
- ### Completed Component must include the following:
94
- 1. Stories for every possible component state
95
- 2. Tests for specific behaviors and functions
96
- 3. Declared Theme variables
97
- 4. Props type
98
- 5. Component description
99
-
100
- ## Project structure
101
- 1. Import "styled-components" maps to styled-with-theme.ts
102
- 2. theme is theme folder 🚢
103
- 3. Simple reusable styled components and html tags with style are located in atoms folder
104
- 4. Groups of atoms are located in molecules folder
105
- 5. Groups of atoms, molecules and other are located in organisms folder
106
-
107
- ## Todo
108
- 1. Upgrade tippy (tooltip) package version
109
- 2. Upgrade imask & react-imask packages version
1
+ # 🛴 Evergis UI
2
+ ## Contributing
3
+
4
+ 🏆 **Before start:**
5
+
6
+ ```
7
+ yarn
8
+ ```
9
+ Update webstorm to >2017.3.3
10
+
11
+ Install Styled Components plugin [Jetbrains plugins](https://plugins.jetbrains.com/plugin/9997-styled-components)
12
+
13
+ 🛠️ **Start dev:**
14
+
15
+ ```
16
+ yarn storybook
17
+ ```
18
+
19
+ Open in browser localhost:6006
20
+
21
+ ✅ **Start tests:**
22
+
23
+ ```
24
+ yarn test
25
+ ```
26
+
27
+ ## How to release
28
+
29
+ 1. Создать временную ветку из `master`
30
+ 2. Изменить версию пакета в `package.json`
31
+ 3. `yarn` - освежить все зависимости
32
+ 4. `yarn lint:fix` - автопоправка eslint ошибок
33
+ 5. `yarn build` - сборка
34
+ 6. В корне проекта создать файл `.npmrc` со следующим содержимым:
35
+
36
+ ```
37
+ //registry.npmjs.org/:_authToken=npm_XXX
38
+ ```
39
+
40
+ Здесь `npm_XXX` -- granular token; создать его можно [по инструкции](https://docs.npmjs.com/creating-and-viewing-access-tokens). ВАЖНО: с 09.12.2025 срок действия токена не может превышать 90 дней.
41
+
42
+ **Примечение:** При создании токена необходимо *ОБЯЗАТЕЛЬНО* выбрать опцию `Bypass two-factor authentication (2FA)`.
43
+
44
+ 7. `npm login` - залогиниться в npm (ВАЖНО: с 12.12.2025 сессия длится 12 часов, проверить, всё ли мы ещё залогинены, можно с помощью команды `npm whoami`).
45
+ 8. `npm publish` - паблиш
46
+ 9. Создать МР из временной ветки в `master`
47
+
48
+ ## How to link
49
+
50
+ For testing uilib locally in client (or other projects)
51
+ without rebuilding after every update use linking:
52
+
53
+ 1. `yarn build` - сборка
54
+ 2. `yarn link` - создаём глобальную ссылку на uilib
55
+ 3. Открываем client или другой проект
56
+ 4. `yarn link "@evergis/uilib-gl"` - привязываем uilib к проекту
57
+ 5. `yarn start` - запускаем проект с привязанной uilib
58
+ 6. `yarn build` - после изменений в uilib делаем его пересборку
59
+
60
+ ### How to manage icons
61
+
62
+ 1. https://icomoon.io/app/#/projects
63
+ 2. Import Project из `src/fonts/selection.json`
64
+ 3. Load
65
+ 4. Клик по гамбургер набора EverCloud в правом верхнем углу Import to Set
66
+ 5. Generate Font в правом нижнем углу
67
+ 6. Замена файлов `src/fonts` на загруженные из архива (папка fonts и selection.json)
68
+
69
+ ## Used libraries, languages and tools
70
+
71
+ 1. Typescript [Docs](https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes.html)
72
+ 2. React [Docs](https://reactjs.org/docs/hello-world.html)
73
+ 3. Styled-components [Docs](https://www.styled-components.com/docs)
74
+ 4. Jest [Docs](https://facebook.github.io/jest/docs/en/using-matchers.html)
75
+ 6. Storybook [Docs](https://storybook.js.org/basics/writing-stories/)
76
+
77
+ ## Style Guide
78
+ 1. Every component in separate directory
79
+ 2. Test file in same directory, with name *.test.tsx
80
+ 3. Do not write snapshot tests for components, for snapshot testing used stories, test only specific behavior and functions
81
+ 4. Story file in same directory, with name *.story.tsx
82
+ 5. Write stories for every possible component state
83
+ 6. Every component must be working without any props
84
+ 7. Do not create pull request with any linters or ts errors
85
+ 8. File naming convention:
86
+
87
+ 1. PascalCase for file exporting classes and Components
88
+ 2. camelCase for file exporting objects and functions
89
+ 3. kebab-case for module replacements
90
+ 9. Do not use default exports
91
+ 10. Write component description in source file
92
+
93
+ ### Completed Component must include the following:
94
+ 1. Stories for every possible component state
95
+ 2. Tests for specific behaviors and functions
96
+ 3. Declared Theme variables
97
+ 4. Props type
98
+ 5. Component description
99
+
100
+ ## Project structure
101
+ 1. Import "styled-components" maps to styled-with-theme.ts
102
+ 2. theme is theme folder 🚢
103
+ 3. Simple reusable styled components and html tags with style are located in atoms folder
104
+ 4. Groups of atoms are located in molecules folder
105
+ 5. Groups of atoms, molecules and other are located in organisms folder
106
+
107
+ ## Todo
108
+ 1. Upgrade tippy (tooltip) package version
109
+ 2. Upgrade imask & react-imask packages version
@@ -340,6 +340,8 @@ export declare const iconTypes: {
340
340
  datasource: string;
341
341
  tabs: string;
342
342
  check_toggle: string;
343
+ cadastr: string;
344
+ office: string;
343
345
  };
344
346
  export declare const Icon: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, IIconProps, never>;
345
347
  export declare const injectIcon: (icon: IconTypesKeys) => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
@@ -1,4 +1,5 @@
1
1
  export * from "./Input";
2
2
  export * from "./Label";
3
3
  export * from "./MaskedComponent";
4
+ export * from "./InputField";
4
5
  export * from "./types";