@semcore/errors 17.1.1-prerelease.0 → 17.1.1-prerelease.11
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.
- package/CHANGELOG.md +1 -1
- package/lib/cjs/AccessDenied/AccessDenied.type.js.map +1 -1
- package/lib/cjs/Error.type.js.map +1 -1
- package/lib/cjs/Maintenance/Maintenance.type.js.map +1 -1
- package/lib/cjs/PageError/PageError.type.js.map +1 -1
- package/lib/cjs/PageNotFound/PageNotFound.type.js.map +1 -1
- package/lib/cjs/ProjectNotFound/ProjectNotFound.type.js.map +1 -1
- package/lib/es6/AccessDenied/AccessDenied.type.js.map +1 -1
- package/lib/es6/Error.type.js.map +1 -1
- package/lib/es6/Maintenance/Maintenance.type.js.map +1 -1
- package/lib/es6/PageError/PageError.type.js.map +1 -1
- package/lib/es6/PageNotFound/PageNotFound.type.js.map +1 -1
- package/lib/es6/ProjectNotFound/ProjectNotFound.type.js.map +1 -1
- package/lib/types/AccessDenied/AccessDenied.d.ts +1 -0
- package/lib/types/AccessDenied/AccessDenied.d.ts.map +1 -0
- package/lib/types/AccessDenied/AccessDenied.type.d.ts +2 -1
- package/lib/types/AccessDenied/AccessDenied.type.d.ts.map +1 -0
- package/lib/types/AccessDenied/translations/__intergalactic-dynamic-locales.d.ts +1 -0
- package/lib/types/AccessDenied/translations/__intergalactic-dynamic-locales.d.ts.map +1 -0
- package/lib/types/Error.d.ts +1 -0
- package/lib/types/Error.d.ts.map +1 -0
- package/lib/types/Error.type.d.ts +9 -8
- package/lib/types/Error.type.d.ts.map +1 -0
- package/lib/types/Maintenance/Maintenance.d.ts +1 -0
- package/lib/types/Maintenance/Maintenance.d.ts.map +1 -0
- package/lib/types/Maintenance/Maintenance.type.d.ts +2 -1
- package/lib/types/Maintenance/Maintenance.type.d.ts.map +1 -0
- package/lib/types/Maintenance/translations/__intergalactic-dynamic-locales.d.ts +1 -0
- package/lib/types/Maintenance/translations/__intergalactic-dynamic-locales.d.ts.map +1 -0
- package/lib/types/PageError/PageError.d.ts +1 -0
- package/lib/types/PageError/PageError.d.ts.map +1 -0
- package/lib/types/PageError/PageError.type.d.ts +2 -1
- package/lib/types/PageError/PageError.type.d.ts.map +1 -0
- package/lib/types/PageError/translations/__intergalactic-dynamic-locales.d.ts +1 -0
- package/lib/types/PageError/translations/__intergalactic-dynamic-locales.d.ts.map +1 -0
- package/lib/types/PageNotFound/PageNotFound.d.ts +1 -0
- package/lib/types/PageNotFound/PageNotFound.d.ts.map +1 -0
- package/lib/types/PageNotFound/PageNotFound.type.d.ts +2 -1
- package/lib/types/PageNotFound/PageNotFound.type.d.ts.map +1 -0
- package/lib/types/PageNotFound/translations/__intergalactic-dynamic-locales.d.ts +1 -0
- package/lib/types/PageNotFound/translations/__intergalactic-dynamic-locales.d.ts.map +1 -0
- package/lib/types/ProjectNotFound/ProjectNotFound.d.ts +1 -0
- package/lib/types/ProjectNotFound/ProjectNotFound.d.ts.map +1 -0
- package/lib/types/ProjectNotFound/ProjectNotFound.type.d.ts +2 -1
- package/lib/types/ProjectNotFound/ProjectNotFound.type.d.ts.map +1 -0
- package/lib/types/ProjectNotFound/translations/__intergalactic-dynamic-locales.d.ts +1 -0
- package/lib/types/ProjectNotFound/translations/__intergalactic-dynamic-locales.d.ts.map +1 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.d.ts.map +1 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccessDenied.type.js","names":[],"sources":["../../../src/AccessDenied/AccessDenied.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSAccessDenied {\n type Props = WithI18nEnhanceProps & {\n /**\n * href of the home link\n * @default /\n */\n homeLink?: string;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n homeLink: '/';\n icon: string;\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in
|
|
1
|
+
{"version":3,"file":"AccessDenied.type.js","names":[],"sources":["../../../src/AccessDenied/AccessDenied.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSAccessDenied {\n type Props = WithI18nEnhanceProps & {\n /**\n * href of the home link\n * @default /\n */\n homeLink?: string;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n homeLink: '/';\n icon: string;\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in v19. */\nexport type AccessDeniedProps = NSAccessDenied.Props;\n\nexport type { NSAccessDenied };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Error.type.js","names":[],"sources":["../../src/Error.type.ts"],"sourcesContent":["import type {
|
|
1
|
+
{"version":3,"file":"Error.type.js","names":[],"sources":["../../src/Error.type.ts"],"sourcesContent":["import type { NSBox, NSFlex } from '@semcore/base-components';\nimport type { Intergalactic, PropGetterFn } from '@semcore/core';\nimport type { TIllustrationNamesErrors } from '@semcore/illustration';\nimport type React from 'react';\n\ndeclare namespace NSErrors {\n type Props = NSFlex.Props & {\n /**\n * Error icon\n * Icon as a string is a URL to an image.\n */\n icon?: string | React.ReactNode;\n };\n type Ctx = {\n getTextProps: PropGetterFn;\n getDescriptionProps: PropGetterFn;\n getControlsProps: PropGetterFn;\n };\n type IconName = TIllustrationNamesErrors;\n\n namespace Title {\n type Component = NSBox.Component;\n }\n\n namespace Description {\n type Component = NSBox.Component;\n }\n\n namespace Controls {\n type Component = NSBox.Component;\n }\n\n type Component = Intergalactic.Component<'div', Props, Ctx> & {\n Title: Title.Component;\n Description: Description.Component;\n Controls: Controls.Component;\n };\n}\n\n/** @deprecated It will be removed in v19. */\nexport type ErrorsProps = NSErrors.Props;\n/** @deprecated It will be removed in v19. */\nexport type ErrorsContext = NSErrors.Ctx;\n/** @deprecated It will be removed in v19. */\nexport type IconNamesErrors = NSErrors.IconName;\n\nexport type { NSErrors };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Maintenance.type.js","names":[],"sources":["../../../src/Maintenance/Maintenance.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSMaintenance {\n type Props = WithI18nEnhanceProps & {\n /**\n * Tool name\n */\n toolName: string;\n /**\n * href of the home link\n * @default /\n */\n homeLink?: string;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n homeLink: '/';\n icon: string;\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in
|
|
1
|
+
{"version":3,"file":"Maintenance.type.js","names":[],"sources":["../../../src/Maintenance/Maintenance.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSMaintenance {\n type Props = WithI18nEnhanceProps & {\n /**\n * Tool name\n */\n toolName: string;\n /**\n * href of the home link\n * @default /\n */\n homeLink?: string;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n homeLink: '/';\n icon: string;\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in v19. */\nexport type MaintenanceProps = NSMaintenance.Props;\n\nexport type { NSMaintenance };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageError.type.js","names":[],"sources":["../../../src/PageError/PageError.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSPageError {\n type Props = WithI18nEnhanceProps & {\n /**\n * Page reloading button click handler\n * @default () => { if (canUseDOM()) { location.reload(); } }\n */\n onClick?: (e: React.MouseEvent) => void;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n icon: string;\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in
|
|
1
|
+
{"version":3,"file":"PageError.type.js","names":[],"sources":["../../../src/PageError/PageError.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSPageError {\n type Props = WithI18nEnhanceProps & {\n /**\n * Page reloading button click handler\n * @default () => { if (canUseDOM()) { location.reload(); } }\n */\n onClick?: (e: React.MouseEvent) => void;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n icon: string;\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in v19. */\nexport type PageErrorProps = NSPageError.Props;\n\nexport type { NSPageError };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageNotFound.type.js","names":[],"sources":["../../../src/PageNotFound/PageNotFound.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSPageNotFound {\n type Props = WithI18nEnhanceProps & {\n /**\n * href of the home link\n * @default /\n */\n homeLink?: string;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n icon: string;\n homeLink: '/';\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in
|
|
1
|
+
{"version":3,"file":"PageNotFound.type.js","names":[],"sources":["../../../src/PageNotFound/PageNotFound.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSPageNotFound {\n type Props = WithI18nEnhanceProps & {\n /**\n * href of the home link\n * @default /\n */\n homeLink?: string;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n icon: string;\n homeLink: '/';\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in v19. */\nexport type PageNotFoundProps = NSPageNotFound.Props;\n\nexport type { NSPageNotFound };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectNotFound.type.js","names":[],"sources":["../../../src/ProjectNotFound/ProjectNotFound.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSProjectNotFound {\n type Props = WithI18nEnhanceProps & {\n /**\n * URL for the \"Go to Projects\" button\n * @default /projects\n */\n projectsLink?: string;\n /**\n * URL for the \"Contact us\" button\n * @default /company/contacts\n */\n contactsLink?: string;\n /**\n * URL for the \"Support Team\" link\n * @default /company/contacts\n */\n supportTeamLink?: string;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n icon: string;\n projectsLink: '/projects';\n contactsLink: '/company/contacts';\n supportTeamLink: '/company/contacts';\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in
|
|
1
|
+
{"version":3,"file":"ProjectNotFound.type.js","names":[],"sources":["../../../src/ProjectNotFound/ProjectNotFound.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSProjectNotFound {\n type Props = WithI18nEnhanceProps & {\n /**\n * URL for the \"Go to Projects\" button\n * @default /projects\n */\n projectsLink?: string;\n /**\n * URL for the \"Contact us\" button\n * @default /company/contacts\n */\n contactsLink?: string;\n /**\n * URL for the \"Support Team\" link\n * @default /company/contacts\n */\n supportTeamLink?: string;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n icon: string;\n projectsLink: '/projects';\n contactsLink: '/company/contacts';\n supportTeamLink: '/company/contacts';\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in v19. */\nexport type ProjectNotFoundProps = NSProjectNotFound.Props;\n\nexport type { NSProjectNotFound };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccessDenied.type.js","names":[],"sources":["../../../src/AccessDenied/AccessDenied.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSAccessDenied {\n type Props = WithI18nEnhanceProps & {\n /**\n * href of the home link\n * @default /\n */\n homeLink?: string;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n homeLink: '/';\n icon: string;\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in
|
|
1
|
+
{"version":3,"file":"AccessDenied.type.js","names":[],"sources":["../../../src/AccessDenied/AccessDenied.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSAccessDenied {\n type Props = WithI18nEnhanceProps & {\n /**\n * href of the home link\n * @default /\n */\n homeLink?: string;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n homeLink: '/';\n icon: string;\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in v19. */\nexport type AccessDeniedProps = NSAccessDenied.Props;\n\nexport type { NSAccessDenied };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Error.type.js","names":[],"sources":["../../src/Error.type.ts"],"sourcesContent":["import type {
|
|
1
|
+
{"version":3,"file":"Error.type.js","names":[],"sources":["../../src/Error.type.ts"],"sourcesContent":["import type { NSBox, NSFlex } from '@semcore/base-components';\nimport type { Intergalactic, PropGetterFn } from '@semcore/core';\nimport type { TIllustrationNamesErrors } from '@semcore/illustration';\nimport type React from 'react';\n\ndeclare namespace NSErrors {\n type Props = NSFlex.Props & {\n /**\n * Error icon\n * Icon as a string is a URL to an image.\n */\n icon?: string | React.ReactNode;\n };\n type Ctx = {\n getTextProps: PropGetterFn;\n getDescriptionProps: PropGetterFn;\n getControlsProps: PropGetterFn;\n };\n type IconName = TIllustrationNamesErrors;\n\n namespace Title {\n type Component = NSBox.Component;\n }\n\n namespace Description {\n type Component = NSBox.Component;\n }\n\n namespace Controls {\n type Component = NSBox.Component;\n }\n\n type Component = Intergalactic.Component<'div', Props, Ctx> & {\n Title: Title.Component;\n Description: Description.Component;\n Controls: Controls.Component;\n };\n}\n\n/** @deprecated It will be removed in v19. */\nexport type ErrorsProps = NSErrors.Props;\n/** @deprecated It will be removed in v19. */\nexport type ErrorsContext = NSErrors.Ctx;\n/** @deprecated It will be removed in v19. */\nexport type IconNamesErrors = NSErrors.IconName;\n\nexport type { NSErrors };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Maintenance.type.js","names":[],"sources":["../../../src/Maintenance/Maintenance.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSMaintenance {\n type Props = WithI18nEnhanceProps & {\n /**\n * Tool name\n */\n toolName: string;\n /**\n * href of the home link\n * @default /\n */\n homeLink?: string;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n homeLink: '/';\n icon: string;\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in
|
|
1
|
+
{"version":3,"file":"Maintenance.type.js","names":[],"sources":["../../../src/Maintenance/Maintenance.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSMaintenance {\n type Props = WithI18nEnhanceProps & {\n /**\n * Tool name\n */\n toolName: string;\n /**\n * href of the home link\n * @default /\n */\n homeLink?: string;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n homeLink: '/';\n icon: string;\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in v19. */\nexport type MaintenanceProps = NSMaintenance.Props;\n\nexport type { NSMaintenance };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageError.type.js","names":[],"sources":["../../../src/PageError/PageError.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSPageError {\n type Props = WithI18nEnhanceProps & {\n /**\n * Page reloading button click handler\n * @default () => { if (canUseDOM()) { location.reload(); } }\n */\n onClick?: (e: React.MouseEvent) => void;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n icon: string;\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in
|
|
1
|
+
{"version":3,"file":"PageError.type.js","names":[],"sources":["../../../src/PageError/PageError.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSPageError {\n type Props = WithI18nEnhanceProps & {\n /**\n * Page reloading button click handler\n * @default () => { if (canUseDOM()) { location.reload(); } }\n */\n onClick?: (e: React.MouseEvent) => void;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n icon: string;\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in v19. */\nexport type PageErrorProps = NSPageError.Props;\n\nexport type { NSPageError };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageNotFound.type.js","names":[],"sources":["../../../src/PageNotFound/PageNotFound.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSPageNotFound {\n type Props = WithI18nEnhanceProps & {\n /**\n * href of the home link\n * @default /\n */\n homeLink?: string;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n icon: string;\n homeLink: '/';\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in
|
|
1
|
+
{"version":3,"file":"PageNotFound.type.js","names":[],"sources":["../../../src/PageNotFound/PageNotFound.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSPageNotFound {\n type Props = WithI18nEnhanceProps & {\n /**\n * href of the home link\n * @default /\n */\n homeLink?: string;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n icon: string;\n homeLink: '/';\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in v19. */\nexport type PageNotFoundProps = NSPageNotFound.Props;\n\nexport type { NSPageNotFound };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectNotFound.type.js","names":[],"sources":["../../../src/ProjectNotFound/ProjectNotFound.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSProjectNotFound {\n type Props = WithI18nEnhanceProps & {\n /**\n * URL for the \"Go to Projects\" button\n * @default /projects\n */\n projectsLink?: string;\n /**\n * URL for the \"Contact us\" button\n * @default /company/contacts\n */\n contactsLink?: string;\n /**\n * URL for the \"Support Team\" link\n * @default /company/contacts\n */\n supportTeamLink?: string;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n icon: string;\n projectsLink: '/projects';\n contactsLink: '/company/contacts';\n supportTeamLink: '/company/contacts';\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in
|
|
1
|
+
{"version":3,"file":"ProjectNotFound.type.js","names":[],"sources":["../../../src/ProjectNotFound/ProjectNotFound.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSErrors } from '../Error.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSProjectNotFound {\n type Props = WithI18nEnhanceProps & {\n /**\n * URL for the \"Go to Projects\" button\n * @default /projects\n */\n projectsLink?: string;\n /**\n * URL for the \"Contact us\" button\n * @default /company/contacts\n */\n contactsLink?: string;\n /**\n * URL for the \"Support Team\" link\n * @default /company/contacts\n */\n supportTeamLink?: string;\n /**\n * HTML tag of the error title\n * @default h2\n */\n titleTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p';\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n icon: string;\n projectsLink: '/projects';\n contactsLink: '/company/contacts';\n supportTeamLink: '/company/contacts';\n titleTag: 'h2';\n };\n\n type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;\n}\n\n/** @deprecated It will be removed in v19. */\nexport type ProjectNotFoundProps = NSProjectNotFound.Props;\n\nexport type { NSProjectNotFound };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccessDenied.d.ts","sourceRoot":"","sources":["../../../src/AccessDenied/AccessDenied.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;;AAuC1D,wBAGoB"}
|
|
@@ -24,6 +24,7 @@ declare namespace NSAccessDenied {
|
|
|
24
24
|
};
|
|
25
25
|
type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;
|
|
26
26
|
}
|
|
27
|
-
/** @deprecated It will be removed in
|
|
27
|
+
/** @deprecated It will be removed in v19. */
|
|
28
28
|
export type AccessDeniedProps = NSAccessDenied.Props;
|
|
29
29
|
export type { NSAccessDenied };
|
|
30
|
+
//# sourceMappingURL=AccessDenied.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccessDenied.type.d.ts","sourceRoot":"","sources":["../../../src/AccessDenied/AccessDenied.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AAEzF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AAExF,OAAO,WAAW,cAAc,CAAC;IAC/B,KAAK,KAAK,GAAG,oBAAoB,GAAG;QAClC;;;WAGG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB;;;WAGG;QACH,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG,CAAC;KACnD,CAAC;IACF,KAAK,YAAY,GAAG;QAClB,IAAI,EAAE,iBAAiB,CAAC;QACxB,MAAM,EAAE,IAAI,CAAC;QACb,QAAQ,EAAE,GAAG,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,IAAI,CAAC;KAChB,CAAC;IAEF,KAAK,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;CACzE;AAED,6CAA6C;AAC7C,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC;AAErD,YAAY,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"__intergalactic-dynamic-locales.d.ts","sourceRoot":"","sources":["../../../../src/AccessDenied/translations/__intergalactic-dynamic-locales.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB7B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC"}
|
package/lib/types/Error.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Error.d.ts","sourceRoot":"","sources":["../../src/Error.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG7C,eAAO,MAAM,WAAW,GAAI,MAAM,QAAQ,CAAC,QAAQ,WAA8B,CAAC;AA+ClF,QAAA,MAAM,KAAK,oBAOT,CAAC;AAEH,eAAe,KAAK,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { NSBox, NSFlex } from '@semcore/base-components';
|
|
2
2
|
import type { Intergalactic, PropGetterFn } from '@semcore/core';
|
|
3
3
|
import type { TIllustrationNamesErrors } from '@semcore/illustration';
|
|
4
4
|
import type React from 'react';
|
|
5
5
|
declare namespace NSErrors {
|
|
6
|
-
type Props =
|
|
6
|
+
type Props = NSFlex.Props & {
|
|
7
7
|
/**
|
|
8
8
|
* Error icon
|
|
9
9
|
* Icon as a string is a URL to an image.
|
|
@@ -17,13 +17,13 @@ declare namespace NSErrors {
|
|
|
17
17
|
};
|
|
18
18
|
type IconName = TIllustrationNamesErrors;
|
|
19
19
|
namespace Title {
|
|
20
|
-
type Component =
|
|
20
|
+
type Component = NSBox.Component;
|
|
21
21
|
}
|
|
22
22
|
namespace Description {
|
|
23
|
-
type Component =
|
|
23
|
+
type Component = NSBox.Component;
|
|
24
24
|
}
|
|
25
25
|
namespace Controls {
|
|
26
|
-
type Component =
|
|
26
|
+
type Component = NSBox.Component;
|
|
27
27
|
}
|
|
28
28
|
type Component = Intergalactic.Component<'div', Props, Ctx> & {
|
|
29
29
|
Title: Title.Component;
|
|
@@ -31,10 +31,11 @@ declare namespace NSErrors {
|
|
|
31
31
|
Controls: Controls.Component;
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
/** @deprecated It will be removed in
|
|
34
|
+
/** @deprecated It will be removed in v19. */
|
|
35
35
|
export type ErrorsProps = NSErrors.Props;
|
|
36
|
-
/** @deprecated It will be removed in
|
|
36
|
+
/** @deprecated It will be removed in v19. */
|
|
37
37
|
export type ErrorsContext = NSErrors.Ctx;
|
|
38
|
-
/** @deprecated It will be removed in
|
|
38
|
+
/** @deprecated It will be removed in v19. */
|
|
39
39
|
export type IconNamesErrors = NSErrors.IconName;
|
|
40
40
|
export type { NSErrors };
|
|
41
|
+
//# sourceMappingURL=Error.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Error.type.d.ts","sourceRoot":"","sources":["../../src/Error.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AACjE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,WAAW,QAAQ,CAAC;IACzB,KAAK,KAAK,GAAG,MAAM,CAAC,KAAK,GAAG;QAC1B;;;WAGG;QACH,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;KACjC,CAAC;IACF,KAAK,GAAG,GAAG;QACT,YAAY,EAAE,YAAY,CAAC;QAC3B,mBAAmB,EAAE,YAAY,CAAC;QAClC,gBAAgB,EAAE,YAAY,CAAC;KAChC,CAAC;IACF,KAAK,QAAQ,GAAG,wBAAwB,CAAC;IAEzC,UAAU,KAAK,CAAC;QACd,KAAK,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC;KAClC;IAED,UAAU,WAAW,CAAC;QACpB,KAAK,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC;KAClC;IAED,UAAU,QAAQ,CAAC;QACjB,KAAK,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC;KAClC;IAED,KAAK,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,EAAE,GAAG,CAAC,GAAG;QAC5D,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;QACvB,WAAW,EAAE,WAAW,CAAC,SAAS,CAAC;QACnC,QAAQ,EAAE,QAAQ,CAAC,SAAS,CAAC;KAC9B,CAAC;CACH;AAED,6CAA6C;AAC7C,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,KAAK,CAAC;AACzC,6CAA6C;AAC7C,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,GAAG,CAAC;AACzC,6CAA6C;AAC7C,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC,QAAQ,CAAC;AAEhD,YAAY,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Maintenance.d.ts","sourceRoot":"","sources":["../../../src/Maintenance/Maintenance.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;;AAuCxD,wBAGmB"}
|
|
@@ -28,6 +28,7 @@ declare namespace NSMaintenance {
|
|
|
28
28
|
};
|
|
29
29
|
type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;
|
|
30
30
|
}
|
|
31
|
-
/** @deprecated It will be removed in
|
|
31
|
+
/** @deprecated It will be removed in v19. */
|
|
32
32
|
export type MaintenanceProps = NSMaintenance.Props;
|
|
33
33
|
export type { NSMaintenance };
|
|
34
|
+
//# sourceMappingURL=Maintenance.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Maintenance.type.d.ts","sourceRoot":"","sources":["../../../src/Maintenance/Maintenance.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AAEzF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AAExF,OAAO,WAAW,aAAa,CAAC;IAC9B,KAAK,KAAK,GAAG,oBAAoB,GAAG;QAClC;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QACjB;;;WAGG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB;;;WAGG;QACH,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG,CAAC;KACnD,CAAC;IACF,KAAK,YAAY,GAAG;QAClB,IAAI,EAAE,iBAAiB,CAAC;QACxB,MAAM,EAAE,IAAI,CAAC;QACb,QAAQ,EAAE,GAAG,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,IAAI,CAAC;KAChB,CAAC;IAEF,KAAK,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;CACzE;AAED,6CAA6C;AAC7C,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,KAAK,CAAC;AAEnD,YAAY,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"__intergalactic-dynamic-locales.d.ts","sourceRoot":"","sources":["../../../../src/Maintenance/translations/__intergalactic-dynamic-locales.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB7B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageError.d.ts","sourceRoot":"","sources":["../../../src/PageError/PageError.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;;AAgDpD,wBAGiB"}
|
|
@@ -23,6 +23,7 @@ declare namespace NSPageError {
|
|
|
23
23
|
};
|
|
24
24
|
type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;
|
|
25
25
|
}
|
|
26
|
-
/** @deprecated It will be removed in
|
|
26
|
+
/** @deprecated It will be removed in v19. */
|
|
27
27
|
export type PageErrorProps = NSPageError.Props;
|
|
28
28
|
export type { NSPageError };
|
|
29
|
+
//# sourceMappingURL=PageError.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageError.type.d.ts","sourceRoot":"","sources":["../../../src/PageError/PageError.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AAEzF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AAExF,OAAO,WAAW,WAAW,CAAC;IAC5B,KAAK,KAAK,GAAG,oBAAoB,GAAG;QAClC;;;WAGG;QACH,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;QACxC;;;WAGG;QACH,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG,CAAC;KACnD,CAAC;IACF,KAAK,YAAY,GAAG;QAClB,IAAI,EAAE,iBAAiB,CAAC;QACxB,MAAM,EAAE,IAAI,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,IAAI,CAAC;KAChB,CAAC;IAEF,KAAK,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;CACzE;AAED,6CAA6C;AAC7C,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,KAAK,CAAC;AAE/C,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"__intergalactic-dynamic-locales.d.ts","sourceRoot":"","sources":["../../../../src/PageError/translations/__intergalactic-dynamic-locales.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB7B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageNotFound.d.ts","sourceRoot":"","sources":["../../../src/PageNotFound/PageNotFound.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;;AAuC1D,wBAGoB"}
|
|
@@ -24,6 +24,7 @@ declare namespace NSPageNotFound {
|
|
|
24
24
|
};
|
|
25
25
|
type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;
|
|
26
26
|
}
|
|
27
|
-
/** @deprecated It will be removed in
|
|
27
|
+
/** @deprecated It will be removed in v19. */
|
|
28
28
|
export type PageNotFoundProps = NSPageNotFound.Props;
|
|
29
29
|
export type { NSPageNotFound };
|
|
30
|
+
//# sourceMappingURL=PageNotFound.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageNotFound.type.d.ts","sourceRoot":"","sources":["../../../src/PageNotFound/PageNotFound.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AAEzF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AAExF,OAAO,WAAW,cAAc,CAAC;IAC/B,KAAK,KAAK,GAAG,oBAAoB,GAAG;QAClC;;;WAGG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB;;;WAGG;QACH,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG,CAAC;KACnD,CAAC;IACF,KAAK,YAAY,GAAG;QAClB,IAAI,EAAE,iBAAiB,CAAC;QACxB,MAAM,EAAE,IAAI,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,GAAG,CAAC;QACd,QAAQ,EAAE,IAAI,CAAC;KAChB,CAAC;IAEF,KAAK,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;CACzE;AAED,6CAA6C;AAC7C,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,CAAC;AAErD,YAAY,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"__intergalactic-dynamic-locales.d.ts","sourceRoot":"","sources":["../../../../src/PageNotFound/translations/__intergalactic-dynamic-locales.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB7B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectNotFound.d.ts","sourceRoot":"","sources":["../../../src/ProjectNotFound/ProjectNotFound.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;;AAmDhE,wBAGuB"}
|
|
@@ -36,6 +36,7 @@ declare namespace NSProjectNotFound {
|
|
|
36
36
|
};
|
|
37
37
|
type Component = Intergalactic.Component<'div', Props & NSErrors.Props>;
|
|
38
38
|
}
|
|
39
|
-
/** @deprecated It will be removed in
|
|
39
|
+
/** @deprecated It will be removed in v19. */
|
|
40
40
|
export type ProjectNotFoundProps = NSProjectNotFound.Props;
|
|
41
41
|
export type { NSProjectNotFound };
|
|
42
|
+
//# sourceMappingURL=ProjectNotFound.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectNotFound.type.d.ts","sourceRoot":"","sources":["../../../src/ProjectNotFound/ProjectNotFound.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AAEzF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AAExF,OAAO,WAAW,iBAAiB,CAAC;IAClC,KAAK,KAAK,GAAG,oBAAoB,GAAG;QAClC;;;WAGG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB;;;WAGG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB;;;WAGG;QACH,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB;;;WAGG;QACH,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG,CAAC;KACnD,CAAC;IACF,KAAK,YAAY,GAAG;QAClB,IAAI,EAAE,iBAAiB,CAAC;QACxB,MAAM,EAAE,IAAI,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,WAAW,CAAC;QAC1B,YAAY,EAAE,mBAAmB,CAAC;QAClC,eAAe,EAAE,mBAAmB,CAAC;QACrC,QAAQ,EAAE,IAAI,CAAC;KAChB,CAAC;IAEF,KAAK,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;CACzE;AAED,6CAA6C;AAC7C,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,KAAK,CAAC;AAE3D,YAAY,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"__intergalactic-dynamic-locales.d.ts","sourceRoot":"","sources":["../../../../src/ProjectNotFound/translations/__intergalactic-dynamic-locales.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB7B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC"}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -10,3 +10,4 @@ export { default as PageNotFound } from './PageNotFound/PageNotFound';
|
|
|
10
10
|
export * from './PageNotFound/PageNotFound.type';
|
|
11
11
|
export { default as ProjectNotFound } from './ProjectNotFound/ProjectNotFound';
|
|
12
12
|
export * from './ProjectNotFound/ProjectNotFound.type';
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC/C,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACtE,cAAc,kCAAkC,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,cAAc,gCAAgC,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAC7D,cAAc,4BAA4B,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,6BAA6B,CAAC;AACtE,cAAc,kCAAkC,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAC/E,cAAc,wCAAwC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/errors",
|
|
3
3
|
"description": "Semrush Errors Component",
|
|
4
|
-
"version": "17.1.1-prerelease.
|
|
4
|
+
"version": "17.1.1-prerelease.11",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"require": "./lib/cjs/index.js"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/button": "^17.2.
|
|
18
|
-
"@semcore/illustration": "^17.0.
|
|
19
|
-
"@semcore/typography": "^17.2.1-prerelease.
|
|
17
|
+
"@semcore/button": "^17.2.2-prerelease.11",
|
|
18
|
+
"@semcore/illustration": "^17.0.2-prerelease.11",
|
|
19
|
+
"@semcore/typography": "^17.2.1-prerelease.11"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@semcore/base-components": "^17.2.
|
|
22
|
+
"@semcore/base-components": "^17.2.2-prerelease.11"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"directory": "semcore/errors"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@semcore/base-components": "17.2.1-prerelease.0",
|
|
31
30
|
"@semcore/testing-utils": "1.0.0",
|
|
32
|
-
"@semcore/core": "17.
|
|
31
|
+
"@semcore/core": "17.3.1-prerelease.11",
|
|
32
|
+
"@semcore/base-components": "17.2.2-prerelease.11"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "pnpm semcore-builder && pnpm vite build"
|