benivo-ui-library 1.9.28 → 1.9.29

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 (146) hide show
  1. package/.prettierrc.json +8 -0
  2. package/.storybook/main.js +55 -0
  3. package/.storybook/preview.js +15 -0
  4. package/.vscode/extensions.json +5 -0
  5. package/.vscode/settings.json +6 -0
  6. package/Benivo.UI.lib.csproj +21 -0
  7. package/Benivo.UI.lib.sln +33 -0
  8. package/LICENSE +21 -0
  9. package/Properties/launchSettings.json +27 -0
  10. package/jest.config.js +20 -0
  11. package/lib/README.md +38 -0
  12. package/{arrowButton.less → lib/arrowButton.less} +13 -11
  13. package/{asideSummaryCard.less → lib/asideSummaryCard.less} +2 -2
  14. package/{asideSummaryCardSection.less → lib/asideSummaryCardSection.less} +3 -3
  15. package/{assignmentSelectBox.less → lib/assignmentSelectBox.less} +41 -44
  16. package/{autoComplete.less → lib/autoComplete.less} +16 -16
  17. package/{benivo-ui-lib.less → lib/benivo-ui-lib.less} +1 -5
  18. package/{buttonOld.less → lib/button.less} +59 -59
  19. package/lib/checkbox.less +296 -0
  20. package/{data-table.less → lib/data-table.less} +51 -53
  21. package/{datePicker.less → lib/datePicker.less} +30 -31
  22. package/{drawer.less → lib/drawer.less} +3 -3
  23. package/{dropdownButton.less → lib/dropdownButton.less} +8 -8
  24. package/{expander.less → lib/expander.less} +8 -8
  25. package/{fantasyButton.less → lib/fantasyButton.less} +12 -16
  26. package/lib/index.js +2 -0
  27. package/{infoMessageBanner.less → lib/infoMessageBanner.less} +3 -3
  28. package/{input.less → lib/input.less} +18 -98
  29. package/{loader.less → lib/loader.less} +3 -3
  30. package/lib/main.less +3 -0
  31. package/{navigation.less → lib/navigation.less} +23 -18
  32. package/{notifications.less → lib/notifications.less} +7 -7
  33. package/lib/package.json +123 -0
  34. package/{pop-up.less → lib/pop-up.less} +6 -3
  35. package/{radiobutton.less → lib/radiobutton.less} +18 -18
  36. package/{select.less → lib/select.less} +14 -23
  37. package/{sidebarMenu.less → lib/sidebarMenu.less} +18 -12
  38. package/{spinner.less → lib/spinner.less} +4 -4
  39. package/{swiper.less → lib/swiper.less} +15 -20
  40. package/lib/tabGroup.less +98 -0
  41. package/{table-sort.less → lib/table-sort.less} +6 -7
  42. package/{tabs.less → lib/tabs.less} +2 -2
  43. package/{textarea.less → lib/textarea.less} +6 -7
  44. package/{tooltip.less → lib/tooltip.less} +21 -21
  45. package/lib/variables.less +499 -0
  46. package/mocking/fileMock.js +7 -0
  47. package/mocking/mock.worker.js +25 -0
  48. package/mocking/setup.js +1 -0
  49. package/mocking/styleMock.js +1 -0
  50. package/package.json +2 -2
  51. package/storybook-static/122.33aa017d.iframe.bundle.js +1 -0
  52. package/storybook-static/212.1ed8cd1c.iframe.bundle.js +2 -0
  53. package/storybook-static/212.1ed8cd1c.iframe.bundle.js.LICENSE.txt +20 -0
  54. package/storybook-static/227.624cbd61.iframe.bundle.js +1 -0
  55. package/storybook-static/27.5bcc101e.iframe.bundle.js +2 -0
  56. package/storybook-static/27.5bcc101e.iframe.bundle.js.LICENSE.txt +9 -0
  57. package/storybook-static/323.9b9aa21f.iframe.bundle.js +405 -0
  58. package/storybook-static/323.9b9aa21f.iframe.bundle.js.LICENSE.txt +56 -0
  59. package/storybook-static/323.9b9aa21f.iframe.bundle.js.map +1 -0
  60. package/storybook-static/364.b30e947e.iframe.bundle.js +1 -0
  61. package/storybook-static/431.38d0f194.iframe.bundle.js +1 -0
  62. package/storybook-static/648.089cd511.iframe.bundle.js +1 -0
  63. package/storybook-static/674.b0f7d9fc.iframe.bundle.js +95 -0
  64. package/storybook-static/674.b0f7d9fc.iframe.bundle.js.LICENSE.txt +16 -0
  65. package/storybook-static/674.b0f7d9fc.iframe.bundle.js.map +1 -0
  66. package/storybook-static/735.82b191cb.iframe.bundle.js +1 -0
  67. package/storybook-static/components-button-Button-stories.b1e8029c.iframe.bundle.js +1 -0
  68. package/storybook-static/components-checkbox-Checkbox-stories.f09cbe54.iframe.bundle.js +1 -0
  69. package/storybook-static/components-fantasyButton-FantasyButton-stories.8ed511b4.iframe.bundle.js +1 -0
  70. package/storybook-static/favicon.svg +1 -0
  71. package/storybook-static/iframe.html +511 -0
  72. package/storybook-static/index.html +185 -0
  73. package/storybook-static/index.json +1 -0
  74. package/storybook-static/main.665a729c.iframe.bundle.js +1 -0
  75. package/storybook-static/main.css +2459 -0
  76. package/storybook-static/main.css.map +1 -0
  77. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  78. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  79. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  80. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  81. package/storybook-static/project.json +1 -0
  82. package/storybook-static/runtime~main.5049242a.iframe.bundle.js +1 -0
  83. package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js +327 -0
  84. package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt +40 -0
  85. package/storybook-static/sb-addons/essentials-actions-4/manager-bundle.js +3 -0
  86. package/storybook-static/sb-addons/essentials-actions-4/manager-bundle.js.LEGAL.txt +0 -0
  87. package/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js +12 -0
  88. package/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js.LEGAL.txt +0 -0
  89. package/storybook-static/sb-addons/essentials-controls-3/manager-bundle.js +394 -0
  90. package/storybook-static/sb-addons/essentials-controls-3/manager-bundle.js.LEGAL.txt +0 -0
  91. package/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js +3 -0
  92. package/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js.LEGAL.txt +0 -0
  93. package/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js +3 -0
  94. package/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js.LEGAL.txt +0 -0
  95. package/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js +3 -0
  96. package/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js.LEGAL.txt +0 -0
  97. package/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js +3 -0
  98. package/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js.LEGAL.txt +0 -0
  99. package/storybook-static/sb-addons/interactions-11/manager-bundle.js +213 -0
  100. package/storybook-static/sb-addons/interactions-11/manager-bundle.js.LEGAL.txt +0 -0
  101. package/storybook-static/sb-addons/links-2/manager-bundle.js +3 -0
  102. package/storybook-static/sb-addons/links-2/manager-bundle.js.LEGAL.txt +0 -0
  103. package/storybook-static/sb-addons/onboarding-1/manager-bundle.js +129 -0
  104. package/storybook-static/sb-addons/onboarding-1/manager-bundle.js.LEGAL.txt +0 -0
  105. package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
  106. package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
  107. package/storybook-static/sb-common-assets/favicon.svg +1 -0
  108. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  109. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  110. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  111. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  112. package/storybook-static/sb-manager/globals-module-info.js +1006 -0
  113. package/storybook-static/sb-manager/globals-runtime.js +54480 -0
  114. package/storybook-static/sb-manager/globals.js +48 -0
  115. package/storybook-static/sb-manager/runtime.js +12089 -0
  116. package/storybook-static/sb-preview/globals.js +33 -0
  117. package/storybook-static/sb-preview/runtime.js +9498 -0
  118. package/webpack.config.dev.js +90 -0
  119. package/button.less +0 -622
  120. package/checkbox.less +0 -348
  121. package/forms.less +0 -256
  122. package/index.js +0 -2
  123. package/main.less +0 -4
  124. package/splashScreen.less +0 -133
  125. package/tabGroup.less +0 -238
  126. package/variables.less +0 -234
  127. /package/{benivoLogo.less → lib/benivoLogo.less} +0 -0
  128. /package/{countryFlag.less → lib/countryFlag.less} +0 -0
  129. /package/{frame.less → lib/frame.less} +0 -0
  130. /package/{freshDeskChat.less → lib/freshDeskChat.less} +0 -0
  131. /package/{googleTranslate.less → lib/googleTranslate.less} +0 -0
  132. /package/{image.less → lib/image.less} +0 -0
  133. /package/{index.js.LICENSE.txt → lib/index.js.LICENSE.txt} +0 -0
  134. /package/{mixins.less → lib/mixins.less} +0 -0
  135. /package/{status.less → lib/status.less} +0 -0
  136. /package/{swiper-a11y.less → lib/swiper-a11y.less} +0 -0
  137. /package/{swiper-effect-cube.less → lib/swiper-effect-cube.less} +0 -0
  138. /package/{swiper-effect-fade.less → lib/swiper-effect-fade.less} +0 -0
  139. /package/{swiper-effect-flip.less → lib/swiper-effect-flip.less} +0 -0
  140. /package/{swiper-lazy.less → lib/swiper-lazy.less} +0 -0
  141. /package/{swiper-navigation.less → lib/swiper-navigation.less} +0 -0
  142. /package/{swiper-pagination.less → lib/swiper-pagination.less} +0 -0
  143. /package/{swiper-scrollbar.less → lib/swiper-scrollbar.less} +0 -0
  144. /package/{swiper-thumb.less → lib/swiper-thumb.less} +0 -0
  145. /package/{swiper-zoom.less → lib/swiper-zoom.less} +0 -0
  146. /package/{withPortal.less → lib/withPortal.less} +0 -0
@@ -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,55 @@
1
+ /** @type { import('@storybook/react-webpack5').StorybookConfig } */
2
+ const path = require('path');
3
+ const MiniCssExtractPlugin = require('mini-css-extract-plugin');
4
+
5
+ const config = {
6
+ stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
7
+
8
+ addons: [
9
+ '@storybook/addon-webpack5-compiler-swc',
10
+ '@storybook/addon-onboarding',
11
+ '@storybook/addon-links',
12
+ '@storybook/addon-essentials',
13
+ '@chromatic-com/storybook',
14
+ '@storybook/addon-interactions',
15
+ '@storybook/addon-styling-webpack',
16
+ ],
17
+
18
+ framework: {
19
+ name: '@storybook/react-webpack5',
20
+ options: {
21
+ builder: { useSWC: true }
22
+ }
23
+ },
24
+
25
+ swc: () => ({
26
+ jsc: { transform: { react: { runtime: 'automatic' } } }
27
+ }),
28
+
29
+ webpackFinal: async (config) => {
30
+ config.resolve.alias = {
31
+ ...config.resolve.alias,
32
+ '@': path.resolve(__dirname, '../src/'),
33
+ Hooks: path.resolve(__dirname, '../src/hooks'),
34
+ HOC: path.resolve(__dirname, '../src/components/HOC'),
35
+ Utils: path.resolve(__dirname, '../src/utils'),
36
+ Component: path.resolve(__dirname, '../src/components'),
37
+ Contexts: path.resolve(__dirname, '../src/contexts'),
38
+ };
39
+
40
+ config.module.rules.push({
41
+ test: /\.less$/,
42
+ use: [
43
+ MiniCssExtractPlugin.loader,
44
+ { loader: 'css-loader', options: { sourceMap: true } },
45
+ { loader: 'less-loader', options: { sourceMap: true } }
46
+ ]
47
+ });
48
+
49
+ config.plugins.push(new MiniCssExtractPlugin());
50
+
51
+ return config;
52
+ },
53
+ };
54
+
55
+ export default config;
@@ -0,0 +1,15 @@
1
+ /** @type { import('@storybook/react').Preview } */
2
+ import '../src/assets/main.less';
3
+
4
+ const preview = {
5
+ parameters: {
6
+ controls: {
7
+ matchers: {
8
+ color: /(background|color)$/i,
9
+ date: /Date$/i,
10
+ },
11
+ },
12
+ },
13
+ };
14
+
15
+ export default preview;
@@ -0,0 +1,5 @@
1
+ {
2
+ "recommendations": [
3
+ "esbenp.prettier-vscode",
4
+ ]
5
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "editor.formatOnSave": true,
3
+ "[javascript]": {
4
+ "editor.defaultFormatter": "vscode.typescript-language-features"
5
+ }
6
+ }
@@ -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/jest.config.js ADDED
@@ -0,0 +1,20 @@
1
+
2
+ module.exports = {
3
+ testEnvironment: 'jsdom',
4
+ setupFiles: ['<rootDir>/mocking/setup.js', '<rootDir>/mocking/mock.worker.js'],
5
+ moduleFileExtensions: ["js", "json", "jsx"],
6
+ moduleNameMapper: {
7
+ "\\.(css|less)$": "identity-obj-proxy",
8
+ "\\.(gif|ttf|eot|svg)$": "<rootDir>/mocking/fileMock.js",
9
+ "^Component(.*)$": "<rootDir>/src/components$1",
10
+ "^Utils(.*)$": "<rootDir>/src/utils$1",
11
+ "^Hooks(.*)$": "<rootDir>/src/hooks$1",
12
+ "^HOK(.*)$": "<rootDir>/src/HOK$1",
13
+ "^Contexts(.*)$": "<rootDir>/src/contexts$1",
14
+ },
15
+ transform: {
16
+ "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/mocking/fileMock.js",
17
+ "^.+\\.jsx?$": "babel-jest"
18
+ },
19
+ transformIgnorePatterns: ["/node_modules/"],
20
+ }
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
+ ```
@@ -1,10 +1,12 @@
1
+ @arrow-button-color: #93979b;
2
+
1
3
  .arrow-button {
2
4
  position: absolute;
3
5
  top: 50%;
4
6
  .transform(translateY(-50%));
5
7
  z-index: 2;
6
8
  border: none;
7
- background-color: var(--bg-50);
9
+ background-color: @light-gray-bg;
8
10
  cursor: pointer;
9
11
  padding: 0;
10
12
  width: 35px;
@@ -59,7 +61,7 @@
59
61
  display: block;
60
62
 
61
63
  &:before {
62
- color: var(--text-600);
64
+ color: @arrow-button-color;
63
65
  }
64
66
  }
65
67
 
@@ -69,7 +71,7 @@
69
71
  span {
70
72
 
71
73
  &:before {
72
- color: var(--text-600);
74
+ color: #eeeeee;
73
75
  }
74
76
  }
75
77
  }
@@ -120,20 +122,20 @@
120
122
 
121
123
  &.active {
122
124
  &:hover {
123
- background-color: var(--primary);
124
- color: var(--white);
125
+ background-color: @primary-color;
126
+ color: @white;
125
127
 
126
128
  .icon:before {
127
- color: var(--white);
129
+ color: @white;
128
130
  }
129
131
  }
130
132
 
131
133
  @media @lg-max {
132
- background-color: var(--primary);
133
- color: var(--white);
134
+ background-color: @primary-color;
135
+ color: @white;
134
136
 
135
137
  .icon:before {
136
- color: var(--white);
138
+ color: @white;
137
139
  }
138
140
  }
139
141
  }
@@ -154,8 +156,8 @@
154
156
 
155
157
  .icon-submitted {
156
158
  &:before {
157
- color: var(--primary);
159
+ color: @primary-color;
158
160
  }
159
161
  }
160
162
  }
161
- }
163
+ }
@@ -1,7 +1,7 @@
1
1
  .summary-card {
2
- background: var(--white);
2
+ background: @white;
3
3
  padding: 24px;
4
- border: 1px solid var(--border-200);
4
+ border: 1px solid @border-color;
5
5
  .border-radius(@border-radius);
6
6
 
7
7
  &__title {
@@ -4,7 +4,7 @@
4
4
 
5
5
  &__title {
6
6
  font-size: @extra-small-font-size;
7
- border-bottom: 1px solid var(--border-200);
7
+ border-bottom: 1px solid @border-color;
8
8
  padding-bottom: 6px;
9
9
  margin-bottom: 20px;
10
10
  font-weight: @font-weight-semibold;
@@ -17,7 +17,7 @@
17
17
 
18
18
  &__label {
19
19
  display: inline-block;
20
- color: var(--text-600);
20
+ color: @gray-text;
21
21
  flex-basis: 50%;
22
22
  padding-right: 10px;
23
23
  }
@@ -31,7 +31,7 @@
31
31
 
32
32
  i {
33
33
  font-size: @extra-small-font-size;
34
- color: var(--text-600);
34
+ color: @light-gray-border;
35
35
  }
36
36
  }
37
37
  }
@@ -10,11 +10,11 @@
10
10
 
11
11
  .assignment-home-location {
12
12
  font-size: @small-font-size;
13
- color:var(--text-600);
13
+ color: @extra-light-gray-text;
14
14
  }
15
15
 
16
16
  .location-divider {
17
- color:var(--text-600);
17
+ color: @extra-light-gray-text;
18
18
  }
19
19
 
20
20
  .assignment-host-location {
@@ -24,29 +24,28 @@
24
24
 
25
25
  &-dates {
26
26
  font-size: @extra-small-font-size;
27
- color: var(--text-600);
27
+ color: @gray-text;
28
28
  }
29
29
 
30
30
  .assignment-cancel a {
31
31
  font-size: @extra-small-font-size;
32
32
  font-weight: @font-weight-semibold;
33
- color: var(--primary);
33
+ color: @link-color;
34
34
 
35
35
  &:hover {
36
- color: var(--primary);
36
+ color: @link-color;
37
37
  }
38
38
  }
39
39
 
40
- &-memberId {
40
+ &-memberId{
41
41
  font-size: @extra-small-font-size;
42
- color: var(--text-600);
42
+ color: @gray-text;
43
43
  }
44
44
  }
45
45
 
46
- .form-select__value-container,
47
- .assignment-single-option {
48
- .assignment-option-dates {
49
- color:var(--text-600);
46
+ .form-select__value-container, .assignment-single-option{
47
+ .assignment-option-dates{
48
+ color: @extra-light-gray-text;
50
49
  }
51
50
  }
52
51
 
@@ -81,115 +80,112 @@
81
80
  }
82
81
  }
83
82
 
84
- .assignment-select-box-custom-menu {
83
+ .assignment-select-box-custom-menu{
85
84
  .assignments-filter-wrapper {
86
85
  padding: 15px 12px;
87
-
86
+
88
87
  .form-select__control {
89
88
  cursor: pointer;
90
89
  }
91
-
90
+
92
91
  .form-group {
93
92
  margin-bottom: 0;
94
93
  width: 70%;
95
-
94
+
96
95
  @media (min-width: 768px) and (max-width: 991px) {
97
96
  width: 80% !important;
98
97
  }
99
-
98
+
100
99
  &:before {
101
100
  content: '\ed43';
102
101
  font-family: 'icomoon';
103
- color:var(--text-600);
102
+ color: @extra-light-gray-text;
104
103
  display: block;
105
104
  position: absolute;
106
105
  top: 50%;
107
106
  left: @input-pad-x;
108
107
  transform: translateY(-50%);
109
108
  }
110
-
109
+
111
110
  input {
112
111
  padding-left: 38px;
113
112
  width: 100%;
114
113
  margin-right: 12px;
115
114
  }
116
115
  }
117
-
116
+
118
117
  .assignments-filter {
119
118
  display: inline-flex;
120
119
  align-items: center;
121
120
  cursor: pointer;
122
121
  position: relative;
123
122
  flex-shrink: 0;
124
-
123
+
125
124
  .assignments-filter-statuses {
126
125
  position: absolute;
127
126
  top: 100%;
128
127
  right: 0;
129
- background-color: var(--white);
128
+ background-color: #ffffff;
130
129
  border: solid 1px rgba(0, 0, 0, 0.15);
131
130
  .border-radius(4px);
132
131
  z-index: @zindex-dropdown;
133
132
  width: 256px;
134
133
  margin-top: 10px;
135
-
136
- &.horizontal {
137
- &__right {
134
+
135
+ &.horizontal{
136
+ &__right{
138
137
  @media @lg {
139
138
  left: 0;
140
139
  right: unset;
141
140
  }
142
141
  }
143
-
144
- &__left {
142
+ &__left{
145
143
  @media @lg {
146
144
  left: unset;
147
145
  right: 0;
148
146
  }
149
147
  }
150
148
  }
151
-
152
- &.vertical {
153
- &__bottom {
149
+
150
+ &.vertical{
151
+ &__bottom{
154
152
  @media @lg {
155
153
  top: 100%;
156
154
  bottom: unset;
157
155
  }
158
156
  }
159
-
160
- &__top {
157
+ &__top{
161
158
  @media @lg {
162
159
  top: unset;
163
160
  bottom: 100%;
164
161
  }
165
162
  }
166
163
  }
167
-
164
+
168
165
  li {
169
166
  padding: 12px;
170
-
167
+
171
168
  &:hover {
172
- background-color: var(--bg-50);
169
+ background-color: @form-select-option-bg-selected;
173
170
  }
174
-
171
+
175
172
  &:before {
176
173
  left: 42px;
177
174
  }
178
-
175
+
179
176
  .form-check {
180
177
  margin-bottom: 0;
181
178
  padding-left: 46px;
182
179
  }
183
180
  }
184
181
  }
185
-
182
+
186
183
  span {
187
-
188
184
  &,
189
185
  &:before {
190
- color: var(--primary);
186
+ color: @primary-color;
191
187
  }
192
-
188
+
193
189
  &:last-child {
194
190
  margin-left: 8px;
195
191
  font-size: @small-font-size;
@@ -199,13 +195,14 @@
199
195
  }
200
196
  }
201
197
 
202
- .form-select__menu:has(> .assignment-select-box-custom-menu) {
198
+ .form-select__menu:has(> .assignment-select-box-custom-menu){
203
199
  --menu-width: @menu-width;
204
-
200
+
205
201
  width: 100%;
206
202
  right: 0;
207
-
203
+
208
204
  @media @lg {
209
205
  width: var(--menu-width, @menu-width);
210
206
  }
211
- }
207
+ }
208
+