5 | {children}
6 |
7 | );
8 |
--------------------------------------------------------------------------------
/packages/storyblok-utils/src/utils/index.ts:
--------------------------------------------------------------------------------
1 | export * from './sbEditable';
2 | export * from './getSlugWithAppName';
3 | export * from './isSlugExcludedFromRouting';
4 | export * from './getLinkPropsFromStoryblok';
5 | export * from './getAssetFromStoryblok';
6 | export * from './getSlugWithoutAppName';
7 | export * from './resolveStoryblokStyles';
8 |
--------------------------------------------------------------------------------
/packages/storyblok-seo/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | parserOptions: {
3 | tsconfigRootDir: __dirname,
4 | project: './tsconfig.json',
5 | },
6 | rules: {
7 | 'import/no-extraneous-dependencies': 0,
8 | '@typescript-eslint/naming-convention': 0,
9 | },
10 | extends: ['eslint-config-custom/eslint-next.js'],
11 | };
12 |
--------------------------------------------------------------------------------
/packages/storyblok-setup/src/components/consts.ts:
--------------------------------------------------------------------------------
1 | export const TEMPLATE_COLOR = '#fbce41';
2 | export const ORGANISMS_COLOR = '#2db47d';
3 | export const MOLECULES_COLOR = '#ff6159';
4 | export const ATOMS_COLOR = '#ffac00';
5 | export const LAYOUT_COLOR = '#00b3b0';
6 | export const SEO_COLOR = '#395ece';
7 | export const CONTENT_TYPE_COLOR = '#1b243f';
8 |
--------------------------------------------------------------------------------
/packages/storyblok-ui/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | parserOptions: {
3 | tsconfigRootDir: __dirname,
4 | project: './tsconfig.json',
5 | },
6 | rules: {
7 | 'import/no-extraneous-dependencies': 0,
8 | '@typescript-eslint/naming-convention': 0,
9 | },
10 | extends: ['eslint-config-custom/eslint-next.js'],
11 | };
12 |
--------------------------------------------------------------------------------
/apps/web/.env.example:
--------------------------------------------------------------------------------
1 | NEXT_PUBLIC_APP_URL=http://localhost:3000
2 |
3 | # storyblok
4 | NEXT_PUBLIC_STORYBLOK_API_URL=https://gapi.storyblok.com/v1/api
5 | NEXT_PUBLIC_STORYBLOK_PREVIEW_TOKEN=
6 | NEXT_PUBLIC_STORYBLOK_MAIN_APP_FOLDER=app
7 | NEXT_PUBLIC_STORYBLOK_EXCLUDED_FOLDERS_FROM_ROUTING=configuration-a93cfcb3
8 | # NEXT_PUBLIC_STORYBLOK_TOKEN_VERSION
9 |
--------------------------------------------------------------------------------
/packages/storyblok-richtext/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | parserOptions: {
3 | tsconfigRootDir: __dirname,
4 | project: './tsconfig.json',
5 | },
6 | rules: {
7 | 'import/no-extraneous-dependencies': 0,
8 | '@typescript-eslint/naming-convention': 0,
9 | },
10 | extends: ['eslint-config-custom/eslint-next.js'],
11 | };
12 |
--------------------------------------------------------------------------------
/packages/utils/src/helpers/isArrayWithLength/isArrayWithLength.ts:
--------------------------------------------------------------------------------
1 | /**
2 | * If items is an array with a length greater than zero, return true, otherwise return false.
3 | * @param {T[]} [items] - The array to check
4 | */
5 | export const isArrayWithLength = 13 | There was an issue with our app. This could be a temporary issue, please try your action 14 | again. 15 |
16 | 19 |;
27 | };
28 |
--------------------------------------------------------------------------------
/packages/ui/src/Tooltip/Tooltip.stories.tsx:
--------------------------------------------------------------------------------
1 | import type { Meta, StoryObj } from '@storybook/react';
2 |
3 | import { Button } from '../Button';
4 | import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './Tooltip';
5 |
6 | const meta: MetaAny data as children
27 |