@anker-in/headless-ui 1.3.72 → 1.3.74
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/cjs/biz-components/ActiveShelf/ProductCard.js +1 -1
- package/dist/cjs/biz-components/ActiveShelf/styles.js +1 -1
- package/dist/cjs/biz-components/ActivityMechanism/index.js +1 -1
- package/dist/cjs/biz-components/AiuiProvider/index.d.ts +9 -0
- package/dist/cjs/biz-components/AiuiProvider/index.js +1 -1
- package/dist/cjs/biz-components/CreativeModule/index.js +1 -1
- package/dist/cjs/biz-components/FooterNavigation/index.js +1 -1
- package/dist/cjs/biz-components/HeaderNavigation/MobileMenuComponents.d.ts +2 -1
- package/dist/cjs/biz-components/HeaderNavigation/MobileMenuComponents.js +1 -1
- package/dist/cjs/biz-components/HeaderNavigation/MobileResourceSidebarMenu.js +1 -1
- package/dist/cjs/biz-components/HeaderNavigation/MobileSidebarMenu.js +1 -1
- package/dist/cjs/biz-components/HeaderNavigation/MobileSupportMenu.js +1 -1
- package/dist/cjs/biz-components/HeaderNavigation/MulticolDropdown.js +1 -1
- package/dist/cjs/biz-components/HeaderNavigation/ResourceItem.js +1 -1
- package/dist/cjs/biz-components/HeaderNavigation/ResourceSidebarDropdown.js +1 -1
- package/dist/cjs/biz-components/HeaderNavigation/SidebarDropdown.d.ts +2 -1
- package/dist/cjs/biz-components/HeaderNavigation/SidebarDropdown.js +1 -1
- package/dist/cjs/biz-components/HeaderNavigation/SupportsDropdown.js +1 -1
- package/dist/cjs/biz-components/HeaderNavigation/index.js +1 -1
- package/dist/cjs/biz-components/HeaderNavigation/types.d.ts +1 -0
- package/dist/cjs/biz-components/HeaderNavigation/types.js +1 -1
- package/dist/cjs/biz-components/HeaderNavigation/useNavCollapse.d.ts +30 -0
- package/dist/cjs/biz-components/HeaderNavigation/useNavCollapse.js +1 -0
- package/dist/cjs/biz-components/HeaderNavigation/useScrollLock.d.ts +2 -1
- package/dist/cjs/biz-components/HeaderNavigation/useScrollLock.js +1 -1
- package/dist/cjs/biz-components/HeaderNavigation/withCategory.js +1 -1
- package/dist/cjs/biz-components/Listing/utils/index.js +1 -1
- package/dist/cjs/biz-components/SearchPage/index.js +1 -1
- package/dist/cjs/components/badge.d.ts +1 -1
- package/dist/cjs/components/badge.js +1 -1
- package/dist/cjs/components/board.js +1 -1
- package/dist/esm/biz-components/ActiveShelf/ProductCard.js +1 -1
- package/dist/esm/biz-components/ActiveShelf/styles.js +1 -1
- package/dist/esm/biz-components/ActivityMechanism/index.js +1 -1
- package/dist/esm/biz-components/AiuiProvider/index.d.ts +9 -0
- package/dist/esm/biz-components/AiuiProvider/index.js +1 -1
- package/dist/esm/biz-components/CreativeModule/index.js +1 -1
- package/dist/esm/biz-components/FooterNavigation/index.js +1 -1
- package/dist/esm/biz-components/HeaderNavigation/MobileMenuComponents.d.ts +2 -1
- package/dist/esm/biz-components/HeaderNavigation/MobileMenuComponents.js +1 -1
- package/dist/esm/biz-components/HeaderNavigation/MobileResourceSidebarMenu.js +1 -1
- package/dist/esm/biz-components/HeaderNavigation/MobileSidebarMenu.js +1 -1
- package/dist/esm/biz-components/HeaderNavigation/MobileSupportMenu.js +1 -1
- package/dist/esm/biz-components/HeaderNavigation/MulticolDropdown.js +1 -1
- package/dist/esm/biz-components/HeaderNavigation/ResourceItem.js +1 -1
- package/dist/esm/biz-components/HeaderNavigation/ResourceSidebarDropdown.js +1 -1
- package/dist/esm/biz-components/HeaderNavigation/SidebarDropdown.d.ts +2 -1
- package/dist/esm/biz-components/HeaderNavigation/SidebarDropdown.js +1 -1
- package/dist/esm/biz-components/HeaderNavigation/SupportsDropdown.js +1 -1
- package/dist/esm/biz-components/HeaderNavigation/index.js +1 -1
- package/dist/esm/biz-components/HeaderNavigation/types.d.ts +1 -0
- package/dist/esm/biz-components/HeaderNavigation/useNavCollapse.d.ts +30 -0
- package/dist/esm/biz-components/HeaderNavigation/useNavCollapse.js +1 -0
- package/dist/esm/biz-components/HeaderNavigation/useScrollLock.d.ts +2 -1
- package/dist/esm/biz-components/HeaderNavigation/useScrollLock.js +1 -1
- package/dist/esm/biz-components/HeaderNavigation/withCategory.js +1 -1
- package/dist/esm/biz-components/Listing/utils/index.js +1 -1
- package/dist/esm/biz-components/SearchPage/index.js +1 -1
- package/dist/esm/components/badge.d.ts +1 -1
- package/dist/esm/components/badge.js +1 -1
- package/dist/esm/components/board.js +1 -1
- package/dist/tokens/oneAnker.css +22 -0
- package/package.json +1 -1
- package/style.css +55 -4
- package/tailwind.config.js +5 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as t,jsxs as e}from"react/jsx-runtime";import"react";import{cva as p}from"class-variance-authority";import{cn as C}from"../helpers/index.js";const d=p("text-
|
|
1
|
+
import{jsx as t,jsxs as e}from"react/jsx-runtime";import"react";import{cva as p}from"class-variance-authority";import{cn as C}from"../helpers/index.js";const d=p("text-badge-outline-text outline-badge-outline-color inline-flex items-center justify-center whitespace-nowrap rounded-[16px] border-none text-xs font-bold outline outline-[1.6px] outline-offset-[-1.6px] transition-colors focus:outline-none",{variants:{size:{xs:"h-[20px] px-[4px] pb-[2px] pt-1 text-[12px] leading-normal",sm:"h-[24px] px-[6px] pb-[3px] pt-[4px] text-[14px] leading-tight",lg:"lg-desktop:px-[8px] lg-desktop:pb-[4px] lg-desktop:pt-[5px] lg-desktop:text-[16px] lg-desktop:h-[28px] h-[24px] p-[6px] pb-[3px] pt-[4px] text-[14px] leading-tight"},variant:{outline:"bg-transparent",fill:"bg-badge-fill-color bg-badge-fill-gradient text-badge-fill-text",promotional:"bg-gradient-brand text-badge-foreground relative !border-none !outline-none"},promotionalType:{"plus-member":"bg-gradient-to-r from-[#6E6754] via-[#4A453A] to-[#070708] ","regular-member":"bg-brand-0 bg-gradient-brand ","regular-discount":"bg-brand-0 bg-gradient-brand ","time-limited-discount":"bg-brand-0 bg-gradient-brand "}},compoundVariants:[{variant:"promotional",size:"sm",class:"!pl-[24px]"},{variant:"promotional",size:"lg",class:"lg-desktop:!pl-[28px] !pl-[24px]"}],defaultVariants:{size:"lg",variant:"outline"}}),g=()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 28",fill:"none",className:"h-full w-auto",children:[t("path",{d:"M23.2222 0C24.2096 0 25.1341 0.501396 25.6903 1.34106L31.4814 10.0846C32.283 11.2948 32.1429 12.9193 31.1474 13.9659L19.0336 26.6998C17.3854 28.4319 14.6772 28.4335 13.0264 26.7039L0.855644 13.9536C-0.130438 12.9204 -0.281462 11.3186 0.492455 10.1091L6.07548 1.38199C6.6279 0.518743 7.56576 0 8.57008 0H23.2222Z",fill:"url(#paint0_linear_22508_6946)"}),t("path",{d:"M22.4084 10.2119C22.9545 9.66492 23.8409 9.66346 24.3881 10.2092C24.9351 10.7553 24.9366 11.6416 24.3908 12.1889L17.451 19.1397C16.8776 19.714 15.9474 19.7155 15.3729 19.1424L8.41114 12.1916C7.86414 11.6455 7.86268 10.7592 8.40841 10.2119C8.95451 9.66492 9.84087 9.66346 10.3881 10.2092L16.4092 16.2193L22.4084 10.2119Z",fill:"url(#paint1_linear_22508_6946)"}),e("defs",{children:[e("linearGradient",{id:"paint0_linear_22508_6946",x1:"2.1318",y1:"0.390243",x2:"33.6892",y2:"7.35765",gradientUnits:"userSpaceOnUse",children:[t("stop",{offset:"0.0865385",stopColor:"#FFF5E0"}),t("stop",{offset:"1",stopColor:"#E8C08A"})]}),e("linearGradient",{id:"paint1_linear_22508_6946",x1:"7.79513",y1:"9.80078",x2:"25.937",y2:"13.8215",gradientUnits:"userSpaceOnUse",children:[t("stop",{offset:"0.9999",stopColor:"#6E6754"}),t("stop",{offset:"1",stopColor:"#050608"})]})]})]}),u=()=>e("svg",{width:"32",height:"28",viewBox:"0 0 32 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"h-full w-auto",children:[t("path",{d:"M23.2222 0C24.2096 0 25.1341 0.501396 25.6903 1.34106L31.4814 10.0846C32.283 11.2948 32.1429 12.9193 31.1474 13.9659L19.0336 26.6998C17.3854 28.4319 14.6772 28.4335 13.0264 26.7039L0.855644 13.9536C-0.130438 12.9204 -0.281462 11.3186 0.492455 10.1091L6.07548 1.38199C6.6279 0.518743 7.56576 0 8.57008 0H23.2222Z",fill:"#B5E5F9"}),t("path",{d:"M22.4084 10.2119C22.9545 9.66492 23.8409 9.66346 24.3881 10.2092C24.9351 10.7553 24.9366 11.6416 24.3908 12.1889L17.451 19.1397C16.8776 19.714 15.9474 19.7155 15.3729 19.1424L8.41114 12.1916C7.86414 11.6455 7.86268 10.7592 8.40841 10.2119C8.95451 9.66492 9.84087 9.66346 10.3881 10.2092L16.4092 16.2193L22.4084 10.2119Z",fill:"white"})]}),c=()=>e("svg",{width:"32",height:"28",viewBox:"0 0 32 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"h-full w-auto",children:[e("g",{clipPath:"url(#clip0_20420_244316)",children:[t("path",{opacity:"0.4",d:"M3.90567 7.45107C4.19697 6.0806 5.21359 4.9787 6.55622 4.57818L13.8699 2.39643C15.1173 2.02431 16.4683 2.31148 17.4565 3.15879L23.2505 8.12665C24.3141 9.03864 24.7946 10.4588 24.5033 11.8292L21.3938 26.4587C20.9541 28.527 18.921 29.8474 16.8527 29.4077L3.74508 26.6216C1.67675 26.182 0.356442 24.1489 0.796078 22.0805L3.90567 7.45107Z",fill:"#B5E5F9"}),t("path",{d:"M5 7.9615C5 6.50843 5.78799 5.16965 7.05839 4.46433L14.0584 0.57797C15.266 -0.0924777 16.734 -0.0924768 17.9416 0.577971L24.9416 4.46434C26.212 5.16966 27 6.50844 27 7.9615V24C27 26.2091 25.2091 28 23 28H9C6.79086 28 5 26.2091 5 24V7.9615Z",fill:"#B5E5F9"}),t("path",{d:"M20.3094 17.6141C21.0396 17.6143 21.7533 17.8311 22.3603 18.2371C22.9672 18.6431 23.4402 19.22 23.7194 19.8949C23.9986 20.5698 24.0715 21.3124 23.9288 22.0287C23.7861 22.745 23.4343 23.4029 22.9178 23.9192C22.4013 24.4355 21.7434 24.787 21.0272 24.9293C20.311 25.0715 19.5687 24.9982 18.8942 24.7184C18.2197 24.4387 17.6433 23.9652 17.2378 23.3577C16.8324 22.7503 16.6161 22.0362 16.6163 21.3058C16.6163 19.2667 18.2697 17.6141 20.3094 17.6141ZM10.8221 20.5232L19.527 11.8217C19.7491 11.6041 20.0454 11.4786 20.3562 11.4704C20.667 11.4622 20.9695 11.5719 21.2028 11.7776C21.4361 11.9832 21.583 12.2695 21.6139 12.579C21.6449 12.8885 21.5577 13.1983 21.3698 13.4461L21.2677 13.5618L12.5628 22.2632C12.3407 22.4808 12.0444 22.6064 11.7336 22.6145C11.4228 22.6227 11.1203 22.513 10.887 22.3074C10.6537 22.1017 10.5068 21.8154 10.4759 21.5059C10.4449 21.1964 10.5321 20.8867 10.72 20.6388L10.8221 20.5232ZM20.3094 20.0752C19.9831 20.0752 19.6702 20.2049 19.4395 20.4356C19.2088 20.6664 19.0792 20.9794 19.0792 21.3058C19.0792 21.6322 19.2088 21.9452 19.4395 22.176C19.6702 22.4067 19.9831 22.5364 20.3094 22.5364C20.6357 22.5364 20.9486 22.4067 21.1793 22.176C21.41 21.9452 21.5396 21.6322 21.5396 21.3058C21.5396 20.9794 21.41 20.6664 21.1793 20.4356C20.9486 20.2049 20.6357 20.0752 20.3094 20.0752ZM11.6931 9C12.4232 9.00024 13.1369 9.21707 13.7439 9.62306C14.3509 10.0291 14.8239 10.606 15.1031 11.2809C15.3823 11.9558 15.4552 12.6983 15.3125 13.4146C15.1698 14.131 14.818 14.7889 14.3015 15.3052C13.785 15.8215 13.1271 16.173 12.4109 16.3152C11.6947 16.4575 10.9524 16.3841 10.2779 16.1044C9.60339 15.8246 9.02696 15.3511 8.6215 14.7437C8.21604 14.1362 7.99976 13.4221 8 12.6917C8 10.6527 9.65339 9 11.6931 9ZM11.6931 11.4612C11.5315 11.4611 11.3715 11.4928 11.2222 11.5546C11.073 11.6164 10.9373 11.7069 10.823 11.8212C10.5922 12.0518 10.4624 12.3648 10.4622 12.6911C10.4621 13.0175 10.5915 13.3306 10.8221 13.5615C11.0527 13.7923 11.3656 13.9222 11.6918 13.9223C12.0181 13.9223 12.331 13.7927 12.5617 13.5619C12.7924 13.3311 12.922 13.0181 12.922 12.6917C12.922 12.3654 12.7924 12.0524 12.5617 11.8216C12.331 11.5908 12.0181 11.4612 11.6918 11.4612H11.6931Z",fill:"white"})]}),t("defs",{children:t("clipPath",{id:"clip0_20420_244316",children:t("rect",{width:"32",height:"28",fill:"white"})})})]}),x=()=>e("svg",{width:"24",height:"28",viewBox:"0 0 24 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"h-full w-auto",children:[t("path",{d:"M0.112855 14.5991L6.23786 0.599179C6.3971 0.235193 6.75672 0 7.15401 0H19.4534C20.1791 0 20.6631 0.74862 20.3653 1.41036L16.5 10H22.5443C23.36 10 23.8326 10.9242 23.3549 11.5855L11.5 28.0001L9.6547 16L1.029 15.9999C0.307853 15.9999 -0.176196 15.2598 0.112855 14.5991Z",fill:"#B5E5F9"}),t("path",{d:"M0.112855 14.5991L6.23786 0.599179C6.3971 0.235193 6.75672 0 7.15401 0H19.4534C20.1791 0 20.6631 0.74862 20.3653 1.41036L16.5 10H22.5443C23.36 10 23.8326 10.9242 23.3549 11.5855L11.5 28.0001L9.6547 16L1.029 15.9999C0.307853 15.9999 -0.176196 15.2598 0.112855 14.5991Z",fill:"#B5E5F9"})]}),m={"plus-member":()=>t(g,{}),"regular-member":()=>t(u,{}),"regular-discount":()=>t(c,{}),"time-limited-discount":()=>t(x,{})};function f({className:r,size:s,variant:o="outline",promotionalType:l,...n}){const i=o==="promotional",a=i?m[l||"regular-discount"]:null;return e("div",{className:C(d({size:s,variant:o,promotionalType:i?l:void 0}),r),...n,children:[i&&a&&t("div",{className:"absolute inset-y-0 left-0 flex -translate-x-1/3 items-center",children:t(a,{})}),t("span",{className:i?"relative z-10":"",children:n.children})]})}var w=f;export{w as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as a,jsxs as c}from"react/jsx-runtime";import{Fragment as s}from"react";import{cn as o}from"../helpers/utils.js";import{Container as m}from"./container.js";import d from"./link.js";import{Text as n}from"./text.js";import{useAiuiContext as f}from"../biz-components/AiuiProvider/index.js";const g=({data:l,sizeClass:t})=>{const{navCollapsed:i}=f();return a("div",{className:"aiui-dark relative z-[46] box-border h-[30px]",children:c(m,{childClassName:"flex !bg-container-primary items-center justify-between",className:"h-full",children:[a("div",{className:o("h-full items-center gap-3",i===void 0?"desktop:flex hidden":i?"hidden":"flex"),children:l?.leftIcon?.map?.((e,r)=>c(s,{children:[r>0&&a("span",{className:"bg-lines h-3 w-px","aria-hidden":"true"}),e?.link?a(d,{href:e?.link,variant:"secondary","aria-label":e?.label||e?.title,className:o("text-sm leading-[1.4] no-underline",t),children:a(n,{className:"board-left-icon","aria-hidden":"true",html:e?.logo||""})}):a(n,{className:"board-left-icon",html:e?.logo||""})]},r))}),a("div",{className:"flex h-full flex-1 items-center justify-end gap-2",children:l?.rightIcon?.map?.((e,r)=>a(s,{children:e?.link?a(d,{href:e?.link,variant:"secondary","aria-label":e?.label||e?.title,className:o("flex items-center text-sm leading-[1.4] no-underline",t),children:a(n,{className:"board-right-icon","aria-hidden":"true",html:e?.logo||""})}):a(n,{className:"board-right-icon",html:e?.logo||""})},r))})]})})};var k=g;export{k as default};
|
package/dist/tokens/oneAnker.css
CHANGED
|
@@ -14,6 +14,13 @@
|
|
|
14
14
|
--brand-color-0: #00cbeb;
|
|
15
15
|
--tabs-radius: 28px;
|
|
16
16
|
--badge-text-color: #080a0f;
|
|
17
|
+
/* Badge 描边型(outline):描边色 + 文字色(oneanker 专属) */
|
|
18
|
+
--badge-outline-color: #93e0ec;
|
|
19
|
+
--badge-outline-text-color: #004966;
|
|
20
|
+
/* Badge 填充型(fill):填充纯色 + 渐变 + 文字色(oneanker 专属) */
|
|
21
|
+
--badge-fill-color: #93e0ec;
|
|
22
|
+
--badge-fill-gradient: linear-gradient(90deg, #93e0ec 0%, #93e0ec 100%);
|
|
23
|
+
--badge-fill-text-color: #004966;
|
|
17
24
|
|
|
18
25
|
/* 侧边栏选中状态和货架组件圆角:<=1024px 为 6px */
|
|
19
26
|
--sidebar-shelf-radius: 6px;
|
|
@@ -39,5 +46,20 @@
|
|
|
39
46
|
--tabs-hover-foreground-color: #004966;
|
|
40
47
|
--brand-gradient-color-0: linear-gradient(90deg, var(--brand-color-0) 0%, var(--brand-color-0) 100%);
|
|
41
48
|
--badge-text-color: #080a0f;
|
|
49
|
+
--badge-outline-color: #93e0ec;
|
|
50
|
+
--badge-outline-text-color: #004966;
|
|
51
|
+
--badge-fill-color: #93e0ec;
|
|
52
|
+
--badge-fill-gradient: linear-gradient(90deg, #93e0ec 0%, #93e0ec 100%);
|
|
53
|
+
--badge-fill-text-color: #004966;
|
|
42
54
|
--btn-text-active-color: #1E2024;
|
|
43
55
|
}
|
|
56
|
+
|
|
57
|
+
/* link 按钮 hover 颜色覆盖(oneAnker 专属) */
|
|
58
|
+
:root .link-btn:hover,
|
|
59
|
+
.aiui-light .link-btn:hover {
|
|
60
|
+
color: #004966;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.aiui-dark .link-btn:hover {
|
|
64
|
+
color: #93E0EC;
|
|
65
|
+
}
|
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -499,6 +499,9 @@ video {
|
|
|
499
499
|
.invisible {
|
|
500
500
|
visibility: hidden;
|
|
501
501
|
}
|
|
502
|
+
.collapse {
|
|
503
|
+
visibility: collapse;
|
|
504
|
+
}
|
|
502
505
|
.static {
|
|
503
506
|
position: static;
|
|
504
507
|
}
|
|
@@ -659,6 +662,9 @@ video {
|
|
|
659
662
|
.right-0 {
|
|
660
663
|
right: 0px;
|
|
661
664
|
}
|
|
665
|
+
.right-1 {
|
|
666
|
+
right: 0.25rem;
|
|
667
|
+
}
|
|
662
668
|
.right-4 {
|
|
663
669
|
right: 1rem;
|
|
664
670
|
}
|
|
@@ -677,6 +683,9 @@ video {
|
|
|
677
683
|
.top-0 {
|
|
678
684
|
top: 0px;
|
|
679
685
|
}
|
|
686
|
+
.top-1 {
|
|
687
|
+
top: 0.25rem;
|
|
688
|
+
}
|
|
680
689
|
.top-1\/2 {
|
|
681
690
|
top: 50%;
|
|
682
691
|
}
|
|
@@ -3111,6 +3120,9 @@ video {
|
|
|
3111
3120
|
.bg-background {
|
|
3112
3121
|
background-color: var(--container-primary-color);
|
|
3113
3122
|
}
|
|
3123
|
+
.bg-badge-fill-color {
|
|
3124
|
+
background-color: var(--badge-fill-color, var(--brand-color-0));
|
|
3125
|
+
}
|
|
3114
3126
|
.bg-bg-0 {
|
|
3115
3127
|
background-color: var(--bg-color-0);
|
|
3116
3128
|
}
|
|
@@ -3249,6 +3261,9 @@ video {
|
|
|
3249
3261
|
.\!bg-none {
|
|
3250
3262
|
background-image: none !important;
|
|
3251
3263
|
}
|
|
3264
|
+
.bg-badge-fill-gradient {
|
|
3265
|
+
background-image: var(--badge-fill-gradient, var(--brand-gradient-color-0));
|
|
3266
|
+
}
|
|
3252
3267
|
.bg-gradient-brand {
|
|
3253
3268
|
background-image: var(--brand-gradient-color-0);
|
|
3254
3269
|
}
|
|
@@ -3686,6 +3701,9 @@ video {
|
|
|
3686
3701
|
.pb-\[24px\] {
|
|
3687
3702
|
padding-bottom: 24px;
|
|
3688
3703
|
}
|
|
3704
|
+
.pb-\[2px\] {
|
|
3705
|
+
padding-bottom: 2px;
|
|
3706
|
+
}
|
|
3689
3707
|
.pb-\[3px\] {
|
|
3690
3708
|
padding-bottom: 3px;
|
|
3691
3709
|
}
|
|
@@ -3925,6 +3943,12 @@ video {
|
|
|
3925
3943
|
.\!leading-\[1\.4\] {
|
|
3926
3944
|
line-height: 1.4 !important;
|
|
3927
3945
|
}
|
|
3946
|
+
.\!leading-normal {
|
|
3947
|
+
line-height: var(--line-height-normal) !important;
|
|
3948
|
+
}
|
|
3949
|
+
.\!leading-tight {
|
|
3950
|
+
line-height: var(--line-height-tight) !important;
|
|
3951
|
+
}
|
|
3928
3952
|
.leading-4 {
|
|
3929
3953
|
line-height: 1rem;
|
|
3930
3954
|
}
|
|
@@ -4169,9 +4193,15 @@ video {
|
|
|
4169
4193
|
.text-\[var\(--brand-2\2c \#005d8e\)\] {
|
|
4170
4194
|
color: var(--brand-2,#005d8e);
|
|
4171
4195
|
}
|
|
4196
|
+
.text-badge-fill-text {
|
|
4197
|
+
color: var(--badge-fill-text-color, var(--badge-text-color, #ffffff));
|
|
4198
|
+
}
|
|
4172
4199
|
.text-badge-foreground {
|
|
4173
4200
|
color: var(--badge-text-color, #ffffff);
|
|
4174
4201
|
}
|
|
4202
|
+
.text-badge-outline-text {
|
|
4203
|
+
color: var(--badge-outline-text-color, var(--brand-color-0));
|
|
4204
|
+
}
|
|
4175
4205
|
.text-black {
|
|
4176
4206
|
--tw-text-opacity: 1;
|
|
4177
4207
|
color: rgb(0 0 0 / var(--tw-text-opacity, 1));
|
|
@@ -4371,8 +4401,8 @@ video {
|
|
|
4371
4401
|
.outline-offset-\[-1\.6px\] {
|
|
4372
4402
|
outline-offset: -1.6px;
|
|
4373
4403
|
}
|
|
4374
|
-
.outline-
|
|
4375
|
-
outline-color: var(--brand-color-0);
|
|
4404
|
+
.outline-badge-outline-color {
|
|
4405
|
+
outline-color: var(--badge-outline-color, var(--brand-color-0));
|
|
4376
4406
|
}
|
|
4377
4407
|
.outline-btn-primary {
|
|
4378
4408
|
outline-color: var(--info-primary-color);
|
|
@@ -6140,6 +6170,9 @@ video {
|
|
|
6140
6170
|
.laptop\:-right-4 {
|
|
6141
6171
|
right: -1rem;
|
|
6142
6172
|
}
|
|
6173
|
+
.laptop\:-top-6 {
|
|
6174
|
+
top: -1.5rem;
|
|
6175
|
+
}
|
|
6143
6176
|
.laptop\:bottom-6 {
|
|
6144
6177
|
bottom: 1.5rem;
|
|
6145
6178
|
}
|
|
@@ -7069,6 +7102,9 @@ video {
|
|
|
7069
7102
|
.laptop\:pb-1 {
|
|
7070
7103
|
padding-bottom: 0.25rem;
|
|
7071
7104
|
}
|
|
7105
|
+
.laptop\:pb-2 {
|
|
7106
|
+
padding-bottom: 0.5rem;
|
|
7107
|
+
}
|
|
7072
7108
|
.laptop\:pb-3 {
|
|
7073
7109
|
padding-bottom: 0.75rem;
|
|
7074
7110
|
}
|
|
@@ -7408,8 +7444,8 @@ video {
|
|
|
7408
7444
|
.desktop\:-right-6 {
|
|
7409
7445
|
right: -1.5rem;
|
|
7410
7446
|
}
|
|
7411
|
-
.desktop\:-top-
|
|
7412
|
-
top: -
|
|
7447
|
+
.desktop\:-top-8 {
|
|
7448
|
+
top: -2rem;
|
|
7413
7449
|
}
|
|
7414
7450
|
.desktop\:bottom-6 {
|
|
7415
7451
|
bottom: 1.5rem;
|
|
@@ -7469,6 +7505,9 @@ video {
|
|
|
7469
7505
|
.desktop\:mb-2 {
|
|
7470
7506
|
margin-bottom: 0.5rem;
|
|
7471
7507
|
}
|
|
7508
|
+
.desktop\:mb-4 {
|
|
7509
|
+
margin-bottom: 1rem;
|
|
7510
|
+
}
|
|
7472
7511
|
.desktop\:mr-3 {
|
|
7473
7512
|
margin-right: 0.75rem;
|
|
7474
7513
|
}
|
|
@@ -7944,6 +7983,9 @@ video {
|
|
|
7944
7983
|
.desktop\:gap-y-3 {
|
|
7945
7984
|
row-gap: 0.75rem;
|
|
7946
7985
|
}
|
|
7986
|
+
.desktop\:text-pretty {
|
|
7987
|
+
text-wrap: pretty;
|
|
7988
|
+
}
|
|
7947
7989
|
.desktop\:border-none {
|
|
7948
7990
|
border-style: none;
|
|
7949
7991
|
}
|
|
@@ -8092,6 +8134,9 @@ video {
|
|
|
8092
8134
|
.desktop\:pt-6 {
|
|
8093
8135
|
padding-top: 1.5rem;
|
|
8094
8136
|
}
|
|
8137
|
+
.desktop\:pt-8 {
|
|
8138
|
+
padding-top: 2rem;
|
|
8139
|
+
}
|
|
8095
8140
|
.desktop\:pt-\[112px\] {
|
|
8096
8141
|
padding-top: 112px;
|
|
8097
8142
|
}
|
|
@@ -8176,6 +8221,9 @@ video {
|
|
|
8176
8221
|
.lg-desktop\:\!bottom-6 {
|
|
8177
8222
|
bottom: 1.5rem !important;
|
|
8178
8223
|
}
|
|
8224
|
+
.lg-desktop\:-top-10 {
|
|
8225
|
+
top: -2.5rem;
|
|
8226
|
+
}
|
|
8179
8227
|
.lg-desktop\:bottom-8 {
|
|
8180
8228
|
bottom: 2rem;
|
|
8181
8229
|
}
|
|
@@ -8783,6 +8831,9 @@ video {
|
|
|
8783
8831
|
.lg-desktop\:pr-16 {
|
|
8784
8832
|
padding-right: 4rem;
|
|
8785
8833
|
}
|
|
8834
|
+
.lg-desktop\:pt-10 {
|
|
8835
|
+
padding-top: 2.5rem;
|
|
8836
|
+
}
|
|
8786
8837
|
.lg-desktop\:pt-4 {
|
|
8787
8838
|
padding-top: 1rem;
|
|
8788
8839
|
}
|
package/tailwind.config.js
CHANGED
|
@@ -167,6 +167,10 @@ module.exports = {
|
|
|
167
167
|
badge: {
|
|
168
168
|
DEFAULT: 'var(--secondary-brand-color-2)',
|
|
169
169
|
foreground: 'var(--badge-text-color, #ffffff)',
|
|
170
|
+
'outline-color': 'var(--badge-outline-color, var(--brand-color-0))',
|
|
171
|
+
'outline-text': 'var(--badge-outline-text-color, var(--brand-color-0))',
|
|
172
|
+
'fill-color': 'var(--badge-fill-color, var(--brand-color-0))',
|
|
173
|
+
'fill-text': 'var(--badge-fill-text-color, var(--badge-text-color, #ffffff))',
|
|
170
174
|
},
|
|
171
175
|
skeleton: {
|
|
172
176
|
DEFAULT: 'var(--info-tertiary-color)',
|
|
@@ -180,6 +184,7 @@ module.exports = {
|
|
|
180
184
|
},
|
|
181
185
|
backgroundImage: {
|
|
182
186
|
'gradient-brand': 'var(--brand-gradient-color-0)',
|
|
187
|
+
'badge-fill-gradient': 'var(--badge-fill-gradient, var(--brand-gradient-color-0))',
|
|
183
188
|
},
|
|
184
189
|
borderRadius: {
|
|
185
190
|
btn: 'var(--btn-radius)',
|