@papillonbits/css 0.17.0 → 0.18.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.
@@ -99,8 +99,6 @@ button,
99
99
  [role='button'],
100
100
  input[type='radio'],
101
101
  input[type='checkbox'] {
102
- transition: 80ms cubic-bezier(0.33, 1, 0.68, 1);
103
- transition-property: color, background-color, box-shadow, border-color;
104
102
  // fallback :focus state
105
103
  &:focus {
106
104
  @include focusOutline;
@@ -147,6 +147,13 @@ $breakpoints: (
147
147
  xl: $width-xl
148
148
  ) !default;
149
149
 
150
+ // Viewport ranges
151
+ // Soon to be provided by Primer Primitives directly
152
+ // https://github.com/primer/primitives/blob/main/tokens/functional/size/viewport.json
153
+ $viewport-narrow: 'max-width: #{$width-md - 0.02px}' !default;
154
+ $viewport-regular: 'min-width: #{$width-md}' !default;
155
+ $viewport-wide: 'min-width: 1400px' !default;
156
+
150
157
  // This map in the form (breakpoint: variant) is used to iterate over
151
158
  // breakpoints and create both responsive and non-responsive classes in one
152
159
  // loop:
@@ -117,7 +117,7 @@
117
117
  clip: rect(1px, 1px, 1px, 1px);
118
118
 
119
119
  &:focus {
120
- z-index: 20;
120
+ z-index: 999;
121
121
  width: auto;
122
122
  height: auto;
123
123
  clip: auto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@papillonbits/css",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "description": "Papillon Bits CSS",
5
5
  "homepage": "https://github.com/papillonbits/papillonbits/tree/master/packages/css",
6
6
  "repository": {
@@ -23,5 +23,5 @@
23
23
  "build-acceptance": "npm run build",
24
24
  "build-release": "npm run build"
25
25
  },
26
- "gitHead": "f97ed3a1ec6aa8fe7fcfbc3f4be821bf20d4265c"
26
+ "gitHead": "14c074a7a4673f5e08bd2b818b696b123e92eefa"
27
27
  }