@prijsvrijtechsupport/ui 0.0.32 → 0.0.34
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/searchBlock/SearchBlock.stories.d.ts +6 -0
- package/dist/components/searchBlock/index.d.ts +20 -0
- package/dist/components/searchBlock/styles.css +46 -0
- package/dist/dist/index.css +74 -75
- package/dist/dist/index.css.map +1 -1
- package/dist/globals.css +48 -48
- package/dist/index.cjs +57 -56
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +57 -56
- package/dist/index.js.map +1 -1
- package/dist/styles/utilities.css +1 -2
- package/package.json +1 -1
- package/dist/components/bookModule/BookModule.stories.d.ts +0 -6
- package/dist/components/bookModule/index.d.ts +0 -20
- package/dist/components/bookModule/styles.css +0 -46
- /package/dist/components/{bookModule/BookModule.test.d.ts → searchBlock/SearchBlock.test.d.ts} +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface SearchBlockProps {
|
|
2
|
+
"data-testid"?: string;
|
|
3
|
+
className?: string;
|
|
4
|
+
searchBlockTitle?: string;
|
|
5
|
+
searchBlockForm?: React.ReactNode;
|
|
6
|
+
onClickFn?: () => void;
|
|
7
|
+
}
|
|
8
|
+
interface SearchBlockButtonProps {
|
|
9
|
+
className?: string;
|
|
10
|
+
label?: string;
|
|
11
|
+
labelOutside?: boolean;
|
|
12
|
+
icon?: React.ReactNode;
|
|
13
|
+
downIcon?: React.ReactNode;
|
|
14
|
+
onClick?: () => void;
|
|
15
|
+
selectedValue?: string;
|
|
16
|
+
secondarySelectedValue?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const SearchBlockButton: ({ className, label, labelOutside, icon, downIcon, onClick, selectedValue, secondarySelectedValue, ...props }: SearchBlockButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const SearchBlock: ({ className, searchBlockTitle, searchBlockForm, onClickFn, "data-testid": dataTestId, ...props }: SearchBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
.searchBlock {
|
|
2
|
+
background-color: var(--searchBlock-background-color);
|
|
3
|
+
color: var(--searchBlock-text-color);
|
|
4
|
+
font-size: var(--searchBlock-text-size);
|
|
5
|
+
font-weight: var(--searchBlock-text-weight);
|
|
6
|
+
font-family: var(--searchBlock-font-family);
|
|
7
|
+
border-radius: var(--searchBlock-border-radius);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.searchBlockButton {
|
|
11
|
+
background-color: white;
|
|
12
|
+
border-radius: var(--searchBlockButtonRadius);
|
|
13
|
+
min-height: var(--searchBlockButtonHeight);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.searchBlockButtonLabel {
|
|
17
|
+
font-size: var(--searchBlockButtonLabel-text-size) !important;
|
|
18
|
+
font-weight: var(--searchBlockButtonLabel-text-weight);
|
|
19
|
+
font-family: var(--searchBlockButtonLabel-font-family);
|
|
20
|
+
color: var(--searchBlockButtonLabel-color);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.searchBlockButtonIcon {
|
|
24
|
+
color: var(--searchBlockButtonIcon-color);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.searchBlockButtonSelectedValue {
|
|
28
|
+
|
|
29
|
+
font-family: var(--searchBlockButtonSelectedValue-font-family);
|
|
30
|
+
color: var(--searchBlockButtonSelectedValue-color);
|
|
31
|
+
font-size: var(--searchBlockButtonSelectedValue-text-size) !important;
|
|
32
|
+
font-weight: var(--searchBlockButtonSelectedValue-text-weight);
|
|
33
|
+
margin-top: var(--searchBlockButtonSelectedValue-margin-top);
|
|
34
|
+
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.searchBlockButtonSecondarySelectedValue {
|
|
38
|
+
font-size: var(--searchBlockButtonLabel-text-size) !important;
|
|
39
|
+
color: var(--searchBlockButtonIcon-color);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.searchBlockButtonDownIcon {
|
|
43
|
+
color: var(--searchBlockButtonDownIcon-color);
|
|
44
|
+
width: var(--searchBlockButtonDownIcon-size);
|
|
45
|
+
height: var(--searchBlockButtonDownIcon-size);
|
|
46
|
+
}
|
package/dist/dist/index.css
CHANGED
|
@@ -962,51 +962,51 @@ button.btn-secondary:hover:active {
|
|
|
962
962
|
.blog-widget-date {
|
|
963
963
|
font-family: var(--fontFamily-blog-widget-date);
|
|
964
964
|
}
|
|
965
|
-
.
|
|
966
|
-
background-color: var(--
|
|
967
|
-
color: var(--
|
|
968
|
-
font-size: var(--
|
|
969
|
-
font-weight: var(--
|
|
970
|
-
font-family: var(--
|
|
971
|
-
border-radius: var(--
|
|
965
|
+
.searchBlock {
|
|
966
|
+
background-color: var(--searchBlock-background-color);
|
|
967
|
+
color: var(--searchBlock-text-color);
|
|
968
|
+
font-size: var(--searchBlock-text-size);
|
|
969
|
+
font-weight: var(--searchBlock-text-weight);
|
|
970
|
+
font-family: var(--searchBlock-font-family);
|
|
971
|
+
border-radius: var(--searchBlock-border-radius);
|
|
972
972
|
}
|
|
973
973
|
|
|
974
|
-
.
|
|
974
|
+
.searchBlockButton {
|
|
975
975
|
background-color: white;
|
|
976
|
-
border-radius: var(--
|
|
977
|
-
height: var(--
|
|
976
|
+
border-radius: var(--searchBlockButtonRadius);
|
|
977
|
+
min-height: var(--searchBlockButtonHeight);
|
|
978
978
|
}
|
|
979
979
|
|
|
980
|
-
.
|
|
981
|
-
font-size: var(--
|
|
982
|
-
font-weight: var(--
|
|
983
|
-
font-family: var(--
|
|
984
|
-
color: var(--
|
|
980
|
+
.searchBlockButtonLabel {
|
|
981
|
+
font-size: var(--searchBlockButtonLabel-text-size) !important;
|
|
982
|
+
font-weight: var(--searchBlockButtonLabel-text-weight);
|
|
983
|
+
font-family: var(--searchBlockButtonLabel-font-family);
|
|
984
|
+
color: var(--searchBlockButtonLabel-color);
|
|
985
985
|
}
|
|
986
986
|
|
|
987
|
-
.
|
|
988
|
-
color: var(--
|
|
987
|
+
.searchBlockButtonIcon {
|
|
988
|
+
color: var(--searchBlockButtonIcon-color);
|
|
989
989
|
}
|
|
990
990
|
|
|
991
|
-
.
|
|
991
|
+
.searchBlockButtonSelectedValue {
|
|
992
992
|
|
|
993
|
-
font-family: var(--
|
|
994
|
-
color: var(--
|
|
995
|
-
font-size: var(--
|
|
996
|
-
font-weight: var(--
|
|
997
|
-
margin-top: var(--
|
|
993
|
+
font-family: var(--searchBlockButtonSelectedValue-font-family);
|
|
994
|
+
color: var(--searchBlockButtonSelectedValue-color);
|
|
995
|
+
font-size: var(--searchBlockButtonSelectedValue-text-size) !important;
|
|
996
|
+
font-weight: var(--searchBlockButtonSelectedValue-text-weight);
|
|
997
|
+
margin-top: var(--searchBlockButtonSelectedValue-margin-top);
|
|
998
998
|
|
|
999
999
|
}
|
|
1000
1000
|
|
|
1001
|
-
.
|
|
1002
|
-
font-size: var(--
|
|
1003
|
-
color: var(--
|
|
1001
|
+
.searchBlockButtonSecondarySelectedValue {
|
|
1002
|
+
font-size: var(--searchBlockButtonLabel-text-size) !important;
|
|
1003
|
+
color: var(--searchBlockButtonIcon-color);
|
|
1004
1004
|
}
|
|
1005
1005
|
|
|
1006
|
-
.
|
|
1007
|
-
color: var(--
|
|
1008
|
-
width: var(--
|
|
1009
|
-
height: var(--
|
|
1006
|
+
.searchBlockButtonDownIcon {
|
|
1007
|
+
color: var(--searchBlockButtonDownIcon-color);
|
|
1008
|
+
width: var(--searchBlockButtonDownIcon-size);
|
|
1009
|
+
height: var(--searchBlockButtonDownIcon-size);
|
|
1010
1010
|
}
|
|
1011
1011
|
.category-filter {
|
|
1012
1012
|
font-family: var(--category-filter-font-family);
|
|
@@ -1291,7 +1291,6 @@ button.btn-secondary:hover:active {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
|
|
1293
1293
|
html {
|
|
1294
|
-
box-sizing: border-box;
|
|
1295
1294
|
-ms-overflow-style: scrollbar;
|
|
1296
1295
|
-webkit-tap-highlight-color: rgba(#000, 0);
|
|
1297
1296
|
font-family: var(--font-open-sans), sans-serif;
|
|
@@ -1748,30 +1747,30 @@ button.btn-secondary:hover:active {
|
|
|
1748
1747
|
--color-footer-navigation-link: var(--prijsvrij-primary);
|
|
1749
1748
|
--color-footer-navigation-category-link: var(--prijsvrij-secondary);
|
|
1750
1749
|
|
|
1751
|
-
--
|
|
1752
|
-
--
|
|
1753
|
-
--
|
|
1754
|
-
--
|
|
1755
|
-
--
|
|
1756
|
-
--
|
|
1750
|
+
--searchBlock-background-color: var(--prijsvrij-alternative);
|
|
1751
|
+
--searchBlock-text-color: var(--prijsvrij-secondary);
|
|
1752
|
+
--searchBlock-text-size: 24px;
|
|
1753
|
+
--searchBlock-text-weight: 400;
|
|
1754
|
+
--searchBlock-font-family: "Hermes Maia T4", sans-serif;
|
|
1755
|
+
--searchBlock-border-radius: 8px;
|
|
1757
1756
|
|
|
1758
|
-
--
|
|
1759
|
-
--
|
|
1760
|
-
--
|
|
1761
|
-
--
|
|
1762
|
-
--
|
|
1757
|
+
--searchBlockButtonLabel-text-size: clamp(10px, 2.5vw, 12px);
|
|
1758
|
+
--searchBlockButtonLabel-text-weight: 600;
|
|
1759
|
+
--searchBlockButtonLabel-font-family: var(--font-open-sans), sans-serif;
|
|
1760
|
+
--searchBlockButtonLabel-color: var(--prijsvrij-dark-300);
|
|
1761
|
+
--searchBlockButtonIcon-color: var(--prijsvrij-secondary);
|
|
1763
1762
|
|
|
1764
|
-
--
|
|
1765
|
-
--
|
|
1763
|
+
--searchBlockButtonRadius: 4px;
|
|
1764
|
+
--searchBlockButtonHeight: 50px;
|
|
1766
1765
|
|
|
1767
|
-
--
|
|
1768
|
-
--
|
|
1769
|
-
--
|
|
1770
|
-
--
|
|
1771
|
-
--
|
|
1766
|
+
--searchBlockButtonSelectedValue-font-family: var(--font-open-sans), sans-serif;
|
|
1767
|
+
--searchBlockButtonSelectedValue-color: var(--prijsvrij-dark-400);
|
|
1768
|
+
--searchBlockButtonSelectedValue-text-size: clamp(12px, 3vw, 14px);
|
|
1769
|
+
--searchBlockButtonSelectedValue-text-weight: 400;
|
|
1770
|
+
--searchBlockButtonSelectedValue-margin-top: -4px;
|
|
1772
1771
|
|
|
1773
|
-
--
|
|
1774
|
-
--
|
|
1772
|
+
--searchBlockButtonDownIcon-color: var(--prijsvrij-primary-light-25);
|
|
1773
|
+
--searchBlockButtonDownIcon-size: 20px;
|
|
1775
1774
|
|
|
1776
1775
|
--category-filter-font-family: var(--font-open-sans), sans-serif;
|
|
1777
1776
|
|
|
@@ -1968,30 +1967,30 @@ button.btn-secondary:hover:active {
|
|
|
1968
1967
|
--color-footer-navigation-link: var(--color-dark-600);
|
|
1969
1968
|
--color-footer-navigation-category-link: #0077bf;
|
|
1970
1969
|
|
|
1971
|
-
--
|
|
1972
|
-
--
|
|
1973
|
-
--
|
|
1974
|
-
--
|
|
1975
|
-
--
|
|
1976
|
-
--
|
|
1977
|
-
|
|
1978
|
-
--
|
|
1979
|
-
--
|
|
1980
|
-
--
|
|
1981
|
-
--
|
|
1982
|
-
--
|
|
1983
|
-
|
|
1984
|
-
--
|
|
1985
|
-
--
|
|
1986
|
-
|
|
1987
|
-
--
|
|
1988
|
-
--
|
|
1989
|
-
--
|
|
1990
|
-
--
|
|
1991
|
-
--
|
|
1992
|
-
|
|
1993
|
-
--
|
|
1994
|
-
--
|
|
1970
|
+
--searchBlock-background-color: var(--color-secondary);
|
|
1971
|
+
--searchBlock-text-color: white;
|
|
1972
|
+
--searchBlock-text-size: 20px;
|
|
1973
|
+
--searchBlock-text-weight: 700;
|
|
1974
|
+
--searchBlock-font-family: var(--font-lato), sans-serif;
|
|
1975
|
+
--searchBlock-border-radius: 2px;
|
|
1976
|
+
|
|
1977
|
+
--searchBlockButtonLabel-text-size: clamp(12px, 3vw, 14px);
|
|
1978
|
+
--searchBlockButtonLabel-text-weight: 700;
|
|
1979
|
+
--searchBlockButtonLabel-font-family: var(--font-lato), sans-serif;
|
|
1980
|
+
--searchBlockButtonLabel-color: var(--dreizen-dark-600);
|
|
1981
|
+
--searchBlockButtonIcon-color: var(--dreizen-dark-200);
|
|
1982
|
+
|
|
1983
|
+
--searchBlockButtonRadius: 3px;
|
|
1984
|
+
--searchBlockButtonHeight: 40px;
|
|
1985
|
+
|
|
1986
|
+
--searchBlockButtonSelectedValue-font-family: var(--font-lato), sans-serif;
|
|
1987
|
+
--searchBlockButtonSelectedValue-color: var(--dreizen-dark-600);
|
|
1988
|
+
--searchBlockButtonSelectedValue-text-size: clamp(12px, 3vw, 14px);
|
|
1989
|
+
--searchBlockButtonSelectedValue-text-weight: 500;
|
|
1990
|
+
--searchBlockButtonSelectedValue-margin-top: 0;
|
|
1991
|
+
|
|
1992
|
+
--searchBlockButtonDownIcon-color: var(--dreizen-primary);
|
|
1993
|
+
--searchBlockButtonDownIcon-size: 16px;
|
|
1995
1994
|
|
|
1996
1995
|
--category-filter-font-family: var(--font-lato), sans-serif;
|
|
1997
1996
|
|