@aws-amplify/ui 3.9.2 → 3.10.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.
- package/dist/esm/node_modules/tslib/tslib.es6.js +0 -14
- package/dist/esm/theme/tokens/components/collection.js +1 -0
- package/dist/esm/theme/tokens/components/index.js +1 -1
- package/dist/esm/theme/tokens/components/searchField.js +1 -0
- package/dist/index.js +1 -16
- package/dist/styles.css +127 -6
- package/dist/theme.css +35 -1
- package/dist/types/machines/authenticator/actors/resetPassword.d.ts +1 -21
- package/dist/types/machines/authenticator/actors/signIn.d.ts +1 -21
- package/dist/types/machines/authenticator/actors/signOut.d.ts +1 -21
- package/dist/types/machines/authenticator/index.d.ts +1 -21
- package/dist/types/machines/authenticator/signUp.d.ts +1 -21
- package/dist/types/theme/tokens/components/button.d.ts +1 -1
- package/dist/types/theme/tokens/components/collection.d.ts +32 -0
- package/dist/types/theme/tokens/components/index.d.ts +4 -0
- package/dist/types/theme/tokens/components/pagination.d.ts +2 -2
- package/dist/types/theme/tokens/components/searchField.d.ts +15 -0
- package/package.json +2 -1
|
@@ -1,15 +1 @@
|
|
|
1
|
-
/*! *****************************************************************************
|
|
2
|
-
Copyright (c) Microsoft Corporation.
|
|
3
|
-
|
|
4
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
-
purpose with or without fee is hereby granted.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
-
***************************************************************************** */
|
|
15
1
|
var t=function(){return t=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},t.apply(this,arguments)};function e(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}function n(t,e,n,r){return new(n||(n=Promise))((function(o,a){function l(t){try{i(r.next(t))}catch(t){a(t)}}function c(t){try{i(r.throw(t))}catch(t){a(t)}}function i(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(l,c)}i((r=r.apply(t,e||[])).next())}))}function r(t,e){var n,r,o,a,l={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return l.label++,{value:a[1],done:!1};case 5:l.label++,r=a[1],a=[0];continue;case 7:a=l.ops.pop(),l.trys.pop();continue;default:if(!(o=l.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){l=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){l.label=a[1];break}if(6===a[0]&&l.label<o[1]){l.label=o[1],o=a;break}if(o&&l.label<o[2]){l.label=o[2],l.ops.push(a);break}o[2]&&l.ops.pop(),l.trys.pop();continue}a=e.call(t,l)}catch(t){a=[6,t],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}function o(t,e,n){if(n||2===arguments.length)for(var r,o=0,a=e.length;o<a;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}export{t as __assign,n as __awaiter,r as __generator,e as __rest,o as __spreadArray};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var o={pagination:{current:{color:{value:"{components.pagination.current.color}"},backgroundColor:{value:"{components.pagination.current.backgroundColor}"}},button:{color:{value:"{components.pagination.button.color}"},_hover:{backgroundColor:{value:"{components.pagination.button.hover.backgroundColor}"},color:{value:"{components.pagination.button.hover.color}"}},_disabled:{color:{value:"{components.pagination.button.disabled.color}"}}}},search:{input:{color:{value:"{components.searchfield.color}"}},button:{color:{value:"{components.searchfield.button.color}"},_active:{backgroundColor:{value:"{components.searchfield.button._active.backgroundColor}"},borderColor:{value:"{components.searchfield.button._active.borderColor}"},color:{value:"{components.searchfield.button._active.color}"}},_disabled:{backgroundColor:{value:"{components.searchfield.button._disabled.backgroundColor}"},borderColor:{value:"{components.searchfield.button._disabled.borderColor}"},color:{value:"{components.searchfield.button._disabled.color}"}},_focus:{backgroundColor:{value:"{components.searchfield.button._focus.backgroundColor}"},borderColor:{value:"{components.searchfield.button._focus.borderColor}"},color:{value:"{components.searchfield.button._focus.color}"}},_hover:{backgroundColor:{value:"{components.searchfield.button._hover.backgroundColor}"},borderColor:{value:"{components.searchfield.button._hover.borderColor}"},color:{value:"{components.searchfield.button._hover.color}"}}}}};export{o as collection};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{alert as o}from"./alert.js";import{authenticator as r}from"./authenticator.js";import{badge as t}from"./badge.js";import{button as e}from"./button.js";import{card as i}from"./card.js";import{checkbox as m}from"./checkbox.js";import{checkboxfield as s}from"./checkboxField.js";import{
|
|
1
|
+
import{alert as o}from"./alert.js";import{authenticator as r}from"./authenticator.js";import{badge as t}from"./badge.js";import{button as e}from"./button.js";import{card as i}from"./card.js";import{checkbox as m}from"./checkbox.js";import{checkboxfield as s}from"./checkboxField.js";import{collection as p}from"./collection.js";import{copy as f}from"./copy.js";import{countrycodeselect as l}from"./countryCodeSelect.js";import{divider as d}from"./divider.js";import{expander as j}from"./expander.js";import{field as a}from"./field.js";import{fieldcontrol as c}from"./fieldControl.js";import{fieldgroup as n}from"./fieldGroup.js";import{fieldmessages as g}from"./fieldMessages.js";import{flex as u}from"./flex.js";import{heading as b}from"./heading.js";import{icon as h}from"./icon.js";import{image as x}from"./image.js";import{link as k}from"./link.js";import{loader as F}from"./loader.js";import{menu as y}from"./menu.js";import{pagination as v}from"./pagination.js";import{placeholder as w}from"./placeholder.js";import{radio as B}from"./radio.js";import{rating as C}from"./rating.js";import{searchfield as G}from"./searchField.js";import{select as M}from"./select.js";import{selectfield as S}from"./selectField.js";import{sliderfield as q}from"./sliderField.js";import{stepperfield as z}from"./stepperField.js";import{switchfield as A}from"./switchField.js";import{table as D}from"./table.js";import{tabs as E}from"./tabs.js";import{text as H}from"./text.js";import{togglebutton as I}from"./toggleButton.js";import{togglebuttongroup as J}from"./toggleButtonGroup.js";var K={alert:o,authenticator:r,badge:t,button:e,card:i,checkbox:m,checkboxfield:s,collection:p,copy:f,countrycodeselect:l,divider:d,expander:j,field:a,fieldcontrol:c,fieldgroup:n,fieldmessages:g,flex:u,heading:b,icon:h,image:x,link:k,loader:F,menu:y,pagination:v,placeholder:w,radio:B,rating:C,searchfield:G,select:M,selectfield:S,sliderfield:q,stepperfield:z,switchfield:A,table:D,tabs:E,text:H,togglebutton:I,togglebuttongroup:J};export{K as components};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var o={color:{value:"{components.fieldcontrol.color.value}"},button:{color:{value:"{components.button.color.value}"},_active:{backgroundColor:{value:"{components.button._active.backgroundColor.value}"},borderColor:{value:"{components.button._active.borderColor.value}"},color:{value:"{components.button._active.color.value}"}},_disabled:{backgroundColor:{value:"{components.button._disabled.backgroundColor.value}"},borderColor:{value:"{components.button._disabled.borderColor.value}"},color:{value:"{components.button._disabled.color.value}"}},_focus:{backgroundColor:{value:"{components.button._focus.backgroundColor.value}"},borderColor:{value:"{components.button._focus.borderColor.value}"},color:{value:"{components.button._focus.color.value}"}},_hover:{backgroundColor:{value:"{components.button._hover.backgroundColor.value}"},borderColor:{value:"{components.button._hover.borderColor.value}"},color:{value:"{components.button._hover.color.value}"}}}};export{o as searchfield};
|