@linzjs/lui 11.0.0 → 11.1.3
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 +28 -0
- package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.d.ts +1 -0
- package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.stories.d.ts +1 -0
- package/dist/components/LuiTabs/LuiTab/LuiTab.d.ts +0 -1
- package/dist/components/LuiTabs/LuiTabsGroup/LuiTabsGroup.d.ts +0 -1
- package/dist/components/LuiTabs/LuiTabsPanel/LuiTabsPanel.d.ts +0 -1
- package/dist/index.d.ts +6 -1
- package/dist/lui.cjs.development.js +589 -382
- package/dist/lui.cjs.development.js.map +1 -1
- package/dist/lui.cjs.production.min.js +1 -1
- package/dist/lui.cjs.production.min.js.map +1 -1
- package/dist/lui.css +60 -0
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +585 -383
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/LuiTabs/LuiTab/LuiTab.scss +45 -0
- package/dist/scss/Components/LuiTabs/LuiTabs.scss +3 -0
- package/dist/scss/Components/LuiTabs/LuiTabsGroup/LuiTabsGroup.scss +10 -0
- package/dist/scss/Components/LuiTabs/LuiTabsPanel/LuiTabsPanel.scss +9 -0
- package/dist/scss/base.scss +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@use "../../../Foundation/Variables/MiscVars.scss" as misc;
|
|
2
|
+
@use "../../../Foundation/Variables/ColorVars.scss" as colors;
|
|
3
|
+
@use '../../../Foundation/Variables/FontVars.scss' as fonts;
|
|
4
|
+
@use '../../../Foundation/Variables/SpacingVars.scss' as spacing;
|
|
5
|
+
@use "../../../Foundation/Utilities" as *;
|
|
6
|
+
|
|
7
|
+
.LuiTab {
|
|
8
|
+
background: transparent;
|
|
9
|
+
border-radius: 0;
|
|
10
|
+
color: colors.$base-type-color;
|
|
11
|
+
min-width: spacing.$unit-xxl * 2;
|
|
12
|
+
@include fonts.font-regular;
|
|
13
|
+
|
|
14
|
+
&:focus {
|
|
15
|
+
background-color: rgba(colors.$persian, 0.2);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.LuiTabsGroup--justified & {
|
|
19
|
+
width: 100%;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.LuiTab--active,
|
|
24
|
+
.LuiTab--active:focus {
|
|
25
|
+
@include fonts.font-semibold;
|
|
26
|
+
position: relative;
|
|
27
|
+
outline: none;
|
|
28
|
+
background: transparent;
|
|
29
|
+
|
|
30
|
+
&:after {
|
|
31
|
+
content: '';
|
|
32
|
+
display: block;
|
|
33
|
+
height: 4px;
|
|
34
|
+
width: 100%;
|
|
35
|
+
padding: 0 32px;
|
|
36
|
+
left: 0;
|
|
37
|
+
right: 0;
|
|
38
|
+
bottom: -1px;
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
background: linear-gradient(270deg, colors.$downy 1%, colors.$persian 100%);
|
|
41
|
+
border-top-left-radius: 3px;
|
|
42
|
+
border-top-right-radius: 3px;
|
|
43
|
+
position: absolute;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
.LuiTabsPanel {
|
|
2
|
+
display: none;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.LuiTabsPanel--active {
|
|
6
|
+
display: block;
|
|
7
|
+
overflow: auto; // fixed the parent adopting the top margins of the content (collapsing margins)
|
|
8
|
+
// No padding is placed on the panel so you have full access to the content area. So any padding for margins needs to be added in your content.
|
|
9
|
+
}
|
package/dist/scss/base.scss
CHANGED
|
@@ -37,6 +37,9 @@
|
|
|
37
37
|
// Components
|
|
38
38
|
/////////////////////////////////////////
|
|
39
39
|
|
|
40
|
+
// This is perhaps not ideal - would rather each react component pulled its own css along with it
|
|
41
|
+
// But this works for both html/css and React implementations. It's on the backlog to fix
|
|
42
|
+
|
|
40
43
|
@forward "./Components/ContextMenu/context-menu.scss";
|
|
41
44
|
@forward "./Components/ExpandingSection/expanding-section.scss";
|
|
42
45
|
@forward "./Components/Footer/footer.scss";
|
|
@@ -56,3 +59,6 @@
|
|
|
56
59
|
@forward "./Components/LOLCommonMenu/LOLFirmSwitcherMenu.scss";
|
|
57
60
|
@forward "./Components/Spinner/spinner.scss";
|
|
58
61
|
@forward "./Components/LuiFormElements/LuiFileInputBox.scss";
|
|
62
|
+
|
|
63
|
+
// LuiTabs
|
|
64
|
+
@forward "./Components/LuiTabs/LuiTabs.scss";
|
package/package.json
CHANGED