@digital-b2c/coreui-kit 0.23.0 → 0.24.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/LICENSE.txt +21 -21
- package/README.md +52 -52
- package/dist/index.cjs +342 -259
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +369 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +127 -104
- package/dist/index.d.ts +127 -104
- package/dist/index.mjs +341 -259
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +101 -101
package/dist/index.css
CHANGED
|
@@ -7816,4 +7816,373 @@ a:hover {
|
|
|
7816
7816
|
.TimelineCards_module_timeline-cards .TimelineCards_module_timeline-cards-text {
|
|
7817
7817
|
color: var(--color-black);
|
|
7818
7818
|
}
|
|
7819
|
+
|
|
7820
|
+
/* src/components/PodcastCard/PodcastCard.module.scss */
|
|
7821
|
+
html,
|
|
7822
|
+
body {
|
|
7823
|
+
font-family: "Instrument Sans", sans-serif;
|
|
7824
|
+
font-size: 1rem;
|
|
7825
|
+
font-weight: 500;
|
|
7826
|
+
line-height: 1.5;
|
|
7827
|
+
color: #4d4d4d;
|
|
7828
|
+
}
|
|
7829
|
+
h1,
|
|
7830
|
+
.PodcastCard_module_h1 {
|
|
7831
|
+
font-size: 3rem;
|
|
7832
|
+
font-weight: 600;
|
|
7833
|
+
line-height: 1.17;
|
|
7834
|
+
}
|
|
7835
|
+
@media (max-width: 768px) {
|
|
7836
|
+
h1,
|
|
7837
|
+
.PodcastCard_module_h1 {
|
|
7838
|
+
font-size: 2rem;
|
|
7839
|
+
}
|
|
7840
|
+
}
|
|
7841
|
+
h2,
|
|
7842
|
+
.PodcastCard_module_h2 {
|
|
7843
|
+
font-size: 2.5rem;
|
|
7844
|
+
font-weight: 600;
|
|
7845
|
+
line-height: 1.2;
|
|
7846
|
+
}
|
|
7847
|
+
@media (max-width: 768px) {
|
|
7848
|
+
h2,
|
|
7849
|
+
.PodcastCard_module_h2 {
|
|
7850
|
+
font-size: 1.5rem;
|
|
7851
|
+
}
|
|
7852
|
+
}
|
|
7853
|
+
h3,
|
|
7854
|
+
.PodcastCard_module_h3 {
|
|
7855
|
+
font-size: 2rem;
|
|
7856
|
+
font-weight: 600;
|
|
7857
|
+
line-height: 1.25;
|
|
7858
|
+
}
|
|
7859
|
+
@media (max-width: 768px) {
|
|
7860
|
+
h3,
|
|
7861
|
+
.PodcastCard_module_h3 {
|
|
7862
|
+
font-size: 1.25rem;
|
|
7863
|
+
}
|
|
7864
|
+
}
|
|
7865
|
+
h4,
|
|
7866
|
+
.PodcastCard_module_h4 {
|
|
7867
|
+
font-size: 1.5rem;
|
|
7868
|
+
font-weight: 600;
|
|
7869
|
+
line-height: 1.33;
|
|
7870
|
+
}
|
|
7871
|
+
@media (max-width: 768px) {
|
|
7872
|
+
h4,
|
|
7873
|
+
.PodcastCard_module_h4 {
|
|
7874
|
+
font-size: 18px;
|
|
7875
|
+
}
|
|
7876
|
+
}
|
|
7877
|
+
h5,
|
|
7878
|
+
.PodcastCard_module_h5 {
|
|
7879
|
+
font-size: 1.25rem;
|
|
7880
|
+
font-weight: 500;
|
|
7881
|
+
line-height: 1.4;
|
|
7882
|
+
}
|
|
7883
|
+
@media (max-width: 768px) {
|
|
7884
|
+
h5,
|
|
7885
|
+
.PodcastCard_module_h5 {
|
|
7886
|
+
font-size: 18px;
|
|
7887
|
+
}
|
|
7888
|
+
}
|
|
7889
|
+
.PodcastCard_module_subheading,
|
|
7890
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_content-wrapper .PodcastCard_module_main-content .PodcastCard_module_title {
|
|
7891
|
+
font-size: 1.25rem;
|
|
7892
|
+
font-weight: 500;
|
|
7893
|
+
line-height: 1.4;
|
|
7894
|
+
}
|
|
7895
|
+
@media (max-width: 768px) {
|
|
7896
|
+
.PodcastCard_module_subheading,
|
|
7897
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_content-wrapper .PodcastCard_module_main-content .PodcastCard_module_title {
|
|
7898
|
+
font-size: 18px;
|
|
7899
|
+
}
|
|
7900
|
+
}
|
|
7901
|
+
.PodcastCard_module_subheading strong,
|
|
7902
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_content-wrapper .PodcastCard_module_main-content .PodcastCard_module_title strong {
|
|
7903
|
+
font-weight: 500;
|
|
7904
|
+
color: #000000;
|
|
7905
|
+
}
|
|
7906
|
+
.PodcastCard_module_body,
|
|
7907
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_content-wrapper .PodcastCard_module_top-content .PodcastCard_module_badge,
|
|
7908
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_content-wrapper .PodcastCard_module_top-content .PodcastCard_module_date,
|
|
7909
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_content-wrapper .PodcastCard_module_main-content .PodcastCard_module_description,
|
|
7910
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_cta-wrapper .PodcastCard_module_cta-label {
|
|
7911
|
+
font-size: 1rem;
|
|
7912
|
+
font-weight: 500;
|
|
7913
|
+
line-height: 1.5;
|
|
7914
|
+
}
|
|
7915
|
+
small,
|
|
7916
|
+
.PodcastCard_module_small {
|
|
7917
|
+
font-size: 0.875rem;
|
|
7918
|
+
font-weight: 500;
|
|
7919
|
+
line-height: 1.5;
|
|
7920
|
+
}
|
|
7921
|
+
.PodcastCard_module_smallest {
|
|
7922
|
+
font-size: 0.75rem;
|
|
7923
|
+
font-weight: 500;
|
|
7924
|
+
line-height: 1.5;
|
|
7925
|
+
}
|
|
7926
|
+
a {
|
|
7927
|
+
color: var(--color-link);
|
|
7928
|
+
text-decoration: none;
|
|
7929
|
+
cursor: pointer;
|
|
7930
|
+
}
|
|
7931
|
+
a:hover {
|
|
7932
|
+
text-decoration: underline;
|
|
7933
|
+
}
|
|
7934
|
+
.PodcastCard_module_podcast-card {
|
|
7935
|
+
display: flex;
|
|
7936
|
+
flex-direction: column;
|
|
7937
|
+
justify-content: space-between;
|
|
7938
|
+
padding: var(--spacing-xl);
|
|
7939
|
+
border-radius: var(--rounded-md);
|
|
7940
|
+
border: 1px solid var(--color-extra-light-gray);
|
|
7941
|
+
min-height: 458px;
|
|
7942
|
+
height: 100%;
|
|
7943
|
+
}
|
|
7944
|
+
@media (max-width: 768px) {
|
|
7945
|
+
.PodcastCard_module_podcast-card {
|
|
7946
|
+
min-height: 0;
|
|
7947
|
+
gap: var(--spacing-5xl);
|
|
7948
|
+
padding: 20px;
|
|
7949
|
+
}
|
|
7950
|
+
}
|
|
7951
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_content-wrapper {
|
|
7952
|
+
display: flex;
|
|
7953
|
+
flex-direction: column;
|
|
7954
|
+
gap: var(--spacing-md);
|
|
7955
|
+
}
|
|
7956
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_content-wrapper .PodcastCard_module_top-content {
|
|
7957
|
+
display: flex;
|
|
7958
|
+
justify-content: space-between;
|
|
7959
|
+
align-items: center;
|
|
7960
|
+
}
|
|
7961
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_content-wrapper .PodcastCard_module_top-content .PodcastCard_module_badge {
|
|
7962
|
+
color: var(--color-black);
|
|
7963
|
+
background-color: var(--color-gray-50);
|
|
7964
|
+
padding: var(--spacing-xs) var(--spacing-md);
|
|
7965
|
+
font-weight: var(--font-weight-regular);
|
|
7966
|
+
}
|
|
7967
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_content-wrapper .PodcastCard_module_top-content .PodcastCard_module_date {
|
|
7968
|
+
color: var(--color-black);
|
|
7969
|
+
}
|
|
7970
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_content-wrapper .PodcastCard_module_main-content {
|
|
7971
|
+
display: flex;
|
|
7972
|
+
flex-direction: column;
|
|
7973
|
+
gap: var(--spacing-md);
|
|
7974
|
+
}
|
|
7975
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_content-wrapper .PodcastCard_module_main-content .PodcastCard_module_title {
|
|
7976
|
+
font-weight: var(--font-weight-bold);
|
|
7977
|
+
color: var(--color-black);
|
|
7978
|
+
}
|
|
7979
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_content-wrapper .PodcastCard_module_main-content .PodcastCard_module_description {
|
|
7980
|
+
display: -webkit-box;
|
|
7981
|
+
-webkit-line-clamp: 4;
|
|
7982
|
+
-webkit-box-orient: vertical;
|
|
7983
|
+
overflow: hidden;
|
|
7984
|
+
}
|
|
7985
|
+
@media (max-width: 768px) {
|
|
7986
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_content-wrapper .PodcastCard_module_main-content .PodcastCard_module_description {
|
|
7987
|
+
display: block;
|
|
7988
|
+
-webkit-line-clamp: unset;
|
|
7989
|
+
-webkit-box-orient: unset;
|
|
7990
|
+
overflow: visible;
|
|
7991
|
+
}
|
|
7992
|
+
}
|
|
7993
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_cta-wrapper {
|
|
7994
|
+
display: flex;
|
|
7995
|
+
flex-direction: column;
|
|
7996
|
+
background-color: var(--color-white);
|
|
7997
|
+
border-radius: var(--rounded-md);
|
|
7998
|
+
border: 1px solid var(--color-extra-light-gray);
|
|
7999
|
+
padding: 18px 8px;
|
|
8000
|
+
transition: all 0.5s ease;
|
|
8001
|
+
}
|
|
8002
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_cta-wrapper:focus-within .PodcastCard_module_cta-icons,
|
|
8003
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_cta-wrapper:hover .PodcastCard_module_cta-icons {
|
|
8004
|
+
opacity: 1;
|
|
8005
|
+
max-height: 100px;
|
|
8006
|
+
transform: translateY(0);
|
|
8007
|
+
pointer-events: auto;
|
|
8008
|
+
}
|
|
8009
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_cta-wrapper:focus-within .PodcastCard_module_cta-label,
|
|
8010
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_cta-wrapper:hover .PodcastCard_module_cta-label {
|
|
8011
|
+
margin-bottom: var(--spacing-xl);
|
|
8012
|
+
}
|
|
8013
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_cta-wrapper .PodcastCard_module_cta-label {
|
|
8014
|
+
text-align: center;
|
|
8015
|
+
color: var(--color-black);
|
|
8016
|
+
transition: margin 0.5s ease;
|
|
8017
|
+
}
|
|
8018
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_cta-wrapper .PodcastCard_module_cta-icons {
|
|
8019
|
+
display: flex;
|
|
8020
|
+
align-items: center;
|
|
8021
|
+
justify-content: center;
|
|
8022
|
+
gap: 10.5px;
|
|
8023
|
+
flex-wrap: wrap;
|
|
8024
|
+
opacity: 0;
|
|
8025
|
+
max-height: 0;
|
|
8026
|
+
transform: translateY(-5px);
|
|
8027
|
+
pointer-events: none;
|
|
8028
|
+
transition:
|
|
8029
|
+
opacity 0.3s ease,
|
|
8030
|
+
max-height 0.5s ease,
|
|
8031
|
+
transform 0.3s ease;
|
|
8032
|
+
}
|
|
8033
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_cta-wrapper .PodcastCard_module_cta-icons .PodcastCard_module_cta-icon {
|
|
8034
|
+
position: relative;
|
|
8035
|
+
display: inline-flex;
|
|
8036
|
+
}
|
|
8037
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_cta-wrapper .PodcastCard_module_cta-icons .PodcastCard_module_cta-icon .PodcastCard_module_icon-default,
|
|
8038
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_cta-wrapper .PodcastCard_module_cta-icons .PodcastCard_module_cta-icon .PodcastCard_module_icon-active {
|
|
8039
|
+
display: block;
|
|
8040
|
+
transition: opacity 0.2s ease;
|
|
8041
|
+
}
|
|
8042
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_cta-wrapper .PodcastCard_module_cta-icons .PodcastCard_module_cta-icon .PodcastCard_module_icon-active {
|
|
8043
|
+
position: absolute;
|
|
8044
|
+
inset: 0;
|
|
8045
|
+
opacity: 0;
|
|
8046
|
+
}
|
|
8047
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_cta-wrapper .PodcastCard_module_cta-icons .PodcastCard_module_cta-icon:hover .PodcastCard_module_icon-default,
|
|
8048
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_cta-wrapper .PodcastCard_module_cta-icons .PodcastCard_module_cta-icon:focus-visible .PodcastCard_module_icon-default {
|
|
8049
|
+
opacity: 0;
|
|
8050
|
+
}
|
|
8051
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_cta-wrapper .PodcastCard_module_cta-icons .PodcastCard_module_cta-icon:hover .PodcastCard_module_icon-active,
|
|
8052
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_cta-wrapper .PodcastCard_module_cta-icons .PodcastCard_module_cta-icon:focus-visible .PodcastCard_module_icon-active {
|
|
8053
|
+
opacity: 1;
|
|
8054
|
+
}
|
|
8055
|
+
@media (max-width: 768px) {
|
|
8056
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_cta-wrapper {
|
|
8057
|
+
border: none;
|
|
8058
|
+
padding: 0;
|
|
8059
|
+
background-color: transparent;
|
|
8060
|
+
cursor: default;
|
|
8061
|
+
}
|
|
8062
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_cta-wrapper .PodcastCard_module_cta-label {
|
|
8063
|
+
display: none;
|
|
8064
|
+
}
|
|
8065
|
+
.PodcastCard_module_podcast-card .PodcastCard_module_cta-wrapper .PodcastCard_module_cta-icons {
|
|
8066
|
+
opacity: 1;
|
|
8067
|
+
max-height: none;
|
|
8068
|
+
transform: none;
|
|
8069
|
+
pointer-events: auto;
|
|
8070
|
+
}
|
|
8071
|
+
}
|
|
8072
|
+
|
|
8073
|
+
/* src/widgets/PodcastGridCards/PodcastGridCards.module.scss */
|
|
8074
|
+
html,
|
|
8075
|
+
body {
|
|
8076
|
+
font-family: "Instrument Sans", sans-serif;
|
|
8077
|
+
font-size: 1rem;
|
|
8078
|
+
font-weight: 500;
|
|
8079
|
+
line-height: 1.5;
|
|
8080
|
+
color: #4d4d4d;
|
|
8081
|
+
}
|
|
8082
|
+
h1,
|
|
8083
|
+
.PodcastGridCards_module_h1 {
|
|
8084
|
+
font-size: 3rem;
|
|
8085
|
+
font-weight: 600;
|
|
8086
|
+
line-height: 1.17;
|
|
8087
|
+
}
|
|
8088
|
+
@media (max-width: 768px) {
|
|
8089
|
+
h1,
|
|
8090
|
+
.PodcastGridCards_module_h1 {
|
|
8091
|
+
font-size: 2rem;
|
|
8092
|
+
}
|
|
8093
|
+
}
|
|
8094
|
+
h2,
|
|
8095
|
+
.PodcastGridCards_module_h2 {
|
|
8096
|
+
font-size: 2.5rem;
|
|
8097
|
+
font-weight: 600;
|
|
8098
|
+
line-height: 1.2;
|
|
8099
|
+
}
|
|
8100
|
+
@media (max-width: 768px) {
|
|
8101
|
+
h2,
|
|
8102
|
+
.PodcastGridCards_module_h2 {
|
|
8103
|
+
font-size: 1.5rem;
|
|
8104
|
+
}
|
|
8105
|
+
}
|
|
8106
|
+
h3,
|
|
8107
|
+
.PodcastGridCards_module_h3 {
|
|
8108
|
+
font-size: 2rem;
|
|
8109
|
+
font-weight: 600;
|
|
8110
|
+
line-height: 1.25;
|
|
8111
|
+
}
|
|
8112
|
+
@media (max-width: 768px) {
|
|
8113
|
+
h3,
|
|
8114
|
+
.PodcastGridCards_module_h3 {
|
|
8115
|
+
font-size: 1.25rem;
|
|
8116
|
+
}
|
|
8117
|
+
}
|
|
8118
|
+
h4,
|
|
8119
|
+
.PodcastGridCards_module_h4 {
|
|
8120
|
+
font-size: 1.5rem;
|
|
8121
|
+
font-weight: 600;
|
|
8122
|
+
line-height: 1.33;
|
|
8123
|
+
}
|
|
8124
|
+
@media (max-width: 768px) {
|
|
8125
|
+
h4,
|
|
8126
|
+
.PodcastGridCards_module_h4 {
|
|
8127
|
+
font-size: 18px;
|
|
8128
|
+
}
|
|
8129
|
+
}
|
|
8130
|
+
h5,
|
|
8131
|
+
.PodcastGridCards_module_h5 {
|
|
8132
|
+
font-size: 1.25rem;
|
|
8133
|
+
font-weight: 500;
|
|
8134
|
+
line-height: 1.4;
|
|
8135
|
+
}
|
|
8136
|
+
@media (max-width: 768px) {
|
|
8137
|
+
h5,
|
|
8138
|
+
.PodcastGridCards_module_h5 {
|
|
8139
|
+
font-size: 18px;
|
|
8140
|
+
}
|
|
8141
|
+
}
|
|
8142
|
+
.PodcastGridCards_module_subheading {
|
|
8143
|
+
font-size: 1.25rem;
|
|
8144
|
+
font-weight: 500;
|
|
8145
|
+
line-height: 1.4;
|
|
8146
|
+
}
|
|
8147
|
+
@media (max-width: 768px) {
|
|
8148
|
+
.PodcastGridCards_module_subheading {
|
|
8149
|
+
font-size: 18px;
|
|
8150
|
+
}
|
|
8151
|
+
}
|
|
8152
|
+
.PodcastGridCards_module_subheading strong {
|
|
8153
|
+
font-weight: 500;
|
|
8154
|
+
color: #000000;
|
|
8155
|
+
}
|
|
8156
|
+
.PodcastGridCards_module_body {
|
|
8157
|
+
font-size: 1rem;
|
|
8158
|
+
font-weight: 500;
|
|
8159
|
+
line-height: 1.5;
|
|
8160
|
+
}
|
|
8161
|
+
small,
|
|
8162
|
+
.PodcastGridCards_module_small {
|
|
8163
|
+
font-size: 0.875rem;
|
|
8164
|
+
font-weight: 500;
|
|
8165
|
+
line-height: 1.5;
|
|
8166
|
+
}
|
|
8167
|
+
.PodcastGridCards_module_smallest {
|
|
8168
|
+
font-size: 0.75rem;
|
|
8169
|
+
font-weight: 500;
|
|
8170
|
+
line-height: 1.5;
|
|
8171
|
+
}
|
|
8172
|
+
a {
|
|
8173
|
+
color: var(--color-link);
|
|
8174
|
+
text-decoration: none;
|
|
8175
|
+
cursor: pointer;
|
|
8176
|
+
}
|
|
8177
|
+
a:hover {
|
|
8178
|
+
text-decoration: underline;
|
|
8179
|
+
}
|
|
8180
|
+
.PodcastGridCards_module_podcast-grid-cards .PodcastGridCards_module_container {
|
|
8181
|
+
display: flex;
|
|
8182
|
+
flex-direction: column;
|
|
8183
|
+
gap: var(--spacing-xl);
|
|
8184
|
+
}
|
|
8185
|
+
.PodcastGridCards_module_podcast-grid-cards .PodcastGridCards_module_title {
|
|
8186
|
+
color: var(--color-black);
|
|
8187
|
+
}
|
|
7819
8188
|
/*# sourceMappingURL=index.css.map */
|