Skip to content

Commit

Permalink
chore: 🤖 release v9.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phun-ky committed Feb 24, 2024
1 parent 1e9d132 commit f295c44
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 18 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## [9.1.0](https://github.com/phun-ky/speccer/compare/v9.0.13...v9.1.0) (2024-02-24)


### Tasks

* 🤖 Adjust dev script ([1479ce4](https://github.com/phun-ky/speccer/commit/1479ce410e3ca4cbb19f6b698493af9d872eae7c))


### Feature

* 🎸 Add feature for Accessibility notation ([8f646a6](https://github.com/phun-ky/speccer/commit/8f646a6f062ddf62c614227302b6b1aacf9b9b99)), closes [#16](https://github.com/phun-ky/speccer/issues/16)


### Bug

* 🐛 Adjust position for sticky elements and parents ([54979b3](https://github.com/phun-ky/speccer/commit/54979b32e32edda510acc49303d82ca53e95ef0d))


### Refactoring

* 💡 Add type for styles return object ([6cc7d40](https://github.com/phun-ky/speccer/commit/6cc7d40966ef58e8098f99d8eaf5d84601b35a7c))

## [9.0.13](https://github.com/phun-ky/speccer/compare/v9.0.12...v9.0.13) (2024-02-22)


Expand Down
7 changes: 7 additions & 0 deletions api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
- [config/\_\_tests\_\_/dom](modules/config___tests___dom.md)
- [config/\_\_tests\_\_/manual](modules/config___tests___manual.md)
- [config/browser](modules/config_browser.md)
- [features/a11y](modules/features_a11y.md)
- [features/a11y/constants](modules/features_a11y_constants.md)
- [features/a11y/utils/\_\_tests\_\_/styles](modules/features_a11y_utils___tests___styles.md)
- [features/a11y/utils/styles](modules/features_a11y_utils_styles.md)
- [features/dissect](modules/features_dissect.md)
- [features/dissect/utils/\_\_tests\_\_/styles](modules/features_dissect_utils___tests___styles.md)
- [features/dissect/utils/styles](modules/features_dissect_utils_styles.md)
Expand All @@ -29,6 +33,7 @@
- [types/interfaces/position](modules/types_interfaces_position.md)
- [types/position](modules/types_position.md)
- [types/speccer](modules/types_speccer.md)
- [types/styles](modules/types_styles.md)
- [types/xy](modules/types_xy.md)
- [utils/\_\_tests\_\_/angle](modules/utils___tests___angle.md)
- [utils/\_\_tests\_\_/area](modules/utils___tests___area.md)
Expand All @@ -46,6 +51,7 @@
- [utils/\_\_tests\_\_/node](modules/utils___tests___node.md)
- [utils/\_\_tests\_\_/number](modules/utils___tests___number.md)
- [utils/\_\_tests\_\_/position](modules/utils___tests___position.md)
- [utils/\_\_tests\_\_/style-property](modules/utils___tests___style_property.md)
- [utils/\_\_tests\_\_/styles](modules/utils___tests___styles.md)
- [utils/\_\_tests\_\_/wait](modules/utils___tests___wait.md)
- [utils/\_\_tests\_\_/xy](modules/utils___tests___xy.md)
Expand All @@ -71,6 +77,7 @@
- [utils/number](modules/utils_number.md)
- [utils/position](modules/utils_position.md)
- [utils/resize](modules/utils_resize.md)
- [utils/style-property](modules/utils_style_property.md)
- [utils/styles](modules/utils_styles.md)
- [utils/typeof](modules/utils_typeof.md)
- [utils/typeof/\_\_tests\_\_/typeof](modules/utils_typeof___tests___typeof.md)
Expand Down
6 changes: 3 additions & 3 deletions api/modules/features_dissect_utils_styles.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

### styles

**styles**(`area`, `targetEl`, `dissectionEl`, `options?`): `Promise`\<\{ `height?`: `string` ; `left`: `string` ; `top`: `string` ; `width?`: `string` }\>
**styles**(`area`, `targetEl`, `dissectionEl`, `options?`): `Promise`\<[`SpeccerStylesReturnType`](types_styles.md#speccerstylesreturntype)\>

Get styles for dissected elements based on the specified area and options.

Expand All @@ -21,7 +21,7 @@ Get styles for dissected elements based on the specified area and options.

#### Returns

`Promise`\<\{ `height?`: `string` ; `left`: `string` ; `top`: `string` ; `width?`: `string` }\>
`Promise`\<[`SpeccerStylesReturnType`](types_styles.md#speccerstylesreturntype)\>

- The computed styles.

Expand All @@ -38,4 +38,4 @@ console.log(styles);

#### Defined in

[features/dissect/utils/styles.ts:32](https://github.com/phun-ky/speccer/blob/main/src/features/dissect/utils/styles.ts#L32)
[features/dissect/utils/styles.ts:33](https://github.com/phun-ky/speccer/blob/main/src/features/dissect/utils/styles.ts#L33)
14 changes: 7 additions & 7 deletions api/modules/main.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#### Defined in

[main.ts:29](https://github.com/phun-ky/speccer/blob/main/src/main.ts#L29)
[main.ts:31](https://github.com/phun-ky/speccer/blob/main/src/main.ts#L31)

___

Expand All @@ -34,7 +34,7 @@ ___

#### Defined in

[main.ts:39](https://github.com/phun-ky/speccer/blob/main/src/main.ts#L39)
[main.ts:41](https://github.com/phun-ky/speccer/blob/main/src/main.ts#L41)

___

Expand All @@ -51,7 +51,7 @@ ___

#### Defined in

[main.ts:34](https://github.com/phun-ky/speccer/blob/main/src/main.ts#L34)
[main.ts:36](https://github.com/phun-ky/speccer/blob/main/src/main.ts#L36)

___

Expand All @@ -70,7 +70,7 @@ ___

#### Defined in

[main.ts:49](https://github.com/phun-ky/speccer/blob/main/src/main.ts#L49)
[main.ts:51](https://github.com/phun-ky/speccer/blob/main/src/main.ts#L51)

___

Expand All @@ -87,7 +87,7 @@ ___

#### Defined in

[main.ts:24](https://github.com/phun-ky/speccer/blob/main/src/main.ts#L24)
[main.ts:26](https://github.com/phun-ky/speccer/blob/main/src/main.ts#L26)

___

Expand All @@ -104,7 +104,7 @@ ___

#### Defined in

[main.ts:44](https://github.com/phun-ky/speccer/blob/main/src/main.ts#L44)
[main.ts:46](https://github.com/phun-ky/speccer/blob/main/src/main.ts#L46)

## Functions

Expand All @@ -118,4 +118,4 @@ ___

#### Defined in

[main.ts:56](https://github.com/phun-ky/speccer/blob/main/src/main.ts#L56)
[main.ts:58](https://github.com/phun-ky/speccer/blob/main/src/main.ts#L58)
10 changes: 5 additions & 5 deletions api/modules/utils_position.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const aboveProps = recProps.toTop();

#### Defined in

[utils/position.ts:130](https://github.com/phun-ky/speccer/blob/main/src/utils/position.ts#L130)
[utils/position.ts:159](https://github.com/phun-ky/speccer/blob/main/src/utils/position.ts#L159)

___

Expand Down Expand Up @@ -71,7 +71,7 @@ const center = get_horizontal_center_of_els(0, startRect, targetRect);

#### Defined in

[utils/position.ts:20](https://github.com/phun-ky/speccer/blob/main/src/utils/position.ts#L20)
[utils/position.ts:21](https://github.com/phun-ky/speccer/blob/main/src/utils/position.ts#L21)

___

Expand Down Expand Up @@ -104,7 +104,7 @@ const center = get_vertical_center_of_els(0, startRect, targetRect);

#### Defined in

[utils/position.ts:40](https://github.com/phun-ky/speccer/blob/main/src/utils/position.ts#L40)
[utils/position.ts:41](https://github.com/phun-ky/speccer/blob/main/src/utils/position.ts#L41)

___

Expand Down Expand Up @@ -135,7 +135,7 @@ const offsetProps = await offset(targetElement);

#### Defined in

[utils/position.ts:58](https://github.com/phun-ky/speccer/blob/main/src/utils/position.ts#L58)
[utils/position.ts:59](https://github.com/phun-ky/speccer/blob/main/src/utils/position.ts#L59)

___

Expand Down Expand Up @@ -167,4 +167,4 @@ const offsetProps = await offsetWithCenter(sourceElement, targetElement);

#### Defined in

[utils/position.ts:88](https://github.com/phun-ky/speccer/blob/main/src/utils/position.ts#L88)
[utils/position.ts:117](https://github.com/phun-ky/speccer/blob/main/src/utils/position.ts#L117)
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@phun-ky/speccer",
"version": "9.0.13",
"version": "9.1.0",
"description": "A script to annotate, show spacing specs and to display typography information in documentation/website on HTML elements",
"main": "dist/speccer.js",
"module": "dist/speccer.esm.js",
Expand Down

0 comments on commit f295c44

Please sign in to comment.