@formio/uswds 2.4.8 → 2.5.0-rc.1
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/Readme.md +4 -4
- package/dist/uswds.css +47 -0
- package/dist/uswds.js +78 -47
- package/dist/uswds.min.css +1 -1
- package/dist/uswds.min.js +1 -1
- package/lib/components/index.d.ts +1 -1
- package/lib/components/index.js +2 -2
- package/lib/css/styles.css +47 -0
- package/lib/index.d.ts +6 -2
- package/lib/index.js +1 -1
- package/lib/sass/styles.scss +47 -0
- package/lib/templates/index.d.ts +4 -0
- package/lib/templates/uswds/datatable/form.ejs.js +43 -0
- package/lib/templates/uswds/datatable/html.ejs.js +47 -0
- package/lib/templates/uswds/datatable/index.d.ts +5 -0
- package/lib/templates/uswds/datatable/index.js +5 -0
- package/lib/templates/uswds/index.d.ts +4 -0
- package/lib/templates/uswds/index.js +2 -0
- package/package.json +1 -1
- /package/lib/components/{Checkbox → checkbox}/Checkbox.d.ts +0 -0
- /package/lib/components/{Checkbox → checkbox}/Checkbox.form.d.ts +0 -0
- /package/lib/components/{Checkbox → checkbox}/Checkbox.form.js +0 -0
- /package/lib/components/{Checkbox → checkbox}/Checkbox.js +0 -0
- /package/lib/components/{Radio → radio}/Radio.d.ts +0 -0
- /package/lib/components/{Radio → radio}/Radio.form.d.ts +0 -0
- /package/lib/components/{Radio → radio}/Radio.form.js +0 -0
- /package/lib/components/{Radio → radio}/Radio.js +0 -0
package/Readme.md
CHANGED
|
@@ -16,10 +16,10 @@ Or if you would like to embed directly within your website, you can use the foll
|
|
|
16
16
|
<html>
|
|
17
17
|
<head>
|
|
18
18
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
|
19
|
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uswds/
|
|
19
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uswds/3.1.0/css/uswds.min.css">
|
|
20
20
|
<link rel="stylesheet" href="https://cdn.form.io/formiojs/formio.form.min.css">
|
|
21
21
|
<link rel="stylesheet" href="https://cdn.form.io/uswds/uswds.min.css">
|
|
22
|
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/uswds/
|
|
22
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/uswds/3.1.0/js/uswds.min.js"></script>
|
|
23
23
|
<script src="https://cdn.form.io/formiojs/formio.form.min.js"></script>
|
|
24
24
|
<script src="https://cdn.form.io/uswds/uswds.min.js"></script>
|
|
25
25
|
</head>
|
|
@@ -42,10 +42,10 @@ In addition to being a Form Renderer, you can also use this library to embed the
|
|
|
42
42
|
<html>
|
|
43
43
|
<head>
|
|
44
44
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
|
45
|
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uswds/
|
|
45
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uswds/3.1.0/css/uswds.min.css">
|
|
46
46
|
<link rel="stylesheet" href="https://cdn.form.io/formiojs/formio.full.min.css">
|
|
47
47
|
<link rel="stylesheet" href="https://cdn.form.io/uswds/uswds.min.css">
|
|
48
|
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/uswds/
|
|
48
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/uswds/3.1.0/js/uswds.min.js"></script>
|
|
49
49
|
<script src="https://cdn.form.io/formiojs/formio.full.min.js"></script>
|
|
50
50
|
<script src="https://cdn.form.io/uswds/uswds.min.js"></script>
|
|
51
51
|
</head>
|
package/dist/uswds.css
CHANGED
|
@@ -41,6 +41,53 @@ span[role=link]:hover {
|
|
|
41
41
|
display: none;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
+
.dropdown-menu {
|
|
45
|
+
position: absolute;
|
|
46
|
+
z-index: 1000;
|
|
47
|
+
display: none;
|
|
48
|
+
min-width: 10rem;
|
|
49
|
+
padding: 0.5rem 0;
|
|
50
|
+
margin: 0;
|
|
51
|
+
font-size: 1rem;
|
|
52
|
+
color: #212529;
|
|
53
|
+
text-align: left;
|
|
54
|
+
list-style: none;
|
|
55
|
+
background-color: #fff;
|
|
56
|
+
background-clip: padding-box;
|
|
57
|
+
border: 1px solid rgba(0, 0, 0, 0.15);
|
|
58
|
+
border-radius: 0.25rem;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.dropdown-menu.show {
|
|
62
|
+
display: block;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.dropdown-item {
|
|
66
|
+
display: block;
|
|
67
|
+
width: 100%;
|
|
68
|
+
padding: 0.25rem 1rem;
|
|
69
|
+
clear: both;
|
|
70
|
+
font-weight: 400;
|
|
71
|
+
color: #212529;
|
|
72
|
+
text-align: inherit;
|
|
73
|
+
text-decoration: none;
|
|
74
|
+
white-space: nowrap;
|
|
75
|
+
background-color: transparent;
|
|
76
|
+
border: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.dropdown-item:hover, .dropdown-item:focus {
|
|
80
|
+
color: #1e2125;
|
|
81
|
+
background-color: #e9ecef;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.dropdown-divider {
|
|
85
|
+
height: 0;
|
|
86
|
+
margin: 0.5rem 0;
|
|
87
|
+
overflow: hidden;
|
|
88
|
+
border-top: 1px solid #e9ecef;
|
|
89
|
+
}
|
|
90
|
+
|
|
44
91
|
.flatpickr-current-month .flatpickr-monthDropdown-months:focus,
|
|
45
92
|
.flatpickr-current-month input.cur-year:focus,
|
|
46
93
|
.flatpickr-days:focus {
|
package/dist/uswds.js
CHANGED
|
@@ -19,50 +19,6 @@
|
|
|
19
19
|
return /******/ (function() { // webpackBootstrap
|
|
20
20
|
/******/ var __webpack_modules__ = ({
|
|
21
21
|
|
|
22
|
-
/***/ "./lib/components/Checkbox/Checkbox.form.js":
|
|
23
|
-
/*!**************************************************!*\
|
|
24
|
-
!*** ./lib/components/Checkbox/Checkbox.form.js ***!
|
|
25
|
-
\**************************************************/
|
|
26
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
27
|
-
|
|
28
|
-
"use strict";
|
|
29
|
-
eval("\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar formiojs_1 = __webpack_require__(/*! formiojs */ \"formiojs\");\nvar baseEditForm = formiojs_1.Components.components.checkbox.editForm;\nfunction default_1() {\n var extend = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n extend[_i] = arguments[_i];\n }\n return baseEditForm.apply(void 0, __spreadArray([[\n {\n key: 'display',\n components: [\n {\n type: 'checkbox',\n input: true,\n weight: 1000,\n label: 'Tile view',\n tooltip: 'Tile view for this component',\n key: 'tileView',\n },\n ],\n },\n ]], extend, false));\n}\nexports.default = default_1;\n\n\n//# sourceURL=webpack://uswds/./lib/components/Checkbox/Checkbox.form.js?");
|
|
30
|
-
|
|
31
|
-
/***/ }),
|
|
32
|
-
|
|
33
|
-
/***/ "./lib/components/Checkbox/Checkbox.js":
|
|
34
|
-
/*!*********************************************!*\
|
|
35
|
-
!*** ./lib/components/Checkbox/Checkbox.js ***!
|
|
36
|
-
\*********************************************/
|
|
37
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
38
|
-
|
|
39
|
-
"use strict";
|
|
40
|
-
eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar formiojs_1 = __webpack_require__(/*! formiojs */ \"formiojs\");\nvar Checkbox_form_1 = __webpack_require__(/*! ./Checkbox.form */ \"./lib/components/Checkbox/Checkbox.form.js\");\nvar CheckboxComponent = formiojs_1.Components.components.checkbox;\nvar USWDSCheckboxComponent = /** @class */ (function (_super) {\n __extends(USWDSCheckboxComponent, _super);\n function USWDSCheckboxComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n USWDSCheckboxComponent.prototype.render = function (element) {\n this.noField = true;\n return _super.prototype.render.call(this, element);\n };\n USWDSCheckboxComponent.editForm = Checkbox_form_1.default;\n return USWDSCheckboxComponent;\n}(CheckboxComponent));\nexports.default = USWDSCheckboxComponent;\n\n\n//# sourceURL=webpack://uswds/./lib/components/Checkbox/Checkbox.js?");
|
|
41
|
-
|
|
42
|
-
/***/ }),
|
|
43
|
-
|
|
44
|
-
/***/ "./lib/components/Radio/Radio.form.js":
|
|
45
|
-
/*!********************************************!*\
|
|
46
|
-
!*** ./lib/components/Radio/Radio.form.js ***!
|
|
47
|
-
\********************************************/
|
|
48
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
49
|
-
|
|
50
|
-
"use strict";
|
|
51
|
-
eval("\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar formiojs_1 = __webpack_require__(/*! formiojs */ \"formiojs\");\nvar baseEditForm = formiojs_1.Components.components.radio.editForm;\nfunction default_1() {\n var extend = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n extend[_i] = arguments[_i];\n }\n return baseEditForm.apply(void 0, __spreadArray([[\n {\n key: 'display',\n components: [\n {\n type: 'checkbox',\n input: true,\n weight: 1000,\n label: 'Tile view',\n tooltip: 'Tile view for this component',\n key: 'tileView',\n },\n ],\n },\n ]], extend, false));\n}\nexports.default = default_1;\n\n\n//# sourceURL=webpack://uswds/./lib/components/Radio/Radio.form.js?");
|
|
52
|
-
|
|
53
|
-
/***/ }),
|
|
54
|
-
|
|
55
|
-
/***/ "./lib/components/Radio/Radio.js":
|
|
56
|
-
/*!***************************************!*\
|
|
57
|
-
!*** ./lib/components/Radio/Radio.js ***!
|
|
58
|
-
\***************************************/
|
|
59
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
60
|
-
|
|
61
|
-
"use strict";
|
|
62
|
-
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar formiojs_1 = __webpack_require__(/*! formiojs */ \"formiojs\");\nvar Radio_form_1 = __webpack_require__(/*! ./Radio.form */ \"./lib/components/Radio/Radio.form.js\");\nvar RadioComponent = formiojs_1.Components.components.radio;\nRadioComponent.editForm = Radio_form_1.default;\nvar render = RadioComponent.prototype.render;\nRadioComponent.prototype.render = function () {\n this.noField = true;\n return render.call(this);\n};\nexports.default = RadioComponent;\n\n\n//# sourceURL=webpack://uswds/./lib/components/Radio/Radio.js?");
|
|
63
|
-
|
|
64
|
-
/***/ }),
|
|
65
|
-
|
|
66
22
|
/***/ "./lib/components/Select.js":
|
|
67
23
|
/*!**********************************!*\
|
|
68
24
|
!*** ./lib/components/Select.js ***!
|
|
@@ -107,6 +63,28 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
|
|
|
107
63
|
|
|
108
64
|
/***/ }),
|
|
109
65
|
|
|
66
|
+
/***/ "./lib/components/checkbox/Checkbox.form.js":
|
|
67
|
+
/*!**************************************************!*\
|
|
68
|
+
!*** ./lib/components/checkbox/Checkbox.form.js ***!
|
|
69
|
+
\**************************************************/
|
|
70
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
71
|
+
|
|
72
|
+
"use strict";
|
|
73
|
+
eval("\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar formiojs_1 = __webpack_require__(/*! formiojs */ \"formiojs\");\nvar baseEditForm = formiojs_1.Components.components.checkbox.editForm;\nfunction default_1() {\n var extend = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n extend[_i] = arguments[_i];\n }\n return baseEditForm.apply(void 0, __spreadArray([[\n {\n key: 'display',\n components: [\n {\n type: 'checkbox',\n input: true,\n weight: 1000,\n label: 'Tile view',\n tooltip: 'Tile view for this component',\n key: 'tileView',\n },\n ],\n },\n ]], extend, false));\n}\nexports.default = default_1;\n\n\n//# sourceURL=webpack://uswds/./lib/components/checkbox/Checkbox.form.js?");
|
|
74
|
+
|
|
75
|
+
/***/ }),
|
|
76
|
+
|
|
77
|
+
/***/ "./lib/components/checkbox/Checkbox.js":
|
|
78
|
+
/*!*********************************************!*\
|
|
79
|
+
!*** ./lib/components/checkbox/Checkbox.js ***!
|
|
80
|
+
\*********************************************/
|
|
81
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
82
|
+
|
|
83
|
+
"use strict";
|
|
84
|
+
eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar formiojs_1 = __webpack_require__(/*! formiojs */ \"formiojs\");\nvar Checkbox_form_1 = __webpack_require__(/*! ./Checkbox.form */ \"./lib/components/checkbox/Checkbox.form.js\");\nvar CheckboxComponent = formiojs_1.Components.components.checkbox;\nvar USWDSCheckboxComponent = /** @class */ (function (_super) {\n __extends(USWDSCheckboxComponent, _super);\n function USWDSCheckboxComponent() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n USWDSCheckboxComponent.prototype.render = function (element) {\n this.noField = true;\n return _super.prototype.render.call(this, element);\n };\n USWDSCheckboxComponent.editForm = Checkbox_form_1.default;\n return USWDSCheckboxComponent;\n}(CheckboxComponent));\nexports.default = USWDSCheckboxComponent;\n\n\n//# sourceURL=webpack://uswds/./lib/components/checkbox/Checkbox.js?");
|
|
85
|
+
|
|
86
|
+
/***/ }),
|
|
87
|
+
|
|
110
88
|
/***/ "./lib/components/index.js":
|
|
111
89
|
/*!*********************************!*\
|
|
112
90
|
!*** ./lib/components/index.js ***!
|
|
@@ -114,7 +92,29 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexpo
|
|
|
114
92
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
115
93
|
|
|
116
94
|
"use strict";
|
|
117
|
-
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar Select_1 = __webpack_require__(/*! ./Select */ \"./lib/components/Select.js\");\nvar Radio_1 = __webpack_require__(/*! ./
|
|
95
|
+
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar Select_1 = __webpack_require__(/*! ./Select */ \"./lib/components/Select.js\");\nvar Radio_1 = __webpack_require__(/*! ./radio/Radio */ \"./lib/components/radio/Radio.js\");\nvar Button_1 = __webpack_require__(/*! ./button/Button */ \"./lib/components/button/Button.js\");\nvar Checkbox_1 = __webpack_require__(/*! ./checkbox/Checkbox */ \"./lib/components/checkbox/Checkbox.js\");\nvar SelectBoxes_1 = __webpack_require__(/*! ./selectboxes/SelectBoxes */ \"./lib/components/selectboxes/SelectBoxes.js\");\nexports.default = {\n select: Select_1.default,\n radio: Radio_1.default,\n button: Button_1.default,\n checkbox: Checkbox_1.default,\n selectboxes: SelectBoxes_1.default\n};\n\n\n//# sourceURL=webpack://uswds/./lib/components/index.js?");
|
|
96
|
+
|
|
97
|
+
/***/ }),
|
|
98
|
+
|
|
99
|
+
/***/ "./lib/components/radio/Radio.form.js":
|
|
100
|
+
/*!********************************************!*\
|
|
101
|
+
!*** ./lib/components/radio/Radio.form.js ***!
|
|
102
|
+
\********************************************/
|
|
103
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
104
|
+
|
|
105
|
+
"use strict";
|
|
106
|
+
eval("\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar formiojs_1 = __webpack_require__(/*! formiojs */ \"formiojs\");\nvar baseEditForm = formiojs_1.Components.components.radio.editForm;\nfunction default_1() {\n var extend = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n extend[_i] = arguments[_i];\n }\n return baseEditForm.apply(void 0, __spreadArray([[\n {\n key: 'display',\n components: [\n {\n type: 'checkbox',\n input: true,\n weight: 1000,\n label: 'Tile view',\n tooltip: 'Tile view for this component',\n key: 'tileView',\n },\n ],\n },\n ]], extend, false));\n}\nexports.default = default_1;\n\n\n//# sourceURL=webpack://uswds/./lib/components/radio/Radio.form.js?");
|
|
107
|
+
|
|
108
|
+
/***/ }),
|
|
109
|
+
|
|
110
|
+
/***/ "./lib/components/radio/Radio.js":
|
|
111
|
+
/*!***************************************!*\
|
|
112
|
+
!*** ./lib/components/radio/Radio.js ***!
|
|
113
|
+
\***************************************/
|
|
114
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
115
|
+
|
|
116
|
+
"use strict";
|
|
117
|
+
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar formiojs_1 = __webpack_require__(/*! formiojs */ \"formiojs\");\nvar Radio_form_1 = __webpack_require__(/*! ./Radio.form */ \"./lib/components/radio/Radio.form.js\");\nvar RadioComponent = formiojs_1.Components.components.radio;\nRadioComponent.editForm = Radio_form_1.default;\nvar render = RadioComponent.prototype.render;\nRadioComponent.prototype.render = function () {\n this.noField = true;\n return render.call(this);\n};\nexports.default = RadioComponent;\n\n\n//# sourceURL=webpack://uswds/./lib/components/radio/Radio.js?");
|
|
118
118
|
|
|
119
119
|
/***/ }),
|
|
120
120
|
|
|
@@ -147,7 +147,7 @@ eval("\nvar __extends = (this && this.__extends) || (function () {\n var exte
|
|
|
147
147
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
148
148
|
|
|
149
149
|
"use strict";
|
|
150
|
-
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./lib/templates/index.js\");\nvar components_1 = __webpack_require__(/*! ./components */ \"./lib/components/index.js\");\nexports.default = {\n
|
|
150
|
+
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar templates_1 = __webpack_require__(/*! ./templates */ \"./lib/templates/index.js\");\nvar components_1 = __webpack_require__(/*! ./components */ \"./lib/components/index.js\");\nexports.default = {\n templates: templates_1.default,\n components: components_1.default,\n framework: 'uswds',\n};\n\n\n//# sourceURL=webpack://uswds/./lib/index.js?");
|
|
151
151
|
|
|
152
152
|
/***/ }),
|
|
153
153
|
|
|
@@ -550,6 +550,37 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar
|
|
|
550
550
|
|
|
551
551
|
/***/ }),
|
|
552
552
|
|
|
553
|
+
/***/ "./lib/templates/uswds/datatable/form.ejs.js":
|
|
554
|
+
/*!***************************************************!*\
|
|
555
|
+
!*** ./lib/templates/uswds/datatable/form.ejs.js ***!
|
|
556
|
+
\***************************************************/
|
|
557
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
558
|
+
|
|
559
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.default=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<div ref=\"tableContainer\"></div>\\n<div class=\"formio-component-modal-wrapper formio-component-modal-wrapper-' +\n((__t = ( ctx.component.type )) == null ? '' : __t) +\n'\" ref=\"componentModalWrapper\">\\n <div class=\"formio-dialog formio-dialog-theme-default component-rendering-hidden\" ref=\"dataTableModalWrapper\">\\n <div class=\"formio-dialog-overlay\" ref=\"dataTableModalOverlay\"></div>\\n <div class=\"formio-dialog-content\" ref=\"dataTableModalContents\">\\n <div ref=\"dataTableModalContents\">\\n <div class=\"editgrid-listgroup\">\\n ';\n if (ctx.header) { ;\n__p += '\\n <div>\\n ' +\n((__t = (ctx.header)) == null ? '' : __t) +\n'\\n </div>\\n ';\n } ;\n__p += '\\n ';\n ctx.rows.forEach(function(row, rowIndex) { ;\n__p += '\\n <div class=\"margin-bottom-1\" ref=\"' +\n((__t = (ctx.ref.row)) == null ? '' : __t) +\n'\">\\n ' +\n((__t = (row)) == null ? '' : __t) +\n'\\n ';\n if (ctx.openRows[rowIndex] && !ctx.readOnly) { ;\n__p += '\\n <div class=\"editgrid-actions\">\\n <button class=\"usa-button usa-button--accent-cool\" ref=\"' +\n((__t = (ctx.ref.saveRow)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t(ctx.component.saveRow || 'Save'))) == null ? '' : __t) +\n'</button>\\n ';\n if (ctx.component.removeRow) { ;\n__p += '\\n <button class=\"usa-button usa-button--secondary\" ref=\"' +\n((__t = (ctx.ref.cancelRow)) == null ? '' : __t) +\n'\">' +\n((__t = (ctx.t(ctx.component.removeRow || 'Cancel'))) == null ? '' : __t) +\n'</button>\\n ';\n } ;\n__p += '\\n </div>\\n ';\n } ;\n__p += '\\n <div class=\"usa-has-error\">\\n <div class=\"editgrid-row-error text-base\">\\n ' +\n((__t = (ctx.errors[rowIndex])) == null ? '' : __t) +\n'\\n </div>\\n </div>\\n </div>\\n ';\n }) ;\n__p += '\\n </div>\\n </div>\\n <button class=\"formio-dialog-close float-right\" aria-label=\"close\" ref=\"dataTableModalClose\"></button>\\n </div>\\n </div>\\n</div>\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/datatable/form.ejs.js?");
|
|
560
|
+
|
|
561
|
+
/***/ }),
|
|
562
|
+
|
|
563
|
+
/***/ "./lib/templates/uswds/datatable/html.ejs.js":
|
|
564
|
+
/*!***************************************************!*\
|
|
565
|
+
!*** ./lib/templates/uswds/datatable/html.ejs.js ***!
|
|
566
|
+
\***************************************************/
|
|
567
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
568
|
+
|
|
569
|
+
eval("Object.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports.default=function(ctx) {\nvar __t, __p = '', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n__p += '<ul class=\"editgrid-listgroup usa-list usa-list--unstyled\">\\n ';\n if (ctx.header) { ;\n__p += '\\n <li class=\"position-relative display-block padding-105 border\">\\n ' +\n((__t = (ctx.header)) == null ? '' : __t) +\n'\\n </li>\\n ';\n } ;\n__p += '\\n ';\n ctx.rows.forEach(function(row, rowIndex) { ;\n__p += '\\n <li class=\"position-relative display-block padding-105 border\" ref=\"' +\n((__t = (ctx.editgridKey)) == null ? '' : __t) +\n'\">\\n ' +\n((__t = (row)) == null ? '' : __t) +\n'\\n ';\n if (ctx.openRows[rowIndex] && !ctx.readOnly) { ;\n__p += '\\n <div class=\"editgrid-actions\">\\n <button class=\"usa-button usa-button--accent-cool\" ref=\"' +\n((__t = (ctx.editgridKey)) == null ? '' : __t) +\n'-saveRow\">' +\n((__t = (ctx.t(ctx.component.saveRow || 'Save'))) == null ? '' : __t) +\n'</button>\\n ';\n if (ctx.component.removeRow) { ;\n__p += '\\n <button class=\"usa-button usa-button--secondary\" ref=\"' +\n((__t = (ctx.editgridKey)) == null ? '' : __t) +\n'-cancelRow\">' +\n((__t = (ctx.t(ctx.component.removeRow || 'Cancel'))) == null ? '' : __t) +\n'</button>\\n ';\n } ;\n__p += '\\n </div>\\n ';\n } ;\n__p += '\\n <div class=\"usa-has-error\">\\n <div class=\"editgrid-row-error text-base\">\\n ' +\n((__t = (ctx.errors[rowIndex])) == null ? '' : __t) +\n'\\n </div>\\n </div>\\n </li>\\n ';\n }) ;\n__p += '\\n ';\n if (ctx.footer) { ;\n__p += '\\n <li class=\"position-relative display-block padding-105 border\">\\n ' +\n((__t = (ctx.footer)) == null ? '' : __t) +\n'\\n </li>\\n ';\n } ;\n__p += '\\n</ul>\\n';\nreturn __p\n}\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/datatable/html.ejs.js?");
|
|
570
|
+
|
|
571
|
+
/***/ }),
|
|
572
|
+
|
|
573
|
+
/***/ "./lib/templates/uswds/datatable/index.js":
|
|
574
|
+
/*!************************************************!*\
|
|
575
|
+
!*** ./lib/templates/uswds/datatable/index.js ***!
|
|
576
|
+
\************************************************/
|
|
577
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
578
|
+
|
|
579
|
+
"use strict";
|
|
580
|
+
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar form_ejs_1 = __webpack_require__(/*! ./form.ejs */ \"./lib/templates/uswds/datatable/form.ejs.js\");\nvar html_ejs_1 = __webpack_require__(/*! ./html.ejs */ \"./lib/templates/uswds/datatable/html.ejs.js\");\nexports.default = { form: form_ejs_1.default, html: html_ejs_1.default };\n\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/datatable/index.js?");
|
|
581
|
+
|
|
582
|
+
/***/ }),
|
|
583
|
+
|
|
553
584
|
/***/ "./lib/templates/uswds/day/form.ejs.js":
|
|
554
585
|
/*!*********************************************!*\
|
|
555
586
|
!*** ./lib/templates/uswds/day/form.ejs.js ***!
|
|
@@ -766,7 +797,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar
|
|
|
766
797
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
767
798
|
|
|
768
799
|
"use strict";
|
|
769
|
-
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar address_1 = __webpack_require__(/*! ./address */ \"./lib/templates/uswds/address/index.js\");\nvar alert_1 = __webpack_require__(/*! ./alert */ \"./lib/templates/uswds/alert/index.js\");\nvar builder_1 = __webpack_require__(/*! ./builder */ \"./lib/templates/uswds/builder/index.js\");\nvar builderComponent_1 = __webpack_require__(/*! ./builderComponent */ \"./lib/templates/uswds/builderComponent/index.js\");\nvar builderComponents_1 = __webpack_require__(/*! ./builderComponents */ \"./lib/templates/uswds/builderComponents/index.js\");\nvar builderEditForm_1 = __webpack_require__(/*! ./builderEditForm */ \"./lib/templates/uswds/builderEditForm/index.js\");\nvar builderPlaceholder_1 = __webpack_require__(/*! ./builderPlaceholder */ \"./lib/templates/uswds/builderPlaceholder/index.js\");\nvar builderSidebar_1 = __webpack_require__(/*! ./builderSidebar */ \"./lib/templates/uswds/builderSidebar/index.js\");\nvar builderSidebarGroup_1 = __webpack_require__(/*! ./builderSidebarGroup */ \"./lib/templates/uswds/builderSidebarGroup/index.js\");\nvar builderWizard_1 = __webpack_require__(/*! ./builderWizard */ \"./lib/templates/uswds/builderWizard/index.js\");\nvar button_1 = __webpack_require__(/*! ./button */ \"./lib/templates/uswds/button/index.js\");\nvar checkbox_1 = __webpack_require__(/*! ./checkbox */ \"./lib/templates/uswds/checkbox/index.js\");\nvar columns_1 = __webpack_require__(/*! ./columns */ \"./lib/templates/uswds/columns/index.js\");\nvar component_1 = __webpack_require__(/*! ./component */ \"./lib/templates/uswds/component/index.js\");\nvar componentModal_1 = __webpack_require__(/*! ./componentModal */ \"./lib/templates/uswds/componentModal/index.js\");\nvar container_1 = __webpack_require__(/*! ./container */ \"./lib/templates/uswds/container/index.js\");\nvar datagrid_1 = __webpack_require__(/*! ./datagrid */ \"./lib/templates/uswds/datagrid/index.js\");\nvar day_1 = __webpack_require__(/*! ./day */ \"./lib/templates/uswds/day/index.js\");\nvar dialog_1 = __webpack_require__(/*! ./dialog */ \"./lib/templates/uswds/dialog/index.js\");\nvar editgrid_1 = __webpack_require__(/*! ./editgrid */ \"./lib/templates/uswds/editgrid/index.js\");\nvar errorsList_1 = __webpack_require__(/*! ./errorsList */ \"./lib/templates/uswds/errorsList/index.js\");\nvar field_1 = __webpack_require__(/*! ./field */ \"./lib/templates/uswds/field/index.js\");\nvar fieldset_1 = __webpack_require__(/*! ./fieldset */ \"./lib/templates/uswds/fieldset/index.js\");\nvar file_1 = __webpack_require__(/*! ./file */ \"./lib/templates/uswds/file/index.js\");\nvar html_1 = __webpack_require__(/*! ./html */ \"./lib/templates/uswds/html/index.js\");\nvar icon_1 = __webpack_require__(/*! ./icon */ \"./lib/templates/uswds/icon/index.js\");\nvar input_1 = __webpack_require__(/*! ./input */ \"./lib/templates/uswds/input/index.js\");\nvar label_1 = __webpack_require__(/*! ./label */ \"./lib/templates/uswds/label/index.js\");\nvar loader_1 = __webpack_require__(/*! ./loader */ \"./lib/templates/uswds/loader/index.js\");\nvar loading_1 = __webpack_require__(/*! ./loading */ \"./lib/templates/uswds/loading/index.js\");\nvar message_1 = __webpack_require__(/*! ./message */ \"./lib/templates/uswds/message/index.js\");\nvar modalPreview_1 = __webpack_require__(/*! ./modalPreview */ \"./lib/templates/uswds/modalPreview/index.js\");\nvar multiValueRow_1 = __webpack_require__(/*! ./multiValueRow */ \"./lib/templates/uswds/multiValueRow/index.js\");\nvar multiValueTable_1 = __webpack_require__(/*! ./multiValueTable */ \"./lib/templates/uswds/multiValueTable/index.js\");\nvar panel_1 = __webpack_require__(/*! ./panel */ \"./lib/templates/uswds/panel/index.js\");\nvar pdf_1 = __webpack_require__(/*! ./pdf */ \"./lib/templates/uswds/pdf/index.js\");\nvar pdfBuilder_1 = __webpack_require__(/*! ./pdfBuilder */ \"./lib/templates/uswds/pdfBuilder/index.js\");\nvar pdfBuilderUpload_1 = __webpack_require__(/*! ./pdfBuilderUpload */ \"./lib/templates/uswds/pdfBuilderUpload/index.js\");\nvar radio_1 = __webpack_require__(/*! ./radio */ \"./lib/templates/uswds/radio/index.js\");\nvar resourceAdd_1 = __webpack_require__(/*! ./resourceAdd */ \"./lib/templates/uswds/resourceAdd/index.js\");\nvar select_1 = __webpack_require__(/*! ./select */ \"./lib/templates/uswds/select/index.js\");\nvar selectOption_1 = __webpack_require__(/*! ./selectOption */ \"./lib/templates/uswds/selectOption/index.js\");\nvar survey_1 = __webpack_require__(/*! ./survey */ \"./lib/templates/uswds/survey/index.js\");\nvar tab_1 = __webpack_require__(/*! ./tab */ \"./lib/templates/uswds/tab/index.js\");\nvar table_1 = __webpack_require__(/*! ./table */ \"./lib/templates/uswds/table/index.js\");\nvar warning_1 = __webpack_require__(/*! ./warning */ \"./lib/templates/uswds/warning/index.js\");\nvar webform_1 = __webpack_require__(/*! ./webform */ \"./lib/templates/uswds/webform/index.js\");\nvar well_1 = __webpack_require__(/*! ./well */ \"./lib/templates/uswds/well/index.js\");\nvar wizard_1 = __webpack_require__(/*! ./wizard */ \"./lib/templates/uswds/wizard/index.js\");\nvar wizardHeader_1 = __webpack_require__(/*! ./wizardHeader */ \"./lib/templates/uswds/wizardHeader/index.js\");\nvar wizardNav_1 = __webpack_require__(/*! ./wizardNav */ \"./lib/templates/uswds/wizardNav/index.js\");\nvar size_1 = __webpack_require__(/*! ./size */ \"./lib/templates/uswds/size.js\");\nvar cssClasses_1 = __webpack_require__(/*! ./cssClasses */ \"./lib/templates/uswds/cssClasses.js\");\nexports.default = {\n transform: function (type, text) {\n if (!text) {\n return text;\n }\n switch (type) {\n case 'class':\n return this.cssClasses.hasOwnProperty(text.toString()) ? this.cssClasses[text.toString()] : text;\n }\n return text;\n },\n address: address_1.default,\n alert: alert_1.default,\n builder: builder_1.default,\n builderComponent: builderComponent_1.default,\n builderComponents: builderComponents_1.default,\n builderEditForm: builderEditForm_1.default,\n builderPlaceholder: builderPlaceholder_1.default,\n builderSidebar: builderSidebar_1.default,\n builderSidebarGroup: builderSidebarGroup_1.default,\n builderWizard: builderWizard_1.default,\n button: button_1.default,\n checkbox: checkbox_1.default,\n columns: columns_1.default,\n component: component_1.default,\n componentModal: componentModal_1.default,\n container: container_1.default,\n datagrid: datagrid_1.default,\n day: day_1.default,\n dialog: dialog_1.default,\n editgrid: editgrid_1.default,\n errorsList: errorsList_1.default,\n field: field_1.default,\n fieldset: fieldset_1.default,\n file: file_1.default,\n html: html_1.default,\n icon: icon_1.default,\n input: input_1.default,\n label: label_1.default,\n loader: loader_1.default,\n loading: loading_1.default,\n message: message_1.default,\n modalPreview: modalPreview_1.default,\n multiValueRow: multiValueRow_1.default,\n multiValueTable: multiValueTable_1.default,\n panel: panel_1.default,\n pdf: pdf_1.default,\n pdfBuilder: pdfBuilder_1.default,\n pdfBuilderUpload: pdfBuilderUpload_1.default,\n radio: radio_1.default,\n resourceAdd: resourceAdd_1.default,\n select: select_1.default,\n selectOption: selectOption_1.default,\n survey: survey_1.default,\n tab: tab_1.default,\n table: table_1.default,\n warning: warning_1.default,\n webform: webform_1.default,\n well: well_1.default,\n wizard: wizard_1.default,\n wizardHeader: wizardHeader_1.default,\n wizardNav: wizardNav_1.default,\n size: size_1.default,\n cssClasses: cssClasses_1.default,\n};\n\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/index.js?");
|
|
800
|
+
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar address_1 = __webpack_require__(/*! ./address */ \"./lib/templates/uswds/address/index.js\");\nvar alert_1 = __webpack_require__(/*! ./alert */ \"./lib/templates/uswds/alert/index.js\");\nvar builder_1 = __webpack_require__(/*! ./builder */ \"./lib/templates/uswds/builder/index.js\");\nvar builderComponent_1 = __webpack_require__(/*! ./builderComponent */ \"./lib/templates/uswds/builderComponent/index.js\");\nvar builderComponents_1 = __webpack_require__(/*! ./builderComponents */ \"./lib/templates/uswds/builderComponents/index.js\");\nvar builderEditForm_1 = __webpack_require__(/*! ./builderEditForm */ \"./lib/templates/uswds/builderEditForm/index.js\");\nvar builderPlaceholder_1 = __webpack_require__(/*! ./builderPlaceholder */ \"./lib/templates/uswds/builderPlaceholder/index.js\");\nvar builderSidebar_1 = __webpack_require__(/*! ./builderSidebar */ \"./lib/templates/uswds/builderSidebar/index.js\");\nvar builderSidebarGroup_1 = __webpack_require__(/*! ./builderSidebarGroup */ \"./lib/templates/uswds/builderSidebarGroup/index.js\");\nvar builderWizard_1 = __webpack_require__(/*! ./builderWizard */ \"./lib/templates/uswds/builderWizard/index.js\");\nvar button_1 = __webpack_require__(/*! ./button */ \"./lib/templates/uswds/button/index.js\");\nvar checkbox_1 = __webpack_require__(/*! ./checkbox */ \"./lib/templates/uswds/checkbox/index.js\");\nvar columns_1 = __webpack_require__(/*! ./columns */ \"./lib/templates/uswds/columns/index.js\");\nvar component_1 = __webpack_require__(/*! ./component */ \"./lib/templates/uswds/component/index.js\");\nvar componentModal_1 = __webpack_require__(/*! ./componentModal */ \"./lib/templates/uswds/componentModal/index.js\");\nvar container_1 = __webpack_require__(/*! ./container */ \"./lib/templates/uswds/container/index.js\");\nvar datagrid_1 = __webpack_require__(/*! ./datagrid */ \"./lib/templates/uswds/datagrid/index.js\");\nvar datatable_1 = __webpack_require__(/*! ./datatable */ \"./lib/templates/uswds/datatable/index.js\");\nvar day_1 = __webpack_require__(/*! ./day */ \"./lib/templates/uswds/day/index.js\");\nvar dialog_1 = __webpack_require__(/*! ./dialog */ \"./lib/templates/uswds/dialog/index.js\");\nvar editgrid_1 = __webpack_require__(/*! ./editgrid */ \"./lib/templates/uswds/editgrid/index.js\");\nvar errorsList_1 = __webpack_require__(/*! ./errorsList */ \"./lib/templates/uswds/errorsList/index.js\");\nvar field_1 = __webpack_require__(/*! ./field */ \"./lib/templates/uswds/field/index.js\");\nvar fieldset_1 = __webpack_require__(/*! ./fieldset */ \"./lib/templates/uswds/fieldset/index.js\");\nvar file_1 = __webpack_require__(/*! ./file */ \"./lib/templates/uswds/file/index.js\");\nvar html_1 = __webpack_require__(/*! ./html */ \"./lib/templates/uswds/html/index.js\");\nvar icon_1 = __webpack_require__(/*! ./icon */ \"./lib/templates/uswds/icon/index.js\");\nvar input_1 = __webpack_require__(/*! ./input */ \"./lib/templates/uswds/input/index.js\");\nvar label_1 = __webpack_require__(/*! ./label */ \"./lib/templates/uswds/label/index.js\");\nvar loader_1 = __webpack_require__(/*! ./loader */ \"./lib/templates/uswds/loader/index.js\");\nvar loading_1 = __webpack_require__(/*! ./loading */ \"./lib/templates/uswds/loading/index.js\");\nvar message_1 = __webpack_require__(/*! ./message */ \"./lib/templates/uswds/message/index.js\");\nvar modalPreview_1 = __webpack_require__(/*! ./modalPreview */ \"./lib/templates/uswds/modalPreview/index.js\");\nvar multiValueRow_1 = __webpack_require__(/*! ./multiValueRow */ \"./lib/templates/uswds/multiValueRow/index.js\");\nvar multiValueTable_1 = __webpack_require__(/*! ./multiValueTable */ \"./lib/templates/uswds/multiValueTable/index.js\");\nvar panel_1 = __webpack_require__(/*! ./panel */ \"./lib/templates/uswds/panel/index.js\");\nvar pdf_1 = __webpack_require__(/*! ./pdf */ \"./lib/templates/uswds/pdf/index.js\");\nvar pdfBuilder_1 = __webpack_require__(/*! ./pdfBuilder */ \"./lib/templates/uswds/pdfBuilder/index.js\");\nvar pdfBuilderUpload_1 = __webpack_require__(/*! ./pdfBuilderUpload */ \"./lib/templates/uswds/pdfBuilderUpload/index.js\");\nvar radio_1 = __webpack_require__(/*! ./radio */ \"./lib/templates/uswds/radio/index.js\");\nvar resourceAdd_1 = __webpack_require__(/*! ./resourceAdd */ \"./lib/templates/uswds/resourceAdd/index.js\");\nvar select_1 = __webpack_require__(/*! ./select */ \"./lib/templates/uswds/select/index.js\");\nvar selectOption_1 = __webpack_require__(/*! ./selectOption */ \"./lib/templates/uswds/selectOption/index.js\");\nvar survey_1 = __webpack_require__(/*! ./survey */ \"./lib/templates/uswds/survey/index.js\");\nvar tab_1 = __webpack_require__(/*! ./tab */ \"./lib/templates/uswds/tab/index.js\");\nvar table_1 = __webpack_require__(/*! ./table */ \"./lib/templates/uswds/table/index.js\");\nvar warning_1 = __webpack_require__(/*! ./warning */ \"./lib/templates/uswds/warning/index.js\");\nvar webform_1 = __webpack_require__(/*! ./webform */ \"./lib/templates/uswds/webform/index.js\");\nvar well_1 = __webpack_require__(/*! ./well */ \"./lib/templates/uswds/well/index.js\");\nvar wizard_1 = __webpack_require__(/*! ./wizard */ \"./lib/templates/uswds/wizard/index.js\");\nvar wizardHeader_1 = __webpack_require__(/*! ./wizardHeader */ \"./lib/templates/uswds/wizardHeader/index.js\");\nvar wizardNav_1 = __webpack_require__(/*! ./wizardNav */ \"./lib/templates/uswds/wizardNav/index.js\");\nvar size_1 = __webpack_require__(/*! ./size */ \"./lib/templates/uswds/size.js\");\nvar cssClasses_1 = __webpack_require__(/*! ./cssClasses */ \"./lib/templates/uswds/cssClasses.js\");\nexports.default = {\n transform: function (type, text) {\n if (!text) {\n return text;\n }\n switch (type) {\n case 'class':\n return this.cssClasses.hasOwnProperty(text.toString()) ? this.cssClasses[text.toString()] : text;\n }\n return text;\n },\n address: address_1.default,\n alert: alert_1.default,\n builder: builder_1.default,\n builderComponent: builderComponent_1.default,\n builderComponents: builderComponents_1.default,\n builderEditForm: builderEditForm_1.default,\n builderPlaceholder: builderPlaceholder_1.default,\n builderSidebar: builderSidebar_1.default,\n builderSidebarGroup: builderSidebarGroup_1.default,\n builderWizard: builderWizard_1.default,\n button: button_1.default,\n checkbox: checkbox_1.default,\n columns: columns_1.default,\n component: component_1.default,\n componentModal: componentModal_1.default,\n container: container_1.default,\n datagrid: datagrid_1.default,\n datatable: datatable_1.default,\n day: day_1.default,\n dialog: dialog_1.default,\n editgrid: editgrid_1.default,\n errorsList: errorsList_1.default,\n field: field_1.default,\n fieldset: fieldset_1.default,\n file: file_1.default,\n html: html_1.default,\n icon: icon_1.default,\n input: input_1.default,\n label: label_1.default,\n loader: loader_1.default,\n loading: loading_1.default,\n message: message_1.default,\n modalPreview: modalPreview_1.default,\n multiValueRow: multiValueRow_1.default,\n multiValueTable: multiValueTable_1.default,\n panel: panel_1.default,\n pdf: pdf_1.default,\n pdfBuilder: pdfBuilder_1.default,\n pdfBuilderUpload: pdfBuilderUpload_1.default,\n radio: radio_1.default,\n resourceAdd: resourceAdd_1.default,\n select: select_1.default,\n selectOption: selectOption_1.default,\n survey: survey_1.default,\n tab: tab_1.default,\n table: table_1.default,\n warning: warning_1.default,\n webform: webform_1.default,\n well: well_1.default,\n wizard: wizard_1.default,\n wizardHeader: wizardHeader_1.default,\n wizardNav: wizardNav_1.default,\n size: size_1.default,\n cssClasses: cssClasses_1.default,\n};\n\n\n//# sourceURL=webpack://uswds/./lib/templates/uswds/index.js?");
|
|
770
801
|
|
|
771
802
|
/***/ }),
|
|
772
803
|
|
package/dist/uswds.min.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
span[role=link]:hover{text-decoration:underline;cursor:pointer}.builder-sidebar .usa-accordion__content{padding-bottom:0}.builder-sidebar .form-builder-panel{margin-bottom:5px}.builder-sidebar .form-builder-panel .form-builder-group-header .form-builder-group-heading{margin:0}.builder-sidebar .form-builder-panel .form-builder-group-header .usa-accordion__button.builder-group-button{background-color:#f0f0f0}.builder-sidebar .form-builder-panel .usa-button{margin-right:0;margin-top:0;margin-bottom:5px}.builder-component{padding:3px;margin:-3px -3px 20px -3px}.builder-component .formio-form-group{margin-bottom:0}.builder-component .component-btn-group{display:flex;flex-direction:row-reverse}.component-btn-group .component-settings-button.usa-button{margin:3px}.component-btn-group .usa-button.component-settings-button-paste{display:none}.flatpickr-current-month .flatpickr-monthDropdown-months:focus,.flatpickr-current-month input.cur-year:focus,.flatpickr-days:focus{outline:1px solid #2491ff!important}.flatpickr-days{margin:1px;width:305.875px!important}.flatpickr-day.selected{background:#0073ec!important}.flatpickr-day.nextMonthDay:focus,.flatpickr-day.nextMonthDay:hover,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.prevMonthDay:hover,.flatpickr-day:focus,.flatpickr-day:hover{background-color:#71767a!important;color:#fff!important}.flatpickr-wrapper{display:block!important}.formio-choices .usa-select{background-image:none;border:1px solid #565c65}.usa-form-group--month .usa-select{opacity:1}.formio-component-address .usa-checkbox{margin:.5em 0 .3em}.formio-component-survey .usa-radio .usa-radio__label{height:20px}.formio-component-survey .usa-radio .usa-radio__label:before{left:50%;transform:translateX(-50%);margin:0}.formio-dialog.formio-dialog-theme-default .component-edit-container{padding:.6em}.formio-dialog.formio-dialog-theme-default .formio-dialog-content .formio-dialog-close{right:4px;top:4px}.formio-dialog.formio-dialog-theme-default .formio-dialog-content .formio-dialog-close:before{font-size:24px;line-height:24px;color:#8a8a8a}.formio-dialog.formio-dialog-theme-default .formio-dialog-content .formio-dialog-close :active:before,.formio-dialog.formio-dialog-theme-default .formio-dialog-content .formio-dialog-close:hover:before{color:#6b6b6b}.formio-dialog-content .usa-label{padding-right:30px}.formio-dialog-content .usa-label label{padding-right:0}.formio-dialog-buttons{display:flex;justify-content:flex-end;margin:0 -.5rem}.formio-form-group{margin-bottom:20px}@media print{.formio-form-group{page-break-inside:avoid}}.formio-form-group>.usa-label>label{display:initial}.formio-hidden{margin:0}.formio-panel-content.usa-accordion__content{overflow:visible}.formio-usa-card{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-width:0;word-wrap:break-word;background-clip:border-box;border:1px solid #000;border-radius:.25rem}.formio-usa-card-body{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;padding:1.25rem}.formio-usa-card-header{position:relative;display:flex;padding:.5rem;margin-bottom:0;margin-top:1px;border-bottom:1px solid #000;border-radius:.25rem .25rem 0 0;background-color:#f0f0f0}.formio-usa-card-title{margin-bottom:.75rem;font-size:1.2rem}.has-error .help-block{color:#b50909}.has-success .help-block{color:#00a91c}.input-group{display:flex;flex-wrap:nowrap;align-items:stretch;width:100%;margin-top:.5rem}.input-group .usa-input,.input-group .usa-textarea{position:relative;z-index:1;width:1%;min-width:50px;flex-grow:1;margin-top:0}.input-group .usa-textarea{resize:vertical}.input-group .flatpickr-wrapper{display:flex;flex-grow:1}.input-group .flatpickr-wrapper .usa-input{width:100%}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:.9375rem;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da}.input-group-append,.input-group-prepend{display:flex;flex-shrink:0}.legend-wrapper{display:inline-block;margin-bottom:6px}.legend-wrapper>span{margin-right:3px}.open-modal-button{font-weight:400;color:#000;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#f8f9fa;border:2px solid #8a8a8a;padding:.375rem .75rem;font-size:.9375rem;line-height:1.5;border-radius:0}.open-modal-button:hover{background-color:#f0f1f5}.progress{display:-webkit-box;display:-ms-flexbox;display:flex;height:1rem;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.progress .progress-bar{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#fff;text-align:center;background-color:#007bff;transition:width .6s ease}.formio-tooltip__trigger{cursor:pointer}.formio-tooltip__body{background-color:#1b1b1b;border-radius:.25rem;bottom:0;color:#f0f0f0;display:none;font-size:1rem;padding:.5rem;position:absolute;left:0;transform:translateX(-50%);width:auto;white-space:pre;z-index:1000}.formio-tooltip__body.formio-tooltip--is-set{display:block}.formio-tooltip__body--whitespace{white-space:normal;width:250px}.formio-tooltip__body--right{top:auto;transform:translateX(0)}.formio-tooltip__body--left{top:auto;left:0;right:auto;transform:translateX(0)}.formio-tooltip__body--bottom{bottom:auto;top:0}.formio-tooltip__wrapper{position:relative}.formio-tooltip__wrapper>span{font-weight:400}.wizard-page{margin:20px 0}.wizard-nav-container{display:flex}@media not all and (min-width:30em){.wizard-nav-container{flex-direction:column}}.wizard-nav-container li .usa-button{margin-bottom:.25em}.word-wrap{word-wrap:break-word}b,strong{font-weight:700!important}pre{background-color:#f0f0f0;padding:1em}ul.usa-sidenav{display:flex;flex-wrap:wrap;margin-top:1px;border-bottom:1px solid #000}.usa-sidenav__item{border-top:0}.usa-input--error.usa-select,.usa-input--success.usa-select{height:auto}.usa-accordion__button.non-collapsible-panel--button{background-image:none}.usa-accordion__button.non-collapsible-panel--button:hover{background-color:#f0f0f0;cursor:auto}.usa-table{width:100%}.usa-table caption{caption-side:top;color:#000}.usa-table td{background-color:inherit}.usa-checkbox__input:disabled+.usa-checkbox__label{color:#71767a!important}.usa-fieldset .usa-legend{font-size:1.5rem}.usa-label{margin-top:0!important;margin-bottom:0;max-width:100%!important}.usa-prose>ol li,.usa-prose>p,.usa-prose>ul li{max-width:100%!important}.usa-button+.has-error,.usa-button+.has-success{display:none}.usa-radio__input:disabled:checked+.usa-radio__label::before{-webkit-box-shadow:0 0 0 2px #c9c9c9,inset 0 0 0 3px #fff;box-shadow:0 0 0 2px #c9c9c9,inset 0 0 0 3px #fff}.usa-checkbox,.usa-radio{background:0 0!important}.usa-step-indicator{margin-top:1rem}.usa-step-indicator .usa-step-indicator__segments{outline-width:1px!important;outline-offset:2px!important;padding:1px}.usa-step-indicator .usa-step-indicator__segments .usa-step-indicator__segment{max-width:none}div[ref=modalContents] .usa-form-group--error{margin-top:0}@media print{div[class*=":grid-col-1"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:8.3333333333%}div[class*=":grid-col-2"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.6666666667%}div[class*=":grid-col-3"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}div[class*=":grid-col-4"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.3333333333%}div[class*=":grid-col-5"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:41.6666666667%}div[class*=":grid-col-6"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}div[class*=":grid-col-7"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:58.3333333333%}div[class*=":grid-col-8"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:66.6666666667%}div[class*=":grid-col-9"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:75%}div[class*=":grid-col-10"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:83.3333333333%}div[class*=":grid-col-11"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:91.6666666667%}div[class*=":grid-col-12"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.usa-checkbox__input:checked:disabled+.usa-checkbox__label::before{background-image:none;background-color:#c9c9c9;-webkit-box-shadow:0 0 0 2px #c9c9c9,inset 0 0 0 3px #fff;box-shadow:0 0 0 2px #c9c9c9,inset 0 0 0 3px #fff;-webkit-print-color-adjust:exact;text-indent:0}}.usa-button.formio-hidden{background-color:initial;border:none;box-shadow:none}
|
|
1
|
+
span[role=link]:hover{text-decoration:underline;cursor:pointer}.builder-sidebar .usa-accordion__content{padding-bottom:0}.builder-sidebar .form-builder-panel{margin-bottom:5px}.builder-sidebar .form-builder-panel .form-builder-group-header .form-builder-group-heading{margin:0}.builder-sidebar .form-builder-panel .form-builder-group-header .usa-accordion__button.builder-group-button{background-color:#f0f0f0}.builder-sidebar .form-builder-panel .usa-button{margin-right:0;margin-top:0;margin-bottom:5px}.builder-component{padding:3px;margin:-3px -3px 20px -3px}.builder-component .formio-form-group{margin-bottom:0}.builder-component .component-btn-group{display:flex;flex-direction:row-reverse}.component-btn-group .component-settings-button.usa-button{margin:3px}.component-btn-group .usa-button.component-settings-button-paste{display:none}.dropdown-menu{position:absolute;z-index:1000;display:none;min-width:10rem;padding:.5rem 0;margin:0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropdown-menu.show{display:block}.dropdown-item{display:block;width:100%;padding:.25rem 1rem;clear:both;font-weight:400;color:#212529;text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#1e2125;background-color:#e9ecef}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid #e9ecef}.flatpickr-current-month .flatpickr-monthDropdown-months:focus,.flatpickr-current-month input.cur-year:focus,.flatpickr-days:focus{outline:1px solid #2491ff!important}.flatpickr-days{margin:1px;width:305.875px!important}.flatpickr-day.selected{background:#0073ec!important}.flatpickr-day.nextMonthDay:focus,.flatpickr-day.nextMonthDay:hover,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.prevMonthDay:hover,.flatpickr-day:focus,.flatpickr-day:hover{background-color:#71767a!important;color:#fff!important}.flatpickr-wrapper{display:block!important}.formio-choices .usa-select{background-image:none;border:1px solid #565c65}.usa-form-group--month .usa-select{opacity:1}.formio-component-address .usa-checkbox{margin:.5em 0 .3em}.formio-component-survey .usa-radio .usa-radio__label{height:20px}.formio-component-survey .usa-radio .usa-radio__label:before{left:50%;transform:translateX(-50%);margin:0}.formio-dialog.formio-dialog-theme-default .component-edit-container{padding:.6em}.formio-dialog.formio-dialog-theme-default .formio-dialog-content .formio-dialog-close{right:4px;top:4px}.formio-dialog.formio-dialog-theme-default .formio-dialog-content .formio-dialog-close:before{font-size:24px;line-height:24px;color:#8a8a8a}.formio-dialog.formio-dialog-theme-default .formio-dialog-content .formio-dialog-close :active:before,.formio-dialog.formio-dialog-theme-default .formio-dialog-content .formio-dialog-close:hover:before{color:#6b6b6b}.formio-dialog-content .usa-label{padding-right:30px}.formio-dialog-content .usa-label label{padding-right:0}.formio-dialog-buttons{display:flex;justify-content:flex-end;margin:0 -.5rem}.formio-form-group{margin-bottom:20px}@media print{.formio-form-group{page-break-inside:avoid}}.formio-form-group>.usa-label>label{display:initial}.formio-hidden{margin:0}.formio-panel-content.usa-accordion__content{overflow:visible}.formio-usa-card{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-width:0;word-wrap:break-word;background-clip:border-box;border:1px solid #000;border-radius:.25rem}.formio-usa-card-body{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;padding:1.25rem}.formio-usa-card-header{position:relative;display:flex;padding:.5rem;margin-bottom:0;margin-top:1px;border-bottom:1px solid #000;border-radius:.25rem .25rem 0 0;background-color:#f0f0f0}.formio-usa-card-title{margin-bottom:.75rem;font-size:1.2rem}.has-error .help-block{color:#b50909}.has-success .help-block{color:#00a91c}.input-group{display:flex;flex-wrap:nowrap;align-items:stretch;width:100%;margin-top:.5rem}.input-group .usa-input,.input-group .usa-textarea{position:relative;z-index:1;width:1%;min-width:50px;flex-grow:1;margin-top:0}.input-group .usa-textarea{resize:vertical}.input-group .flatpickr-wrapper{display:flex;flex-grow:1}.input-group .flatpickr-wrapper .usa-input{width:100%}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:.9375rem;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da}.input-group-append,.input-group-prepend{display:flex;flex-shrink:0}.legend-wrapper{display:inline-block;margin-bottom:6px}.legend-wrapper>span{margin-right:3px}.open-modal-button{font-weight:400;color:#000;vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#f8f9fa;border:2px solid #8a8a8a;padding:.375rem .75rem;font-size:.9375rem;line-height:1.5;border-radius:0}.open-modal-button:hover{background-color:#f0f1f5}.progress{display:-webkit-box;display:-ms-flexbox;display:flex;height:1rem;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem}.progress .progress-bar{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#fff;text-align:center;background-color:#007bff;transition:width .6s ease}.formio-tooltip__trigger{cursor:pointer}.formio-tooltip__body{background-color:#1b1b1b;border-radius:.25rem;bottom:0;color:#f0f0f0;display:none;font-size:1rem;padding:.5rem;position:absolute;left:0;transform:translateX(-50%);width:auto;white-space:pre;z-index:1000}.formio-tooltip__body.formio-tooltip--is-set{display:block}.formio-tooltip__body--whitespace{white-space:normal;width:250px}.formio-tooltip__body--right{top:auto;transform:translateX(0)}.formio-tooltip__body--left{top:auto;left:0;right:auto;transform:translateX(0)}.formio-tooltip__body--bottom{bottom:auto;top:0}.formio-tooltip__wrapper{position:relative}.formio-tooltip__wrapper>span{font-weight:400}.wizard-page{margin:20px 0}.wizard-nav-container{display:flex}@media not all and (min-width:30em){.wizard-nav-container{flex-direction:column}}.wizard-nav-container li .usa-button{margin-bottom:.25em}.word-wrap{word-wrap:break-word}b,strong{font-weight:700!important}pre{background-color:#f0f0f0;padding:1em}ul.usa-sidenav{display:flex;flex-wrap:wrap;margin-top:1px;border-bottom:1px solid #000}.usa-sidenav__item{border-top:0}.usa-input--error.usa-select,.usa-input--success.usa-select{height:auto}.usa-accordion__button.non-collapsible-panel--button{background-image:none}.usa-accordion__button.non-collapsible-panel--button:hover{background-color:#f0f0f0;cursor:auto}.usa-table{width:100%}.usa-table caption{caption-side:top;color:#000}.usa-table td{background-color:inherit}.usa-checkbox__input:disabled+.usa-checkbox__label{color:#71767a!important}.usa-fieldset .usa-legend{font-size:1.5rem}.usa-label{margin-top:0!important;margin-bottom:0;max-width:100%!important}.usa-prose>ol li,.usa-prose>p,.usa-prose>ul li{max-width:100%!important}.usa-button+.has-error,.usa-button+.has-success{display:none}.usa-radio__input:disabled:checked+.usa-radio__label::before{-webkit-box-shadow:0 0 0 2px #c9c9c9,inset 0 0 0 3px #fff;box-shadow:0 0 0 2px #c9c9c9,inset 0 0 0 3px #fff}.usa-checkbox,.usa-radio{background:0 0!important}.usa-step-indicator{margin-top:1rem}.usa-step-indicator .usa-step-indicator__segments{outline-width:1px!important;outline-offset:2px!important;padding:1px}.usa-step-indicator .usa-step-indicator__segments .usa-step-indicator__segment{max-width:none}div[ref=modalContents] .usa-form-group--error{margin-top:0}@media print{div[class*=":grid-col-1"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:8.3333333333%}div[class*=":grid-col-2"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:16.6666666667%}div[class*=":grid-col-3"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:25%}div[class*=":grid-col-4"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:33.3333333333%}div[class*=":grid-col-5"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:41.6666666667%}div[class*=":grid-col-6"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:50%}div[class*=":grid-col-7"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:58.3333333333%}div[class*=":grid-col-8"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:66.6666666667%}div[class*=":grid-col-9"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:75%}div[class*=":grid-col-10"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:83.3333333333%}div[class*=":grid-col-11"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:91.6666666667%}div[class*=":grid-col-12"]{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:100%}.usa-checkbox__input:checked:disabled+.usa-checkbox__label::before{background-image:none;background-color:#c9c9c9;-webkit-box-shadow:0 0 0 2px #c9c9c9,inset 0 0 0 3px #fff;box-shadow:0 0 0 2px #c9c9c9,inset 0 0 0 3px #fff;-webkit-print-color-adjust:exact;text-indent:0}}.usa-button.formio-hidden{background-color:initial;border:none;box-shadow:none}
|