@oslokommune/punkt-react 19.0.3 → 19.1.0
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 +8 -0
- package/CONTRIBUTING.md +0 -8
- package/dist/punkt-react.cjs +1 -1
- package/dist/punkt-react.js +473 -473
- package/dist/shared-utils/combobox/option-utils.d.ts +4 -4
- package/package.json +4 -4
|
@@ -14,14 +14,14 @@ export declare const findOptionByValue: (options: IPktComboboxOption[], value: s
|
|
|
14
14
|
* Finds the index of an option by its value, falling back to label match.
|
|
15
15
|
*/
|
|
16
16
|
export declare const findOptionIndex: (options: IPktComboboxOption[], value: string | null) => number;
|
|
17
|
-
/**
|
|
18
|
-
* Filters options by a search string, matching against fulltext.
|
|
19
|
-
*/
|
|
20
|
-
export declare const filterOptionsBySearch: (options: IPktComboboxOption[], search: string | null) => IPktComboboxOption[];
|
|
21
17
|
/**
|
|
22
18
|
* Builds the fulltext search string for an option.
|
|
23
19
|
*/
|
|
24
20
|
export declare const buildFulltext: (option: IPktComboboxOption) => string;
|
|
21
|
+
/**
|
|
22
|
+
* Filters options by a search string, matching against fulltext.
|
|
23
|
+
*/
|
|
24
|
+
export declare const filterOptionsBySearch: (options: IPktComboboxOption[], search: string | null) => IPktComboboxOption[];
|
|
25
25
|
/**
|
|
26
26
|
* Checks if the maximum number of selections has been reached.
|
|
27
27
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oslokommune/punkt-react",
|
|
3
|
-
"version": "19.0
|
|
3
|
+
"version": "19.1.0",
|
|
4
4
|
"description": "React komponentbibliotek til Punkt, designsystem for Oslo kommune",
|
|
5
5
|
"homepage": "https://punkt.oslo.kommune.no",
|
|
6
6
|
"author": "Team Designsystem, Oslo kommune",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"@eslint/compat": "^2.1.0",
|
|
41
41
|
"@eslint/eslintrc": "^3.3.5",
|
|
42
42
|
"@eslint/js": "^10.0.1",
|
|
43
|
-
"@oslokommune/punkt-assets": "^19.0.
|
|
44
|
-
"@oslokommune/punkt-css": "^19.0
|
|
43
|
+
"@oslokommune/punkt-assets": "^19.0.4",
|
|
44
|
+
"@oslokommune/punkt-css": "^19.1.0",
|
|
45
45
|
"@testing-library/jest-dom": "^6.9.1",
|
|
46
46
|
"@testing-library/react": "^16.3.2",
|
|
47
47
|
"@testing-library/user-event": "^14.6.1",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"url": "https://github.com/oslokommune/punkt/issues"
|
|
102
102
|
},
|
|
103
103
|
"license": "MIT",
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "bd527643a5ec58336f592a065ba7d7037d8597be"
|
|
105
105
|
}
|