@symbo.ls/preview 2.0.7 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{src/pages/Export → .legacy}/_tools_old.js +7 -6
- package/.legacy/index copy.js +45 -0
- package/{src/pages/Spaces → .legacy}/preview.js +14 -14
- package/{src/pages/Spaces → .legacy}/style.js +0 -3
- package/.vscode/extensions.json +5 -0
- package/index.html +4 -14
- package/index.js +44 -0
- package/package.json +32 -32
- package/src/app.js +30 -68
- package/src/assets/dark.png +0 -0
- package/src/assets/mask1.png +0 -0
- package/src/assets/mask2.png +0 -0
- package/src/assets/shapes.png +0 -0
- package/src/assets/space.png +0 -0
- package/src/assets/type.png +0 -0
- package/src/components/Aside.js +101 -0
- package/src/components/Banner.js +58 -0
- package/src/components/ColorText.js +29 -0
- package/src/components/ColorsPalette.js +69 -0
- package/src/components/ColumnParagrphs.js +23 -0
- package/src/components/ContinueButton.js +14 -0
- package/src/components/DesignComponent.js +80 -0
- package/src/components/FontText.js +193 -0
- package/src/components/Header.js +50 -0
- package/src/components/HeaderHeading.js +23 -0
- package/src/components/IconsGroup.js +60 -0
- package/src/components/Page.js +135 -0
- package/src/components/ResponsivePreview.js +44 -0
- package/src/components/Route.js +1 -0
- package/src/components/ShapePreview.js +63 -0
- package/src/components/ShapeSet.js +85 -0
- package/src/components/SlidersWithResponsive.js +23 -0
- package/src/components/SpacingButton/actionButtons.js +41 -0
- package/src/components/SpacingButton/dropdown.js +114 -0
- package/src/components/SpacingButton/index.js +248 -0
- package/src/components/SpacingButton/props.js +45 -0
- package/src/components/SpacingPreview.js +154 -0
- package/src/components/SpacingTable.js +210 -0
- package/src/components/ThemeButtons.js +42 -0
- package/src/components/UploadImage.js +61 -0
- package/src/components/Widget.js +1 -0
- package/src/components/index.js +25 -0
- package/src/config/index.js +12 -31
- package/src/config/theme.js +1 -71
- package/src/pages/Account/__/index.js +241 -0
- package/src/pages/Account/{setUpProject.js → __/setUpProject.js} +10 -10
- package/src/pages/Account/index.js +17 -147
- package/src/pages/Color/globalThemes.js +30 -0
- package/src/pages/Color/index.js +7 -10
- package/src/pages/Color/palette.js +35 -0
- package/src/pages/Color/themes.js +23 -117
- package/src/pages/Components/grid.js +99 -0
- package/src/pages/Components/index.js +37 -0
- package/src/pages/Components/sidebar.js +28 -0
- package/src/pages/Components/style.js +16 -0
- package/src/pages/DesignSystem/Dashboard/banners.js +38 -0
- package/src/pages/DesignSystem/Dashboard/designElements.js +124 -0
- package/src/pages/DesignSystem/Dashboard/index.js +22 -0
- package/src/pages/DesignSystem/Dashboard/quickstart.js +86 -0
- package/src/pages/DesignSystem/Dashboard/state.js +118 -0
- package/src/pages/DesignSystem/Dashboard/summary.js +40 -0
- package/src/pages/DesignSystem/index.js +187 -0
- package/src/pages/Editor/index.js +7 -9
- package/src/pages/Editor/layers.js +14 -14
- package/src/pages/Editor/scene.js +7 -9
- package/src/pages/Editor/tools.js +22 -22
- package/src/pages/Export/const.js +3 -4
- package/src/pages/Export/description.js +58 -87
- package/src/pages/Export/gist.js +23 -0
- package/src/pages/Export/index.js +48 -39
- package/src/pages/Export/scene.js +98 -61
- package/src/pages/Export/state.js +11 -5
- package/src/pages/Export/tools.js +41 -86
- package/src/pages/Fonts/fontFaces.js +50 -0
- package/src/pages/Fonts/fontFamilies.js +47 -0
- package/src/pages/Fonts/index.js +15 -0
- package/src/pages/Fonts/state.js +5 -0
- package/src/pages/Icons/index.js +73 -69
- package/src/pages/Icons/style.js +0 -18
- package/src/pages/Init/ChooseEnvironment.js +104 -0
- package/src/pages/Init/CreateDocumentTheme.js +166 -0
- package/src/pages/Init/CreatePalette.js +72 -0
- package/src/pages/Init/FontText.js +23 -0
- package/src/pages/Init/Personalize/fields.js +109 -0
- package/src/pages/Init/Personalize/icon.js +42 -0
- package/src/pages/Init/Personalize/index.js +37 -0
- package/src/pages/Init/index.js +36 -0
- package/src/pages/Library/disabled.js +38 -0
- package/src/pages/Library/index.js +24 -47
- package/src/pages/MediaQuery/index.js +46 -0
- package/src/pages/MediaQuery/lists.js +285 -0
- package/src/pages/MediaQuery/state.js +150 -0
- package/src/pages/MediaQuery/typeScale.js +69 -0
- package/src/pages/Shapes/index.js +54 -204
- package/src/pages/Shapes/shapeSet.js +133 -0
- package/src/pages/Shapes/style.js +0 -28
- package/src/pages/Spaces/index.js +23 -47
- package/src/pages/Spaces/sequence.js +30 -1
- package/src/pages/Spaces/state.js +12 -14
- package/src/pages/State/index.js +86 -0
- package/src/pages/{ColorEditor → Theme}/friendTheme.js +3 -3
- package/src/pages/Theme/index.js +197 -0
- package/src/pages/{ColorEditor → Theme}/interactivity.js +6 -7
- package/src/pages/Theme/preview.js +153 -0
- package/src/pages/{ColorEditor → Theme}/style.js +1 -12
- package/src/pages/{ColorEditor → Theme}/themingTools.js +12 -12
- package/src/pages/Typography/collection.js +110 -0
- package/src/pages/Typography/documentStyles.js +125 -0
- package/src/pages/Typography/index.js +28 -36
- package/src/pages/Typography/rangeButtons.js +58 -0
- package/src/pages/Typography/shared.js +2 -3
- package/src/pages/Typography/state.js +9 -8
- package/src/pages/Typography/stylesHelpers.js +30 -0
- package/src/pages/Typography/typeScale.js +63 -82
- package/src/pages/index.js +15 -23
- package/src/style.js +15 -12
- package/svgSprite.config.js +2 -1
- package/README.md +0 -19
- package/app.webmanifest +0 -4
- package/netlify.toml +0 -19
- package/protect-pwd.js +0 -65
- package/src/animations.js +0 -71
- package/src/assets/dots.png +0 -0
- package/src/assets/dotsDark.png +0 -0
- package/src/data/Symbols.sketch +0 -0
- package/src/data/_Symbols.sketch/document.json +0 -1
- package/src/data/_Symbols.sketch/fonts/6c9956fc8970ec3d8268c3f286afe19d954fc40b +0 -0
- package/src/data/_Symbols.sketch/fonts/750e9b005158d57108ebbcf288e2582f078d6735 +0 -0
- package/src/data/_Symbols.sketch/fonts/86c45cb69ad4ba2a8e6d0b81f20964b33f4eca6c +0 -0
- package/src/data/_Symbols.sketch/fonts/f97cec7aed309ec77b4fd3005d1a3e0d86c2a7b9 +0 -0
- package/src/data/_Symbols.sketch/images/0427bc225ee7dc33db78252defd5b2e4cd5b7467.png +0 -0
- package/src/data/_Symbols.sketch/images/0c4846cdd2f11ffb23c9ce063380fc934f7a11ea.png +0 -0
- package/src/data/_Symbols.sketch/images/55d3f5e93869fbd70e8dfbca1ce3dfa0cc9f2dbe.png +0 -0
- package/src/data/_Symbols.sketch/images/67ae1583a9d77eec7106f5016f48b5594a02b3f6.png +0 -0
- package/src/data/_Symbols.sketch/images/7152b3ea22388d53052d0212995a1805527ea862.png +0 -0
- package/src/data/_Symbols.sketch/images/72f1896a8462385fd596bc35f240382ba15814fc.png +0 -0
- package/src/data/_Symbols.sketch/images/73e4245b1f867343001657193ff2318c9cf2ef53.png +0 -0
- package/src/data/_Symbols.sketch/images/7b89dae77676fb4cfd072e0830cff9c27afd11c6.png +0 -0
- package/src/data/_Symbols.sketch/images/811e2b516575d3b4e7709dfef6369bce7dae0a26.png +0 -0
- package/src/data/_Symbols.sketch/images/82d006789579f2ee1fa45c9116f7cd7dd1bcbe37.png +0 -0
- package/src/data/_Symbols.sketch/images/8a896270aa4da8e2401d0ea76e46dc9b9125e59a.png +0 -0
- package/src/data/_Symbols.sketch/images/966688c4a579283836f15ab69c8b76e11b236ff5.png +0 -0
- package/src/data/_Symbols.sketch/images/b903a498e1d438e8bb12de5422f732c717b79eff.png +0 -0
- package/src/data/_Symbols.sketch/images/b9f3cae81a855e21ae75185dcb6ae6551c5447f1.png +0 -0
- package/src/data/_Symbols.sketch/images/cd0f908410abf4cad7a4501539eb0711c41a182f.png +0 -0
- package/src/data/_Symbols.sketch/images/d54f15f130ba4f1d4ad56f03c01ac06fe0ab4f56.png +0 -0
- package/src/data/_Symbols.sketch/images/df5a20029363f95abc58b2c8972e1417d84c8aa7.png +0 -0
- package/src/data/_Symbols.sketch/images/e889546970c931244400c2f70412c39123029cb3.png +0 -0
- package/src/data/_Symbols.sketch/images/f420a7a2beb15bee5d2ecbba8f296c6d4b22dfa3.png +0 -0
- package/src/data/_Symbols.sketch/meta.json +0 -1
- package/src/data/_Symbols.sketch/pages/31D11772-FB33-42EC-A3CC-79F63922E04D.json +0 -1
- package/src/data/_Symbols.sketch/pages/35BD91AD-F0ED-4002-891D-F1B3250E88C1.json +0 -1
- package/src/data/_Symbols.sketch/pages/4831AF31-ECB8-4DA6-B4D0-C1095D42146C.json +0 -1
- package/src/data/_Symbols.sketch/pages/6FCC0155-B3F4-4792-892E-523D45315AFD.json +0 -1
- package/src/data/_Symbols.sketch/pages/7996D5DD-C5B2-4EE7-9DE8-2C05E2ACA9F3.json +0 -1
- package/src/data/_Symbols.sketch/pages/B314C0F3-0038-473F-A127-536AF28E5272.json +0 -1
- package/src/data/_Symbols.sketch/pages/B6798E64-F7E9-40F5-9BD0-88A548478438.json +0 -1
- package/src/data/_Symbols.sketch/pages/B9B28DF3-EDC2-4D5B-A412-12B3B2E7DE58.json +0 -1
- package/src/data/_Symbols.sketch/pages/CA6E47E4-DAF7-4D1D-8DDC-D5A60508D9A0.json +0 -1
- package/src/data/_Symbols.sketch/pages/D6F5EB10-9D31-47AC-9077-1CE8CB2C2448.json +0 -1
- package/src/data/_Symbols.sketch/previews/preview.png +0 -0
- package/src/data/_Symbols.sketch/user.json +0 -1
- package/src/data/categories.js +0 -44
- package/src/data/components/button-archived/index.js +0 -63
- package/src/data/components/button-archived/style.js +0 -5
- package/src/data/components/button-circle/index.js +0 -54
- package/src/data/components/button-contacts/index.js +0 -56
- package/src/data/components/button-contacts/style.js +0 -13
- package/src/data/components/button-download/index.js +0 -63
- package/src/data/components/button-pro/index.js +0 -98
- package/src/data/components/button-pro/style.js +0 -19
- package/src/data/components/button-theme-switcher/index.js +0 -104
- package/src/data/components/button-theme-switcher/style.js +0 -16
- package/src/data/components/button-user/index.js +0 -82
- package/src/data/components/button-user/style.js +0 -25
- package/src/data/components/datepicker/index.js +0 -40
- package/src/data/components/datepicker/style.js +0 -4
- package/src/data/components/dropdown-list/index.js +0 -56
- package/src/data/components/field/index.js +0 -40
- package/src/data/components/index.js +0 -34
- package/src/data/components/label/index.js +0 -40
- package/src/data/components/notification/index.js +0 -55
- package/src/data/components/notification/style.js +0 -20
- package/src/data/components/pills/index.js +0 -37
- package/src/data/components/tooltip/index.js +0 -38
- package/src/data/filters.js +0 -3
- package/src/data/index.js +0 -3
- package/src/data/library/button-circle/index.js +0 -52
- package/src/data/library/button-join/index.js +0 -61
- package/src/data/library/family-bundle/index.js +0 -99
- package/src/data/library/family-bundle/style.js +0 -27
- package/src/data/library/index.js +0 -15
- package/src/data/library/join-class/index.js +0 -45
- package/src/data/library/parent-mode/index.js +0 -69
- package/src/data/library/parent-mode/style.js +0 -25
- package/src/index.html +0 -57
- package/src/index.js +0 -7
- package/src/pages/Color/colors.js +0 -58
- package/src/pages/Color/documentThemes.js +0 -101
- package/src/pages/Color/style.js +0 -7
- package/src/pages/ColorEditor/colorTone.js +0 -163
- package/src/pages/ColorEditor/index.js +0 -178
- package/src/pages/Export/header.js +0 -37
- package/src/pages/Export/style.js +0 -28
- package/src/pages/Library/style.js +0 -43
- package/src/pages/PageProto.js +0 -26
- package/src/pages/Typography/docFonts.js +0 -128
- package/src/pages/Typography/docStyles.js +0 -97
- package/src/pages/Typography/style.js +0 -11
- package/src/protect.js +0 -114
- package/src/state.js +0 -3
- package/src/test.js +0 -30
- package/test/index.test.js +0 -5
- /package/{src/pages/Spaces → .legacy}/boxModel.js +0 -0
- /package/{src/data/favorites.js → .legacy/sequence.js} +0 -0
- /package/src/pages/{ColorEditor → Theme}/ntc.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"_class":"page","do_objectID":"D6F5EB10-9D31-47AC-9077-1CE8CB2C2448","booleanOperation":-1,"isFixedToViewport":false,"isFlippedHorizontal":false,"isFlippedVertical":false,"isLocked":false,"isVisible":true,"layerListExpandedType":0,"name":"Hello","nameIsFixed":true,"resizingConstraint":63,"resizingType":0,"rotation":0,"shouldBreakMaskChain":false,"exportOptions":{"_class":"exportOptions","includedLayerIds":[],"layerOptions":0,"shouldTrim":false,"exportFormats":[]},"frame":{"_class":"rect","constrainProportions":false,"height":0,"width":0,"x":0,"y":0},"clippingMaskMode":0,"hasClippingMask":false,"style":{"_class":"style","do_objectID":"326E8322-C012-43DF-A8AE-967A7FE8566C","endMarkerType":0,"miterLimit":10,"startMarkerType":0,"windingRule":1,"blur":{"_class":"blur","isEnabled":false,"center":"{0.5, 0.5}","motionAngle":0,"radius":10,"saturation":1,"type":0},"borderOptions":{"_class":"borderOptions","isEnabled":true,"dashPattern":[],"lineCapStyle":0,"lineJoinStyle":0},"borders":[],"colorControls":{"_class":"colorControls","isEnabled":false,"brightness":0,"contrast":1,"hue":0,"saturation":1},"contextSettings":{"_class":"graphicsContextSettings","blendMode":0,"opacity":1},"fills":[],"innerShadows":[],"shadows":[]},"hasClickThrough":true,"groupLayout":{"_class":"MSImmutableFreeformGroupLayout"},"layers":[{"_class":"artboard","do_objectID":"EA6ACC18-A308-4ECD-83F2-5E33B2B1EA6F","booleanOperation":-1,"isFixedToViewport":false,"isFlippedHorizontal":false,"isFlippedVertical":false,"isLocked":false,"isVisible":true,"layerListExpandedType":2,"name":"Logo","nameIsFixed":false,"resizingConstraint":63,"resizingType":0,"rotation":0,"shouldBreakMaskChain":true,"exportOptions":{"_class":"exportOptions","includedLayerIds":[],"layerOptions":0,"shouldTrim":false,"exportFormats":[]},"frame":{"_class":"rect","constrainProportions":false,"height":132,"width":132,"x":-67,"y":-67},"clippingMaskMode":0,"hasClippingMask":false,"style":{"_class":"style","do_objectID":"F4918C22-BCBE-4BCE-8E92-7F1B7D9CFE9A","endMarkerType":0,"miterLimit":10,"startMarkerType":0,"windingRule":1,"blur":{"_class":"blur","isEnabled":false,"center":"{0.5, 0.5}","motionAngle":0,"radius":10,"saturation":1,"type":0},"borderOptions":{"_class":"borderOptions","isEnabled":true,"dashPattern":[],"lineCapStyle":0,"lineJoinStyle":0},"borders":[],"colorControls":{"_class":"colorControls","isEnabled":false,"brightness":0,"contrast":1,"hue":0,"saturation":1},"contextSettings":{"_class":"graphicsContextSettings","blendMode":0,"opacity":1},"fills":[],"innerShadows":[],"shadows":[]},"hasClickThrough":false,"groupLayout":{"_class":"MSImmutableFreeformGroupLayout"},"layers":[{"_class":"shapePath","do_objectID":"988222E0-EDEB-4648-9237-5F3FF9438488","booleanOperation":-1,"isFixedToViewport":false,"isFlippedHorizontal":false,"isFlippedVertical":false,"isLocked":false,"isVisible":true,"layerListExpandedType":0,"name":"Path","nameIsFixed":false,"resizingConstraint":63,"resizingType":0,"rotation":0,"shouldBreakMaskChain":false,"exportOptions":{"_class":"exportOptions","includedLayerIds":[],"layerOptions":0,"shouldTrim":false,"exportFormats":[]},"frame":{"_class":"rect","constrainProportions":false,"height":62.33333333333332,"width":60.97658626796441,"x":37.10000000000016,"y":35.33060647712634},"clippingMaskMode":0,"hasClippingMask":false,"sharedStyleID":"EB7B4C26-CC4F-4AEB-A101-2E80BA0A7D42","style":{"_class":"style","do_objectID":"33D742BD-B978-43A5-9CD0-0926BBD1B982","endMarkerType":0,"miterLimit":10,"startMarkerType":0,"windingRule":1,"blur":{"_class":"blur","isEnabled":false,"center":"{0.5, 0.5}","motionAngle":0,"radius":10,"saturation":1,"type":0},"borderOptions":{"_class":"borderOptions","isEnabled":true,"dashPattern":[],"lineCapStyle":0,"lineJoinStyle":0},"borders":[],"colorControls":{"_class":"colorControls","isEnabled":false,"brightness":0,"contrast":1,"hue":0,"saturation":1},"contextSettings":{"_class":"graphicsContextSettings","blendMode":0,"opacity":1},"fills":[{"_class":"fill","isEnabled":true,"fillType":0,"color":{"_class":"color","alpha":1,"blue":1,"green":1,"red":1},"contextSettings":{"_class":"graphicsContextSettings","blendMode":0,"opacity":1},"gradient":{"_class":"gradient","elipseLength":0,"from":"{0.5, 0}","gradientType":0,"to":"{0.5, 1}","stops":[{"_class":"gradientStop","position":0,"color":{"_class":"color","alpha":1,"blue":1,"green":1,"red":1}},{"_class":"gradientStop","position":1,"color":{"_class":"color","alpha":1,"blue":0,"green":0,"red":0}}]},"noiseIndex":0,"noiseIntensity":0,"patternFillType":1,"patternTileScale":1}],"innerShadows":[],"shadows":[]},"edited":true,"isClosed":true,"pointRadiusBehaviour":1,"points":[{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.12047362409114311, 0.89890974871066665}","curveMode":4,"curveTo":"{0.22448525235103942, 0.97416066041951233}","hasCurveFrom":true,"hasCurveTo":false,"point":"{0.22448525235103942, 0.97416066041951233}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{-0.0046653661590444744, 0.60055578186503356}","curveMode":3,"curveTo":"{0.046798720740383881, 0.791332741126895}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.012669905217605117, 0.66520797361488682}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.071718173344317446, 0.19303499944177951}","curveMode":3,"curveTo":"{-0.0041236389285240586, 0.47655075834482369}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.013753359678645948, 0.41030875860112176}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.53326977374760587, -0.004101191795477601}","curveMode":3,"curveTo":"{0.24940470495497297, 0.036173944048693278}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.47422150562089416, 0.0038478481737666279}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.73695921242323581, 0.02822490407944905}","curveMode":4,"curveTo":"{0.62698858462761675, 0.00066823218606881589}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.68332821660172705, 0.014446568132758932}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.92168819803065549, 0.14852037561401135}","curveMode":3,"curveTo":"{0.81388447915711748, 0.064790487937972388}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.85505574867665979, 0.0965866478149493}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{1.0056559187613008, 0.36685400676925306}","curveMode":3,"curveTo":"{0.97423573939112407, 0.23013051929825259}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.99265446522881384, 0.31068079098659374}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.93794001494626489, 0.62281309377891703}","curveMode":3,"curveTo":"{1.0007803736866183, 0.45482338242888931}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.98290337507944892, 0.50357749424025355}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.61615404001721097, 0.69859394148571174}","curveMode":3,"curveTo":"{0.8263442054590846, 0.69859394148571174}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.69578794290369406, 0.69859394148571174}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.47855532346505686, 0.60532520584657934}","curveMode":3,"curveTo":"{0.55764749912101963, 0.67845637356362665}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.51105895729627437, 0.6355315577297076}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.42113223702990643, 0.41825779857036538}","curveMode":3,"curveTo":"{0.46284523377996856, 0.57829846995114942}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.44984378024748167, 0.52901442214183492}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.66761812691663924, 0.28842347907270965}","curveMode":3,"curveTo":"{0.50618341222159191, 0.29955213502965172}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.62157131232241447, 0.29160309506040749}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.72287430442970935, 0.30644130300299643}","curveMode":4,"curveTo":"{0.70066348797837719, 0.29319290305425605}","hasCurveFrom":false,"hasCurveTo":true,"point":"{0.72287430442970935, 0.30644130300299643}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.74075130303687875, 0.31704002296198874}","curveMode":1,"curveTo":"{0.74075130303687875, 0.31704002296198874}","hasCurveFrom":false,"hasCurveTo":false,"point":"{0.74075130303687875, 0.31704002296198874}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.70445557859201891, 0.38010240671799284}","curveMode":4,"curveTo":"{0.72937503119595248, 0.3371775908840739}","hasCurveFrom":true,"hasCurveTo":false,"point":"{0.72937503119595248, 0.3371775908840739}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.5869007695691153, 0.35360560682051212}","curveMode":3,"curveTo":"{0.70174694243941749, 0.38222215070979121}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.67466058091340286, 0.37533298273644644}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.57660795218922989, 0.54014307809877693}","curveMode":3,"curveTo":"{0.51810141129303855, 0.45376351043298924}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.5690237709619459, 0.52901442214183492}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.63132240247177951, 0.57776853395319971}","curveMode":4,"curveTo":"{0.59448495079639985, 0.5565710940352151}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.60856985878992698, 0.56452013400445933}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.71908221381606641, 0.57935834194704827}","curveMode":2,"curveTo":"{0.63999003816010369, 0.57935834194704827}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.68061958044912552, 0.57935834194704827}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.85451402144613942, 0.52000551017669117}","curveMode":3,"curveTo":"{0.73154194011803286, 0.57723859795525001}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.75646139272196644, 0.56558000600035818}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.82038520592336062, 0.2545075752039338}","curveMode":3,"curveTo":"{0.89243492758255982, 0.39441067866263269}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.83934565899157088, 0.29160309506040688}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.54627122728009281, 0.10665543177599127}","curveMode":3,"curveTo":"{0.77054630071549357, 0.20893307938026676}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.72774984950439059, 0.18932544745613136}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.24669606880237152, 0.43945523848835}","curveMode":3,"curveTo":"{0.32470478999729346, 0.20257384740487175}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.26294788571798028, 0.3912310626749349}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.27324070309786569, 0.64454046969485079}","curveMode":3,"curveTo":"{0.24344570541924965, 0.52053544617464087}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.25482197726017591, 0.56875962198805596}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.42709123656562914, 0.79186267712484415}","curveMode":3,"curveTo":"{0.32903860784145617, 0.72562067738114222}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.39133723935128972, 0.76801555721711146}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.28082488432515029, 1.0160256042575311}","curveMode":2,"curveTo":"{0.42492432764354809, 0.79875184509818886}","hasCurveFrom":true,"hasCurveTo":true,"point":"{0.35395806044538969, 0.90579891668401147}"},{"_class":"curvePoint","cornerRadius":0,"curveFrom":"{0.22448525235104003, 0.97416066041951166}","curveMode":4,"curveTo":"{0.28136661155567072, 1.0160256042575311}","hasCurveFrom":false,"hasCurveTo":true,"point":"{0.22448525235104003, 0.97416066041951166}"}]}],"hasBackgroundColor":true,"includeBackgroundColorInExport":true,"isFlowHome":false,"presetDictionary":{},"resizesContent":false,"backgroundColor":{"_class":"color","alpha":1,"blue":0,"green":0,"red":0},"horizontalRulerData":{"_class":"rulerData","base":0,"guides":[]},"verticalRulerData":{"_class":"rulerData","base":0,"guides":[]}}],"horizontalRulerData":{"_class":"rulerData","base":-606,"guides":[]},"verticalRulerData":{"_class":"rulerData","base":-488,"guides":[]}}
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"D6F5EB10-9D31-47AC-9077-1CE8CB2C2448":{"scrollOrigin":"{605, 487}","zoomValue":1},"35BD91AD-F0ED-4002-891D-F1B3250E88C1":{"scrollOrigin":"{0, 0}","zoomValue":1},"783F0479-7D85-4CA7-993C-F9B0D03B1861":{"scrollOrigin":"{0, 0}","zoomValue":1},"document":{"pageListHeight":272,"cloudShare":{"viewerCanUpdate":1,"id":"4c370584-e598-4226-963f-5ae9ba72b5fa","updatedAt":"2021-05-23T21:07:56.073Z","previewThumbnails":[{"height":167,"id":"8131eefd-b590-4f07-9f6d-acde2b58e9ff","width":250,"size":0,"identifier":"8131eefd-b590-4f07-9f6d-acde2b58e9ff","updatedAt":"2021-07-02T11:50:17.652Z","createdAt":"2021-07-02T11:50:17.652Z","url":"https:\/\/resources-live.sketch.cloud\/files\/4003e243-ac30-4c91-b65f-b5274001cb72.m.png?Expires=1625486400&Signature=Jj6ABtCYrCcxASrJeHd2AYQ~bfAg3-9E9W7hCt8QQmntic6N5IfBCQqKpXE09GCiRpsz9NSCsd5xQb4dLxjEkKqyO1MbUZHyIhyGNYmdLCujpz0OiH62q~tbFO~-ArwcHfKgiu7CnOjOxTSPbf4oozukv3jPzXoOuXwjoaAqGdg_&Key-Pair-Id=APKAJOITMW3RWOLNNPYA"},{"height":499,"id":"d7327c99-0ae3-402b-b567-bc0e29345f79","width":750,"size":0,"identifier":"d7327c99-0ae3-402b-b567-bc0e29345f79","updatedAt":"2021-07-02T11:50:17.652Z","createdAt":"2021-07-02T11:50:17.652Z","url":"https:\/\/resources-live.sketch.cloud\/files\/4003e243-ac30-4c91-b65f-b5274001cb72.l.png?Expires=1625486400&Signature=R8NtTZAP7ZdsswulVK1g1mh9lY4gYt-gZ8sf3~k2WgNJD3uUcg2NR4XBcrh3Wj5uUT50q9AqDnJOeCukkkYhbll67lh2R5Djk~FcZC3UndCN-ArHuZIwGJGAu23c8EPUGZ~dela0KpzkIF4089bzVgxmE9SjFt2s308lkh08gMA_&Key-Pair-Id=APKAJOITMW3RWOLNNPYA"}],"project":{"name":"Libraries","id":"2a941ce1-a8bf-49bb-8210-690ed094e32e","updatedAt":"2021-07-02T11:50:17.653Z","identifier":"2a941ce1-a8bf-49bb-8210-690ed094e32e","shortId":"4Vkrz","createdAt":"2021-07-02T11:50:17.653Z"},"workspace":{"status":"INACTIVE","userHasEditableContent":0,"__typename":"PublicWorkspace","id":"82a509a6-11c7-4bed-b8d4-ffaa54147c50","userCanEdit":0,"identifier":"82a509a6-11c7-4bed-b8d4-ffaa54147c50","updatedAt":"2021-07-02T11:50:17.652Z","createdAt":"2021-07-02T11:50:17.652Z","customer":{"billing":{},"ssoEnabled":0},"name":"Scratch","userIsOwner":0},"publishedVersion":{"document":{"contents":{},"id":"ab6b9fc7-7ff8-476b-bbe6-8e32b9028c28","updatedAt":"2021-07-02T11:50:17.653Z","identifier":"ab6b9fc7-7ff8-476b-bbe6-8e32b9028c28","name":"Symbols","createdAt":"2021-07-02T11:50:17.653Z"},"id":"ce47575c-52f4-46bc-99ed-9925367267f1","updatedAt":"2021-05-23T21:07:40.000Z","identifier":"ce47575c-52f4-46bc-99ed-9925367267f1","shortId":"GJGDxD","createdAt":"2021-05-23T21:07:40.000Z"},"publicUrl":"https:\/\/sketch.cloud\/s\/4c370584-e598-4226-963f-5ae9ba72b5fa","shortId":"4c370584-e598-4226-963f-5ae9ba72b5fa","identifier":"4c370584-e598-4226-963f-5ae9ba72b5fa","isPrivate":1,"userIsMember":0,"userCanEdit":1,"currentVersion":{"document":{"id":"B3A7D30E-BC86-4B95-9443-798C791B2F33","uuid":"B3A7D30E-BC86-4B95-9443-798C791B2F33","contents":{},"updatedAt":"2021-07-02T11:50:17.652Z","createdAt":"2021-07-02T11:50:17.652Z","identifier":"ab6b9fc7-7ff8-476b-bbe6-8e32b9028c28","name":"Symbols"},"id":"ce47575c-52f4-46bc-99ed-9925367267f1","updatedAt":"2021-05-23T21:07:40.000Z","identifier":"ce47575c-52f4-46bc-99ed-9925367267f1","createdAt":"2021-05-23T21:07:40.000Z"},"createdAt":"2020-12-08T01:35:45.130Z","name":"Symbols","libraryEnabled":1},"pageListCollapsed":0},"E6BC0E90-2992-4698-ADED-9A00E21EC238":{"scrollOrigin":"{0, 0}","zoomValue":1},"B314C0F3-0038-473F-A127-536AF28E5272":{"scrollOrigin":"{0, 0}","zoomValue":1},"B6798E64-F7E9-40F5-9BD0-88A548478438":{"scrollOrigin":"{1240, 541}","zoomValue":0.507985248901646}}
|
package/src/data/categories.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
export default [
|
|
4
|
-
{
|
|
5
|
-
key: 'basic',
|
|
6
|
-
text: 'Basic'
|
|
7
|
-
}, {
|
|
8
|
-
key: 'button',
|
|
9
|
-
text: 'Button'
|
|
10
|
-
}, {
|
|
11
|
-
key: 'form',
|
|
12
|
-
text: 'Form'
|
|
13
|
-
}, {
|
|
14
|
-
key: 'navigation',
|
|
15
|
-
text: 'Navigation'
|
|
16
|
-
}, {
|
|
17
|
-
key: 'notification',
|
|
18
|
-
text: 'Notification'
|
|
19
|
-
}, {
|
|
20
|
-
key: 'dropdown',
|
|
21
|
-
text: 'Dropdown'
|
|
22
|
-
}, {
|
|
23
|
-
key: 'badge',
|
|
24
|
-
text: 'Badge'
|
|
25
|
-
}, {
|
|
26
|
-
key: 'datepicker',
|
|
27
|
-
text: 'Datepicker'
|
|
28
|
-
}, {
|
|
29
|
-
key: 'tooltip',
|
|
30
|
-
text: 'Tooltip'
|
|
31
|
-
}, {
|
|
32
|
-
key: 'table',
|
|
33
|
-
text: 'Table'
|
|
34
|
-
}, {
|
|
35
|
-
key: 'toggle',
|
|
36
|
-
text: 'Toggle'
|
|
37
|
-
}, {
|
|
38
|
-
key: 'user',
|
|
39
|
-
text: 'User'
|
|
40
|
-
}, {
|
|
41
|
-
key: 'misc',
|
|
42
|
-
text: 'Miscellaneous'
|
|
43
|
-
}
|
|
44
|
-
]
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
import CATEGORIES from '../../categories'
|
|
4
|
-
|
|
5
|
-
import style from './style'
|
|
6
|
-
import { Button } from '@symbo.ls/all'
|
|
7
|
-
|
|
8
|
-
const key = 'button-archived'
|
|
9
|
-
const title = 'Button Archived'
|
|
10
|
-
const description = ''
|
|
11
|
-
const category = CATEGORIES[1]
|
|
12
|
-
|
|
13
|
-
const component = {
|
|
14
|
-
proto: Button,
|
|
15
|
-
style,
|
|
16
|
-
|
|
17
|
-
props: {
|
|
18
|
-
icon: 'star',
|
|
19
|
-
text: 'Archived',
|
|
20
|
-
theme: 'label',
|
|
21
|
-
padding: 'X1 Z2',
|
|
22
|
-
gap: 'X',
|
|
23
|
-
round: 'A'
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
const code = `{
|
|
28
|
-
proto: Button,
|
|
29
|
-
props: {
|
|
30
|
-
round: 'A',
|
|
31
|
-
padding: 'Z A',
|
|
32
|
-
icon: 'star',
|
|
33
|
-
text: 'Archived',
|
|
34
|
-
theme: 'label'
|
|
35
|
-
}
|
|
36
|
-
}`
|
|
37
|
-
|
|
38
|
-
const defaultState = {}
|
|
39
|
-
const defaultProps = {
|
|
40
|
-
icon: 'star',
|
|
41
|
-
text: 'Archived',
|
|
42
|
-
theme: 'label',
|
|
43
|
-
spacingRatio: '1.618',
|
|
44
|
-
round: 'A'
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
const settings = {
|
|
48
|
-
gridOptions: { colspan: 3, rowspan: 2 }
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export default {
|
|
52
|
-
key,
|
|
53
|
-
title,
|
|
54
|
-
description,
|
|
55
|
-
category,
|
|
56
|
-
component,
|
|
57
|
-
code,
|
|
58
|
-
defaultState,
|
|
59
|
-
defaultProps,
|
|
60
|
-
settings,
|
|
61
|
-
interactivity: [],
|
|
62
|
-
dataTypes: []
|
|
63
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
import CATEGORIES from '../../categories'
|
|
4
|
-
|
|
5
|
-
import { CircleButton } from '@symbo.ls/all'
|
|
6
|
-
|
|
7
|
-
const key = 'button-circle'
|
|
8
|
-
const title = 'Circle Button'
|
|
9
|
-
const description = ''
|
|
10
|
-
const category = CATEGORIES[1]
|
|
11
|
-
|
|
12
|
-
const component = {
|
|
13
|
-
proto: CircleButton,
|
|
14
|
-
props: {
|
|
15
|
-
theme: 'secondary',
|
|
16
|
-
icon: null,
|
|
17
|
-
text: '3'
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
const code = `{
|
|
22
|
-
proto: CircleButton,
|
|
23
|
-
props: {
|
|
24
|
-
theme: 'secondary',
|
|
25
|
-
padding: 'Y2',
|
|
26
|
-
text: '3'
|
|
27
|
-
}
|
|
28
|
-
}`
|
|
29
|
-
|
|
30
|
-
const defaultState = {}
|
|
31
|
-
const defaultProps = {
|
|
32
|
-
theme: 'secondary',
|
|
33
|
-
padding: 'Y2',
|
|
34
|
-
spacingRatio: '1.618',
|
|
35
|
-
text: '3'
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
const settings = {
|
|
39
|
-
gridOptions: { colspan: 2, rowspan: 2 }
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export default {
|
|
43
|
-
key,
|
|
44
|
-
title,
|
|
45
|
-
description,
|
|
46
|
-
category,
|
|
47
|
-
component,
|
|
48
|
-
code,
|
|
49
|
-
defaultState,
|
|
50
|
-
defaultProps,
|
|
51
|
-
settings,
|
|
52
|
-
interactivity: ['click'],
|
|
53
|
-
dataTypes: ['object']
|
|
54
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
import CATEGORIES from '../../categories'
|
|
4
|
-
import style from './style'
|
|
5
|
-
|
|
6
|
-
import { Button, UserBundle } from '@symbo.ls/all'
|
|
7
|
-
|
|
8
|
-
const key = 'button-contacts'
|
|
9
|
-
const title = 'Contacts Button'
|
|
10
|
-
const description = ''
|
|
11
|
-
const category = CATEGORIES[1]
|
|
12
|
-
|
|
13
|
-
const component = {
|
|
14
|
-
proto: [Button, UserBundle],
|
|
15
|
-
style,
|
|
16
|
-
props: {
|
|
17
|
-
icon: '',
|
|
18
|
-
round: 42
|
|
19
|
-
},
|
|
20
|
-
users: {
|
|
21
|
-
...[{}, {}, {}]
|
|
22
|
-
},
|
|
23
|
-
span: 'View all Contacts'
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
const code = `{
|
|
27
|
-
round: 42,
|
|
28
|
-
users: [{}, {}, {}],
|
|
29
|
-
caption: 'View all Contacts'
|
|
30
|
-
}`
|
|
31
|
-
|
|
32
|
-
const defaultState = {}
|
|
33
|
-
const defaultProps = {
|
|
34
|
-
round: 42,
|
|
35
|
-
users: [{}, {}, {}],
|
|
36
|
-
caption: 'View all Contacts'
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
const settings = {
|
|
40
|
-
gridOptions: { colspan: 5, rowspan: 2 }
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export default {
|
|
44
|
-
key,
|
|
45
|
-
title,
|
|
46
|
-
description,
|
|
47
|
-
category,
|
|
48
|
-
component,
|
|
49
|
-
code,
|
|
50
|
-
defaultState,
|
|
51
|
-
|
|
52
|
-
defaultProps,
|
|
53
|
-
settings,
|
|
54
|
-
interactivity: [],
|
|
55
|
-
dataTypes: []
|
|
56
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
import CATEGORIES from '../../categories'
|
|
4
|
-
|
|
5
|
-
import { Button } from '@symbo.ls/all'
|
|
6
|
-
|
|
7
|
-
const key = 'button-download'
|
|
8
|
-
const title = 'Download Button'
|
|
9
|
-
const description = ''
|
|
10
|
-
const category = CATEGORIES[1]
|
|
11
|
-
|
|
12
|
-
const component = {
|
|
13
|
-
proto: Button,
|
|
14
|
-
state: {},
|
|
15
|
-
style: {
|
|
16
|
-
svg: { marginRight: `${6 / 16}em` }
|
|
17
|
-
},
|
|
18
|
-
props: {
|
|
19
|
-
icon: 'arrowDown',
|
|
20
|
-
theme: 'primary',
|
|
21
|
-
text: 'Download',
|
|
22
|
-
padding: ['Z2', 'A2'],
|
|
23
|
-
round: 'C'
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
const code = `{
|
|
28
|
-
proto: Button,
|
|
29
|
-
props: {
|
|
30
|
-
icon: 'arrowDown',
|
|
31
|
-
theme: 'primary',
|
|
32
|
-
text: 'Download',
|
|
33
|
-
round: 'C'
|
|
34
|
-
}
|
|
35
|
-
}`
|
|
36
|
-
|
|
37
|
-
const defaultState = {}
|
|
38
|
-
const defaultProps = {
|
|
39
|
-
icon: 'arrowDown',
|
|
40
|
-
theme: 'primary',
|
|
41
|
-
text: 'Download',
|
|
42
|
-
spacingRatio: '1.618',
|
|
43
|
-
round: 'C'
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
const settings = {
|
|
47
|
-
gridOptions: { colspan: 4, rowspan: 2 }
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export default {
|
|
51
|
-
key,
|
|
52
|
-
title,
|
|
53
|
-
description,
|
|
54
|
-
category,
|
|
55
|
-
component,
|
|
56
|
-
code,
|
|
57
|
-
defaultState,
|
|
58
|
-
|
|
59
|
-
defaultProps,
|
|
60
|
-
settings,
|
|
61
|
-
interactivity: ['click'],
|
|
62
|
-
dataTypes: ['object']
|
|
63
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
import CATEGORIES from '../../categories'
|
|
4
|
-
|
|
5
|
-
import style from './style'
|
|
6
|
-
import { Block, KangorooButton } from '@symbo.ls/all'
|
|
7
|
-
|
|
8
|
-
const key = 'button-pro'
|
|
9
|
-
const title = 'Pro Button'
|
|
10
|
-
const description = ''
|
|
11
|
-
const category = CATEGORIES[1]
|
|
12
|
-
|
|
13
|
-
const component = {
|
|
14
|
-
style,
|
|
15
|
-
proto: KangorooButton,
|
|
16
|
-
|
|
17
|
-
props: {
|
|
18
|
-
theme: 'lightDark',
|
|
19
|
-
round: 'Z2',
|
|
20
|
-
padding: ['X1', 'X1', 'X1', 'A'],
|
|
21
|
-
size: 'A',
|
|
22
|
-
gap: 'Z',
|
|
23
|
-
|
|
24
|
-
iconText: {
|
|
25
|
-
gap: 'X1',
|
|
26
|
-
icon: 'star',
|
|
27
|
-
text: 'Become PRO',
|
|
28
|
-
alignItems: 'center'
|
|
29
|
-
},
|
|
30
|
-
|
|
31
|
-
label: {
|
|
32
|
-
round: 12,
|
|
33
|
-
theme: ['lightDark', 'inverse'],
|
|
34
|
-
size: 'Z',
|
|
35
|
-
padding: 'Z A2',
|
|
36
|
-
text: '1 month free'
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
iconText: {
|
|
41
|
-
proto: Block,
|
|
42
|
-
props: el => el.parent.props.iconText
|
|
43
|
-
},
|
|
44
|
-
|
|
45
|
-
child: {
|
|
46
|
-
props: el => el.parent.props.label
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
const code = `{
|
|
51
|
-
proto: Button,
|
|
52
|
-
props: {
|
|
53
|
-
theme: 'lightDark',
|
|
54
|
-
round: 12,
|
|
55
|
-
padding: ['X1', 'X1', 'X1', 'A'],
|
|
56
|
-
size: 'A',
|
|
57
|
-
icon: 'info',
|
|
58
|
-
text: 'Become PRO',
|
|
59
|
-
|
|
60
|
-
label: {
|
|
61
|
-
round: 12,
|
|
62
|
-
theme: ['lightDark', 'inverse'],
|
|
63
|
-
size: 'Z',
|
|
64
|
-
gap: 'A',
|
|
65
|
-
padding: 'Z A2',
|
|
66
|
-
text: '1 month free'
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}`
|
|
70
|
-
|
|
71
|
-
const defaultState = {}
|
|
72
|
-
const defaultProps = {
|
|
73
|
-
theme: 'lightDark',
|
|
74
|
-
round: 12,
|
|
75
|
-
padding: ['X1', 'X1', 'X1', 'A'],
|
|
76
|
-
size: 'A',
|
|
77
|
-
icon: 'info',
|
|
78
|
-
text: 'Become PRO'
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
const settings = {
|
|
82
|
-
gridOptions: { colspan: 6, rowspan: 2 }
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export default {
|
|
86
|
-
key,
|
|
87
|
-
title,
|
|
88
|
-
description,
|
|
89
|
-
category,
|
|
90
|
-
component,
|
|
91
|
-
code,
|
|
92
|
-
defaultState,
|
|
93
|
-
|
|
94
|
-
defaultProps,
|
|
95
|
-
settings,
|
|
96
|
-
interactivity: ['click'],
|
|
97
|
-
dataTypes: ['object']
|
|
98
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
color: '#241C39',
|
|
5
|
-
fontWeight: 'bold',
|
|
6
|
-
|
|
7
|
-
'> svg': {
|
|
8
|
-
borderRadius: '100%',
|
|
9
|
-
padding: '.2em',
|
|
10
|
-
background: '#241C39',
|
|
11
|
-
color: 'white',
|
|
12
|
-
marginRight: `${6 / 16}em`
|
|
13
|
-
},
|
|
14
|
-
|
|
15
|
-
span: {
|
|
16
|
-
alignItems: 'center',
|
|
17
|
-
marginLeft: '8px'
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
import CATEGORIES from '../../categories'
|
|
4
|
-
|
|
5
|
-
import style from './style'
|
|
6
|
-
import { KangorooButton } from '@symbo.ls/all'
|
|
7
|
-
|
|
8
|
-
const key = 'button-theme-switcher'
|
|
9
|
-
const title = 'Theme Switcher'
|
|
10
|
-
const description = ''
|
|
11
|
-
const category = CATEGORIES[1]
|
|
12
|
-
|
|
13
|
-
const component = {
|
|
14
|
-
style: style,
|
|
15
|
-
proto: KangorooButton,
|
|
16
|
-
|
|
17
|
-
props: {
|
|
18
|
-
round: 'C',
|
|
19
|
-
theme: 'lightDark',
|
|
20
|
-
size: 'A',
|
|
21
|
-
padding: 'X1 Y X1 A1',
|
|
22
|
-
gap: 'Z1',
|
|
23
|
-
depth: 16,
|
|
24
|
-
|
|
25
|
-
light: {
|
|
26
|
-
icon: 'sun',
|
|
27
|
-
text: 'Light Mode'
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
dark: {
|
|
31
|
-
theme: ['lightDark', 'inverse'],
|
|
32
|
-
round: 'C',
|
|
33
|
-
icon: 'moon',
|
|
34
|
-
padding: 'Z Z1',
|
|
35
|
-
text: 'Dark Mode'
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
iconText: {
|
|
40
|
-
props: el => el.parent.props.light
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
child: {
|
|
44
|
-
props: el => el.parent.props.dark
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
const code = `{
|
|
49
|
-
proto: KangorooButton,
|
|
50
|
-
props: {
|
|
51
|
-
round: 'C',
|
|
52
|
-
theme: 'lightDark',
|
|
53
|
-
size: 'Z',
|
|
54
|
-
|
|
55
|
-
light: {
|
|
56
|
-
icon: 'sun',
|
|
57
|
-
text: 'Light Mode'
|
|
58
|
-
},
|
|
59
|
-
|
|
60
|
-
dark: {
|
|
61
|
-
theme: ['lightDark', 'inverse'],
|
|
62
|
-
round: 'C',
|
|
63
|
-
icon: 'moon',
|
|
64
|
-
text: 'Dark Mode'
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}`
|
|
68
|
-
|
|
69
|
-
const defaultState = {}
|
|
70
|
-
const defaultProps = {
|
|
71
|
-
round: 'C',
|
|
72
|
-
theme: 'lightDark',
|
|
73
|
-
size: 'Z',
|
|
74
|
-
|
|
75
|
-
light: {
|
|
76
|
-
icon: 'sun',
|
|
77
|
-
text: 'Light Mode'
|
|
78
|
-
},
|
|
79
|
-
|
|
80
|
-
dark: {
|
|
81
|
-
theme: ['lightDark', 'inverse'],
|
|
82
|
-
round: 'C',
|
|
83
|
-
icon: 'moon',
|
|
84
|
-
text: 'Dark Mode'
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
const settings = {
|
|
89
|
-
gridOptions: { colspan: 5, rowspan: 2 }
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export default {
|
|
93
|
-
key,
|
|
94
|
-
title,
|
|
95
|
-
description,
|
|
96
|
-
category,
|
|
97
|
-
component,
|
|
98
|
-
code,
|
|
99
|
-
defaultState,
|
|
100
|
-
defaultProps,
|
|
101
|
-
settings,
|
|
102
|
-
interactivity: [],
|
|
103
|
-
dataTypes: []
|
|
104
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
import CATEGORIES from '../../categories'
|
|
4
|
-
|
|
5
|
-
import style from './style'
|
|
6
|
-
import { Button, User } from '@symbo.ls/all'
|
|
7
|
-
|
|
8
|
-
const key = 'button-user'
|
|
9
|
-
const title = 'User Button'
|
|
10
|
-
const description = ''
|
|
11
|
-
const category = CATEGORIES[1]
|
|
12
|
-
|
|
13
|
-
const component = {
|
|
14
|
-
proto: Button,
|
|
15
|
-
tag: 'label',
|
|
16
|
-
style,
|
|
17
|
-
|
|
18
|
-
props: (el, s) => ({
|
|
19
|
-
size: 'A',
|
|
20
|
-
round: 'C',
|
|
21
|
-
depth: 16,
|
|
22
|
-
gap: 'Y2',
|
|
23
|
-
padding: 'W2 A W2 W2',
|
|
24
|
-
icon: 'arrowAngleDown',
|
|
25
|
-
theme: s.sceneTheme === 'light' ? 'lightDark' : 'quaternary'
|
|
26
|
-
}),
|
|
27
|
-
|
|
28
|
-
user: {
|
|
29
|
-
proto: User,
|
|
30
|
-
props: { boxSize: 'B1 B1' },
|
|
31
|
-
class: { dis: { pointerEvents: 'none' } }
|
|
32
|
-
},
|
|
33
|
-
select: {
|
|
34
|
-
attr: {
|
|
35
|
-
name: 'user',
|
|
36
|
-
id: 'user'
|
|
37
|
-
},
|
|
38
|
-
childProto: { tag: 'option' },
|
|
39
|
-
...[
|
|
40
|
-
{ text: 'Kevin' },
|
|
41
|
-
{ text: 'Jay' }
|
|
42
|
-
]
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
const code = `{
|
|
47
|
-
round: 'C',
|
|
48
|
-
icon: 'arrowAngleDown',
|
|
49
|
-
name: 'user',
|
|
50
|
-
id: 'user',
|
|
51
|
-
options: [
|
|
52
|
-
{ text: 'adam' },
|
|
53
|
-
{ text: 'jora' }
|
|
54
|
-
]
|
|
55
|
-
}`
|
|
56
|
-
|
|
57
|
-
const defaultState = {}
|
|
58
|
-
const defaultProps = {
|
|
59
|
-
size: 'A',
|
|
60
|
-
round: 'C',
|
|
61
|
-
depth: 16,
|
|
62
|
-
icon: 'arrowAngleDown',
|
|
63
|
-
theme: 'quaternary'
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
const settings = {
|
|
67
|
-
gridOptions: { colspan: 4, rowspan: 2 }
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export default {
|
|
71
|
-
key,
|
|
72
|
-
title,
|
|
73
|
-
description,
|
|
74
|
-
category,
|
|
75
|
-
component,
|
|
76
|
-
code,
|
|
77
|
-
defaultState,
|
|
78
|
-
defaultProps,
|
|
79
|
-
settings,
|
|
80
|
-
interactivity: [],
|
|
81
|
-
dataTypes: []
|
|
82
|
-
}
|