@pingux/astro 2.199.1-alpha.0 → 2.200.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/Button/Buttons.styles.d.ts +86 -0
- package/lib/cjs/components/Button/Buttons.styles.js +12 -2
- package/lib/cjs/components/LinkSelectField/LinkSelectField.js +15 -12
- package/lib/cjs/components/ListBox/ListBoxSection.js +1 -3
- package/lib/cjs/components/ListBox/Option.js +1 -1
- package/lib/cjs/components/Separator/Separator.styles.js +2 -2
- package/lib/cjs/components/Text/Text.styles.d.ts +11 -0
- package/lib/cjs/components/Text/Text.styles.js +12 -7
- package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +2 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +1 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +1 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/menu.d.ts +1 -2
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/menu.js +1 -2
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.d.ts +3 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.js +3 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +2 -5
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +1 -3
- package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +1 -0
- package/lib/cjs/styles/themes/astro/customProperties/index.js +3 -1
- package/lib/cjs/styles/themes/next-gen/customProperties/customSizes.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/customSizes.js +3 -1
- package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/index.js +1 -1
- package/lib/cjs/styles/themes/next-gen/forms.d.ts +2 -4
- package/lib/cjs/styles/themes/next-gen/forms.js +1 -2
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +46 -17
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +25 -1
- package/lib/cjs/styles/themes/next-gen/variants/button.js +23 -2
- package/lib/cjs/styles/themes/next-gen/variants/menu.d.ts +0 -2
- package/lib/cjs/styles/themes/next-gen/variants/menu.js +1 -3
- package/lib/cjs/styles/themes/next-gen/variants/popoverMenu.d.ts +3 -0
- package/lib/cjs/styles/themes/next-gen/variants/popoverMenu.js +4 -1
- package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +7 -0
- package/lib/cjs/styles/themes/next-gen/variants/text.js +8 -1
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +13 -14
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +10 -12
- package/lib/components/Button/Buttons.styles.js +11 -1
- package/lib/components/LinkSelectField/LinkSelectField.js +14 -11
- package/lib/components/ListBox/ListBoxSection.js +1 -3
- package/lib/components/ListBox/Option.js +1 -1
- package/lib/components/Separator/Separator.styles.js +2 -2
- package/lib/components/Text/Text.styles.js +12 -7
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +1 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/menu.js +1 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/text.js +3 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +1 -3
- package/lib/styles/themes/astro/customProperties/index.js +3 -1
- package/lib/styles/themes/next-gen/customProperties/customSizes.js +3 -1
- package/lib/styles/themes/next-gen/customProperties/index.js +1 -1
- package/lib/styles/themes/next-gen/forms.js +1 -2
- package/lib/styles/themes/next-gen/variants/button.js +23 -2
- package/lib/styles/themes/next-gen/variants/menu.js +1 -3
- package/lib/styles/themes/next-gen/variants/popoverMenu.js +4 -1
- package/lib/styles/themes/next-gen/variants/text.js +8 -1
- package/lib/styles/themes/next-gen/variants/variants.js +10 -12
- package/package.json +1 -1
|
@@ -150,34 +150,32 @@ var modal = {
|
|
|
150
150
|
};
|
|
151
151
|
var listBox = {
|
|
152
152
|
container: {
|
|
153
|
-
|
|
154
|
-
pr: 0,
|
|
155
|
-
py: 'xs'
|
|
153
|
+
p: astroTokens.spacing.sm
|
|
156
154
|
},
|
|
157
155
|
option: {
|
|
158
|
-
py:
|
|
159
|
-
pl:
|
|
160
|
-
pr:
|
|
161
|
-
mr: 'sm',
|
|
156
|
+
py: astroTokens.spacing['md-s'],
|
|
157
|
+
pl: astroTokens.spacing['md-s'],
|
|
158
|
+
pr: astroTokens.spacing.md,
|
|
162
159
|
justifyContent: 'space-between',
|
|
163
|
-
borderRadius:
|
|
160
|
+
borderRadius: astroTokens.radius.md,
|
|
164
161
|
lineHeight: 'body',
|
|
165
162
|
color: 'gray-700',
|
|
166
163
|
'&.is-focused': {
|
|
167
164
|
color: 'font.hover',
|
|
168
165
|
bg: 'gray-100',
|
|
169
|
-
borderRadius:
|
|
166
|
+
borderRadius: astroTokens.radius.md
|
|
170
167
|
},
|
|
171
168
|
'&.is-focus-visible': {
|
|
172
169
|
boxShadow: 'inset 0 0 0 1px #1a73e8',
|
|
173
|
-
borderRadius:
|
|
170
|
+
borderRadius: astroTokens.radius.md,
|
|
174
171
|
zIndex: 1
|
|
175
172
|
},
|
|
176
173
|
'&.is-selected': {
|
|
174
|
+
fontWeight: '0',
|
|
177
175
|
color: 'black',
|
|
178
176
|
bg: 'lightblue',
|
|
179
177
|
pl: '.75rem',
|
|
180
|
-
borderRadius:
|
|
178
|
+
borderRadius: astroTokens.radius.md,
|
|
181
179
|
'&.is-focused': {
|
|
182
180
|
color: 'text.primary'
|
|
183
181
|
},
|
|
@@ -190,7 +188,7 @@ var listBox = {
|
|
|
190
188
|
bg: 'lightblue'
|
|
191
189
|
},
|
|
192
190
|
'&.is-condensed': {
|
|
193
|
-
pl:
|
|
191
|
+
pl: astroTokens.spacing.md,
|
|
194
192
|
bg: 'backgroundBase',
|
|
195
193
|
color: 'gray-700',
|
|
196
194
|
'&.is-selected': {
|