@tiddh/brave-vue 1.93.242 → 1.93.243
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -19
- package/dist/brave-vue.esm.js +244 -244
- package/dist/brave-vue.min.js +1 -1
- package/dist/brave-vue.ssr.js +73 -73
- package/dist/css/app.fe0bf874.css +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/images/a3-poster-lg.png +0 -0
- package/dist/images/a3-poster-lg@2x.png +0 -0
- package/dist/images/book-cover-overlay.png +0 -0
- package/dist/images/brands/branding.svg +9 -0
- package/dist/images/brands/payment-agiplan.svg +5 -0
- package/dist/images/brands/payment-amex.svg +4 -0
- package/dist/images/brands/payment-boleto.svg +6 -0
- package/dist/images/brands/payment-diners.svg +4 -0
- package/dist/images/brands/payment-elo.svg +11 -0
- package/dist/images/brands/payment-hipercard.svg +11 -0
- package/dist/images/brands/payment-jcb.svg +7 -0
- package/dist/images/brands/payment-mastercard.svg +6 -0
- package/dist/images/brands/payment-pix.svg +4 -0
- package/dist/images/brands/payment-visa.svg +4 -0
- package/dist/images/brands/payment-zcredez.svg +4 -0
- package/dist/images/brands/social-facebook.svg +3 -0
- package/dist/images/brands/social-google.svg +8 -0
- package/dist/images/mochila-biscoito.png +0 -0
- package/dist/images/mochila-biscoito.webp +0 -0
- package/dist/images/mochila-biscoito@2x.png +0 -0
- package/dist/images/mochila-biscoito@2x.webp +0 -0
- package/dist/images/mochila-fofilha.png +0 -0
- package/dist/images/mochila-fofilha.webp +0 -0
- package/dist/images/mochila-fofilha@2x.png +0 -0
- package/dist/images/mochila-fofilha@2x.webp +0 -0
- package/dist/images/placeholder-a4.jpg +0 -0
- package/dist/images/placeholder-load-frame_a3-loading.jpg +0 -0
- package/dist/images/placeholder-poster-loading.jpg +0 -0
- package/dist/images/placeholder-square.jpg +0 -0
- package/dist/images/placeholder-wallpaper-loading.jpg +0 -0
- package/dist/images/product-type-a3-frame-poster@2x.png +0 -0
- package/dist/images/product-type-a3-frame.png +0 -0
- package/dist/images/product-type-a3-frame@2x.png +0 -0
- package/dist/images/product-type-wallpaper-loading-wallpaper@2x.png +0 -0
- package/dist/images/product-type-wallpaper-loading.png +0 -0
- package/dist/images/product-type-wallpaper-placeholder-wallpaper@2x.png +0 -0
- package/dist/images/product-type-wallpaper-wallpaper@2x.png +0 -0
- package/dist/images/wallpaper-preview-lg.png +0 -0
- package/dist/images/wallpaper-preview-lg@2x.jpg +0 -0
- package/dist/images/wallpaper-preview-lg@2x.png +0 -0
- package/dist/images/wallpaper-preview-sm.jpg +0 -0
- package/dist/images/wallpaper-preview-sm.png +0 -0
- package/dist/images/wallpaper-preview-sm@2x.jpg +0 -0
- package/dist/images/wallpaper-preview-sm@2x.png +0 -0
- package/dist/img/logo.82b9c7a5.png +0 -0
- package/dist/index.html +1 -0
- package/dist/js/app.65662155.js +2 -0
- package/dist/js/app.65662155.js.map +1 -0
- package/dist/js/chunk-vendors.79828c5e.js +8 -0
- package/dist/js/chunk-vendors.79828c5e.js.map +1 -0
- package/dist/src/App.vue +28 -28
- package/dist/src/Avatar/Avatar.stories.js +235 -235
- package/dist/src/Avatar/Avatar.vue +490 -490
- package/dist/src/Avatar/elements/CategoryCustomizations.vue +554 -544
- package/dist/src/Avatar/elements/CustomizationPanel.vue +1302 -1292
- package/dist/src/Avatar/elements/CustomizationPreview.vue +180 -175
- package/dist/src/Avatar/elements/CustomizationView.vue +828 -828
- package/dist/src/Avatar/elements/ToggleColor.vue +128 -128
- package/dist/src/Avatar/elements/ToggleSubcategory.vue +154 -154
- package/dist/src/Avatar/elements/scss/avatar-vfx.scss +717 -717
- package/dist/src/Avatar/utils.js +149 -149
- package/dist/src/Avatar.stories.js +235 -235
- package/dist/src/Avatar.vue +490 -490
- package/dist/src/Book/Preview.vue +1296 -1296
- package/dist/src/Book/PreviewBook.vue +532 -532
- package/dist/src/Book/PreviewFull.vue +188 -188
- package/dist/src/Book/PreviewMobile.vue +1271 -1271
- package/dist/src/Book/PreviewTools.vue +3901 -3901
- package/dist/src/Book/css/flipbook.scss +166 -166
- package/dist/src/Book/js/turn.min.js +68 -68
- package/dist/src/Book/js/zoom.min.js +26 -26
- package/dist/src/BottomBar.vue +435 -435
- package/dist/src/Brand.stories.js +275 -275
- package/dist/src/Brand.vue +364 -364
- package/dist/src/Brands/Brand.stories.js +275 -275
- package/dist/src/Brands/Brand.vue +364 -364
- package/dist/src/Breadcrumb.stories.js +82 -82
- package/dist/src/Breadcrumb.vue +206 -206
- package/dist/src/Button.vue +1886 -1886
- package/dist/src/ButtonWithIcon.stories.js +133 -133
- package/dist/src/Buttons/Button.vue +1886 -1886
- package/dist/src/Buttons/ButtonWithIcon.stories.js +133 -133
- package/dist/src/Buttons/Ghost.stories.js +78 -78
- package/dist/src/Buttons/Link.stories.js +77 -77
- package/dist/src/Buttons/Loading.stories.js +107 -107
- package/dist/src/Buttons/Primary.stories.js +79 -79
- package/dist/src/Buttons/ProgressiveLoading.stories.js +94 -94
- package/dist/src/Buttons/Secondary.stories.js +79 -79
- package/dist/src/Caption.stories.js +27 -27
- package/dist/src/Caption.vue +63 -63
- package/dist/src/Card/Card.stories.js +37 -37
- package/dist/src/Card/Card.vue +131 -131
- package/dist/src/Card/CardLink.stories.js +44 -44
- package/dist/src/Card/CardLink.vue +233 -233
- package/dist/src/Card/CardOption.stories.js +47 -47
- package/dist/src/Card/CardOption.vue +274 -274
- package/dist/src/Card/CardProduct.stories.js +133 -133
- package/dist/src/Card/CardProduct.vue +1026 -1026
- package/dist/src/Card/CatalogProduct.stories.js +154 -154
- package/dist/src/Card/CatalogProduct.vue +898 -898
- package/dist/src/Card/CoverProduct.stories.js +134 -134
- package/dist/src/Card/CoverProduct.vue +526 -526
- package/dist/src/Card.stories.js +37 -37
- package/dist/src/Card.vue +131 -131
- package/dist/src/CardLink.stories.js +44 -44
- package/dist/src/CardLink.vue +233 -233
- package/dist/src/CardOption.stories.js +47 -47
- package/dist/src/CardOption.vue +274 -274
- package/dist/src/CardProduct.stories.js +133 -133
- package/dist/src/CardProduct.vue +1026 -1026
- package/dist/src/CatalogProduct.stories.js +154 -154
- package/dist/src/CatalogProduct.vue +898 -898
- package/dist/src/CategoryCustomizations.vue +554 -544
- package/dist/src/Checkbox.stories.js +39 -39
- package/dist/src/Checkbox.vue +205 -205
- package/dist/src/CoverProduct.stories.js +134 -134
- package/dist/src/CoverProduct.vue +526 -526
- package/dist/src/CustomizationPanel.vue +1302 -1292
- package/dist/src/CustomizationPreview.vue +180 -175
- package/dist/src/CustomizationView.vue +828 -828
- package/dist/src/Feedback.vue +320 -320
- package/dist/src/Form/Checkbox.stories.js +39 -39
- package/dist/src/Form/Checkbox.vue +205 -205
- package/dist/src/Form/GenderSelect.stories.js +60 -60
- package/dist/src/Form/GenderSelect.vue +302 -302
- package/dist/src/Form/Input.stories.js +555 -555
- package/dist/src/Form/Input.vue +951 -951
- package/dist/src/Form/InputAddress.vue +700 -700
- package/dist/src/Form/InputAddressBilling.vue +633 -633
- package/dist/src/Form/InputAddressNumber.vue +634 -634
- package/dist/src/Form/InputCardNumber.vue +653 -653
- package/dist/src/Form/InputEdit.vue +235 -235
- package/dist/src/Form/InputEmail.vue +240 -240
- package/dist/src/Form/InputName.vue +352 -352
- package/dist/src/Form/Options.stories.js +94 -94
- package/dist/src/Form/Options.vue +398 -398
- package/dist/src/Form/Picker.stories.js +43 -43
- package/dist/src/Form/PickerBirthday.vue +631 -631
- package/dist/src/Form/Radius.stories.js +49 -49
- package/dist/src/Form/Radius.vue +160 -160
- package/dist/src/Form/Select.stories.js +97 -97
- package/dist/src/Form/Select.vue +404 -404
- package/dist/src/Form/SelectBirthday.vue +419 -419
- package/dist/src/Form/TextArea.stories.js +52 -52
- package/dist/src/Form/TextArea.vue +277 -277
- package/dist/src/GenderSelect.stories.js +60 -60
- package/dist/src/GenderSelect.vue +302 -302
- package/dist/src/Ghost.stories.js +78 -78
- package/dist/src/HR.vue +68 -68
- package/dist/src/Heading.stories.js +34 -34
- package/dist/src/Heading.vue +102 -102
- package/dist/src/HelloWorld.vue +59 -59
- package/dist/src/Icon.stories.js +1155 -1155
- package/dist/src/Icon.vue +364 -364
- package/dist/src/Icons/Icon.stories.js +1155 -1155
- package/dist/src/Icons/Icon.vue +364 -364
- package/dist/src/Images/Images.stories.js +25 -25
- package/dist/src/Images/Images.vue +51 -51
- package/dist/src/Images.stories.js +25 -25
- package/dist/src/Images.vue +51 -51
- package/dist/src/Input.stories.js +555 -555
- package/dist/src/Input.vue +951 -951
- package/dist/src/InputAddress.vue +700 -700
- package/dist/src/InputAddressBilling.vue +633 -633
- package/dist/src/InputAddressNumber.vue +634 -634
- package/dist/src/InputCardNumber.vue +653 -653
- package/dist/src/InputEdit.vue +235 -235
- package/dist/src/InputEmail.vue +240 -240
- package/dist/src/InputName.vue +352 -352
- package/dist/src/Link.stories.js +77 -77
- package/dist/src/Loading/Loading.stories.js +25 -25
- package/dist/src/Loading/Loading.vue +103 -103
- package/dist/src/Loading.stories.js +25 -25
- package/dist/src/Loading.vue +103 -103
- package/dist/src/MenuNavigation.stories.js +87 -87
- package/dist/src/MenuNavigation.vue +227 -227
- package/dist/src/Modal/Modal.stories.js +56 -56
- package/dist/src/Modal/Modal.vue +469 -469
- package/dist/src/Modal/Sidebar.stories.js +64 -64
- package/dist/src/Modal/Sidebar.vue +649 -649
- package/dist/src/Modal.stories.js +56 -56
- package/dist/src/Modal.vue +469 -469
- package/dist/src/Navigation/Breadcrumb.stories.js +82 -82
- package/dist/src/Navigation/Breadcrumb.vue +206 -206
- package/dist/src/Navigation/MenuNavigation.stories.js +87 -87
- package/dist/src/Navigation/MenuNavigation.vue +227 -227
- package/dist/src/Navigation/Stepper.stories.js +82 -82
- package/dist/src/Navigation/Stepper.vue +222 -222
- package/dist/src/Navigation/Tabs.stories.js +124 -124
- package/dist/src/Navigation/Tabs.vue +192 -192
- package/dist/src/Navigation/TabsLine.vue +407 -407
- package/dist/src/Navigation/TopBar.stories.js +217 -217
- package/dist/src/Navigation/TopBar.vue +370 -370
- package/dist/src/Options.stories.js +94 -94
- package/dist/src/Options.vue +398 -398
- package/dist/src/Paragraph.stories.js +33 -33
- package/dist/src/Paragraph.vue +85 -85
- package/dist/src/Picker.stories.js +43 -43
- package/dist/src/PickerBirthday.vue +631 -631
- package/dist/src/Poster/PreviewPoster.vue +729 -729
- package/dist/src/Preview/Book/Preview.vue +1296 -1296
- package/dist/src/Preview/Book/PreviewBook.vue +532 -532
- package/dist/src/Preview/Book/PreviewFull.vue +188 -188
- package/dist/src/Preview/Book/PreviewMobile.vue +1271 -1271
- package/dist/src/Preview/Book/PreviewTools.vue +3901 -3901
- package/dist/src/Preview/Book/css/flipbook.scss +166 -166
- package/dist/src/Preview/Book/js/turn.min.js +68 -68
- package/dist/src/Preview/Book/js/zoom.min.js +26 -26
- package/dist/src/Preview/BottomBar.vue +435 -435
- package/dist/src/Preview/Poster/PreviewPoster.vue +729 -729
- package/dist/src/Preview/Preview.stories.js +781 -781
- package/dist/src/Preview/Preview.vue +601 -601
- package/dist/src/Preview/PreviewStories_bkp.js +588 -588
- package/dist/src/Preview/Wallpaper/PreviewWallpaper.vue +718 -718
- package/dist/src/Preview.stories.js +781 -781
- package/dist/src/Preview.vue +1296 -1296
- package/dist/src/PreviewBook.vue +532 -532
- package/dist/src/PreviewFull.vue +188 -188
- package/dist/src/PreviewMobile.vue +1271 -1271
- package/dist/src/PreviewPoster.vue +729 -729
- package/dist/src/PreviewStories_bkp.js +588 -588
- package/dist/src/PreviewTools.vue +3901 -3901
- package/dist/src/PreviewWallpaper.vue +718 -718
- package/dist/src/Primary.stories.js +79 -79
- package/dist/src/ProgressiveLoading.stories.js +94 -94
- package/dist/src/Radius.stories.js +49 -49
- package/dist/src/Radius.vue +160 -160
- package/dist/src/Secondary.stories.js +79 -79
- package/dist/src/Select.stories.js +97 -97
- package/dist/src/Select.vue +404 -404
- package/dist/src/SelectBirthday.vue +419 -419
- package/dist/src/Sidebar.stories.js +64 -64
- package/dist/src/Sidebar.vue +649 -649
- package/dist/src/Spinner.vue +89 -89
- package/dist/src/Stepper.stories.js +82 -82
- package/dist/src/Stepper.vue +222 -222
- package/dist/src/Tabs.stories.js +124 -124
- package/dist/src/Tabs.vue +192 -192
- package/dist/src/TabsLine.vue +407 -407
- package/dist/src/TextArea.stories.js +52 -52
- package/dist/src/TextArea.vue +277 -277
- package/dist/src/ToggleColor.vue +128 -128
- package/dist/src/ToggleSubcategory.vue +154 -154
- package/dist/src/Tooltip/Tooltip.stories.js +51 -51
- package/dist/src/Tooltip/Tooltip.vue +185 -185
- package/dist/src/Tooltip.stories.js +51 -51
- package/dist/src/Tooltip.vue +185 -185
- package/dist/src/TopBar.stories.js +217 -217
- package/dist/src/TopBar.vue +370 -370
- package/dist/src/Typography/Caption.stories.js +27 -27
- package/dist/src/Typography/Caption.vue +63 -63
- package/dist/src/Typography/Heading.stories.js +34 -34
- package/dist/src/Typography/Heading.vue +102 -102
- package/dist/src/Typography/Paragraph.stories.js +33 -33
- package/dist/src/Typography/Paragraph.vue +85 -85
- package/dist/src/Utils/Feedback.vue +320 -320
- package/dist/src/Utils/HR.vue +68 -68
- package/dist/src/Utils/Spinner.vue +89 -89
- package/dist/src/Utils/feedback.stories.js +44 -44
- package/dist/src/Utils/hr-primary.stories.js +37 -37
- package/dist/src/Utils/spinner.stories.js +23 -23
- package/dist/src/Wallpaper/PreviewWallpaper.vue +718 -718
- package/dist/src/avatar-vfx.scss +717 -717
- package/dist/src/components/Avatar/Avatar.stories.js +235 -235
- package/dist/src/components/Avatar/Avatar.vue +490 -490
- package/dist/src/components/Avatar/elements/CategoryCustomizations.vue +554 -544
- package/dist/src/components/Avatar/elements/CustomizationPanel.vue +1302 -1292
- package/dist/src/components/Avatar/elements/CustomizationPreview.vue +180 -175
- package/dist/src/components/Avatar/elements/CustomizationView.vue +828 -828
- package/dist/src/components/Avatar/elements/ToggleColor.vue +128 -128
- package/dist/src/components/Avatar/elements/ToggleSubcategory.vue +154 -154
- package/dist/src/components/Avatar/elements/scss/avatar-vfx.scss +717 -717
- package/dist/src/components/Avatar/utils.js +149 -149
- package/dist/src/components/Brands/Brand.stories.js +275 -275
- package/dist/src/components/Brands/Brand.vue +364 -364
- package/dist/src/components/Buttons/Button.vue +1886 -1886
- package/dist/src/components/Buttons/ButtonWithIcon.stories.js +133 -133
- package/dist/src/components/Buttons/Ghost.stories.js +78 -78
- package/dist/src/components/Buttons/Link.stories.js +77 -77
- package/dist/src/components/Buttons/Loading.stories.js +107 -107
- package/dist/src/components/Buttons/Primary.stories.js +79 -79
- package/dist/src/components/Buttons/ProgressiveLoading.stories.js +94 -94
- package/dist/src/components/Buttons/Secondary.stories.js +79 -79
- package/dist/src/components/Card/Card.stories.js +37 -37
- package/dist/src/components/Card/Card.vue +131 -131
- package/dist/src/components/Card/CardLink.stories.js +44 -44
- package/dist/src/components/Card/CardLink.vue +233 -233
- package/dist/src/components/Card/CardOption.stories.js +47 -47
- package/dist/src/components/Card/CardOption.vue +274 -274
- package/dist/src/components/Card/CardProduct.stories.js +133 -133
- package/dist/src/components/Card/CardProduct.vue +1026 -1026
- package/dist/src/components/Card/CatalogProduct.stories.js +154 -154
- package/dist/src/components/Card/CatalogProduct.vue +898 -898
- package/dist/src/components/Card/CoverProduct.stories.js +134 -134
- package/dist/src/components/Card/CoverProduct.vue +526 -526
- package/dist/src/components/Form/Checkbox.stories.js +39 -39
- package/dist/src/components/Form/Checkbox.vue +205 -205
- package/dist/src/components/Form/GenderSelect.stories.js +60 -60
- package/dist/src/components/Form/GenderSelect.vue +302 -302
- package/dist/src/components/Form/Input.stories.js +555 -555
- package/dist/src/components/Form/Input.vue +951 -951
- package/dist/src/components/Form/InputAddress.vue +700 -700
- package/dist/src/components/Form/InputAddressBilling.vue +633 -633
- package/dist/src/components/Form/InputAddressNumber.vue +634 -634
- package/dist/src/components/Form/InputCardNumber.vue +653 -653
- package/dist/src/components/Form/InputEdit.vue +235 -235
- package/dist/src/components/Form/InputEmail.vue +240 -240
- package/dist/src/components/Form/InputName.vue +352 -352
- package/dist/src/components/Form/Options.stories.js +94 -94
- package/dist/src/components/Form/Options.vue +398 -398
- package/dist/src/components/Form/Picker.stories.js +43 -43
- package/dist/src/components/Form/PickerBirthday.vue +631 -631
- package/dist/src/components/Form/Radius.stories.js +49 -49
- package/dist/src/components/Form/Radius.vue +160 -160
- package/dist/src/components/Form/Select.stories.js +97 -97
- package/dist/src/components/Form/Select.vue +404 -404
- package/dist/src/components/Form/SelectBirthday.vue +419 -419
- package/dist/src/components/Form/TextArea.stories.js +52 -52
- package/dist/src/components/Form/TextArea.vue +277 -277
- package/dist/src/components/HelloWorld.vue +59 -59
- package/dist/src/components/Icons/Icon.stories.js +1155 -1155
- package/dist/src/components/Icons/Icon.vue +364 -364
- package/dist/src/components/Images/Images.stories.js +25 -25
- package/dist/src/components/Images/Images.vue +51 -51
- package/dist/src/components/Loading/Loading.stories.js +25 -25
- package/dist/src/components/Loading/Loading.vue +103 -103
- package/dist/src/components/Modal/Modal.stories.js +56 -56
- package/dist/src/components/Modal/Modal.vue +469 -469
- package/dist/src/components/Modal/Sidebar.stories.js +64 -64
- package/dist/src/components/Modal/Sidebar.vue +649 -649
- package/dist/src/components/Navigation/Breadcrumb.stories.js +82 -82
- package/dist/src/components/Navigation/Breadcrumb.vue +206 -206
- package/dist/src/components/Navigation/MenuNavigation.stories.js +87 -87
- package/dist/src/components/Navigation/MenuNavigation.vue +227 -227
- package/dist/src/components/Navigation/Stepper.stories.js +82 -82
- package/dist/src/components/Navigation/Stepper.vue +222 -222
- package/dist/src/components/Navigation/Tabs.stories.js +124 -124
- package/dist/src/components/Navigation/Tabs.vue +192 -192
- package/dist/src/components/Navigation/TabsLine.vue +407 -407
- package/dist/src/components/Navigation/TopBar.stories.js +217 -217
- package/dist/src/components/Navigation/TopBar.vue +370 -370
- package/dist/src/components/Preview/Book/Preview.vue +1296 -1296
- package/dist/src/components/Preview/Book/PreviewBook.vue +532 -532
- package/dist/src/components/Preview/Book/PreviewFull.vue +188 -188
- package/dist/src/components/Preview/Book/PreviewMobile.vue +1271 -1271
- package/dist/src/components/Preview/Book/PreviewTools.vue +3901 -3901
- package/dist/src/components/Preview/Book/css/flipbook.scss +166 -166
- package/dist/src/components/Preview/Book/js/turn.min.js +68 -68
- package/dist/src/components/Preview/Book/js/zoom.min.js +26 -26
- package/dist/src/components/Preview/BottomBar.vue +435 -435
- package/dist/src/components/Preview/Poster/PreviewPoster.vue +729 -729
- package/dist/src/components/Preview/Preview.stories.js +781 -781
- package/dist/src/components/Preview/Preview.vue +601 -601
- package/dist/src/components/Preview/PreviewStories_bkp.js +588 -588
- package/dist/src/components/Preview/Wallpaper/PreviewWallpaper.vue +718 -718
- package/dist/src/components/Tooltip/Tooltip.stories.js +51 -51
- package/dist/src/components/Tooltip/Tooltip.vue +185 -185
- package/dist/src/components/Typography/Caption.stories.js +27 -27
- package/dist/src/components/Typography/Caption.vue +63 -63
- package/dist/src/components/Typography/Heading.stories.js +34 -34
- package/dist/src/components/Typography/Heading.vue +102 -102
- package/dist/src/components/Typography/Paragraph.stories.js +33 -33
- package/dist/src/components/Typography/Paragraph.vue +85 -85
- package/dist/src/components/Utils/Feedback.vue +320 -320
- package/dist/src/components/Utils/HR.vue +68 -68
- package/dist/src/components/Utils/Spinner.vue +89 -89
- package/dist/src/components/Utils/feedback.stories.js +44 -44
- package/dist/src/components/Utils/hr-primary.stories.js +37 -37
- package/dist/src/components/Utils/spinner.stories.js +23 -23
- package/dist/src/components/index.js +41 -41
- package/dist/src/components/locale/language.json +317 -317
- package/dist/src/css/flipbook.scss +166 -166
- package/dist/src/elements/CategoryCustomizations.vue +554 -544
- package/dist/src/elements/CustomizationPanel.vue +1302 -1292
- package/dist/src/elements/CustomizationPreview.vue +180 -175
- package/dist/src/elements/CustomizationView.vue +828 -828
- package/dist/src/elements/ToggleColor.vue +128 -128
- package/dist/src/elements/ToggleSubcategory.vue +154 -154
- package/dist/src/elements/scss/avatar-vfx.scss +717 -717
- package/dist/src/entry.js +36 -36
- package/dist/src/feedback.stories.js +44 -44
- package/dist/src/flipbook.scss +166 -166
- package/dist/src/hr-primary.stories.js +37 -37
- package/dist/src/index.js +41 -41
- package/dist/src/js/turn.min.js +68 -68
- package/dist/src/js/zoom.min.js +26 -26
- package/dist/src/language.json +317 -317
- package/dist/src/locale/language.json +317 -317
- package/dist/src/main.js +8 -8
- package/dist/src/scss/avatar-vfx.scss +717 -717
- package/dist/src/serve-dev.js +8 -8
- package/dist/src/serve-dev.vue +17 -17
- package/dist/src/spinner.stories.js +23 -23
- package/dist/src/styles/styles.scss +9 -9
- package/dist/src/styles.scss +9 -9
- package/dist/src/turn.min.js +68 -68
- package/dist/src/utils.js +149 -149
- package/dist/src/wrapper.js +69 -69
- package/dist/src/zoom.min.js +26 -26
- package/package.json +120 -119
|
@@ -1,133 +1,133 @@
|
|
|
1
|
-
import { action } from "@storybook/addon-actions";
|
|
2
|
-
import { linkTo } from "@storybook/addon-links";
|
|
3
|
-
import { withKnobs, text, boolean, select } from "@storybook/addon-knobs";
|
|
4
|
-
|
|
5
|
-
import Button from "./Button";
|
|
6
|
-
import Icon from "../Icons/Icon";
|
|
7
|
-
|
|
8
|
-
export default {
|
|
9
|
-
title: "Buttons/ButtonWithIcon",
|
|
10
|
-
decorators: [withKnobs],
|
|
11
|
-
component: [Button, Icon],
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
const sizeList = {
|
|
15
|
-
XLarge: "xl",
|
|
16
|
-
Large: "lg",
|
|
17
|
-
Medium: "md",
|
|
18
|
-
Small: "sm",
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export const ButtonWithIcon = () => ({
|
|
22
|
-
components: { Button, Icon },
|
|
23
|
-
props: {
|
|
24
|
-
sizes: {
|
|
25
|
-
default: select("Size", sizeList, "md"),
|
|
26
|
-
},
|
|
27
|
-
disabled: {
|
|
28
|
-
default: boolean("Disabled", false),
|
|
29
|
-
},
|
|
30
|
-
inverted: {
|
|
31
|
-
default: boolean("Inverted", false),
|
|
32
|
-
},
|
|
33
|
-
icon: {
|
|
34
|
-
default: text("Icon", "left"),
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
template: `<div :style="inverted ? 'background: #E5F1FB' : null">
|
|
38
|
-
<div class="storybook-6">
|
|
39
|
-
<Button kind="ghost" :size="sizes" :icon="icon" width="fluid" :disabled="disabled" :inverted="inverted"@click="action">
|
|
40
|
-
<Icon name="check" stroke="transparent" size="md" />
|
|
41
|
-
<span>Fluid - Cols 6 </span>
|
|
42
|
-
</Button>
|
|
43
|
-
</div>
|
|
44
|
-
<br>
|
|
45
|
-
<div class="storybook-12">
|
|
46
|
-
<Button kind="ghost" :size="sizes" :icon="icon" width="fluid" :disabled="disabled" :inverted="inverted"@click="action">
|
|
47
|
-
<Icon name="collapse" size="md" stroke="transparent" size="md" />
|
|
48
|
-
<span>Fluid - Cols 12 </span>
|
|
49
|
-
</Button>
|
|
50
|
-
</div>
|
|
51
|
-
<br>
|
|
52
|
-
<div class="storybook-25">
|
|
53
|
-
<Button kind="ghost" :size="sizes" :icon="icon" width="fluid" :disabled="disabled" :inverted="inverted"@click="action">
|
|
54
|
-
<Icon name="collapse" size="md" stroke="transparent" size="md" />
|
|
55
|
-
<span>Fluid - Cols 25 </span>
|
|
56
|
-
</Button>
|
|
57
|
-
</div>
|
|
58
|
-
<br>
|
|
59
|
-
|
|
60
|
-
<div class="storybook-6">
|
|
61
|
-
<Button kind="ghost" :size="sizes" icon="right" width="fluid" :disabled="disabled" :inverted="inverted"@click="action">
|
|
62
|
-
<span>Fluid - Cols 6 </span>
|
|
63
|
-
<Icon name="collapse" size="md" stroke="transparent" size="md" />
|
|
64
|
-
</Button>
|
|
65
|
-
</div>
|
|
66
|
-
<br>
|
|
67
|
-
<div class="storybook-12">
|
|
68
|
-
<Button kind="ghost" :size="sizes" icon="right" width="fluid" :disabled="disabled" :inverted="inverted"@click="action">
|
|
69
|
-
<span>Fluid - Cols 12 </span>
|
|
70
|
-
<Icon name="collapse" size="md" stroke="transparent" size="md" />
|
|
71
|
-
</Button>
|
|
72
|
-
</div>
|
|
73
|
-
<br>
|
|
74
|
-
<div class="storybook-25">
|
|
75
|
-
<Button kind="ghost" :size="sizes" icon="right" width="fluid" :disabled="disabled" :inverted="inverted"@click="action">
|
|
76
|
-
<span>Fluid - Cols 25 </span>
|
|
77
|
-
<Icon name="collapse" stroke="transparent" size="md" />
|
|
78
|
-
</Button>
|
|
79
|
-
</div>
|
|
80
|
-
<br>
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
<div>
|
|
84
|
-
<Button kind="ghost" :size="sizes" :icon="icon" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
85
|
-
<Icon name="collapse" stroke="transparent" size="md" />
|
|
86
|
-
<span>Liquid - CANCELAR</span>
|
|
87
|
-
</Button>
|
|
88
|
-
</div>
|
|
89
|
-
<br>
|
|
90
|
-
<div>
|
|
91
|
-
<Button kind="ghost" :size="sizes" :icon="icon" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
92
|
-
<Icon name="collapse" stroke="transparent" size="md" />
|
|
93
|
-
<span>Liquid - ESCOLHA O GENERO</span>
|
|
94
|
-
</Button>
|
|
95
|
-
</div>
|
|
96
|
-
<br>
|
|
97
|
-
<div>
|
|
98
|
-
<Button kind="ghost" :size="sizes" :icon="icon" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
99
|
-
<Icon name="collapse" stroke="transparent" size="md" />
|
|
100
|
-
<span>Liquid - ESCREVA O SEU DA SUA CRIANÇA</span>
|
|
101
|
-
</Button>
|
|
102
|
-
</div>
|
|
103
|
-
<br>
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
<div>
|
|
107
|
-
<Button kind="ghost" :size="sizes" icon="right" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
108
|
-
<span>Liquid - CANCELAR</span>
|
|
109
|
-
<Icon name="collapse" stroke="transparent" size="md" />
|
|
110
|
-
</Button>
|
|
111
|
-
</div>
|
|
112
|
-
<br>
|
|
113
|
-
<div>
|
|
114
|
-
<Button kind="ghost" :size="sizes" icon="right" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
115
|
-
<span>Liquid - ESCOLHA O GENERO</span>
|
|
116
|
-
<Icon name="collapse" stroke="transparent" size="md" />
|
|
117
|
-
</Button>
|
|
118
|
-
</div>
|
|
119
|
-
<br>
|
|
120
|
-
<div>
|
|
121
|
-
<Button kind="ghost" :size="sizes" icon="left" width="fluid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
122
|
-
<span>Fluid - ESCREVA O SEU DA SUA</span>
|
|
123
|
-
<Icon name="collapse" stroke="transparent" size="md" />
|
|
124
|
-
</Button>
|
|
125
|
-
</div>
|
|
126
|
-
<br>
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
</div>
|
|
131
|
-
</div>`,
|
|
132
|
-
methods: { action: action("clicked") },
|
|
133
|
-
});
|
|
1
|
+
import { action } from "@storybook/addon-actions";
|
|
2
|
+
import { linkTo } from "@storybook/addon-links";
|
|
3
|
+
import { withKnobs, text, boolean, select } from "@storybook/addon-knobs";
|
|
4
|
+
|
|
5
|
+
import Button from "./Button";
|
|
6
|
+
import Icon from "../Icons/Icon";
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
title: "Buttons/ButtonWithIcon",
|
|
10
|
+
decorators: [withKnobs],
|
|
11
|
+
component: [Button, Icon],
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const sizeList = {
|
|
15
|
+
XLarge: "xl",
|
|
16
|
+
Large: "lg",
|
|
17
|
+
Medium: "md",
|
|
18
|
+
Small: "sm",
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export const ButtonWithIcon = () => ({
|
|
22
|
+
components: { Button, Icon },
|
|
23
|
+
props: {
|
|
24
|
+
sizes: {
|
|
25
|
+
default: select("Size", sizeList, "md"),
|
|
26
|
+
},
|
|
27
|
+
disabled: {
|
|
28
|
+
default: boolean("Disabled", false),
|
|
29
|
+
},
|
|
30
|
+
inverted: {
|
|
31
|
+
default: boolean("Inverted", false),
|
|
32
|
+
},
|
|
33
|
+
icon: {
|
|
34
|
+
default: text("Icon", "left"),
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
template: `<div :style="inverted ? 'background: #E5F1FB' : null">
|
|
38
|
+
<div class="storybook-6">
|
|
39
|
+
<Button kind="ghost" :size="sizes" :icon="icon" width="fluid" :disabled="disabled" :inverted="inverted"@click="action">
|
|
40
|
+
<Icon name="check" stroke="transparent" size="md" />
|
|
41
|
+
<span>Fluid - Cols 6 </span>
|
|
42
|
+
</Button>
|
|
43
|
+
</div>
|
|
44
|
+
<br>
|
|
45
|
+
<div class="storybook-12">
|
|
46
|
+
<Button kind="ghost" :size="sizes" :icon="icon" width="fluid" :disabled="disabled" :inverted="inverted"@click="action">
|
|
47
|
+
<Icon name="collapse" size="md" stroke="transparent" size="md" />
|
|
48
|
+
<span>Fluid - Cols 12 </span>
|
|
49
|
+
</Button>
|
|
50
|
+
</div>
|
|
51
|
+
<br>
|
|
52
|
+
<div class="storybook-25">
|
|
53
|
+
<Button kind="ghost" :size="sizes" :icon="icon" width="fluid" :disabled="disabled" :inverted="inverted"@click="action">
|
|
54
|
+
<Icon name="collapse" size="md" stroke="transparent" size="md" />
|
|
55
|
+
<span>Fluid - Cols 25 </span>
|
|
56
|
+
</Button>
|
|
57
|
+
</div>
|
|
58
|
+
<br>
|
|
59
|
+
|
|
60
|
+
<div class="storybook-6">
|
|
61
|
+
<Button kind="ghost" :size="sizes" icon="right" width="fluid" :disabled="disabled" :inverted="inverted"@click="action">
|
|
62
|
+
<span>Fluid - Cols 6 </span>
|
|
63
|
+
<Icon name="collapse" size="md" stroke="transparent" size="md" />
|
|
64
|
+
</Button>
|
|
65
|
+
</div>
|
|
66
|
+
<br>
|
|
67
|
+
<div class="storybook-12">
|
|
68
|
+
<Button kind="ghost" :size="sizes" icon="right" width="fluid" :disabled="disabled" :inverted="inverted"@click="action">
|
|
69
|
+
<span>Fluid - Cols 12 </span>
|
|
70
|
+
<Icon name="collapse" size="md" stroke="transparent" size="md" />
|
|
71
|
+
</Button>
|
|
72
|
+
</div>
|
|
73
|
+
<br>
|
|
74
|
+
<div class="storybook-25">
|
|
75
|
+
<Button kind="ghost" :size="sizes" icon="right" width="fluid" :disabled="disabled" :inverted="inverted"@click="action">
|
|
76
|
+
<span>Fluid - Cols 25 </span>
|
|
77
|
+
<Icon name="collapse" stroke="transparent" size="md" />
|
|
78
|
+
</Button>
|
|
79
|
+
</div>
|
|
80
|
+
<br>
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
<div>
|
|
84
|
+
<Button kind="ghost" :size="sizes" :icon="icon" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
85
|
+
<Icon name="collapse" stroke="transparent" size="md" />
|
|
86
|
+
<span>Liquid - CANCELAR</span>
|
|
87
|
+
</Button>
|
|
88
|
+
</div>
|
|
89
|
+
<br>
|
|
90
|
+
<div>
|
|
91
|
+
<Button kind="ghost" :size="sizes" :icon="icon" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
92
|
+
<Icon name="collapse" stroke="transparent" size="md" />
|
|
93
|
+
<span>Liquid - ESCOLHA O GENERO</span>
|
|
94
|
+
</Button>
|
|
95
|
+
</div>
|
|
96
|
+
<br>
|
|
97
|
+
<div>
|
|
98
|
+
<Button kind="ghost" :size="sizes" :icon="icon" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
99
|
+
<Icon name="collapse" stroke="transparent" size="md" />
|
|
100
|
+
<span>Liquid - ESCREVA O SEU DA SUA CRIANÇA</span>
|
|
101
|
+
</Button>
|
|
102
|
+
</div>
|
|
103
|
+
<br>
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
<div>
|
|
107
|
+
<Button kind="ghost" :size="sizes" icon="right" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
108
|
+
<span>Liquid - CANCELAR</span>
|
|
109
|
+
<Icon name="collapse" stroke="transparent" size="md" />
|
|
110
|
+
</Button>
|
|
111
|
+
</div>
|
|
112
|
+
<br>
|
|
113
|
+
<div>
|
|
114
|
+
<Button kind="ghost" :size="sizes" icon="right" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
115
|
+
<span>Liquid - ESCOLHA O GENERO</span>
|
|
116
|
+
<Icon name="collapse" stroke="transparent" size="md" />
|
|
117
|
+
</Button>
|
|
118
|
+
</div>
|
|
119
|
+
<br>
|
|
120
|
+
<div>
|
|
121
|
+
<Button kind="ghost" :size="sizes" icon="left" width="fluid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
122
|
+
<span>Fluid - ESCREVA O SEU DA SUA</span>
|
|
123
|
+
<Icon name="collapse" stroke="transparent" size="md" />
|
|
124
|
+
</Button>
|
|
125
|
+
</div>
|
|
126
|
+
<br>
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
</div>
|
|
131
|
+
</div>`,
|
|
132
|
+
methods: { action: action("clicked") },
|
|
133
|
+
});
|
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
import { action } from "@storybook/addon-actions";
|
|
2
|
-
import { linkTo } from "@storybook/addon-links";
|
|
3
|
-
import { withKnobs, text, boolean, select } from "@storybook/addon-knobs";
|
|
4
|
-
|
|
5
|
-
import Button from "./Button";
|
|
6
|
-
import Icon from "../Icons/Icon";
|
|
7
|
-
|
|
8
|
-
export default {
|
|
9
|
-
title: "Buttons/Ghost",
|
|
10
|
-
decorators: [withKnobs],
|
|
11
|
-
component: Button,
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
const sizeList = {
|
|
15
|
-
XLarge: "xl",
|
|
16
|
-
Large: "lg",
|
|
17
|
-
Medium: "md",
|
|
18
|
-
Small: "sm",
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export const Ghost = () => ({
|
|
22
|
-
components: { Button, Icon },
|
|
23
|
-
props: {
|
|
24
|
-
sizes: {
|
|
25
|
-
default: select("Size", sizeList, "md"),
|
|
26
|
-
},
|
|
27
|
-
disabled: {
|
|
28
|
-
default: boolean("Disabled", false),
|
|
29
|
-
},
|
|
30
|
-
inverted: {
|
|
31
|
-
default: boolean("Inverted", false),
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
template: `<div style="background: #E5F1FB">
|
|
35
|
-
<div class="storybook-6">
|
|
36
|
-
<Button kind="ghost" :size="sizes" width="fluid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
37
|
-
Fluid - Cols 6
|
|
38
|
-
</Button>
|
|
39
|
-
</div>
|
|
40
|
-
<br>
|
|
41
|
-
<div class="storybook-12">
|
|
42
|
-
<Button kind="ghost" :size="sizes" width="fluid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
43
|
-
Fluid - Cols 12
|
|
44
|
-
</Button>
|
|
45
|
-
</div>
|
|
46
|
-
<br>
|
|
47
|
-
<div class="storybook-25">
|
|
48
|
-
<Button kind="ghost" :size="sizes" width="fluid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
49
|
-
Fluid - Cols 25
|
|
50
|
-
</Button>
|
|
51
|
-
</div>
|
|
52
|
-
<br>
|
|
53
|
-
<div>
|
|
54
|
-
<Button kind="ghost" :size="sizes" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
55
|
-
Liquid - CANCELAR
|
|
56
|
-
</Button>
|
|
57
|
-
</div>
|
|
58
|
-
<br>
|
|
59
|
-
<div>
|
|
60
|
-
<Button kind="ghost" :size="sizes" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
61
|
-
Liquid - ESCOLHA O GENERO
|
|
62
|
-
</Button>
|
|
63
|
-
</div>
|
|
64
|
-
<br>
|
|
65
|
-
<div>
|
|
66
|
-
<Button kind="ghost" :size="sizes" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
67
|
-
Liquid - ESCREVA O SEU DA SUA CRIANÇA
|
|
68
|
-
</Button>
|
|
69
|
-
</div>
|
|
70
|
-
<br>
|
|
71
|
-
<div>
|
|
72
|
-
<Button kind="ghost" :size="sizes" width="circle" :disabled="disabled" :inverted="inverted" @click="action">
|
|
73
|
-
<Icon name="chevron-right" fill="#000" stroke="transparent" size="md" />
|
|
74
|
-
</Button>
|
|
75
|
-
</div>
|
|
76
|
-
</div>`,
|
|
77
|
-
methods: { action: action("clicked") },
|
|
78
|
-
});
|
|
1
|
+
import { action } from "@storybook/addon-actions";
|
|
2
|
+
import { linkTo } from "@storybook/addon-links";
|
|
3
|
+
import { withKnobs, text, boolean, select } from "@storybook/addon-knobs";
|
|
4
|
+
|
|
5
|
+
import Button from "./Button";
|
|
6
|
+
import Icon from "../Icons/Icon";
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
title: "Buttons/Ghost",
|
|
10
|
+
decorators: [withKnobs],
|
|
11
|
+
component: Button,
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const sizeList = {
|
|
15
|
+
XLarge: "xl",
|
|
16
|
+
Large: "lg",
|
|
17
|
+
Medium: "md",
|
|
18
|
+
Small: "sm",
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export const Ghost = () => ({
|
|
22
|
+
components: { Button, Icon },
|
|
23
|
+
props: {
|
|
24
|
+
sizes: {
|
|
25
|
+
default: select("Size", sizeList, "md"),
|
|
26
|
+
},
|
|
27
|
+
disabled: {
|
|
28
|
+
default: boolean("Disabled", false),
|
|
29
|
+
},
|
|
30
|
+
inverted: {
|
|
31
|
+
default: boolean("Inverted", false),
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
template: `<div style="background: #E5F1FB">
|
|
35
|
+
<div class="storybook-6">
|
|
36
|
+
<Button kind="ghost" :size="sizes" width="fluid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
37
|
+
Fluid - Cols 6
|
|
38
|
+
</Button>
|
|
39
|
+
</div>
|
|
40
|
+
<br>
|
|
41
|
+
<div class="storybook-12">
|
|
42
|
+
<Button kind="ghost" :size="sizes" width="fluid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
43
|
+
Fluid - Cols 12
|
|
44
|
+
</Button>
|
|
45
|
+
</div>
|
|
46
|
+
<br>
|
|
47
|
+
<div class="storybook-25">
|
|
48
|
+
<Button kind="ghost" :size="sizes" width="fluid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
49
|
+
Fluid - Cols 25
|
|
50
|
+
</Button>
|
|
51
|
+
</div>
|
|
52
|
+
<br>
|
|
53
|
+
<div>
|
|
54
|
+
<Button kind="ghost" :size="sizes" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
55
|
+
Liquid - CANCELAR
|
|
56
|
+
</Button>
|
|
57
|
+
</div>
|
|
58
|
+
<br>
|
|
59
|
+
<div>
|
|
60
|
+
<Button kind="ghost" :size="sizes" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
61
|
+
Liquid - ESCOLHA O GENERO
|
|
62
|
+
</Button>
|
|
63
|
+
</div>
|
|
64
|
+
<br>
|
|
65
|
+
<div>
|
|
66
|
+
<Button kind="ghost" :size="sizes" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
67
|
+
Liquid - ESCREVA O SEU DA SUA CRIANÇA
|
|
68
|
+
</Button>
|
|
69
|
+
</div>
|
|
70
|
+
<br>
|
|
71
|
+
<div>
|
|
72
|
+
<Button kind="ghost" :size="sizes" width="circle" :disabled="disabled" :inverted="inverted" @click="action">
|
|
73
|
+
<Icon name="chevron-right" fill="#000" stroke="transparent" size="md" />
|
|
74
|
+
</Button>
|
|
75
|
+
</div>
|
|
76
|
+
</div>`,
|
|
77
|
+
methods: { action: action("clicked") },
|
|
78
|
+
});
|
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
import { action } from "@storybook/addon-actions";
|
|
2
|
-
import { linkTo } from "@storybook/addon-links";
|
|
3
|
-
import { withKnobs, text, boolean, select } from "@storybook/addon-knobs";
|
|
4
|
-
|
|
5
|
-
import Button from "./Button";
|
|
6
|
-
|
|
7
|
-
export default {
|
|
8
|
-
title: "Buttons/Link",
|
|
9
|
-
decorators: [withKnobs],
|
|
10
|
-
component: Button,
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
const sizeList = {
|
|
14
|
-
XLarge: "xl",
|
|
15
|
-
Large: "lg",
|
|
16
|
-
Medium: "md",
|
|
17
|
-
Small: "sm",
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export const Link = () => ({
|
|
21
|
-
components: { Button },
|
|
22
|
-
props: {
|
|
23
|
-
sizes: {
|
|
24
|
-
default: select("Size", sizeList, "md"),
|
|
25
|
-
},
|
|
26
|
-
disabled: {
|
|
27
|
-
default: boolean("Disabled", false),
|
|
28
|
-
},
|
|
29
|
-
inverted: {
|
|
30
|
-
default: boolean("Inverted", false),
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
template: `<div style="background: #E5F1FB">
|
|
34
|
-
<div class="storybook-6">
|
|
35
|
-
<Button kind="link" :size="sizes" width="fluid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
36
|
-
Fluid - Cols 6
|
|
37
|
-
</Button>
|
|
38
|
-
</div>
|
|
39
|
-
<br>
|
|
40
|
-
<div class="storybook-12">
|
|
41
|
-
<Button kind="link" :size="sizes" width="fluid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
42
|
-
Fluid - Cols 12
|
|
43
|
-
</Button>
|
|
44
|
-
</div>
|
|
45
|
-
<br>
|
|
46
|
-
<div class="storybook-25">
|
|
47
|
-
<Button kind="link" :size="sizes" width="fluid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
48
|
-
Fluid - Cols 25
|
|
49
|
-
</Button>
|
|
50
|
-
</div>
|
|
51
|
-
<br>
|
|
52
|
-
<div>
|
|
53
|
-
<Button kind="link" :size="sizes" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
54
|
-
Liquid - CANCELAR
|
|
55
|
-
</Button>
|
|
56
|
-
</div>
|
|
57
|
-
<br>
|
|
58
|
-
<div>
|
|
59
|
-
<Button kind="link" :size="sizes" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
60
|
-
Liquid - ESCOLHA O GENERO
|
|
61
|
-
</Button>
|
|
62
|
-
</div>
|
|
63
|
-
<br>
|
|
64
|
-
<div>
|
|
65
|
-
<Button kind="link" :size="sizes" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
66
|
-
Liquid - ESCREVA O SEU DA SUA CRIANÇA
|
|
67
|
-
</Button>
|
|
68
|
-
</div>
|
|
69
|
-
<br>
|
|
70
|
-
<div>
|
|
71
|
-
<Button kind="link" size="md" width="circle" :disabled="disabled" :inverted="inverted" @click="action">
|
|
72
|
-
<Icon name="chevron-right" fill="#000" stroke="transparent" />
|
|
73
|
-
</Button>
|
|
74
|
-
</div>
|
|
75
|
-
</div>`,
|
|
76
|
-
methods: { action: action("clicked") },
|
|
77
|
-
});
|
|
1
|
+
import { action } from "@storybook/addon-actions";
|
|
2
|
+
import { linkTo } from "@storybook/addon-links";
|
|
3
|
+
import { withKnobs, text, boolean, select } from "@storybook/addon-knobs";
|
|
4
|
+
|
|
5
|
+
import Button from "./Button";
|
|
6
|
+
|
|
7
|
+
export default {
|
|
8
|
+
title: "Buttons/Link",
|
|
9
|
+
decorators: [withKnobs],
|
|
10
|
+
component: Button,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
const sizeList = {
|
|
14
|
+
XLarge: "xl",
|
|
15
|
+
Large: "lg",
|
|
16
|
+
Medium: "md",
|
|
17
|
+
Small: "sm",
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export const Link = () => ({
|
|
21
|
+
components: { Button },
|
|
22
|
+
props: {
|
|
23
|
+
sizes: {
|
|
24
|
+
default: select("Size", sizeList, "md"),
|
|
25
|
+
},
|
|
26
|
+
disabled: {
|
|
27
|
+
default: boolean("Disabled", false),
|
|
28
|
+
},
|
|
29
|
+
inverted: {
|
|
30
|
+
default: boolean("Inverted", false),
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
template: `<div style="background: #E5F1FB">
|
|
34
|
+
<div class="storybook-6">
|
|
35
|
+
<Button kind="link" :size="sizes" width="fluid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
36
|
+
Fluid - Cols 6
|
|
37
|
+
</Button>
|
|
38
|
+
</div>
|
|
39
|
+
<br>
|
|
40
|
+
<div class="storybook-12">
|
|
41
|
+
<Button kind="link" :size="sizes" width="fluid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
42
|
+
Fluid - Cols 12
|
|
43
|
+
</Button>
|
|
44
|
+
</div>
|
|
45
|
+
<br>
|
|
46
|
+
<div class="storybook-25">
|
|
47
|
+
<Button kind="link" :size="sizes" width="fluid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
48
|
+
Fluid - Cols 25
|
|
49
|
+
</Button>
|
|
50
|
+
</div>
|
|
51
|
+
<br>
|
|
52
|
+
<div>
|
|
53
|
+
<Button kind="link" :size="sizes" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
54
|
+
Liquid - CANCELAR
|
|
55
|
+
</Button>
|
|
56
|
+
</div>
|
|
57
|
+
<br>
|
|
58
|
+
<div>
|
|
59
|
+
<Button kind="link" :size="sizes" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
60
|
+
Liquid - ESCOLHA O GENERO
|
|
61
|
+
</Button>
|
|
62
|
+
</div>
|
|
63
|
+
<br>
|
|
64
|
+
<div>
|
|
65
|
+
<Button kind="link" :size="sizes" width="liquid" :disabled="disabled" :inverted="inverted" @click="action">
|
|
66
|
+
Liquid - ESCREVA O SEU DA SUA CRIANÇA
|
|
67
|
+
</Button>
|
|
68
|
+
</div>
|
|
69
|
+
<br>
|
|
70
|
+
<div>
|
|
71
|
+
<Button kind="link" size="md" width="circle" :disabled="disabled" :inverted="inverted" @click="action">
|
|
72
|
+
<Icon name="chevron-right" fill="#000" stroke="transparent" />
|
|
73
|
+
</Button>
|
|
74
|
+
</div>
|
|
75
|
+
</div>`,
|
|
76
|
+
methods: { action: action("clicked") },
|
|
77
|
+
});
|