@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.
@@ -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,3 @@
1
+ @forward './LuiTab/LuiTab.scss';
2
+ @forward './LuiTabsGroup/LuiTabsGroup.scss';
3
+ @forward './LuiTabsPanel/LuiTabsPanel.scss';
@@ -0,0 +1,10 @@
1
+ @use '../../../Foundation/Variables/ColorVars.scss' as colors;
2
+
3
+ .LuiTabsGroup {
4
+ border-bottom: 1px solid colors.$silver;
5
+ }
6
+
7
+ .LuiTabsGroup--justified {
8
+ display: flex;
9
+ justify-content: space-between;
10
+ }
@@ -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
+ }
@@ -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
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "11.0.0",
2
+ "version": "11.1.3",
3
3
  "license": "MIT",
4
4
  "repository": {
5
5
  "type": "git",