@egov3/system-design 1.3.147 → 1.3.149

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/cjs/index.js CHANGED
@@ -1,6 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  require('./styles/colors.css.js');
4
+ require('./styles/global.css.js');
5
+ require('./styles/normalize.css.js');
4
6
  var index = require('./baseComponents/Accordion/index.js');
5
7
  var index$4 = require('./baseComponents/BottomSheet/index.js');
6
8
  var index$5 = require('./baseComponents/Button/index.js');
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ var css_248z = "* {\n padding: 0;\n margin: 0;\n}\n\nfieldset,\nbutton {\n border: none;\n background-color: #fff;\n}\n";
4
+ function styleInject(css, options) {
5
+ if (typeof document === 'undefined') return;
6
+ const head = document.head || document.getElementsByTagName('head')[0];
7
+ const style = document.createElement('style');
8
+ style.type = 'text/css';
9
+ if (style.styleSheet) {
10
+ style.styleSheet.cssText = css;
11
+ } else {
12
+ style.appendChild(document.createTextNode(css));
13
+ }
14
+ head.appendChild(style);
15
+ }
16
+ styleInject(css_248z);
17
+ //# sourceMappingURL=global.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"global.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ var css_248z = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n/* https://necolas.github.io/normalize.css/8.0.1/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n";
4
+ function styleInject(css, options) {
5
+ if (typeof document === 'undefined') return;
6
+ const head = document.head || document.getElementsByTagName('head')[0];
7
+ const style = document.createElement('style');
8
+ style.type = 'text/css';
9
+ if (style.styleSheet) {
10
+ style.styleSheet.cssText = css;
11
+ } else {
12
+ style.appendChild(document.createTextNode(css));
13
+ }
14
+ head.appendChild(style);
15
+ }
16
+ styleInject(css_248z);
17
+ //# sourceMappingURL=normalize.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"normalize.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
package/dist/esm/index.js CHANGED
@@ -1,4 +1,6 @@
1
1
  import './styles/colors.css.js';
2
+ import './styles/global.css.js';
3
+ import './styles/normalize.css.js';
2
4
  export { Accordion } from './baseComponents/Accordion/index.js';
3
5
  export { BottomSheet } from './baseComponents/BottomSheet/index.js';
4
6
  export { Button } from './baseComponents/Button/index.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,15 @@
1
+ var css_248z = "* {\n padding: 0;\n margin: 0;\n}\n\nfieldset,\nbutton {\n border: none;\n background-color: #fff;\n}\n";
2
+ function styleInject(css, options) {
3
+ if (typeof document === 'undefined') return;
4
+ const head = document.head || document.getElementsByTagName('head')[0];
5
+ const style = document.createElement('style');
6
+ style.type = 'text/css';
7
+ if (style.styleSheet) {
8
+ style.styleSheet.cssText = css;
9
+ } else {
10
+ style.appendChild(document.createTextNode(css));
11
+ }
12
+ head.appendChild(style);
13
+ }
14
+ styleInject(css_248z);
15
+ //# sourceMappingURL=global.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"global.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -0,0 +1,15 @@
1
+ var css_248z = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n/* https://necolas.github.io/normalize.css/8.0.1/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput {\n /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect {\n /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n";
2
+ function styleInject(css, options) {
3
+ if (typeof document === 'undefined') return;
4
+ const head = document.head || document.getElementsByTagName('head')[0];
5
+ const style = document.createElement('style');
6
+ style.type = 'text/css';
7
+ if (style.styleSheet) {
8
+ style.styleSheet.cssText = css;
9
+ } else {
10
+ style.appendChild(document.createTextNode(css));
11
+ }
12
+ head.appendChild(style);
13
+ }
14
+ styleInject(css_248z);
15
+ //# sourceMappingURL=normalize.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"normalize.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -0,0 +1,65 @@
1
+ :root {
2
+ /* Buttons Colors */
3
+ --button-alternative-default-color: rgba(170, 170, 170, 0.64);
4
+ --button-disabled-default-color: #c5ccd3;
5
+ --button-primary-default: #0581da;
6
+ --button-primary-on-hover-color: #1a9cfa;
7
+ --button-secondary-default-color: #e6e9ec;
8
+ --button-secondary-on-hover: #c5ccd3;
9
+ --button-tinted-default-color: #e1f0fb;
10
+ --button-tinted-on-hover-color: #b2d9f5;
11
+ --button-black-default-color: #000;
12
+ --button-black-on-hover-color: #333;
13
+
14
+ /* Default Colors */
15
+ --default-primary-accent: #0581da;
16
+ --default-white-color: #fff;
17
+ --default-black-color: #000;
18
+
19
+ /* General lightmode colors */
20
+ --leaf: #c1dc19;
21
+
22
+ /* Icons Colors */
23
+ --icon-accent-color: #0581da;
24
+ --icon-error-color: #f35929;
25
+ --icon-primary-color: #000;
26
+ --icon-secondary-color: #758393;
27
+ --icon-success: #57bb09;
28
+ --icon-warning-color: #f3a229;
29
+ --icon-tertiary: #ccd1d7;
30
+ --icon-white-nonconvert-color: #fff;
31
+ --icon-disabled-color: #929daa;
32
+
33
+ /* Page Color */
34
+ --page-color-background-gray: #f0f2f4;
35
+ --page-color-background-white: #fff;
36
+
37
+ /* Surface Colors */
38
+ --surface-surface-1: #f0f2f4;
39
+ --surface-surface-2: #fff;
40
+ --surface-surface-3-color: #e3e7eb;
41
+ --surface-surface-alt: rgba(240, 242, 244, 0.8);
42
+ --surface-surface-black-nonconvert: #000;
43
+ --surface-surface-black-opacity: rgba(0, 0, 0, 0.24);
44
+ --surface-surface-white-nonconvert: #fff;
45
+ --surface-surface-tinted: #e1f0fb;
46
+ --surface-accent: #0581da;
47
+
48
+ /* Text Colors */
49
+ --text-accent: #0581da;
50
+ --text-disabled-accent-color: #9bcdf0;
51
+ --text-disabled-color: #929daa;
52
+ --text-primary: #000;
53
+ --text-secondary: #758393;
54
+ --text-white-nonconvert-color: #fff;
55
+ --text-error: #f35929;
56
+ --text-success: #57bb09;
57
+
58
+ /* Border-Stroke Colors */
59
+ --border-stroke-primary: #e6e9ec;
60
+
61
+ /*number of cards on tablet, laptop, and desktop screens*/
62
+ --tablet: 3;
63
+ --labtop: 4;
64
+ --desktop: 6;
65
+ }
@@ -0,0 +1,10 @@
1
+ * {
2
+ padding: 0;
3
+ margin: 0;
4
+ }
5
+
6
+ fieldset,
7
+ button {
8
+ border: none;
9
+ background-color: #fff;
10
+ }
@@ -0,0 +1,3 @@
1
+ @import "./colors.css";
2
+ @import "./global.css";
3
+ @import "./normalize.css";
@@ -0,0 +1,341 @@
1
+ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
2
+ /* https://necolas.github.io/normalize.css/8.0.1/normalize.css */
3
+
4
+ /* Document
5
+ ========================================================================== */
6
+
7
+ /**
8
+ * 1. Correct the line height in all browsers.
9
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
10
+ */
11
+
12
+ html {
13
+ line-height: 1.15; /* 1 */
14
+ -webkit-text-size-adjust: 100%; /* 2 */
15
+ }
16
+
17
+ /* Sections
18
+ ========================================================================== */
19
+
20
+ /**
21
+ * Remove the margin in all browsers.
22
+ */
23
+
24
+ body {
25
+ margin: 0;
26
+ }
27
+
28
+ /**
29
+ * Render the `main` element consistently in IE.
30
+ */
31
+
32
+ main {
33
+ display: block;
34
+ }
35
+
36
+ /* Grouping content
37
+ ========================================================================== */
38
+
39
+ /**
40
+ * 1. Add the correct box sizing in Firefox.
41
+ * 2. Show the overflow in Edge and IE.
42
+ */
43
+
44
+ hr {
45
+ box-sizing: content-box; /* 1 */
46
+ height: 0; /* 1 */
47
+ overflow: visible; /* 2 */
48
+ }
49
+
50
+ /**
51
+ * 1. Correct the inheritance and scaling of font size in all browsers.
52
+ * 2. Correct the odd `em` font sizing in all browsers.
53
+ */
54
+
55
+ pre {
56
+ font-family: monospace; /* 1 */
57
+ font-size: 1em; /* 2 */
58
+ }
59
+
60
+ /* Text-level semantics
61
+ ========================================================================== */
62
+
63
+ /**
64
+ * Remove the gray background on active links in IE 10.
65
+ */
66
+
67
+ a {
68
+ background-color: transparent;
69
+ }
70
+
71
+ /**
72
+ * 1. Remove the bottom border in Chrome 57-
73
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
74
+ */
75
+
76
+ abbr[title] {
77
+ border-bottom: none; /* 1 */
78
+ text-decoration: underline dotted; /* 2 */
79
+ }
80
+
81
+ /**
82
+ * Add the correct font weight in Chrome, Edge, and Safari.
83
+ */
84
+
85
+ b,
86
+ strong {
87
+ font-weight: bolder;
88
+ }
89
+
90
+ /**
91
+ * 1. Correct the inheritance and scaling of font size in all browsers.
92
+ * 2. Correct the odd `em` font sizing in all browsers.
93
+ */
94
+
95
+ code,
96
+ kbd,
97
+ samp {
98
+ font-family: monospace; /* 1 */
99
+ font-size: 1em; /* 2 */
100
+ }
101
+
102
+ /**
103
+ * Add the correct font size in all browsers.
104
+ */
105
+
106
+ small {
107
+ font-size: 80%;
108
+ }
109
+
110
+ /**
111
+ * Prevent `sub` and `sup` elements from affecting the line height in
112
+ * all browsers.
113
+ */
114
+
115
+ sub,
116
+ sup {
117
+ font-size: 75%;
118
+ line-height: 0;
119
+ position: relative;
120
+ vertical-align: baseline;
121
+ }
122
+
123
+ sub {
124
+ bottom: -0.25em;
125
+ }
126
+
127
+ sup {
128
+ top: -0.5em;
129
+ }
130
+
131
+ /* Embedded content
132
+ ========================================================================== */
133
+
134
+ /**
135
+ * Remove the border on images inside links in IE 10.
136
+ */
137
+
138
+ img {
139
+ border-style: none;
140
+ }
141
+
142
+ /* Forms
143
+ ========================================================================== */
144
+
145
+ /**
146
+ * 1. Change the font styles in all browsers.
147
+ * 2. Remove the margin in Firefox and Safari.
148
+ */
149
+
150
+ button,
151
+ input,
152
+ optgroup,
153
+ select,
154
+ textarea {
155
+ font-family: inherit; /* 1 */
156
+ font-size: 100%; /* 1 */
157
+ line-height: 1.15; /* 1 */
158
+ margin: 0; /* 2 */
159
+ }
160
+
161
+ /**
162
+ * Show the overflow in IE.
163
+ * 1. Show the overflow in Edge.
164
+ */
165
+
166
+ button,
167
+ input {
168
+ /* 1 */
169
+ overflow: visible;
170
+ }
171
+
172
+ /**
173
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
174
+ * 1. Remove the inheritance of text transform in Firefox.
175
+ */
176
+
177
+ button,
178
+ select {
179
+ /* 1 */
180
+ text-transform: none;
181
+ }
182
+
183
+ /**
184
+ * Correct the inability to style clickable types in iOS and Safari.
185
+ */
186
+
187
+ button,
188
+ [type="button"],
189
+ [type="reset"],
190
+ [type="submit"] {
191
+ -webkit-appearance: button;
192
+ }
193
+
194
+ /**
195
+ * Remove the inner border and padding in Firefox.
196
+ */
197
+
198
+ button::-moz-focus-inner,
199
+ [type="button"]::-moz-focus-inner,
200
+ [type="reset"]::-moz-focus-inner,
201
+ [type="submit"]::-moz-focus-inner {
202
+ border-style: none;
203
+ padding: 0;
204
+ }
205
+
206
+ /**
207
+ * Restore the focus styles unset by the previous rule.
208
+ */
209
+
210
+ button:-moz-focusring,
211
+ [type="button"]:-moz-focusring,
212
+ [type="reset"]:-moz-focusring,
213
+ [type="submit"]:-moz-focusring {
214
+ outline: 1px dotted ButtonText;
215
+ }
216
+
217
+ /**
218
+ * Correct the padding in Firefox.
219
+ */
220
+
221
+ fieldset {
222
+ padding: 0.35em 0.75em 0.625em;
223
+ }
224
+
225
+ /**
226
+ * 1. Correct the text wrapping in Edge and IE.
227
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
228
+ * 3. Remove the padding so developers are not caught out when they zero out
229
+ * `fieldset` elements in all browsers.
230
+ */
231
+
232
+ legend {
233
+ box-sizing: border-box; /* 1 */
234
+ color: inherit; /* 2 */
235
+ display: table; /* 1 */
236
+ max-width: 100%; /* 1 */
237
+ padding: 0; /* 3 */
238
+ white-space: normal; /* 1 */
239
+ }
240
+
241
+ /**
242
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
243
+ */
244
+
245
+ progress {
246
+ vertical-align: baseline;
247
+ }
248
+
249
+ /**
250
+ * Remove the default vertical scrollbar in IE 10+.
251
+ */
252
+
253
+ textarea {
254
+ overflow: auto;
255
+ }
256
+
257
+ /**
258
+ * 1. Add the correct box sizing in IE 10.
259
+ * 2. Remove the padding in IE 10.
260
+ */
261
+
262
+ [type="checkbox"],
263
+ [type="radio"] {
264
+ box-sizing: border-box; /* 1 */
265
+ padding: 0; /* 2 */
266
+ }
267
+
268
+ /**
269
+ * Correct the cursor style of increment and decrement buttons in Chrome.
270
+ */
271
+
272
+ [type="number"]::-webkit-inner-spin-button,
273
+ [type="number"]::-webkit-outer-spin-button {
274
+ height: auto;
275
+ }
276
+
277
+ /**
278
+ * 1. Correct the odd appearance in Chrome and Safari.
279
+ * 2. Correct the outline style in Safari.
280
+ */
281
+
282
+ [type="search"] {
283
+ -webkit-appearance: textfield; /* 1 */
284
+ outline-offset: -2px; /* 2 */
285
+ }
286
+
287
+ /**
288
+ * Remove the inner padding in Chrome and Safari on macOS.
289
+ */
290
+
291
+ [type="search"]::-webkit-search-decoration {
292
+ -webkit-appearance: none;
293
+ }
294
+
295
+ /**
296
+ * 1. Correct the inability to style clickable types in iOS and Safari.
297
+ * 2. Change font properties to `inherit` in Safari.
298
+ */
299
+
300
+ ::-webkit-file-upload-button {
301
+ -webkit-appearance: button; /* 1 */
302
+ font: inherit; /* 2 */
303
+ }
304
+
305
+ /* Interactive
306
+ ========================================================================== */
307
+
308
+ /*
309
+ * Add the correct display in Edge, IE 10+, and Firefox.
310
+ */
311
+
312
+ details {
313
+ display: block;
314
+ }
315
+
316
+ /*
317
+ * Add the correct display in all browsers.
318
+ */
319
+
320
+ summary {
321
+ display: list-item;
322
+ }
323
+
324
+ /* Misc
325
+ ========================================================================== */
326
+
327
+ /**
328
+ * Add the correct display in IE 10+.
329
+ */
330
+
331
+ template {
332
+ display: none;
333
+ }
334
+
335
+ /**
336
+ * Add the correct display in IE 10.
337
+ */
338
+
339
+ [hidden] {
340
+ display: none;
341
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@egov3/system-design",
3
- "version": "1.3.147",
3
+ "version": "1.3.149",
4
4
  "type": "module",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -21,6 +21,46 @@
21
21
  "import": "./dist/esm/components/*/index.js",
22
22
  "require": "./dist/cjs/components/*/index.js"
23
23
  },
24
+ "./styles": {
25
+ "types": "./dist/types/styles/index.d.ts",
26
+ "import": "./dist/styles/index.css",
27
+ "require": "./dist/cjs/styles/index.js"
28
+ },
29
+ "./styles/index.css": {
30
+ "types": "./dist/types/styles/index.d.ts",
31
+ "import": "./dist/styles/index.css",
32
+ "require": "./dist/cjs/styles/index.js"
33
+ },
34
+ "./styles/colors": {
35
+ "types": "./dist/types/styles/colors.d.ts",
36
+ "import": "./dist/styles/colors.css",
37
+ "require": "./dist/cjs/styles/colors.css.js"
38
+ },
39
+ "./styles/colors.css": {
40
+ "types": "./dist/types/styles/colors.d.ts",
41
+ "import": "./dist/styles/colors.css",
42
+ "require": "./dist/cjs/styles/colors.css.js"
43
+ },
44
+ "./styles/global": {
45
+ "types": "./dist/types/styles/global.d.ts",
46
+ "import": "./dist/styles/global.css",
47
+ "require": "./dist/cjs/styles/global.css.js"
48
+ },
49
+ "./styles/global.css": {
50
+ "types": "./dist/types/styles/global.d.ts",
51
+ "import": "./dist/styles/global.css",
52
+ "require": "./dist/cjs/styles/global.css.js"
53
+ },
54
+ "./styles/normalize": {
55
+ "types": "./dist/types/styles/normalize.d.ts",
56
+ "import": "./dist/styles/normalize.css",
57
+ "require": "./dist/cjs/styles/normalize.css.js"
58
+ },
59
+ "./styles/normalize.css": {
60
+ "types": "./dist/types/styles/normalize.d.ts",
61
+ "import": "./dist/styles/normalize.css",
62
+ "require": "./dist/cjs/styles/normalize.css.js"
63
+ },
24
64
  "./baseComponents": {
25
65
  "types": "./dist/types/baseComponents/index.d.ts",
26
66
  "import": "./dist/esm/baseComponents/index.js",
@@ -40,7 +80,7 @@
40
80
  "url": "https://github.com/egov3/system-design.git"
41
81
  },
42
82
  "scripts": {
43
- "build": "rollup -c rollup.config.mjs",
83
+ "build": "rollup -c rollup.config.mjs && node scripts/copy-style-assets.mjs",
44
84
  "test": "jest",
45
85
  "test:unit:coverage": "jest --coverage",
46
86
  "lint": "biome check .",