├── .browserslistrc ├── .editorconfig ├── .eslintrc.js ├── .gitignore ├── .vscode └── extension.json ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE.txt ├── README.md ├── assets ├── layoutit-grid-addyosmani.PNG ├── layoutit-grid-rob_dodson.PNG ├── layoutit-grid-screenshot.PNG ├── layoutit-grid-showcase-v2.gif ├── layoutit-grid-showcase.gif └── layoutit-grid-v2-showcase.gif ├── cypress.json ├── cypress ├── fixtures │ └── example.json ├── integration │ └── basic_render_page.spec.js ├── plugins │ └── index.js └── support │ ├── commands.js │ └── index.js ├── index.html ├── jsconfig.json ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── prettier.config.js ├── public ├── browserconfig.xml ├── favicon.ico ├── img │ ├── icons │ │ ├── android-icon-144x144.png │ │ ├── android-icon-192x192.png │ │ ├── android-icon-36x36.png │ │ ├── android-icon-48x48.png │ │ ├── android-icon-512x512.png │ │ ├── android-icon-72x72.png │ │ ├── android-icon-96x96.png │ │ ├── apple-icon-114x114.png │ │ ├── apple-icon-120x120.png │ │ ├── apple-icon-144x144.png │ │ ├── apple-icon-152x152.png │ │ ├── apple-icon-180x180.png │ │ ├── apple-icon-57x57.png │ │ ├── apple-icon-60x60.png │ │ ├── apple-icon-72x72.png │ │ ├── apple-icon-76x76.png │ │ ├── apple-icon-precomposed.png │ │ ├── apple-icon.png │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ ├── favicon-96x96.png │ │ ├── icon-128x128.png │ │ ├── icon-44x44.png │ │ ├── ms-icon-144x144.png │ │ ├── ms-icon-150x150.png │ │ ├── ms-icon-310x310.png │ │ ├── ms-icon-70x70.png │ │ └── safari-pinned-tab.svg │ └── screenshot.png ├── manifest.json └── robots.txt ├── src ├── App.vue ├── components │ ├── LayoutEditor.vue │ ├── MobileButtons.vue │ ├── area │ │ ├── AreaBox.vue │ │ ├── AreaButtons.vue │ │ ├── AreaEditor.vue │ │ ├── AreaInfo.vue │ │ ├── AreaName.vue │ │ ├── AreaSelection.vue │ │ ├── ElementButton.vue │ │ ├── ElementImage.vue │ │ ├── ElementParagraph.vue │ │ └── ElementPreview.vue │ ├── basic │ │ ├── OptionsButton.vue │ │ ├── SidebarButton.vue │ │ ├── SidebarRight.vue │ │ └── SlideCheckbox.vue │ ├── code │ │ ├── CodeEditor.vue │ │ ├── CodeSanboxButton.vue │ │ ├── CodepenButton.vue │ │ ├── CssCodeArea.vue │ │ ├── CssCodeAreaName.vue │ │ ├── CssCodeAreaOldSpec.vue │ │ ├── CssCodeDeclaration.vue │ │ ├── CssCodeEditor.vue │ │ ├── CssCodeGap.vue │ │ ├── CssCodeGridArea.vue │ │ ├── CssCodeLineName.vue │ │ ├── CssCodeTemplateAreas.vue │ │ ├── CssCodeTemplateTracks.vue │ │ ├── CssCodeTrackSize.vue │ │ ├── ExportButton.vue │ │ ├── HtmlCodeArea.vue │ │ ├── HtmlCodeEditor.vue │ │ ├── LiveCode.vue │ │ ├── LiveCodeOptions.vue │ │ ├── PermalinkBar.vue │ │ └── StackblitzButton.vue │ ├── common │ │ ├── AreaSize.vue │ │ ├── AreaTypeSelect.vue │ │ ├── DisplaySelect.vue │ │ ├── GapInput.vue │ │ ├── GridAutoFlowSelect.vue │ │ ├── PlacementPicker.vue │ │ └── UnitSelect.vue │ ├── content │ │ └── PieChart.vue │ ├── flex │ │ └── FlexEditor.vue │ ├── grid │ │ ├── GridCell.vue │ │ ├── GridEditor.vue │ │ ├── GridIntersection.vue │ │ ├── GridLine.vue │ │ ├── GridTrack.vue │ │ ├── GridTrackSize.vue │ │ ├── LineName.vue │ │ └── TrackSize.vue │ ├── icons │ │ ├── IconAdd.vue │ │ ├── IconAddArea.vue │ │ ├── IconAlignAround.vue │ │ ├── IconAlignBetween.vue │ │ ├── IconAlignCenter.vue │ │ ├── IconAlignEnd.vue │ │ ├── IconAlignEvenly.vue │ │ ├── IconAlignStart.vue │ │ ├── IconAlignStretch.vue │ │ ├── IconClear.vue │ │ ├── IconCodepen.vue │ │ ├── IconCodesandbox.vue │ │ ├── IconDark.vue │ │ ├── IconEdit.vue │ │ ├── IconFlex.vue │ │ ├── IconFlowCol.vue │ │ ├── IconFlowDense.vue │ │ ├── IconFlowRow.vue │ │ ├── IconGithub.vue │ │ ├── IconJustifyAround.vue │ │ ├── IconJustifyBetween.vue │ │ ├── IconJustifyCenter.vue │ │ ├── IconJustifyEnd.vue │ │ ├── IconJustifyEvenly.vue │ │ ├── IconJustifyStart.vue │ │ ├── IconJustifyStretch.vue │ │ ├── IconLink.vue │ │ ├── IconRedo.vue │ │ ├── IconRefresh.vue │ │ ├── IconRemove.vue │ │ ├── IconSidebar.vue │ │ ├── IconStackblitz.vue │ │ ├── IconSubgrid.vue │ │ ├── IconTrash.vue │ │ └── IconUndo.vue │ ├── props │ │ ├── AreaAccordionItem.vue │ │ ├── AreaBoxProps.vue │ │ ├── AreaContentProps.vue │ │ ├── AreaFlexProps.vue │ │ ├── AreaGridContentPlacementProps.vue │ │ ├── AreaGridGapProps.vue │ │ ├── AreaGridImplicitProps.vue │ │ ├── AreaGridItemsPlacementProps.vue │ │ ├── AreaGridTemplateProps.vue │ │ ├── AreaProps.vue │ │ ├── AreaSelfFlexProps.vue │ │ ├── AreaSelfGridProps.vue │ │ ├── AreaTree.vue │ │ ├── BrandBanner.vue │ │ ├── BrandLogo.vue │ │ ├── DarkModeButton.vue │ │ ├── HireUs.vue │ │ ├── PropsAccordion.vue │ │ ├── PropsAccordionItem.vue │ │ ├── PropsHeader.vue │ │ ├── PropsSidebar.vue │ │ └── VersionLabel.vue │ └── utils │ │ └── highlight.js ├── composables │ ├── area.js │ ├── index.js │ └── lineName.js ├── generateCode.js ├── main.ts ├── shims-vue.d.ts ├── store.js ├── store │ ├── area.js │ ├── flex.js │ └── grid.ts ├── types.ts ├── types │ └── area.ts ├── utils.js └── utils │ ├── grid.js │ └── keyMonitor.js ├── tsconfig.json └── vite.config.ts /.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not ie <= 10 4 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | 2 | root = true 3 | 4 | [*] 5 | indent_size = 2 6 | charset = utf-8 7 | end_of_line = lf 8 | indent_style = space 9 | insert_final_newline = true 10 | trim_trailing_whitespace = true 11 | max_line_length = 120 12 | 13 | [*.md] 14 | max_line_length = off 15 | 16 | [package.json] 17 | indent_style = space 18 | indent_size = 2 19 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | env: { 4 | node: true, 5 | }, 6 | extends: [ 7 | // add more generic rulesets here, such as: 8 | // 'eslint:recommended', 9 | 'plugin:vue/vue3-recommended', 10 | 'prettier', 11 | '@vue/typescript/recommended', 12 | 'plugin:@typescript-eslint/recommended', 13 | ], 14 | parser: 'vue-eslint-parser', 15 | rules: { 16 | 'no-console': 'off', 17 | 'no-debugger': 'off', 18 | 'vue/no-mutating-props': 0, 19 | 'vue/no-setup-props-destructure': 0, 20 | '@typescript-eslint/ban-ts-comment': 'off', 21 | }, 22 | parserOptions: { 23 | parser: '@typescript-eslint/parser', 24 | }, 25 | } 26 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | *.local 5 | .vercel 6 | debug.log 7 | package-lock.json 8 | yarn.lock 9 | # intellij stuff 10 | .idea/ 11 | cypress/videos 12 | cypress/screenshots -------------------------------------------------------------------------------- /.vscode/extension.json: -------------------------------------------------------------------------------- 1 | { 2 | "recomendantions": ["johnsoncodehk.volar"] 3 | } 4 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | 2 | # Contributor Covenant Code of Conduct 3 | 4 | ## Our Pledge 5 | 6 | We as members, contributors, and leaders pledge to make participation in our 7 | community a harassment-free experience for everyone, regardless of age, body 8 | size, visible or invisible disability, ethnicity, sex characteristics, gender 9 | identity and expression, level of experience, education, socio-economic status, 10 | nationality, personal appearance, race, religion, or sexual identity 11 | and orientation. 12 | 13 | We pledge to act and interact in ways that contribute to an open, welcoming, 14 | diverse, inclusive, and healthy community. 15 | 16 | ## Our Standards 17 | 18 | Examples of behavior that contributes to a positive environment for our 19 | community include: 20 | 21 | * Demonstrating empathy and kindness toward other people 22 | * Being respectful of differing opinions, viewpoints, and experiences 23 | * Giving and gracefully accepting constructive feedback 24 | * Accepting responsibility and apologizing to those affected by our mistakes, 25 | and learning from the experience 26 | * Focusing on what is best not just for us as individuals, but for the 27 | overall community 28 | 29 | Examples of unacceptable behavior include: 30 | 31 | * The use of sexualized language or imagery, and sexual attention or 32 | advances of any kind 33 | * Trolling, insulting or derogatory comments, and personal or political attacks 34 | * Public or private harassment 35 | * Publishing others' private information, such as a physical or email 36 | address, without their explicit permission 37 | * Other conduct which could reasonably be considered inappropriate in a 38 | professional setting 39 | 40 | ## Enforcement Responsibilities 41 | 42 | Community leaders are responsible for clarifying and enforcing our standards of 43 | acceptable behavior and will take appropriate and fair corrective action in 44 | response to any behavior that they deem inappropriate, threatening, offensive, 45 | or harmful. 46 | 47 | Community leaders have the right and responsibility to remove, edit, or reject 48 | comments, commits, code, wiki edits, issues, and other contributions that are 49 | not aligned to this Code of Conduct, and will communicate reasons for moderation 50 | decisions when appropriate. 51 | 52 | ## Scope 53 | 54 | This Code of Conduct applies within all community spaces, and also applies when 55 | an individual is officially representing the community in public spaces. 56 | Examples of representing our community include using an official e-mail address, 57 | posting via an official social media account, or acting as an appointed 58 | representative at an online or offline event. 59 | 60 | ## Enforcement 61 | 62 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 63 | reported to the community leaders responsible for enforcement at 64 | incidents@leniolabs.com. 65 | All complaints will be reviewed and investigated promptly and fairly. 66 | 67 | All community leaders are obligated to respect the privacy and security of the 68 | reporter of any incident. 69 | 70 | ## Enforcement Guidelines 71 | 72 | Community leaders will follow these Community Impact Guidelines in determining 73 | the consequences for any action they deem in violation of this Code of Conduct: 74 | 75 | ### 1. Correction 76 | 77 | **Community Impact**: Use of inappropriate language or other behavior deemed 78 | unprofessional or unwelcome in the community. 79 | 80 | **Consequence**: A private, written warning from community leaders, providing 81 | clarity around the nature of the violation and an explanation of why the 82 | behavior was inappropriate. A public apology may be requested. 83 | 84 | ### 2. Warning 85 | 86 | **Community Impact**: A violation through a single incident or series 87 | of actions. 88 | 89 | **Consequence**: A warning with consequences for continued behavior. No 90 | interaction with the people involved, including unsolicited interaction with 91 | those enforcing the Code of Conduct, for a specified period of time. This 92 | includes avoiding interactions in community spaces as well as external channels 93 | like social media. Violating these terms may lead to a temporary or 94 | permanent ban. 95 | 96 | ### 3. Temporary Ban 97 | 98 | **Community Impact**: A serious violation of community standards, including 99 | sustained inappropriate behavior. 100 | 101 | **Consequence**: A temporary ban from any sort of interaction or public 102 | communication with the community for a specified period of time. No public or 103 | private interaction with the people involved, including unsolicited interaction 104 | with those enforcing the Code of Conduct, is allowed during this period. 105 | Violating these terms may lead to a permanent ban. 106 | 107 | ### 4. Permanent Ban 108 | 109 | **Community Impact**: Demonstrating a pattern of violation of community 110 | standards, including sustained inappropriate behavior, harassment of an 111 | individual, or aggression toward or disparagement of classes of individuals. 112 | 113 | **Consequence**: A permanent ban from any sort of public interaction within 114 | the community. 115 | 116 | ## Attribution 117 | 118 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], 119 | version 2.0, available at 120 | https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. 121 | 122 | Community Impact Guidelines were inspired by [Mozilla's code of conduct 123 | enforcement ladder](https://github.com/mozilla/diversity). 124 | 125 | [homepage]: https://www.contributor-covenant.org 126 | 127 | For answers to common questions about this code of conduct, see the FAQ at 128 | https://www.contributor-covenant.org/faq. Translations are available at 129 | https://www.contributor-covenant.org/translations. 130 | 131 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | ## Setup 4 | 5 | ### Option 1 - Manual 6 | 7 | 1. Fork and clone the repo 8 | 1. Install `pnpm` (https://pnpm.io/installation) 9 | 1. Run `pnpm install` to install dependencies 10 | 1. Create a branch for your PR with `git checkout -b your-branch-name` 11 | 12 | > To keep `main` branch pointing to remote repository and make 13 | > pull requests from branches on your fork. To do this, run: 14 | > 15 | > ```sh 16 | > git remote add upstream https://github.com/Leniolabs/layoutit-grid.git 17 | > git fetch upstream 18 | > git branch --set-upstream-to=upstream/main main 19 | > ``` 20 | 21 | ### Option 2 - CodeSandbox 22 | 23 | 1. Go to https://codesandbox.io/s/github/Leniolabs/layoutit-grid 24 | 1. Connect your Github account 25 | 1. Go to Git tab on left side 26 | 1. Tap on `Fork Sandbox` 27 | 1. Write your code 28 | 1. Commit and PR automatically 29 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017-2020 Leniolabs 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Layoutit Grid 2 | 3 | _CSS Grids layouts made easy!_ 4 | 5 | _Layoutit grid_ is a CSS Grid layout generator. Quickly design web pages layouts with our clean editor, and get HTML and CSS code to quickstart your next project. 6 | 7 | **Read about the process of [Open Sourcing Layoutit Grid, and why we are using Vue 3 and Vite](https://leniolabs.com/software/development/2020/09/23/open-source-layoutit.html?utm_source=layoutit&utm_medium=banner&utm_campaign=leniolabs&utm_content=grid_github)** :heart: 8 | 9 | ## Use the tool 10 | 11 | Go to https://grid.layoutit.com/ and start playing :dart: 12 | 13 | 14 | 15 | This App is not currently intended to be used as a library, but may in the future. The package in npm is just a placeholder to help discovering the github repository at this point. 16 | 17 | ## Why we built a Generator 18 | 19 | Generators can be a stepping stone when you are learning new concepts. Layoutit Grid helps you experience the power of CSS Grid by materializing your designs in a few clicks along with the code to make it happen. This gives you the early wins that you need to push forward with the learning process. For some of us, generators permanently remain in our toolboxes. Not because we do not know how to craft the layouts by hand, but because having the visual feedback loop help us to quickly convert our ideas into code. So we keep playing with them. 20 | 21 | Read more about [learning CSS Grid visually with a generator here](https://css-tricks.com/layoutit-grid-learning-css-grid-visually-with-a-generator/) 22 | 23 | ## Run it locally 24 | 25 | These instructions will get you a copy of the project up and running on your local machine for development 26 | 27 | ### Clone the repo 28 | 29 | Use ssh 30 | 31 | ```bash 32 | git clone git@github.com:Leniolabs/layoutit-grid.git 33 | ``` 34 | 35 | Or https 36 | 37 | ```bash 38 | git clone https://github.com/leniolabs/layoutit-grid.git 39 | ``` 40 | ### Run it 41 | 1. Install `pnpm` (https://pnpm.io/installation) 42 | 2. In the repo folder run 43 | ```bash 44 | pnpm install 45 | pnpm start 46 | ``` 47 | 48 | Your dev server will start and be running at 49 | 50 | ```bash 51 | > Local: http://localhost:3000/ 52 | ``` 53 | 54 | #### Commands 55 | 56 | | Command | Description | 57 | | --------------- | ----------------------------- | 58 | | `pnpm install` | Install the dependencies | 59 | | `pnpm start` | Run the project (in dev mode) | 60 | | `pnpm run build` | Build for deployment | 61 | 62 | ## Contributing 63 | 64 | [Ideas](https://github.com/leniolabs/layoutit-grid/issues/new), pull requests and bug reports are welcome. 65 | 66 | ## Libs and Tools used 67 | 68 | - [Vue 3](https://v3.vuejs.org) Vue.js - The Progressive JavaScript Framework. 69 | - [Vueuse](https://vueuse.js.org/) Collection of essential Vue Composition Utilities 70 | - [Vite](https://github.com/vitejs/vite) Next generation frontend tooling. It's fast! 71 | - [vite-plugin-pwa](https://github.com/antfu/vite-plugin-pwa) Zero-config PWA for Vite 72 | - [vite-plugin-components](https://github.com/antfu/vite-plugin-components) On demand components auto importing for Vite 73 | 74 | ## Mentions 75 | 76 | 77 |
78 |
79 | 80 | 81 | ## Creators 82 | 83 | Layoutit grid is crafted with love by [Leniolabs](https://www.leniolabs.com/services/team-augmentation/?utm_source=layoutit&utm_medium=banner&utm_campaign=leniolabs&utm_content=grid_github) and a growing community of contributors. We build digital experiences with your ideas. [Get in touch!](https://www.leniolabs.com/services/team-augmentation/?utm_source=layoutit&utm_medium=banner&utm_campaign=leniolabs&utm_content=grid_github) -------------------------------------------------------------------------------- /assets/layoutit-grid-addyosmani.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/assets/layoutit-grid-addyosmani.PNG -------------------------------------------------------------------------------- /assets/layoutit-grid-rob_dodson.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/assets/layoutit-grid-rob_dodson.PNG -------------------------------------------------------------------------------- /assets/layoutit-grid-screenshot.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/assets/layoutit-grid-screenshot.PNG -------------------------------------------------------------------------------- /assets/layoutit-grid-showcase-v2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/assets/layoutit-grid-showcase-v2.gif -------------------------------------------------------------------------------- /assets/layoutit-grid-showcase.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/assets/layoutit-grid-showcase.gif -------------------------------------------------------------------------------- /assets/layoutit-grid-v2-showcase.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/assets/layoutit-grid-v2-showcase.gif -------------------------------------------------------------------------------- /cypress.json: -------------------------------------------------------------------------------- 1 | { 2 | "chromeWebSecurity": false 3 | } -------------------------------------------------------------------------------- /cypress/fixtures/example.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Using fixtures to represent data", 3 | "email": "hello@cypress.io", 4 | "body": "Fixtures are a great way to mock data for responses to routes" 5 | } 6 | -------------------------------------------------------------------------------- /cypress/integration/basic_render_page.spec.js: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | describe('Layoutit! Basic Page Render', () => { 4 | beforeEach(() => { 5 | cy.openApp() 6 | }) 7 | 8 | describe('Sidebar: brand logo', () => { 9 | it('elements should be rendered', () => { 10 | cy.get('.sidebar .sidebar-logo').should('be.visible') 11 | cy.get('.sidebar [data-testid=brand-logo-image]').should('be.visible') 12 | cy.get('.sidebar [data-testid=brand-logo-svg]').should('be.visible') 13 | cy.get('.sidebar [data-testid=version-selector]').should('be.visible') 14 | cy.get('.sidebar [data-testid=version-selector]').should('have.length', 1) 15 | }) 16 | it('should display v2 as default version', () => { 17 | cy.get('.sidebar [data-testid=version-selector] option').should('have.length', 2) 18 | cy.get('.sidebar [data-testid=version-selector]').should('have.value', 'v2') 19 | }) 20 | it('be able to change the version to v1', () => { 21 | cy.get('.sidebar [data-testid=version-selector]').select('v1') 22 | cy.get('.sidebar [data-testid=version-selector]').should('have.length', 0) 23 | cy.get('h2').contains('Grid Columns') // is not there on v1 24 | }) 25 | }) 26 | }) 27 | -------------------------------------------------------------------------------- /cypress/plugins/index.js: -------------------------------------------------------------------------------- 1 | /// 2 | // *********************************************************** 3 | // This example plugins/index.js can be used to load plugins 4 | // 5 | // You can change the location of this file or turn off loading 6 | // the plugins file with the 'pluginsFile' configuration option. 7 | // 8 | // You can read more here: 9 | // https://on.cypress.io/plugins-guide 10 | // *********************************************************** 11 | 12 | // This function is called when a project is opened or re-opened (e.g. due to 13 | // the project's config changing) 14 | 15 | /** 16 | * @type {Cypress.PluginConfig} 17 | */ 18 | // eslint-disable-next-line no-unused-vars 19 | module.exports = (on, config) => { 20 | // `on` is used to hook into various events Cypress emits 21 | // `config` is the resolved Cypress config 22 | } 23 | -------------------------------------------------------------------------------- /cypress/support/commands.js: -------------------------------------------------------------------------------- 1 | // *********************************************** 2 | // This example commands.js shows you how to 3 | // create various custom commands and overwrite 4 | // existing commands. 5 | // 6 | // For more comprehensive examples of custom 7 | // commands please read more here: 8 | // https://on.cypress.io/custom-commands 9 | // *********************************************** 10 | // 11 | // 12 | const local = 'http://localhost:3000' 13 | Cypress.Commands.add('openApp', () => { 14 | cy.visit(local) 15 | }) 16 | -------------------------------------------------------------------------------- /cypress/support/index.js: -------------------------------------------------------------------------------- 1 | // *********************************************************** 2 | // This example support/index.js is processed and 3 | // loaded automatically before your test files. 4 | // 5 | // This is a great place to put global configuration and 6 | // behavior that modifies Cypress. 7 | // 8 | // You can change the location of this file or turn off 9 | // automatically serving support files with the 10 | // 'supportFile' configuration option. 11 | // 12 | // You can read more here: 13 | // https://on.cypress.io/configuration 14 | // *********************************************************** 15 | 16 | // Import commands.js using ES2015 syntax: 17 | import './commands' 18 | 19 | // Alternatively you can use CommonJS syntax: 20 | // require('./commands') 21 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Interactive CSS Grid Generator | Layoutit Grid 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "layoutit-grid", 3 | "version": "2.1.0", 4 | "license": "MIT", 5 | "scripts": { 6 | "dev": "vite --open", 7 | "start": "vite --open", 8 | "build": "vue-tsc --noEmit && vite build", 9 | "build-no-typing": "vite build", 10 | "build-serve": "npm run build && vite preview --open", 11 | "lint": "eslint --ext .js,.vue src", 12 | "lint:fix": "eslint --ext .js,.vue src --fix", 13 | "test:open": "cypress open", 14 | "test": "cypress run" 15 | }, 16 | "dependencies": { 17 | "@stackblitz/sdk": "^1.5.3", 18 | "@vueuse/core": "^6.0.0", 19 | "lz-string": "1.4.4", 20 | "nanoid": "^3.1.23", 21 | "pepjs": "0.5.3", 22 | "vue": "^3.2.21", 23 | "vue-global-api": "^0.2.4", 24 | "vue-resizable": "^2.0.5" 25 | }, 26 | "devDependencies": { 27 | "@cypress/vue": "^3.1.1", 28 | "@cypress/webpack-dev-server": "^1.8.1", 29 | "cypress": "^9.4.1", 30 | "@typescript-eslint/eslint-plugin": "^4.26.0", 31 | "@typescript-eslint/parser": "^4.26.0", 32 | "@vitejs/plugin-vue": "^1.9.4", 33 | "@vue/compiler-sfc": "^3.2.21", 34 | "@vue/eslint-config-typescript": "^7.0.0", 35 | "eslint": "^7.27.0", 36 | "eslint-config-prettier": "^8.3.0", 37 | "eslint-plugin-prettier": "^3.4.0", 38 | "eslint-plugin-vue": "^7.10.0", 39 | "husky": "^4.3.0", 40 | "lint-staged": "^11.0.0", 41 | "pnpm": "^6.15.2", 42 | "postcss-nested": "^5.0.5", 43 | "prettier": "^2.3.0", 44 | "typescript": "^4.3.2", 45 | "unplugin-vue-components": "^0.14.0", 46 | "vite": "^2.6.14", 47 | "vite-plugin-pwa": "^0.11.5", 48 | "vue-eslint-parser": "^7.6.0", 49 | "vue-tsc": "^0.2.1", 50 | "workbox-build": "6.4.0", 51 | "workbox-window": "6.4.0" 52 | }, 53 | "bugs": { 54 | "url": "https://github.com/leniolabs/layoutit-grid/issues" 55 | }, 56 | "lint-staged": { 57 | "src/**/*.{js,vue}": [ 58 | "eslint --fix", 59 | "prettier --write" 60 | ] 61 | }, 62 | "husky": { 63 | "hooks": { 64 | "pre-commit": "lint-staged" 65 | } 66 | } 67 | } -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | "postcss-nested": {} 4 | } 5 | }; -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | semi: false, 3 | singleQuote: true, 4 | printWidth: 120 5 | } 6 | -------------------------------------------------------------------------------- /public/browserconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | #1947E5 -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/favicon.ico -------------------------------------------------------------------------------- /public/img/icons/android-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/android-icon-144x144.png -------------------------------------------------------------------------------- /public/img/icons/android-icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/android-icon-192x192.png -------------------------------------------------------------------------------- /public/img/icons/android-icon-36x36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/android-icon-36x36.png -------------------------------------------------------------------------------- /public/img/icons/android-icon-48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/android-icon-48x48.png -------------------------------------------------------------------------------- /public/img/icons/android-icon-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/android-icon-512x512.png -------------------------------------------------------------------------------- /public/img/icons/android-icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/android-icon-72x72.png -------------------------------------------------------------------------------- /public/img/icons/android-icon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/android-icon-96x96.png -------------------------------------------------------------------------------- /public/img/icons/apple-icon-114x114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/apple-icon-114x114.png -------------------------------------------------------------------------------- /public/img/icons/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/apple-icon-120x120.png -------------------------------------------------------------------------------- /public/img/icons/apple-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/apple-icon-144x144.png -------------------------------------------------------------------------------- /public/img/icons/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/apple-icon-152x152.png -------------------------------------------------------------------------------- /public/img/icons/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/apple-icon-180x180.png -------------------------------------------------------------------------------- /public/img/icons/apple-icon-57x57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/apple-icon-57x57.png -------------------------------------------------------------------------------- /public/img/icons/apple-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/apple-icon-60x60.png -------------------------------------------------------------------------------- /public/img/icons/apple-icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/apple-icon-72x72.png -------------------------------------------------------------------------------- /public/img/icons/apple-icon-76x76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/apple-icon-76x76.png -------------------------------------------------------------------------------- /public/img/icons/apple-icon-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/apple-icon-precomposed.png -------------------------------------------------------------------------------- /public/img/icons/apple-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/apple-icon.png -------------------------------------------------------------------------------- /public/img/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/favicon-16x16.png -------------------------------------------------------------------------------- /public/img/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/favicon-32x32.png -------------------------------------------------------------------------------- /public/img/icons/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/favicon-96x96.png -------------------------------------------------------------------------------- /public/img/icons/icon-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/icon-128x128.png -------------------------------------------------------------------------------- /public/img/icons/icon-44x44.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/icon-44x44.png -------------------------------------------------------------------------------- /public/img/icons/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/ms-icon-144x144.png -------------------------------------------------------------------------------- /public/img/icons/ms-icon-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/ms-icon-150x150.png -------------------------------------------------------------------------------- /public/img/icons/ms-icon-310x310.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/ms-icon-310x310.png -------------------------------------------------------------------------------- /public/img/icons/ms-icon-70x70.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/icons/ms-icon-70x70.png -------------------------------------------------------------------------------- /public/img/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LayoutitStudio/layoutit-grid/bac9964b1d23a361f3ef9e67b0fdd2d990b48a1a/public/img/screenshot.png -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "LayoutIt Grid", 3 | "short_name": "LayoutIt Grid", 4 | "icons": [ 5 | { 6 | "src": "/img/icons/icon-128x128.png", 7 | "sizes": "128x128", 8 | "purpose": "maskable", 9 | "type": "image/png" 10 | }, 11 | { 12 | "src": "/img/icons/android-icon-36x36.png", 13 | "sizes": "36x36", 14 | "type": "image/png", 15 | "purpose": "maskable", 16 | "density": "0.75" 17 | }, 18 | { 19 | "src": "/img/icons/android-icon-48x48.png", 20 | "sizes": "48x48", 21 | "type": "image/png", 22 | "purpose": "maskable", 23 | "density": "1.0" 24 | }, 25 | { 26 | "src": "/img/icons/android-icon-72x72.png", 27 | "sizes": "72x72", 28 | "type": "image/png", 29 | "purpose": "maskable", 30 | "density": "1.5" 31 | }, 32 | { 33 | "src": "/img/icons/android-icon-96x96.png", 34 | "sizes": "96x96", 35 | "type": "image/png", 36 | "purpose": "maskable", 37 | "density": "2.0" 38 | }, 39 | { 40 | "src": "/img/icons/android-icon-144x144.png", 41 | "sizes": "144x144", 42 | "type": "image/png", 43 | "density": "3.0" 44 | }, 45 | { 46 | "src": "/img/icons/android-icon-192x192.png", 47 | "sizes": "192x192", 48 | "type": "image/png", 49 | "purpose": "maskable", 50 | "density": "4.0" 51 | } 52 | ], 53 | "start_url": "/index.html", 54 | "display": "standalone", 55 | "orientation":"portrait-primary", 56 | "background_color": "#1d032d", 57 | "theme_color": "#1d032d", 58 | "lang": "English", 59 | "screenshots": [ 60 | { 61 | "src": "img/screenshot.png", 62 | "sizes": "1280x800", 63 | "type": "image/png" 64 | } 65 | ], 66 | "description": " Layoutit Grid is an interactive open source CSS Grid generator.", 67 | "categories": ["education", "personalization", "productivity", "utilities"] 68 | } 69 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/components/LayoutEditor.vue: -------------------------------------------------------------------------------- 1 | 13 | 14 | 33 | 34 | 229 | -------------------------------------------------------------------------------- /src/components/MobileButtons.vue: -------------------------------------------------------------------------------- 1 | 11 | 12 | 45 | -------------------------------------------------------------------------------- /src/components/area/AreaBox.vue: -------------------------------------------------------------------------------- 1 | 31 | 32 | 53 | -------------------------------------------------------------------------------- /src/components/area/AreaButtons.vue: -------------------------------------------------------------------------------- 1 | 46 | 47 | 75 | 76 | 134 | -------------------------------------------------------------------------------- /src/components/area/AreaInfo.vue: -------------------------------------------------------------------------------- 1 | 28 | 29 | 44 | 45 | 58 | -------------------------------------------------------------------------------- /src/components/area/AreaName.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 11 | 12 | 30 | -------------------------------------------------------------------------------- /src/components/area/ElementButton.vue: -------------------------------------------------------------------------------- 1 | 27 | 28 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /src/components/area/ElementImage.vue: -------------------------------------------------------------------------------- 1 | 17 | 18 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/components/area/ElementParagraph.vue: -------------------------------------------------------------------------------- 1 | 7 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/components/area/ElementPreview.vue: -------------------------------------------------------------------------------- 1 | 51 | 52 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /src/components/basic/OptionsButton.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 30 | -------------------------------------------------------------------------------- /src/components/basic/SidebarButton.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 31 | -------------------------------------------------------------------------------- /src/components/basic/SidebarRight.vue: -------------------------------------------------------------------------------- 1 | 18 | 19 | 52 | 53 | 88 | -------------------------------------------------------------------------------- /src/components/basic/SlideCheckbox.vue: -------------------------------------------------------------------------------- 1 | 9 | 10 | 17 | 18 | 28 | -------------------------------------------------------------------------------- /src/components/code/CodeEditor.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | 31 | 32 | 149 | -------------------------------------------------------------------------------- /src/components/code/CodeSanboxButton.vue: -------------------------------------------------------------------------------- 1 | 59 | 60 | 67 | -------------------------------------------------------------------------------- /src/components/code/CodepenButton.vue: -------------------------------------------------------------------------------- 1 | 26 | 27 | 42 | -------------------------------------------------------------------------------- /src/components/code/CssCodeArea.vue: -------------------------------------------------------------------------------- 1 | 44 | 45 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /src/components/code/CssCodeAreaName.vue: -------------------------------------------------------------------------------- 1 | 18 | 19 | 46 | 47 | 59 | -------------------------------------------------------------------------------- /src/components/code/CssCodeAreaOldSpec.vue: -------------------------------------------------------------------------------- 1 | 27 | 28 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /src/components/code/CssCodeDeclaration.vue: -------------------------------------------------------------------------------- 1 | 5 | 6 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/components/code/CssCodeEditor.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | 20 | 21 | 50 | -------------------------------------------------------------------------------- /src/components/code/CssCodeGap.vue: -------------------------------------------------------------------------------- 1 | 13 | 14 | 31 | 32 | 42 | -------------------------------------------------------------------------------- /src/components/code/CssCodeGridArea.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 16 | 17 | 27 | -------------------------------------------------------------------------------- /src/components/code/CssCodeLineName.vue: -------------------------------------------------------------------------------- 1 | 18 | 19 | 42 | 43 | 54 | -------------------------------------------------------------------------------- /src/components/code/CssCodeTemplateAreas.vue: -------------------------------------------------------------------------------- 1 | 27 | 28 | 49 | 50 | 61 | -------------------------------------------------------------------------------- /src/components/code/CssCodeTemplateTracks.vue: -------------------------------------------------------------------------------- 1 | 26 | 27 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /src/components/code/CssCodeTrackSize.vue: -------------------------------------------------------------------------------- 1 | 18 | 19 | 52 | 53 | 68 | -------------------------------------------------------------------------------- /src/components/code/ExportButton.vue: -------------------------------------------------------------------------------- 1 | 7 | 8 | 32 | 33 | 58 | -------------------------------------------------------------------------------- /src/components/code/HtmlCodeEditor.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 16 | 17 | 38 | -------------------------------------------------------------------------------- /src/components/code/LiveCode.vue: -------------------------------------------------------------------------------- 1 | 38 | 39 | 104 | 105 | 229 | -------------------------------------------------------------------------------- /src/components/code/LiveCodeOptions.vue: -------------------------------------------------------------------------------- 1 | 53 | 54 | 61 | 62 | 165 | -------------------------------------------------------------------------------- /src/components/code/PermalinkBar.vue: -------------------------------------------------------------------------------- 1 | 9 | 10 | 19 | 20 | 57 | -------------------------------------------------------------------------------- /src/components/code/StackblitzButton.vue: -------------------------------------------------------------------------------- 1 | 68 | 69 | 74 | -------------------------------------------------------------------------------- /src/components/common/AreaSize.vue: -------------------------------------------------------------------------------- 1 | 21 | 22 | 58 | 59 | 192 | -------------------------------------------------------------------------------- /src/components/common/AreaTypeSelect.vue: -------------------------------------------------------------------------------- 1 | 9 | 10 | 23 | 24 | 43 | -------------------------------------------------------------------------------- /src/components/common/DisplaySelect.vue: -------------------------------------------------------------------------------- 1 | 18 | 19 | 29 | 30 | 100 | -------------------------------------------------------------------------------- /src/components/common/GapInput.vue: -------------------------------------------------------------------------------- 1 | 15 | 16 | 46 | 47 | 180 | -------------------------------------------------------------------------------- /src/components/common/GridAutoFlowSelect.vue: -------------------------------------------------------------------------------- 1 | 32 | 63 | 152 | -------------------------------------------------------------------------------- /src/components/common/UnitSelect.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 38 | 39 | 53 | -------------------------------------------------------------------------------- /src/components/content/PieChart.vue: -------------------------------------------------------------------------------- 1 | 74 | -------------------------------------------------------------------------------- /src/components/flex/FlexEditor.vue: -------------------------------------------------------------------------------- 1 | 11 | 12 | 24 | 25 | 53 | -------------------------------------------------------------------------------- /src/components/grid/GridCell.vue: -------------------------------------------------------------------------------- 1 | 33 | 34 | 87 | 88 | 129 | -------------------------------------------------------------------------------- /src/components/grid/GridIntersection.vue: -------------------------------------------------------------------------------- 1 | 19 | 20 | 62 | 63 | 94 | -------------------------------------------------------------------------------- /src/components/grid/GridTrack.vue: -------------------------------------------------------------------------------- 1 | 36 | 37 | 99 | 100 | 173 | -------------------------------------------------------------------------------- /src/components/grid/GridTrackSize.vue: -------------------------------------------------------------------------------- 1 | 11 | 12 | 33 | 34 | 51 | -------------------------------------------------------------------------------- /src/components/grid/LineName.vue: -------------------------------------------------------------------------------- 1 | 17 | 18 | 72 | 73 | 127 | -------------------------------------------------------------------------------- /src/components/grid/TrackSize.vue: -------------------------------------------------------------------------------- 1 | 16 | 17 | 64 | 65 | 90 | -------------------------------------------------------------------------------- /src/components/icons/IconAdd.vue: -------------------------------------------------------------------------------- 1 | 19 | 24 | -------------------------------------------------------------------------------- /src/components/icons/IconAddArea.vue: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /src/components/icons/IconAlignAround.vue: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /src/components/icons/IconAlignBetween.vue: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /src/components/icons/IconAlignCenter.vue: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /src/components/icons/IconAlignEnd.vue: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /src/components/icons/IconAlignEvenly.vue: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /src/components/icons/IconAlignStart.vue: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /src/components/icons/IconAlignStretch.vue: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /src/components/icons/IconClear.vue: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /src/components/icons/IconCodepen.vue: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /src/components/icons/IconCodesandbox.vue: -------------------------------------------------------------------------------- 1 | 14 | -------------------------------------------------------------------------------- /src/components/icons/IconDark.vue: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /src/components/icons/IconEdit.vue: -------------------------------------------------------------------------------- 1 | 19 | -------------------------------------------------------------------------------- /src/components/icons/IconFlex.vue: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /src/components/icons/IconFlowCol.vue: -------------------------------------------------------------------------------- 1 | 15 | -------------------------------------------------------------------------------- /src/components/icons/IconFlowDense.vue: -------------------------------------------------------------------------------- 1 | 15 | -------------------------------------------------------------------------------- /src/components/icons/IconFlowRow.vue: -------------------------------------------------------------------------------- 1 | 15 | -------------------------------------------------------------------------------- /src/components/icons/IconGithub.vue: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /src/components/icons/IconJustifyAround.vue: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /src/components/icons/IconJustifyBetween.vue: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /src/components/icons/IconJustifyCenter.vue: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /src/components/icons/IconJustifyEnd.vue: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /src/components/icons/IconJustifyEvenly.vue: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /src/components/icons/IconJustifyStart.vue: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /src/components/icons/IconJustifyStretch.vue: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /src/components/icons/IconLink.vue: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /src/components/icons/IconRedo.vue: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /src/components/icons/IconRefresh.vue: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /src/components/icons/IconRemove.vue: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /src/components/icons/IconSidebar.vue: -------------------------------------------------------------------------------- 1 | 19 | -------------------------------------------------------------------------------- /src/components/icons/IconStackblitz.vue: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /src/components/icons/IconSubgrid.vue: -------------------------------------------------------------------------------- 1 | 19 | -------------------------------------------------------------------------------- /src/components/icons/IconTrash.vue: -------------------------------------------------------------------------------- 1 | 17 | -------------------------------------------------------------------------------- /src/components/icons/IconUndo.vue: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /src/components/props/AreaAccordionItem.vue: -------------------------------------------------------------------------------- 1 | 51 | 52 | 59 | 60 | 230 | -------------------------------------------------------------------------------- /src/components/props/AreaBoxProps.vue: -------------------------------------------------------------------------------- 1 | 30 | 31 | 45 | 46 | 189 | -------------------------------------------------------------------------------- /src/components/props/AreaContentProps.vue: -------------------------------------------------------------------------------- 1 |