@pingux/astro 2.174.1-alpha.0 → 2.175.0-alpha.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/lib/cjs/components/Link/Link.styles.js +11 -1
- package/lib/cjs/components/NavBar/NavBar.styles.js +22 -5
- package/lib/cjs/components/NavBar/stories/NavBarNextGenComponent.js +7 -5
- package/lib/cjs/components/NavBarSection/NavBarItem.js +3 -3
- package/lib/cjs/components/NavBarSection/NavBarItemHeader.js +9 -3
- package/lib/cjs/components/NavSideBar/NavSideBarItem.js +5 -4
- package/lib/cjs/components/NumberField/NumberField.js +1 -4
- package/lib/cjs/components/NumberField/NumberField.test.js +26 -3
- package/lib/cjs/libs/astro/src/components/Link/Link.styles.d.ts +8 -0
- package/lib/cjs/libs/astro/src/components/NavBar/NavBar.styles.d.ts +55 -6
- package/lib/cjs/libs/astro/src/styles/themeOverrides/onyxSideNav.d.ts +33 -0
- package/lib/cjs/libs/astro/src/styles/themes/next-gen/next-gen.d.ts +38 -0
- package/lib/cjs/libs/astro/src/styles/themes/next-gen/variants/links.d.ts +9 -0
- package/lib/cjs/libs/astro/src/styles/themes/next-gen/variants/navbar.d.ts +29 -0
- package/lib/cjs/libs/astro/src/styles/themes/next-gen/variants/variants.d.ts +29 -0
- package/lib/cjs/libs/astro/src/types/icon.d.ts +3 -2
- package/lib/cjs/libs/astro/tsconfig.lib.tsbuildinfo +1 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/navbar.js +2 -2
- package/lib/cjs/styles/themeOverrides/onyxSideNav.js +34 -0
- package/lib/cjs/styles/themeOverrides/stories/NumberField.chromatic.stories.js +4 -1
- package/lib/cjs/styles/themeOverrides/uiLibraryOverride.js +9 -1
- package/lib/cjs/styles/themes/next-gen/variants/links.js +8 -0
- package/lib/cjs/styles/themes/next-gen/variants/navbar.js +31 -1
- package/lib/components/Link/Link.styles.js +11 -1
- package/lib/components/NavBar/NavBar.styles.js +22 -5
- package/lib/components/NavBar/stories/NavBarNextGenComponent.js +8 -6
- package/lib/components/NavBarSection/NavBarItem.js +3 -3
- package/lib/components/NavBarSection/NavBarItemHeader.js +9 -3
- package/lib/components/NavSideBar/NavSideBarItem.js +5 -4
- package/lib/components/NumberField/NumberField.js +1 -4
- package/lib/components/NumberField/NumberField.test.js +26 -3
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/navbar.js +2 -2
- package/lib/styles/themeOverrides/onyxSideNav.js +34 -0
- package/lib/styles/themeOverrides/stories/NumberField.chromatic.stories.js +4 -1
- package/lib/styles/themeOverrides/uiLibraryOverride.js +9 -1
- package/lib/styles/themes/next-gen/variants/links.js +8 -0
- package/lib/styles/themes/next-gen/variants/navbar.js +31 -1
- package/package.json +1 -1
|
@@ -106,10 +106,18 @@ var skip = {
|
|
|
106
106
|
height: '40px',
|
|
107
107
|
lineHeight: '24px'
|
|
108
108
|
};
|
|
109
|
+
var navItem = {
|
|
110
|
+
boxShadow: 'none !important',
|
|
111
|
+
'&.is-focused': _objectSpread(_objectSpread({}, navBarFocus), {}, {
|
|
112
|
+
borderRadius: '4px',
|
|
113
|
+
outlineOffset: '-2px'
|
|
114
|
+
})
|
|
115
|
+
};
|
|
109
116
|
export default {
|
|
110
117
|
app: app,
|
|
111
118
|
skip: skip,
|
|
112
119
|
nextGen: nextGen,
|
|
120
|
+
navItem: navItem,
|
|
113
121
|
onyx: onyx,
|
|
114
122
|
sideNav: sideNav,
|
|
115
123
|
footerLinks: footerLinks,
|
|
@@ -23,6 +23,14 @@ export var navBarFocus = {
|
|
|
23
23
|
outlineOffset: '-2px'
|
|
24
24
|
};
|
|
25
25
|
export var navBar = {
|
|
26
|
+
itemIcon: {
|
|
27
|
+
color: 'blue',
|
|
28
|
+
fill: 'blue'
|
|
29
|
+
},
|
|
30
|
+
itemIconSelected: {
|
|
31
|
+
color: 'darkblue',
|
|
32
|
+
fill: 'darkblue'
|
|
33
|
+
},
|
|
26
34
|
container: {
|
|
27
35
|
fontFamily: 'standard',
|
|
28
36
|
width: '252px',
|
|
@@ -101,12 +109,21 @@ export var navBar = {
|
|
|
101
109
|
'> div > svg': {
|
|
102
110
|
fill: astroTokens.color.gray[700]
|
|
103
111
|
},
|
|
112
|
+
'> div > span': {
|
|
113
|
+
color: 'gray-700'
|
|
114
|
+
},
|
|
104
115
|
'&.is-pressed': {
|
|
105
116
|
backgroundColor: astroTokens.color.gray[200]
|
|
106
117
|
},
|
|
107
118
|
'&.is-selected': _objectSpread(_objectSpread({}, navBarSelected), {}, {
|
|
108
119
|
'> div > svg': {
|
|
109
120
|
fill: 'darkblue'
|
|
121
|
+
},
|
|
122
|
+
'> div > span': {
|
|
123
|
+
color: 'darkblue'
|
|
124
|
+
},
|
|
125
|
+
'&.is-hovered': {
|
|
126
|
+
backgroundColor: 'light'
|
|
110
127
|
}
|
|
111
128
|
}),
|
|
112
129
|
'&.is-focused': {
|
|
@@ -123,7 +140,20 @@ export var navBar = {
|
|
|
123
140
|
maxWidth: '236px',
|
|
124
141
|
px: '1rem',
|
|
125
142
|
py: '.75rem',
|
|
126
|
-
'&.is-selected': _objectSpread({}, navBarSelected),
|
|
143
|
+
'&.is-selected': _objectSpread(_objectSpread({}, navBarSelected), {}, {
|
|
144
|
+
'> svg': {
|
|
145
|
+
fill: 'darkblue'
|
|
146
|
+
},
|
|
147
|
+
'> div > svg': {
|
|
148
|
+
fill: 'darkblue'
|
|
149
|
+
},
|
|
150
|
+
'> div > span': {
|
|
151
|
+
color: 'darkblue'
|
|
152
|
+
}
|
|
153
|
+
}),
|
|
154
|
+
'&.is-hovered': {
|
|
155
|
+
backgroundColor: 'light'
|
|
156
|
+
},
|
|
127
157
|
backgroundColor: 'transparent',
|
|
128
158
|
'> svg': {
|
|
129
159
|
fill: astroTokens.color.gray[700]
|