@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.
Files changed (56) hide show
  1. package/lib/cjs/components/Button/Buttons.styles.d.ts +86 -0
  2. package/lib/cjs/components/Button/Buttons.styles.js +12 -2
  3. package/lib/cjs/components/LinkSelectField/LinkSelectField.js +15 -12
  4. package/lib/cjs/components/ListBox/ListBoxSection.js +1 -3
  5. package/lib/cjs/components/ListBox/Option.js +1 -1
  6. package/lib/cjs/components/Separator/Separator.styles.js +2 -2
  7. package/lib/cjs/components/Text/Text.styles.d.ts +11 -0
  8. package/lib/cjs/components/Text/Text.styles.js +12 -7
  9. package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +2 -0
  10. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +1 -0
  11. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +1 -1
  12. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/menu.d.ts +1 -2
  13. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/menu.js +1 -2
  14. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.d.ts +3 -0
  15. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.js +3 -0
  16. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +2 -5
  17. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +1 -3
  18. package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +1 -0
  19. package/lib/cjs/styles/themes/astro/customProperties/index.js +3 -1
  20. package/lib/cjs/styles/themes/next-gen/customProperties/customSizes.d.ts +1 -0
  21. package/lib/cjs/styles/themes/next-gen/customProperties/customSizes.js +3 -1
  22. package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +1 -0
  23. package/lib/cjs/styles/themes/next-gen/customProperties/index.js +1 -1
  24. package/lib/cjs/styles/themes/next-gen/forms.d.ts +2 -4
  25. package/lib/cjs/styles/themes/next-gen/forms.js +1 -2
  26. package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +46 -17
  27. package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +25 -1
  28. package/lib/cjs/styles/themes/next-gen/variants/button.js +23 -2
  29. package/lib/cjs/styles/themes/next-gen/variants/menu.d.ts +0 -2
  30. package/lib/cjs/styles/themes/next-gen/variants/menu.js +1 -3
  31. package/lib/cjs/styles/themes/next-gen/variants/popoverMenu.d.ts +3 -0
  32. package/lib/cjs/styles/themes/next-gen/variants/popoverMenu.js +4 -1
  33. package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +7 -0
  34. package/lib/cjs/styles/themes/next-gen/variants/text.js +8 -1
  35. package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +13 -14
  36. package/lib/cjs/styles/themes/next-gen/variants/variants.js +10 -12
  37. package/lib/components/Button/Buttons.styles.js +11 -1
  38. package/lib/components/LinkSelectField/LinkSelectField.js +14 -11
  39. package/lib/components/ListBox/ListBoxSection.js +1 -3
  40. package/lib/components/ListBox/Option.js +1 -1
  41. package/lib/components/Separator/Separator.styles.js +2 -2
  42. package/lib/components/Text/Text.styles.js +12 -7
  43. package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +1 -1
  44. package/lib/styles/themeOverrides/nextGenDarkMode/variants/menu.js +1 -2
  45. package/lib/styles/themeOverrides/nextGenDarkMode/variants/text.js +3 -0
  46. package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +1 -3
  47. package/lib/styles/themes/astro/customProperties/index.js +3 -1
  48. package/lib/styles/themes/next-gen/customProperties/customSizes.js +3 -1
  49. package/lib/styles/themes/next-gen/customProperties/index.js +1 -1
  50. package/lib/styles/themes/next-gen/forms.js +1 -2
  51. package/lib/styles/themes/next-gen/variants/button.js +23 -2
  52. package/lib/styles/themes/next-gen/variants/menu.js +1 -3
  53. package/lib/styles/themes/next-gen/variants/popoverMenu.js +4 -1
  54. package/lib/styles/themes/next-gen/variants/text.js +8 -1
  55. package/lib/styles/themes/next-gen/variants/variants.js +10 -12
  56. package/package.json +1 -1
@@ -150,34 +150,32 @@ var modal = {
150
150
  };
151
151
  var listBox = {
152
152
  container: {
153
- pl: 'sm',
154
- pr: 0,
155
- py: 'xs'
153
+ p: astroTokens.spacing.sm
156
154
  },
157
155
  option: {
158
- py: '.75rem',
159
- pl: '.75rem',
160
- pr: 'md',
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: '4px',
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: '4px'
166
+ borderRadius: astroTokens.radius.md
170
167
  },
171
168
  '&.is-focus-visible': {
172
169
  boxShadow: 'inset 0 0 0 1px #1a73e8',
173
- borderRadius: '4px',
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: '4px',
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: 'md',
191
+ pl: astroTokens.spacing.md,
194
192
  bg: 'backgroundBase',
195
193
  color: 'gray-700',
196
194
  '&.is-selected': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "2.199.1-alpha.0",
3
+ "version": "2.200.0-alpha.0",
4
4
  "description": "React component library for Ping Identity's design system",
5
5
  "repository": {
6
6
  "type": "git",