primer_view_components 0.7.0 → 0.9.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +50 -0
- data/app/assets/javascripts/primer_view_components.js +1 -1
- data/app/assets/javascripts/primer_view_components.js.map +1 -1
- data/app/assets/styles/primer_view_components.css +1 -1
- data/app/assets/styles/primer_view_components.css.map +1 -1
- data/app/components/primer/alpha/action_bar/item.rb +3 -2
- data/app/components/primer/alpha/action_bar.rb +1 -5
- data/app/components/primer/alpha/action_list.css +1 -1
- data/app/components/primer/alpha/action_list.css.json +1 -0
- data/app/components/primer/alpha/action_list.css.map +1 -1
- data/app/components/primer/alpha/action_list.pcss +6 -0
- data/app/components/primer/alpha/action_menu/action_menu_element.js +37 -6
- data/app/components/primer/alpha/action_menu/action_menu_element.ts +39 -5
- data/app/components/primer/alpha/overlay.css +1 -1
- data/app/components/primer/alpha/overlay.css.json +3 -1
- data/app/components/primer/alpha/overlay.css.map +1 -1
- data/app/components/primer/alpha/overlay.pcss +4 -0
- data/app/components/primer/alpha/tool_tip.js +28 -8
- data/app/components/primer/alpha/tool_tip.ts +27 -8
- data/app/components/primer/anchored_position.js +14 -5
- data/app/components/primer/anchored_position.ts +13 -4
- data/app/components/primer/beta/button.css +1 -1
- data/app/components/primer/beta/button.css.json +1 -0
- data/app/components/primer/beta/button.css.map +1 -1
- data/app/components/primer/beta/button.pcss +4 -0
- data/app/components/primer/beta/button.rb +6 -1
- data/app/components/primer/beta/flash.css +1 -1
- data/app/components/primer/beta/flash.css.map +1 -1
- data/app/components/primer/beta/flash.html.erb +1 -3
- data/app/components/primer/beta/flash.pcss +1 -2
- data/app/components/primer/beta/spinner.html.erb +1 -1
- data/app/components/primer/component.rb +1 -1
- data/app/lib/primer/fetch_or_fallback_helper.rb +1 -1
- data/lib/primer/view_components/linters/migrations/iconbutton_component.rb +36 -0
- data/lib/primer/view_components/version.rb +1 -1
- data/lib/primer/view_components.rb +18 -0
- data/previews/primer/alpha/overlay_preview/in_an_action_menu.html.erb +13 -0
- data/previews/primer/alpha/overlay_preview.rb +5 -0
- data/previews/primer/beta/button_preview/leading_visual.html.erb +2 -2
- data/previews/primer/beta/button_preview/leading_visual_svg.html.erb +12 -0
- data/previews/primer/beta/button_preview/trailing_counter.html.erb +1 -1
- data/previews/primer/beta/button_preview/trailing_visual.html.erb +1 -1
- data/previews/primer/beta/button_preview.rb +22 -0
- data/static/info_arch.json +27 -1
- data/static/previews.json +26 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9535eb3bb448d2b8e7b4c9334af8df24d77455fd36634380bb860c1ec15b01f
|
4
|
+
data.tar.gz: 37538037c2bd89f15d5d84d8446b0dcc6c09dbb69feac95f622a225b7bb31e39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8138ef11ce73f12dd5d188d75e90eea6ea961b57554ee95ef67dbd8e71e8e6943a65f7332477f0e82a496a25a182ec453d3b297324393f45fc79fffcbdcf5b5
|
7
|
+
data.tar.gz: 221801ee922bb45bbe62aaa0c8a8664df2ebaac6b34ea9132c867e5e461f41e67e5b76df37a48e77d116fc45cd8e2f4b5f7f810ce73db3a093bda299a8553aeb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,55 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 0.9.0
|
4
|
+
|
5
|
+
### Minor Changes
|
6
|
+
|
7
|
+
- [#2205](https://github.com/primer/view_components/pull/2205) [`88ac3095`](https://github.com/primer/view_components/commit/88ac309577b5b735af5067ee6ab2c8c30f48aefc) Thanks [@TylerJDev](https://github.com/TylerJDev)! - Add rubocop linter for `IconButton` component
|
8
|
+
|
9
|
+
<!-- Changed components: Primer::IconButton -->
|
10
|
+
|
11
|
+
- [#2223](https://github.com/primer/view_components/pull/2223) [`00b7d5d7`](https://github.com/primer/view_components/commit/00b7d5d78e2f52dc6bc6c54689e50da976289203) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving the render for the ActionBar::Item from the slot initializer to the call method.
|
12
|
+
|
13
|
+
<!-- Changed components: _none_ -->
|
14
|
+
|
15
|
+
### Patch Changes
|
16
|
+
|
17
|
+
- [#2227](https://github.com/primer/view_components/pull/2227) [`bb336bb6`](https://github.com/primer/view_components/commit/bb336bb6f034e20778b4834edae3540c365b9d9f) Thanks [@jonrohan](https://github.com/jonrohan)! - [Bug] Don't fill in the spinner circle svg path
|
18
|
+
|
19
|
+
- [#2237](https://github.com/primer/view_components/pull/2237) [`70a8336f`](https://github.com/primer/view_components/commit/70a8336fda45b144f81c1ece54b17a26037126e4) Thanks [@jonrohan](https://github.com/jonrohan)! - Fixing ActionBar more menu items including buttons with no type
|
20
|
+
|
21
|
+
<!-- Changed components: Primer::Alpha::ActionBar -->
|
22
|
+
|
23
|
+
- [#2204](https://github.com/primer/view_components/pull/2204) [`ed1644a2`](https://github.com/primer/view_components/commit/ed1644a2fa5b701611a13513cb903774f3f74152) Thanks [@keithamus](https://github.com/keithamus)! - Fix errors in older browsers with :popover-open
|
24
|
+
|
25
|
+
<!-- Changed components: Primer::Alpha::Tooltip -->
|
26
|
+
|
27
|
+
- [#2236](https://github.com/primer/view_components/pull/2236) [`d663e450`](https://github.com/primer/view_components/commit/d663e4508341f5b9ef1788b8a2231782ce3ed44d) Thanks [@keithamus](https://github.com/keithamus)! - Centre anchored-position elements when their anchor is not present
|
28
|
+
|
29
|
+
<!-- Changed components: Primer::Alpha::Overlay -->
|
30
|
+
|
31
|
+
## 0.8.0
|
32
|
+
|
33
|
+
### Minor Changes
|
34
|
+
|
35
|
+
- [#2215](https://github.com/primer/view_components/pull/2215) [`827634e9`](https://github.com/primer/view_components/commit/827634e9a442fc6a6508235bdd38a1739e88cf5e) Thanks [@mjimenez98](https://github.com/mjimenez98)! - Support SVGs as leading visuals in `Button` component
|
36
|
+
|
37
|
+
<!-- Changed components: Primer::Beta::Button -->
|
38
|
+
|
39
|
+
- [#2222](https://github.com/primer/view_components/pull/2222) [`e196af7b`](https://github.com/primer/view_components/commit/e196af7bed7f862f758f5edfd51107579128e0ee) Thanks [@jonrohan](https://github.com/jonrohan)! - Replace dismiss button in Flash with IconButton
|
40
|
+
|
41
|
+
<!-- Changed components: Primer::Beta::Flash -->
|
42
|
+
|
43
|
+
### Patch Changes
|
44
|
+
|
45
|
+
- [#2213](https://github.com/primer/view_components/pull/2213) [`bc4b3340`](https://github.com/primer/view_components/commit/bc4b33402a7cae813a77bafa7de9e1c7f2fc5419) Thanks [@camertron](https://github.com/camertron)! - Support Rails edge's custom deprecators
|
46
|
+
|
47
|
+
<!-- Changed components: _none_ -->
|
48
|
+
|
49
|
+
- [#2212](https://github.com/primer/view_components/pull/2212) [`3d0036ae`](https://github.com/primer/view_components/commit/3d0036ae50b611942347d065f5be55822ec17748) Thanks [@keithamus](https://github.com/keithamus)! - Fix dialog invocation within deferred ActionMenus
|
50
|
+
|
51
|
+
<!-- Changed components: Primer::Alpha::ActionMenu -->
|
52
|
+
|
3
53
|
## 0.7.0
|
4
54
|
|
5
55
|
### Minor Changes
|