@aurodesignsystem/auro-formkit 2.0.0-beta.28 → 2.0.0-beta.29
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/.turbo/cache/019608f754b4fd0c-meta.json +1 -0
- package/.turbo/cache/019608f754b4fd0c.tar.zst +0 -0
- package/.turbo/cache/06322ed0d04880b4-meta.json +1 -0
- package/.turbo/cache/06322ed0d04880b4.tar.zst +0 -0
- package/.turbo/cache/0b25a5384daf4b43-meta.json +1 -0
- package/.turbo/cache/0b25a5384daf4b43.tar.zst +0 -0
- package/.turbo/cache/18ce0cc67c14e0c9-meta.json +1 -0
- package/.turbo/cache/18ce0cc67c14e0c9.tar.zst +0 -0
- package/.turbo/cache/1d4280429ff4222f-meta.json +1 -0
- package/.turbo/cache/1d4280429ff4222f.tar.zst +0 -0
- package/.turbo/cache/1e42bb6f66cd5516-meta.json +1 -0
- package/.turbo/cache/202a84630d73699f-meta.json +1 -0
- package/.turbo/cache/202a84630d73699f.tar.zst +0 -0
- package/.turbo/cache/251ba344c6338ba3-meta.json +1 -0
- package/.turbo/cache/251ba344c6338ba3.tar.zst +0 -0
- package/.turbo/cache/298b6ff0272e6226-meta.json +1 -0
- package/.turbo/cache/298b6ff0272e6226.tar.zst +0 -0
- package/.turbo/cache/2abb5400a01a1694-meta.json +1 -0
- package/.turbo/cache/2abb5400a01a1694.tar.zst +0 -0
- package/.turbo/cache/30fda91ef83677e4-meta.json +1 -0
- package/.turbo/cache/3221d91a94756c26-meta.json +1 -0
- package/.turbo/cache/3221d91a94756c26.tar.zst +0 -0
- package/.turbo/cache/3ab09fe7cf32b3bf-meta.json +1 -0
- package/.turbo/cache/3ab09fe7cf32b3bf.tar.zst +0 -0
- package/.turbo/cache/3b758f5ca6cedcac-meta.json +1 -0
- package/.turbo/cache/3b758f5ca6cedcac.tar.zst +0 -0
- package/.turbo/cache/3f1b3db13386acdc-meta.json +1 -0
- package/.turbo/cache/{d6be9726dcdd22a3.tar.zst → 3f1b3db13386acdc.tar.zst} +0 -0
- package/.turbo/cache/430c124614841675-meta.json +1 -0
- package/.turbo/cache/430c124614841675.tar.zst +0 -0
- package/.turbo/cache/4472ff3b156042a3-meta.json +1 -0
- package/.turbo/cache/{ef71fdeaac2feb85.tar.zst → 4472ff3b156042a3.tar.zst} +0 -0
- package/.turbo/cache/448b2ae2221bf660-meta.json +1 -0
- package/.turbo/cache/448b2ae2221bf660.tar.zst +0 -0
- package/.turbo/cache/45bdeb0396723b25-meta.json +1 -0
- package/.turbo/cache/45bdeb0396723b25.tar.zst +0 -0
- package/.turbo/cache/4655a084a08732a7-meta.json +1 -0
- package/.turbo/cache/46f08b3f239b6b3c-meta.json +1 -0
- package/.turbo/cache/{343025281930ba78.tar.zst → 46f08b3f239b6b3c.tar.zst} +0 -0
- package/.turbo/cache/4e9c9a5dd62c50a4-meta.json +1 -0
- package/.turbo/cache/4f06a06e4f458e75-meta.json +1 -0
- package/.turbo/cache/4f06a06e4f458e75.tar.zst +0 -0
- package/.turbo/cache/4f0d7e7df611108b-meta.json +1 -0
- package/.turbo/cache/4f0d7e7df611108b.tar.zst +0 -0
- package/.turbo/cache/533b2c6c9fb1166a-meta.json +1 -0
- package/.turbo/cache/533b2c6c9fb1166a.tar.zst +0 -0
- package/.turbo/cache/560d172ca96e1544-meta.json +1 -0
- package/.turbo/cache/560d172ca96e1544.tar.zst +0 -0
- package/.turbo/cache/59481fd7f6f355ed-meta.json +1 -0
- package/.turbo/cache/59481fd7f6f355ed.tar.zst +0 -0
- package/.turbo/cache/5fc9a7a072827b7b-meta.json +1 -0
- package/.turbo/cache/5fc9a7a072827b7b.tar.zst +0 -0
- package/.turbo/cache/753b119a389426be-meta.json +1 -0
- package/.turbo/cache/753b119a389426be.tar.zst +0 -0
- package/.turbo/cache/8ac38d70a60381cb-meta.json +1 -0
- package/.turbo/cache/8ac38d70a60381cb.tar.zst +0 -0
- package/.turbo/cache/8c637a8d4c2166c5-meta.json +1 -0
- package/.turbo/cache/8c637a8d4c2166c5.tar.zst +0 -0
- package/.turbo/cache/9dc293081f28a24d-meta.json +1 -0
- package/.turbo/cache/{275c3e7a5ca37cf1.tar.zst → 9dc293081f28a24d.tar.zst} +0 -0
- package/.turbo/cache/a7dea1f1ae1fdc27-meta.json +1 -0
- package/.turbo/cache/a7dea1f1ae1fdc27.tar.zst +0 -0
- package/.turbo/cache/a9db8818bc92a60e-meta.json +1 -0
- package/.turbo/cache/{70875e34db93847e.tar.zst → a9db8818bc92a60e.tar.zst} +0 -0
- package/.turbo/cache/bae62d7b71b88997-meta.json +1 -0
- package/.turbo/cache/bb3131b31c8adc36-meta.json +1 -0
- package/.turbo/cache/bb3131b31c8adc36.tar.zst +0 -0
- package/.turbo/cache/bf3d1eace5e676f9-meta.json +1 -0
- package/.turbo/cache/bf3d1eace5e676f9.tar.zst +0 -0
- package/.turbo/cache/c45962e00a15f78b-meta.json +1 -0
- package/.turbo/cache/c49eaa579b60f045-meta.json +1 -0
- package/.turbo/cache/cbc12d12ec0e13ca-meta.json +1 -0
- package/.turbo/cache/{7fd42eb47038ad9a.tar.zst → cbc12d12ec0e13ca.tar.zst} +0 -0
- package/.turbo/cache/cbcd9db8ac9a2d52-meta.json +1 -0
- package/.turbo/cache/d3afdb9a7db9eacc-meta.json +1 -0
- package/.turbo/cache/d3afdb9a7db9eacc.tar.zst +0 -0
- package/.turbo/cache/d7d47541c105641f-meta.json +1 -0
- package/.turbo/cache/d8ecdff9c663c38e-meta.json +1 -0
- package/.turbo/cache/de494df6a3006101-meta.json +1 -0
- package/.turbo/cache/de494df6a3006101.tar.zst +0 -0
- package/.turbo/cache/e56a9865641ec3e8-meta.json +1 -0
- package/.turbo/cache/e56a9865641ec3e8.tar.zst +0 -0
- package/.turbo/cache/e7ed9e7056d80938-meta.json +1 -0
- package/.turbo/cache/e837827cd24834c4-meta.json +1 -0
- package/.turbo/cache/e837827cd24834c4.tar.zst +0 -0
- package/.turbo/cache/e95a7d076e700003-meta.json +1 -0
- package/.turbo/cache/{bfc67af529cca6db.tar.zst → e95a7d076e700003.tar.zst} +0 -0
- package/.turbo/cache/e9ff93179777aa26-meta.json +1 -0
- package/.turbo/cache/{73752d5facada01a.tar.zst → e9ff93179777aa26.tar.zst} +0 -0
- package/.turbo/cache/f571abacf9ec4e84-meta.json +1 -0
- package/.turbo/cache/f571abacf9ec4e84.tar.zst +0 -0
- package/.turbo/cache/f7ab9a13f9acc0ab-meta.json +1 -0
- package/.turbo/cache/f7ab9a13f9acc0ab.tar.zst +0 -0
- package/.turbo/cache/fa0bc0a1d41397e8-meta.json +1 -0
- package/.turbo/cache/fa0bc0a1d41397e8.tar.zst +0 -0
- package/.turbo/cache/fce6b6ea288791bf-meta.json +1 -0
- package/.turbo/cache/ff3c8a3042cab66e-meta.json +1 -0
- package/.turbo/cache/ff3c8a3042cab66e.tar.zst +0 -0
- package/CHANGELOG.md +13 -0
- package/components/checkbox/.turbo/turbo-build.log +3 -3
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.md +0 -1
- package/components/checkbox/demo/api.min.js +252 -41
- package/components/checkbox/demo/index.min.js +252 -41
- package/components/checkbox/dist/auro-checkbox-group.d.ts.map +1 -1
- package/components/checkbox/dist/index.js +252 -41
- package/components/checkbox/package.json +1 -0
- package/components/checkbox/src/auro-checkbox-group.js +6 -4
- package/components/checkbox/src/styles/colorGroup-css.js +1 -1
- package/components/checkbox/src/styles/colorGroup.css +0 -8
- package/components/checkbox/src/styles/colorGroup.scss +0 -8
- package/components/checkbox/src/styles/tokens-css.js +1 -1
- package/components/checkbox/src/styles/tokens.css +0 -1
- package/components/checkbox/src/styles/tokens.scss +0 -1
- package/components/combobox/.turbo/turbo-build.log +3 -3
- package/components/combobox/README.md +4 -4
- package/components/combobox/demo/api.min.js +611 -185
- package/components/combobox/demo/index.min.js +611 -185
- package/components/combobox/dist/index.js +582 -156
- package/components/combobox/src/auro-combobox.js +4 -4
- package/components/counter/.turbo/turbo-build.log +12 -3
- package/components/counter/.turbo/turbo-bundler.log +9 -3
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.min.js +163 -3126
- package/components/counter/demo/index.min.js +163 -3126
- package/components/counter/dist/index.js +163 -3126
- package/components/counter/src/styles/counter-button.css +1 -1
- package/components/datepicker/.turbo/turbo-build.log +1 -1
- package/components/datepicker/README.md +4 -4
- package/components/datepicker/demo/api.min.js +712 -286
- package/components/datepicker/demo/index.min.js +712 -286
- package/components/datepicker/dist/index.js +712 -286
- package/components/datepicker/src/auro-datepicker.js +4 -4
- package/components/datepicker/src/styles/style-css.js +1 -1
- package/components/datepicker/src/styles/style.css +0 -6
- package/components/datepicker/src/styles/style.scss +0 -6
- package/components/dropdown/.turbo/turbo-build.log +3 -3
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/api.md +0 -1
- package/components/dropdown/demo/api.min.js +259 -50
- package/components/dropdown/demo/index.min.js +259 -50
- package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
- package/components/dropdown/dist/index.js +259 -50
- package/components/dropdown/package.json +1 -0
- package/components/dropdown/src/auro-dropdown.js +4 -5
- package/components/dropdown/src/styles/color-css.js +1 -1
- package/components/dropdown/src/styles/color.css +0 -5
- package/components/dropdown/src/styles/color.scss +0 -5
- package/components/dropdown/src/styles/style-css.js +1 -1
- package/components/dropdown/src/styles/style.css +0 -6
- package/components/dropdown/src/styles/style.scss +0 -6
- package/components/dropdown/src/styles/tokens-css.js +1 -1
- package/components/dropdown/src/styles/tokens.css +0 -1
- package/components/dropdown/src/styles/tokens.scss +0 -1
- package/components/form/.turbo/turbo-build.log +2 -2
- package/components/form/.turbo/turbo-bundler.log +3 -3
- package/components/form/README.md +1 -1
- package/components/form/src/styles/style.css +1 -1
- package/components/helptext/.stylelintrc.json +3 -0
- package/components/helptext/.turbo/turbo-build$colon$sass.log +34 -0
- package/components/helptext/.turbo/turbo-build.log +49 -0
- package/components/helptext/.turbo/turbo-bundler.log +7 -0
- package/components/helptext/.turbo/turbo-postCss$colon$component.log +4 -0
- package/components/helptext/.turbo/turbo-sass$colon$render.log +22 -0
- package/components/helptext/.turbo/turbo-types.log +4 -0
- package/components/helptext/dist/auro-helptext.d.ts +46 -0
- package/components/helptext/dist/auro-helptext.d.ts.map +1 -0
- package/components/helptext/dist/index.d.ts +3 -0
- package/components/helptext/dist/index.d.ts.map +1 -0
- package/components/helptext/dist/index.js +212 -0
- package/components/{input/dist/styles/helpText-css.d.ts → helptext/dist/styles/color-css.d.ts} +1 -1
- package/components/helptext/dist/styles/color-css.d.ts.map +1 -0
- package/components/helptext/dist/styles/style-css.d.ts +3 -0
- package/components/helptext/dist/styles/style-css.d.ts.map +1 -0
- package/components/helptext/dist/styles/tokens-css.d.ts +3 -0
- package/components/helptext/dist/styles/tokens-css.d.ts.map +1 -0
- package/components/helptext/node_modules/chalk/package.json +83 -0
- package/components/helptext/node_modules/chalk/readme.md +297 -0
- package/components/helptext/node_modules/chalk/source/index.d.ts +325 -0
- package/components/helptext/node_modules/chalk/source/index.js +225 -0
- package/components/helptext/node_modules/chalk/source/utilities.js +33 -0
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
- package/components/helptext/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/components/helptext/node_modules/chalk/source/vendor/supports-color/index.js +182 -0
- package/components/helptext/package.json +57 -0
- package/components/helptext/src/auro-helptext.js +115 -0
- package/components/helptext/src/index.js +6 -0
- package/components/helptext/src/styles/color-css.js +2 -0
- package/components/helptext/src/styles/color.css +8 -0
- package/components/helptext/src/styles/color.scss +11 -0
- package/components/helptext/src/styles/style-css.js +2 -0
- package/components/helptext/src/styles/style.css +20 -0
- package/components/helptext/src/styles/style.scss +30 -0
- package/components/helptext/src/styles/tokens-css.js +2 -0
- package/components/helptext/src/styles/tokens.css +3 -0
- package/components/helptext/src/styles/tokens.scss +5 -0
- package/components/input/.turbo/turbo-build$colon$sass.log +3 -13
- package/components/input/.turbo/turbo-build.log +6 -16
- package/components/input/.turbo/turbo-sass$colon$render.log +0 -6
- package/components/input/README.md +1 -1
- package/components/input/demo/api.md +0 -1
- package/components/input/demo/api.min.js +317 -100
- package/components/input/demo/index.min.js +317 -100
- package/components/input/dist/auro-input.d.ts.map +1 -1
- package/components/input/dist/index.js +317 -100
- package/components/input/package.json +1 -0
- package/components/input/src/auro-input.js +18 -10
- package/components/input/src/styles/color-css.js +1 -1
- package/components/input/src/styles/color.css +0 -5
- package/components/input/src/styles/color.scss +0 -5
- package/components/input/src/styles/style-css.js +1 -1
- package/components/input/src/styles/style.css +0 -7
- package/components/input/src/styles/style.scss +0 -1
- package/components/input/src/styles/tokens-css.js +1 -1
- package/components/input/src/styles/tokens.css +0 -1
- package/components/input/src/styles/tokens.scss +0 -1
- package/components/menu/.turbo/turbo-build.log +3 -3
- package/components/menu/.turbo/turbo-bundler.log +3 -3
- package/components/menu/README.md +1 -1
- package/components/menu/src/styles/style-menu.css +1 -1
- package/components/radio/.turbo/turbo-build.log +3 -3
- package/components/radio/README.md +1 -1
- package/components/radio/demo/api.md +0 -1
- package/components/radio/demo/api.min.js +249 -39
- package/components/radio/demo/index.min.js +249 -39
- package/components/radio/dist/auro-radio-group.d.ts.map +1 -1
- package/components/radio/dist/index.js +249 -39
- package/components/radio/package.json +1 -0
- package/components/radio/src/auro-radio-group.js +5 -4
- package/components/radio/src/styles/groupColor-css.js +1 -1
- package/components/radio/src/styles/groupColor.css +0 -8
- package/components/radio/src/styles/groupColor.scss +0 -8
- package/components/radio/src/styles/tokens-css.js +1 -1
- package/components/radio/src/styles/tokens.css +0 -1
- package/components/radio/src/styles/tokens.scss +0 -1
- package/components/select/.turbo/turbo-build.log +3 -3
- package/components/select/README.md +3 -3
- package/components/select/demo/api.min.js +306 -97
- package/components/select/demo/index.min.js +306 -97
- package/components/select/dist/index.js +275 -66
- package/components/select/src/auro-select.js +6 -6
- package/components/select/src/styles/style-css.js +1 -1
- package/components/select/src/styles/style.css +0 -6
- package/components/select/src/styles/style.scss +0 -6
- package/package.json +1 -1
- package/turbo.json +29 -1
- package/.turbo/cache/01837d45e23cd116-meta.json +0 -1
- package/.turbo/cache/01c730e29850df0e-meta.json +0 -1
- package/.turbo/cache/01c730e29850df0e.tar.zst +0 -0
- package/.turbo/cache/07e4aea841b5c179-meta.json +0 -1
- package/.turbo/cache/07e4aea841b5c179.tar.zst +0 -0
- package/.turbo/cache/0fc7683b19b36011-meta.json +0 -1
- package/.turbo/cache/0fc7683b19b36011.tar.zst +0 -0
- package/.turbo/cache/16a509b204dcbdb0-meta.json +0 -1
- package/.turbo/cache/186b768ac1b98f78-meta.json +0 -1
- package/.turbo/cache/186b768ac1b98f78.tar.zst +0 -0
- package/.turbo/cache/1bce84fdc42802d2-meta.json +0 -1
- package/.turbo/cache/1c255bf1aa2eafce-meta.json +0 -1
- package/.turbo/cache/1c255bf1aa2eafce.tar.zst +0 -0
- package/.turbo/cache/249d1d43631f5e4f-meta.json +0 -1
- package/.turbo/cache/249d1d43631f5e4f.tar.zst +0 -0
- package/.turbo/cache/275c3e7a5ca37cf1-meta.json +0 -1
- package/.turbo/cache/27ebfe2b553fe1ac-meta.json +0 -1
- package/.turbo/cache/2a6f0845cefd9b00-meta.json +0 -1
- package/.turbo/cache/2a6f0845cefd9b00.tar.zst +0 -0
- package/.turbo/cache/322ccd8a22ec9970-meta.json +0 -1
- package/.turbo/cache/322ccd8a22ec9970.tar.zst +0 -0
- package/.turbo/cache/343025281930ba78-meta.json +0 -1
- package/.turbo/cache/3da42d6d4786724b-meta.json +0 -1
- package/.turbo/cache/3da42d6d4786724b.tar.zst +0 -0
- package/.turbo/cache/404405300073400d-meta.json +0 -1
- package/.turbo/cache/4107ba68b8e8ebcf-meta.json +0 -1
- package/.turbo/cache/4107ba68b8e8ebcf.tar.zst +0 -0
- package/.turbo/cache/487b1fee94d973bd-meta.json +0 -1
- package/.turbo/cache/487b1fee94d973bd.tar.zst +0 -0
- package/.turbo/cache/490641dad66a5370-meta.json +0 -1
- package/.turbo/cache/490641dad66a5370.tar.zst +0 -0
- package/.turbo/cache/4d2f4072e8936a9f-meta.json +0 -1
- package/.turbo/cache/5737e8d759ed51ff-meta.json +0 -1
- package/.turbo/cache/5737e8d759ed51ff.tar.zst +0 -0
- package/.turbo/cache/58a5790c21b99cda-meta.json +0 -1
- package/.turbo/cache/58a5790c21b99cda.tar.zst +0 -0
- package/.turbo/cache/591529d76be34703-meta.json +0 -1
- package/.turbo/cache/6b0479ed69bd2065-meta.json +0 -1
- package/.turbo/cache/6b0479ed69bd2065.tar.zst +0 -0
- package/.turbo/cache/6f11f141e7fafacc-meta.json +0 -1
- package/.turbo/cache/6f11f141e7fafacc.tar.zst +0 -0
- package/.turbo/cache/6fb9e9bba51b6840-meta.json +0 -1
- package/.turbo/cache/6fb9e9bba51b6840.tar.zst +0 -0
- package/.turbo/cache/6ff997921af9fb59-meta.json +0 -1
- package/.turbo/cache/6ff997921af9fb59.tar.zst +0 -0
- package/.turbo/cache/70875e34db93847e-meta.json +0 -1
- package/.turbo/cache/71d0a5c0510249dc-meta.json +0 -1
- package/.turbo/cache/71d0a5c0510249dc.tar.zst +0 -0
- package/.turbo/cache/73752d5facada01a-meta.json +0 -1
- package/.turbo/cache/7408be1f1775d1c8-meta.json +0 -1
- package/.turbo/cache/7408be1f1775d1c8.tar.zst +0 -0
- package/.turbo/cache/7811c51b140b1749-meta.json +0 -1
- package/.turbo/cache/7811c51b140b1749.tar.zst +0 -0
- package/.turbo/cache/7ebc152219ff9567-meta.json +0 -1
- package/.turbo/cache/7ebc152219ff9567.tar.zst +0 -0
- package/.turbo/cache/7fd42eb47038ad9a-meta.json +0 -1
- package/.turbo/cache/86bc86f3d68ea7b8-meta.json +0 -1
- package/.turbo/cache/86bc86f3d68ea7b8.tar.zst +0 -0
- package/.turbo/cache/96bbdde6d7af7a07-meta.json +0 -1
- package/.turbo/cache/96bbdde6d7af7a07.tar.zst +0 -0
- package/.turbo/cache/987f6417dd39ab07-meta.json +0 -1
- package/.turbo/cache/99124fc7a6f04d50-meta.json +0 -1
- package/.turbo/cache/99124fc7a6f04d50.tar.zst +0 -0
- package/.turbo/cache/a35fd59a026ba05d-meta.json +0 -1
- package/.turbo/cache/a35fd59a026ba05d.tar.zst +0 -0
- package/.turbo/cache/a37f52c3a0711fb1-meta.json +0 -1
- package/.turbo/cache/a37f52c3a0711fb1.tar.zst +0 -0
- package/.turbo/cache/a41d8d5c41883f90-meta.json +0 -1
- package/.turbo/cache/a41d8d5c41883f90.tar.zst +0 -0
- package/.turbo/cache/b9afda223ab019c0-meta.json +0 -1
- package/.turbo/cache/bfc67af529cca6db-meta.json +0 -1
- package/.turbo/cache/bfdd5050193d8d7f-meta.json +0 -1
- package/.turbo/cache/bfdd5050193d8d7f.tar.zst +0 -0
- package/.turbo/cache/c4979afcbb735507-meta.json +0 -1
- package/.turbo/cache/c4979afcbb735507.tar.zst +0 -0
- package/.turbo/cache/cc0b63f78cad3f03-meta.json +0 -1
- package/.turbo/cache/d3a14c4caef9ac61-meta.json +0 -1
- package/.turbo/cache/d3a14c4caef9ac61.tar.zst +0 -0
- package/.turbo/cache/d4cf163d2e264a1c-meta.json +0 -1
- package/.turbo/cache/d6be9726dcdd22a3-meta.json +0 -1
- package/.turbo/cache/d817f099573f0c19-meta.json +0 -1
- package/.turbo/cache/d817f099573f0c19.tar.zst +0 -0
- package/.turbo/cache/dcc61c2e2c1d2d88-meta.json +0 -1
- package/.turbo/cache/e3244db4001289f3-meta.json +0 -1
- package/.turbo/cache/e3244db4001289f3.tar.zst +0 -0
- package/.turbo/cache/e7eabc578e94771c-meta.json +0 -1
- package/.turbo/cache/e7eabc578e94771c.tar.zst +0 -0
- package/.turbo/cache/e90b218494bb23ed-meta.json +0 -1
- package/.turbo/cache/e90b218494bb23ed.tar.zst +0 -0
- package/.turbo/cache/ee84ef9ff72212fa-meta.json +0 -1
- package/.turbo/cache/ee84ef9ff72212fa.tar.zst +0 -0
- package/.turbo/cache/ef71fdeaac2feb85-meta.json +0 -1
- package/.turbo/cache/f17caf2bbe9bc89a-meta.json +0 -1
- package/.turbo/cache/f17caf2bbe9bc89a.tar.zst +0 -0
- package/.turbo/cache/f5449eabca32be65-meta.json +0 -1
- package/.turbo/cache/f5449eabca32be65.tar.zst +0 -0
- package/.turbo/cache/ff343641ff2ba157-meta.json +0 -1
- package/.turbo/cache/ff343641ff2ba157.tar.zst +0 -0
- package/components/checkbox/.turbo/turbo-bundler.log +0 -13
- package/components/checkbox/.turbo/turbo-types.log +0 -4
- package/components/dropdown/.turbo/turbo-build$colon$version.log +0 -7
- package/components/dropdown/.turbo/turbo-bundler.log +0 -13
- package/components/dropdown/.turbo/turbo-types.log +0 -4
- package/components/input/.turbo/turbo-build$colon$version.log +0 -10
- package/components/input/.turbo/turbo-bundler.log +0 -13
- package/components/input/.turbo/turbo-types.log +0 -4
- package/components/input/dist/styles/helpText-css.d.ts.map +0 -1
- package/components/input/src/styles/helpText-css.js +0 -2
- package/components/input/src/styles/helpText.css +0 -6
- package/components/input/src/styles/helpText.scss +0 -9
- package/components/radio/.turbo/turbo-bundler.log +0 -13
- package/components/radio/.turbo/turbo-types.log +0 -4
- /package/.turbo/cache/{b9afda223ab019c0.tar.zst → 1e42bb6f66cd5516.tar.zst} +0 -0
- /package/.turbo/cache/{d4cf163d2e264a1c.tar.zst → 30fda91ef83677e4.tar.zst} +0 -0
- /package/.turbo/cache/{16a509b204dcbdb0.tar.zst → 4655a084a08732a7.tar.zst} +0 -0
- /package/.turbo/cache/{cc0b63f78cad3f03.tar.zst → 4e9c9a5dd62c50a4.tar.zst} +0 -0
- /package/.turbo/cache/{404405300073400d.tar.zst → bae62d7b71b88997.tar.zst} +0 -0
- /package/.turbo/cache/{dcc61c2e2c1d2d88.tar.zst → c45962e00a15f78b.tar.zst} +0 -0
- /package/.turbo/cache/{01837d45e23cd116.tar.zst → c49eaa579b60f045.tar.zst} +0 -0
- /package/.turbo/cache/{591529d76be34703.tar.zst → cbcd9db8ac9a2d52.tar.zst} +0 -0
- /package/.turbo/cache/{1bce84fdc42802d2.tar.zst → d7d47541c105641f.tar.zst} +0 -0
- /package/.turbo/cache/{4d2f4072e8936a9f.tar.zst → d8ecdff9c663c38e.tar.zst} +0 -0
- /package/.turbo/cache/{27ebfe2b553fe1ac.tar.zst → e7ed9e7056d80938.tar.zst} +0 -0
- /package/.turbo/cache/{987f6417dd39ab07.tar.zst → fce6b6ea288791bf.tar.zst} +0 -0
|
@@ -3,33 +3,33 @@
|
|
|
3
3
|
* Copyright 2017 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
|
-
const t$
|
|
6
|
+
const t$4=globalThis,i$9=t$4.trustedTypes,s$4=i$9?i$9.createPolicy("lit-html",{createHTML:t=>t}):undefined,e$7="$lit$",h$3=`lit$${Math.random().toFixed(9).slice(2)}$`,o$7="?"+h$3,n$6=`<${o$7}>`,r$7=document,l$4=()=>r$7.createComment(""),c$5=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a$4=Array.isArray,u$4=t=>a$4(t)||"function"==typeof t?.[Symbol.iterator],d$3="[ \t\n\f\r]",f$3=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v$1=/-->/g,_$1=/>/g,m$1=RegExp(`>|${d$3}(?:([^\\s"'>=/]+)(${d$3}*=${d$3}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p$3=/'/g,g$1=/"/g,$$1=/^(?:script|style|textarea|title)$/i,y$3=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x$1=y$3(1),T$1=Symbol.for("lit-noChange"),E$1=Symbol.for("lit-nothing"),A$1=new WeakMap,C$1=r$7.createTreeWalker(r$7,129);function P$1(t,i){if(!a$4(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s$4?s$4.createHTML(i):i}const V$1=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f$3;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f$3?"!--"===u[1]?c=v$1:undefined!==u[1]?c=_$1:undefined!==u[2]?($$1.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m$1):undefined!==u[3]&&(c=m$1):c===m$1?">"===u[0]?(c=r??f$3,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m$1:'"'===u[3]?g$1:p$3):c===g$1||c===p$3?c=m$1:c===v$1||c===_$1?c=f$3:(c=m$1,r=undefined);const x=c===m$1&&t[i+1].startsWith("/>")?" ":"";l+=c===f$3?s+n$6:d>=0?(o.push(a),s.slice(0,d)+e$7+s.slice(d)+h$3+x):s+h$3+(-2===d?i:x);}return [P$1(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};let N$1 = class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V$1(t,s);if(this.el=N.createElement(f,n),C$1.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C$1.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e$7)){const i=v[a++],s=r.getAttribute(t).split(h$3),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H$1:"?"===e[1]?I$1:"@"===e[1]?L$1:k$1}),r.removeAttribute(t);}else t.startsWith(h$3)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($$1.test(r.tagName)){const t=r.textContent.split(h$3),s=t.length-1;if(s>0){r.textContent=i$9?i$9.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l$4()),C$1.nextNode(),d.push({type:2,index:++c});r.append(t[s],l$4());}}}else if(8===r.nodeType)if(r.data===o$7)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h$3,t+1));)d.push({type:7,index:c}),t+=h$3.length-1;}c++;}}static createElement(t,i){const s=r$7.createElement("template");return s.innerHTML=t,s}};function S$3(t,i,s=t,e){if(i===T$1)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c$5(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S$3(t,h._$AS(t,i.values),h,e)),i}let M$1 = class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$7).importNode(i,true);C$1.currentNode=e;let h=C$1.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R$1(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z$1(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C$1.nextNode(),o++);}return C$1.currentNode=r$7,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}};let R$1 = class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E$1,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S$3(this,t,i),c$5(t)?t===E$1||null==t||""===t?(this._$AH!==E$1&&this._$AR(),this._$AH=E$1):t!==this._$AH&&t!==T$1&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u$4(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E$1&&c$5(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$7.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N$1.createElement(P$1(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M$1(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A$1.get(t.strings);return undefined===i&&A$1.set(t.strings,i=new N$1(t)),i}k(t){a$4(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l$4()),this.O(l$4()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}};let k$1 = class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E$1,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E$1;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S$3(this,t,i,0),o=!c$5(t)||t!==this._$AH&&t!==T$1,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S$3(this,e[s+n],i,n),r===T$1&&(r=this._$AH[n]),o||=!c$5(r)||r!==this._$AH[n],r===E$1?t=E$1:t!==E$1&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E$1?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}};let H$1 = class H extends k$1{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E$1?undefined:t;}};let I$1 = class I extends k$1{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E$1);}};let L$1 = class L extends k$1{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S$3(this,t,i,0)??E$1)===T$1)return;const s=this._$AH,e=t===E$1&&s!==E$1||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E$1&&(s===E$1||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}};let z$1 = class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S$3(this,t);}};const j$1=t$4.litHtmlPolyfillSupport;j$1?.(N$1,R$1),(t$4.litHtmlVersions??=[]).push("3.2.1");const B$1=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R$1(i.insertBefore(l$4(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @license
|
|
10
10
|
* Copyright 2020 Google LLC
|
|
11
11
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12
12
|
*/
|
|
13
|
-
const a$
|
|
13
|
+
const a$3=Symbol.for(""),o$6=t=>{if(t?.r===a$3)return t?._$litStatic$},s$3=t=>({_$litStatic$:t,r:a$3}),i$8=(t,...r)=>({_$litStatic$:r.reduce(((r,e,a)=>r+(t=>{if(undefined!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1]),t[0]),r:a$3}),l$3=new Map,n$5=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=false;for(;$<a;){for(c=r[$];$<a&&undefined!==(i=e[$],s=o$6(i));)c+=s+r[++$],f=true;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");undefined===(r=l$3.get(t))&&(n.raw=n,l$3.set(t,r=n)),e=u;}return t(r,...e)},u$3=n$5(x$1);
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @license
|
|
17
17
|
* Copyright 2019 Google LLC
|
|
18
18
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
19
19
|
*/
|
|
20
|
-
const t$
|
|
20
|
+
const t$3=globalThis,e$6=t$3.ShadowRoot&&(undefined===t$3.ShadyCSS||t$3.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2=Symbol(),o$5=new WeakMap;let n$4 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$2)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$6&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$5.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$5.set(s,t));}return t}toString(){return this.cssText}};const r$6=t=>new n$4("string"==typeof t?t:t+"",undefined,s$2),i$7=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$4(o,t,s$2)},S$2=(s,o)=>{if(e$6)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$3.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$4=e$6?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$6(e)})(t):t;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* @license
|
|
24
24
|
* Copyright 2017 Google LLC
|
|
25
25
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
26
|
-
*/const{is:i$
|
|
26
|
+
*/const{is:i$6,defineProperty:e$5,getOwnPropertyDescriptor:r$5,getOwnPropertyNames:h$2,getOwnPropertySymbols:o$4,getPrototypeOf:n$3}=Object,a$2=globalThis,c$3=a$2.trustedTypes,l$2=c$3?c$3.emptyScript:"",p$2=a$2.reactiveElementPolyfillSupport,d$2=(t,s)=>t,u$2={toAttribute(t,s){switch(s){case Boolean:t=t?l$2:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$2=(t,s)=>!i$6(t,s),y$2={attribute:true,type:String,converter:u$2,reflect:false,hasChanged:f$2};Symbol.metadata??=Symbol("metadata"),a$2.litPropertyMetadata??=new WeakMap;let b$1 = class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$2){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$5(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$5(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$2}static _$Ei(){if(this.hasOwnProperty(d$2("elementProperties")))return;const t=n$3(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$2("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$2("properties"))){const t=this.properties,s=[...h$2(t),...o$4(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$4(s));}else undefined!==s&&i.push(c$4(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$2(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$2).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$2;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$2)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}};b$1.elementStyles=[],b$1.shadowRootOptions={mode:"open"},b$1[d$2("elementProperties")]=new Map,b$1[d$2("finalized")]=new Map,p$2?.({ReactiveElement:b$1}),(a$2.reactiveElementVersions??=[]).push("2.0.4");
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* @license
|
|
30
30
|
* Copyright 2017 Google LLC
|
|
31
31
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
32
|
-
*/class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}}r._$litElement$=true,r["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r});const i$
|
|
32
|
+
*/let r$4 = class r extends b$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B$1(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T$1}};r$4._$litElement$=true,r$4["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r$4});const i$5=globalThis.litElementPolyfillSupport;i$5?.({LitElement:r$4});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
33
33
|
|
|
34
34
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
35
35
|
// See LICENSE in the project root for license information.
|
|
@@ -38,7 +38,7 @@ const t$1=globalThis,e$3=t$1.ShadowRoot&&(undefined===t$1.ShadyCSS||t$1.ShadyCSS
|
|
|
38
38
|
|
|
39
39
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
40
40
|
|
|
41
|
-
class AuroLibraryRuntimeUtils {
|
|
41
|
+
let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
|
|
42
42
|
|
|
43
43
|
/* eslint-disable jsdoc/require-param */
|
|
44
44
|
|
|
@@ -99,7 +99,7 @@ class AuroLibraryRuntimeUtils {
|
|
|
99
99
|
|
|
100
100
|
return elemTag === tag || elem.hasAttribute(tag);
|
|
101
101
|
}
|
|
102
|
-
}
|
|
102
|
+
};
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
105
|
* Custom positioning reference element.
|
|
@@ -2013,7 +2013,7 @@ class AuroDependencyVersioning {
|
|
|
2013
2013
|
*/
|
|
2014
2014
|
generateTag(baseName, version, tagClass) {
|
|
2015
2015
|
const elementName = this.generateElementName(baseName, version);
|
|
2016
|
-
const tag = i$
|
|
2016
|
+
const tag = i$8`${s$3(elementName)}`;
|
|
2017
2017
|
|
|
2018
2018
|
if (!customElements.get(elementName)) {
|
|
2019
2019
|
customElements.define(elementName, class extends tagClass {});
|
|
@@ -2028,19 +2028,19 @@ class AuroDependencyVersioning {
|
|
|
2028
2028
|
* Copyright 2017 Google LLC
|
|
2029
2029
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2030
2030
|
*/
|
|
2031
|
-
const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$
|
|
2031
|
+
const t$2={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$4=t=>(...e)=>({_$litDirective$:t,values:e});let i$4 = class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
2032
2032
|
|
|
2033
2033
|
/**
|
|
2034
2034
|
* @license
|
|
2035
2035
|
* Copyright 2018 Google LLC
|
|
2036
2036
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2037
|
-
*/const e=e$
|
|
2037
|
+
*/const e$3=e$4(class extends i$4{constructor(t){if(super(t),t.type!==t$2.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(undefined===this.st){this.st=new Set,undefined!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$1}});
|
|
2038
2038
|
|
|
2039
2039
|
/**
|
|
2040
2040
|
* @license
|
|
2041
2041
|
* Copyright 2018 Google LLC
|
|
2042
2042
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2043
|
-
*/const o=o=>o??E;
|
|
2043
|
+
*/const o$3=o=>o??E$1;
|
|
2044
2044
|
|
|
2045
2045
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2046
2046
|
// See LICENSE in the project root for license information.
|
|
@@ -2052,7 +2052,7 @@ const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e
|
|
|
2052
2052
|
* @attr {Boolean} hiddenAudible - If present, the component will be hidden from screen readers, but seen visually
|
|
2053
2053
|
*/
|
|
2054
2054
|
|
|
2055
|
-
class AuroElement extends r {
|
|
2055
|
+
class AuroElement extends r$4 {
|
|
2056
2056
|
|
|
2057
2057
|
// function to define props used within the scope of this component
|
|
2058
2058
|
static get properties() {
|
|
@@ -2108,7 +2108,7 @@ const cacheFetch = (uri, options = {}) => {
|
|
|
2108
2108
|
return _fetchMap.get(uri);
|
|
2109
2109
|
};
|
|
2110
2110
|
|
|
2111
|
-
var styleCss$
|
|
2111
|
+
var styleCss$3 = i$7`*,*:before,*:after{box-sizing:border-box}@media(prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}*:focus-visible{outline:0}*:focus-visible{outline:0}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, 0.75rem))}:host{color:currentColor;vertical-align:middle;line-height:1;display:inline-block}:host .logo{color:var(--ds-color-brand-midnight-400, #01426a)}svg{min-width:var(--ds-auro-icon-size, 1.5rem) !important;width:var(--ds-auro-icon-size, 1.5rem) !important;height:var(--ds-auro-icon-size, 1.5rem) !important}.label{display:flex;align-items:flex-start}.label svg{margin:0 var(--ds-size-50, 0.25rem)}.wrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.labelContainer{line-height:1.8}`;
|
|
2112
2112
|
|
|
2113
2113
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2114
2114
|
// See LICENSE in the project root for license information.
|
|
@@ -2147,8 +2147,8 @@ class BaseIcon extends AuroElement {
|
|
|
2147
2147
|
}
|
|
2148
2148
|
|
|
2149
2149
|
static get styles() {
|
|
2150
|
-
return i$
|
|
2151
|
-
${styleCss$
|
|
2150
|
+
return i$7`
|
|
2151
|
+
${styleCss$3}
|
|
2152
2152
|
`;
|
|
2153
2153
|
}
|
|
2154
2154
|
|
|
@@ -2189,9 +2189,9 @@ class BaseIcon extends AuroElement {
|
|
|
2189
2189
|
}
|
|
2190
2190
|
}
|
|
2191
2191
|
|
|
2192
|
-
var tokensCss$
|
|
2192
|
+
var tokensCss$2 = i$7`:host{--ds-auro-icon-color: var(--ds-color-icon-primary-default, $ds-color-icon-primary-default);--ds-auro-icon-size: var(--ds-size-300, $ds-size-300)}`;
|
|
2193
2193
|
|
|
2194
|
-
var colorCss$
|
|
2194
|
+
var colorCss$3 = i$7`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-default, #a2c270)}:host(:not([onDark])[disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #adadad)}:host(:not([onDark])[emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-default, #2a2a2a)}:host(:not([onDark])[error]){--ds-auro-icon-color: var(--ds-color-icon-error-default, #cc1816)}:host(:not([onDark])[info]){--ds-auro-icon-color: var(--ds-color-icon-info-default, #326aa5)}:host(:not([onDark])[secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-default, #7e8894)}:host(:not([onDark])[subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-default, #a0c9f1)}:host(:not([onDark])[success]){--ds-auro-icon-color: var(--ds-color-icon-success-default, #40a080)}:host(:not([onDark])[tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-default, #afb9c6)}:host(:not([onDark])[warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-default, #c49432)}:host([onDark]){--ds-auro-icon-color: var(--ds-color-icon-primary-inverse, #f7f7f7)}:host([onDark][accent]){--ds-auro-icon-color: var(--ds-color-icon-accent-inverse, #badd81)}:host([onDark][disabled]){--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #7e7e7e)}:host([onDark][emphasis]){--ds-auro-icon-color: var(--ds-color-icon-emphasis-inverse, #ffffff)}:host([onDark][error]){--ds-auro-icon-color: var(--ds-color-icon-error-inverse, #f9aca6)}:host([onDark][info]){--ds-auro-icon-color: var(--ds-color-icon-info-inverse, #89b2d4)}:host([onDark][secondary]){--ds-auro-icon-color: var(--ds-color-icon-secondary-inverse, #ccd2db)}:host([onDark][subtle]){--ds-auro-icon-color: var(--ds-color-icon-subtle-inverse, #326aa5)}:host([onDark][success]){--ds-auro-icon-color: var(--ds-color-icon-success-inverse, #8eceb9)}:host([onDark][tertiary]){--ds-auro-icon-color: var(--ds-color-icon-tertiary-inverse, #939fad)}:host([onDark][warning]){--ds-auro-icon-color: var(--ds-color-icon-warning-inverse, #f2c153)}`;
|
|
2195
2195
|
|
|
2196
2196
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2197
2197
|
// See LICENSE in the project root for license information.
|
|
@@ -2253,7 +2253,7 @@ class AuroIcon extends BaseIcon {
|
|
|
2253
2253
|
this.success = false;
|
|
2254
2254
|
this.tertiary = false;
|
|
2255
2255
|
this.warning = false;
|
|
2256
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
2256
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
2257
2257
|
}
|
|
2258
2258
|
|
|
2259
2259
|
// function to define props used within the scope of this component
|
|
@@ -2335,9 +2335,9 @@ class AuroIcon extends BaseIcon {
|
|
|
2335
2335
|
static get styles() {
|
|
2336
2336
|
return [
|
|
2337
2337
|
super.styles,
|
|
2338
|
-
i$
|
|
2339
|
-
i$
|
|
2340
|
-
i$
|
|
2338
|
+
i$7`${tokensCss$2}`,
|
|
2339
|
+
i$7`${styleCss$3}`,
|
|
2340
|
+
i$7`${colorCss$3}`
|
|
2341
2341
|
];
|
|
2342
2342
|
}
|
|
2343
2343
|
|
|
@@ -2350,7 +2350,7 @@ class AuroIcon extends BaseIcon {
|
|
|
2350
2350
|
*
|
|
2351
2351
|
*/
|
|
2352
2352
|
static register(name = "auro-icon") {
|
|
2353
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroIcon);
|
|
2353
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroIcon);
|
|
2354
2354
|
}
|
|
2355
2355
|
|
|
2356
2356
|
connectedCallback() {
|
|
@@ -2379,20 +2379,20 @@ class AuroIcon extends BaseIcon {
|
|
|
2379
2379
|
'wrapper': true,
|
|
2380
2380
|
};
|
|
2381
2381
|
|
|
2382
|
-
return x`
|
|
2382
|
+
return x$1`
|
|
2383
2383
|
<div
|
|
2384
|
-
class="${e(classes)}"
|
|
2385
|
-
title="${o(this.title || undefined)}">
|
|
2386
|
-
<span aria-hidden="${o(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
2387
|
-
${this.customSvg ? x`
|
|
2384
|
+
class="${e$3(classes)}"
|
|
2385
|
+
title="${o$3(this.title || undefined)}">
|
|
2386
|
+
<span aria-hidden="${o$3(this.ariaHidden ? this.ariaHidden : true)}" part="svg">
|
|
2387
|
+
${this.customSvg ? x$1`
|
|
2388
2388
|
<slot name="svg"></slot>
|
|
2389
|
-
` : x`
|
|
2389
|
+
` : x$1`
|
|
2390
2390
|
${this.svg}
|
|
2391
2391
|
`
|
|
2392
2392
|
}
|
|
2393
2393
|
</span>
|
|
2394
2394
|
|
|
2395
|
-
<div class="${e(a11y)}">
|
|
2395
|
+
<div class="${e$3(a11y)}">
|
|
2396
2396
|
<slot></slot>
|
|
2397
2397
|
</div>
|
|
2398
2398
|
</div>
|
|
@@ -2402,15 +2402,226 @@ class AuroIcon extends BaseIcon {
|
|
|
2402
2402
|
|
|
2403
2403
|
var iconVersion = '6.1.2';
|
|
2404
2404
|
|
|
2405
|
-
var styleCss$
|
|
2405
|
+
var styleCss$2 = i$7`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);transition:font-size .3s cubic-bezier(0.215, 0.61, 0.355, 1);white-space:normal}.label[hasTrigger=false]{font-size:var(--ds-text-body-size-default, 1rem)}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;overflow:hidden;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
|
|
2406
|
+
|
|
2407
|
+
var colorCss$2 = i$7`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);outline:1px solid var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}:host([error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within,:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}:host([error]) .trigger:active{box-shadow:none;outline:none}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
|
|
2408
|
+
|
|
2409
|
+
var tokensCss$1 = i$7`:host{--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
2410
|
+
|
|
2411
|
+
/**
|
|
2412
|
+
* @license
|
|
2413
|
+
* Copyright 2019 Google LLC
|
|
2414
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
2415
|
+
*/
|
|
2416
|
+
const t$1=globalThis,e$2=t$1.ShadowRoot&&(undefined===t$1.ShadyCSS||t$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1=Symbol(),o$2=new WeakMap;let n$2 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$2&&undefined===t){const e=undefined!==s&&1===s.length;e&&(t=o$2.get(s)),undefined===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2.set(s,t));}return t}toString(){return this.cssText}};const r$3=t=>new n$2("string"==typeof t?t:t+"",undefined,s$1),i$3=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(true===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$2(o,t,s$1)},S$1=(s,o)=>{if(e$2)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1.litNonce;undefined!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2=e$2?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3(e)})(t):t;
|
|
2417
|
+
|
|
2418
|
+
/**
|
|
2419
|
+
* @license
|
|
2420
|
+
* Copyright 2017 Google LLC
|
|
2421
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
2422
|
+
*/const{is:i$2,defineProperty:e$1,getOwnPropertyDescriptor:r$2,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$1,getPrototypeOf:n$1}=Object,a$1=globalThis,c$1=a$1.trustedTypes,l$1=c$1?c$1.emptyScript:"",p$1=a$1.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1=(t,s)=>!i$2(t,s),y$1={attribute:true,type:String,converter:u$1,reflect:false,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$1.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y$1){if(s.state&&(s.attribute=false),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);undefined!==r&&e$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??y$1}static _$Ei(){if(this.hasOwnProperty(d$1("elementProperties")))return;const t=n$1(this);t.finalize(),undefined!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d$1("properties"))){const t=this.properties,s=[...h$1(t),...o$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(undefined!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);undefined!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2(s));}else undefined!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?undefined:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():undefined}constructor(){super(),this._$Ep=undefined,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),undefined!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(undefined!==e&&true===i.reflect){const r=(undefined!==i.converter?.toAttribute?i.converter:u$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(undefined!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:undefined!==t.converter?.fromAttribute?t.converter:u$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(undefined!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1)(this[t],s))return;this.P(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),true===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=undefined;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t) true!==i.wrapped||this._$AL.has(s)||undefined===this[s]||this.P(s,this[s],i);}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=false,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d$1("elementProperties")]=new Map,b[d$1("finalized")]=new Map,p$1?.({ReactiveElement:b}),(a$1.reactiveElementVersions??=[]).push("2.0.4");
|
|
2423
|
+
|
|
2424
|
+
/**
|
|
2425
|
+
* @license
|
|
2426
|
+
* Copyright 2017 Google LLC
|
|
2427
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
2428
|
+
*/
|
|
2429
|
+
const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):undefined,e="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h,n=`<${o}>`,r$1=document,l=()=>r$1.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,u=t=>a(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$1.createTreeWalker(r$1,129);function P(t,i){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return undefined!==s?s.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v:undefined!==u[1]?c=_:undefined!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):undefined!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):undefined===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=undefined===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=undefined);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h+x):s+h+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r$1.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=undefined!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?undefined:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(false),undefined===o?h=undefined:(h=new o(t),h._$AT(t,s,e)),undefined!==e?(s._$Co??=[])[e]=h:s._$Cl=h),undefined!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=undefined,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1).importNode(i,true);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;undefined!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$1,e}p(t){let i=0;for(const s of this._$AV) undefined!==s&&(undefined!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=undefined,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??true;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return undefined!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):undefined!==t._$litType$?this.$(t):undefined!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(undefined===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return undefined===i&&A.set(t.strings,i=new N(t)),i}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(false,true,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){ undefined===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=undefined,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=false;if(undefined===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?undefined:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=undefined,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j=t.litHtmlPolyfillSupport;j?.(N,R),(t.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(undefined===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l(),t),t,undefined,s??{});}return h._$AI(t),h};
|
|
2430
|
+
|
|
2431
|
+
/**
|
|
2432
|
+
* @license
|
|
2433
|
+
* Copyright 2017 Google LLC
|
|
2434
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
2435
|
+
*/class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=undefined;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(true);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(false);}render(){return T}}r._$litElement$=true,r["finalized"]=true,globalThis.litElementHydrateSupport?.({LitElement:r});const i=globalThis.litElementPolyfillSupport;i?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
|
|
2436
|
+
|
|
2437
|
+
var colorCss$1 = i$3`:host([error]){--ds-auro-helptext-color: var(--ds-color-text-error-default, #cc1816)}.helptext-wrapper{color:var(--ds-auro-helptext-color)}`;
|
|
2438
|
+
|
|
2439
|
+
var styleCss$1 = i$3`.helptext-wrapper{display:none;margin-top:var(--ds-size-50, 0.25rem);margin-bottom:0;font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-size-200, 1rem)}:host([large]) .helptext-wrapper{font-size:var(--ds-text-body-size-default, 1rem)}.helptext-wrapper[visible]{display:block}::slotted(p){margin-block:0}`;
|
|
2440
|
+
|
|
2441
|
+
var tokensCss = i$3`:host{--ds-auro-helptext-color: var(--ds-color-text-tertiary-default, #6a717c)}`;
|
|
2442
|
+
|
|
2443
|
+
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
2444
|
+
// See LICENSE in the project root for license information.
|
|
2445
|
+
|
|
2446
|
+
// ---------------------------------------------------------------------
|
|
2447
|
+
|
|
2448
|
+
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
2449
|
+
|
|
2450
|
+
class AuroLibraryRuntimeUtils {
|
|
2451
|
+
|
|
2452
|
+
/* eslint-disable jsdoc/require-param */
|
|
2453
|
+
|
|
2454
|
+
/**
|
|
2455
|
+
* This will register a new custom element with the browser.
|
|
2456
|
+
* @param {String} name - The name of the custom element.
|
|
2457
|
+
* @param {Object} componentClass - The class to register as a custom element.
|
|
2458
|
+
* @returns {void}
|
|
2459
|
+
*/
|
|
2460
|
+
registerComponent(name, componentClass) {
|
|
2461
|
+
if (!customElements.get(name)) {
|
|
2462
|
+
customElements.define(name, class extends componentClass {});
|
|
2463
|
+
}
|
|
2464
|
+
}
|
|
2465
|
+
|
|
2466
|
+
/**
|
|
2467
|
+
* Finds and returns the closest HTML Element based on a selector.
|
|
2468
|
+
* @returns {void}
|
|
2469
|
+
*/
|
|
2470
|
+
closestElement(
|
|
2471
|
+
selector, // selector like in .closest()
|
|
2472
|
+
base = this, // extra functionality to skip a parent
|
|
2473
|
+
__Closest = (el, found = el && el.closest(selector)) =>
|
|
2474
|
+
!el || el === document || el === window
|
|
2475
|
+
? null // standard .closest() returns null for non-found selectors also
|
|
2476
|
+
: found
|
|
2477
|
+
? found // found a selector INside this element
|
|
2478
|
+
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
2479
|
+
) {
|
|
2480
|
+
return __Closest(base);
|
|
2481
|
+
}
|
|
2482
|
+
/* eslint-enable jsdoc/require-param */
|
|
2483
|
+
|
|
2484
|
+
/**
|
|
2485
|
+
* If the element passed is registered with a different tag name than what is passed in, the tag name is added as an attribute to the element.
|
|
2486
|
+
* @param {Object} elem - The element to check.
|
|
2487
|
+
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
2488
|
+
* @returns {void}
|
|
2489
|
+
*/
|
|
2490
|
+
handleComponentTagRename(elem, tagName) {
|
|
2491
|
+
const tag = tagName.toLowerCase();
|
|
2492
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
2493
|
+
|
|
2494
|
+
if (elemTag !== tag) {
|
|
2495
|
+
elem.setAttribute(tag, true);
|
|
2496
|
+
}
|
|
2497
|
+
}
|
|
2498
|
+
|
|
2499
|
+
/**
|
|
2500
|
+
* Validates if an element is a specific Auro component.
|
|
2501
|
+
* @param {Object} elem - The element to validate.
|
|
2502
|
+
* @param {String} tagName - The name of the Auro component to check against.
|
|
2503
|
+
* @returns {Boolean} - Returns true if the element is the specified Auro component.
|
|
2504
|
+
*/
|
|
2505
|
+
elementMatch(elem, tagName) {
|
|
2506
|
+
const tag = tagName.toLowerCase();
|
|
2507
|
+
const elemTag = elem.tagName.toLowerCase();
|
|
2508
|
+
|
|
2509
|
+
return elemTag === tag || elem.hasAttribute(tag);
|
|
2510
|
+
}
|
|
2511
|
+
}
|
|
2512
|
+
|
|
2513
|
+
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2514
|
+
// See LICENSE in the project root for license information.
|
|
2406
2515
|
|
|
2407
|
-
var colorCss$1 = i$3`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);outline:1px solid var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}.helpText{color:var(--ds-auro-dropdown-help-text-color)}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-help-text-color: var(--ds-color-text-error-default, #cc1816);--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}:host([error]) .trigger{outline:solid 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within,:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}:host([error]) .trigger:active{box-shadow:none;outline:none}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
|
|
2408
2516
|
|
|
2409
|
-
|
|
2517
|
+
/**
|
|
2518
|
+
* Displays help text or error messages within form elements - Internal Use Only.
|
|
2519
|
+
*
|
|
2520
|
+
* @attr { Boolean } large - If declared, make font-size to 1rem(16px).
|
|
2521
|
+
*/
|
|
2522
|
+
class AuroHelpText extends r {
|
|
2410
2523
|
|
|
2411
|
-
|
|
2524
|
+
constructor() {
|
|
2525
|
+
super();
|
|
2412
2526
|
|
|
2413
|
-
|
|
2527
|
+
this.error = false;
|
|
2528
|
+
this.hasTextContent = false;
|
|
2529
|
+
}
|
|
2530
|
+
|
|
2531
|
+
static get styles() {
|
|
2532
|
+
return [
|
|
2533
|
+
colorCss$1,
|
|
2534
|
+
styleCss$1,
|
|
2535
|
+
tokensCss
|
|
2536
|
+
];
|
|
2537
|
+
}
|
|
2538
|
+
|
|
2539
|
+
// function to define props used within the scope of this component
|
|
2540
|
+
static get properties() {
|
|
2541
|
+
return {
|
|
2542
|
+
|
|
2543
|
+
/**
|
|
2544
|
+
* @private
|
|
2545
|
+
*/
|
|
2546
|
+
slotNodes: {
|
|
2547
|
+
type: Boolean,
|
|
2548
|
+
},
|
|
2549
|
+
|
|
2550
|
+
/**
|
|
2551
|
+
* @private
|
|
2552
|
+
*/
|
|
2553
|
+
hasTextContent: {
|
|
2554
|
+
type: Boolean,
|
|
2555
|
+
},
|
|
2556
|
+
|
|
2557
|
+
/**
|
|
2558
|
+
* If declared, make font color red.
|
|
2559
|
+
*/
|
|
2560
|
+
error: {
|
|
2561
|
+
type: Boolean,
|
|
2562
|
+
reflect: true,
|
|
2563
|
+
},
|
|
2564
|
+
};
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2567
|
+
/**
|
|
2568
|
+
* This will register this element with the browser.
|
|
2569
|
+
* @param {string} [name="auro-helptext"] - The name of element that you want to register to.
|
|
2570
|
+
*
|
|
2571
|
+
* @example
|
|
2572
|
+
* AuroCheckbox.register("custom-helptext") // this will register this element to <custom-helptext/>
|
|
2573
|
+
*
|
|
2574
|
+
*/
|
|
2575
|
+
static register(name = "auro-helptext") {
|
|
2576
|
+
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroHelpText);
|
|
2577
|
+
}
|
|
2578
|
+
|
|
2579
|
+
updated() {
|
|
2580
|
+
this.handleSlotChange();
|
|
2581
|
+
}
|
|
2582
|
+
|
|
2583
|
+
handleSlotChange(event) {
|
|
2584
|
+
if (event) {
|
|
2585
|
+
this.slotNodes = event.target.assignedNodes();
|
|
2586
|
+
}
|
|
2587
|
+
|
|
2588
|
+
if (this.slotNodes) {
|
|
2589
|
+
this.hasTextContent = this.slotNodes.some((slot) => {
|
|
2590
|
+
if (slot.textContent.trim()) {
|
|
2591
|
+
return true;
|
|
2592
|
+
}
|
|
2593
|
+
|
|
2594
|
+
if (!slot.querySelector) {
|
|
2595
|
+
return false;
|
|
2596
|
+
}
|
|
2597
|
+
|
|
2598
|
+
const nestedSlot = slot.tagName === 'SLOT' ? slot : slot.querySelector('slot');
|
|
2599
|
+
if (!nestedSlot) {
|
|
2600
|
+
return false;
|
|
2601
|
+
}
|
|
2602
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
2603
|
+
return nestedSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
|
|
2604
|
+
});
|
|
2605
|
+
} else {
|
|
2606
|
+
this.hasTextContent = false;
|
|
2607
|
+
}
|
|
2608
|
+
}
|
|
2609
|
+
|
|
2610
|
+
// function that renders the HTML and CSS into the scope of the component
|
|
2611
|
+
render() {
|
|
2612
|
+
return x`
|
|
2613
|
+
<div class="helptext-wrapper" ?visible="${this.hasTextContent}">
|
|
2614
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
2615
|
+
</div>
|
|
2616
|
+
`;
|
|
2617
|
+
}
|
|
2618
|
+
}
|
|
2619
|
+
|
|
2620
|
+
AuroHelpText.register();
|
|
2621
|
+
|
|
2622
|
+
var styleCss = i$7`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}`;
|
|
2623
|
+
|
|
2624
|
+
var colorCss = i$7`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
|
|
2414
2625
|
|
|
2415
2626
|
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
2416
2627
|
// See LICENSE in the project root for license information.
|
|
@@ -2430,7 +2641,7 @@ const DESIGN_TOKEN_BREAKPOINT_OPTIONS = [
|
|
|
2430
2641
|
* @csspart bibContainer - Apply css to the bib container.
|
|
2431
2642
|
*/
|
|
2432
2643
|
|
|
2433
|
-
class AuroDropdownBib extends r {
|
|
2644
|
+
class AuroDropdownBib extends r$4 {
|
|
2434
2645
|
|
|
2435
2646
|
constructor() {
|
|
2436
2647
|
super();
|
|
@@ -2445,7 +2656,7 @@ class AuroDropdownBib extends r {
|
|
|
2445
2656
|
return [
|
|
2446
2657
|
styleCss,
|
|
2447
2658
|
colorCss,
|
|
2448
|
-
tokensCss
|
|
2659
|
+
tokensCss$1
|
|
2449
2660
|
];
|
|
2450
2661
|
}
|
|
2451
2662
|
|
|
@@ -2496,7 +2707,7 @@ class AuroDropdownBib extends r {
|
|
|
2496
2707
|
|
|
2497
2708
|
// function that renders the HTML and CSS into the scope of the component
|
|
2498
2709
|
render() {
|
|
2499
|
-
return u$
|
|
2710
|
+
return u$3`
|
|
2500
2711
|
<div class="container" part="bibContainer">
|
|
2501
2712
|
<slot></slot>
|
|
2502
2713
|
</div>
|
|
@@ -2526,7 +2737,7 @@ if (!customElements.get("auro-dropdownbib")) {
|
|
|
2526
2737
|
* @event auroDropdown-triggerClick - Notifies that the trigger has been clicked.
|
|
2527
2738
|
* @event auroDropdown-toggled - Notifies that the visibility of the dropdown bib has changed.
|
|
2528
2739
|
*/
|
|
2529
|
-
class AuroDropdown extends r {
|
|
2740
|
+
class AuroDropdown extends r$4 {
|
|
2530
2741
|
constructor() {
|
|
2531
2742
|
super();
|
|
2532
2743
|
|
|
@@ -2565,7 +2776,7 @@ class AuroDropdown extends r {
|
|
|
2565
2776
|
/**
|
|
2566
2777
|
* @private
|
|
2567
2778
|
*/
|
|
2568
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils();
|
|
2779
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$1();
|
|
2569
2780
|
|
|
2570
2781
|
/**
|
|
2571
2782
|
* @private
|
|
@@ -2766,9 +2977,9 @@ class AuroDropdown extends r {
|
|
|
2766
2977
|
|
|
2767
2978
|
static get styles() {
|
|
2768
2979
|
return [
|
|
2769
|
-
colorCss$
|
|
2770
|
-
styleCss$
|
|
2771
|
-
tokensCss
|
|
2980
|
+
colorCss$2,
|
|
2981
|
+
styleCss$2,
|
|
2982
|
+
tokensCss$1
|
|
2772
2983
|
];
|
|
2773
2984
|
}
|
|
2774
2985
|
|
|
@@ -2781,7 +2992,7 @@ class AuroDropdown extends r {
|
|
|
2781
2992
|
*
|
|
2782
2993
|
*/
|
|
2783
2994
|
static register(name = "auro-dropdown") {
|
|
2784
|
-
AuroLibraryRuntimeUtils.prototype.registerComponent(name, AuroDropdown);
|
|
2995
|
+
AuroLibraryRuntimeUtils$1.prototype.registerComponent(name, AuroDropdown);
|
|
2785
2996
|
}
|
|
2786
2997
|
|
|
2787
2998
|
connectedCallback() {
|
|
@@ -2905,7 +3116,7 @@ class AuroDropdown extends r {
|
|
|
2905
3116
|
|
|
2906
3117
|
// function that renders the HTML and CSS into the scope of the component
|
|
2907
3118
|
render() {
|
|
2908
|
-
return u$
|
|
3119
|
+
return u$3`
|
|
2909
3120
|
<div>
|
|
2910
3121
|
<div
|
|
2911
3122
|
id="trigger"
|
|
@@ -2923,10 +3134,10 @@ class AuroDropdown extends r {
|
|
|
2923
3134
|
<div class="triggerContent">
|
|
2924
3135
|
<slot
|
|
2925
3136
|
name="trigger"
|
|
2926
|
-
@slotchange="${
|
|
3137
|
+
@slotchange="${this.handleTriggerContentSlotChange}"></slot>
|
|
2927
3138
|
</div>
|
|
2928
3139
|
</div>
|
|
2929
|
-
${this.chevron || this.common ? u$
|
|
3140
|
+
${this.chevron || this.common ? u$3`
|
|
2930
3141
|
<div
|
|
2931
3142
|
id="showStateIcon"
|
|
2932
3143
|
part="chevron">
|
|
@@ -2940,11 +3151,9 @@ class AuroDropdown extends r {
|
|
|
2940
3151
|
</div>
|
|
2941
3152
|
` : undefined }
|
|
2942
3153
|
</div>
|
|
2943
|
-
<
|
|
2944
|
-
class="helpText"
|
|
2945
|
-
part="helpText">
|
|
3154
|
+
<auro-helptext part="helpText" ?error="${this.error}">
|
|
2946
3155
|
<slot name="helpText"></slot>
|
|
2947
|
-
</
|
|
3156
|
+
</auro-helptext>
|
|
2948
3157
|
<div class="slotContent">
|
|
2949
3158
|
<slot @slotchange="${this.handleDefaultSlot}"></slot>
|
|
2950
3159
|
</div>
|