@digigov/css 1.2.1-496927f3 → 2.0.0-a7ffb5dc
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/dist/base/index.css +1 -1
- package/dist/base.js +1 -1
- package/dist/components.js +1 -1
- package/dist/digigov.css +3 -3
- package/dist/utilities/index.css +1 -1
- package/dist/utilities.js +1 -1
- package/package.json +1 -1
- package/src/components/accordion.css +37 -37
- package/src/components/admin-header.css +9 -9
- package/src/components/admin-layout.css +8 -8
- package/src/components/autocomplete.css +31 -31
- package/src/components/back-to-top.css +4 -4
- package/src/components/bottom-info.css +2 -2
- package/src/components/breadcrumbs.css +5 -5
- package/src/components/button.css +47 -47
- package/src/components/card.css +27 -27
- package/src/components/checkboxes.css +17 -17
- package/src/components/chip.css +16 -16
- package/src/components/copy-to-clipboard.css +18 -18
- package/src/components/details.css +4 -4
- package/src/components/dev-theme.css +1 -1
- package/src/components/drawer.css +30 -30
- package/src/components/dropdown.css +37 -37
- package/src/components/experimental.css +10 -10
- package/src/components/fillable.css +3 -3
- package/src/components/filter.css +51 -51
- package/src/components/footer.css +24 -24
- package/src/components/form.css +85 -85
- package/src/components/full-page-background.css +1 -1
- package/src/components/header.css +40 -40
- package/src/components/hidden.css +11 -11
- package/src/components/kitchensink.css +18 -18
- package/src/components/layout.css +31 -31
- package/src/components/loader.css +11 -11
- package/src/components/masthead.css +23 -23
- package/src/components/misc.css +11 -11
- package/src/components/modal.css +11 -11
- package/src/components/nav.css +48 -48
- package/src/components/notification-banner.css +15 -15
- package/src/components/pagination.css +24 -24
- package/src/components/panel.css +4 -4
- package/src/components/phase-banner.css +7 -7
- package/src/components/radios.css +15 -15
- package/src/components/skiplink.css +1 -1
- package/src/components/stack.css +22 -22
- package/src/components/stepnav.css +42 -42
- package/src/components/summary-list.css +32 -32
- package/src/components/svg-icons.css +26 -29
- package/src/components/table.css +98 -98
- package/src/components/tabs.css +18 -18
- package/src/components/task-list.css +20 -20
- package/src/components/timeline.css +16 -16
- package/src/components/typography.css +87 -87
- package/src/components/warning-text.css +6 -6
- package/src/pages/admin-filtering-data.js +86 -86
- package/src/pages/admin.js +36 -36
- package/src/pages/dropdown.js +109 -109
- package/src/pages/form.js +210 -210
- package/src/pages/headings/service-heading.js +9 -9
- package/src/pages/index.js +201 -201
- package/src/pages/pagination.js +49 -49
- package/src/pages/table.js +223 -223
- package/src/utilities/index.css +195 -195
- package/src/utilities/utilities.css +416 -416
- package/tailwind.config.js +0 -2
- package/themes.plugin.js +1 -1
package/src/pages/pagination.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
export default function Pagination() {
|
|
2
2
|
return (
|
|
3
3
|
<div class="example">
|
|
4
|
-
<nav class="
|
|
5
|
-
<p class="
|
|
6
|
-
<ul class="
|
|
7
|
-
<li class="
|
|
8
|
-
<a class="
|
|
4
|
+
<nav class="ds-pagination" >
|
|
5
|
+
<p class="ds-pagination__label">Showing <b>10</b> to <b>20</b> of <b>300000000000</b> pages</p>
|
|
6
|
+
<ul class="ds-pagination__list">
|
|
7
|
+
<li class="ds-pagination__item">
|
|
8
|
+
<a class="ds-link" href="">
|
|
9
9
|
<svg
|
|
10
10
|
aria-hidden="true"
|
|
11
|
-
className="
|
|
11
|
+
className=" ds-svg-icon ds-svg-icon--arrow--left"
|
|
12
12
|
focusable="false"
|
|
13
13
|
viewBox="0 0 24 24"
|
|
14
14
|
>
|
|
15
15
|
<path
|
|
16
16
|
d="M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z"
|
|
17
17
|
/>
|
|
18
|
-
</svg><span class="
|
|
18
|
+
</svg><span class="ds-visually-hidden"> set of pages</span></a>
|
|
19
19
|
</li>
|
|
20
20
|
|
|
21
|
-
<li class="
|
|
22
|
-
<li class="
|
|
23
|
-
<li class="
|
|
24
|
-
<li class="
|
|
25
|
-
<li class="
|
|
26
|
-
<li class="
|
|
27
|
-
<li class="
|
|
21
|
+
<li class="ds-pagination__item"><a class="ds-link" href="/page=1">1</a></li>
|
|
22
|
+
<li class="ds-pagination__item ds-pagination__item--current">2</li>
|
|
23
|
+
<li class="ds-pagination__item"><a class="ds-link" href="/page=3">3</a></li>
|
|
24
|
+
<li class="ds-pagination__item ds-pagination__item--dots">...</li>
|
|
25
|
+
<li class="ds-pagination__item"><a class="ds-link" href="/page=5">5</a></li>
|
|
26
|
+
<li class="ds-pagination__item"><a class="ds-link" href="/page=6">6</a></li>
|
|
27
|
+
<li class="ds-pagination__item"><a class="ds-link" href="/page=7">7</a></li>
|
|
28
28
|
|
|
29
|
-
<li class="
|
|
30
|
-
<a class="
|
|
29
|
+
<li class="ds-pagination__item">
|
|
30
|
+
<a class="ds-link" href=""><span class="ds-visually-hidden"> set of pages</span>
|
|
31
31
|
<svg
|
|
32
32
|
aria-hidden="true"
|
|
33
|
-
className="
|
|
33
|
+
className=" ds-svg-icon ds-svg-icon--arrow--right"
|
|
34
34
|
focusable="false"
|
|
35
35
|
viewBox="0 0 24 24"
|
|
36
36
|
>
|
|
@@ -42,32 +42,32 @@ export default function Pagination() {
|
|
|
42
42
|
</ul>
|
|
43
43
|
</nav>
|
|
44
44
|
|
|
45
|
-
<nav class="
|
|
46
|
-
<p class="
|
|
47
|
-
<ul class="
|
|
48
|
-
<li class="
|
|
49
|
-
<a class="
|
|
45
|
+
<nav class="ds-pagination" >
|
|
46
|
+
<p class="ds-pagination__label">Showing <b>10</b> to <b>20</b> of <b>30</b> pages</p>
|
|
47
|
+
<ul class="ds-pagination__list">
|
|
48
|
+
<li class="ds-pagination__item ds-pagination__item--inactive">
|
|
49
|
+
<a class="ds-link" href="">
|
|
50
50
|
<svg
|
|
51
51
|
aria-hidden="true"
|
|
52
|
-
className="
|
|
52
|
+
className=" ds-svg-icon ds-svg-icon--arrow--left"
|
|
53
53
|
focusable="false"
|
|
54
54
|
viewBox="0 0 24 24"
|
|
55
55
|
>
|
|
56
56
|
<path
|
|
57
57
|
d="M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z"
|
|
58
58
|
/>
|
|
59
|
-
</svg>Previous<span class="
|
|
59
|
+
</svg>Previous<span class="ds-visually-hidden"> set of pages</span></a>
|
|
60
60
|
</li>
|
|
61
|
-
<li class="
|
|
62
|
-
<li class="
|
|
63
|
-
<li class="
|
|
64
|
-
<li class="
|
|
65
|
-
<li class="
|
|
66
|
-
<li class="
|
|
67
|
-
<a class="
|
|
61
|
+
<li class="ds-pagination__item ds-pagination__item--current">1</li>
|
|
62
|
+
<li class="ds-pagination__item"><a class="ds-link" href="/page=1">2</a></li>
|
|
63
|
+
<li class="ds-pagination__item"><a class="ds-link" href="/page=3">3</a></li>
|
|
64
|
+
<li class="ds-pagination__item ds-pagination__item--dots">...</li>
|
|
65
|
+
<li class="ds-pagination__item"><a class="ds-link" href="/page=5">5</a></li>
|
|
66
|
+
<li class="ds-pagination__item">
|
|
67
|
+
<a class="ds-link" href="">Next<span class="ds-visually-hidden"> set of pages</span>
|
|
68
68
|
<svg
|
|
69
69
|
aria-hidden="true"
|
|
70
|
-
className="
|
|
70
|
+
className=" ds-svg-icon ds-svg-icon--arrow--right"
|
|
71
71
|
focusable="false"
|
|
72
72
|
viewBox="0 0 24 24"
|
|
73
73
|
>
|
|
@@ -80,34 +80,34 @@ export default function Pagination() {
|
|
|
80
80
|
|
|
81
81
|
</nav>
|
|
82
82
|
|
|
83
|
-
<nav class="
|
|
84
|
-
<p class="
|
|
85
|
-
<ul class="
|
|
86
|
-
<li class="
|
|
87
|
-
<a class="
|
|
83
|
+
<nav class="ds-pagination" >
|
|
84
|
+
<p class="ds-pagination__label">Showing <b>10</b> to <b>20</b> of <b>30</b> pages</p>
|
|
85
|
+
<ul class="ds-pagination__list">
|
|
86
|
+
<li class="ds-pagination__item ds-pagination__item">
|
|
87
|
+
<a class="ds-link" href="">
|
|
88
88
|
<svg
|
|
89
89
|
aria-hidden="true"
|
|
90
|
-
className="
|
|
90
|
+
className=" ds-svg-icon ds-svg-icon--arrow--left"
|
|
91
91
|
focusable="false"
|
|
92
92
|
viewBox="0 0 24 24"
|
|
93
93
|
>
|
|
94
94
|
<path
|
|
95
95
|
d="M14.8,22l2.4-2.3L9.6,12l7.6-7.6L14.8,2l-10,10L14.8,22z"
|
|
96
96
|
/>
|
|
97
|
-
</svg>Previous<span class="
|
|
97
|
+
</svg>Previous<span class="ds-visually-hidden"> set of pages</span></a>
|
|
98
98
|
</li>
|
|
99
|
-
<li class="
|
|
100
|
-
<li class="
|
|
101
|
-
<li class="
|
|
102
|
-
<li class="
|
|
103
|
-
<li class="
|
|
104
|
-
<li class="
|
|
105
|
-
<li class="
|
|
106
|
-
<li class="
|
|
107
|
-
<a class="
|
|
99
|
+
<li class="ds-pagination__item"><a class="ds-link" href="/page=1">1</a></li>
|
|
100
|
+
<li class="ds-pagination__item"><a class="ds-link" href="/page=2">2</a></li>
|
|
101
|
+
<li class="ds-pagination__item"><a class="ds-link" href="/page=3">3</a></li>
|
|
102
|
+
<li class="ds-pagination__item ds-pagination__item--dots">...</li>
|
|
103
|
+
<li class="ds-pagination__item"><a class="ds-link" href="/page=5">5</a></li>
|
|
104
|
+
<li class="ds-pagination__item"><a class="ds-link" href="/page=6">6</a></li>
|
|
105
|
+
<li class="ds-pagination__item ds-pagination__item--current">7</li>
|
|
106
|
+
<li class="ds-pagination__item ds-pagination__item--inactive">
|
|
107
|
+
<a class="ds-link" href="">Next<span class="ds-visually-hidden"> set of pages</span>
|
|
108
108
|
<svg
|
|
109
109
|
aria-hidden="true"
|
|
110
|
-
className="
|
|
110
|
+
className=" ds-svg-icon ds-svg-icon--arrow--right"
|
|
111
111
|
focusable="false"
|
|
112
112
|
viewBox="0 0 24 24"
|
|
113
113
|
>
|