Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Version Packages (#425)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Oct 10, 2023
1 parent c04b9c8 commit 608e845
Show file tree
Hide file tree
Showing 27 changed files with 6,093 additions and 8 deletions.
6 changes: 0 additions & 6 deletions .changeset/fast-hounds-flow.md

This file was deleted.

11 changes: 11 additions & 0 deletions packages/printer-ansi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @effect/printer-ansi

## 0.18.0

### Minor Changes

- [#424](https://github.com/Effect-TS/printer/pull/424) [`c04b9c8`](https://github.com/Effect-TS/printer/commit/c04b9c859d1ba911402b01654ac8fd8dc282d682) Thanks [@tim-smart](https://github.com/tim-smart)! - update effect

### Patch Changes

- Updated dependencies [[`c04b9c8`](https://github.com/Effect-TS/printer/commit/c04b9c859d1ba911402b01654ac8fd8dc282d682)]:
- @effect/printer@0.18.0

## 0.17.1

### Patch Changes
Expand Down
9 changes: 9 additions & 0 deletions packages/printer-ansi/docs/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
remote_theme: mikearnaldi/just-the-docs

# Enable or disable the site search
search_enabled: true

# Aux links for the upper right navigation
aux_links:
'@effect/printer-ansi on GitHub':
- 'https://github.com/Effect-TS/printer'
4 changes: 4 additions & 0 deletions packages/printer-ansi/docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Home
nav_order: 1
---
30 changes: 30 additions & 0 deletions packages/printer-ansi/docs/modules/AnsiDoc.ts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: AnsiDoc.ts
nav_order: 1
parent: Modules
---

## AnsiDoc overview

Added in v1.0.0

---

<h2 class="text-delta">Table of contents</h2>

- [model](#model)
- [AnsiDoc (type alias)](#ansidoc-type-alias)

---

# model

## AnsiDoc (type alias)

**Signature**

```ts
export type AnsiDoc = Doc<AnsiStyle>
```
Added in v1.0.0
113 changes: 113 additions & 0 deletions packages/printer-ansi/docs/modules/AnsiRender.ts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
---
title: AnsiRender.ts
nav_order: 2
parent: Modules
---

## AnsiRender overview

Added in v1.0.0

---

<h2 class="text-delta">Table of contents</h2>

- [rendering algorithms](#rendering-algorithms)
- [compact](#compact)
- [pretty](#pretty)
- [prettyDefault](#prettydefault)
- [prettyUnbounded](#prettyunbounded)
- [render](#render)
- [smart](#smart)
- [smartDefault](#smartdefault)
- [smartUnbounded](#smartunbounded)

---

# rendering algorithms

## compact

**Signature**

```ts
export declare const compact: (self: AnsiDoc) => string
```
Added in v1.0.0
## pretty
**Signature**
```ts
export declare const pretty: {
(options: Partial<Omit<AvailablePerLine, '_tag'>>): (self: Doc<AnsiStyle>) => string
(self: Doc<AnsiStyle>, options: Partial<Omit<AvailablePerLine, '_tag'>>): string
}
```
Added in v1.0.0
## prettyDefault
**Signature**
```ts
export declare const prettyDefault: (self: AnsiDoc) => string
```
Added in v1.0.0
## prettyUnbounded
**Signature**
```ts
export declare const prettyUnbounded: (self: AnsiDoc) => string
```
Added in v1.0.0
## render
**Signature**
```ts
export declare const render: (self: DocStream<AnsiStyle>) => string
```
Added in v1.0.0
## smart
**Signature**
```ts
export declare const smart: {
(options: Partial<Omit<AvailablePerLine, '_tag'>>): (self: Doc<AnsiStyle>) => string
(self: Doc<AnsiStyle>, options: Partial<Omit<AvailablePerLine, '_tag'>>): string
}
```
Added in v1.0.0
## smartDefault
**Signature**
```ts
export declare const smartDefault: (self: AnsiDoc) => string
```
Added in v1.0.0
## smartUnbounded
**Signature**
```ts
export declare const smartUnbounded: (self: Doc<AnsiStyle>) => string
```
Added in v1.0.0
169 changes: 169 additions & 0 deletions packages/printer-ansi/docs/modules/AnsiStyle.ts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
---
title: AnsiStyle.ts
nav_order: 3
parent: Modules
---

## AnsiStyle overview

Added in v1.0.0

---

<h2 class="text-delta">Table of contents</h2>

- [constructors](#constructors)
- [backgroundColor](#backgroundcolor)
- [bold](#bold)
- [color](#color)
- [dullBackgroundColor](#dullbackgroundcolor)
- [dullColor](#dullcolor)
- [italicized](#italicized)
- [underlined](#underlined)
- [destructors](#destructors)
- [stringify](#stringify)
- [instances](#instances)
- [Monoid](#monoid)
- [Semigroup](#semigroup)
- [model](#model)
- [AnsiStyle (interface)](#ansistyle-interface)
- [utils](#utils)
- [combine](#combine)

---

# constructors

## backgroundColor

**Signature**

```ts
export declare const backgroundColor: (color: Color) => AnsiStyle
```
Added in v1.0.0
## bold
**Signature**
```ts
export declare const bold: AnsiStyle
```
Added in v1.0.0
## color
**Signature**
```ts
export declare const color: (color: Color) => AnsiStyle
```
Added in v1.0.0
## dullBackgroundColor
**Signature**
```ts
export declare const dullBackgroundColor: (color: Color) => AnsiStyle
```
Added in v1.0.0
## dullColor
**Signature**
```ts
export declare const dullColor: (color: Color) => AnsiStyle
```
Added in v1.0.0
## italicized
**Signature**
```ts
export declare const italicized: AnsiStyle
```
Added in v1.0.0
## underlined
**Signature**
```ts
export declare const underlined: AnsiStyle
```
Added in v1.0.0
# destructors
## stringify
**Signature**
```ts
export declare const stringify: (self: AnsiStyle) => string
```
Added in v1.0.0
# instances
## Monoid
**Signature**
```ts
export declare const Monoid: monoid.Monoid<AnsiStyle>
```
Added in v1.0.0
## Semigroup
**Signature**
```ts
export declare const Semigroup: semigroup.Semigroup<AnsiStyle>
```
Added in v1.0.0
# model
## AnsiStyle (interface)
**Signature**
```ts
export interface AnsiStyle {
readonly foreground: Option<SGR>
readonly background: Option<SGR>
readonly bold: Option<SGR>
readonly italicized: Option<SGR>
readonly underlined: Option<SGR>
}
```

Added in v1.0.0

# utils

## combine

**Signature**

```ts
export declare const combine: (self: AnsiStyle, that: AnsiStyle) => AnsiStyle
```
Added in v1.0.0
Loading

0 comments on commit 608e845

Please sign in to comment.