From 9511884216ed0e1c9e79734186acee627757e985 Mon Sep 17 00:00:00 2001 From: Josh Bruce Date: Wed, 14 Jul 2021 17:03:36 -0500 Subject: [PATCH] dependencies + performance + archives --- composer.json | 8 +- composer.lock | 439 +- .../UIKit/test/zzArchive/FormControlsTest.php | 48 + .../zzArchive/Compound/ActionContainer.php | 40 + .../UIKit/zzArchive/Compound/Alert.php | 70 + .../UIKit/zzArchive/Compound/Head.php | 62 + .../UIKit/zzArchive/Compound/Header.php | 46 + .../Compound/NavigationSecondary.php | 40 + .../zzArchive/Compound/NavigationSide.php | 42 + .../UIKit/zzArchive/FormControl.php | 153 + .../UIKit/zzArchive/FormControls/Button.php | 85 + .../zzArchive/FormControls/InputDate.php | 103 + .../zzArchive/FormControls/InputFile.php | 41 + .../zzArchive/FormControls/InputHidden.php | 25 + .../zzArchive/FormControls/InputText.php | 65 + .../UIKit/zzArchive/FormControls/Progress.php | 100 + .../UIKit/zzArchive/FormControls/Select.php | 168 + .../zzArchive/FormControls/StripeElements.php | 173 + .../UIKit/zzArchive/FormControls/Textarea.php | 66 + .../FormControls/TextareaMarkdown.php | 38 + .../UIKit/zzArchive/Forms/Form.php | 37 + .../UIKit/zzArchive/Simple/Scripts.php | 29 + .../UIKit/zzArchive/Simple/SimpleTable.php | 116 + .../UIKit/zzArchive/Simple/UserCard.php | 19 + .../UIKit/zzArchive/Traits/ButtonTypes.php | 24 + .../Traits/ExternalStylesAndScripts.php | 24 + .../Traits/PrimaryAndSecondaryNav.php | 29 + markup-zzArchive/php-markup/.editorconfig | 15 + markup-zzArchive/php-markup/.gitignore | 5 + markup-zzArchive/php-markup/CONTRIBUTING.md | 29 + markup-zzArchive/php-markup/LICENSE | 25 + markup-zzArchive/php-markup/README.md | 17 + markup-zzArchive/php-markup/composer.json | 45 + markup-zzArchive/php-markup/composer.lock | 1973 +++ markup-zzArchive/php-markup/phpunit.xml | 18 + markup-zzArchive/php-markup/src/Element.php | 115 + markup-zzArchive/php-markup/src/Html.php | 158 + .../php-markup/src/Html/Data/AriaRoles.php | 605 + .../src/Html/Data/Attributes/Aria.php | 141 + .../src/Html/Data/Attributes/Content.php | 1502 +++ .../src/Html/Data/Attributes/EventOn.php | 661 + .../src/Html/Data/Attributes/Ordered.php | 102 + .../php-markup/src/Html/Data/Elements.php | 995 ++ .../src/Html/Elements/AttributeHandler.php | 169 + .../src/Html/Elements/Edits/Del.php | 64 + .../src/Html/Elements/Edits/Ins.php | 65 + .../src/Html/Elements/Embedded/Area.php | 63 + .../src/Html/Elements/Embedded/Audio.php | 31 + .../src/Html/Elements/Embedded/Embed.php | 69 + .../src/Html/Elements/Embedded/Iframe.php | 63 + .../src/Html/Elements/Embedded/Img.php | 64 + .../src/Html/Elements/Embedded/Map.php | 61 + .../src/Html/Elements/Embedded/Object_.php | 81 + .../src/Html/Elements/Embedded/Param.php | 51 + .../src/Html/Elements/Embedded/Source.php | 51 + .../src/Html/Elements/Embedded/Track.php | 43 + .../src/Html/Elements/Embedded/Video.php | 82 + .../src/Html/Elements/Forms/Button.php | 86 + .../src/Html/Elements/Forms/Datalist.php | 60 + .../src/Html/Elements/Forms/Fieldset.php | 80 + .../src/Html/Elements/Forms/Form.php | 69 + .../src/Html/Elements/Forms/Input.php | 92 + .../src/Html/Elements/Forms/Keygen.php | 64 + .../src/Html/Elements/Forms/Label.php | 61 + .../src/Html/Elements/Forms/Legend.php | 46 + .../src/Html/Elements/Forms/Meter.php | 65 + .../src/Html/Elements/Forms/Optgroup.php | 65 + .../src/Html/Elements/Forms/Option.php | 73 + .../src/Html/Elements/Forms/Output.php | 71 + .../src/Html/Elements/Forms/Progress.php | 61 + .../src/Html/Elements/Forms/Select.php | 83 + .../src/Html/Elements/Forms/Textarea.php | 78 + .../src/Html/Elements/Grouping/Blockquote.php | 48 + .../src/Html/Elements/Grouping/Dd.php | 31 + .../src/Html/Elements/Grouping/Div.php | 45 + .../src/Html/Elements/Grouping/Dl.php | 63 + .../src/Html/Elements/Grouping/Dt.php | 54 + .../src/Html/Elements/Grouping/Figcaption.php | 52 + .../src/Html/Elements/Grouping/Figure.php | 53 + .../src/Html/Elements/Grouping/Hr.php | 46 + .../src/Html/Elements/Grouping/Li.php | 62 + .../src/Html/Elements/Grouping/Main.php | 42 + .../src/Html/Elements/Grouping/Ol.php | 34 + .../src/Html/Elements/Grouping/P.php | 28 + .../src/Html/Elements/Grouping/Pre.php | 25 + .../src/Html/Elements/Grouping/Ul.php | 76 + .../src/Html/Elements/HtmlElement.php | 153 + .../Html/Elements/HtmlElementInterface.php | 12 + .../src/Html/Elements/Metadata/Base.php | 48 + .../src/Html/Elements/Metadata/Head.php | 75 + .../src/Html/Elements/Metadata/Link.php | 70 + .../src/Html/Elements/Metadata/Meta.php | 91 + .../src/Html/Elements/Metadata/Style.php | 53 + .../src/Html/Elements/Metadata/Title.php | 44 + .../src/Html/Elements/Root/Component.php | 28 + .../src/Html/Elements/Root/Doctype.php | 11 + .../src/Html/Elements/Root/Html.php | 108 + .../src/Html/Elements/Scripting/Canvas.php | 75 + .../src/Html/Elements/Scripting/Noscript.php | 58 + .../src/Html/Elements/Scripting/Script.php | 75 + .../src/Html/Elements/Scripting/Template.php | 71 + .../src/Html/Elements/Sections/Address.php | 56 + .../src/Html/Elements/Sections/Article.php | 59 + .../src/Html/Elements/Sections/Aside.php | 45 + .../src/Html/Elements/Sections/Body.php | 71 + .../src/Html/Elements/Sections/Footer.php | 23 + .../src/Html/Elements/Sections/H1.php | 58 + .../src/Html/Elements/Sections/H2.php | 25 + .../src/Html/Elements/Sections/H3.php | 25 + .../src/Html/Elements/Sections/H4.php | 25 + .../src/Html/Elements/Sections/H5.php | 25 + .../src/Html/Elements/Sections/H6.php | 25 + .../src/Html/Elements/Sections/Header.php | 55 + .../src/Html/Elements/Sections/Nav.php | 35 + .../src/Html/Elements/Sections/Section.php | 47 + .../src/Html/Elements/Tabular/Caption.php | 52 + .../src/Html/Elements/Tabular/Col.php | 50 + .../src/Html/Elements/Tabular/Colgroup.php | 70 + .../src/Html/Elements/Tabular/Table.php | 81 + .../src/Html/Elements/Tabular/Tbody.php | 34 + .../src/Html/Elements/Tabular/Td.php | 56 + .../src/Html/Elements/Tabular/Tfoot.php | 41 + .../src/Html/Elements/Tabular/Th.php | 66 + .../src/Html/Elements/Tabular/Thead.php | 66 + .../src/Html/Elements/Tabular/Tr.php | 64 + .../src/Html/Elements/TextLevel/A.php | 78 + .../src/Html/Elements/TextLevel/Abbr.php | 32 + .../src/Html/Elements/TextLevel/B.php | 22 + .../src/Html/Elements/TextLevel/Bdi.php | 30 + .../src/Html/Elements/TextLevel/Bdo.php | 30 + .../src/Html/Elements/TextLevel/Br.php | 47 + .../src/Html/Elements/TextLevel/Cite.php | 22 + .../src/Html/Elements/TextLevel/Code.php | 22 + .../src/Html/Elements/TextLevel/Data.php | 28 + .../src/Html/Elements/TextLevel/Dfn.php | 30 + .../src/Html/Elements/TextLevel/Em.php | 22 + .../src/Html/Elements/TextLevel/I.php | 22 + .../src/Html/Elements/TextLevel/Kbd.php | 22 + .../src/Html/Elements/TextLevel/Mark.php | 22 + .../src/Html/Elements/TextLevel/Q.php | 30 + .../src/Html/Elements/TextLevel/Rb.php | 49 + .../src/Html/Elements/TextLevel/Rp.php | 51 + .../src/Html/Elements/TextLevel/Rt.php | 52 + .../src/Html/Elements/TextLevel/Rtc.php | 52 + .../src/Html/Elements/TextLevel/Ruby.php | 22 + .../src/Html/Elements/TextLevel/S.php | 22 + .../src/Html/Elements/TextLevel/Samp.php | 22 + .../src/Html/Elements/TextLevel/Small.php | 22 + .../src/Html/Elements/TextLevel/Span.php | 53 + .../src/Html/Elements/TextLevel/Strong.php | 22 + .../src/Html/Elements/TextLevel/Sub.php | 22 + .../src/Html/Elements/TextLevel/Sup.php | 22 + .../src/Html/Elements/TextLevel/Time.php | 32 + .../src/Html/Elements/TextLevel/U.php | 22 + .../src/Html/Elements/TextLevel/Variable.php | 22 + .../src/Html/Elements/TextLevel/Wbr.php | 47 + markup-zzArchive/php-markup/src/UIKit.php | 183 + .../UIKit/Elements/Compound/DoubleWrap.php | 47 + .../src/UIKit/Elements/Compound/Markdown.php | 28 + .../src/UIKit/Elements/Pages/WebView.php | 50 + .../src/UIKit/Elements/Simple/Anchor.php | 25 + .../src/UIKit/Elements/Simple/Image.php | 39 + .../zzArchive/Compound/ActionContainer.php | 40 + .../src/UIKit/zzArchive/Compound/Alert.php | 70 + .../src/UIKit/zzArchive/Compound/Head.php | 62 + .../src/UIKit/zzArchive/Compound/Header.php | 46 + .../Compound/NavigationSecondary.php | 40 + .../zzArchive/Compound/NavigationSide.php | 42 + .../src/UIKit/zzArchive/FormControl.php | 153 + .../UIKit/zzArchive/FormControls/Button.php | 83 + .../zzArchive/FormControls/InputDate.php | 103 + .../zzArchive/FormControls/InputFile.php | 41 + .../zzArchive/FormControls/InputHidden.php | 25 + .../zzArchive/FormControls/InputText.php | 65 + .../UIKit/zzArchive/FormControls/Progress.php | 109 + .../UIKit/zzArchive/FormControls/Select.php | 168 + .../zzArchive/FormControls/StripeElements.php | 173 + .../UIKit/zzArchive/FormControls/Textarea.php | 66 + .../FormControls/TextareaMarkdown.php | 38 + .../src/UIKit/zzArchive/Forms/Form.php | 37 + .../src/UIKit/zzArchive/Simple/Scripts.php | 29 + .../src/UIKit/zzArchive/Simple/SimpleList.php | 99 + .../UIKit/zzArchive/Simple/SimpleTable.php | 116 + .../src/UIKit/zzArchive/Simple/UserCard.php | 19 + .../UIKit/zzArchive/Traits/ButtonTypes.php | 24 + .../Traits/ExternalStylesAndScripts.php | 24 + .../Traits/PrimaryAndSecondaryNav.php | 29 + .../php-markup/tests/Element/ElementTest.php | 62 + .../php-markup/tests/Html/BaseTest-change.php | 45 + .../php-markup/tests/Html/BodyTest.php | 50 + .../php-markup/tests/Html/ElementTest.php | 108 + .../php-markup/tests/Html/HtmlTest.php | 89 + .../php-markup/tests/Html/MainTest.php | 68 + .../php-markup/tests/UIKit/CompoundTest.php | 17 + .../tests/UIKit/FormControlsTest.php | 38 + .../php-markup/tests/UIKit/PageTest.php | 25 + .../php-markup/tests/UIKit/SimpleTest.php | 81 + markup-zzArchive/php-uikit/CONTRIBUTING.md | 29 + markup-zzArchive/php-uikit/LICENSE.md | 11 + markup-zzArchive/php-uikit/README.md | 61 + markup-zzArchive/php-uikit/composer.json | 33 + markup-zzArchive/php-uikit/composer.lock | 1957 +++ markup-zzArchive/php-uikit/phpunit.xml | 30 + .../src/Elements/Compound/ActionContainer.php | 54 + .../php-uikit/src/Elements/Compound/Alert.php | 117 + .../src/Elements/Compound/Footer.php | 77 + .../php-uikit/src/Elements/Compound/Head.php | 62 + .../src/Elements/Compound/Header.php | 46 + .../src/Elements/Compound/Markdown.php | 45 + .../Elements/Compound/NavigationSecondary.php | 40 + .../src/Elements/Compound/NavigationSide.php | 42 + .../php-uikit/src/Elements/FormControl.php | 161 + .../src/Elements/FormControls/Button.php | 83 + .../src/Elements/FormControls/InputDate.php | 103 + .../src/Elements/FormControls/InputFile.php | 57 + .../src/Elements/FormControls/InputHidden.php | 48 + .../src/Elements/FormControls/InputText.php | 58 + .../src/Elements/FormControls/Progress.php | 109 + .../src/Elements/FormControls/Select.php | 168 + .../Elements/FormControls/StripeElements.php | 223 + .../src/Elements/FormControls/Textarea.php | 66 + .../FormControls/TextareaMarkdown.php | 38 + .../php-uikit/src/Elements/Forms/Form.php | 37 + .../php-uikit/src/Elements/Pages/WebView.php | 68 + .../php-uikit/src/Elements/Simple/Glyph.php | 35 + .../php-uikit/src/Elements/Simple/Link.php | 37 + .../php-uikit/src/Elements/Simple/Scripts.php | 29 + .../src/Elements/Simple/SimpleList.php | 96 + .../src/Elements/Simple/SimpleTable.php | 162 + .../src/Elements/Simple/UserCard.php | 19 + .../php-uikit/src/Traits/ButtonTypes.php | 24 + .../src/Traits/ExternalStylesAndScripts.php | 24 + .../src/Traits/PrimaryAndSecondaryNav.php | 29 + markup-zzArchive/php-uikit/src/UIKit.php | 136 + markup-zzArchive/php-uikit/tests/BaseTest.php | 13 + .../php-uikit/tests/CompoundTest.php | 102 + .../php-uikit/tests/FormControlsTest.php | 205 + markup-zzArchive/php-uikit/tests/PageTest.php | 26 + .../php-uikit/tests/SimpleTest.php | 91 + .../sam-uikit-php-0.0.0/README.md | 15 + .../sam-uikit-php-0.0.0/composer.json | 19 + .../sam-uikit-php-0.0.0/composer.lock | 974 ++ .../sam-uikit-php-0.0.0/composer.phar | Bin 0 -> 1585196 bytes .../sam-uikit-php-0.0.0/phpunit.xml | 8 + .../sam-uikit-php-0.0.0/public/css/uswds.css | 2792 +++++ .../public/css/uswds.min.css | 1 + .../public/css/uswds.min.css.map | 1 + .../sam-uikit-php-0.0.0/public/css/uswdsx.css | 83 + .../fonts/merriweather-bold-webfont.eot | Bin 0 -> 30040 bytes .../fonts/merriweather-bold-webfont.ttf | Bin 0 -> 60116 bytes .../fonts/merriweather-bold-webfont.woff | Bin 0 -> 34148 bytes .../fonts/merriweather-bold-webfont.woff2 | Bin 0 -> 27028 bytes .../fonts/merriweather-italic-webfont.eot | Bin 0 -> 61196 bytes .../fonts/merriweather-italic-webfont.ttf | Bin 0 -> 61088 bytes .../fonts/merriweather-italic-webfont.woff | Bin 0 -> 32640 bytes .../fonts/merriweather-italic-webfont.woff2 | Bin 0 -> 25724 bytes .../fonts/merriweather-light-webfont.eot | Bin 0 -> 29810 bytes .../fonts/merriweather-light-webfont.ttf | Bin 0 -> 61376 bytes .../fonts/merriweather-light-webfont.woff | Bin 0 -> 33916 bytes .../fonts/merriweather-light-webfont.woff2 | Bin 0 -> 27036 bytes .../fonts/merriweather-regular-webfont.eot | Bin 0 -> 27962 bytes .../fonts/merriweather-regular-webfont.ttf | Bin 0 -> 60020 bytes .../fonts/merriweather-regular-webfont.woff | Bin 0 -> 32056 bytes .../fonts/merriweather-regular-webfont.woff2 | Bin 0 -> 25176 bytes .../fonts/sourcesanspro-bold-webfont.eot | Bin 0 -> 28017 bytes .../fonts/sourcesanspro-bold-webfont.ttf | Bin 0 -> 65244 bytes .../fonts/sourcesanspro-bold-webfont.woff | Bin 0 -> 29360 bytes .../fonts/sourcesanspro-bold-webfont.woff2 | Bin 0 -> 23368 bytes .../fonts/sourcesanspro-italic-webfont.eot | Bin 0 -> 20839 bytes .../fonts/sourcesanspro-italic-webfont.ttf | Bin 0 -> 44868 bytes .../fonts/sourcesanspro-italic-webfont.woff | Bin 0 -> 22260 bytes .../fonts/sourcesanspro-italic-webfont.woff2 | Bin 0 -> 17472 bytes .../fonts/sourcesanspro-light-webfont.eot | Bin 0 -> 28305 bytes .../fonts/sourcesanspro-light-webfont.ttf | Bin 0 -> 66008 bytes .../fonts/sourcesanspro-light-webfont.woff | Bin 0 -> 29668 bytes .../fonts/sourcesanspro-light-webfont.woff2 | Bin 0 -> 23608 bytes .../fonts/sourcesanspro-regular-webfont.eot | Bin 0 -> 28337 bytes .../fonts/sourcesanspro-regular-webfont.ttf | Bin 0 -> 65672 bytes .../fonts/sourcesanspro-regular-webfont.woff | Bin 0 -> 29724 bytes .../fonts/sourcesanspro-regular-webfont.woff2 | Bin 0 -> 23684 bytes .../public/form-controls.php | 267 + .../public/form-templates.php | 32 + .../public/img/alerts/error.png | Bin 0 -> 19875 bytes .../public/img/alerts/error.svg | 17 + .../public/img/alerts/info.png | Bin 0 -> 19481 bytes .../public/img/alerts/info.svg | 18 + .../public/img/alerts/success.png | Bin 0 -> 19928 bytes .../public/img/alerts/success.svg | 12 + .../public/img/alerts/warning.png | Bin 0 -> 18534 bytes .../public/img/alerts/warning.svg | 16 + .../public/img/arrow-down.png | Bin 0 -> 978 bytes .../public/img/arrow-down.svg | 1 + .../public/img/arrow-right.png | Bin 0 -> 837 bytes .../public/img/arrow-right.svg | 1 + .../public/img/correct8.png | Bin 0 -> 2989 bytes .../public/img/correct8.svg | 1 + .../public/img/correct9.png | Bin 0 -> 1026 bytes .../public/img/correct9.svg | 1 + .../public/img/favicons/favicon-114.png | Bin 0 -> 902 bytes .../public/img/favicons/favicon-144.png | Bin 0 -> 885 bytes .../public/img/favicons/favicon-16.png | Bin 0 -> 290 bytes .../public/img/favicons/favicon-192.png | Bin 0 -> 972 bytes .../public/img/favicons/favicon-57.png | Bin 0 -> 649 bytes .../public/img/favicons/favicon-72.png | Bin 0 -> 574 bytes .../public/img/favicons/favicon.ico | Bin 0 -> 67646 bytes .../public/img/favicons/favicon.png | Bin 0 -> 935 bytes .../public/img/logo-img.png | Bin 0 -> 21100 bytes .../sam-uikit-php-0.0.0/public/img/minus.png | Bin 0 -> 610 bytes .../sam-uikit-php-0.0.0/public/img/minus.svg | 1 + .../sam-uikit-php-0.0.0/public/img/plus.png | Bin 0 -> 858 bytes .../sam-uikit-php-0.0.0/public/img/plus.svg | 1 + .../sam-uikit-php-0.0.0/public/img/search.png | Bin 0 -> 3196 bytes .../sam-uikit-php-0.0.0/public/img/search.svg | 1 + .../img/social-icons/png/facebook25.png | Bin 0 -> 2512 bytes .../public/img/social-icons/png/rss25.png | Bin 0 -> 2854 bytes .../public/img/social-icons/png/twitter16.png | Bin 0 -> 2684 bytes .../public/img/social-icons/png/youtube15.png | Bin 0 -> 3387 bytes .../img/social-icons/svg/facebook25.svg | 1 + .../public/img/social-icons/svg/rss25.svg | 1 + .../public/img/social-icons/svg/twitter16.svg | 1 + .../public/img/social-icons/svg/youtube15.svg | 1 + .../public/img/us_flag_small.png | Bin 0 -> 176 bytes .../sam-uikit-php-0.0.0/public/index.php | 1222 ++ .../sam-uikit-php-0.0.0/public/js/uswds.js | 10206 ++++++++++++++++ .../public/js/uswds.min.js | 3 + .../public/js/uswds.min.js.map | 1 + .../sam-uikit-php-0.0.0/public/other.php | 319 + .../public/partials/htmlClose.php | 3 + .../public/partials/htmlOpen.php | 18 + .../sam-uikit-php-0.0.0/src/FormControls.php | 118 + .../src/FormControls/DateInput.php | 64 + .../src/FormControls/Select.php | 86 + .../src/FormControls/SelectState.php | 71 + .../src/FormControls/TextInput.php | 96 + .../sam-uikit-php-0.0.0/src/FormTemplates.php | 51 + .../src/FormTemplates/AddressForm.php | 78 + .../src/FormTemplates/NameForm.php | 74 + .../src/FormTemplates/PasswordResetForm.php | 7 + .../src/FormTemplates/SignInForm.php | 47 + .../sam-uikit-php-0.0.0/src/Navigation.php | 78 + .../src/Navigation/Footer.php | 263 + .../src/Navigation/ScopeNavigation.php | 69 + .../src/Navigation/SideNavigation.php | 70 + .../sam-uikit-php-0.0.0/src/Other.php | 152 + .../src/Other/Accordion.php | 52 + .../sam-uikit-php-0.0.0/src/Other/Action.php | 49 + .../sam-uikit-php-0.0.0/src/Other/Alert.php | 58 + .../sam-uikit-php-0.0.0/src/Other/Button.php | 63 + .../sam-uikit-php-0.0.0/src/Other/Icon.php | 15 + .../sam-uikit-php-0.0.0/src/Other/Label.php | 86 + .../src/Other/Resource.php | 71 + .../sam-uikit-php-0.0.0/src/Search.php | 44 + .../sam-uikit-php-0.0.0/src/Search/Result.php | 14 + .../src/Search/SearchBar.php | 96 + .../src/Traits/ConfigurableTrait.php | 20 + .../src/Traits/FormControlsTrait.php | 132 + .../sam-uikit-php-0.0.0/src/Traits/Iconic.php | 30 + .../sam-uikit-php-0.0.0/static/css/uswds.css | 2792 +++++ .../static/css/uswds.min.css | 1 + .../static/css/uswds.min.css.map | 1 + .../sam-uikit-php-0.0.0/static/css/uswdsx.css | 84 + .../fonts/merriweather-bold-webfont.eot | Bin 0 -> 30040 bytes .../fonts/merriweather-bold-webfont.ttf | Bin 0 -> 60116 bytes .../fonts/merriweather-bold-webfont.woff | Bin 0 -> 34148 bytes .../fonts/merriweather-bold-webfont.woff2 | Bin 0 -> 27028 bytes .../fonts/merriweather-italic-webfont.eot | Bin 0 -> 61196 bytes .../fonts/merriweather-italic-webfont.ttf | Bin 0 -> 61088 bytes .../fonts/merriweather-italic-webfont.woff | Bin 0 -> 32640 bytes .../fonts/merriweather-italic-webfont.woff2 | Bin 0 -> 25724 bytes .../fonts/merriweather-light-webfont.eot | Bin 0 -> 29810 bytes .../fonts/merriweather-light-webfont.ttf | Bin 0 -> 61376 bytes .../fonts/merriweather-light-webfont.woff | Bin 0 -> 33916 bytes .../fonts/merriweather-light-webfont.woff2 | Bin 0 -> 27036 bytes .../fonts/merriweather-regular-webfont.eot | Bin 0 -> 27962 bytes .../fonts/merriweather-regular-webfont.ttf | Bin 0 -> 60020 bytes .../fonts/merriweather-regular-webfont.woff | Bin 0 -> 32056 bytes .../fonts/merriweather-regular-webfont.woff2 | Bin 0 -> 25176 bytes .../fonts/sourcesanspro-bold-webfont.eot | Bin 0 -> 28017 bytes .../fonts/sourcesanspro-bold-webfont.ttf | Bin 0 -> 65244 bytes .../fonts/sourcesanspro-bold-webfont.woff | Bin 0 -> 29360 bytes .../fonts/sourcesanspro-bold-webfont.woff2 | Bin 0 -> 23368 bytes .../fonts/sourcesanspro-italic-webfont.eot | Bin 0 -> 20839 bytes .../fonts/sourcesanspro-italic-webfont.ttf | Bin 0 -> 44868 bytes .../fonts/sourcesanspro-italic-webfont.woff | Bin 0 -> 22260 bytes .../fonts/sourcesanspro-italic-webfont.woff2 | Bin 0 -> 17472 bytes .../fonts/sourcesanspro-light-webfont.eot | Bin 0 -> 28305 bytes .../fonts/sourcesanspro-light-webfont.ttf | Bin 0 -> 66008 bytes .../fonts/sourcesanspro-light-webfont.woff | Bin 0 -> 29668 bytes .../fonts/sourcesanspro-light-webfont.woff2 | Bin 0 -> 23608 bytes .../fonts/sourcesanspro-regular-webfont.eot | Bin 0 -> 28337 bytes .../fonts/sourcesanspro-regular-webfont.ttf | Bin 0 -> 65672 bytes .../fonts/sourcesanspro-regular-webfont.woff | Bin 0 -> 29724 bytes .../fonts/sourcesanspro-regular-webfont.woff2 | Bin 0 -> 23684 bytes .../static/img/alerts/error.png | Bin 0 -> 19875 bytes .../static/img/alerts/error.svg | 17 + .../static/img/alerts/info.png | Bin 0 -> 19481 bytes .../static/img/alerts/info.svg | 18 + .../static/img/alerts/success.png | Bin 0 -> 19928 bytes .../static/img/alerts/success.svg | 12 + .../static/img/alerts/warning.png | Bin 0 -> 18534 bytes .../static/img/alerts/warning.svg | 16 + .../static/img/arrow-down.png | Bin 0 -> 978 bytes .../static/img/arrow-down.svg | 1 + .../static/img/arrow-right.png | Bin 0 -> 837 bytes .../static/img/arrow-right.svg | 1 + .../static/img/correct8.png | Bin 0 -> 2989 bytes .../static/img/correct8.svg | 1 + .../static/img/correct9.png | Bin 0 -> 1026 bytes .../static/img/correct9.svg | 1 + .../static/img/favicons/favicon-114.png | Bin 0 -> 902 bytes .../static/img/favicons/favicon-144.png | Bin 0 -> 885 bytes .../static/img/favicons/favicon-16.png | Bin 0 -> 290 bytes .../static/img/favicons/favicon-192.png | Bin 0 -> 972 bytes .../static/img/favicons/favicon-57.png | Bin 0 -> 649 bytes .../static/img/favicons/favicon-72.png | Bin 0 -> 574 bytes .../static/img/favicons/favicon.ico | Bin 0 -> 67646 bytes .../static/img/favicons/favicon.png | Bin 0 -> 935 bytes .../static/img/logo-img.png | Bin 0 -> 21100 bytes .../sam-uikit-php-0.0.0/static/img/minus.png | Bin 0 -> 610 bytes .../sam-uikit-php-0.0.0/static/img/minus.svg | 1 + .../sam-uikit-php-0.0.0/static/img/plus.png | Bin 0 -> 858 bytes .../sam-uikit-php-0.0.0/static/img/plus.svg | 1 + .../sam-uikit-php-0.0.0/static/img/search.png | Bin 0 -> 3196 bytes .../sam-uikit-php-0.0.0/static/img/search.svg | 1 + .../img/social-icons/png/facebook25.png | Bin 0 -> 2512 bytes .../static/img/social-icons/png/rss25.png | Bin 0 -> 2854 bytes .../static/img/social-icons/png/twitter16.png | Bin 0 -> 2684 bytes .../static/img/social-icons/png/youtube15.png | Bin 0 -> 3387 bytes .../img/social-icons/svg/facebook25.svg | 1 + .../static/img/social-icons/svg/rss25.svg | 1 + .../static/img/social-icons/svg/twitter16.svg | 1 + .../static/img/social-icons/svg/youtube15.svg | 1 + .../static/img/us_flag_small.png | Bin 0 -> 176 bytes .../sam-uikit-php-0.0.0/static/index.html | 1005 ++ .../sam-uikit-php-0.0.0/static/js/uswds.js | 10206 ++++++++++++++++ .../static/js/uswds.min.js | 3 + .../static/js/uswds.min.js.map | 1 + .../tests/UnitFormControlsSelectTest.php | 283 + .../tests/UnitFormControlsTextInputTest.php | 151 + .../tests/UnitNavigationTest.php | 236 + tests/Element/ElementTest.php | 8 +- tests/Html/HtmlElementTest.php | 18 +- tests/UIKit/CompoundTest.php | 2 +- tests/UIKit/MarkdownTest.php | 8 +- tests/UIKit/SimpleTest.php | 14 +- tests/UIKit/SocialMetaTest.php | 4 +- 446 files changed, 54522 insertions(+), 253 deletions(-) create mode 100755 markup-zzArchive/UIKit/test/zzArchive/FormControlsTest.php create mode 100755 markup-zzArchive/UIKit/zzArchive/Compound/ActionContainer.php create mode 100755 markup-zzArchive/UIKit/zzArchive/Compound/Alert.php create mode 100755 markup-zzArchive/UIKit/zzArchive/Compound/Head.php create mode 100755 markup-zzArchive/UIKit/zzArchive/Compound/Header.php create mode 100755 markup-zzArchive/UIKit/zzArchive/Compound/NavigationSecondary.php create mode 100755 markup-zzArchive/UIKit/zzArchive/Compound/NavigationSide.php create mode 100755 markup-zzArchive/UIKit/zzArchive/FormControl.php create mode 100755 markup-zzArchive/UIKit/zzArchive/FormControls/Button.php create mode 100755 markup-zzArchive/UIKit/zzArchive/FormControls/InputDate.php create mode 100755 markup-zzArchive/UIKit/zzArchive/FormControls/InputFile.php create mode 100755 markup-zzArchive/UIKit/zzArchive/FormControls/InputHidden.php create mode 100755 markup-zzArchive/UIKit/zzArchive/FormControls/InputText.php create mode 100755 markup-zzArchive/UIKit/zzArchive/FormControls/Progress.php create mode 100755 markup-zzArchive/UIKit/zzArchive/FormControls/Select.php create mode 100755 markup-zzArchive/UIKit/zzArchive/FormControls/StripeElements.php create mode 100755 markup-zzArchive/UIKit/zzArchive/FormControls/Textarea.php create mode 100755 markup-zzArchive/UIKit/zzArchive/FormControls/TextareaMarkdown.php create mode 100755 markup-zzArchive/UIKit/zzArchive/Forms/Form.php create mode 100755 markup-zzArchive/UIKit/zzArchive/Simple/Scripts.php create mode 100755 markup-zzArchive/UIKit/zzArchive/Simple/SimpleTable.php create mode 100755 markup-zzArchive/UIKit/zzArchive/Simple/UserCard.php create mode 100755 markup-zzArchive/UIKit/zzArchive/Traits/ButtonTypes.php create mode 100755 markup-zzArchive/UIKit/zzArchive/Traits/ExternalStylesAndScripts.php create mode 100755 markup-zzArchive/UIKit/zzArchive/Traits/PrimaryAndSecondaryNav.php create mode 100644 markup-zzArchive/php-markup/.editorconfig create mode 100644 markup-zzArchive/php-markup/.gitignore create mode 100644 markup-zzArchive/php-markup/CONTRIBUTING.md create mode 100644 markup-zzArchive/php-markup/LICENSE create mode 100644 markup-zzArchive/php-markup/README.md create mode 100644 markup-zzArchive/php-markup/composer.json create mode 100644 markup-zzArchive/php-markup/composer.lock create mode 100644 markup-zzArchive/php-markup/phpunit.xml create mode 100644 markup-zzArchive/php-markup/src/Element.php create mode 100644 markup-zzArchive/php-markup/src/Html.php create mode 100644 markup-zzArchive/php-markup/src/Html/Data/AriaRoles.php create mode 100644 markup-zzArchive/php-markup/src/Html/Data/Attributes/Aria.php create mode 100644 markup-zzArchive/php-markup/src/Html/Data/Attributes/Content.php create mode 100644 markup-zzArchive/php-markup/src/Html/Data/Attributes/EventOn.php create mode 100644 markup-zzArchive/php-markup/src/Html/Data/Attributes/Ordered.php create mode 100644 markup-zzArchive/php-markup/src/Html/Data/Elements.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/AttributeHandler.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Edits/Del.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Edits/Ins.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Embedded/Area.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Embedded/Audio.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Embedded/Embed.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Embedded/Iframe.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Embedded/Img.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Embedded/Map.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Embedded/Object_.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Embedded/Param.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Embedded/Source.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Embedded/Track.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Embedded/Video.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Forms/Button.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Forms/Datalist.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Forms/Fieldset.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Forms/Form.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Forms/Input.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Forms/Keygen.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Forms/Label.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Forms/Legend.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Forms/Meter.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Forms/Optgroup.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Forms/Option.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Forms/Output.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Forms/Progress.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Forms/Select.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Forms/Textarea.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Grouping/Blockquote.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Grouping/Dd.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Grouping/Div.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Grouping/Dl.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Grouping/Dt.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Grouping/Figcaption.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Grouping/Figure.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Grouping/Hr.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Grouping/Li.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Grouping/Main.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Grouping/Ol.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Grouping/P.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Grouping/Pre.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Grouping/Ul.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/HtmlElement.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/HtmlElementInterface.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Metadata/Base.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Metadata/Head.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Metadata/Link.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Metadata/Meta.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Metadata/Style.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Metadata/Title.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Root/Component.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Root/Doctype.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Root/Html.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Scripting/Canvas.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Scripting/Noscript.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Scripting/Script.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Scripting/Template.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Sections/Address.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Sections/Article.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Sections/Aside.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Sections/Body.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Sections/Footer.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Sections/H1.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Sections/H2.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Sections/H3.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Sections/H4.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Sections/H5.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Sections/H6.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Sections/Header.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Sections/Nav.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Sections/Section.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Tabular/Caption.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Tabular/Col.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Tabular/Colgroup.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Tabular/Table.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Tabular/Tbody.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Tabular/Td.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Tabular/Tfoot.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Tabular/Th.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Tabular/Thead.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/Tabular/Tr.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/A.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Abbr.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/B.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Bdi.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Bdo.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Br.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Cite.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Code.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Data.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Dfn.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Em.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/I.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Kbd.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Mark.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Q.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Rb.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Rp.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Rt.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Rtc.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Ruby.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/S.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Samp.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Small.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Span.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Strong.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Sub.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Sup.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Time.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/U.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Variable.php create mode 100644 markup-zzArchive/php-markup/src/Html/Elements/TextLevel/Wbr.php create mode 100755 markup-zzArchive/php-markup/src/UIKit.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/Elements/Compound/DoubleWrap.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/Elements/Compound/Markdown.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/Elements/Pages/WebView.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/Elements/Simple/Anchor.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/Elements/Simple/Image.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/Compound/ActionContainer.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/Compound/Alert.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/Compound/Head.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/Compound/Header.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/Compound/NavigationSecondary.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/Compound/NavigationSide.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/FormControl.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/FormControls/Button.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/FormControls/InputDate.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/FormControls/InputFile.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/FormControls/InputHidden.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/FormControls/InputText.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/FormControls/Progress.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/FormControls/Select.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/FormControls/StripeElements.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/FormControls/Textarea.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/FormControls/TextareaMarkdown.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/Forms/Form.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/Simple/Scripts.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/Simple/SimpleList.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/Simple/SimpleTable.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/Simple/UserCard.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/Traits/ButtonTypes.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/Traits/ExternalStylesAndScripts.php create mode 100755 markup-zzArchive/php-markup/src/UIKit/zzArchive/Traits/PrimaryAndSecondaryNav.php create mode 100644 markup-zzArchive/php-markup/tests/Element/ElementTest.php create mode 100644 markup-zzArchive/php-markup/tests/Html/BaseTest-change.php create mode 100644 markup-zzArchive/php-markup/tests/Html/BodyTest.php create mode 100644 markup-zzArchive/php-markup/tests/Html/ElementTest.php create mode 100644 markup-zzArchive/php-markup/tests/Html/HtmlTest.php create mode 100644 markup-zzArchive/php-markup/tests/Html/MainTest.php create mode 100755 markup-zzArchive/php-markup/tests/UIKit/CompoundTest.php create mode 100755 markup-zzArchive/php-markup/tests/UIKit/FormControlsTest.php create mode 100755 markup-zzArchive/php-markup/tests/UIKit/PageTest.php create mode 100755 markup-zzArchive/php-markup/tests/UIKit/SimpleTest.php create mode 100755 markup-zzArchive/php-uikit/CONTRIBUTING.md create mode 100755 markup-zzArchive/php-uikit/LICENSE.md create mode 100755 markup-zzArchive/php-uikit/README.md create mode 100755 markup-zzArchive/php-uikit/composer.json create mode 100644 markup-zzArchive/php-uikit/composer.lock create mode 100755 markup-zzArchive/php-uikit/phpunit.xml create mode 100755 markup-zzArchive/php-uikit/src/Elements/Compound/ActionContainer.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/Compound/Alert.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/Compound/Footer.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/Compound/Head.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/Compound/Header.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/Compound/Markdown.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/Compound/NavigationSecondary.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/Compound/NavigationSide.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/FormControl.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/FormControls/Button.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/FormControls/InputDate.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/FormControls/InputFile.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/FormControls/InputHidden.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/FormControls/InputText.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/FormControls/Progress.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/FormControls/Select.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/FormControls/StripeElements.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/FormControls/Textarea.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/FormControls/TextareaMarkdown.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/Forms/Form.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/Pages/WebView.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/Simple/Glyph.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/Simple/Link.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/Simple/Scripts.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/Simple/SimpleList.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/Simple/SimpleTable.php create mode 100755 markup-zzArchive/php-uikit/src/Elements/Simple/UserCard.php create mode 100755 markup-zzArchive/php-uikit/src/Traits/ButtonTypes.php create mode 100755 markup-zzArchive/php-uikit/src/Traits/ExternalStylesAndScripts.php create mode 100755 markup-zzArchive/php-uikit/src/Traits/PrimaryAndSecondaryNav.php create mode 100755 markup-zzArchive/php-uikit/src/UIKit.php create mode 100755 markup-zzArchive/php-uikit/tests/BaseTest.php create mode 100755 markup-zzArchive/php-uikit/tests/CompoundTest.php create mode 100755 markup-zzArchive/php-uikit/tests/FormControlsTest.php create mode 100755 markup-zzArchive/php-uikit/tests/PageTest.php create mode 100755 markup-zzArchive/php-uikit/tests/SimpleTest.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/README.md create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/composer.json create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/composer.lock create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/composer.phar create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/phpunit.xml create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/css/uswds.css create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/css/uswds.min.css create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/css/uswds.min.css.map create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/css/uswdsx.css create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/merriweather-bold-webfont.eot create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/merriweather-bold-webfont.ttf create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/merriweather-bold-webfont.woff create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/merriweather-bold-webfont.woff2 create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/merriweather-italic-webfont.eot create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/merriweather-italic-webfont.ttf create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/merriweather-italic-webfont.woff create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/merriweather-italic-webfont.woff2 create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/merriweather-light-webfont.eot create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/merriweather-light-webfont.ttf create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/merriweather-light-webfont.woff create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/merriweather-light-webfont.woff2 create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/merriweather-regular-webfont.eot create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/merriweather-regular-webfont.ttf create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/merriweather-regular-webfont.woff create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/merriweather-regular-webfont.woff2 create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/sourcesanspro-bold-webfont.eot create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/sourcesanspro-bold-webfont.ttf create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/sourcesanspro-bold-webfont.woff create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/sourcesanspro-bold-webfont.woff2 create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/sourcesanspro-italic-webfont.eot create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/sourcesanspro-italic-webfont.ttf create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/sourcesanspro-italic-webfont.woff create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/sourcesanspro-italic-webfont.woff2 create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/sourcesanspro-light-webfont.eot create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/sourcesanspro-light-webfont.ttf create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/sourcesanspro-light-webfont.woff create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/sourcesanspro-light-webfont.woff2 create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/sourcesanspro-regular-webfont.eot create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/sourcesanspro-regular-webfont.ttf create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/sourcesanspro-regular-webfont.woff create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/fonts/sourcesanspro-regular-webfont.woff2 create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/form-controls.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/form-templates.php create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/alerts/error.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/alerts/error.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/alerts/info.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/alerts/info.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/alerts/success.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/alerts/success.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/alerts/warning.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/alerts/warning.svg create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/img/arrow-down.png create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/img/arrow-down.svg create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/img/arrow-right.png create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/img/arrow-right.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/correct8.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/correct8.svg create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/img/correct9.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/correct9.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/favicons/favicon-114.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/favicons/favicon-144.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/favicons/favicon-16.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/favicons/favicon-192.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/favicons/favicon-57.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/favicons/favicon-72.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/favicons/favicon.ico create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/favicons/favicon.png create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/img/logo-img.png create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/img/minus.png create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/img/minus.svg create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/img/plus.png create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/img/plus.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/search.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/search.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/social-icons/png/facebook25.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/social-icons/png/rss25.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/social-icons/png/twitter16.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/social-icons/png/youtube15.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/social-icons/svg/facebook25.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/social-icons/svg/rss25.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/social-icons/svg/twitter16.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/public/img/social-icons/svg/youtube15.svg create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/img/us_flag_small.png create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/index.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/js/uswds.js create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/js/uswds.min.js create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/js/uswds.min.js.map create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/other.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/partials/htmlClose.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/public/partials/htmlOpen.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/FormControls.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/FormControls/DateInput.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/FormControls/Select.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/FormControls/SelectState.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/FormControls/TextInput.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/FormTemplates.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/FormTemplates/AddressForm.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/FormTemplates/NameForm.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/FormTemplates/PasswordResetForm.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/FormTemplates/SignInForm.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/Navigation.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/Navigation/Footer.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/Navigation/ScopeNavigation.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/Navigation/SideNavigation.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/Other.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/Other/Accordion.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/Other/Action.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/Other/Alert.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/Other/Button.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/Other/Icon.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/Other/Label.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/Other/Resource.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/Search.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/Search/Result.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/Search/SearchBar.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/Traits/ConfigurableTrait.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/Traits/FormControlsTrait.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/src/Traits/Iconic.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/css/uswds.css create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/css/uswds.min.css create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/css/uswds.min.css.map create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/css/uswdsx.css create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/merriweather-bold-webfont.eot create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/merriweather-bold-webfont.ttf create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/merriweather-bold-webfont.woff create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/merriweather-bold-webfont.woff2 create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/merriweather-italic-webfont.eot create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/merriweather-italic-webfont.ttf create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/merriweather-italic-webfont.woff create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/merriweather-italic-webfont.woff2 create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/merriweather-light-webfont.eot create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/merriweather-light-webfont.ttf create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/merriweather-light-webfont.woff create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/merriweather-light-webfont.woff2 create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/merriweather-regular-webfont.eot create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/merriweather-regular-webfont.ttf create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/merriweather-regular-webfont.woff create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/merriweather-regular-webfont.woff2 create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/sourcesanspro-bold-webfont.eot create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/sourcesanspro-bold-webfont.ttf create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/sourcesanspro-bold-webfont.woff create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/sourcesanspro-bold-webfont.woff2 create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/sourcesanspro-italic-webfont.eot create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/sourcesanspro-italic-webfont.ttf create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/sourcesanspro-italic-webfont.woff create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/sourcesanspro-italic-webfont.woff2 create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/sourcesanspro-light-webfont.eot create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/sourcesanspro-light-webfont.ttf create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/sourcesanspro-light-webfont.woff create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/sourcesanspro-light-webfont.woff2 create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/sourcesanspro-regular-webfont.eot create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/sourcesanspro-regular-webfont.ttf create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/sourcesanspro-regular-webfont.woff create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/fonts/sourcesanspro-regular-webfont.woff2 create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/alerts/error.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/alerts/error.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/alerts/info.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/alerts/info.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/alerts/success.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/alerts/success.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/alerts/warning.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/alerts/warning.svg create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/img/arrow-down.png create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/img/arrow-down.svg create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/img/arrow-right.png create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/img/arrow-right.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/correct8.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/correct8.svg create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/img/correct9.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/correct9.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/favicons/favicon-114.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/favicons/favicon-144.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/favicons/favicon-16.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/favicons/favicon-192.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/favicons/favicon-57.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/favicons/favicon-72.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/favicons/favicon.ico create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/favicons/favicon.png create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/img/logo-img.png create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/img/minus.png create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/img/minus.svg create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/img/plus.png create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/img/plus.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/search.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/search.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/social-icons/png/facebook25.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/social-icons/png/rss25.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/social-icons/png/twitter16.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/social-icons/png/youtube15.png create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/social-icons/svg/facebook25.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/social-icons/svg/rss25.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/social-icons/svg/twitter16.svg create mode 100755 markup-zzArchive/sam-uikit-php-0.0.0/static/img/social-icons/svg/youtube15.svg create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/img/us_flag_small.png create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/index.html create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/js/uswds.js create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/js/uswds.min.js create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/static/js/uswds.min.js.map create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/tests/UnitFormControlsSelectTest.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/tests/UnitFormControlsTextInputTest.php create mode 100644 markup-zzArchive/sam-uikit-php-0.0.0/tests/UnitNavigationTest.php diff --git a/composer.json b/composer.json index 467f26a..6132e8e 100644 --- a/composer.json +++ b/composer.json @@ -11,11 +11,11 @@ ], "require": { "php": "~7.0|^8.0", - "8fold/php-shoop-shelf": "~0.7", + "8fold/php-shoop-shelf": "~0.8", "8fold/php-html-spec": "~0.0.3", - "8fold/commonmark-abbreviations": "~1.0.3", - "8fold/commonmark-accordions": "~1.0", - "nesbot/carbon": "~2.36" + "8fold/commonmark-abbreviations": "~1.2", + "8fold/commonmark-accordions": "~1.0.4", + "nesbot/carbon": "~2.5" }, "require-dev": { "phpunit/phpunit": "~9.1" diff --git a/composer.lock b/composer.lock index 93bc35f..46f1d9b 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "8fd5b67488e327a6d479e3529a4460e0", + "content-hash": "e9a6924f469ab2273617f4915bb3396d", "packages": [ { "name": "8fold/commonmark-abbreviations", - "version": "1.0.3", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/8fold/commonmark-abbreviations.git", - "reference": "14ff55cc96607cdf634cede179574d902741f16d" + "reference": "6b25eaa8281368cb9d96d56bc610ffb060cadf18" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/8fold/commonmark-abbreviations/zipball/14ff55cc96607cdf634cede179574d902741f16d", - "reference": "14ff55cc96607cdf634cede179574d902741f16d", + "url": "https://api.github.com/repos/8fold/commonmark-abbreviations/zipball/6b25eaa8281368cb9d96d56bc610ffb060cadf18", + "reference": "6b25eaa8281368cb9d96d56bc610ffb060cadf18", "shasum": "" }, "require": { @@ -25,7 +25,8 @@ "php": "^7.2|^8.0" }, "require-dev": { - "phpunit/phpunit": "~9.1" + "8fold/php-shoop": "^0.10.17@dev", + "phpunit/phpunit": "^9.1" }, "type": "library", "autoload": { @@ -46,7 +47,7 @@ "description": "An extension of PHP League's CommonMark library to enable abbreviation usage.", "support": { "issues": "https://github.com/8fold/commonmark-abbreviations/issues", - "source": "https://github.com/8fold/commonmark-abbreviations/tree/1.0.3" + "source": "https://github.com/8fold/commonmark-abbreviations/tree/1.2.0" }, "funding": [ { @@ -58,7 +59,7 @@ "type": "github" } ], - "time": "2021-01-03T00:28:49+00:00" + "time": "2021-05-11T00:23:49+00:00" }, { "name": "8fold/commonmark-accordions", @@ -218,16 +219,16 @@ }, { "name": "8fold/php-shoop", - "version": "0.10.17", + "version": "0.10.19", "source": { "type": "git", "url": "https://github.com/8fold/php-shoop.git", - "reference": "585060adc1a8cc5dd5313f3aa3aaa93cd232b4d7" + "reference": "54b9f4800f5acb6628fc6fda427c759a374b5c51" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/8fold/php-shoop/zipball/585060adc1a8cc5dd5313f3aa3aaa93cd232b4d7", - "reference": "585060adc1a8cc5dd5313f3aa3aaa93cd232b4d7", + "url": "https://api.github.com/repos/8fold/php-shoop/zipball/54b9f4800f5acb6628fc6fda427c759a374b5c51", + "reference": "54b9f4800f5acb6628fc6fda427c759a374b5c51", "shasum": "" }, "require": { @@ -257,7 +258,7 @@ "description": "A wrapper to create a more ubiquitous API for interacting with primitive data types.", "support": { "issues": "https://github.com/8fold/php-shoop/issues", - "source": "https://github.com/8fold/php-shoop/tree/0.10.17" + "source": "https://github.com/8fold/php-shoop/tree/0.10.19" }, "funding": [ { @@ -269,27 +270,27 @@ "type": "github" } ], - "time": "2021-01-03T00:15:44+00:00" + "time": "2021-07-14T02:02:40+00:00" }, { "name": "8fold/php-shoop-shelf", - "version": "0.8.2", + "version": "0.8.4", "source": { "type": "git", "url": "https://github.com/8fold/php-shoop-shelf.git", - "reference": "cb5a77df141fed59075d31027651c2cb872e86ea" + "reference": "2f059d8a372908e3f46a31b8a91d8fd3369de851" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/8fold/php-shoop-shelf/zipball/cb5a77df141fed59075d31027651c2cb872e86ea", - "reference": "cb5a77df141fed59075d31027651c2cb872e86ea", + "url": "https://api.github.com/repos/8fold/php-shoop-shelf/zipball/2f059d8a372908e3f46a31b8a91d8fd3369de851", + "reference": "2f059d8a372908e3f46a31b8a91d8fd3369de851", "shasum": "" }, "require": { "8fold/php-shoop": "~0.10", "league/commonmark": "~1.5", - "league/flysystem": "~1.1.0", - "php": "~7|^8.0", + "league/flysystem": "~2.0", + "php": "^7.0|^8.0", "spatie/yaml-front-matter": "~2.0" }, "require-dev": { @@ -314,7 +315,7 @@ "description": "Shoop-like objects that do not fit at the 8fold Shoop table.", "support": { "issues": "https://github.com/8fold/php-shoop-shelf/issues", - "source": "https://github.com/8fold/php-shoop-shelf/tree/0.8.2" + "source": "https://github.com/8fold/php-shoop-shelf/tree/0.8.4" }, "funding": [ { @@ -326,7 +327,7 @@ "type": "github" } ], - "time": "2021-01-03T00:25:59+00:00" + "time": "2021-07-14T02:40:30+00:00" }, { "name": "doctrine/inflector", @@ -425,16 +426,16 @@ }, { "name": "illuminate/collections", - "version": "v8.20.1", + "version": "v8.50.0", "source": { "type": "git", "url": "https://github.com/illuminate/collections.git", - "reference": "4647141880c193a0edaa91754004d8bc7471e56b" + "reference": "f9311a35779750f38bed47456c031c4dc4962274" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/collections/zipball/4647141880c193a0edaa91754004d8bc7471e56b", - "reference": "4647141880c193a0edaa91754004d8bc7471e56b", + "url": "https://api.github.com/repos/illuminate/collections/zipball/f9311a35779750f38bed47456c031c4dc4962274", + "reference": "f9311a35779750f38bed47456c031c4dc4962274", "shasum": "" }, "require": { @@ -475,20 +476,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2020-12-08T17:15:16+00:00" + "time": "2021-06-28T13:56:26+00:00" }, { "name": "illuminate/contracts", - "version": "v8.20.1", + "version": "v8.50.0", "source": { "type": "git", "url": "https://github.com/illuminate/contracts.git", - "reference": "073109b521aec104f11c5cf5aded97aa0e63f313" + "reference": "199fcedc161ba4a0b83feaddc4629f395dbf1641" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/contracts/zipball/073109b521aec104f11c5cf5aded97aa0e63f313", - "reference": "073109b521aec104f11c5cf5aded97aa0e63f313", + "url": "https://api.github.com/repos/illuminate/contracts/zipball/199fcedc161ba4a0b83feaddc4629f395dbf1641", + "reference": "199fcedc161ba4a0b83feaddc4629f395dbf1641", "shasum": "" }, "require": { @@ -523,11 +524,11 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2020-12-18T14:24:20+00:00" + "time": "2021-06-01T14:53:38+00:00" }, { "name": "illuminate/macroable", - "version": "v8.20.1", + "version": "v8.50.0", "source": { "type": "git", "url": "https://github.com/illuminate/macroable.git", @@ -573,16 +574,16 @@ }, { "name": "illuminate/support", - "version": "v8.20.1", + "version": "v8.50.0", "source": { "type": "git", "url": "https://github.com/illuminate/support.git", - "reference": "f221a31bfd107d173510e15e34c3aa667c75602d" + "reference": "383e46e8942402503b381c4994a968a8ee642087" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/support/zipball/f221a31bfd107d173510e15e34c3aa667c75602d", - "reference": "f221a31bfd107d173510e15e34c3aa667c75602d", + "url": "https://api.github.com/repos/illuminate/support/zipball/383e46e8942402503b381c4994a968a8ee642087", + "reference": "383e46e8942402503b381c4994a968a8ee642087", "shasum": "" }, "require": { @@ -601,6 +602,7 @@ }, "suggest": { "illuminate/filesystem": "Required to use the composer class (^8.0).", + "league/commonmark": "Required to use Str::markdown() and Stringable::markdown() (^1.3|^2.0).", "ramsey/uuid": "Required to use Str::uuid() (^4.0).", "symfony/process": "Required to use the composer class (^5.1.4).", "symfony/var-dumper": "Required to use the dd function (^5.1.4).", @@ -636,20 +638,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2020-12-22T16:13:18+00:00" + "time": "2021-07-09T13:40:46+00:00" }, { "name": "league/commonmark", - "version": "1.5.7", + "version": "1.6.5", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "11df9b36fd4f1d2b727a73bf14931d81373b9a54" + "reference": "44ffd8d3c4a9133e4bd0548622b09c55af39db5f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/11df9b36fd4f1d2b727a73bf14931d81373b9a54", - "reference": "11df9b36fd4f1d2b727a73bf14931d81373b9a54", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/44ffd8d3c4a9133e4bd0548622b09c55af39db5f", + "reference": "44ffd8d3c4a9133e4bd0548622b09c55af39db5f", "shasum": "" }, "require": { @@ -667,7 +669,7 @@ "github/gfm": "0.29.0", "michelf/php-markdown": "~1.4", "mikehaertl/php-shellcommand": "^1.4", - "phpstan/phpstan": "^0.12", + "phpstan/phpstan": "^0.12.90", "phpunit/phpunit": "^7.5 || ^8.5 || ^9.2", "scrutinizer/ocular": "^1.5", "symfony/finder": "^4.2" @@ -737,59 +739,47 @@ "type": "tidelift" } ], - "time": "2020-10-31T13:49:32+00:00" + "time": "2021-06-26T11:57:13+00:00" }, { "name": "league/flysystem", - "version": "1.1.3", + "version": "2.1.1", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "9be3b16c877d477357c015cec057548cf9b2a14a" + "reference": "a3c694de9f7e844b76f9d1b61296ebf6e8d89d74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/9be3b16c877d477357c015cec057548cf9b2a14a", - "reference": "9be3b16c877d477357c015cec057548cf9b2a14a", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/a3c694de9f7e844b76f9d1b61296ebf6e8d89d74", + "reference": "a3c694de9f7e844b76f9d1b61296ebf6e8d89d74", "shasum": "" }, "require": { - "ext-fileinfo": "*", - "league/mime-type-detection": "^1.3", - "php": "^7.2.5 || ^8.0" + "ext-json": "*", + "league/mime-type-detection": "^1.0.0", + "php": "^7.2 || ^8.0" }, "conflict": { - "league/flysystem-sftp": "<1.0.6" + "guzzlehttp/ringphp": "<1.1.1" }, "require-dev": { - "phpspec/prophecy": "^1.11.1", - "phpunit/phpunit": "^8.5.8" - }, - "suggest": { - "ext-fileinfo": "Required for MimeType", - "ext-ftp": "Allows you to use FTP server storage", - "ext-openssl": "Allows you to use FTPS server storage", - "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", - "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", - "league/flysystem-azure": "Allows you to use Windows Azure Blob storage", - "league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching", - "league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem", - "league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files", - "league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib", - "league/flysystem-webdav": "Allows you to use WebDAV storage", - "league/flysystem-ziparchive": "Allows you to use ZipArchive adapter", - "spatie/flysystem-dropbox": "Allows you to use Dropbox storage", - "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications" + "async-aws/s3": "^1.5", + "async-aws/simple-s3": "^1.0", + "aws/aws-sdk-php": "^3.132.4", + "composer/semver": "^3.0", + "ext-fileinfo": "*", + "friendsofphp/php-cs-fixer": "^2.16", + "google/cloud-storage": "^1.23", + "phpseclib/phpseclib": "^2.0", + "phpstan/phpstan": "^0.12.26", + "phpunit/phpunit": "^8.5 || ^9.4", + "sabre/dav": "^4.1" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, "autoload": { "psr-4": { - "League\\Flysystem\\": "src/" + "League\\Flysystem\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -799,53 +789,55 @@ "authors": [ { "name": "Frank de Jonge", - "email": "info@frenky.net" + "email": "info@frankdejonge.nl" } ], - "description": "Filesystem abstraction: Many filesystems, one API.", + "description": "File storage abstraction for PHP", "keywords": [ - "Cloud Files", "WebDAV", - "abstraction", "aws", "cloud", - "copy.com", - "dropbox", - "file systems", + "file", "files", "filesystem", "filesystems", "ftp", - "rackspace", - "remote", "s3", "sftp", "storage" ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/1.x" + "source": "https://github.com/thephpleague/flysystem/tree/2.1.1" }, "funding": [ { "url": "https://offset.earth/frankdejonge", - "type": "other" + "type": "custom" + }, + { + "url": "https://github.com/frankdejonge", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/league/flysystem", + "type": "tidelift" } ], - "time": "2020-08-23T07:39:11+00:00" + "time": "2021-06-23T22:07:10+00:00" }, { "name": "league/mime-type-detection", - "version": "1.5.1", + "version": "1.7.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "353f66d7555d8a90781f6f5e7091932f9a4250aa" + "reference": "3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/353f66d7555d8a90781f6f5e7091932f9a4250aa", - "reference": "353f66d7555d8a90781f6f5e7091932f9a4250aa", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3", + "reference": "3b9dff8aaf7323590c1d2e443db701eb1f9aa0d3", "shasum": "" }, "require": { @@ -853,8 +845,9 @@ "php": "^7.2 || ^8.0" }, "require-dev": { - "phpstan/phpstan": "^0.12.36", - "phpunit/phpunit": "^8.5.8" + "friendsofphp/php-cs-fixer": "^2.18", + "phpstan/phpstan": "^0.12.68", + "phpunit/phpunit": "^8.5.8 || ^9.3" }, "type": "library", "autoload": { @@ -875,7 +868,7 @@ "description": "Mime-type detection for Flysystem", "support": { "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.5.1" + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.7.0" }, "funding": [ { @@ -887,20 +880,20 @@ "type": "tidelift" } ], - "time": "2020-10-18T11:50:25+00:00" + "time": "2021-01-18T20:58:21+00:00" }, { "name": "nesbot/carbon", - "version": "2.43.0", + "version": "2.50.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "d32c57d8389113742f4a88725a170236470012e2" + "reference": "f47f17d17602b2243414a44ad53d9f8b9ada5fdb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/d32c57d8389113742f4a88725a170236470012e2", - "reference": "d32c57d8389113742f4a88725a170236470012e2", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/f47f17d17602b2243414a44ad53d9f8b9ada5fdb", + "reference": "f47f17d17602b2243414a44ad53d9f8b9ada5fdb", "shasum": "" }, "require": { @@ -916,7 +909,7 @@ "phpmd/phpmd": "^2.9", "phpstan/extension-installer": "^1.0", "phpstan/phpstan": "^0.12.54", - "phpunit/phpunit": "^7.5 || ^8.0", + "phpunit/phpunit": "^7.5.20 || ^8.5.14", "squizlabs/php_codesniffer": "^3.4" }, "bin": [ @@ -952,15 +945,15 @@ { "name": "Brian Nesbitt", "email": "brian@nesbot.com", - "homepage": "http://nesbot.com" + "homepage": "https://markido.com" }, { "name": "kylekatarnls", - "homepage": "http://github.com/kylekatarnls" + "homepage": "https://github.com/kylekatarnls" } ], "description": "An API extension for DateTime that supports 281 different languages.", - "homepage": "http://carbon.nesbot.com", + "homepage": "https://carbon.nesbot.com", "keywords": [ "date", "datetime", @@ -980,7 +973,7 @@ "type": "tidelift" } ], - "time": "2020-12-17T20:55:32+00:00" + "time": "2021-06-28T22:38:45+00:00" }, { "name": "nikic/iter", @@ -1039,27 +1032,22 @@ }, { "name": "psr/container", - "version": "1.0.0", + "version": "1.1.1", "source": { "type": "git", "url": "https://github.com/php-fig/container.git", - "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" + "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", - "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf", + "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">=7.2.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, "autoload": { "psr-4": { "Psr\\Container\\": "src/" @@ -1072,7 +1060,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common Container Interface (PHP FIG PSR-11)", @@ -1086,9 +1074,9 @@ ], "support": { "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/master" + "source": "https://github.com/php-fig/container/tree/1.1.1" }, - "time": "2017-02-14T16:28:37+00:00" + "time": "2021-03-05T17:36:06+00:00" }, { "name": "psr/simple-cache", @@ -1196,16 +1184,16 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v2.2.0", + "version": "v2.4.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "5fa56b4074d1ae755beb55617ddafe6f5d78f665" + "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5fa56b4074d1ae755beb55617ddafe6f5d78f665", - "reference": "5fa56b4074d1ae755beb55617ddafe6f5d78f665", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5f38c8804a9e97d23e0c8d63341088cd8a22d627", + "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627", "shasum": "" }, "require": { @@ -1214,7 +1202,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-main": "2.4-dev" }, "thanks": { "name": "symfony/contracts", @@ -1243,7 +1231,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/master" + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.4.0" }, "funding": [ { @@ -1259,20 +1247,20 @@ "type": "tidelift" } ], - "time": "2020-09-07T11:33:47+00:00" + "time": "2021-03-23T23:28:01+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.20.0", + "version": "v1.23.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "f4ba089a5b6366e453971d3aad5fe8e897b37f41" + "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/f4ba089a5b6366e453971d3aad5fe8e897b37f41", - "reference": "f4ba089a5b6366e453971d3aad5fe8e897b37f41", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/46cd95797e9df938fdd2b03693b5fca5e64b01ce", + "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce", "shasum": "" }, "require": { @@ -1284,7 +1272,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.20-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1322,7 +1310,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.20.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.23.0" }, "funding": [ { @@ -1338,20 +1326,20 @@ "type": "tidelift" } ], - "time": "2020-10-23T14:02:19+00:00" + "time": "2021-02-19T12:13:01+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.20.0", + "version": "v1.23.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "39d483bdf39be819deabf04ec872eb0b2410b531" + "reference": "2df51500adbaebdc4c38dea4c89a2e131c45c8a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/39d483bdf39be819deabf04ec872eb0b2410b531", - "reference": "39d483bdf39be819deabf04ec872eb0b2410b531", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/2df51500adbaebdc4c38dea4c89a2e131c45c8a1", + "reference": "2df51500adbaebdc4c38dea4c89a2e131c45c8a1", "shasum": "" }, "require": { @@ -1363,7 +1351,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.20-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1402,7 +1390,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.20.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.23.0" }, "funding": [ { @@ -1418,20 +1406,20 @@ "type": "tidelift" } ], - "time": "2020-10-23T14:02:19+00:00" + "time": "2021-05-27T09:27:20+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.20.0", + "version": "v1.23.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "e70aa8b064c5b72d3df2abd5ab1e90464ad009de" + "reference": "eca0bf41ed421bed1b57c4958bab16aa86b757d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/e70aa8b064c5b72d3df2abd5ab1e90464ad009de", - "reference": "e70aa8b064c5b72d3df2abd5ab1e90464ad009de", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/eca0bf41ed421bed1b57c4958bab16aa86b757d0", + "reference": "eca0bf41ed421bed1b57c4958bab16aa86b757d0", "shasum": "" }, "require": { @@ -1440,7 +1428,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.20-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1485,7 +1473,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.20.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.23.0" }, "funding": [ { @@ -1501,24 +1489,25 @@ "type": "tidelift" } ], - "time": "2020-10-23T14:02:19+00:00" + "time": "2021-02-19T12:13:01+00:00" }, { "name": "symfony/translation", - "version": "v5.2.1", + "version": "v5.3.3", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "a04209ba0d1391c828e5b2373181dac63c52ee70" + "reference": "380b8c9e944d0e364b25f28e8e555241eb49c01c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/a04209ba0d1391c828e5b2373181dac63c52ee70", - "reference": "a04209ba0d1391c828e5b2373181dac63c52ee70", + "url": "https://api.github.com/repos/symfony/translation/zipball/380b8c9e944d0e364b25f28e8e555241eb49c01c", + "reference": "380b8c9e944d0e364b25f28e8e555241eb49c01c", "shasum": "" }, "require": { "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1", "symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-php80": "^1.15", "symfony/translation-contracts": "^2.3" @@ -1531,7 +1520,7 @@ "symfony/yaml": "<4.4" }, "provide": { - "symfony/translation-implementation": "2.0" + "symfony/translation-implementation": "2.3" }, "require-dev": { "psr/log": "~1.0", @@ -1541,6 +1530,7 @@ "symfony/finder": "^4.4|^5.0", "symfony/http-kernel": "^5.0", "symfony/intl": "^4.4|^5.0", + "symfony/polyfill-intl-icu": "^1.21", "symfony/service-contracts": "^1.1.2|^2", "symfony/yaml": "^4.4|^5.0" }, @@ -1575,10 +1565,10 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Translation Component", + "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v5.2.1" + "source": "https://github.com/symfony/translation/tree/v5.3.3" }, "funding": [ { @@ -1594,20 +1584,20 @@ "type": "tidelift" } ], - "time": "2020-12-08T17:03:37+00:00" + "time": "2021-06-27T12:22:47+00:00" }, { "name": "symfony/translation-contracts", - "version": "v2.3.0", + "version": "v2.4.0", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "e2eaa60b558f26a4b0354e1bbb25636efaaad105" + "reference": "95c812666f3e91db75385749fe219c5e494c7f95" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/e2eaa60b558f26a4b0354e1bbb25636efaaad105", - "reference": "e2eaa60b558f26a4b0354e1bbb25636efaaad105", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/95c812666f3e91db75385749fe219c5e494c7f95", + "reference": "95c812666f3e91db75385749fe219c5e494c7f95", "shasum": "" }, "require": { @@ -1619,7 +1609,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.3-dev" + "dev-main": "2.4-dev" }, "thanks": { "name": "symfony/contracts", @@ -1656,7 +1646,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v2.3.0" + "source": "https://github.com/symfony/translation-contracts/tree/v2.4.0" }, "funding": [ { @@ -1672,20 +1662,20 @@ "type": "tidelift" } ], - "time": "2020-09-28T13:05:58+00:00" + "time": "2021-03-23T23:28:01+00:00" }, { "name": "symfony/yaml", - "version": "v5.2.1", + "version": "v5.3.3", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "290ea5e03b8cf9b42c783163123f54441fb06939" + "reference": "485c83a2fb5893e2ff21bf4bfc7fdf48b4967229" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/290ea5e03b8cf9b42c783163123f54441fb06939", - "reference": "290ea5e03b8cf9b42c783163123f54441fb06939", + "url": "https://api.github.com/repos/symfony/yaml/zipball/485c83a2fb5893e2ff21bf4bfc7fdf48b4967229", + "reference": "485c83a2fb5893e2ff21bf4bfc7fdf48b4967229", "shasum": "" }, "require": { @@ -1728,10 +1718,10 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Yaml Component", + "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v5.2.1" + "source": "https://github.com/symfony/yaml/tree/v5.3.3" }, "funding": [ { @@ -1747,7 +1737,7 @@ "type": "tidelift" } ], - "time": "2020-12-08T17:02:38+00:00" + "time": "2021-06-24T08:13:00+00:00" }, { "name": "voku/portable-ascii", @@ -1954,16 +1944,16 @@ }, { "name": "nikic/php-parser", - "version": "v4.10.4", + "version": "v4.11.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e" + "reference": "fe14cf3672a149364fb66dfe11bf6549af899f94" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/c6d052fc58cb876152f89f532b95a8d7907e7f0e", - "reference": "c6d052fc58cb876152f89f532b95a8d7907e7f0e", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/fe14cf3672a149364fb66dfe11bf6549af899f94", + "reference": "fe14cf3672a149364fb66dfe11bf6549af899f94", "shasum": "" }, "require": { @@ -2004,9 +1994,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.4" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.11.0" }, - "time": "2020-12-20T10:01:03+00:00" + "time": "2021-07-03T13:36:55+00:00" }, { "name": "phar-io/manifest", @@ -2070,16 +2060,16 @@ }, { "name": "phar-io/version", - "version": "3.0.4", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/phar-io/version.git", - "reference": "e4782611070e50613683d2b9a57730e9a3ba5451" + "reference": "bae7c545bef187884426f042434e561ab1ddb182" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/e4782611070e50613683d2b9a57730e9a3ba5451", - "reference": "e4782611070e50613683d2b9a57730e9a3ba5451", + "url": "https://api.github.com/repos/phar-io/version/zipball/bae7c545bef187884426f042434e561ab1ddb182", + "reference": "bae7c545bef187884426f042434e561ab1ddb182", "shasum": "" }, "require": { @@ -2115,9 +2105,9 @@ "description": "Library for handling version information and constraints", "support": { "issues": "https://github.com/phar-io/version/issues", - "source": "https://github.com/phar-io/version/tree/3.0.4" + "source": "https://github.com/phar-io/version/tree/3.1.0" }, - "time": "2020-12-13T23:18:30+00:00" + "time": "2021-02-23T14:00:09+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -2279,16 +2269,16 @@ }, { "name": "phpspec/prophecy", - "version": "1.12.2", + "version": "1.13.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "245710e971a030f42e08f4912863805570f23d39" + "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/245710e971a030f42e08f4912863805570f23d39", - "reference": "245710e971a030f42e08f4912863805570f23d39", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/be1996ed8adc35c3fd795488a653f4b518be70ea", + "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea", "shasum": "" }, "require": { @@ -2340,22 +2330,22 @@ ], "support": { "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/1.12.2" + "source": "https://github.com/phpspec/prophecy/tree/1.13.0" }, - "time": "2020-12-19T10:15:11+00:00" + "time": "2021-03-17T13:42:18+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "9.2.5", + "version": "9.2.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "f3e026641cc91909d421802dd3ac7827ebfd97e1" + "reference": "f6293e1b30a2354e8428e004689671b83871edde" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f3e026641cc91909d421802dd3ac7827ebfd97e1", - "reference": "f3e026641cc91909d421802dd3ac7827ebfd97e1", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f6293e1b30a2354e8428e004689671b83871edde", + "reference": "f6293e1b30a2354e8428e004689671b83871edde", "shasum": "" }, "require": { @@ -2411,7 +2401,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.5" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.6" }, "funding": [ { @@ -2419,7 +2409,7 @@ "type": "github" } ], - "time": "2020-11-28T06:44:49+00:00" + "time": "2021-03-28T07:26:59+00:00" }, { "name": "phpunit/php-file-iterator", @@ -2664,16 +2654,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.0", + "version": "9.5.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "8e16c225d57c3d6808014df6b1dd7598d0a5bbbe" + "reference": "fb9b8333f14e3dce976a60ef6a7e05c7c7ed8bfb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/8e16c225d57c3d6808014df6b1dd7598d0a5bbbe", - "reference": "8e16c225d57c3d6808014df6b1dd7598d0a5bbbe", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/fb9b8333f14e3dce976a60ef6a7e05c7c7ed8bfb", + "reference": "fb9b8333f14e3dce976a60ef6a7e05c7c7ed8bfb", "shasum": "" }, "require": { @@ -2703,7 +2693,7 @@ "sebastian/global-state": "^5.0.1", "sebastian/object-enumerator": "^4.0.3", "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^2.3", + "sebastian/type": "^2.3.4", "sebastian/version": "^3.0.2" }, "require-dev": { @@ -2751,7 +2741,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.0" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.6" }, "funding": [ { @@ -2763,7 +2753,7 @@ "type": "github" } ], - "time": "2020-12-04T05:05:53+00:00" + "time": "2021-06-23T05:14:38+00:00" }, { "name": "sebastian/cli-parser", @@ -3271,16 +3261,16 @@ }, { "name": "sebastian/global-state", - "version": "5.0.2", + "version": "5.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "a90ccbddffa067b51f574dea6eb25d5680839455" + "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/a90ccbddffa067b51f574dea6eb25d5680839455", - "reference": "a90ccbddffa067b51f574dea6eb25d5680839455", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/23bd5951f7ff26f12d4e3242864df3e08dec4e49", + "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49", "shasum": "" }, "require": { @@ -3323,7 +3313,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.2" + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.3" }, "funding": [ { @@ -3331,7 +3321,7 @@ "type": "github" } ], - "time": "2020-10-26T15:55:19+00:00" + "time": "2021-06-11T13:31:12+00:00" }, { "name": "sebastian/lines-of-code", @@ -3622,16 +3612,16 @@ }, { "name": "sebastian/type", - "version": "2.3.1", + "version": "2.3.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "81cd61ab7bbf2de744aba0ea61fae32f721df3d2" + "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/81cd61ab7bbf2de744aba0ea61fae32f721df3d2", - "reference": "81cd61ab7bbf2de744aba0ea61fae32f721df3d2", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b8cd8a1c753c90bc1a0f5372170e3e489136f914", + "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914", "shasum": "" }, "require": { @@ -3666,7 +3656,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/2.3.1" + "source": "https://github.com/sebastianbergmann/type/tree/2.3.4" }, "funding": [ { @@ -3674,7 +3664,7 @@ "type": "github" } ], - "time": "2020-10-26T13:18:59+00:00" + "time": "2021-06-15T12:49:02+00:00" }, { "name": "sebastian/version", @@ -3781,30 +3771,35 @@ }, { "name": "webmozart/assert", - "version": "1.9.1", + "version": "1.10.0", "source": { "type": "git", - "url": "https://github.com/webmozart/assert.git", - "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389" + "url": "https://github.com/webmozarts/assert.git", + "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389", - "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/6964c76c7804814a842473e0c8fd15bab0f18e25", + "reference": "6964c76c7804814a842473e0c8fd15bab0f18e25", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0 || ^8.0", + "php": "^7.2 || ^8.0", "symfony/polyfill-ctype": "^1.8" }, "conflict": { "phpstan/phpstan": "<0.12.20", - "vimeo/psalm": "<3.9.1" + "vimeo/psalm": "<4.6.1 || 4.6.2" }, "require-dev": { - "phpunit/phpunit": "^4.8.36 || ^7.5.13" + "phpunit/phpunit": "^8.5.13" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.10-dev" + } + }, "autoload": { "psr-4": { "Webmozart\\Assert\\": "src/" @@ -3827,10 +3822,10 @@ "validate" ], "support": { - "issues": "https://github.com/webmozart/assert/issues", - "source": "https://github.com/webmozart/assert/tree/master" + "issues": "https://github.com/webmozarts/assert/issues", + "source": "https://github.com/webmozarts/assert/tree/1.10.0" }, - "time": "2020-07-08T17:02:28+00:00" + "time": "2021-03-09T10:59:23+00:00" } ], "aliases": [], diff --git a/markup-zzArchive/UIKit/test/zzArchive/FormControlsTest.php b/markup-zzArchive/UIKit/test/zzArchive/FormControlsTest.php new file mode 100755 index 0000000..40a1f18 --- /dev/null +++ b/markup-zzArchive/UIKit/test/zzArchive/FormControlsTest.php @@ -0,0 +1,48 @@ +'; + $actual = UIKit::input()->attr("type text", "placeholder hello"); + $this->assertEqualsWithPerformance($expected, $actual->unfold(), 11.25); + } + + // public function testFileInputBase() + // { + // $expected = '
'; + // $result = UIKit::fileInput('Label', 'some_file')->unfold(); + // $this->assertEqualsWithPerformance($expected, $result); + // } + + // public function testHiddenInputBase() + // { + // $expected = ''; + // $result = UIKit::hiddenInput('input_name', 'input_value')->unfold(); + // $this->assertEqualsWithPerformance($expected, $result); + // } + + // public function testStripeElementsBase() + // { + // $expected = "
Button label
"; + // $result = UIKit::stripeElements( + // 'this_form' + // , 'MY_API_KEY' + // , 'Input label' + // , 'Button label')->unfold(); + // $this->assertEqualsWithPerformance($expected, $result); + // } +} diff --git a/markup-zzArchive/UIKit/zzArchive/Compound/ActionContainer.php b/markup-zzArchive/UIKit/zzArchive/Compound/ActionContainer.php new file mode 100755 index 0000000..eea699a --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/Compound/ActionContainer.php @@ -0,0 +1,40 @@ +method = $method; + $this->action = $action; + + $this->left = $left; + $this->right = $right; + } + + public function compile(): string + { + $attr = array_merge(['method '. $this->method, 'action '. $this->action], $this->getAttr()); + return Html::form( + $this->left + , $this->right + )->is('ef-action-container') + ->compile(...$attr); + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/Compound/Alert.php b/markup-zzArchive/UIKit/zzArchive/Compound/Alert.php new file mode 100755 index 0000000..7261564 --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/Compound/Alert.php @@ -0,0 +1,70 @@ +title = Component::text($title); + $this->body = $body; + } + + public function unfold(): string + { + $role = 'role alert'; + if ($this->interactive) { + $role = 'role alertdialog'; + } + // TODO: Allow classing or styling by user + return Html::div( + Html::div( + Html::h3($this->title)->attr('class ef-alert-heading') + , UIKit::markdown($this->body) + )->attr('class ef-alert-body') + )->attr($role, 'class ef-alert ef-alert-'. $this->type .' single-centered') + ->compile(); + } + + public function info() + { + $this->type = 'info'; + return $this; + } + + public function success() + { + $this->type = 'success'; + return $this; + } + + public function warning() + { + $this->type = 'warning'; + return $this; + } + + public function error() + { + $this->type = 'error'; + return $this; + } + + public function interactive() + { + $this->interactive = true; + return $this; + } +} + diff --git a/markup-zzArchive/UIKit/zzArchive/Compound/Head.php b/markup-zzArchive/UIKit/zzArchive/Compound/Head.php new file mode 100755 index 0000000..6e0fa13 --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/Compound/Head.php @@ -0,0 +1,62 @@ +title = $title; + } + + public function compile(string ...$attributes): string + { + $titleAndMeta = [ + Html::title(Component::text($this->title)) + ]; + + $styles = []; + foreach ($this->styles as $styleUrl) { + $styles[] = Html::link() + ->attr( + 'href '. $styleUrl + , 'rel stylesheet' + , 'type text/css'); + } + + $scripts = []; + foreach($this->scripts as $script) { + $scripts[] = Html::script() + ->attr('src '. $script); + } + + + return Html::head(...array_merge($titleAndMeta, $styles, $scripts))->compile(); + } + + public function styles(string ...$styles) + { + $this->styles = $styles; + return $this; + } + + public function scripts(string ...$scripts) + { + $this->scripts = $scripts; + return $this; + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/Compound/Header.php b/markup-zzArchive/UIKit/zzArchive/Compound/Header.php new file mode 100755 index 0000000..61972ca --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/Compound/Header.php @@ -0,0 +1,46 @@ +buttonLabel = $buttonLabel; + $this->links = $links; + } + + public function compile(string ...$attributes): string + { + return Html::header( + Html::nav( + Html::button( + Component::text($this->buttonLabel) + )->is('ef-button')->attr('class collapsable') + , $this->linkList($this->links) + ) + )->compile(); + } + + private function linkList(array $links) { + $listItems = []; + foreach ($links as $link) { + $listItems[] = Html::li($link); + } + + return Html::ul(...$listItems)->attr('class collapsed'); + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/Compound/NavigationSecondary.php b/markup-zzArchive/UIKit/zzArchive/Compound/NavigationSecondary.php new file mode 100755 index 0000000..734efab --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/Compound/NavigationSecondary.php @@ -0,0 +1,40 @@ +links = $links; + } + + public function compile(string ...$attributes): string + { + $list = Html::ul(...$this->processLinks($this->links)); + + $nav = Html::nav($list) + ->is('ef-secondary-nav') + ->attr(...$this->getAttr()); + + return $nav->compile(); + } + + protected function processLinks(array $linksToProcess) + { + $links = []; + foreach ($linksToProcess as $link) { + list($text, $path) = $link; + $links[] = Html::li(UIKit::link($text, $path)); + } + return $links; + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/Compound/NavigationSide.php b/markup-zzArchive/UIKit/zzArchive/Compound/NavigationSide.php new file mode 100755 index 0000000..8359c41 --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/Compound/NavigationSide.php @@ -0,0 +1,42 @@ +links = $links; + } + + public function compile(string ...$attributes): string + { + $list = Html::ul(...$this->processLinks($this->links))->attr('class collapsed'); + + $nav = Html::aside( + Html::button(Component::text('user menu'))->attr('class collapsable') + , $list + )->is('ef-side-navigation') + ->attr(...$this->getAttr()); + return $nav->compile(); + } + + protected function processLinks(array $linksToProcess) + { + $links = []; + foreach ($linksToProcess as $link) { + $links[] = Html::li($link); + } + return $links; + } +} + diff --git a/markup-zzArchive/UIKit/zzArchive/FormControl.php b/markup-zzArchive/UIKit/zzArchive/FormControl.php new file mode 100755 index 0000000..5af9776 --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/FormControl.php @@ -0,0 +1,153 @@ +label = $label; + $this->name = $name; + $this->value = $value; + $this->placeholder = $placeholder; + } + + public function unfold(string ...$attributes): string + { + $this->setDescribedBy(); + + $this->requiredAttribute = ($this->required) + ? 'required required' + : ''; + + $container = $this->getContainer(); + + $return = Html::$container( + $this->getLabel($this->label) + , $this->getHint() + , $this->getError() + , $this->getFormElement() + ); + + return $return->unfold(); + } + + public function hint(string $hintText = ''): FormControl + { + $this->hint = $hintText; + return $this; + } + + public function error(string $errorText = ''): FormControl + { + $this->error = $errorText; + return $this; + } + + public function optional(): FormControl + { + $this->required = false; + return $this; + } + + public function hideLabel(): FormControl + { + $this->hideLabel = true; + return $this; + } + + protected function getContainer(): string + { + return 'div'; + } + + protected function getContainerClass(): string + { + return (strlen($this->error) > 0) + ? 'class error' + : ''; + } + + protected function setDescribedBy() + { + $this->describedBy = ''; + if (strlen($this->error) > 0) { + $this->describedBy = 'aria-describedby '. $this->name .'-error-message'; + + } elseif (strlen($this->hint) > 0) { + $this->describedBy = 'aria-describedby '. $this->name .'-hint-text'; + + } + } + + protected function getLabel($content) + { + $label = Html::label($content)->attr('for '. $this->name); + // $this->setLabelClass($label); + return $label; + } + + protected function hasError(): bool + { + return (strlen($this->error) > 0); + } + + protected function setLabelClass(string ...$classes) + { + if (count($classes) > 0) { + $label->attr('class '. implode(' ', $classes)); + } + } + + private function getHint() + { + $hint = ''; + if (strlen($this->hint) > 0) { + $hint = Html::span($this->hint) + ->attr('id '. $this->name .'-hint-text', "is ef-form-hint"); + } + return $hint; + } + + private function getError() + { + $error = ''; + if (strlen($this->error) > 0) { + $error = Html::span($this->error) + ->attr('id '. $this->name .'-error-message', "is ef-input-error-message"); + } + return $error; + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/FormControls/Button.php b/markup-zzArchive/UIKit/zzArchive/FormControls/Button.php new file mode 100755 index 0000000..9a1e047 --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/FormControls/Button.php @@ -0,0 +1,85 @@ +compile(); + * + * @example + * + * [ + * { + * "label":"Button" + * }, + * { + * "label":"Button", + * "type":"secondary" + * }, + * { + * "label":"Button", + * "disabled":"true" + * } + * ] + * + * + */ +class Button extends HtmlElement +{ + use ButtonTypes; + + protected $label = ''; + + private $name = ''; + private $value = ''; + + public function __construct(string $label, string $name = '', string $value = '') + { + $this->label = Component::text($label); + + if (strlen($name) > 0) { + $this->name = $name; + $this->value = $value; + } + } + + public function compile(string ...$attributes): string + { + $base = Html::button($this->label)->is('ef-button'); + + if (strlen($this->name) > 0 && strlen($this->value) > 0) { + $base->attr('name '. $this->name, 'value '. $this->value); + } + + return $base->compile(...array_merge($attributes, $this->getAttr())); + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/FormControls/InputDate.php b/markup-zzArchive/UIKit/zzArchive/FormControls/InputDate.php new file mode 100755 index 0000000..1fd9aab --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/FormControls/InputDate.php @@ -0,0 +1,103 @@ +_label = Component::text($label); + $this->_name = $name; + $this->_value = $value; + $this->_placeholder = $placeholder; + } + + protected function getContainer(): string + { + return 'fieldset'; + } + + protected function getContainerClass(): string + { + return ($this->hasError()) + ? 'class fieldset-inputs error' + : 'class fieldset-inputs'; + } + + protected function getLabel(Text $content) + { + $label = Html::legend($content)->attr('for '. $this->_name); + $this->setLabelClass($label); + return $label; + } + + protected function getFormElement(Carbon $date = null) + { + $this->setDescribedBy(); + + $monthLabel = 'Month'; + $monthName = $this->_name .'-month'; + $monthClass = 'month'; + $monthMin = 1; + $monthMax = 12; + + $dayLabel = 'Day'; + $dayName = $this->_name .'-day'; + $dayClass = 'day'; + $dayMin = 1; + $dayMax = 31; + + $yearLabel = 'Year'; + $yearName = $this->_name .'-year'; + $yearClass = 'year'; + $yearMin = 1900; + $yearMax = Carbon::now()->addYears(1000)->year; + + $inputs = [ + $this->inputField($monthLabel, $monthName, $monthClass, $monthMin, + $monthMax), + $this->inputField($dayLabel, $dayName, $dayClass, $dayMin, $dayMax), + $this->inputField($yearLabel, $yearName, $yearClass, $yearMin, $yearMax) + ]; + + return Html::div(...$inputs)->attr('class ef-date-of-birth'); + } + + private function inputField( + string $label, + string $name, + string $class, + int $min, + int $max) + { + return UIKit::text_input( + $label + , $name + , ( ! is_null($this->_value)) + ? $this->_value->$class + : '' + , ( ! is_null($this->_placeholder)) + ? $this->_placeholder->$class + : '' + )->attr( + 'class input-inline' + , 'type number' + , 'min '. $min + , 'max '. $max + , $this->_describedBy + ); + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/FormControls/InputFile.php b/markup-zzArchive/UIKit/zzArchive/FormControls/InputFile.php new file mode 100755 index 0000000..33502a8 --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/FormControls/InputFile.php @@ -0,0 +1,41 @@ +label = $label; + $this->name = $name; + } + + protected function getFormElement() + { + $name = $this->name; + + $value = $this->value; + + $placeholder = $this->placeholder; + + $describedBy = $this->describedBy; + + $required = $this->requiredAttribute; + + return Html::input() + ->attr( + 'id '. $name, + 'name '. $name, + 'type file', + $value, + $placeholder, + $describedBy, + $required, + ); + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/FormControls/InputHidden.php b/markup-zzArchive/UIKit/zzArchive/FormControls/InputHidden.php new file mode 100755 index 0000000..91fdaf5 --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/FormControls/InputHidden.php @@ -0,0 +1,25 @@ +name = $name; + $this->value = $value; + } + + public function unfold(): string + { + return Html::input()->attr( + 'type hidden' + , 'name '. $this->name + , 'value '. $this->value + )->unfold(); + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/FormControls/InputText.php b/markup-zzArchive/UIKit/zzArchive/FormControls/InputText.php new file mode 100755 index 0000000..a1126a2 --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/FormControls/InputText.php @@ -0,0 +1,65 @@ +label = Component::text($label); + $this->name = $name; + $this->value = $value; + $this->placeholder = $placeholder; + } + + public function password() + { + $this->type = "password"; + return $this; + } + + public function compile(string ...$attributes): string + { + return Html::div( + Html::label($this->label), + Html::input()->attr(... + array_merge( + [ + "type ". $this->type, + "id ". $this->name, + "name ". $this->name, + "value ". $this->value, + "placeholder ". $this->placeholder + ], + $this->getAttr() + ) + ) + )->compile(); + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/FormControls/Progress.php b/markup-zzArchive/UIKit/zzArchive/FormControls/Progress.php new file mode 100755 index 0000000..59d1bf4 --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/FormControls/Progress.php @@ -0,0 +1,100 @@ +value = $value; + $this->min = $min; + $this->max = $max; + } + + public function compile(string ...$attributes): string + { + $labels = []; + if (count($this->_labels) > 0) { + $labels = array_map(function ($content) { + return (is_null($content)) + ? Html::div() + : Html::div(Html::p($content)); + }, $this->_labels); + } + + $links = []; + if (count($this->_links) > 0) { + $links = array_map(function (?Link $link) { + return (is_null($link)) + ? Html::div() + : Html::div(Html::p($link)); + }, $this->_links); + } + + // TODO: Probably promote this to a superclass; probably more accurately + // put all the other stuff in a sub-class of this one. + return Html::div(...array_merge( + $labels + , [Html::progress()->attr('value '. $this->value, 'max '. $this->max)] + , $links + ))->is('ef-progress')->compile(...array_merge($this->getAttr(), $attributes)); + } + + public function step(float $step = 1): Progress + { + $this->_type = 'range'; + $this->_step = $step; + return $this; + } + + public function meter( + float $optimum = 75, + float $low = 25, + float $high = 75): Progress + { + $this->_type = 'meter'; + $this->_optimum = $optimum; + $this->_low = $low; + $this->_high = $high; + return $this; + } + + public function labels(string ...$labels): Progress + { + foreach ($labels as $text) { + $this->_labels[] = Component::text($text); + } + return $this; + } + + public function links(array ...$links): Progress + { + foreach ($links as $config) { + list($text, $target) = $config; + $this->_links[] = UIKit::link($text, $target); + } + return $this; + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/FormControls/Select.php b/markup-zzArchive/UIKit/zzArchive/FormControls/Select.php new file mode 100755 index 0000000..b58f66b --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/FormControls/Select.php @@ -0,0 +1,168 @@ +options( + * 'label name', + * ['label name', 'extra'] + * ) + * ->hint('Something') + * ->error('Something elese') + * ->optional() + * ->hideLabel() + * ->attr('') + * + */ +class Select extends FormControl +{ + protected $_type = 'dropdown'; + + protected $_options = []; + + public function __construct( + string $label, + string $name, + array $value = [], + string $placeholder = '') + { + parent::__construct($label, $name, $value, $placeholder); + } + + public function compile(string ...$attributes): string + { + return parent::compile(...array_merge($this->getAttr(), $attributes)); + } + + public function options(...$options) + { + $this->_options = $options; + return $this; + } + + public function checkbox() + { + $this->_type = 'checkbox'; + return $this; + } + + public function radio() + { + $this->_type = 'radio'; + return $this; + } + + protected function getContainer(): string + { + if ($this->isDropdown()) { + return parent::getContainer(); + } + return 'fieldset'; + } + + protected function getContainerClass(): string + { + if ($this->isDropdown()) { + return parent::getContainerClass(); + } + return ($this->hasError()) + ? 'class fieldset-inputs error' + : 'class fieldset-inputs'; + } + + protected function getLabel(Text $content) + { + if ($this->isDropdown()) { + return parent::getLabel($content); + } + $label = Html::legend($content); + $this->setLabelClass($label); + return $label; + } + + // protected function labelClass($label) + // { + // if ($this->hasError()) { + // return (count($this->_options) == 1) + // ? 'class ef-input-error-label ef-sr-only' + // : 'class ef-input-error-label'; + // } + // return (count($this->_options) == 1) + // ? 'class ef-sr-only' + // : ''; + // } + + protected function getFormElement() + { + $name = $this->_name; + $describedBy = $this->_describedBy; + + if ($this->isDropdown()) { + $options = array_map(function ($option) { + list($key, $value) = parent::splitFirstSpace($option); + + return Html::option(Component::text($value))->attr( + 'value '. $key, + (is_array($this->_value) && in_array($key, $this->_value)) + ? 'selected selected' + : '' + ); + }, $this->_options); + + return Html::select(...$options) + ->attr( + 'id '. $name, + 'name '. $name, + (strlen($describedBy) > 0) + ? 'aria-describedby '. $describedBy + : '' + ); + } + + $options = array_map(function ($option) { + $span = Component::text(''); + if (is_array($option)) { + list($control, $extra) = $option; + + $span = Html::span($extra); + + list($key, $value) = parent::splitFirstSpace($control); + + } else { + list($key, $value) = parent::splitFirstSpace($option); + + } + + $checked = (is_array($this->_value) && in_array($key, $this->_value)) + ? 'checked checked' + : ''; + return Html::li( + Html::input()->attr( + 'id '. $key + , 'type '. $this->_type + , 'name '. $this->_name .'[]' + , 'value '. $key + , $checked + ) + , Html::label(Component::text($value))->attr('for '. $key) + , $span + ); + }, $this->_options); + return Html::ul(...$options)->attr('class ef-unstyled-list'); + } + + private function isDropdown() + { + return ($this->_type == 'dropdown'); + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/FormControls/StripeElements.php b/markup-zzArchive/UIKit/zzArchive/FormControls/StripeElements.php new file mode 100755 index 0000000..1bfe1cb --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/FormControls/StripeElements.php @@ -0,0 +1,173 @@ +formId = $formId; + $this->apiKey = $apiKey; + $this->inputLabel = $inputLabel; + $this->buttonLabel = $buttonLabel; + } + + public function unfold(): string + { + $javascript = self::script($this->formId, $this->apiKey); + + return Html::div( + Html::label($this->inputLabel) + ->attr('for '. $this->formId .'-label') + , Html::span()->attr('id '. $this->formId .'-errors') + , Html::div()->attr('id '. $this->formId .'-element') + , UIKit::ef_button($this->buttonLabel) + , $javascript + )->unfold(); + } + + private static function script(string $formId, string $apiKey) + { + $id = $formId; + $cardForm = self::formIdToJavaScriptVar($id); + $cardFor = self::cardforVar($id); + $apiKey = $apiKey; + $styles = self::stripeStyles($formId); + + return Html::script( + // Create a Stripe client + 'const stripeFor'. $cardForm .' = Stripe(\''. $apiKey .'\'); '. + + // Create an instance of Elements + 'const elementsFor'. $cardForm .' = stripeFor'. $cardForm .'.elements(); '. + + // Custom styling can be passed to options when creating an Element. + // (Note that this demo uses a wider set of styles than the guide below.) + $styles .' '. + + // Create an instance of the card Element + 'const '. $cardFor .' = elementsFor'. $cardForm . + '.create(\'card\', '. + '{style: '. $cardForm .'Style}); '. + + // Add an instance of the card Element into the `card-element`
+ $cardFor .'.mount(\'#'. $id .'-element\');'. + + // Handle real-time validation errors from the card Element. + $cardFor .'.addEventListener(\'change\', function(event) {'. + 'var displayError = document.getElementById(\'card-errors\');'. + 'if (event.error) {'. + 'displayError.textContent = event.error.message;'. + '} else {'. + 'displayError.textContent = \'\';'. + '}'. + '});'. + + // Initialize token handler - pre-submit + 'const '. $cardForm .'TokenHandler = function(token) {'. + 'const form = document.getElementById(\''. $id .'\');'. + 'const hiddenInput = document.createElement(\'input\');'. + 'hiddenInput.setAttribute(\'type\', \'hidden\');'. + 'hiddenInput.setAttribute(\'name\', \'stripeToken\');'. + 'hiddenInput.setAttribute(\'value\', token.id);'. + 'form.appendChild(hiddenInput);'. + 'form.submit();'. + '};', + + // Handle form submission + 'const '. $cardForm .' = document.getElementById(\''. $id .'\');'. + $cardForm .'.addEventListener(\'submit\', function(event) {'. + 'event.preventDefault();'. + + 'stripeFor'. $cardForm .'.createToken('. $cardFor .').then(function(result) {'. + 'if (result.error) {'. + // Inform the user if there was an error + 'var errorElement = document.getElementById(\'card-errors\');'. + 'errorElement.textContent = result.error.message;'. + '} else {'. + // Send the token to your server + $cardForm .'TokenHandler(result.token);'. + '}'. + '});'. + '});' + )->attr('type text/javascript'); + } + static private function formIdToJavaScriptVar(string $formId): string + { + return str_replace('-', '', $formId); + } + + static private function cardforVar(string $formId): string + { + return 'cardfor'. self::formIdToJavaScriptVar($formId); + } + + static private function stripeStyles(string $formId): string + { + // TODO: Deprecate once styles are in place. + $config = []; + + $const = self::formIdToJavaScriptVar($formId); + + $baseColor = (isset($config['font-color'])) + ? 'color:\''. $config['font-color'] .'\'' + : 'color:\'#32325d\''; + $lineHeight = (isset($config['line-height'])) + ? 'lineHeight:\''. $config['line-height'] .'\'' + : 'lineHeight:\'24px\''; + $fontFamily = (isset($config['font-family'])) + ? 'fontFamily:\''. $config['font-family'] .'\'' + : 'fontFamily:\'"Helvetica Neue", Helvetica, sans-serif\''; + $fontSmoothing = (isset($config['font-smoothing'])) + ? 'fontSmoothing:\''. $config['font-smoothing'] .'\'' + : 'fontSmoothing: \'antialiased\''; + $fontSize = (isset($config['font-size'])) + ? 'fontSize:\''. $config['font-size'] .'\'' + : 'fontSize:\'16px\''; + $placeholderColor = (isset($config['placeholder-color'])) + ? 'color:\''. $config['placeholder-color'] .'\'' + : 'color:\'#aab7c4\''; + $invalidColor = (isset($config['invalid-color'])) + ? 'color:\''. $config['invalid-color'] .'\'' + : 'color:\'#fa755a\''; + $invalidIconColor = (isset($config['invalid-icon-color'])) + ? 'iconColor:\''. $config['invalid-icon-color'] .'\'' + : 'iconColor:\'#fa755a\''; + + // $create = 'const cardfor'. $const .'='. + // $const .'elements.create(\'card\',{style: '. $const .'Style});'; + + return 'const '. $const .'Style={'. + 'base:{'. + $baseColor .','. + $lineHeight .','. + $fontFamily .','. + $fontSmoothing .','. + $fontSize .','. + '\'::placeholder\':{'. + $placeholderColor . + '}'. + '},'. + 'invalid:{'. + $invalidColor .','. + $invalidIconColor . + '}'. + '};'; + // $create; + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/FormControls/Textarea.php b/markup-zzArchive/UIKit/zzArchive/FormControls/Textarea.php new file mode 100755 index 0000000..5e0b10c --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/FormControls/Textarea.php @@ -0,0 +1,66 @@ +_label = Component::text($label); + $this->_name = $name; + $this->_value = $value; + $this->_placeholder = $placeholder; + } + + protected function getFormElement() + { + $content = $this->_content[0]; + + $name = $this->_name; + + $value = $this->_value; + + $placeholder = $this->_placeholder; + + $describedBy = $this->_describedBy; + + $required = $this->_requiredAttribute; + + return Html::textarea(Component::text($value)) + ->attr(...array_merge( + [ + 'id '. $name, + 'name '. $name, + 'placeholder '. $placeholder, + $describedBy, + $required, + ], + $this->getAttr() + )); + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/FormControls/TextareaMarkdown.php b/markup-zzArchive/UIKit/zzArchive/FormControls/TextareaMarkdown.php new file mode 100755 index 0000000..56dd642 --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/FormControls/TextareaMarkdown.php @@ -0,0 +1,38 @@ +_name .'-editor"), '. + 'autoDownloadFontAwesome: false, '. + 'hideIcons: [\'heading\', \'image\']'. + '});' + )); + + return Component::text($textarea->compile() . $script->compile()); + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/Forms/Form.php b/markup-zzArchive/UIKit/zzArchive/Forms/Form.php new file mode 100755 index 0000000..159308e --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/Forms/Form.php @@ -0,0 +1,37 @@ +method = $method; + $this->action = $action; + + $this->content = $content; + // $this->content[] = Html::input() + // ->attr("type hidden", "name _token", "value ". csrf_token()); + } + + public function compile(string ...$attributes): string + { + return Html::form(...$this->content) + ->attr('method '. $this->method, 'action '. $this->action) + ->compile(...array_merge($this->getAttr(), $attributes)); + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/Simple/Scripts.php b/markup-zzArchive/UIKit/zzArchive/Simple/Scripts.php new file mode 100755 index 0000000..8b996ae --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/Simple/Scripts.php @@ -0,0 +1,29 @@ +` sources. + * + * This component really does take the term simple to a new level. No keys necessary. + * Just pass in an array of strings where each string is the url of the script. + * + * @deprecated + */ +class Scripts +{ + static public function build($config) + { + $html = []; + foreach($config as $script) { + $html[] = UIKit::script([ + 'attributes' => ['src' => $script] + ]); + } + return implode('', $html); + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/Simple/SimpleTable.php b/markup-zzArchive/UIKit/zzArchive/Simple/SimpleTable.php new file mode 100755 index 0000000..b924d27 --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/Simple/SimpleTable.php @@ -0,0 +1,116 @@ +rows = $rows; + } + + public function unfold(): string + { + if (count($this->rows) == 0) { + return ''; + } + + $caption = $this->getCaption(); + + $thead = $this->getHead(); + + $tbody = $this->getBody(); + + $return = null; + if (strlen($this->caption) == 0) { + $return = Html::table( + $thead, + $tbody + ); + + } else { + $return = Html::table( + $caption, + $thead, + $tbody + ); + } + return $return->unfold(); + } + + public function caption(string $caption): SimpleTable + { + $this->caption = $caption; + return $this; + } + + public function headers(string ...$headers): SimpleTable + { + $this->headers = $headers; + return $this; + } + + public function borderless(bool $borderless = false): SimpleTable + { + if ($borderless) { + $this->bordered = false; + } + return $this; + } + + private function getCaption() + { + $caption = ''; + if (strlen($this->caption) > 0) { + $caption = Html::caption($this->caption); + + } + return $caption; + } + + private function getHead() + { + $thead = ''; + if (count($this->headers) > 0) { + $headerCells = []; + foreach ($this->headers as $header) { + $headerCells[] = Html::th($header); + + } + $thead = Html::thead(Html::tr(...$headerCells)); + } + return $thead; + } + + private function getBody() + { + $rows = []; + foreach ($this->rows as $row) { + $rowCells = []; + foreach ($row as $cell) { + if (is_string($cell)) { + $rowCells[] = Html::td($cell); + + } else { + $rowCells[] = Html::td($cell); + + } + } + $rows[] = Html::tr(...$rowCells); + } + return Html::tbody(...$rows); + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/Simple/UserCard.php b/markup-zzArchive/UIKit/zzArchive/Simple/UserCard.php new file mode 100755 index 0000000..e80e22b --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/Simple/UserCard.php @@ -0,0 +1,19 @@ +_content[0]; + $src = $this->_content[1]; + + return Html::figure( + Html::img()->attr('alt '. $alt->compile(), 'src '. $src->compile()) + )->is('ef-user-card')->attr('class ef-radial-figure')->compile(); + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/Traits/ButtonTypes.php b/markup-zzArchive/UIKit/zzArchive/Traits/ButtonTypes.php new file mode 100755 index 0000000..2d8389c --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/Traits/ButtonTypes.php @@ -0,0 +1,24 @@ +type = $type; + return $this; + } + + public function secondary() + { + return $this->type($secondary); + } + + public function destructive() + { + return $this->type('destructive'); + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/Traits/ExternalStylesAndScripts.php b/markup-zzArchive/UIKit/zzArchive/Traits/ExternalStylesAndScripts.php new file mode 100755 index 0000000..4722dcd --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/Traits/ExternalStylesAndScripts.php @@ -0,0 +1,24 @@ +styles = $styles; + return $this; + } + + public function externalScripts(string ...$scripts) + { + $this->scripts = $scripts; + return $this; + } +} diff --git a/markup-zzArchive/UIKit/zzArchive/Traits/PrimaryAndSecondaryNav.php b/markup-zzArchive/UIKit/zzArchive/Traits/PrimaryAndSecondaryNav.php new file mode 100755 index 0000000..ccb27aa --- /dev/null +++ b/markup-zzArchive/UIKit/zzArchive/Traits/PrimaryAndSecondaryNav.php @@ -0,0 +1,29 @@ +primaryNav = $links; + return $this; + } + + public function secondaryNav(Compile ...$links) + { + $this->secondaryNav = $links; + return $this; + } +} diff --git a/markup-zzArchive/php-markup/.editorconfig b/markup-zzArchive/php-markup/.editorconfig new file mode 100644 index 0000000..1a45287 --- /dev/null +++ b/markup-zzArchive/php-markup/.editorconfig @@ -0,0 +1,15 @@ +root = true + +[*] +indent_style = tab +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.php] +indent_style = space +indent_size = 4 + +[*.yml, *.js, *.json] +indent_size = 2 diff --git a/markup-zzArchive/php-markup/.gitignore b/markup-zzArchive/php-markup/.gitignore new file mode 100644 index 0000000..a5641cf --- /dev/null +++ b/markup-zzArchive/php-markup/.gitignore @@ -0,0 +1,5 @@ +.DS_Store + +vendor/ +node_modules/ +npm-debug.log diff --git a/markup-zzArchive/php-markup/CONTRIBUTING.md b/markup-zzArchive/php-markup/CONTRIBUTING.md new file mode 100644 index 0000000..f0c5764 --- /dev/null +++ b/markup-zzArchive/php-markup/CONTRIBUTING.md @@ -0,0 +1,29 @@ +# Contributing + +There are a lot of philosphical things tied in to the way we strive to do software development. Some you are most likely familiar with, others maybe not so much. + +**You ain't gonna need it (YAGNI):** If someone hasn't asked for it, someone's not paying for it, and it's not needed to finish what has been asked and paid for, then don't develop that thing. (There are some extreme corner cases here, but they are extreme and rare.) + +**Don't repeat yourself (DRY):** If you are about to copy and paste that bit of code, reconsider. If you have a method that does exactly what you need it to, creating two means there's a possibility one will get out of sync or miss out on that update you make in a few months. + +**Keep it simple, stupid:** (I could really live without the "stupid" piece.) Write the simplest code that could work. (This one actually comes with a lot of caveats, but it does hold true quite often.) + +**Make it SOLID:** This is actually a set of principles in and of itself: + +- *Single responsibility principle:* Each thing you write should have one responsibility. Specifically classes. +- *Open/closed principle:* Objects should be open for extension, but closed to modification. +- *Liskov substitution principle:* Object should be replaceable by subtypes without affecting the correctness of the program. +- *Interface segregation principle:* Prefer client-specific interfaces over generic catch-all interfaces. +- *Dependency inversion principle:* Admittedly, don't really know this one well enough to say we follow it or not. (Most likely not as well as we could.) + +**Solutions over scapegoats:** There are times when these principles will not be followed or someone will make a mistake. Berating the offender doesn't get any of us any closer to improving the execution of these principles. + +## Code promotion + +Examples would probably do a better job of illustrating. The `UserType` class in `laravel-registered` has a field called `slug`. To make it easier to retrieve user objects from this field `scopeWithSlug()` was created in the class definition. When another class had the same field and we found ourselves about to write it again (copy and paste), we abstracted it into a trait that could be picked up by any other object. + +## Code access + +If the language being used allows for access levels to be placed on variable, constants, methods, and so on, it is preferred that the access level begins at the most strict and becomes less restrictive out of necessity. + +This reduces the size of the public API, which makes the class easier to consume by developers. \ No newline at end of file diff --git a/markup-zzArchive/php-markup/LICENSE b/markup-zzArchive/php-markup/LICENSE new file mode 100644 index 0000000..68ede65 --- /dev/null +++ b/markup-zzArchive/php-markup/LICENSE @@ -0,0 +1,25 @@ +MIT License + +Copyright (c) 2019 Josh Bruce + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +## Notice + +This software makes use of software developed by others. Those software applications are not subject to this license, nor is this software subject to those licenses. See the individual modules for further details. diff --git a/markup-zzArchive/php-markup/README.md b/markup-zzArchive/php-markup/README.md new file mode 100644 index 0000000..47004e9 --- /dev/null +++ b/markup-zzArchive/php-markup/README.md @@ -0,0 +1,17 @@ +# 8fold Markup + +When it comes to semi-sctructured data, XML and derivitives can be tedious and heavy on syntax. 8fold Markup makes outputing semf-sctructured data easier and allowing for more dynamism. + +Markup minifies the output, making a smaller, faster package sent over the wire. + +Markup prefers one I/O step to compile (unfold) the resulting plain text, which means there is no parsing of strings to arrive at the desired output. + +When it comes to HTML attributes will be consistently ordered and, if a given attribute is not a part of the W3C HTML5 specification or is deprecated for that element, it will automatically be removed; keeping your markup up to date without having to rewrite a bunch of HTML templates. + +There are three possible entry points, all with in the Eightfold\Markup namespace: + +1. Element: Allows you to generate any XML-based element you like with or without content. +2. Html: Allows you to create HTML documents and elements with filtered and ordered attributes. (If an element is not found, it will fall back to Element.) +3. UIKit: Simplifies construction and extension of Element and Html. + +Please view the various test files to see the expected operations. diff --git a/markup-zzArchive/php-markup/composer.json b/markup-zzArchive/php-markup/composer.json new file mode 100644 index 0000000..659f498 --- /dev/null +++ b/markup-zzArchive/php-markup/composer.json @@ -0,0 +1,45 @@ +{ + "name": "8fold/php-markup", + "description": "8fold Markup seeks to make writing semi-structured data easier while allowing for more dynamism.", + "version": "0.0.1", + "type": "library", + "license": "MIT", + "authors": [ + { + "name": "Josh Bruce", + "email": "josh@8fold.pro" + } + ], + "require": { + "php": ">=7.0", + "8fold/php-shoop": "0.1.0", + "nesbot/carbon": "^2.25.0", + "league/commonmark": "^1.0.0" + }, + "require-dev": { + "mockery/mockery": "^0.9.4", + "phpunit/phpunit": "7.5.6", + "phpunit/php-code-coverage": "^6.0.7" + }, + "repositories": [ + { + "type": "path", + "url": "../php-shoop", + "name": "8fold/php-shoop" + } + ], + "minimum-stability": "dev", + "autoload": { + "psr-4": { + "Eightfold\\Markup\\": "./src/" + } + }, + "autoload-dev": { + "psr-4": { + "Eightfold\\Markup\\Tests\\": "./tests/" + } + }, + "config": { + "preferred-install": "dist" + } +} diff --git a/markup-zzArchive/php-markup/composer.lock b/markup-zzArchive/php-markup/composer.lock new file mode 100644 index 0000000..bafaa32 --- /dev/null +++ b/markup-zzArchive/php-markup/composer.lock @@ -0,0 +1,1973 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "677fd612b9b169d3cdb755883c85533a", + "packages": [ + { + "name": "8fold/php-shoop", + "version": "0.1.0", + "dist": { + "type": "path", + "url": "../php-shoop", + "reference": "5cd3a53b117f13837310d87ccdb2418f1e30c380" + }, + "require": { + "php": ">=7.0" + }, + "require-dev": { + "mockery/mockery": "^0.9.4", + "phpunit/php-code-coverage": "^6.0.7", + "phpunit/phpunit": "7.5.6" + }, + "type": "library", + "autoload": { + "psr-4": { + "Eightfold\\Shoop\\": "./src/" + } + }, + "autoload-dev": { + "psr-4": { + "Eightfold\\Shoop\\Tests\\": "./tests/" + } + }, + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Josh Bruce", + "email": "josh@8fold.pro" + } + ], + "description": "??" + }, + { + "name": "league/commonmark", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/commonmark.git", + "reference": "ea9bebdfad36e3e6c83ad2abebcde602c7fb04bf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/ea9bebdfad36e3e6c83ad2abebcde602c7fb04bf", + "reference": "ea9bebdfad36e3e6c83ad2abebcde602c7fb04bf", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "php": "^7.1" + }, + "replace": { + "colinodell/commonmark-php": "*" + }, + "require-dev": { + "cebe/markdown": "~1.0", + "commonmark/commonmark.js": "0.29.0", + "erusev/parsedown": "~1.0", + "ext-json": "*", + "michelf/php-markdown": "~1.4", + "mikehaertl/php-shellcommand": "^1.4", + "phpstan/phpstan-shim": "^0.11.5", + "phpunit/phpunit": "^7.5", + "scrutinizer/ocular": "^1.5", + "symfony/finder": "^4.2" + }, + "suggest": { + "league/commonmark-extras": "Library of useful extensions including smart punctuation" + }, + "bin": [ + "bin/commonmark" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2-dev" + } + }, + "autoload": { + "psr-4": { + "League\\CommonMark\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Colin O'Dell", + "email": "colinodell@gmail.com", + "homepage": "https://www.colinodell.com", + "role": "Lead Developer" + } + ], + "description": "PHP Markdown parser based on the CommonMark spec", + "homepage": "https://commonmark.thephpleague.com", + "keywords": [ + "commonmark", + "markdown", + "parser" + ], + "time": "2019-10-31T13:29:06+00:00" + }, + { + "name": "nesbot/carbon", + "version": "2.25.3", + "source": { + "type": "git", + "url": "https://github.com/briannesbitt/Carbon.git", + "reference": "d07636581795383e2fea2d711212d30f941f2039" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/d07636581795383e2fea2d711212d30f941f2039", + "reference": "d07636581795383e2fea2d711212d30f941f2039", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": "^7.1.8 || ^8.0", + "symfony/translation": "^3.4 || ^4.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.14 || ^3.0", + "kylekatarnls/multi-tester": "^1.1", + "phpmd/phpmd": "dev-php-7.1-compatibility", + "phpstan/phpstan": "^0.11", + "phpunit/phpunit": "^7.5 || ^8.0", + "squizlabs/php_codesniffer": "^3.4" + }, + "bin": [ + "bin/carbon" + ], + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Carbon\\Laravel\\ServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Carbon\\": "src/Carbon/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Brian Nesbitt", + "email": "brian@nesbot.com", + "homepage": "http://nesbot.com" + }, + { + "name": "kylekatarnls", + "homepage": "http://github.com/kylekatarnls" + } + ], + "description": "An API extension for DateTime that supports 281 different languages.", + "homepage": "http://carbon.nesbot.com", + "keywords": [ + "date", + "datetime", + "time" + ], + "time": "2019-10-20T11:05:44+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "a874bbf9135bd76175baa2c26d14312c9ef25543" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/a874bbf9135bd76175baa2c26d14312c9ef25543", + "reference": "a874bbf9135bd76175baa2c26d14312c9ef25543", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.12-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "time": "2019-09-17T10:46:08+00:00" + }, + { + "name": "symfony/translation", + "version": "4.4.x-dev", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation.git", + "reference": "1dacacd392004ac71d56f34de1463ec34b32203f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation/zipball/1dacacd392004ac71d56f34de1463ec34b32203f", + "reference": "1dacacd392004ac71d56f34de1463ec34b32203f", + "shasum": "" + }, + "require": { + "php": "^7.1.3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/translation-contracts": "^1.1.6|^2" + }, + "conflict": { + "symfony/config": "<3.4", + "symfony/dependency-injection": "<3.4", + "symfony/yaml": "<3.4" + }, + "provide": { + "symfony/translation-implementation": "1.0" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "^3.4|^4.0|^5.0", + "symfony/console": "^3.4|^4.0|^5.0", + "symfony/dependency-injection": "^3.4|^4.0|^5.0", + "symfony/finder": "~2.8|~3.0|~4.0|^5.0", + "symfony/http-kernel": "^3.4|^4.0|^5.0", + "symfony/intl": "^3.4|^4.0|^5.0", + "symfony/service-contracts": "^1.1.2|^2", + "symfony/var-dumper": "^3.4|^4.0|^5.0", + "symfony/yaml": "^3.4|^4.0|^5.0" + }, + "suggest": { + "psr/log-implementation": "To use logging capability in translator", + "symfony/config": "", + "symfony/yaml": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.4-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Translation\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Translation Component", + "homepage": "https://symfony.com", + "time": "2019-10-22T15:44:54+00:00" + }, + { + "name": "symfony/translation-contracts", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation-contracts.git", + "reference": "364518c132c95642e530d9b2d217acbc2ccac3e6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/364518c132c95642e530d9b2d217acbc2ccac3e6", + "reference": "364518c132c95642e530d9b2d217acbc2ccac3e6", + "shasum": "" + }, + "require": { + "php": "^7.1.3" + }, + "suggest": { + "symfony/translation-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Translation\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to translation", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "time": "2019-09-17T11:12:18+00:00" + } + ], + "packages-dev": [ + { + "name": "doctrine/instantiator", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "ae466f726242e637cebdd526a7d991b9433bacf1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/ae466f726242e637cebdd526a7d991b9433bacf1", + "reference": "ae466f726242e637cebdd526a7d991b9433bacf1", + "shasum": "" + }, + "require": { + "php": "^7.1" + }, + "require-dev": { + "doctrine/coding-standard": "^6.0", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^0.13", + "phpstan/phpstan-phpunit": "^0.11", + "phpstan/phpstan-shim": "^0.11", + "phpunit/phpunit": "^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2.x-dev" + } + }, + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "http://ocramius.github.com/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "keywords": [ + "constructor", + "instantiate" + ], + "time": "2019-10-21T16:45:58+00:00" + }, + { + "name": "hamcrest/hamcrest-php", + "version": "1.2.x-dev", + "source": { + "type": "git", + "url": "https://github.com/hamcrest/hamcrest-php.git", + "reference": "26968e9810ff0d1aa48f6d67a862559d92a51884" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/26968e9810ff0d1aa48f6d67a862559d92a51884", + "reference": "26968e9810ff0d1aa48f6d67a862559d92a51884", + "shasum": "" + }, + "require": { + "php": "^5.3|^7.0" + }, + "replace": { + "cordoval/hamcrest-php": "*", + "davedevelopment/hamcrest-php": "*", + "kodova/hamcrest-php": "*" + }, + "require-dev": { + "phpunit/php-file-iterator": "1.3.3", + "phpunit/phpunit": "~4.0", + "satooshi/php-coveralls": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.2-dev" + } + }, + "autoload": { + "classmap": [ + "hamcrest" + ], + "files": [ + "hamcrest/Hamcrest.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "This is the PHP port of Hamcrest Matchers", + "keywords": [ + "test" + ], + "time": "2018-02-19T09:04:07+00:00" + }, + { + "name": "mockery/mockery", + "version": "0.9.x-dev", + "source": { + "type": "git", + "url": "https://github.com/mockery/mockery.git", + "reference": "f356e061d8ae815cd283fdc8f4412b635044be3c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mockery/mockery/zipball/f356e061d8ae815cd283fdc8f4412b635044be3c", + "reference": "f356e061d8ae815cd283fdc8f4412b635044be3c", + "shasum": "" + }, + "require": { + "hamcrest/hamcrest-php": "~1.1", + "lib-pcre": ">=7.0", + "php": ">=5.3.2" + }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.9.x-dev" + } + }, + "autoload": { + "psr-0": { + "Mockery": "library/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Pádraic Brady", + "email": "padraic.brady@gmail.com", + "homepage": "http://blog.astrumfutura.com" + }, + { + "name": "Dave Marshall", + "email": "dave.marshall@atstsolutions.co.uk", + "homepage": "http://davedevelopment.co.uk" + } + ], + "description": "Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objects without the World ending.", + "homepage": "http://github.com/padraic/mockery", + "keywords": [ + "BDD", + "TDD", + "library", + "mock", + "mock objects", + "mockery", + "stub", + "test", + "test double", + "testing" + ], + "time": "2019-05-13T15:59:04+00:00" + }, + { + "name": "myclabs/deep-copy", + "version": "1.x-dev", + "source": { + "type": "git", + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "9012edbd1604a93cee7e7422d07a2c5776c56e0c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/9012edbd1604a93cee7e7422d07a2c5776c56e0c", + "reference": "9012edbd1604a93cee7e7422d07a2c5776c56e0c", + "shasum": "" + }, + "require": { + "php": "^7.1" + }, + "replace": { + "myclabs/deep-copy": "self.version" + }, + "require-dev": { + "doctrine/collections": "^1.0", + "doctrine/common": "^2.6", + "phpunit/phpunit": "^7.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + }, + "files": [ + "src/DeepCopy/deep_copy.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Create deep copies (clones) of your objects", + "keywords": [ + "clone", + "copy", + "duplicate", + "object", + "object graph" + ], + "time": "2019-08-26T15:40:39+00:00" + }, + { + "name": "phar-io/manifest", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/phar-io/manifest.git", + "reference": "6008a32fa23816a6ac71889c80da7d58c056c2bb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/6008a32fa23816a6ac71889c80da7d58c056c2bb", + "reference": "6008a32fa23816a6ac71889c80da7d58c056c2bb", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-phar": "*", + "ext-xmlwriter": "*", + "phar-io/version": "^2.0", + "php": "^7.2" + }, + "require-dev": { + "phpunit/phpunit": "^8.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "time": "2019-10-11T06:20:36+00:00" + }, + { + "name": "phar-io/version", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/45a2ec53a73c70ce41d55cedef9063630abaf1b6", + "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Library for handling version information and constraints", + "time": "2018-07-08T19:19:57+00:00" + }, + { + "name": "phpdocumentor/reflection-common", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionCommon.git", + "reference": "63a995caa1ca9e5590304cd845c15ad6d482a62a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/63a995caa1ca9e5590304cd845c15ad6d482a62a", + "reference": "63a995caa1ca9e5590304cd845c15ad6d482a62a", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "require-dev": { + "phpunit/phpunit": "~6" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jaap van Otterdijk", + "email": "opensource@ijaap.nl" + } + ], + "description": "Common reflection classes used by phpdocumentor to reflect the code structure", + "homepage": "http://www.phpdoc.org", + "keywords": [ + "FQSEN", + "phpDocumentor", + "phpdoc", + "reflection", + "static analysis" + ], + "time": "2018-08-07T13:53:10+00:00" + }, + { + "name": "phpdocumentor/reflection-docblock", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", + "reference": "8fcadfe5f85c38705151c9ab23b4781f23e6a70e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8fcadfe5f85c38705151c9ab23b4781f23e6a70e", + "reference": "8fcadfe5f85c38705151c9ab23b4781f23e6a70e", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "phpdocumentor/type-resolver": "^0", + "webmozart/assert": "^1" + }, + "require-dev": { + "doctrine/instantiator": "^1", + "mockery/mockery": "^1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", + "time": "2019-06-15T20:45:01+00:00" + }, + { + "name": "phpdocumentor/type-resolver", + "version": "0.7.x-dev", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/TypeResolver.git", + "reference": "6f6f66c1d4e14e9b0ad124cae85864dfa03104c7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6f6f66c1d4e14e9b0ad124cae85864dfa03104c7", + "reference": "6f6f66c1d4e14e9b0ad124cae85864dfa03104c7", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "phpdocumentor/reflection-common": "~2.0.0-beta1" + }, + "require-dev": { + "mockery/mockery": "~1", + "phpunit/phpunit": "~6" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", + "time": "2019-08-22T17:55:41+00:00" + }, + { + "name": "phpspec/prophecy", + "version": "1.9.0", + "source": { + "type": "git", + "url": "https://github.com/phpspec/prophecy.git", + "reference": "f6811d96d97bdf400077a0cc100ae56aa32b9203" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/f6811d96d97bdf400077a0cc100ae56aa32b9203", + "reference": "f6811d96d97bdf400077a0cc100ae56aa32b9203", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.0.2", + "php": "^5.3|^7.0", + "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0", + "sebastian/comparator": "^1.1|^2.0|^3.0", + "sebastian/recursion-context": "^1.0|^2.0|^3.0" + }, + "require-dev": { + "phpspec/phpspec": "^2.5|^3.2", + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.8.x-dev" + } + }, + "autoload": { + "psr-4": { + "Prophecy\\": "src/Prophecy" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Konstantin Kudryashov", + "email": "ever.zet@gmail.com", + "homepage": "http://everzet.com" + }, + { + "name": "Marcello Duarte", + "email": "marcello.duarte@gmail.com" + } + ], + "description": "Highly opinionated mocking framework for PHP 5.3+", + "homepage": "https://github.com/phpspec/prophecy", + "keywords": [ + "Double", + "Dummy", + "fake", + "mock", + "spy", + "stub" + ], + "time": "2019-10-03T11:07:50+00:00" + }, + { + "name": "phpunit/php-code-coverage", + "version": "6.1.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "807e6013b00af69b6c5d9ceb4282d0393dbb9d8d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/807e6013b00af69b6c5d9ceb4282d0393dbb9d8d", + "reference": "807e6013b00af69b6c5d9ceb4282d0393dbb9d8d", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-xmlwriter": "*", + "php": "^7.1", + "phpunit/php-file-iterator": "^2.0", + "phpunit/php-text-template": "^1.2.1", + "phpunit/php-token-stream": "^3.0", + "sebastian/code-unit-reverse-lookup": "^1.0.1", + "sebastian/environment": "^3.1 || ^4.0", + "sebastian/version": "^2.0.1", + "theseer/tokenizer": "^1.1" + }, + "require-dev": { + "phpunit/phpunit": "^7.0" + }, + "suggest": { + "ext-xdebug": "^2.6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "6.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": [ + "coverage", + "testing", + "xunit" + ], + "time": "2018-10-31T16:06:48+00:00" + }, + { + "name": "phpunit/php-file-iterator", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "ee5d93c00b87b36e206f1e8407dfe3306f5fcb4d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/ee5d93c00b87b36e206f1e8407dfe3306f5fcb4d", + "reference": "ee5d93c00b87b36e206f1e8407dfe3306f5fcb4d", + "shasum": "" + }, + "require": { + "php": "^7.1" + }, + "require-dev": { + "phpunit/phpunit": "^7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], + "time": "2019-10-23T09:07:44+00:00" + }, + { + "name": "phpunit/php-text-template", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686", + "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], + "time": "2015-06-21T13:50:34+00:00" + }, + { + "name": "phpunit/php-timer", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "190db5a4b930a73afbba041cd3015aeb10d444d4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/190db5a4b930a73afbba041cd3015aeb10d444d4", + "reference": "190db5a4b930a73afbba041cd3015aeb10d444d4", + "shasum": "" + }, + "require": { + "php": "^7.1" + }, + "require-dev": { + "phpunit/phpunit": "^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], + "time": "2019-10-23T09:04:52+00:00" + }, + { + "name": "phpunit/php-token-stream", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-token-stream.git", + "reference": "5bc2030589cad93e6c73ce3ccee3f5e960604a0d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/5bc2030589cad93e6c73ce3ccee3f5e960604a0d", + "reference": "5bc2030589cad93e6c73ce3ccee3f5e960604a0d", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": "^7.1" + }, + "require-dev": { + "phpunit/phpunit": "^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Wrapper around PHP's tokenizer extension.", + "homepage": "https://github.com/sebastianbergmann/php-token-stream/", + "keywords": [ + "tokenizer" + ], + "time": "2019-10-23T09:04:36+00:00" + }, + { + "name": "phpunit/phpunit", + "version": "7.5.6", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "09c85e14994df92e5ff1f5ec0b481bdb7d3d3df9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/09c85e14994df92e5ff1f5ec0b481bdb7d3d3df9", + "reference": "09c85e14994df92e5ff1f5ec0b481bdb7d3d3df9", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.1", + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "myclabs/deep-copy": "^1.7", + "phar-io/manifest": "^1.0.2", + "phar-io/version": "^2.0", + "php": "^7.1", + "phpspec/prophecy": "^1.7", + "phpunit/php-code-coverage": "^6.0.7", + "phpunit/php-file-iterator": "^2.0.1", + "phpunit/php-text-template": "^1.2.1", + "phpunit/php-timer": "^2.0", + "sebastian/comparator": "^3.0", + "sebastian/diff": "^3.0", + "sebastian/environment": "^4.0", + "sebastian/exporter": "^3.1", + "sebastian/global-state": "^2.0", + "sebastian/object-enumerator": "^3.0.3", + "sebastian/resource-operations": "^2.0", + "sebastian/version": "^2.0.1" + }, + "conflict": { + "phpunit/phpunit-mock-objects": "*" + }, + "require-dev": { + "ext-pdo": "*" + }, + "suggest": { + "ext-soap": "*", + "ext-xdebug": "*", + "phpunit/php-invoker": "^2.0" + }, + "bin": [ + "phpunit" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "7.5-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "time": "2019-02-18T09:24:50+00:00" + }, + { + "name": "sebastian/code-unit-reverse-lookup", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "5872e3737247e650995ac60e98611f69bfe8c556" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5872e3737247e650995ac60e98611f69bfe8c556", + "reference": "5872e3737247e650995ac60e98611f69bfe8c556", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^5.7 || ^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "time": "2019-10-23T09:08:24+00:00" + }, + { + "name": "sebastian/comparator", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "c57ba51c28b64ef8a4b14b40bceb2c5ca19e9406" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/c57ba51c28b64ef8a4b14b40bceb2c5ca19e9406", + "reference": "c57ba51c28b64ef8a4b14b40bceb2c5ca19e9406", + "shasum": "" + }, + "require": { + "php": "^7.1", + "sebastian/diff": "^3.0", + "sebastian/exporter": "^3.1" + }, + "require-dev": { + "phpunit/phpunit": "^7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "https://github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "time": "2019-10-28T09:22:49+00:00" + }, + { + "name": "sebastian/diff", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "2ce6675fe77612cce2a49d0cecb4e7afead64323" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/2ce6675fe77612cce2a49d0cecb4e7afead64323", + "reference": "2ce6675fe77612cce2a49d0cecb4e7afead64323", + "shasum": "" + }, + "require": { + "php": "^7.1" + }, + "require-dev": { + "phpunit/phpunit": "^7.5 || ^8.0", + "symfony/process": "^2 || ^3.3 || ^4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff", + "udiff", + "unidiff", + "unified diff" + ], + "time": "2019-10-23T09:06:00+00:00" + }, + { + "name": "sebastian/environment", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "0f73ef4aa2d8a5e00393c06729012a50845e9e4c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/0f73ef4aa2d8a5e00393c06729012a50845e9e4c", + "reference": "0f73ef4aa2d8a5e00393c06729012a50845e9e4c", + "shasum": "" + }, + "require": { + "php": "^7.1" + }, + "require-dev": { + "phpunit/phpunit": "^7.5" + }, + "suggest": { + "ext-posix": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "http://www.github.com/sebastianbergmann/environment", + "keywords": [ + "Xdebug", + "environment", + "hhvm" + ], + "time": "2019-10-23T09:05:42+00:00" + }, + { + "name": "sebastian/exporter", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "10b761abeab7ea48c2b89f16a7fca10d2f544d25" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/10b761abeab7ea48c2b89f16a7fca10d2f544d25", + "reference": "10b761abeab7ea48c2b89f16a7fca10d2f544d25", + "shasum": "" + }, + "require": { + "php": "^7.0", + "sebastian/recursion-context": "^3.0" + }, + "require-dev": { + "ext-mbstring": "*", + "phpunit/phpunit": "^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "homepage": "http://www.github.com/sebastianbergmann/exporter", + "keywords": [ + "export", + "exporter" + ], + "time": "2019-10-23T09:05:12+00:00" + }, + { + "name": "sebastian/global-state", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4", + "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4", + "shasum": "" + }, + "require": { + "php": "^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.0" + }, + "suggest": { + "ext-uopz": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], + "time": "2017-04-27T15:39:26+00:00" + }, + { + "name": "sebastian/object-enumerator", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "6096279595e26594a68c03571fba1d7c0253f19a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/6096279595e26594a68c03571fba1d7c0253f19a", + "reference": "6096279595e26594a68c03571fba1d7c0253f19a", + "shasum": "" + }, + "require": { + "php": "^7.0", + "sebastian/object-reflector": "^1.1.1", + "sebastian/recursion-context": "^3.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Traverses array structures and object graphs to enumerate all referenced objects", + "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "time": "2019-10-23T09:08:54+00:00" + }, + { + "name": "sebastian/object-reflector", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "aff2a6b4fffc8e9f0f1de6388f3d7bd0f729dddc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/aff2a6b4fffc8e9f0f1de6388f3d7bd0f729dddc", + "reference": "aff2a6b4fffc8e9f0f1de6388f3d7bd0f729dddc", + "shasum": "" + }, + "require": { + "php": "^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "time": "2019-10-23T09:07:29+00:00" + }, + { + "name": "sebastian/recursion-context", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "f95dcff26fa9fd4df1960c503d4180ec2f8172fd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/f95dcff26fa9fd4df1960c503d4180ec2f8172fd", + "reference": "f95dcff26fa9fd4df1960c503d4180ec2f8172fd", + "shasum": "" + }, + "require": { + "php": "^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + } + ], + "description": "Provides functionality to recursively process PHP variables", + "homepage": "http://www.github.com/sebastianbergmann/recursion-context", + "time": "2019-10-23T09:08:39+00:00" + }, + { + "name": "sebastian/resource-operations", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "89893975fe3fcc2e60214471761af5e91cc7a933" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/89893975fe3fcc2e60214471761af5e91cc7a933", + "reference": "89893975fe3fcc2e60214471761af5e91cc7a933", + "shasum": "" + }, + "require": { + "php": "^7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides a list of PHP built-in functions that operate on resources", + "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "time": "2019-10-23T09:09:44+00:00" + }, + { + "name": "sebastian/version", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019", + "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "time": "2016-10-03T07:35:21+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "550ebaac289296ce228a706d0867afc34687e3f4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/550ebaac289296ce228a706d0867afc34687e3f4", + "reference": "550ebaac289296ce228a706d0867afc34687e3f4", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.12-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "time": "2019-08-06T08:03:45+00:00" + }, + { + "name": "theseer/tokenizer", + "version": "1.1.3", + "source": { + "type": "git", + "url": "https://github.com/theseer/tokenizer.git", + "reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/11336f6f84e16a720dae9d8e6ed5019efa85a0f9", + "reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + } + ], + "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "time": "2019-06-13T22:48:21+00:00" + }, + { + "name": "webmozart/assert", + "version": "1.5.0", + "source": { + "type": "git", + "url": "https://github.com/webmozart/assert.git", + "reference": "88e6d84706d09a236046d686bbea96f07b3a34f4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozart/assert/zipball/88e6d84706d09a236046d686bbea96f07b3a34f4", + "reference": "88e6d84706d09a236046d686bbea96f07b3a34f4", + "shasum": "" + }, + "require": { + "php": "^5.3.3 || ^7.0", + "symfony/polyfill-ctype": "^1.8" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.36 || ^7.5.13" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Assertions to validate method input/output with nice error messages.", + "keywords": [ + "assert", + "check", + "validate" + ], + "time": "2019-08-24T08:43:50+00:00" + } + ], + "aliases": [], + "minimum-stability": "dev", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": { + "php": ">=7.0" + }, + "platform-dev": [] +} diff --git a/markup-zzArchive/php-markup/phpunit.xml b/markup-zzArchive/php-markup/phpunit.xml new file mode 100644 index 0000000..08d88ea --- /dev/null +++ b/markup-zzArchive/php-markup/phpunit.xml @@ -0,0 +1,18 @@ + + + + + ./tests/Element + + + ./tests/Html + + + ./tests/UIKit + + + + + + + diff --git a/markup-zzArchive/php-markup/src/Element.php b/markup-zzArchive/php-markup/src/Element.php new file mode 100644 index 0000000..06d6248 --- /dev/null +++ b/markup-zzArchive/php-markup/src/Element.php @@ -0,0 +1,115 @@ +"; + + protected $element = ''; + + protected $content = []; + + protected $extends = ''; + + protected $omitEndTag = false; + + protected $attributes = []; + + static public function fold($element, ...$content) + { + return new static($element, ...$content); + } + + public function __construct($element, ...$content) + { + $this->element = Type::sanitizeType($element, ESString::class) + ->replace("_", "-")->unfold(); + $this->content = Type::sanitizeType($content, ESArray::class) + ->unfold(); + } + + public function unfold() + { + $elem = $this->element; + if (strlen($this->extends) > 0) { + $elem = $this->extends; + $this->attr("is {$this->element}"); + } + + // $attributes = Shoop::dictionary($this->attributes) + // ->each(function($value, $key) { + // var_dump($value); + // var_dump($key); + // return "{$key}=\"{$value}\""; + // })->join(" ")->unfold(); + // var_dump($attributes); + + $attributes = Shoop::array([]); + foreach ($this->attributes as $key => $value) { + // TODO: Write test regarding single attributes like required + if ($key === $value && strlen($value) > 0) { + $attributes = $attributes->plus($value); + + } else { + $attributes = $attributes->plus("{$key}=\"{$value}\""); + + } + } + $attributes = $attributes->join(" "); + if (strlen($attributes) > 0) { + $attributes = $attributes->start(" "); + } + + $opening = "<{$elem}{$attributes}>"; + + $content = ""; + foreach ($this->content as $value) { + if (is_string($value) || is_int($value)) { + $content .= (string) $value; + + } elseif (is_a($value, Element::class) || is_subclass_of($value, Element::class)) { + $content .= $value->unfold(); + + } + } + + $closing = ""; + if ($this->omitEndTag) { + $closing = ""; + } + return $opening . $content . $closing; + } + + public function attr(string ...$attributes): Element + { + foreach ($attributes as $attribute) { + if (strlen($attribute) > 0) { + list($key, $value) = Shoop::string($attribute)->split(" ")->unfold(); + $this->attributes[$key] = $value; + } + } + return $this; + } + + public function extends($extends): Element + { + $extends = Type::sanitizeType($extends, ESString::class); + $this->extends = $extends; + return $this; + } + + public function omitEndTag(bool $omit = true): Element + { + $this->omitEndTag = $omit; + return $this; + } +} diff --git a/markup-zzArchive/php-markup/src/Html.php b/markup-zzArchive/php-markup/src/Html.php new file mode 100644 index 0000000..4b2010f --- /dev/null +++ b/markup-zzArchive/php-markup/src/Html.php @@ -0,0 +1,158 @@ +count()->is(0)->unfold()) { + return Element::fold($element, ...$elements); + } + + $class = $class->unfold(); + return $class::fold($element, ...$elements); + } + + static public function class(string $element, array $classes): ESString + { + if (array_key_exists($element, $classes)) { + return Shoop::string($classes[$element]); + } + return Shoop::string(""); + } + + private const CLASSES = [ + 'html' => Html\Elements\Root\Html::class + + , 'head' => Html\Elements\Metadata\Head::class + , 'title' => Html\Elements\Metadata\Title::class + , 'base' => Html\Elements\Metadata\Base::class + , 'link' => Html\Elements\Metadata\Link::class + , 'meta' => Html\Elements\Metadata\Meta::class + , 'style' => Html\Elements\Metadata\Style::class + + , 'body' => Html\Elements\Sections\Body::class + , 'article' => Html\Elements\Sections\Article::class + , 'section' => Html\Elements\Sections\Section::class + , 'nav' => Html\Elements\Sections\Nav::class + , 'aside' => Html\Elements\Sections\Aside::class + , 'address' => Html\Elements\Sections\Address::class + , 'h1' => Html\Elements\Sections\H1::class + , 'h2' => Html\Elements\Sections\H2::class + , 'h3' => Html\Elements\Sections\H3::class + , 'h4' => Html\Elements\Sections\H4::class + , 'h5' => Html\Elements\Sections\H5::class + , 'h6' => Html\Elements\Sections\H6::class + , 'header' => Html\Elements\Sections\Header::class + , 'footer' => Html\Elements\Sections\Footer::class + , 'address' => Html\Elements\Sections\Address::class + + , 'p' => Html\Elements\Grouping\P::class + , 'hr' => Html\Elements\Grouping\Hr::class + , 'pre' => Html\Elements\Grouping\Pre::class + , 'blockquote' => Html\Elements\Grouping\Blockquote::class + , 'ul' => Html\Elements\Grouping\Ul::class + , 'ol' => Html\Elements\Grouping\Ol::class + , 'li' => Html\Elements\Grouping\Li::class + , 'dl' => Html\Elements\Grouping\Dl::class + , 'dt' => Html\Elements\Grouping\Dt::class + , 'dd' => Html\Elements\Grouping\Dd::class + , 'figure' => Html\Elements\Grouping\Figure::class + , 'figcaption' => Html\Elements\Grouping\Figcaption::class + , 'div' => Html\Elements\Grouping\Div::class + , 'main' => Html\Elements\Grouping\Main::class + + , 'span' => Html\Elements\TextLevel\Span::class + , 'a' => Html\Elements\TextLevel\A::class + , 'em' => Html\Elements\TextLevel\Em::class + , 'strong' => Html\Elements\TextLevel\Strong::class + , 'small' => Html\Elements\TextLevel\Small::class + , 's' => Html\Elements\TextLevel\S::class + , 'cite' => Html\Elements\TextLevel\Cite::class + , 'q' => Html\Elements\TextLevel\Q::class + , 'dfn' => Html\Elements\TextLevel\Dfn::class + , 'abbr' => Html\Elements\TextLevel\Abbr::class + , 'data' => Html\Elements\TextLevel\Data::class + , 'time' => Html\Elements\TextLevel\Time::class + , 'code' => Html\Elements\TextLevel\Code::class + , 'var' => Html\Elements\TextLevel\Variable::class + , 'samp' => Html\Elements\TextLevel\Samp::class + , 'kbd' => Html\Elements\TextLevel\Kbd::class + , 'sup' => Html\Elements\TextLevel\Sup::class + , 'sub' => Html\Elements\TextLevel\Sub::class + , 'i' => Html\Elements\TextLevel\I::class + , 'b' => Html\Elements\TextLevel\B::class + , 'u' => Html\Elements\TextLevel\U::class + , 'mark' => Html\Elements\TextLevel\Mark::class + , 'ruby' => Html\Elements\TextLevel\Ruby::class + , 'rb' => Html\Elements\TextLevel\Rb::class + , 'rt' => Html\Elements\TextLevel\Rt::class + , 'rtc' => Html\Elements\TextLevel\Rtc::class + , 'rp' => Html\Elements\TextLevel\Rp::class + , 'bdi' => Html\Elements\TextLevel\Bdi::class + , 'bdo' => Html\Elements\TextLevel\Bdo::class + , 'br' => Html\Elements\TextLevel\Br::class + , 'wbr' => Html\Elements\TextLevel\Wbr::class + + , 'ins' => Html\Elements\Edits\Ins::class + , 'del' => Html\Elements\Edits\Del::class + + , 'img' => Html\Elements\Embedded\Img::class + , 'iframe' => Html\Elements\Embedded\Iframe::class + , 'embed' => Html\Elements\Embedded\Embed::class + , 'object' => Html\Elements\Embedded\Object_::class + , 'video' => Html\Elements\Embedded\Video::class + , 'audio' => Html\Elements\Embedded\Audio::class + , 'area' => Html\Elements\Embedded\Area::class + , 'map' => Html\Elements\Embedded\Map::class + , 'param' => Html\Elements\Embedded\Param::class + , 'source' => Html\Elements\Embedded\Source::class + , 'track' => Html\Elements\Embedded\Track::class + + , 'table' => Html\Elements\Tabular\Table::class + , 'caption' => Html\Elements\Tabular\Caption::class + , 'colgroup' => Html\Elements\Tabular\Colgroup::class + , 'col' => Html\Elements\Tabular\Col::class + , 'thead' => Html\Elements\Tabular\Thead::class + , 'tfoot' => Html\Elements\Tabular\Tfoot::class + , 'tbody' => Html\Elements\Tabular\Tbody::class + , 'tr' => Html\Elements\Tabular\Tr::class + , 'td' => Html\Elements\Tabular\Td::class + , 'th' => Html\Elements\Tabular\Th::class + + , 'form' => Html\Elements\Forms\Form::class + , 'label' => Html\Elements\Forms\Label::class + , 'input' => Html\Elements\Forms\Input::class + , 'button' => Html\Elements\Forms\Button::class + , 'select' => Html\Elements\Forms\Select::class + , 'datalist' => Html\Elements\Forms\Datalist::class + , 'optgroup' => Html\Elements\Forms\Optgroup::class + , 'option' => Html\Elements\Forms\Option::class + , 'textarea' => Html\Elements\Forms\Textarea::class + , 'keygen' => Html\Elements\Forms\Keygen::class + , 'output' => Html\Elements\Forms\Output::class + , 'progress' => Html\Elements\Forms\Progress::class + , 'meter' => Html\Elements\Forms\Meter::class + , 'fieldset' => Html\Elements\Forms\Fieldset::class + , 'legend' => Html\Elements\Forms\Legend::class + + , 'script' => Html\Elements\Scripting\Script::class + , 'noscript' => Html\Elements\Scripting\Noscript::class + , 'template' => Html\Elements\Scripting\Template::class + , 'canvas' => Html\Elements\Scripting\Canvas::class + ]; +} diff --git a/markup-zzArchive/php-markup/src/Html/Data/AriaRoles.php b/markup-zzArchive/php-markup/src/Html/Data/AriaRoles.php new file mode 100644 index 0000000..a1904d7 --- /dev/null +++ b/markup-zzArchive/php-markup/src/Html/Data/AriaRoles.php @@ -0,0 +1,605 @@ +, List of types the server accepts, typically a file type. + * + * @return [type] [description] + */ + static public function accept(): array + { + return ['accept']; + } + + /** + * accept-charset
List of supported charsets. + * + * @return [type] [description] + */ + static public function acceptCharset(): array + { + return ['accept-charset']; + } + + /** + * accesskey Global attribute Defines a keyboard shortcut to activate or add + * focus to the element. + * + * @return [type] [description] + */ + static public function accesskey(): array + { + return ['accesskey']; + } + + /** + * action The URI of a program that processes the information submitted via + * the form. + * + * @return [type] [description] + */ + static public function action(): array + { + return ['action']; + } + + /** + * align , , , ,
,