@strapi/content-type-builder
Advanced tools
Comparing version 0.0.0-experimental.baa6cf22298e591b4d52d8e59c60406d7a9f137f to 0.0.0-experimental.bd712ad3930045f4a5d2144c119e0b7856e97fc4
"use strict"; | ||
const index = require("../_chunks/index-CdIn1epT.js"); | ||
const index = require("../_chunks/index-hlyv9EE3.js"); | ||
require("@strapi/icons"); | ||
module.exports = index.index; | ||
//# sourceMappingURL=index.js.map |
/// <reference types="react" /> | ||
export declare const OptionBoxWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<Omit<import("@strapi/design-system").BoxProps<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>>, "ref"> & import("react").RefAttributes<unknown>, "ref"> & { | ||
ref?: ((instance: unknown) => void) | import("react").RefObject<unknown> | null | undefined; | ||
}, never>> & Omit<(<C extends import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> = "div">(props: import("react").PropsWithoutRef<import("@strapi/design-system").BoxProps<C>> & import("react").RefAttributes<unknown>) => import("react").ReactNode), keyof import("react").Component<any, {}, any>>; | ||
export declare const OptionBoxWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("@strapi/design-system").TransientBoxProps & { | ||
children?: import("react").ReactNode; | ||
} & import("@strapi/design-system/dist/types").AsProp<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>> & Omit<Omit<any, "ref">, "children" | keyof import("@strapi/design-system/dist/types").AsProp<C> | keyof import("@strapi/design-system").TransientBoxProps> & { | ||
ref?: any; | ||
}, "ref"> & { | ||
ref?: any; | ||
}, never>> & Omit<import("@strapi/design-system").BoxComponent<"div">, keyof import("react").Component<any, {}, any>>; |
/// <reference types="react" /> | ||
export declare const BoxWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<Omit<import("@strapi/design-system").BoxProps<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>>, "ref"> & import("react").RefAttributes<unknown>, "ref"> & { | ||
ref?: ((instance: unknown) => void) | import("react").RefObject<unknown> | null | undefined; | ||
}, never>> & Omit<(<C extends import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> = "div">(props: import("react").PropsWithoutRef<import("@strapi/design-system").BoxProps<C>> & import("react").RefAttributes<unknown>) => import("react").ReactNode), keyof import("react").Component<any, {}, any>>; | ||
export declare const BoxWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("@strapi/design-system").TransientBoxProps & { | ||
children?: import("react").ReactNode; | ||
} & import("@strapi/design-system/dist/types").AsProp<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>> & Omit<Omit<any, "ref">, "children" | keyof import("@strapi/design-system/dist/types").AsProp<C> | keyof import("@strapi/design-system").TransientBoxProps> & { | ||
ref?: any; | ||
}, "ref"> & { | ||
ref?: any; | ||
}, never>> & Omit<import("@strapi/design-system").BoxComponent<"div">, keyof import("react").Component<any, {}, any>>; |
import type { Component, Components } from '../../../types'; | ||
declare const retrieveComponentsThatHaveComponents: (allComponents: Components) => `${string}.${string}`[]; | ||
declare const doesComponentHaveAComponentField: (component: Component) => boolean; | ||
export { doesComponentHaveAComponentField, retrieveComponentsThatHaveComponents }; | ||
import type { Internal } from '@strapi/types'; | ||
type ChildComponent = { | ||
component: Internal.UID.Component; | ||
}; | ||
export type ComponentWithChildren = { | ||
component: Internal.UID.Component; | ||
childComponents: ChildComponent[]; | ||
}; | ||
declare const retrieveComponentsThatHaveComponents: (allComponents: Components) => ComponentWithChildren[]; | ||
declare const getComponentWithChildComponents: (component: Component) => ComponentWithChildren; | ||
export { getComponentWithChildComponents, retrieveComponentsThatHaveComponents }; |
@@ -1,1 +0,8 @@ | ||
export declare const retrieveNestedComponents: (appComponents: any) => string[]; | ||
import type { Components } from '../../../types'; | ||
import type { Internal } from '@strapi/types'; | ||
export type NestedComponent = { | ||
component: Internal.UID.Component; | ||
uidsOfAllParents?: Internal.UID.Component[]; | ||
parentCompoUid?: Internal.UID.Component; | ||
}; | ||
export declare const retrieveNestedComponents: (appComponents: Components) => NestedComponent[]; |
import type { IconByType } from '../../AttributeIcon'; | ||
import type { NestedComponent } from '../../DataManagerProvider/utils/retrieveNestedComponents'; | ||
import type { Internal } from '@strapi/types'; | ||
export declare const getAttributesToDisplay: (dataTarget: string | undefined, targetUid: Internal.UID.Schema, nestedComponents: Array<Internal.UID.Schema>) => IconByType[][]; | ||
export declare const getAttributesToDisplay: (dataTarget: string | undefined, targetUid: Internal.UID.Schema, nestedComponents: Array<NestedComponent>) => IconByType[][]; |
/// <reference types="react" /> | ||
import { IconByType } from './AttributeIcon'; | ||
export declare const BoxWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<Omit<import("@strapi/design-system").BoxProps<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>>, "ref"> & import("react").RefAttributes<unknown>, "ref"> & { | ||
ref?: ((instance: unknown) => void) | import("react").RefObject<unknown> | null | undefined; | ||
}, never>> & Omit<(<C extends import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> = "div">(props: import("react").PropsWithoutRef<import("@strapi/design-system").BoxProps<C>> & import("react").RefAttributes<unknown>) => import("react").ReactNode), keyof import("react").Component<any, {}, any>>; | ||
export declare const BoxWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("@strapi/design-system").TransientBoxProps & { | ||
children?: import("react").ReactNode; | ||
} & import("@strapi/design-system/dist/types").AsProp<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>> & Omit<Omit<any, "ref">, "children" | keyof import("@strapi/design-system/dist/types").AsProp<C> | keyof import("@strapi/design-system").TransientBoxProps> & { | ||
ref?: any; | ||
}, "ref"> & { | ||
ref?: any; | ||
}, never>> & Omit<import("@strapi/design-system").BoxComponent<"div">, keyof import("react").Component<any, {}, any>>; | ||
type ListRowProps = { | ||
@@ -7,0 +11,0 @@ configurable?: boolean; |
/// <reference types="react" /> | ||
import { BoxComponent, FlexComponent } from '@strapi/design-system'; | ||
declare const Wrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<Omit<import("@strapi/design-system").BoxProps<"div">, "ref"> & import("react").RefAttributes<unknown>, "ref"> & { | ||
ref?: ((instance: unknown) => void) | import("react").RefObject<unknown> | null | undefined; | ||
declare const Wrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<import("@strapi/design-system").TransientBoxProps & { | ||
children?: import("react").ReactNode; | ||
} & import("@strapi/design-system/dist/types").AsProp<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>> & Omit<Omit<any, "ref">, "children" | keyof import("@strapi/design-system/dist/types").AsProp<C> | keyof import("@strapi/design-system").TransientBoxProps> & { | ||
ref?: any; | ||
}, "ref"> & { | ||
ref?: any; | ||
}, never>> & Omit<BoxComponent, keyof import("react").Component<any, {}, any>>; | ||
declare const IconWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<Omit<import("@strapi/design-system").BoxProps<"button">, "ref"> & import("react").RefAttributes<unknown>, "ref"> & { | ||
ref?: ((instance: unknown) => void) | import("react").RefObject<unknown> | null | undefined; | ||
declare const IconWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("@strapi/design-system").TransientBoxProps & { | ||
children?: import("react").ReactNode; | ||
} & import("@strapi/design-system/dist/types").AsProp<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>> & Omit<Omit<any, "ref">, "children" | keyof import("@strapi/design-system/dist/types").AsProp<C> | keyof import("@strapi/design-system").TransientBoxProps> & { | ||
ref?: any; | ||
}, "ref"> & { | ||
ref?: any; | ||
}, { | ||
@@ -9,0 +17,0 @@ $isSelected: boolean; |
@@ -0,1 +1,2 @@ | ||
import type { Internal } from '@strapi/types'; | ||
interface SelectComponentProps { | ||
@@ -14,3 +15,3 @@ componentToCreate?: Record<string, any> | null; | ||
onChange: (value: any) => void; | ||
targetUid: string; | ||
targetUid: Internal.UID.Schema; | ||
value: string; | ||
@@ -17,0 +18,0 @@ forTarget: string; |
@@ -7,1 +7,2 @@ export declare const PERMISSIONS: { | ||
}; | ||
export declare const MAX_COMPONENT_DEPTH = 6; |
@@ -1,3 +0,2 @@ | ||
import type { Schema, Struct } from '@strapi/types'; | ||
export declare const hasComponent: (model: Struct.Schema) => boolean; | ||
import type { Schema } from '@strapi/types'; | ||
export declare const isConfigurable: (attribute: Schema.Attribute.AnyAttribute) => boolean; | ||
@@ -4,0 +3,0 @@ export declare const isRelation: (attribute: Schema.Attribute.AnyAttribute) => boolean; |
{ | ||
"name": "@strapi/content-type-builder", | ||
"version": "0.0.0-experimental.baa6cf22298e591b4d52d8e59c60406d7a9f137f", | ||
"version": "0.0.0-experimental.bd712ad3930045f4a5d2144c119e0b7856e97fc4", | ||
"description": "Create and manage content types", | ||
@@ -61,6 +61,6 @@ "repository": { | ||
"@sindresorhus/slugify": "1.1.0", | ||
"@strapi/design-system": "2.0.0-beta.4", | ||
"@strapi/generators": "0.0.0-experimental.baa6cf22298e591b4d52d8e59c60406d7a9f137f", | ||
"@strapi/icons": "2.0.0-beta.4", | ||
"@strapi/utils": "0.0.0-experimental.baa6cf22298e591b4d52d8e59c60406d7a9f137f", | ||
"@strapi/design-system": "2.0.0-beta.6", | ||
"@strapi/generators": "0.0.0-experimental.bd712ad3930045f4a5d2144c119e0b7856e97fc4", | ||
"@strapi/icons": "2.0.0-beta.6", | ||
"@strapi/utils": "0.0.0-experimental.bd712ad3930045f4a5d2144c119e0b7856e97fc4", | ||
"date-fns": "2.30.0", | ||
@@ -77,5 +77,5 @@ "fs-extra": "11.2.0", | ||
"devDependencies": { | ||
"@strapi/admin": "0.0.0-experimental.baa6cf22298e591b4d52d8e59c60406d7a9f137f", | ||
"@strapi/admin": "0.0.0-experimental.bd712ad3930045f4a5d2144c119e0b7856e97fc4", | ||
"@strapi/pack-up": "5.0.0", | ||
"@strapi/types": "0.0.0-experimental.baa6cf22298e591b4d52d8e59c60406d7a9f137f", | ||
"@strapi/types": "0.0.0-experimental.bd712ad3930045f4a5d2144c119e0b7856e97fc4", | ||
"@testing-library/react": "15.0.7", | ||
@@ -111,3 +111,3 @@ "@testing-library/user-event": "14.5.2", | ||
}, | ||
"gitHead": "baa6cf22298e591b4d52d8e59c60406d7a9f137f" | ||
"gitHead": "bd712ad3930045f4a5d2144c119e0b7856e97fc4" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3007234
317
34631
1
80
+ Added@floating-ui/react-dom@2.0.9(transitive)
+ Added@internationalized/date@3.5.3(transitive)
+ Added@internationalized/number@3.5.2(transitive)
+ Added@nodelib/fs.scandir@2.1.5(transitive)
+ Added@radix-ui/react-alert-dialog@1.0.5(transitive)
+ Added@radix-ui/react-avatar@1.0.4(transitive)
+ Added@radix-ui/react-checkbox@1.0.4(transitive)
+ Added@radix-ui/react-dialog@1.0.5(transitive)
+ Added@radix-ui/react-dropdown-menu@2.0.6(transitive)
+ Added@radix-ui/react-menu@2.0.6(transitive)
+ Added@radix-ui/react-popover@1.0.7(transitive)
+ Added@radix-ui/react-progress@1.0.3(transitive)
+ Added@radix-ui/react-radio-group@1.1.3(transitive)
+ Added@radix-ui/react-scroll-area@1.0.5(transitive)
+ Added@radix-ui/react-switch@1.0.3(transitive)
+ Added@radix-ui/react-tabs@1.0.4(transitive)
+ Added@strapi/design-system@2.0.0-beta.6(transitive)
+ Added@strapi/generators@0.0.0-experimental.bd712ad3930045f4a5d2144c119e0b7856e97fc4(transitive)
+ Added@strapi/icons@2.0.0-beta.6(transitive)
+ Added@strapi/typescript-utils@0.0.0-experimental.bd712ad3930045f4a5d2144c119e0b7856e97fc4(transitive)
+ Added@strapi/ui-primitives@2.0.0-beta.6(transitive)
+ Added@strapi/utils@0.0.0-experimental.bd712ad3930045f4a5d2144c119e0b7856e97fc4(transitive)
+ Added@uiw/codemirror-extensions-basic-setup@4.22.0(transitive)
+ Added@uiw/react-codemirror@4.22.0(transitive)
+ Addedarray-each@1.0.1(transitive)
+ Addedarray-slice@1.1.0(transitive)
+ Addedfastq@1.18.0(transitive)
+ Addedfill-range@4.0.07.1.1(transitive)
+ Addedfor-in@1.0.2(transitive)
+ Addedglobal-modules@1.0.0(transitive)
+ Addedhomedir-polyfill@1.0.3(transitive)
+ Addedis-absolute@1.0.0(transitive)
+ Addedmap-cache@0.2.2(transitive)
+ Addedp-limit@2.3.03.1.0(transitive)
+ Addedpath-root@0.1.1(transitive)
+ Addedreact-remove-scroll@2.5.5(transitive)
- Removed@floating-ui/react-dom@2.1.2(transitive)
- Removed@internationalized/number@3.6.0(transitive)
- Removed@radix-ui/primitive@1.1.1(transitive)
- Removed@radix-ui/react-arrow@1.1.1(transitive)
- Removed@radix-ui/react-collection@1.1.1(transitive)
- Removed@radix-ui/react-compose-refs@1.1.1(transitive)
- Removed@radix-ui/react-context@1.1.1(transitive)
- Removed@radix-ui/react-direction@1.1.0(transitive)
- Removed@radix-ui/react-dismissable-layer@1.1.3(transitive)
- Removed@radix-ui/react-dropdown-menu@2.1.4(transitive)
- Removed@radix-ui/react-focus-guards@1.1.1(transitive)
- Removed@radix-ui/react-focus-scope@1.1.1(transitive)
- Removed@radix-ui/react-id@1.1.0(transitive)
- Removed@radix-ui/react-menu@2.1.4(transitive)
- Removed@radix-ui/react-popper@1.2.1(transitive)
- Removed@radix-ui/react-portal@1.1.3(transitive)
- Removed@radix-ui/react-presence@1.1.2(transitive)
- Removed@radix-ui/react-primitive@2.0.1(transitive)
- Removed@radix-ui/react-roving-focus@1.1.1(transitive)
- Removed@radix-ui/react-slot@1.1.1(transitive)
- Removed@radix-ui/react-use-callback-ref@1.1.0(transitive)
- Removed@radix-ui/react-use-controllable-state@1.1.0(transitive)
- Removed@radix-ui/react-use-escape-keydown@1.1.0(transitive)
- Removed@radix-ui/react-use-layout-effect@1.1.0(transitive)
- Removed@radix-ui/react-use-rect@1.1.0(transitive)
- Removed@radix-ui/react-use-size@1.1.0(transitive)
- Removed@radix-ui/rect@1.1.0(transitive)
- Removed@rushstack/terminal@0.14.4(transitive)
- Removed@strapi/design-system@2.0.0-beta.4(transitive)
- Removed@strapi/generators@0.0.0-experimental.baa6cf22298e591b4d52d8e59c60406d7a9f137f(transitive)
- Removed@strapi/icons@2.0.0-beta.4(transitive)
- Removed@strapi/typescript-utils@0.0.0-experimental.baa6cf22298e591b4d52d8e59c60406d7a9f137f(transitive)
- Removed@strapi/ui-primitives@2.0.0-rc.14(transitive)
- Removed@strapi/utils@0.0.0-experimental.baa6cf22298e591b4d52d8e59c60406d7a9f137f(transitive)
- Removed@types/argparse@1.0.38(transitive)
- Removed@types/connect@3.4.38(transitive)
- Removed@types/express@5.0.0(transitive)
- Removed@types/triple-beam@1.3.5(transitive)
- Removed@uiw/codemirror-extensions-basic-setup@4.23.7(transitive)
- Removed@uiw/react-codemirror@4.23.7(transitive)
- Removedcolorspace@1.1.4(transitive)
- Removedenabled@2.0.0(transitive)
- Removedfecha@4.2.3(transitive)
- Removedfn.name@1.1.0(transitive)
- Removedkuler@2.0.0(transitive)
- Removedreact-remove-scroll@2.6.2(transitive)
- Removedstring-argv@0.3.2(transitive)
- Removedsupports-color@8.1.1(transitive)
- Removedunpipe@1.0.0(transitive)
Updated@strapi/generators@0.0.0-experimental.bd712ad3930045f4a5d2144c119e0b7856e97fc4
Updated@strapi/icons@2.0.0-beta.6
Updated@strapi/utils@0.0.0-experimental.bd712ad3930045f4a5d2144c119e0b7856e97fc4