Skip to content

fix: docs and site fixes #478

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# angular-split [![npm latest version](https://img.shields.io/npm/v/angular-split/latest.svg?style=flat-square)](https://www.npmjs.com/package/angular-split) [![NPM next version](https://img.shields.io/npm/v/angular-split/next.svg?style=flat-square)](https://www.npmjs.com/package/angular-split) [![Discord](https://img.shields.io/discord/748677963142135818?color=7289DA&label=Angular%20Discord&logo=discord&logoColor=white&style=flat-square)](https://discord.gg/Qm9MPCg)

Angular UI library to split views and allow dragging to resize areas using CSS flexbox layout.
Angular UI library to split views and allow dragging to resize areas using CSS grid layout.

Documentation and examples:
[https://angular-split.github.io](https://angular-split.github.io)

### Credits

#### Built by [Bertrand Gaillard](https://github.com/bertrandg).
#### Built by [Bertrand Gaillard](https://github.com/bertrandg)

#### Maintained by: [Bram Borggreve](https://github.com/beeman) (As of 2020).
#### Maintained by: [Bram Borggreve](https://github.com/beeman) (As of 2020)

#### Previously: [Bertrand Gaillard](https://github.com/bertrandg) (2016 to 2019)

Expand Down
4 changes: 2 additions & 2 deletions projects/angular-split/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-split",
"version": "18.0.0",
"description": "Angular UI library to split views and allow dragging to resize areas using CSS flexbox layout.",
"description": "Angular UI library to split views and allow dragging to resize areas using CSS grid layout.",
"author": "beeman",
"repository": {
"type": "git",
Expand All @@ -23,7 +23,7 @@
"split",
"split-pane",
"split-area",
"flexbox"
"grid"
],
"license": "Apache-2.0",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion src/app/documentation/documentation.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ <h4>
<br /><br />

<h4>
<b>SplitAreaDirective</b>&nbsp;<span class="sel"
<b>SplitAreaComponent</b>&nbsp;<span class="sel"
>(selector: '<span class="selContent">as-split-area</span>' / exportAs: '<span class="selContent"
>asSplitArea</span
>')</span
Expand Down
5 changes: 2 additions & 3 deletions src/app/documentation/documentation.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ export class DocumentationComponent {
name: 'useTransition',
type: 'boolean',
default: 'false',
details:
'Add transition when toggling visibility using <code>[visible]</code> or <code>[size]</code> changes.<br><u>Warning: Transitions are not working for <a href="https://github.com/philipwalton/flexbugs#flexbug-16">IE/Edge/Safari</a></u>',
details: 'Add transition when toggling visibility using <code>[visible]</code> or <code>[size]</code> changes',
},
],
outputs: [
Expand Down Expand Up @@ -124,7 +123,7 @@ export class DocumentationComponent {
name: 'transitionEnd',
value: 'SplitAreaSize[]',
details:
'Emit when transition ends (could be triggered from <code>[visible]</code> or <code>[size]</code> changes).<br>Only if <code>[useTransition]="true"</code>.<br><u>Warning: Transitions are not working for <a href="https://github.com/philipwalton/flexbugs#flexbug-16">IE/Edge/Safari</a></u>',
'Emit when transition ends (could be triggered from <code>[visible]</code> or <code>[size]</code> changes).<br>Only if <code>[useTransition]="true"</code>',
},
],
class: [
Expand Down
82 changes: 0 additions & 82 deletions src/app/examples/collapse-expand/collapse-expand.component.ts

This file was deleted.

17 changes: 0 additions & 17 deletions src/app/examples/collapse-expand/collapse-expand.module.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/app/examples/example-types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export enum ExampleEnum {
CLICK = 'click',
CODE = 'code',
COLLAPSE = 'collapse',
DIR = 'dir',
GEEK = 'geek',
IFRAME = 'iframe',
Expand Down
9 changes: 0 additions & 9 deletions src/app/examples/examples.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,6 @@ export const exampleRoutes: Routes = [
(m) => m.TogglingDomAndVisibilityModule,
),
},
{
data: {
type: ExampleEnum.COLLAPSE,
label: 'Collapse/Expand a specific area',
srcUrl: `${srcUrlBaseApp}/collapse-expand/collapse-expand.component.ts`,
},
path: 'collapse-expand',
loadChildren: () => import('./collapse-expand/collapse-expand.module').then((m) => m.CollapseExpandModule),
},
{
data: {
type: ExampleEnum.CLICK,
Expand Down
2 changes: 1 addition & 1 deletion src/app/home/home.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { Component, VERSION } from '@angular/core'
<div class="text-center">
<img src="/assets/logo.svg" height="100" class="m-auto" alt="" />
<h1 class="mt-3">angular-split</h1>
<h4>Angular UI library to split views and allow dragging to resize areas using CSS flexbox layout.</h4>
<h4>Angular UI library to split views and allow dragging to resize areas using CSS grid layout.</h4>
<h5 class="mt-3 text-muted">Running on Angular v{{ version }}.</h5>
<a href="https://www.npmjs.com/package/angular-split"
><img
Expand Down
32 changes: 17 additions & 15 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,27 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css"
/>
<style>
.github-fork-ribbon:before {
background-color: #f80;
}
</style>
</head>

<body>
<sp-app-root>
<p style="text-align: center; margin-top: 200px">Loading...</p>
</sp-app-root>
<a href="https://github.com/angular-split/angular-split/"
><img
style="
position: fixed;
top: 0;
right: 0;
border: 0;
z-index: 1040;
transform-origin: top right;
transform: scale(0.8);
"
src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67"
alt="Fork me on GitHub"
data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"
/></a>
<a
class="github-fork-ribbon"
href="https://github.com/angular-split/angular-split/"
data-ribbon="Fork me on GitHub"
title="Fork me on GitHub"
>Fork me on GitHub</a
>
</body>
</html>