w-design-system 0.4.176 → 0.4.178
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/dist/components/Highlight/index.d.ts +6 -1
- package/dist/components/Highlight/index.d.ts.map +1 -1
- package/dist/components/Highlight/styles.d.ts +5 -3
- package/dist/components/Highlight/styles.d.ts.map +1 -1
- package/dist/components/Modal/styles.d.ts.map +1 -1
- package/dist/components/Types/index.d.ts +1 -1
- package/dist/components/Types/index.d.ts.map +1 -1
- package/dist/w-design-system.js +630 -617
- package/dist/w-design-system.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { Color, SizeText } from '../Types';
|
|
2
|
+
export interface HighlightSearchWordsOptions {
|
|
3
|
+
partialMatch?: boolean;
|
|
4
|
+
words: string[];
|
|
5
|
+
color?: Color;
|
|
6
|
+
}
|
|
2
7
|
export interface HighlightProps {
|
|
3
8
|
text: string;
|
|
4
|
-
searchWords: string[];
|
|
9
|
+
searchWords: (string | HighlightSearchWordsOptions)[];
|
|
5
10
|
color?: Color;
|
|
6
11
|
size?: SizeText;
|
|
7
12
|
fontWeight?: 'bold' | 'lighter' | 'normal';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Highlight/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Highlight/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,WAAW,2BAA2B;IAC1C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,CAAC,MAAM,GAAG,2BAA2B,CAAC,EAAE,CAAC;IACtD,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;IAC3C,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAUD,wBAAgB,SAAS,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,cAAc,2CAsGrG"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Color, SizeText } from '../Types';
|
|
2
2
|
export interface HighlightProps {
|
|
3
|
-
$color?: Color;
|
|
4
3
|
$size?: SizeText;
|
|
5
4
|
$fontWeight?: 'bold' | 'lighter' | 'normal';
|
|
6
5
|
}
|
|
@@ -9,6 +8,9 @@ export declare const changeFontWeight: {
|
|
|
9
8
|
lighter: import('styled-components').RuleSet<object>;
|
|
10
9
|
normal: import('styled-components').RuleSet<object>;
|
|
11
10
|
};
|
|
12
|
-
export
|
|
13
|
-
|
|
11
|
+
export interface HighlightStyledProps {
|
|
12
|
+
$color?: Color;
|
|
13
|
+
}
|
|
14
|
+
export declare const HighlightStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, HighlightStyledProps>> & string;
|
|
15
|
+
export declare const Container: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, HighlightProps>> & string;
|
|
14
16
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Highlight/styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Highlight/styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAG1C,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,QAAQ,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAA;CAC5C;AAED,eAAO,MAAM,gBAAgB;;;;CAU5B,CAAA;AASD,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,KAAK,CAAA;CACf;AAED,eAAO,MAAM,eAAe,mPAG3B,CAAC;AAGF,eAAO,MAAM,SAAS,mPAKrB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/styles.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,OAAO,6NAQnB,CAAA;AACD,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/styles.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,OAAO,6NAQnB,CAAA;AACD,eAAO,MAAM,cAAc,6NAmC1B,CAAA"}
|
|
@@ -16,7 +16,7 @@ export type { DocumentNumberInputProps } from '../DocumentNumberInput';
|
|
|
16
16
|
export type { EmptyProps } from '../Empty/index';
|
|
17
17
|
export type { EmptyStateProps } from '../EmptyState/index';
|
|
18
18
|
export type { HeadingProps } from '../Heading/index';
|
|
19
|
-
export type { HighlightProps } from '../Highlight/index';
|
|
19
|
+
export type { HighlightProps, HighlightSearchWordsOptions } from '../Highlight/index';
|
|
20
20
|
export type { IconWrapperProps } from '../IconWrapper/index';
|
|
21
21
|
export type { InputProps } from '../Input/index';
|
|
22
22
|
export type { InputTagProps } from '../InputTag/index';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,YAAY,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,YAAY,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AACvE,YAAY,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,YAAY,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,YAAY,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AACrF,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,YAAY,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,YAAY,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AACvE,YAAY,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,YAAY,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":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