@semcore/feature-popover 17.2.2-prerelease.1 → 17.2.2-prerelease.2
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/lib/cjs/FeaturePopover.type.js.map +1 -1
- package/lib/es6/FeaturePopover.type.js.map +1 -1
- package/lib/types/FeaturePopover.d.ts +1 -0
- package/lib/types/FeaturePopover.d.ts.map +1 -0
- package/lib/types/FeaturePopover.type.d.ts +18 -17
- package/lib/types/FeaturePopover.type.d.ts.map +1 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/translations/__intergalactic-dynamic-locales.d.ts +1 -0
- package/lib/types/translations/__intergalactic-dynamic-locales.d.ts.map +1 -0
- package/package.json +10 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeaturePopover.type.js","names":[],"sources":["../../src/FeaturePopover.type.ts"],"sourcesContent":["import type { Options as OptionsArrow } from '@popperjs/core/lib/modifiers/arrow';\nimport type { Options as OptionsComputeStyles } from '@popperjs/core/lib/modifiers/computeStyles';\nimport type { Options as OptionsEventListeners } from '@popperjs/core/lib/modifiers/eventListeners';\nimport type { Options as OptionsFlip } from '@popperjs/core/lib/modifiers/flip';\nimport type { Options as OptionsOffset } from '@popperjs/core/lib/modifiers/offset';\nimport type { Options as OptionsPreventOverflow } from '@popperjs/core/lib/modifiers/preventOverflow';\nimport type { Modifier, Options, PositioningStrategy } from '@popperjs/core/lib/types';\nimport type {
|
|
1
|
+
{"version":3,"file":"FeaturePopover.type.js","names":[],"sources":["../../src/FeaturePopover.type.ts"],"sourcesContent":["import type { Options as OptionsArrow } from '@popperjs/core/lib/modifiers/arrow';\nimport type { Options as OptionsComputeStyles } from '@popperjs/core/lib/modifiers/computeStyles';\nimport type { Options as OptionsEventListeners } from '@popperjs/core/lib/modifiers/eventListeners';\nimport type { Options as OptionsFlip } from '@popperjs/core/lib/modifiers/flip';\nimport type { Options as OptionsOffset } from '@popperjs/core/lib/modifiers/offset';\nimport type { Options as OptionsPreventOverflow } from '@popperjs/core/lib/modifiers/preventOverflow';\nimport type { Modifier, Options, PositioningStrategy } from '@popperjs/core/lib/types';\nimport type { NSAnimation, NSBox, NSOutsideClick, NSPortal, NSPopper } from '@semcore/base-components';\nimport type { Intergalactic, PropGetterFn } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport type { UniqueIDProps } from '@semcore/core/lib/utils/uniqueID';\n\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSFeaturePopover {\n type Props = FPPopperProps & {\n /** Popper visibility value */\n visible?: boolean;\n /** Function called when visibility changes */\n onVisibleChange?: (visible: boolean, e?: Event) => boolean | void;\n /**\n * The position of the popper relative to the trigger that called it.\n * @default auto\n */\n placement?: NSPopper.Placement;\n /**\n * The theme of FeaturePopover\n * @default accent\n */\n theme?: 'accent' | 'neutral';\n };\n type DefaultProps = {\n offset: NSFeaturePopover.Props['offset'];\n placement: 'bottom-start';\n defaultVisible: false;\n onOutsideClick: () => void;\n interaction: 'none';\n i18n: LocalizedMessages;\n locale: 'en';\n theme: 'accent';\n };\n type InternalProps = WithI18nEnhanceProps & {\n interaction?: NSPopper.Props['interaction'];\n };\n type Handlers = {\n visible: null;\n };\n type Ctx = NSPopper.Ctx & {\n getSpotProps: PropGetterFn;\n };\n\n namespace Trigger {\n type Props = NSBox.Props & {\n theme?: NSFeaturePopover.Props['theme'];\n };\n\n type Component = Intergalactic.Component<NSPopper.Trigger.Component, Props>;\n }\n\n namespace Popper {\n type Props = NSPopper.Popper.Props &\n /**\n * Popper must have an accessible names (aria-group-name).\n */\n Intergalactic.RequireAtLeastOne<{\n 'aria-label'?: string;\n 'aria-labelledby'?: string;\n 'title'?: string;\n }> & {\n /**\n * The property responsible for the visibility of the closing icon\n * @default false\n */\n closeIcon?: boolean;\n /** Animation display duration in `ms`\n * @default 200\n */\n duration?: number;\n /** Specifies the locale for i18n support */\n locale?: string;\n /**\n * Disable animation\n * @deprecated\n */\n animationsDisabled?: boolean;\n };\n\n type Component = Intergalactic.Component<'div', Props>;\n }\n\n namespace Spot {\n type Props = {\n visible?: boolean;\n theme?: NSFeaturePopover.Props['theme'];\n };\n\n type Component = Intergalactic.Component<NSBox.Component, Props>;\n }\n\n type Component = Intergalactic.Component<'div', Props, Ctx> & {\n Trigger: Trigger.Component;\n Popper: Popper.Component;\n Spot: Spot.Component;\n };\n}\n\n// Re-think it since looks like those props aren't needed for the Root component.\n/** @deprecated It will be removed in v19. */\nexport type FPPopperProps = NSOutsideClick.Props &\n NSPortal.Props &\n UniqueIDProps &\n NSAnimation.Props & {\n /**\n * Popper can have different positioning options\n * @default absolute\n */\n strategy?: PositioningStrategy;\n /**\n * Modifiers for popper.js\n */\n modifiers?: Array<Partial<Modifier<any, any>>>;\n /** Timer to show and hide the popper */\n timeout?: number | [number, number];\n /** PopperJS modifier settings for popper indent */\n offset?: Partial<OptionsOffset> | number | [number, number];\n /** PopperJS modifier settings for finding borders */\n preventOverflow?: Partial<OptionsPreventOverflow>;\n /** PopperJS modifier settings responsible for the arrow */\n arrow?: Partial<OptionsArrow>;\n /** PopperJS modifier settings responsible for turning the popper when there is not enough space */\n flip?: Partial<OptionsFlip>;\n /** PopperJS modifier settings for applying styles */\n computeStyles?: Partial<OptionsComputeStyles>;\n /** PopperJS modifier settings responsible for subscribing to global events */\n eventListeners?: Partial<OptionsEventListeners>;\n /** @ignore */\n onFirstUpdate?: Options['onFirstUpdate'];\n /**\n * Flag for disable Popover (if true, it will close Popper and it will not respond to handlers)\n * @default false\n */\n disabled?: boolean;\n /**\n * If enabled, you will need to use setTrigger function from children rendering function to set popper trigger.\n */\n explicitTriggerSet?: boolean;\n\n popperMargin?: number;\n };\n\n/** @deprecated It will be removed in v19. */\nexport type FeaturePopoverPopperProps = NSFeaturePopover.Popper.Props;\n/** @deprecated It will be removed in v19. */\nexport type FeaturePopoverContext = NSFeaturePopover.Ctx;\n/** @deprecated It will be removed in v19. */\nexport type FeaturePopoverProps = NSFeaturePopover.Props;\n/** @deprecated It will be removed in v19. */\nexport type FeaturePopoverDefaultProps = NSFeaturePopover.DefaultProps;\n/** @deprecated It will be removed in v19. */\nexport type FeaturePopoverTriggerProps = NSFeaturePopover.Trigger.Props;\n/** @deprecated It will be removed in v19. */\nexport type FeaturePopoverSpotProps = NSFeaturePopover.Spot.Props;\n/** @deprecated It will be removed in v19. */\nexport type FeaturePopoverComponent = NSFeaturePopover.Component;\n\nexport type { NSFeaturePopover };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeaturePopover.type.js","names":[],"sources":["../../src/FeaturePopover.type.ts"],"sourcesContent":["import type { Options as OptionsArrow } from '@popperjs/core/lib/modifiers/arrow';\nimport type { Options as OptionsComputeStyles } from '@popperjs/core/lib/modifiers/computeStyles';\nimport type { Options as OptionsEventListeners } from '@popperjs/core/lib/modifiers/eventListeners';\nimport type { Options as OptionsFlip } from '@popperjs/core/lib/modifiers/flip';\nimport type { Options as OptionsOffset } from '@popperjs/core/lib/modifiers/offset';\nimport type { Options as OptionsPreventOverflow } from '@popperjs/core/lib/modifiers/preventOverflow';\nimport type { Modifier, Options, PositioningStrategy } from '@popperjs/core/lib/types';\nimport type {
|
|
1
|
+
{"version":3,"file":"FeaturePopover.type.js","names":[],"sources":["../../src/FeaturePopover.type.ts"],"sourcesContent":["import type { Options as OptionsArrow } from '@popperjs/core/lib/modifiers/arrow';\nimport type { Options as OptionsComputeStyles } from '@popperjs/core/lib/modifiers/computeStyles';\nimport type { Options as OptionsEventListeners } from '@popperjs/core/lib/modifiers/eventListeners';\nimport type { Options as OptionsFlip } from '@popperjs/core/lib/modifiers/flip';\nimport type { Options as OptionsOffset } from '@popperjs/core/lib/modifiers/offset';\nimport type { Options as OptionsPreventOverflow } from '@popperjs/core/lib/modifiers/preventOverflow';\nimport type { Modifier, Options, PositioningStrategy } from '@popperjs/core/lib/types';\nimport type { NSAnimation, NSBox, NSOutsideClick, NSPortal, NSPopper } from '@semcore/base-components';\nimport type { Intergalactic, PropGetterFn } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport type { UniqueIDProps } from '@semcore/core/lib/utils/uniqueID';\n\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSFeaturePopover {\n type Props = FPPopperProps & {\n /** Popper visibility value */\n visible?: boolean;\n /** Function called when visibility changes */\n onVisibleChange?: (visible: boolean, e?: Event) => boolean | void;\n /**\n * The position of the popper relative to the trigger that called it.\n * @default auto\n */\n placement?: NSPopper.Placement;\n /**\n * The theme of FeaturePopover\n * @default accent\n */\n theme?: 'accent' | 'neutral';\n };\n type DefaultProps = {\n offset: NSFeaturePopover.Props['offset'];\n placement: 'bottom-start';\n defaultVisible: false;\n onOutsideClick: () => void;\n interaction: 'none';\n i18n: LocalizedMessages;\n locale: 'en';\n theme: 'accent';\n };\n type InternalProps = WithI18nEnhanceProps & {\n interaction?: NSPopper.Props['interaction'];\n };\n type Handlers = {\n visible: null;\n };\n type Ctx = NSPopper.Ctx & {\n getSpotProps: PropGetterFn;\n };\n\n namespace Trigger {\n type Props = NSBox.Props & {\n theme?: NSFeaturePopover.Props['theme'];\n };\n\n type Component = Intergalactic.Component<NSPopper.Trigger.Component, Props>;\n }\n\n namespace Popper {\n type Props = NSPopper.Popper.Props &\n /**\n * Popper must have an accessible names (aria-group-name).\n */\n Intergalactic.RequireAtLeastOne<{\n 'aria-label'?: string;\n 'aria-labelledby'?: string;\n 'title'?: string;\n }> & {\n /**\n * The property responsible for the visibility of the closing icon\n * @default false\n */\n closeIcon?: boolean;\n /** Animation display duration in `ms`\n * @default 200\n */\n duration?: number;\n /** Specifies the locale for i18n support */\n locale?: string;\n /**\n * Disable animation\n * @deprecated\n */\n animationsDisabled?: boolean;\n };\n\n type Component = Intergalactic.Component<'div', Props>;\n }\n\n namespace Spot {\n type Props = {\n visible?: boolean;\n theme?: NSFeaturePopover.Props['theme'];\n };\n\n type Component = Intergalactic.Component<NSBox.Component, Props>;\n }\n\n type Component = Intergalactic.Component<'div', Props, Ctx> & {\n Trigger: Trigger.Component;\n Popper: Popper.Component;\n Spot: Spot.Component;\n };\n}\n\n// Re-think it since looks like those props aren't needed for the Root component.\n/** @deprecated It will be removed in v19. */\nexport type FPPopperProps = NSOutsideClick.Props &\n NSPortal.Props &\n UniqueIDProps &\n NSAnimation.Props & {\n /**\n * Popper can have different positioning options\n * @default absolute\n */\n strategy?: PositioningStrategy;\n /**\n * Modifiers for popper.js\n */\n modifiers?: Array<Partial<Modifier<any, any>>>;\n /** Timer to show and hide the popper */\n timeout?: number | [number, number];\n /** PopperJS modifier settings for popper indent */\n offset?: Partial<OptionsOffset> | number | [number, number];\n /** PopperJS modifier settings for finding borders */\n preventOverflow?: Partial<OptionsPreventOverflow>;\n /** PopperJS modifier settings responsible for the arrow */\n arrow?: Partial<OptionsArrow>;\n /** PopperJS modifier settings responsible for turning the popper when there is not enough space */\n flip?: Partial<OptionsFlip>;\n /** PopperJS modifier settings for applying styles */\n computeStyles?: Partial<OptionsComputeStyles>;\n /** PopperJS modifier settings responsible for subscribing to global events */\n eventListeners?: Partial<OptionsEventListeners>;\n /** @ignore */\n onFirstUpdate?: Options['onFirstUpdate'];\n /**\n * Flag for disable Popover (if true, it will close Popper and it will not respond to handlers)\n * @default false\n */\n disabled?: boolean;\n /**\n * If enabled, you will need to use setTrigger function from children rendering function to set popper trigger.\n */\n explicitTriggerSet?: boolean;\n\n popperMargin?: number;\n };\n\n/** @deprecated It will be removed in v19. */\nexport type FeaturePopoverPopperProps = NSFeaturePopover.Popper.Props;\n/** @deprecated It will be removed in v19. */\nexport type FeaturePopoverContext = NSFeaturePopover.Ctx;\n/** @deprecated It will be removed in v19. */\nexport type FeaturePopoverProps = NSFeaturePopover.Props;\n/** @deprecated It will be removed in v19. */\nexport type FeaturePopoverDefaultProps = NSFeaturePopover.DefaultProps;\n/** @deprecated It will be removed in v19. */\nexport type FeaturePopoverTriggerProps = NSFeaturePopover.Trigger.Props;\n/** @deprecated It will be removed in v19. */\nexport type FeaturePopoverSpotProps = NSFeaturePopover.Spot.Props;\n/** @deprecated It will be removed in v19. */\nexport type FeaturePopoverComponent = NSFeaturePopover.Component;\n\nexport type { NSFeaturePopover };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeaturePopover.d.ts","sourceRoot":"","sources":["../../src/FeaturePopover.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAwM9D;;;;GAIG;;AACH,wBAYE"}
|
|
@@ -5,7 +5,7 @@ import type { Options as OptionsFlip } from '@popperjs/core/lib/modifiers/flip';
|
|
|
5
5
|
import type { Options as OptionsOffset } from '@popperjs/core/lib/modifiers/offset';
|
|
6
6
|
import type { Options as OptionsPreventOverflow } from '@popperjs/core/lib/modifiers/preventOverflow';
|
|
7
7
|
import type { Modifier, Options, PositioningStrategy } from '@popperjs/core/lib/types';
|
|
8
|
-
import type {
|
|
8
|
+
import type { NSAnimation, NSBox, NSOutsideClick, NSPortal, NSPopper } from '@semcore/base-components';
|
|
9
9
|
import type { Intergalactic, PropGetterFn } from '@semcore/core';
|
|
10
10
|
import type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';
|
|
11
11
|
import type { UniqueIDProps } from '@semcore/core/lib/utils/uniqueID';
|
|
@@ -20,7 +20,7 @@ declare namespace NSFeaturePopover {
|
|
|
20
20
|
* The position of the popper relative to the trigger that called it.
|
|
21
21
|
* @default auto
|
|
22
22
|
*/
|
|
23
|
-
placement?: Placement;
|
|
23
|
+
placement?: NSPopper.Placement;
|
|
24
24
|
/**
|
|
25
25
|
* The theme of FeaturePopover
|
|
26
26
|
* @default accent
|
|
@@ -38,22 +38,22 @@ declare namespace NSFeaturePopover {
|
|
|
38
38
|
theme: 'accent';
|
|
39
39
|
};
|
|
40
40
|
type InternalProps = WithI18nEnhanceProps & {
|
|
41
|
-
interaction?:
|
|
41
|
+
interaction?: NSPopper.Props['interaction'];
|
|
42
42
|
};
|
|
43
43
|
type Handlers = {
|
|
44
44
|
visible: null;
|
|
45
45
|
};
|
|
46
|
-
type Ctx =
|
|
46
|
+
type Ctx = NSPopper.Ctx & {
|
|
47
47
|
getSpotProps: PropGetterFn;
|
|
48
48
|
};
|
|
49
49
|
namespace Trigger {
|
|
50
|
-
type Props =
|
|
50
|
+
type Props = NSBox.Props & {
|
|
51
51
|
theme?: NSFeaturePopover.Props['theme'];
|
|
52
52
|
};
|
|
53
|
-
type Component = Intergalactic.Component<
|
|
53
|
+
type Component = Intergalactic.Component<NSPopper.Trigger.Component, Props>;
|
|
54
54
|
}
|
|
55
55
|
namespace Popper {
|
|
56
|
-
type Props =
|
|
56
|
+
type Props = NSPopper.Popper.Props &
|
|
57
57
|
/**
|
|
58
58
|
* Popper must have an accessible names (aria-group-name).
|
|
59
59
|
*/
|
|
@@ -86,7 +86,7 @@ declare namespace NSFeaturePopover {
|
|
|
86
86
|
visible?: boolean;
|
|
87
87
|
theme?: NSFeaturePopover.Props['theme'];
|
|
88
88
|
};
|
|
89
|
-
type Component = Intergalactic.Component<
|
|
89
|
+
type Component = Intergalactic.Component<NSBox.Component, Props>;
|
|
90
90
|
}
|
|
91
91
|
type Component = Intergalactic.Component<'div', Props, Ctx> & {
|
|
92
92
|
Trigger: Trigger.Component;
|
|
@@ -94,8 +94,8 @@ declare namespace NSFeaturePopover {
|
|
|
94
94
|
Spot: Spot.Component;
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
/** @deprecated It will be removed in
|
|
98
|
-
export type FPPopperProps =
|
|
97
|
+
/** @deprecated It will be removed in v19. */
|
|
98
|
+
export type FPPopperProps = NSOutsideClick.Props & NSPortal.Props & UniqueIDProps & NSAnimation.Props & {
|
|
99
99
|
/**
|
|
100
100
|
* Popper can have different positioning options
|
|
101
101
|
* @default absolute
|
|
@@ -132,18 +132,19 @@ export type FPPopperProps = OutsideClickProps & PortalProps & UniqueIDProps & An
|
|
|
132
132
|
explicitTriggerSet?: boolean;
|
|
133
133
|
popperMargin?: number;
|
|
134
134
|
};
|
|
135
|
-
/** @deprecated It will be removed in
|
|
135
|
+
/** @deprecated It will be removed in v19. */
|
|
136
136
|
export type FeaturePopoverPopperProps = NSFeaturePopover.Popper.Props;
|
|
137
|
-
/** @deprecated It will be removed in
|
|
137
|
+
/** @deprecated It will be removed in v19. */
|
|
138
138
|
export type FeaturePopoverContext = NSFeaturePopover.Ctx;
|
|
139
|
-
/** @deprecated It will be removed in
|
|
139
|
+
/** @deprecated It will be removed in v19. */
|
|
140
140
|
export type FeaturePopoverProps = NSFeaturePopover.Props;
|
|
141
|
-
/** @deprecated It will be removed in
|
|
141
|
+
/** @deprecated It will be removed in v19. */
|
|
142
142
|
export type FeaturePopoverDefaultProps = NSFeaturePopover.DefaultProps;
|
|
143
|
-
/** @deprecated It will be removed in
|
|
143
|
+
/** @deprecated It will be removed in v19. */
|
|
144
144
|
export type FeaturePopoverTriggerProps = NSFeaturePopover.Trigger.Props;
|
|
145
|
-
/** @deprecated It will be removed in
|
|
145
|
+
/** @deprecated It will be removed in v19. */
|
|
146
146
|
export type FeaturePopoverSpotProps = NSFeaturePopover.Spot.Props;
|
|
147
|
-
/** @deprecated It will be removed in
|
|
147
|
+
/** @deprecated It will be removed in v19. */
|
|
148
148
|
export type FeaturePopoverComponent = NSFeaturePopover.Component;
|
|
149
149
|
export type { NSFeaturePopover };
|
|
150
|
+
//# sourceMappingURL=FeaturePopover.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeaturePopover.type.d.ts","sourceRoot":"","sources":["../../src/FeaturePopover.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,IAAI,YAA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3D,KAAK,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC9B,mGAAmG;IACnG,IAAI,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAC5B,qDAAqD;IACrD,aAAa,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAC9C,8EAA8E;IAC9E,cAAc,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAChD,cAAc;IACd,aAAa,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACzC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEJ,6CAA6C;AAC7C,MAAM,MAAM,yBAAyB,GAAG,gBAAgB,CAAC,MAAM,CAAC,KAAK,CAAC;AACtE,6CAA6C;AAC7C,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,CAAC,GAAG,CAAC;AACzD,6CAA6C;AAC7C,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC,KAAK,CAAC;AACzD,6CAA6C;AAC7C,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,CAAC,YAAY,CAAC;AACvE,6CAA6C;AAC7C,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,CAAC,OAAO,CAAC,KAAK,CAAC;AACxE,6CAA6C;AAC7C,MAAM,MAAM,uBAAuB,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC;AAClE,6CAA6C;AAC7C,MAAM,MAAM,uBAAuB,GAAG,gBAAgB,CAAC,SAAS,CAAC;AAEjE,YAAY,EAAE,gBAAgB,EAAE,CAAC"}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { FeaturePopoverProps, FeaturePopoverPopperProps, NSFeaturePopover } from './FeaturePopover.type';
|
|
2
2
|
export { default } from './FeaturePopover';
|
|
3
3
|
export type { FeaturePopoverProps, FeaturePopoverPopperProps, NSFeaturePopover, };
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9G,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,YAAY,EACV,mBAAmB,EACnB,yBAAyB,EACzB,gBAAgB,GACjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"__intergalactic-dynamic-locales.d.ts","sourceRoot":"","sources":["../../../src/translations/__intergalactic-dynamic-locales.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe7B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/feature-popover",
|
|
3
3
|
"description": "Semrush FeaturePopover Component",
|
|
4
|
-
"version": "17.2.2-prerelease.
|
|
4
|
+
"version": "17.2.2-prerelease.2",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"require": "./lib/cjs/index.js"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/button": "^17.2.
|
|
17
|
+
"@semcore/button": "^17.2.2-prerelease.2"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@semcore/base-components": "^17.2.
|
|
21
|
-
"@semcore/icon": "^17.2.
|
|
20
|
+
"@semcore/base-components": "^17.2.2",
|
|
21
|
+
"@semcore/icon": "^17.2.1"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@popperjs/core": "2.11.5",
|
|
30
|
-
"@semcore/
|
|
31
|
-
"@semcore/
|
|
32
|
-
"@semcore/
|
|
30
|
+
"@semcore/core": "17.3.1-prerelease.2",
|
|
31
|
+
"@semcore/base-components": "17.2.2-prerelease.2",
|
|
32
|
+
"@semcore/button": "17.2.2-prerelease.2",
|
|
33
|
+
"@semcore/dropdown-menu": "17.3.1-prerelease.2",
|
|
34
|
+
"@semcore/typography": "17.2.1-prerelease.2",
|
|
33
35
|
"@semcore/testing-utils": "1.0.0",
|
|
34
|
-
"@semcore/
|
|
35
|
-
"@semcore/core": "17.2.1",
|
|
36
|
-
"@semcore/icon": "17.2.0"
|
|
36
|
+
"@semcore/icon": "17.2.1-prerelease.2"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "pnpm semcore-builder && pnpm vite build"
|