@linzjs/lui 18.9.2 → 18.10.0
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/CHANGELOG.md +7 -0
- package/dist/components/LuiCounter/LuiCounter.d.ts +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/lui.css +21 -0
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +6 -1
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/LuiCounter/LuiCounter.scss +27 -0
- package/dist/scss/base.scss +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@use '../../Core.scss' as lui;
|
|
2
|
+
@use '../../Foundation/Variables/SpacingVars.scss' as spacing;
|
|
3
|
+
|
|
4
|
+
.LuiCounter {
|
|
5
|
+
border-radius: 5px;
|
|
6
|
+
padding: 0 6px;
|
|
7
|
+
margin: 0 spacing.$unit-sm;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
min-width: spacing.$unit-md;
|
|
10
|
+
height: spacing.$unit-md;
|
|
11
|
+
text-align: center;
|
|
12
|
+
font-size: 14px;
|
|
13
|
+
font-weight: 600;
|
|
14
|
+
line-height: spacing.$unit-md;
|
|
15
|
+
|
|
16
|
+
&-zero {
|
|
17
|
+
@extend .LuiCounter;
|
|
18
|
+
background: lui.$dew;
|
|
19
|
+
color: lui.$fuscous;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&-non-zero {
|
|
23
|
+
@extend .LuiCounter;
|
|
24
|
+
background: lui.$celestial;
|
|
25
|
+
color: lui.$andrea;
|
|
26
|
+
}
|
|
27
|
+
}
|
package/dist/scss/base.scss
CHANGED
|
@@ -83,6 +83,7 @@
|
|
|
83
83
|
@forward './Components/LuiSidePanel/LuiSidePanel.scss';
|
|
84
84
|
@forward './Components/LuiSplitButton/LuiSplitButton.scss';
|
|
85
85
|
@forward './Components/LuiLoadingSpinner/LuiLoadingSpinner.scss';
|
|
86
|
+
@forward './Components/LuiCounter/LuiCounter.scss';
|
|
86
87
|
|
|
87
88
|
// The following have scss next to the component that is yet to be hooked up with the react implementation
|
|
88
89
|
// LuiTabs
|
package/package.json
CHANGED