@semcore/add-filter 17.2.2-prerelease.1 → 17.2.2-prerelease.3
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/AddFilter.types.js.map +1 -1
- package/lib/es6/AddFilter.types.js.map +1 -1
- package/lib/types/AddFilter.d.ts +1 -0
- package/lib/types/AddFilter.d.ts.map +1 -0
- package/lib/types/AddFilter.types.d.ts +5 -4
- package/lib/types/AddFilter.types.d.ts.map +1 -0
- package/lib/types/components/AddFilterDropdown.d.ts +1 -0
- package/lib/types/components/AddFilterDropdown.d.ts.map +1 -0
- package/lib/types/components/AddFilterInput.d.ts +1 -0
- package/lib/types/components/AddFilterInput.d.ts.map +1 -0
- package/lib/types/components/AddFilterSelect.d.ts +1 -0
- package/lib/types/components/AddFilterSelect.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 +12 -12
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddFilter.types.js","names":[],"sources":["../../src/AddFilter.types.ts"],"sourcesContent":["import type {
|
|
1
|
+
{"version":3,"file":"AddFilter.types.js","names":[],"sources":["../../src/AddFilter.types.ts"],"sourcesContent":["import type { NSFlex } from '@semcore/base-components';\nimport type { FilterTrigger } from '@semcore/base-trigger';\nimport type { NSButtonLink } from '@semcore/button';\nimport type { Intergalactic } from '@semcore/core';\nimport type Dropdown from '@semcore/dropdown';\nimport type { DropdownTriggerProps } from '@semcore/dropdown';\nimport type Input from '@semcore/input';\nimport type Select from '@semcore/select';\nimport type { SelectProps } from '@semcore/select';\n\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSAddFilter {\n type Key = string;\n type Data = Record<string, any>;\n type Props = NSFlex.Props & {\n /**\n * Action to perform on `Clear filters` button click.\n */\n onClearAll: () => void;\n /**\n * `FilterData` object.\n */\n filterData: NSAddFilter.Data;\n /**\n * List of visible filters keys. Relative to the `name` in AddFilterItemProps.\n */\n visibleFilters?: NSAddFilter.Key[];\n /**\n * Callback for handle changes in visible filters.\n */\n onVisibleFiltersChange?: (visibleFilters: NSAddFilter.Key[]) => void;\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n defaultVisibleFilters: Props['visibleFilters'];\n };\n type State = {\n clearFiltersMessage: string;\n };\n type Handlers = {\n visibleFilters: null;\n };\n type ItemProps = {\n /**\n * Non-persistent filter item unique `name`. Should be the same as related `key` in `FilterData` item related to Filter Control.\n */\n name: NSAddFilter.Key;\n /**\n * Optional `displayName` to be displayed inside `Add filter` dropdown menu. If not specified, `name` will be used instead.\n */\n displayName?: string;\n /**\n * Action to perform on filter item unmount.\n */\n onUnmount?: () => void;\n\n /**\n * @inner\n */\n visible?: boolean;\n };\n\n namespace Select {\n type Props = SelectProps & ItemProps;\n\n type DefaultProps = {\n defaultVisible: false;\n };\n type Handlers = {\n visible: null;\n };\n\n namespace Trigger {\n type Component = typeof FilterTrigger;\n }\n\n namespace Popper {\n type Component = Intergalactic.Component<typeof Select.Popper, {}, { onApply: () => void }>;\n }\n\n namespace Option {\n type Component = typeof Select.Option;\n }\n\n namespace Menu {\n type Component = typeof Select.Menu;\n }\n\n namespace List {\n type Component = typeof Select.List;\n }\n\n namespace InputSearch {\n type Component = typeof Select.InputSearch;\n }\n\n type Component = Intergalactic.Component<typeof Select, Props> & {\n Trigger: Trigger.Component;\n Popper: Popper.Component;\n Option: Option.Component;\n Menu: Menu.Component;\n List: List.Component;\n InputSearch: InputSearch.Component;\n };\n }\n\n namespace Input {\n namespace Addon {\n type Component = typeof Input.Addon;\n }\n\n namespace Value {\n type Component = typeof Input.Value;\n }\n\n namespace Clear {\n type Component = NSButtonLink.Component;\n }\n\n type Component = Intergalactic.Component<typeof Input, NSAddFilter.ItemProps> & {\n Addon: Addon.Component;\n Value: Value.Component;\n Clear: Clear.Component;\n };\n }\n\n namespace Dropdown {\n type DefaultProps = {\n defaultVisible: false;\n };\n type Handlers = {\n visible: null;\n };\n namespace Trigger {\n type Component = Intergalactic.Component<typeof Dropdown.Trigger, DropdownTriggerProps & { onClear: () => void }>;\n }\n\n namespace Popper {\n type Component = Intergalactic.Component<typeof Dropdown.Popper, {}, { onApply: () => void }>;\n }\n\n type Component = Intergalactic.Component<typeof Dropdown, NSAddFilter.ItemProps> & {\n Trigger: Trigger.Component;\n Popper: Popper.Component;\n };\n }\n\n type Component = Intergalactic.Component<'div', Props> & {\n Dropdown: Dropdown.Component;\n Input: Input.Component;\n Select: Select.Component;\n };\n}\n\n/** @deprecated It will be removed in v18. */\nexport type AddFilterKey = NSAddFilter.Key;\n/** @deprecated It will be removed in v18. */\nexport type AddFilterItemProps = NSAddFilter.ItemProps;\n/** @deprecated It will be removed in v18. */\ndeclare const AddFilterSelectType: NSAddFilter.Select.Component;\n/** @deprecated It will be removed in v18. */\ndeclare const AddFilterInputType: NSAddFilter.Input.Component;\n/** @deprecated It will be removed in v18. */\ndeclare const AddFilterDropdownType: NSAddFilter.Dropdown.Component;\n/** @deprecated It will be removed in v18. */\nexport type FilterData = NSAddFilter.Data;\n/** @deprecated It will be removed in v18. */\nexport type AddFilterProps = NSAddFilter.Props;\n/** @deprecated It will be removed in v18. */\nexport type AddFilterDefaultProps = NSAddFilter.DefaultProps;\n/** @deprecated It will be removed in v18. */\nexport type AddFilterType = NSAddFilter.Component;\n\nexport { AddFilterInputType, AddFilterSelectType, AddFilterDropdownType };\nexport type { NSAddFilter };\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddFilter.types.js","names":[],"sources":["../../src/AddFilter.types.ts"],"sourcesContent":["import type {
|
|
1
|
+
{"version":3,"file":"AddFilter.types.js","names":[],"sources":["../../src/AddFilter.types.ts"],"sourcesContent":["import type { NSFlex } from '@semcore/base-components';\nimport type { FilterTrigger } from '@semcore/base-trigger';\nimport type { NSButtonLink } from '@semcore/button';\nimport type { Intergalactic } from '@semcore/core';\nimport type Dropdown from '@semcore/dropdown';\nimport type { DropdownTriggerProps } from '@semcore/dropdown';\nimport type Input from '@semcore/input';\nimport type Select from '@semcore/select';\nimport type { SelectProps } from '@semcore/select';\n\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSAddFilter {\n type Key = string;\n type Data = Record<string, any>;\n type Props = NSFlex.Props & {\n /**\n * Action to perform on `Clear filters` button click.\n */\n onClearAll: () => void;\n /**\n * `FilterData` object.\n */\n filterData: NSAddFilter.Data;\n /**\n * List of visible filters keys. Relative to the `name` in AddFilterItemProps.\n */\n visibleFilters?: NSAddFilter.Key[];\n /**\n * Callback for handle changes in visible filters.\n */\n onVisibleFiltersChange?: (visibleFilters: NSAddFilter.Key[]) => void;\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n defaultVisibleFilters: Props['visibleFilters'];\n };\n type State = {\n clearFiltersMessage: string;\n };\n type Handlers = {\n visibleFilters: null;\n };\n type ItemProps = {\n /**\n * Non-persistent filter item unique `name`. Should be the same as related `key` in `FilterData` item related to Filter Control.\n */\n name: NSAddFilter.Key;\n /**\n * Optional `displayName` to be displayed inside `Add filter` dropdown menu. If not specified, `name` will be used instead.\n */\n displayName?: string;\n /**\n * Action to perform on filter item unmount.\n */\n onUnmount?: () => void;\n\n /**\n * @inner\n */\n visible?: boolean;\n };\n\n namespace Select {\n type Props = SelectProps & ItemProps;\n\n type DefaultProps = {\n defaultVisible: false;\n };\n type Handlers = {\n visible: null;\n };\n\n namespace Trigger {\n type Component = typeof FilterTrigger;\n }\n\n namespace Popper {\n type Component = Intergalactic.Component<typeof Select.Popper, {}, { onApply: () => void }>;\n }\n\n namespace Option {\n type Component = typeof Select.Option;\n }\n\n namespace Menu {\n type Component = typeof Select.Menu;\n }\n\n namespace List {\n type Component = typeof Select.List;\n }\n\n namespace InputSearch {\n type Component = typeof Select.InputSearch;\n }\n\n type Component = Intergalactic.Component<typeof Select, Props> & {\n Trigger: Trigger.Component;\n Popper: Popper.Component;\n Option: Option.Component;\n Menu: Menu.Component;\n List: List.Component;\n InputSearch: InputSearch.Component;\n };\n }\n\n namespace Input {\n namespace Addon {\n type Component = typeof Input.Addon;\n }\n\n namespace Value {\n type Component = typeof Input.Value;\n }\n\n namespace Clear {\n type Component = NSButtonLink.Component;\n }\n\n type Component = Intergalactic.Component<typeof Input, NSAddFilter.ItemProps> & {\n Addon: Addon.Component;\n Value: Value.Component;\n Clear: Clear.Component;\n };\n }\n\n namespace Dropdown {\n type DefaultProps = {\n defaultVisible: false;\n };\n type Handlers = {\n visible: null;\n };\n namespace Trigger {\n type Component = Intergalactic.Component<typeof Dropdown.Trigger, DropdownTriggerProps & { onClear: () => void }>;\n }\n\n namespace Popper {\n type Component = Intergalactic.Component<typeof Dropdown.Popper, {}, { onApply: () => void }>;\n }\n\n type Component = Intergalactic.Component<typeof Dropdown, NSAddFilter.ItemProps> & {\n Trigger: Trigger.Component;\n Popper: Popper.Component;\n };\n }\n\n type Component = Intergalactic.Component<'div', Props> & {\n Dropdown: Dropdown.Component;\n Input: Input.Component;\n Select: Select.Component;\n };\n}\n\n/** @deprecated It will be removed in v18. */\nexport type AddFilterKey = NSAddFilter.Key;\n/** @deprecated It will be removed in v18. */\nexport type AddFilterItemProps = NSAddFilter.ItemProps;\n/** @deprecated It will be removed in v18. */\ndeclare const AddFilterSelectType: NSAddFilter.Select.Component;\n/** @deprecated It will be removed in v18. */\ndeclare const AddFilterInputType: NSAddFilter.Input.Component;\n/** @deprecated It will be removed in v18. */\ndeclare const AddFilterDropdownType: NSAddFilter.Dropdown.Component;\n/** @deprecated It will be removed in v18. */\nexport type FilterData = NSAddFilter.Data;\n/** @deprecated It will be removed in v18. */\nexport type AddFilterProps = NSAddFilter.Props;\n/** @deprecated It will be removed in v18. */\nexport type AddFilterDefaultProps = NSAddFilter.DefaultProps;\n/** @deprecated It will be removed in v18. */\nexport type AddFilterType = NSAddFilter.Component;\n\nexport { AddFilterInputType, AddFilterSelectType, AddFilterDropdownType };\nexport type { NSAddFilter };\n"],"mappings":"","ignoreList":[]}
|
package/lib/types/AddFilter.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddFilter.d.ts","sourceRoot":"","sources":["../../src/AddFilter.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAmB,SAAS,EAAyB,MAAM,eAAe,CAAC;AAClF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AAOzF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAMrD,KAAK,uBAAuB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAQhE,cAAM,aAAc,SAAQ,SAAS,CACnC,aAAa,CAAC,eAAe,CAAC,mBAAmB,CAAC,WAAW,CAAC,SAAS,CAAC,EACxE,OAAO,aAAa,CAAC,OAAO,EAC5B,WAAW,CAAC,QAAQ,EACpB,oBAAoB,EACpB,WAAW,CAAC,KAAK,EACjB,WAAW,CAAC,YAAY,CACzB;IACC,gBAAgB,qCAAwC;IACxD,eAAe,EAAE,GAAG,CAAC,MAAM,GAAG,SAAS,EAAE,WAAW,CAAC,CAAa;IAClE,iBAAiB,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,GAAG,SAAS,CAAC;IAC7D,gBAAgB,EAAE,uBAAuB,EAAE,CAAC;IAE5C,MAAM,CAAC,WAAW,SAAe;IACjC,MAAM,CAAC,OAAO;2SAjCF,CAAC;;;OAiC8C;IAE3D,MAAM,CAAC,YAAY,EAAE,WAAW,CAAC,YAAY,CAI3C;IAEF,MAAM,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
|
import type { FilterTrigger } from '@semcore/base-trigger';
|
|
3
|
-
import type {
|
|
3
|
+
import type { NSButtonLink } from '@semcore/button';
|
|
4
4
|
import type { Intergalactic } from '@semcore/core';
|
|
5
5
|
import type Dropdown from '@semcore/dropdown';
|
|
6
6
|
import type { DropdownTriggerProps } from '@semcore/dropdown';
|
|
@@ -11,7 +11,7 @@ import type { LocalizedMessages } from './translations/__intergalactic-dynamic-l
|
|
|
11
11
|
declare namespace NSAddFilter {
|
|
12
12
|
type Key = string;
|
|
13
13
|
type Data = Record<string, any>;
|
|
14
|
-
type Props =
|
|
14
|
+
type Props = NSFlex.Props & {
|
|
15
15
|
/**
|
|
16
16
|
* Action to perform on `Clear filters` button click.
|
|
17
17
|
*/
|
|
@@ -103,7 +103,7 @@ declare namespace NSAddFilter {
|
|
|
103
103
|
type Component = typeof Input.Value;
|
|
104
104
|
}
|
|
105
105
|
namespace Clear {
|
|
106
|
-
type Component =
|
|
106
|
+
type Component = NSButtonLink.Component;
|
|
107
107
|
}
|
|
108
108
|
type Component = Intergalactic.Component<typeof Input, NSAddFilter.ItemProps> & {
|
|
109
109
|
Addon: Addon.Component;
|
|
@@ -159,3 +159,4 @@ export type AddFilterDefaultProps = NSAddFilter.DefaultProps;
|
|
|
159
159
|
export type AddFilterType = NSAddFilter.Component;
|
|
160
160
|
export { AddFilterInputType, AddFilterSelectType, AddFilterDropdownType };
|
|
161
161
|
export type { NSAddFilter };
|
|
162
|
+
//# sourceMappingURL=AddFilter.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddFilter.types.d.ts","sourceRoot":"","sources":["../../src/AddFilter.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KA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AAC;AAEH,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddFilterInput.d.ts","sourceRoot":"","sources":["../../../src/components/AddFilterInput.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AA+CtD,QAAA,MAAM,cAAc,6BAOlB,CAAC;AAEH,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddFilterSelect.d.ts","sourceRoot":"","sources":["../../../src/components/AddFilterSelect.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAqEtD,QAAA,MAAM,eAAe,8BAenB,CAAC;AAEH,eAAe,eAAe,CAAC"}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,cAAc,mBAAmB,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/add-filter",
|
|
3
3
|
"description": "Semrush Add Filter component",
|
|
4
|
-
"version": "17.2.2-prerelease.
|
|
4
|
+
"version": "17.2.2-prerelease.3",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
"require": "./lib/cjs/index.js"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/select": "^17.4.
|
|
18
|
-
"@semcore/button": "^17.2.
|
|
19
|
-
"@semcore/dropdown-menu": "^17.3.1-prerelease.
|
|
20
|
-
"@semcore/dropdown": "^17.3.0",
|
|
21
|
-
"@semcore/input": "^17.2.2-prerelease.
|
|
22
|
-
"@semcore/base-trigger": "^17.2.1"
|
|
17
|
+
"@semcore/select": "^17.4.1-prerelease.3",
|
|
18
|
+
"@semcore/button": "^17.2.2-prerelease.3",
|
|
19
|
+
"@semcore/dropdown-menu": "^17.3.1-prerelease.3",
|
|
20
|
+
"@semcore/dropdown": "^17.3.0-prerelease.3",
|
|
21
|
+
"@semcore/input": "^17.2.2-prerelease.3",
|
|
22
|
+
"@semcore/base-trigger": "^17.2.1-prerelease.3"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@semcore/base-components": "^17.2.
|
|
26
|
-
"@semcore/icon": "^17.2.
|
|
25
|
+
"@semcore/base-components": "^17.2.2-prerelease.3",
|
|
26
|
+
"@semcore/icon": "^17.2.1-prerelease.3"
|
|
27
27
|
},
|
|
28
28
|
"repository": {
|
|
29
29
|
"type": "git",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"directory": "semcore/add-filter"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@semcore/core": "17.
|
|
35
|
-
"@semcore/base-components": "17.2.
|
|
34
|
+
"@semcore/core": "17.3.1-prerelease.3",
|
|
35
|
+
"@semcore/base-components": "17.2.2-prerelease.3",
|
|
36
36
|
"@semcore/testing-utils": "1.0.0",
|
|
37
|
-
"@semcore/icon": "17.2.
|
|
37
|
+
"@semcore/icon": "17.2.1-prerelease.3"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "pnpm semcore-builder && pnpm vite build"
|