@contentful/field-editor-slug 1.2.0 → 1.3.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.
Files changed (39) hide show
  1. package/dist/cjs/SlugEditor.js +139 -0
  2. package/dist/cjs/SlugEditor.test.js +508 -0
  3. package/dist/cjs/SlugEditorField.js +186 -0
  4. package/dist/cjs/TrackingFieldConnector.js +137 -0
  5. package/dist/cjs/index.js +24 -0
  6. package/dist/cjs/services/makeSlug.js +42 -0
  7. package/dist/cjs/services/makeSlug.test.js +14 -0
  8. package/dist/cjs/services/slugify.js +64 -0
  9. package/dist/cjs/services/slugify.test.js +30 -0
  10. package/dist/cjs/styles.js +68 -0
  11. package/dist/esm/SlugEditor.js +90 -0
  12. package/dist/esm/SlugEditor.test.js +460 -0
  13. package/dist/esm/SlugEditorField.js +129 -0
  14. package/dist/esm/TrackingFieldConnector.js +88 -0
  15. package/dist/esm/index.js +3 -0
  16. package/dist/esm/services/makeSlug.js +24 -0
  17. package/dist/esm/services/makeSlug.test.js +10 -0
  18. package/dist/esm/services/slugify.js +49 -0
  19. package/dist/esm/services/slugify.test.js +26 -0
  20. package/dist/esm/styles.js +33 -0
  21. package/dist/{SlugEditor.d.ts → types/SlugEditor.d.ts} +24 -24
  22. package/dist/types/SlugEditor.test.d.ts +1 -0
  23. package/dist/{SlugEditorField.d.ts → types/SlugEditorField.d.ts} +18 -18
  24. package/dist/{TrackingFieldConnector.d.ts → types/TrackingFieldConnector.d.ts} +29 -29
  25. package/dist/{index.d.ts → types/index.d.ts} +3 -3
  26. package/dist/{services → types/services}/makeSlug.d.ts +8 -8
  27. package/dist/types/services/makeSlug.test.d.ts +1 -0
  28. package/dist/{services → types/services}/slugify.d.ts +12 -12
  29. package/dist/types/services/slugify.test.d.ts +1 -0
  30. package/dist/{styles.d.ts → types/styles.d.ts} +6 -6
  31. package/package.json +25 -11
  32. package/CHANGELOG.md +0 -206
  33. package/dist/field-editor-slug.cjs.development.js +0 -463
  34. package/dist/field-editor-slug.cjs.development.js.map +0 -1
  35. package/dist/field-editor-slug.cjs.production.min.js +0 -2
  36. package/dist/field-editor-slug.cjs.production.min.js.map +0 -1
  37. package/dist/field-editor-slug.esm.js +0 -454
  38. package/dist/field-editor-slug.esm.js.map +0 -1
  39. package/dist/index.js +0 -8
@@ -0,0 +1,24 @@
1
+ import { slugify } from './slugify';
2
+ function formatTwoDigit(num) {
3
+ const asString = String(num);
4
+ return asString.length === 1 ? `0${asString}` : asString;
5
+ }
6
+ export function formatUtcDate(date) {
7
+ const year = date.getFullYear();
8
+ const month = formatTwoDigit(date.getUTCMonth() + 1);
9
+ const day = formatTwoDigit(date.getUTCDate());
10
+ const hour = formatTwoDigit(date.getUTCHours());
11
+ const minutes = formatTwoDigit(date.getUTCMinutes());
12
+ const seconds = formatTwoDigit(date.getUTCSeconds());
13
+ return `${year} ${month} ${day} at ${hour} ${minutes} ${seconds}`;
14
+ }
15
+ function untitledSlug({ isOptionalLocaleWithFallback , createdAt }) {
16
+ if (isOptionalLocaleWithFallback) {
17
+ return '';
18
+ }
19
+ const createdAtFormatted = formatUtcDate(new Date(createdAt));
20
+ return slugify('Untitled entry ' + createdAtFormatted, 'en-US');
21
+ }
22
+ export function makeSlug(title, options) {
23
+ return title ? slugify(title, options.locale) : untitledSlug(options);
24
+ }
@@ -0,0 +1,10 @@
1
+ import { makeSlug } from './makeSlug';
2
+ describe('makeSlug', ()=>{
3
+ it('should return untitled slug if title is empty', ()=>{
4
+ expect(makeSlug('', {
5
+ locale: 'en',
6
+ isOptionalLocaleWithFallback: false,
7
+ createdAt: '2020-01-14T14:45:39.709Z'
8
+ })).toBe('untitled-entry-2020-01-14-at-14-45-39');
9
+ });
10
+ });
@@ -0,0 +1,49 @@
1
+ import getSlug from 'speakingurl';
2
+ const CF_GENERATED_SLUG_MAX_LENGTH = 75;
3
+ const languages = [
4
+ 'ar',
5
+ 'az',
6
+ 'cs',
7
+ 'de',
8
+ 'dv',
9
+ 'en',
10
+ 'es',
11
+ 'fa',
12
+ 'fi',
13
+ 'fr',
14
+ 'ge',
15
+ 'gr',
16
+ 'hu',
17
+ 'it',
18
+ 'lt',
19
+ 'lv',
20
+ 'my',
21
+ 'mk',
22
+ 'nl',
23
+ 'pl',
24
+ 'pt',
25
+ 'ro',
26
+ 'ru',
27
+ 'sk',
28
+ 'sr',
29
+ 'tr',
30
+ 'uk',
31
+ 'vn'
32
+ ];
33
+ function supportedLanguage(locale) {
34
+ const prefix = locale.slice(0, 2).toLowerCase();
35
+ return languages[languages.indexOf(prefix)];
36
+ }
37
+ export function slugify(text, locale = 'en') {
38
+ return getSlug(text, {
39
+ separator: '-',
40
+ lang: supportedLanguage(locale) || 'en',
41
+ truncate: CF_GENERATED_SLUG_MAX_LENGTH + 1,
42
+ custom: {
43
+ "'": '',
44
+ '`': '',
45
+ '’': '',
46
+ '‘': ''
47
+ }
48
+ });
49
+ }
@@ -0,0 +1,26 @@
1
+ import { slugify } from './slugify';
2
+ describe('slugify', ()=>{
3
+ const cases = [
4
+ [
5
+ 'We ♥ $ & €',
6
+ 'we-love-usd-and-eur'
7
+ ],
8
+ [
9
+ 'it`s a Slug',
10
+ 'its-a-slug'
11
+ ],
12
+ [
13
+ 'it’S a slug',
14
+ 'its-a-slug'
15
+ ],
16
+ [
17
+ "it's a SLUG",
18
+ 'its-a-slug'
19
+ ]
20
+ ];
21
+ cases.forEach((input)=>{
22
+ it(`converts "${input[0]}" to "${input[1]}"`, ()=>{
23
+ expect(slugify(input[0])).toBe(input[1]);
24
+ });
25
+ });
26
+ });
@@ -0,0 +1,33 @@
1
+ import tokens from '@contentful/f36-tokens';
2
+ import { css } from 'emotion';
3
+ export const validationRow = css({
4
+ display: 'flex',
5
+ flexDirection: 'row-reverse',
6
+ fontSize: tokens.fontSizeM,
7
+ marginTop: tokens.spacingXs,
8
+ color: tokens.gray700
9
+ });
10
+ export const inputContainer = css({
11
+ position: 'relative'
12
+ });
13
+ export const input = css({
14
+ paddingLeft: '40px'
15
+ });
16
+ export const icon = css({
17
+ position: 'absolute',
18
+ left: '10px',
19
+ top: '8px',
20
+ zIndex: 2,
21
+ width: '25px',
22
+ height: '25px',
23
+ fill: tokens.gray500
24
+ });
25
+ export const spinnerContainer = css({
26
+ position: 'absolute',
27
+ zIndex: 2,
28
+ right: '8px',
29
+ top: '8px'
30
+ });
31
+ export const uniqueValidationError = css({
32
+ marginTop: tokens.spacingS
33
+ });
@@ -1,24 +1,24 @@
1
- /// <reference types="react" />
2
- import { FieldExtensionSDK, FieldAPI } from '@contentful/app-sdk';
3
- export interface SlugEditorProps {
4
- /**
5
- * is the field disabled initially
6
- */
7
- isInitiallyDisabled: boolean;
8
- baseSdk: FieldExtensionSDK;
9
- /**
10
- * sdk.field
11
- */
12
- field: FieldAPI;
13
- parameters?: {
14
- instance: {
15
- trackingFieldId?: string;
16
- };
17
- };
18
- }
19
- export declare function SlugEditor(props: SlugEditorProps): JSX.Element;
20
- export declare namespace SlugEditor {
21
- var defaultProps: {
22
- isInitiallyDisabled: boolean;
23
- };
24
- }
1
+ import * as React from 'react';
2
+ import { FieldExtensionSDK, FieldAPI } from '@contentful/app-sdk';
3
+ export interface SlugEditorProps {
4
+ /**
5
+ * is the field disabled initially
6
+ */
7
+ isInitiallyDisabled: boolean;
8
+ baseSdk: FieldExtensionSDK;
9
+ /**
10
+ * sdk.field
11
+ */
12
+ field: FieldAPI;
13
+ parameters?: {
14
+ instance: {
15
+ trackingFieldId?: string;
16
+ };
17
+ };
18
+ }
19
+ export declare function SlugEditor(props: SlugEditorProps): React.JSX.Element;
20
+ export declare namespace SlugEditor {
21
+ var defaultProps: {
22
+ isInitiallyDisabled: boolean;
23
+ };
24
+ }
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom/extend-expect';
@@ -1,18 +1,18 @@
1
- /// <reference types="react" />
2
- interface SlugEditorFieldProps {
3
- hasError: boolean;
4
- isOptionalLocaleWithFallback: boolean;
5
- isDisabled: boolean;
6
- value: string | null | undefined;
7
- locale: string;
8
- titleValue: string | null | undefined;
9
- createdAt: string;
10
- setValue: (value: string | null | undefined) => void;
11
- performUniqueCheck: (value: string) => Promise<boolean>;
12
- }
13
- export declare function SlugEditorFieldStatic(props: SlugEditorFieldProps & {
14
- onChange?: Function;
15
- onBlur?: Function;
16
- }): JSX.Element;
17
- export declare function SlugEditorField(props: SlugEditorFieldProps): JSX.Element;
18
- export {};
1
+ import * as React from 'react';
2
+ interface SlugEditorFieldProps {
3
+ hasError: boolean;
4
+ isOptionalLocaleWithFallback: boolean;
5
+ isDisabled: boolean;
6
+ value: string | null | undefined;
7
+ locale: string;
8
+ titleValue: string | null | undefined;
9
+ createdAt: string;
10
+ setValue: (value: string | null | undefined) => void;
11
+ performUniqueCheck: (value: string) => Promise<boolean>;
12
+ }
13
+ export declare function SlugEditorFieldStatic(props: SlugEditorFieldProps & {
14
+ onChange?: Function;
15
+ onBlur?: Function;
16
+ }): React.JSX.Element;
17
+ export declare function SlugEditorField(props: SlugEditorFieldProps): React.JSX.Element;
18
+ export {};
@@ -1,29 +1,29 @@
1
- import React from 'react';
2
- import { FieldExtensionSDK, FieldAPI } from '@contentful/app-sdk';
3
- declare type Nullable = null | undefined;
4
- interface TrackingFieldConnectorState<ValueType> {
5
- titleValue: ValueType | Nullable;
6
- isPublished: boolean;
7
- isSame: boolean;
8
- }
9
- interface TrackingFieldConnectorProps<ValueType> {
10
- sdk: FieldExtensionSDK;
11
- field: FieldAPI;
12
- defaultLocale: string;
13
- trackingFieldId?: string;
14
- isOptionalLocaleWithFallback: boolean;
15
- children: (state: TrackingFieldConnectorState<ValueType>) => React.ReactNode;
16
- }
17
- export declare class TrackingFieldConnector<ValueType> extends React.Component<TrackingFieldConnectorProps<ValueType>, TrackingFieldConnectorState<ValueType>> {
18
- static defaultProps: {
19
- children: () => null;
20
- };
21
- constructor(props: TrackingFieldConnectorProps<ValueType>);
22
- unsubscribeValue: Function | null;
23
- unsubscribeLocalizedValue: Function | null;
24
- unsubscribeSysChanges: Function | null;
25
- componentDidMount(): void;
26
- componentWillUnmount(): void;
27
- render(): React.ReactNode;
28
- }
29
- export {};
1
+ import * as React from 'react';
2
+ import { FieldAPI, FieldExtensionSDK } from '@contentful/app-sdk';
3
+ type Nullable = null | undefined;
4
+ interface TrackingFieldConnectorState<ValueType> {
5
+ titleValue: ValueType | Nullable;
6
+ isPublished: boolean;
7
+ isSame: boolean;
8
+ }
9
+ interface TrackingFieldConnectorProps<ValueType> {
10
+ sdk: FieldExtensionSDK;
11
+ field: FieldAPI;
12
+ defaultLocale: string;
13
+ trackingFieldId?: string;
14
+ isOptionalLocaleWithFallback: boolean;
15
+ children: (state: TrackingFieldConnectorState<ValueType>) => React.ReactNode;
16
+ }
17
+ export declare class TrackingFieldConnector<ValueType> extends React.Component<TrackingFieldConnectorProps<ValueType>, TrackingFieldConnectorState<ValueType>> {
18
+ static defaultProps: {
19
+ children: () => null;
20
+ };
21
+ constructor(props: TrackingFieldConnectorProps<ValueType>);
22
+ unsubscribeValue: Function | null;
23
+ unsubscribeLocalizedValue: Function | null;
24
+ unsubscribeSysChanges: Function | null;
25
+ componentDidMount(): void;
26
+ componentWillUnmount(): void;
27
+ render(): React.ReactNode;
28
+ }
29
+ export {};
@@ -1,3 +1,3 @@
1
- export { SlugEditor } from './SlugEditor';
2
- export { slugify } from './services/slugify';
3
- export { makeSlug } from './services/makeSlug';
1
+ export { SlugEditor } from './SlugEditor';
2
+ export { slugify } from './services/slugify';
3
+ export { makeSlug } from './services/makeSlug';
@@ -1,8 +1,8 @@
1
- declare type MakeSlugOptions = {
2
- locale: string;
3
- isOptionalLocaleWithFallback: boolean;
4
- createdAt: string;
5
- };
6
- export declare function formatUtcDate(date: Date): string;
7
- export declare function makeSlug(title: string | null | undefined, options: MakeSlugOptions): string;
8
- export {};
1
+ type MakeSlugOptions = {
2
+ locale: string;
3
+ isOptionalLocaleWithFallback: boolean;
4
+ createdAt: string;
5
+ };
6
+ export declare function formatUtcDate(date: Date): string;
7
+ export declare function makeSlug(title: string | null | undefined, options: MakeSlugOptions): string;
8
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1,12 +1,12 @@
1
- /**
2
- * Returns the slug for a given string and locale.
3
- * If the locale belongs to a language supported by SpeakingURL, it
4
- * is used as the symbol language. Otherwise, the symbol language
5
- * is english.
6
- * Slug suggestions are limited to 75 characters.
7
- *
8
- * @param {string} text To be turned into a slug.
9
- * @param {string?} locale
10
- * @returns {string} Slug for provided text.
11
- */
12
- export declare function slugify(text: string, locale?: string): string;
1
+ /**
2
+ * Returns the slug for a given string and locale.
3
+ * If the locale belongs to a language supported by SpeakingURL, it
4
+ * is used as the symbol language. Otherwise, the symbol language
5
+ * is english.
6
+ * Slug suggestions are limited to 75 characters.
7
+ *
8
+ * @param {string} text To be turned into a slug.
9
+ * @param {string?} locale
10
+ * @returns {string} Slug for provided text.
11
+ */
12
+ export declare function slugify(text: string, locale?: string): string;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,6 +1,6 @@
1
- export declare const validationRow: string;
2
- export declare const inputContainer: string;
3
- export declare const input: string;
4
- export declare const icon: string;
5
- export declare const spinnerContainer: string;
6
- export declare const uniqueValidationError: string;
1
+ export declare const validationRow: string;
2
+ export declare const inputContainer: string;
3
+ export declare const input: string;
4
+ export declare const icon: string;
5
+ export declare const spinnerContainer: string;
6
+ export declare const uniqueValidationError: string;
package/package.json CHANGED
@@ -1,9 +1,17 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-slug",
3
- "version": "1.2.0",
4
- "main": "dist/index.js",
5
- "module": "dist/field-editor-slug.esm.js",
6
- "typings": "dist/index.d.ts",
3
+ "version": "1.3.0",
4
+ "main": "dist/cjs/index.js",
5
+ "module": "dist/esm/index.js",
6
+ "types": "dist/types/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./dist/types/index.d.ts",
10
+ "require": "./dist/cjs/index.js",
11
+ "default": "./dist/cjs/index.js"
12
+ },
13
+ "./package.json": "./package.json"
14
+ },
7
15
  "files": [
8
16
  "dist"
9
17
  ],
@@ -14,17 +22,23 @@
14
22
  "url": "https://github.com/contentful/field-editors"
15
23
  },
16
24
  "scripts": {
17
- "watch": "tsdx watch",
18
- "build": "tsdx build",
19
- "test": "tsdx test --env=jsdom --watch",
20
- "test:ci": "tsdx test --env=jsdom --ci",
25
+ "watch": "yarn concurrently \"yarn:watch:*\"",
26
+ "watch:cjs": "yarn build:cjs -w",
27
+ "watch:esm": "yarn build:esm -w",
28
+ "watch:types": "yarn build:types --watch",
29
+ "build": "yarn build:types && yarn build:cjs && yarn build:esm",
30
+ "build:types": "tsc --outDir dist/types --emitDeclarationOnly",
31
+ "build:cjs": "swc src --config-file ../../.swcrc -d dist/cjs -C module.type=commonjs",
32
+ "build:esm": "swc src --config-file ../../.swcrc -d dist/esm",
33
+ "test": "jest --watch",
34
+ "test:ci": "jest --ci",
21
35
  "tsc": "tsc -p ./ --noEmit"
22
36
  },
23
37
  "dependencies": {
24
38
  "@contentful/f36-components": "^4.0.27",
25
39
  "@contentful/f36-icons": "^4.1.0",
26
40
  "@contentful/f36-tokens": "^4.0.0",
27
- "@contentful/field-editor-shared": "^1.2.0",
41
+ "@contentful/field-editor-shared": "^1.3.0",
28
42
  "@types/speakingurl": "^13.0.2",
29
43
  "emotion": "^10.0.17",
30
44
  "lodash": "^4.17.15",
@@ -34,11 +48,11 @@
34
48
  },
35
49
  "devDependencies": {
36
50
  "@contentful/app-sdk": "^4.2.0",
37
- "@contentful/field-editor-test-utils": "^1.3.0"
51
+ "@contentful/field-editor-test-utils": "^1.4.0"
38
52
  },
39
53
  "peerDependencies": {
40
54
  "@contentful/app-sdk": "^4.2.0",
41
55
  "react": ">=16.8.0"
42
56
  },
43
- "gitHead": "de7e74e3485dd69c240cfe9c545e6e50e41fb295"
57
+ "gitHead": "543e02672a8dd4edc810f9f3568d6b69c454e1f9"
44
58
  }
package/CHANGELOG.md DELETED
@@ -1,206 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # [1.2.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@1.1.12...@contentful/field-editor-slug@1.2.0) (2023-04-19)
7
-
8
- ### Features
9
-
10
- - upgrade cypress [TOL-1036] ([#1391](https://github.com/contentful/field-editors/issues/1391)) ([9c1aec9](https://github.com/contentful/field-editors/commit/9c1aec98aabbe464cdc3f1236c3bb1cc29b8208d))
11
-
12
- ## [1.1.12](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@1.1.11...@contentful/field-editor-slug@1.1.12) (2023-03-14)
13
-
14
- **Note:** Version bump only for package @contentful/field-editor-slug
15
-
16
- ## [1.1.11](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@1.1.10...@contentful/field-editor-slug@1.1.11) (2023-03-10)
17
-
18
- **Note:** Version bump only for package @contentful/field-editor-slug
19
-
20
- ## [1.1.10](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@1.1.9...@contentful/field-editor-slug@1.1.10) (2023-02-21)
21
-
22
- **Note:** Version bump only for package @contentful/field-editor-slug
23
-
24
- ## [1.1.9](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@1.1.8...@contentful/field-editor-slug@1.1.9) (2023-02-07)
25
-
26
- **Note:** Version bump only for package @contentful/field-editor-slug
27
-
28
- ## [1.1.8](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@1.1.7...@contentful/field-editor-slug@1.1.8) (2022-12-08)
29
-
30
- **Note:** Version bump only for package @contentful/field-editor-slug
31
-
32
- ## [1.1.7](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@1.1.6...@contentful/field-editor-slug@1.1.7) (2022-07-29)
33
-
34
- **Note:** Version bump only for package @contentful/field-editor-slug
35
-
36
- ## [1.1.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@1.1.5...@contentful/field-editor-slug@1.1.6) (2022-07-29)
37
-
38
- **Note:** Version bump only for package @contentful/field-editor-slug
39
-
40
- ## [1.1.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@1.1.4...@contentful/field-editor-slug@1.1.5) (2022-07-22)
41
-
42
- **Note:** Version bump only for package @contentful/field-editor-slug
43
-
44
- ## [1.1.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@1.1.3...@contentful/field-editor-slug@1.1.4) (2022-07-11)
45
-
46
- **Note:** Version bump only for package @contentful/field-editor-slug
47
-
48
- ## [1.1.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@1.1.2...@contentful/field-editor-slug@1.1.3) (2022-06-22)
49
-
50
- **Note:** Version bump only for package @contentful/field-editor-slug
51
-
52
- ## [1.1.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@1.1.1...@contentful/field-editor-slug@1.1.2) (2022-02-15)
53
-
54
- ### Bug Fixes
55
-
56
- - bump f36 packages ([#1025](https://github.com/contentful/field-editors/issues/1025)) ([ec37a40](https://github.com/contentful/field-editors/commit/ec37a4000db7cd75c66dd9621136b2272c9feeea))
57
-
58
- ## [1.1.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@1.1.0...@contentful/field-editor-slug@1.1.1) (2022-02-14)
59
-
60
- **Note:** Version bump only for package @contentful/field-editor-slug
61
-
62
- # [1.1.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@1.0.3...@contentful/field-editor-slug@1.1.0) (2022-01-11)
63
-
64
- ### Features
65
-
66
- - bump f36 packages to stable v4 [BAU-521] ([#988](https://github.com/contentful/field-editors/issues/988)) ([419cf56](https://github.com/contentful/field-editors/commit/419cf56692179b074fcfa2743469d5265ed98429))
67
-
68
- ## [1.0.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@1.0.2...@contentful/field-editor-slug@1.0.3) (2021-12-23)
69
-
70
- ### Bug Fixes
71
-
72
- - markdown buttons ([#968](https://github.com/contentful/field-editors/issues/968)) ([9803b98](https://github.com/contentful/field-editors/commit/9803b98c25d92df6148686ffe2749a77f7efdbb9))
73
-
74
- ## [1.0.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@1.0.1...@contentful/field-editor-slug@1.0.2) (2021-12-20)
75
-
76
- **Note:** Version bump only for package @contentful/field-editor-slug
77
-
78
- ## [1.0.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@1.0.0...@contentful/field-editor-slug@1.0.1) (2021-11-17)
79
-
80
- ### Bug Fixes
81
-
82
- - **card-actions:** update forma 36 to fix card actions click issue ([#927](https://github.com/contentful/field-editors/issues/927)) ([3dfdef2](https://github.com/contentful/field-editors/commit/3dfdef2c2b0045f12ea94ddafca89a8e9f25e7d0))
83
-
84
- # [1.0.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.14.0...@contentful/field-editor-slug@1.0.0) (2021-11-04)
85
-
86
- **Note:** Version bump only for package @contentful/field-editor-slug
87
-
88
- # [0.14.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.13.1...@contentful/field-editor-slug@0.14.0) (2021-11-04)
89
-
90
- ### Features
91
-
92
- - Forma v4 components adoption ([#805](https://github.com/contentful/field-editors/issues/805)) ([526bde6](https://github.com/contentful/field-editors/commit/526bde6e10e0ee3789705ec10fb31489af7ca59e))
93
-
94
- ### BREAKING CHANGES
95
-
96
- - adopts a new Forma v4 beta
97
-
98
- ## [0.13.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.13.0...@contentful/field-editor-slug@0.13.1) (2021-10-14)
99
-
100
- **Note:** Version bump only for package @contentful/field-editor-slug
101
-
102
- # [0.13.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.12.3...@contentful/field-editor-slug@0.13.0) (2021-10-06)
103
-
104
- ### Features
105
-
106
- - [EXT-3161] bump app sdk to v4 ([#881](https://github.com/contentful/field-editors/issues/881)) ([9c4a2af](https://github.com/contentful/field-editors/commit/9c4a2af07da203d59fb5f15c3a5188ecc64b1d44))
107
-
108
- ## [0.12.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.12.2...@contentful/field-editor-slug@0.12.3) (2021-09-17)
109
-
110
- **Note:** Version bump only for package @contentful/field-editor-slug
111
-
112
- ## [0.12.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.12.1...@contentful/field-editor-slug@0.12.2) (2021-09-16)
113
-
114
- **Note:** Version bump only for package @contentful/field-editor-slug
115
-
116
- ## [0.12.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.12.0...@contentful/field-editor-slug@0.12.1) (2021-08-19)
117
-
118
- **Note:** Version bump only for package @contentful/field-editor-slug
119
-
120
- # [0.12.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.11.1...@contentful/field-editor-slug@0.12.0) (2021-08-11)
121
-
122
- ### Features
123
-
124
- - throttle slug editor uniqueness requests ([#799](https://github.com/contentful/field-editors/issues/799)) ([bfadaf0](https://github.com/contentful/field-editors/commit/bfadaf03a2c1a032a56218287ec30929c3581a25))
125
-
126
- ## [0.11.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.11.0...@contentful/field-editor-slug@0.11.1) (2021-07-29)
127
-
128
- **Note:** Version bump only for package @contentful/field-editor-slug
129
-
130
- # [0.11.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.10.6...@contentful/field-editor-slug@0.11.0) (2021-07-23)
131
-
132
- ### Features
133
-
134
- - 💡 new color tokens ([#778](https://github.com/contentful/field-editors/issues/778)) ([fba548d](https://github.com/contentful/field-editors/commit/fba548de32305016df7f2685634eefb14294828f))
135
-
136
- ## [0.10.6](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.10.3...@contentful/field-editor-slug@0.10.6) (2021-07-06)
137
-
138
- **Note:** Version bump only for package @contentful/field-editor-slug
139
-
140
- ## [0.10.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.10.3...@contentful/field-editor-slug@0.10.5) (2021-07-06)
141
-
142
- **Note:** Version bump only for package @contentful/field-editor-slug
143
-
144
- ## [0.10.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.10.3...@contentful/field-editor-slug@0.10.4) (2021-06-23)
145
-
146
- **Note:** Version bump only for package @contentful/field-editor-slug
147
-
148
- ## [0.10.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.10.2...@contentful/field-editor-slug@0.10.3) (2021-06-23)
149
-
150
- **Note:** Version bump only for package @contentful/field-editor-slug
151
-
152
- ## [0.10.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.10.1...@contentful/field-editor-slug@0.10.2) (2021-06-22)
153
-
154
- **Note:** Version bump only for package @contentful/field-editor-slug
155
-
156
- ## [0.10.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.10.0...@contentful/field-editor-slug@0.10.1) (2021-03-05)
157
-
158
- **Note:** Version bump only for package @contentful/field-editor-slug
159
-
160
- # [0.10.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.9.1...@contentful/field-editor-slug@0.10.0) (2021-02-19)
161
-
162
- ### Features
163
-
164
- - bump min version of forma-36 ([#606](https://github.com/contentful/field-editors/issues/606)) ([fd57c7a](https://github.com/contentful/field-editors/commit/fd57c7a4312766af38c01507f17706ab22992617))
165
-
166
- ## [0.9.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.9.0...@contentful/field-editor-slug@0.9.1) (2021-02-09)
167
-
168
- **Note:** Version bump only for package @contentful/field-editor-slug
169
-
170
- # [0.9.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.8.0...@contentful/field-editor-slug@0.9.0) (2021-02-01)
171
-
172
- ### Features
173
-
174
- - swap ui-extension-sdk to app-sdk ([#576](https://github.com/contentful/field-editors/issues/576)) ([ac88b4b](https://github.com/contentful/field-editors/commit/ac88b4bd4573a72f521246fc8fcc873520ca90d4))
175
-
176
- # [0.8.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.7.0...@contentful/field-editor-slug@0.8.0) (2021-01-20)
177
-
178
- ### Features
179
-
180
- - update minimal forma-36 versions to use updated design ([#565](https://github.com/contentful/field-editors/issues/565)) ([332c734](https://github.com/contentful/field-editors/commit/332c734bfaf54f0e9773fcbb460d743b1f5459ec))
181
-
182
- # [0.7.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.6.5...@contentful/field-editor-slug@0.7.0) (2021-01-12)
183
-
184
- ### Features
185
-
186
- - update minimal required Forma version to the 3.73.12 ([#552](https://github.com/contentful/field-editors/issues/552)) ([2816fd9](https://github.com/contentful/field-editors/commit/2816fd960c28815faebf49a9ef8f4c4c0d91fc36))
187
-
188
- ## [0.6.5](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.6.4...@contentful/field-editor-slug@0.6.5) (2020-12-16)
189
-
190
- **Note:** Version bump only for package @contentful/field-editor-slug
191
-
192
- ## [0.6.4](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.6.3...@contentful/field-editor-slug@0.6.4) (2020-11-06)
193
-
194
- **Note:** Version bump only for package @contentful/field-editor-slug
195
-
196
- ## [0.6.3](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.6.2...@contentful/field-editor-slug@0.6.3) (2020-11-06)
197
-
198
- **Note:** Version bump only for package @contentful/field-editor-slug
199
-
200
- ## [0.6.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.6.1...@contentful/field-editor-slug@0.6.2) (2020-10-28)
201
-
202
- **Note:** Version bump only for package @contentful/field-editor-slug
203
-
204
- ## [0.6.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-slug@0.6.0...@contentful/field-editor-slug@0.6.1) (2020-08-24)
205
-
206
- **Note:** Version bump only for package @contentful/field-editor-slug