playbook_ui 12.3.0 → 12.3.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8107531bd754facc01a80aedb5b7956eb79956baedf3d2e28f2db4420517fe6
4
- data.tar.gz: aa77714fae9271ae04db50d7710b0c2caa73d54630a44539662db692961740f7
3
+ metadata.gz: 03ffd4e3909a43dd2714dc9758a33fc752497e9094813c57184cfd8eab6c2425
4
+ data.tar.gz: 5fe6360b001e357d6e211c16e36ec5ddaf30ff5bc6d88d3d07272cd52d305076
5
5
  SHA512:
6
- metadata.gz: ed56aaf5ee1784be72653399126d4b054855352d7f9ac48f6086edc3b8cb337ba85a0b85af2296627ddc3b3e652ff70f219de091115a2ae6b953c771b81cda5c
7
- data.tar.gz: 84d49e68f3dd13e10c62bf587f502b3604c956a23becb08ba3bdc48801a22960e60e808fa79e8c35792741c4b2f22106d563b1335b1fb92a3407cd6844564a3e
6
+ metadata.gz: '09002a0c8f9c2983ee3f5e484d75ef119bd874bcd85f39a6b23c8bb5b656b531543525ddbb83c1565eb308517f78c315918583ab5850966e3f5b33ab6583ea4d'
7
+ data.tar.gz: af4db16c100917ba7fda5be538be2be422610c9bb41b8d6dc58e3ff54763171f6f48a6b6bf2a2302db52904863533b37137c560363cbaf65c148df304c969ec8
@@ -105,4 +105,5 @@
105
105
  @import './utilities/line_height';
106
106
  @import './utilities/display';
107
107
  @import './utilities/flexbox';
108
+ @import './utilities/focus';
108
109
 
@@ -5,7 +5,7 @@
5
5
  @import "../tokens/spacing";
6
6
  @import "../tokens/transition";
7
7
  @import "../tokens/typography";
8
- @import "../mixins/accessibility";
8
+ @import "../utilities/focus";
9
9
 
10
10
  $pb_button_size: 40px;
11
11
  $pb_button_v_padding: 7px;
@@ -0,0 +1,12 @@
1
+ @mixin focus {
2
+ &:focus-visible {
3
+ outline: none;
4
+ box-shadow: 0px 0px 0 2px white, 0px 0px 0 4px $primary_action;
5
+ }
6
+ }
7
+ @mixin focus-dark {
8
+ &:focus-visible {
9
+ outline: none;
10
+ box-shadow: 0px 0px 0 2px $bg_dark_card, 0px 0px 0 4px $primary_action;
11
+ }
12
+ }
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- PREVIOUS_VERSION = "12.2.0"
5
- VERSION = "12.3.0"
4
+ PREVIOUS_VERSION = "12.3.0"
5
+ VERSION = "12.3.1"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.3.0
4
+ version: 12.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-02-13 00:00:00.000000000 Z
12
+ date: 2023-02-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -2299,6 +2299,7 @@ files:
2299
2299
  - app/pb_kits/playbook/utilities/_cursor.scss
2300
2300
  - app/pb_kits/playbook/utilities/_display.scss
2301
2301
  - app/pb_kits/playbook/utilities/_flexbox.scss
2302
+ - app/pb_kits/playbook/utilities/_focus.scss
2302
2303
  - app/pb_kits/playbook/utilities/_line_height.scss
2303
2304
  - app/pb_kits/playbook/utilities/_max_width.scss
2304
2305
  - app/pb_kits/playbook/utilities/_mixins.scss