@purpurds/text-field 3.4.0 → 3.5.0
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.
|
@@ -6,11 +6,11 @@ System.register(["react","react/jsx-runtime","react-dom"],function(U,et){"use st
|
|
|
6
6
|
Copyright (c) 2018 Jed Watson.
|
|
7
7
|
Licensed under the MIT License (MIT), see
|
|
8
8
|
http://jedwatson.github.io/classnames
|
|
9
|
-
*/(function(t){(function(){var i={}.hasOwnProperty;function n(){for(var e="",r=0;r<arguments.length;r++){var u=arguments[r];u&&(e=l(e,a(u)))}return e}function a(e){if(typeof e=="string"||typeof e=="number")return e;if(typeof e!="object")return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var r="";for(var u in e)i.call(e,u)&&e[u]&&(r=l(r,u));return r}function l(e,r){return r?e?e+" "+r:e+r:e}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(I);var pe=I.exports;const ce=oe(pe),B={"purpur-field-error-text":"_purpur-field-error-text_1h4gy_1","purpur-field-error-text__icon":"_purpur-field-error-text__icon_1h4gy_12"},
|
|
9
|
+
*/(function(t){(function(){var i={}.hasOwnProperty;function n(){for(var e="",r=0;r<arguments.length;r++){var u=arguments[r];u&&(e=l(e,a(u)))}return e}function a(e){if(typeof e=="string"||typeof e=="number")return e;if(typeof e!="object")return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var r="";for(var u in e)i.call(e,u)&&e[u]&&(r=l(r,u));return r}function l(e,r){return r?e?e+" "+r:e+r:e}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(I);var pe=I.exports;const ce=oe(pe),B={"purpur-field-error-text":"_purpur-field-error-text_1h4gy_1","purpur-field-error-text__icon":"_purpur-field-error-text__icon_1h4gy_12"},R="purpur-field-error-text",de=({["data-testid"]:t,children:i,className:n,relevant:a="additions text",...l})=>P("div",{className:ce([n,B[R]]),"data-testid":t,"aria-live":"assertive","aria-relevant":a,...l,children:[_(se,{svg:re,size:"xs",className:B[`${R}__icon`]}),i]});function _e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var V={exports:{}};/*!
|
|
10
10
|
Copyright (c) 2018 Jed Watson.
|
|
11
11
|
Licensed under the MIT License (MIT), see
|
|
12
12
|
http://jedwatson.github.io/classnames
|
|
13
|
-
*/(function(t){(function(){var i={}.hasOwnProperty;function n(){for(var e="",r=0;r<arguments.length;r++){var u=arguments[r];u&&(e=l(e,a(u)))}return e}function a(e){if(typeof e=="string"||typeof e=="number")return e;if(typeof e!="object")return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var r="";for(var u in e)i.call(e,u)&&e[u]&&(r=l(r,u));return r}function l(e,r){return r?e?e+" "+r:e+r:e}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(
|
|
13
|
+
*/(function(t){(function(){var i={}.hasOwnProperty;function n(){for(var e="",r=0;r<arguments.length;r++){var u=arguments[r];u&&(e=l(e,a(u)))}return e}function a(e){if(typeof e=="string"||typeof e=="number")return e;if(typeof e!="object")return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var r="";for(var u in e)i.call(e,u)&&e[u]&&(r=l(r,u));return r}function l(e,r){return r?e?e+" "+r:e+r:e}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(V);var fe=V.exports;const me=_e(fe),T={"purpur-field-helper-text":"_purpur-field-helper-text_139ly_1","purpur-field-helper-text--disabled":"_purpur-field-helper-text--disabled_139ly_9"},Z="purpur-field-helper-text",ve=({["data-testid"]:t,children:i,className:n,disabled:a,id:l,...e})=>{const r=me([n,T[Z],{[T[`${Z}--disabled`]]:a}]);return _("span",{id:l,className:r,"data-testid":t,...e,children:i})};function ge(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var z={exports:{}};/*!
|
|
14
14
|
Copyright (c) 2018 Jed Watson.
|
|
15
15
|
Licensed under the MIT License (MIT), see
|
|
16
16
|
http://jedwatson.github.io/classnames
|
|
@@ -18,7 +18,7 @@ System.register(["react","react/jsx-runtime","react-dom"],function(U,et){"use st
|
|
|
18
18
|
Copyright (c) 2018 Jed Watson.
|
|
19
19
|
Licensed under the MIT License (MIT), see
|
|
20
20
|
http://jedwatson.github.io/classnames
|
|
21
|
-
*/(function(t){(function(){var i={}.hasOwnProperty;function n(){for(var e="",r=0;r<arguments.length;r++){var u=arguments[r];u&&(e=l(e,a(u)))}return e}function a(e){if(typeof e=="string"||typeof e=="number")return e;if(typeof e!="object")return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var r="";for(var u in e)i.call(e,u)&&e[u]&&(r=l(r,u));return r}function l(e,r){return r?e?e+" "+r:e+r:e}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(G);var
|
|
21
|
+
*/(function(t){(function(){var i={}.hasOwnProperty;function n(){for(var e="",r=0;r<arguments.length;r++){var u=arguments[r];u&&(e=l(e,a(u)))}return e}function a(e){if(typeof e=="string"||typeof e=="number")return e;if(typeof e!="object")return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var r="";for(var u in e)i.call(e,u)&&e[u]&&(r=l(r,u));return r}function l(e,r){return r?e?e+" "+r:e+r:e}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(G);var Re=G.exports;const Ve=Be(Re),H={"purpur-label":"_purpur-label_1jub8_1","purpur-label--disabled":"_purpur-label--disabled_1jub8_9"},X="purpur-label",Te=({children:t,className:i,htmlFor:n,"data-testid":a,disabled:l,...e})=>{const r=Ve([i,H[X],{[H[`${X}--disabled`]]:l}]);return _(Ie,{className:r,"data-testid":a,htmlFor:n,...e,children:t})};function Ze(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Y={exports:{}};/*!
|
|
22
22
|
Copyright (c) 2018 Jed Watson.
|
|
23
23
|
Licensed under the MIT License (MIT), see
|
|
24
24
|
http://jedwatson.github.io/classnames
|