@pictogrammers/components 0.5.3 → 0.5.4

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pictogrammers/components",
3
3
  "type": "module",
4
- "version": "0.5.3",
4
+ "version": "0.5.4",
5
5
  "license": "MIT",
6
6
  "author": "Austin Andrews",
7
7
  "scripts": {
@@ -8,15 +8,14 @@
8
8
  <h2 id="dialog_label"
9
9
  class="dialog_label"
10
10
  part="headerText">
11
- Add Delivery Address
11
+ Alert
12
12
  </h2>
13
13
  </header>
14
14
  <main>
15
15
  <p part="message"></p>
16
16
  </main>
17
17
  <footer>
18
- <pg-button part="no">No</pg-button>
19
- <pg-button part="yes" variant="brand">Yes</pg-button>
18
+ <pg-button part="okay" variant="brand">Okay</pg-button>
20
19
  </footer>
21
20
  </div>
22
21
  </div>
@@ -0,0 +1,40 @@
1
+ .backdrop {
2
+ display: flex;
3
+ position: fixed;
4
+ top: 0;
5
+ left: 0;
6
+ right: 0;
7
+ bottom: 0;
8
+ background: rgba(0, 0, 0, 0.6);
9
+ justify-content: center;
10
+ align-items: center;
11
+ }
12
+ .dialog {
13
+ background: #fff;
14
+ border-radius: 0.5rem;
15
+ box-shadow: 0 1px 1rem rgba(0, 0, 0, 0.5);
16
+ overflow: hidden;
17
+ min-width: 15rem;
18
+ }
19
+ header {
20
+ border-bottom: 1px solid #ccc;
21
+ background: #f1f1f1;
22
+ padding: 0.75rem 1rem;
23
+ }
24
+ header h2 {
25
+ font-size: 1.25rem;
26
+ margin: 0;
27
+ font-weight: normal;
28
+ }
29
+ main {
30
+ padding: 0.5rem 1rem;
31
+ }
32
+ footer {
33
+ display: flex;
34
+ flex-direction: row;
35
+ padding: 0.75rem 1rem;
36
+ border-top: 1px solid #ccc;
37
+ background: #f1f1f1;
38
+ justify-content: flex-end;
39
+ gap: 0.5rem;
40
+ }