@abcnews/components-builder 0.0.12 → 0.0.13

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.
@@ -53,51 +53,58 @@
53
53
  border: 1px solid rgba(0, 0, 0, 0.2);
54
54
  border-radius: 0.5rem;
55
55
  animation: fadein 0.2s;
56
- &::backdrop {
57
- animation: fadein 0.2s;
58
- background: rgba(0, 0, 0, 0.05);
59
- }
60
- :global {
61
- .menu {
62
- list-style: none;
63
- margin: 0;
64
- padding: 0;
65
- }
66
- .menu--double {
67
- display: grid;
68
- grid-template-columns: 50% 50%;
69
- gap: 0.25rem;
70
- & li {
71
- white-space: nowrap;
72
- }
73
- }
74
- .section {
75
- padding: 0.75rem;
76
- }
56
+ }
77
57
 
78
- .item,
79
- button.item {
80
- display: block;
81
- width: 100%;
82
- border: none;
83
- background: none;
84
- text-align: left;
85
- cursor: pointer;
86
- margin: 0 !important;
87
- font-size: 1rem;
88
- &:focus-visible,
89
- &:hover {
90
- background: Highlight;
91
- color: HighlightText;
92
- }
93
- }
94
- hr {
95
- border: none;
96
- margin: 0;
97
- padding: 0;
98
- border-bottom: 1px solid var(--border);
99
- }
100
- }
58
+ .dialog::backdrop {
59
+ animation: fadein 0.2s;
60
+ background: rgba(0, 0, 0, 0.05);
61
+ }
62
+
63
+ :global(.dialog .menu) {
64
+ list-style: none;
65
+ margin: 0;
66
+ padding: 0;
67
+ }
68
+
69
+ :global(.dialog .menu--double) {
70
+ display: grid;
71
+ grid-template-columns: 50% 50%;
72
+ gap: 0.25rem;
73
+ }
74
+
75
+ :global(.dialog .menu--double li) {
76
+ white-space: nowrap;
77
+ }
78
+
79
+ :global(.dialog .section) {
80
+ padding: 0.75rem;
81
+ }
82
+
83
+ :global(.dialog .item),
84
+ :global(.dialog button.item) {
85
+ display: block;
86
+ width: 100%;
87
+ border: none;
88
+ background: none;
89
+ text-align: left;
90
+ cursor: pointer;
91
+ margin: 0 !important;
92
+ font-size: 1rem;
93
+ }
94
+
95
+ :global(.dialog .item:focus-visible),
96
+ :global(.dialog .item:hover),
97
+ :global(.dialog button.item:focus-visible),
98
+ :global(.dialog button.item:hover) {
99
+ background: Highlight;
100
+ color: HighlightText;
101
+ }
102
+
103
+ :global(.dialog hr) {
104
+ border: none;
105
+ margin: 0;
106
+ padding: 0;
107
+ border-bottom: 1px solid var(--border);
101
108
  }
102
109
 
103
110
  @keyframes fadein {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abcnews/components-builder",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",