benivo-ui-library 1.6.3 → 1.6.4

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.
Files changed (34) hide show
  1. package/.prettierrc.json +8 -0
  2. package/Benivo.UI.lib.csproj +21 -0
  3. package/Benivo.UI.lib.sln +33 -0
  4. package/LICENSE +21 -0
  5. package/Properties/launchSettings.json +27 -0
  6. package/lib/README.md +38 -0
  7. package/{benivo-ui-lib.less → lib/benivo-ui-lib.less} +0 -0
  8. package/{button.less → lib/button.less} +0 -0
  9. package/{checkbox.less → lib/checkbox.less} +0 -0
  10. package/lib/index.js +1 -0
  11. package/{input.less → lib/input.less} +0 -0
  12. package/{main.less → lib/main.less} +0 -0
  13. package/{mixins.less → lib/mixins.less} +0 -0
  14. package/{navigation.less → lib/navigation.less} +0 -0
  15. package/lib/package.json +58 -0
  16. package/{radiobutton.less → lib/radiobutton.less} +0 -0
  17. package/{select.less → lib/select.less} +0 -0
  18. package/{spinner.less → lib/spinner.less} +0 -0
  19. package/{swiper-a11y.less → lib/swiper-a11y.less} +0 -0
  20. package/{swiper-effect-cube.less → lib/swiper-effect-cube.less} +0 -0
  21. package/{swiper-effect-fade.less → lib/swiper-effect-fade.less} +0 -0
  22. package/{swiper-effect-flip.less → lib/swiper-effect-flip.less} +0 -0
  23. package/{swiper-lazy.less → lib/swiper-lazy.less} +0 -0
  24. package/{swiper-navigation.less → lib/swiper-navigation.less} +0 -0
  25. package/{swiper-pagination.less → lib/swiper-pagination.less} +0 -0
  26. package/{swiper-scrollbar.less → lib/swiper-scrollbar.less} +0 -0
  27. package/{swiper-thumb.less → lib/swiper-thumb.less} +0 -0
  28. package/{swiper-zoom.less → lib/swiper-zoom.less} +0 -0
  29. package/{swiper.less → lib/swiper.less} +0 -0
  30. package/{tooltip.less → lib/tooltip.less} +0 -0
  31. package/{variables.less → lib/variables.less} +0 -0
  32. package/package.json +1 -1
  33. package/webpack.config.dev.js +69 -0
  34. package/index.js +0 -1
@@ -0,0 +1,8 @@
1
+ {
2
+ "trailingComma": "es5",
3
+ "tabWidth": 4,
4
+ "semi": true,
5
+ "singleQuote": true,
6
+ "jsxSingleQuote": true,
7
+ "printWidth": 200
8
+ }
@@ -0,0 +1,21 @@
1
+ <Project Sdk="Microsoft.NET.Sdk.Web">
2
+
3
+ <PropertyGroup Label="Globals">
4
+ <SccProjectName>SAK</SccProjectName>
5
+ <SccProvider>SAK</SccProvider>
6
+ <SccAuxPath>SAK</SccAuxPath>
7
+ <SccLocalPath>SAK</SccLocalPath>
8
+ </PropertyGroup>
9
+
10
+ <PropertyGroup>
11
+ <TargetFramework>netcoreapp3.1</TargetFramework>
12
+ </PropertyGroup>
13
+
14
+ <ItemGroup>
15
+ <Compile Remove="lib\**" />
16
+ <Content Remove="lib\**" />
17
+ <EmbeddedResource Remove="lib\**" />
18
+ <None Remove="lib\**" />
19
+ </ItemGroup>
20
+
21
+ </Project>
@@ -0,0 +1,33 @@
1
+ 
2
+ Microsoft Visual Studio Solution File, Format Version 12.00
3
+ # Visual Studio Version 16
4
+ VisualStudioVersion = 16.0.30503.244
5
+ MinimumVisualStudioVersion = 10.0.40219.1
6
+ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Benivo.UI.lib", "Benivo.UI.lib.csproj", "{1AA1D8F2-00EE-407C-8520-FB4A67381AF5}"
7
+ EndProject
8
+ Global
9
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
10
+ Debug|Any CPU = Debug|Any CPU
11
+ Release|Any CPU = Release|Any CPU
12
+ EndGlobalSection
13
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
14
+ {1AA1D8F2-00EE-407C-8520-FB4A67381AF5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15
+ {1AA1D8F2-00EE-407C-8520-FB4A67381AF5}.Debug|Any CPU.Build.0 = Debug|Any CPU
16
+ {1AA1D8F2-00EE-407C-8520-FB4A67381AF5}.Release|Any CPU.ActiveCfg = Release|Any CPU
17
+ {1AA1D8F2-00EE-407C-8520-FB4A67381AF5}.Release|Any CPU.Build.0 = Release|Any CPU
18
+ EndGlobalSection
19
+ GlobalSection(SolutionProperties) = preSolution
20
+ HideSolutionNode = FALSE
21
+ EndGlobalSection
22
+ GlobalSection(ExtensibilityGlobals) = postSolution
23
+ SolutionGuid = {262C0D48-5B19-41E7-96BD-5B2C9D72BD07}
24
+ EndGlobalSection
25
+ GlobalSection(TeamFoundationVersionControl) = preSolution
26
+ SccNumberOfProjects = 2
27
+ SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
28
+ SccTeamFoundationServer = https://brandjourney.visualstudio.com/
29
+ SccLocalPath0 = .
30
+ SccProjectUniqueName1 = Benivo.UI.lib.csproj
31
+ SccLocalPath1 = .
32
+ EndGlobalSection
33
+ EndGlobal
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Benivo
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.
@@ -0,0 +1,27 @@
1
+ {
2
+ "iisSettings": {
3
+ "windowsAuthentication": false,
4
+ "anonymousAuthentication": true,
5
+ "iisExpress": {
6
+ "applicationUrl": "http://localhost:62524/",
7
+ "sslPort": 44383
8
+ }
9
+ },
10
+ "profiles": {
11
+ "IIS Express": {
12
+ "commandName": "IISExpress",
13
+ "launchBrowser": true,
14
+ "environmentVariables": {
15
+ "ASPNETCORE_ENVIRONMENT": "Development"
16
+ }
17
+ },
18
+ "Benivo.UI.lib": {
19
+ "commandName": "Project",
20
+ "launchBrowser": true,
21
+ "environmentVariables": {
22
+ "ASPNETCORE_ENVIRONMENT": "Development"
23
+ },
24
+ "applicationUrl": "https://localhost:5001;http://localhost:5000"
25
+ }
26
+ }
27
+ }
package/lib/README.md ADDED
@@ -0,0 +1,38 @@
1
+ # benivo-ui-library
2
+
3
+ [![Build Status](https://travis-ci.org/joemccann/dillinger.svg?branch=master)](https://travis-ci.org/joemccann/dillinger)
4
+
5
+ `benivo-ui-library` is a collection of react hooks and components for faster development.
6
+
7
+ # Installation
8
+
9
+ ```sh
10
+ $npm install benivo-ui-library --save
11
+ ```
12
+ # Basic usage
13
+
14
+ ```js
15
+ import React from 'react';
16
+ import { Input, Select, Checkbox, Button } from 'benivo-ui-library';
17
+ import { useInput, useSelect, useCheckbox } from 'benivo-ui-library';
18
+ import { withTransition } from 'benivo-ui-library';
19
+
20
+ function MyApp() {
21
+ const email = useInput('initialvalue@gmail.com');
22
+ const agree = useCheckbox(false);
23
+ const event= useSelect('all');
24
+ const eventOptions=['all', 'news', 'promotional'];
25
+ const handleSubmit=()=>{
26
+ //some smart code here
27
+ };
28
+
29
+ return (
30
+ <form>
31
+ <Input label="Email" {...email.bind} />
32
+ <Select label="Events" options={eventOptions} {...event.bind}/>
33
+ <Checkbox label="I agree" {...agree.bind} />
34
+ <Button onClick={handleSubmit}>Subscribe</Button>
35
+ </form>
36
+ );
37
+ }
38
+ ```
File without changes
File without changes
File without changes