sodtrack-web-ui 0.57.6 → 0.57.8
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/chip-form-complementary.d.mts +3 -3
- package/dist/chip-form-complementary.d.ts +3 -3
- package/dist/chip-form.d.mts +3 -3
- package/dist/chip-form.d.ts +3 -3
- package/dist/chip-status-complementary.d.mts +1 -1
- package/dist/chip-status-complementary.d.ts +1 -1
- package/dist/{chunk-6JFWU4UG.mjs → chunk-5KG3ZZEN.mjs} +1 -1
- package/dist/chunk-FNEOZERE.mjs +1 -0
- package/dist/chunk-FUJQCVG2.mjs +1 -0
- package/dist/common.css +3 -0
- package/dist/drawer-sticky.js +1 -1
- package/dist/drawer-sticky.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/list-item-arrow.css +1 -1
- package/dist/list-item-arrow.mjs +1 -1
- package/dist/list-item-button.css +1 -1
- package/dist/list-item-button.mjs +1 -1
- package/dist/list-item-checkbox.css +1 -1
- package/dist/list-item-checkbox.mjs +1 -1
- package/dist/list-item.css +1 -1
- package/dist/list-item.mjs +1 -1
- package/dist/radio.js +1 -1
- package/dist/radio.mjs +1 -1
- package/dist/tab.d.mts +1 -1
- package/dist/tab.d.ts +1 -1
- package/dist/tailwind-preset.js +1 -1
- package/dist/tailwind-preset.mjs +1 -1
- package/package.json +3 -1
- package/dist/chunk-JXOB2NBL.mjs +0 -1
- package/dist/chunk-LWOIFDHA.mjs +0 -1
package/dist/tab.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ declare const TabsSizes: readonly ["sm", "md"];
|
|
|
13
13
|
type TabsSizesType = "sm" | "md";
|
|
14
14
|
declare const tabTrigger: (props?: ({
|
|
15
15
|
variant?: "fill" | "ghost" | "fillWithCloseButton" | undefined;
|
|
16
|
-
size?: "
|
|
16
|
+
size?: "sm" | "md" | undefined;
|
|
17
17
|
} & ({
|
|
18
18
|
class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
19
19
|
[x: string]: any;
|
package/dist/tailwind-preset.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var r={content:[],theme:{spacing:{0:"0",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",16:"3.5rem"},colors:{primary:{50:"rgb(var(--color-primary-50) / <alpha-value>)",100:"rgb(var(--color-primary-100) / <alpha-value>)",200:"rgb(var(--color-primary-200) / <alpha-value>)",300:"rgb(var(--color-primary-300) / <alpha-value>)",400:"rgb(var(--color-primary-400) / <alpha-value>)",500:"rgb(var(--color-primary-500) / <alpha-value>)",600:"rgb(var(--color-primary-600) / <alpha-value>)",700:"rgb(var(--color-primary-700) / <alpha-value>)",800:"rgb(var(--color-primary-800) / <alpha-value>)",900:"rgb(var(--color-primary-900) / <alpha-value>)"},"transparent-primary":{10:"rgb(var(--color-primary-400) / 0.1)",20:"rgb(var(--color-primary-400) / 0.2)",30:"rgb(var(--color-primary-400) / 0.3)",40:"rgb(var(--color-primary-400) / 0.4)"},"transparent-neutral":{10:"rgb(var(--color-neutral-50) / 0.1)",20:"rgb(var(--color-neutral-100) / 0.2)",30:"rgb(var(--color-neutral-200) / 0.3)",40:"rgb(var(--color-neutral-300) / 0.4)",50:"rgb(var(--color-neutral-400) / 0.5)"},neutral:{50:"rgb(var(--color-neutral-50) / <alpha-value>)",70:"rgb(var(--color-neutral-70) / <alpha-value>)",80:"rgb(var(--color-neutral-80) / <alpha-value>)",100:"rgb(var(--color-neutral-100) / <alpha-value>)",200:"rgb(var(--color-neutral-200) / <alpha-value>)",300:"rgb(var(--color-neutral-300) / <alpha-value>)",400:"rgb(var(--color-neutral-400) / <alpha-value>)",500:"rgb(var(--color-neutral-500) / <alpha-value>)",600:"rgb(var(--color-neutral-600) / <alpha-value>)",700:"rgb(var(--color-neutral-700) / <alpha-value>)",800:"rgb(var(--color-neutral-800) / <alpha-value>)",900:"rgb(var(--color-neutral-900) / <alpha-value>)"},error:{100:"rgb(var(--color-error-100) / <alpha-value>)",300:"rgb(var(--color-error-300) / <alpha-value>)",500:"rgb(var(--color-error-500) / <alpha-value>)",700:"rgb(var(--color-error-700) / <alpha-value>)",900:"rgb(var(--color-error-900) / <alpha-value>)"},"transparent-error":{10:"rgb(var(--color-error-300) / 0.1)"},warning:{100:"#FFF9D6",300:"#FFE885",500:"#FFCF35",700:"#D69A00",900:"#5C4B22"},success:{100:"#E3FAD7",300:"#67C45E",500:"#319E31",700:"#187128",900:"#094B20"},info:{100:"#CFEBFE",300:"#71B6FA",500:"#1570EF",700:"#0A40AC",900:"#273767"},zoro:{300:"#E9F0C4",500:"#DBE3AB"},ussop:{300:"#D5E9CE",500:"#BFE4B2"},crocodile:{300:"#CDE0B9",500:"#BED5A4"},silvers:{300:"#DFF7DE",500:"#CFF4CE"},buggy:{300:"#E5F5B3",500:"#DAEF9D"},nami:{300:"#FFDBBB",500:"#FFCEA2"},shanks:{300:"#F6CFBC",500:"#FBC5A9"},piiman:{300:"#FFE3B4",500:"#FFDA9B"},sanji:{300:"#FFECCA",500:"#FFE0A9"},ace:{300:"#FFDAD3",500:"#FFC1B5"},hancock:{300:"#F6CFE6",500:"#F3B9DC"},chopper:{300:"#FFE2F8",500:"#FFCDF3"},bentham:{300:"#EDD8F0",500:"#ECCCF1"},ivankov:{300:"#F0E4FF",500:"#E6D1FF"},brook:{300:"#E2E3FF",500:"#CED0FF"},luffy:{300:"#D8E3FF",500:"#C7D7FF"},frankie:{300:"#CDF1F8",500:"#B8EEF9"},jinbe:{300:"#CDF0FF",500:"#B3E8FF"},robin:{300:"#BAD2F5",500:"#ADCDFB"},law:{300:"#CBD8F3",500:"#B0C3EA"},sunny:{800:"#4B7E12"},polartang:{600:"#C68130",800:"#A75A00"},merry:{600:"#8F3FA2",800:"#581769"},jackson:{800:"#4E6697"}},extend:{translate:{.5:"0.125rem",1.5:"0.375rem",4.5:"1.125rem",5.5:"1.375rem"},ringWidth:{3:"3px",6:"6px",12:"12px"},letterSpacing:{body:"0.32px","body-lg":"0.36px",sm:"0.28px"},margin:{.125:"0.03125rem",.25:"0.0625rem",.5:"0.125rem",1.5:"0.375rem",1.6:"0.4rem",1.75:"0.4375rem",2.5:"0.625rem",4.5:"1.125rem"},padding:{.25:"0.0625rem",.5:"0.125rem",.75:"0.1875rem",2.5:"0.625rem",3.75:"0.9375rem",4.25:"1.0625rem",4.5:"1.125rem",14:"3.5rem",20:"5rem"},gap:{1.5:"0.375rem",2.75:"0.6875rem",3.25:"0.8125rem",4.5:"1.125rem"},width:{3.5:"0.875rem",4.5:"1.125rem",5.5:"1.375rem",13:"3.25rem",14:"3.5rem",18.5:"4.625rem",29:"7.25rem",55:"13.75rem",88:"22rem",112.5:"28.125rem",117.5:"29.375rem",187:"46.75rem",235:"58.75rem",312:"78rem"},minWidth:{4.5:"1.125rem"},minHeight:{4.5:"1.125rem",15.75:"3.9375rem",40:"10rem",160:"40rem"},maxHeight:{84:"21rem"},height:{3.5:"0.875rem",4.5:"1.125rem",5.5:"1.375rem",14:"3.5rem",15:"3.75rem",16:"4rem",18:"4.5rem",20:"5rem",22:"5.5rem"},borderWidth:{1:"1px",1.5:"1.5px",3:"3px"},borderColor:{transparent:"transparent"},inset:{1.5:"0.375rem",2.5:"0.625rem",3.875:"0.96875rem",14:"3.5rem",22:"6rem"},keyframes:{hide:{from:{opacity:"1"},to:{opacity:"0"}},slideIn:{from:{transform:"translateX(100%)"},to:{transform:"translateX(0)"}},swipeOut:{from:{transform:"translateX(0)"},to:{transform:"translateX(100%)"}},"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"slide-down":{from:{transform:"translateY(-100%) scale(0.95)",opacity:"0"},to:{transform:"translateY(0) scale(1)",opacity:"1"}},"slide-up":{from:{transform:"translateY(0) scale(1)",opacity:"1"},to:{transform:"translateY(-100%) scale(0.95)",opacity:"0"}}},animation:{hide:"hide 100ms ease-in",slideIn:"slideIn 500ms cubic-bezier(0.16, 1, 0.3, 1)",swipeOut:"swipeOut 200ms ease-out","accordion-down":"accordion-down 300ms cubic-bezier(0.87, 0, 0.13, 1)","accordion-up":"accordion-up 300ms cubic-bezier(0.87, 0, 0.13, 1)","slide-down":"slide-down 300ms cubic-bezier(0.16, 1, 0.3, 1)","slide-up":"slide-up 300ms cubic-bezier(0.16, 1, 0.3, 1)"}}}},a=r;module.exports=a;
|
|
1
|
+
'use strict';var r={content:[],theme:{fontFamily:{inter:["Inter Variable","sans-serif"],jakarta:['"Plus Jakarta Sans Variable"',"sans-serif"]},spacing:{0:"0",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",16:"3.5rem"},colors:{primary:{50:"rgb(var(--color-primary-50) / <alpha-value>)",100:"rgb(var(--color-primary-100) / <alpha-value>)",200:"rgb(var(--color-primary-200) / <alpha-value>)",300:"rgb(var(--color-primary-300) / <alpha-value>)",400:"rgb(var(--color-primary-400) / <alpha-value>)",500:"rgb(var(--color-primary-500) / <alpha-value>)",600:"rgb(var(--color-primary-600) / <alpha-value>)",700:"rgb(var(--color-primary-700) / <alpha-value>)",800:"rgb(var(--color-primary-800) / <alpha-value>)",900:"rgb(var(--color-primary-900) / <alpha-value>)"},"transparent-primary":{10:"rgb(var(--color-primary-400) / 0.1)",20:"rgb(var(--color-primary-400) / 0.2)",30:"rgb(var(--color-primary-400) / 0.3)",40:"rgb(var(--color-primary-400) / 0.4)"},"transparent-neutral":{10:"rgb(var(--color-neutral-50) / 0.1)",20:"rgb(var(--color-neutral-100) / 0.2)",30:"rgb(var(--color-neutral-200) / 0.3)",40:"rgb(var(--color-neutral-300) / 0.4)",50:"rgb(var(--color-neutral-400) / 0.5)"},neutral:{50:"rgb(var(--color-neutral-50) / <alpha-value>)",70:"rgb(var(--color-neutral-70) / <alpha-value>)",80:"rgb(var(--color-neutral-80) / <alpha-value>)",100:"rgb(var(--color-neutral-100) / <alpha-value>)",200:"rgb(var(--color-neutral-200) / <alpha-value>)",300:"rgb(var(--color-neutral-300) / <alpha-value>)",400:"rgb(var(--color-neutral-400) / <alpha-value>)",500:"rgb(var(--color-neutral-500) / <alpha-value>)",600:"rgb(var(--color-neutral-600) / <alpha-value>)",700:"rgb(var(--color-neutral-700) / <alpha-value>)",800:"rgb(var(--color-neutral-800) / <alpha-value>)",900:"rgb(var(--color-neutral-900) / <alpha-value>)"},error:{100:"rgb(var(--color-error-100) / <alpha-value>)",300:"rgb(var(--color-error-300) / <alpha-value>)",500:"rgb(var(--color-error-500) / <alpha-value>)",700:"rgb(var(--color-error-700) / <alpha-value>)",900:"rgb(var(--color-error-900) / <alpha-value>)"},"transparent-error":{10:"rgb(var(--color-error-300) / 0.1)"},warning:{100:"#FFF9D6",300:"#FFE885",500:"#FFCF35",700:"#D69A00",900:"#5C4B22"},success:{100:"#E3FAD7",300:"#67C45E",500:"#319E31",700:"#187128",900:"#094B20"},info:{100:"#CFEBFE",300:"#71B6FA",500:"#1570EF",700:"#0A40AC",900:"#273767"},zoro:{300:"#E9F0C4",500:"#DBE3AB"},ussop:{300:"#D5E9CE",500:"#BFE4B2"},crocodile:{300:"#CDE0B9",500:"#BED5A4"},silvers:{300:"#DFF7DE",500:"#CFF4CE"},buggy:{300:"#E5F5B3",500:"#DAEF9D"},nami:{300:"#FFDBBB",500:"#FFCEA2"},shanks:{300:"#F6CFBC",500:"#FBC5A9"},piiman:{300:"#FFE3B4",500:"#FFDA9B"},sanji:{300:"#FFECCA",500:"#FFE0A9"},ace:{300:"#FFDAD3",500:"#FFC1B5"},hancock:{300:"#F6CFE6",500:"#F3B9DC"},chopper:{300:"#FFE2F8",500:"#FFCDF3"},bentham:{300:"#EDD8F0",500:"#ECCCF1"},ivankov:{300:"#F0E4FF",500:"#E6D1FF"},brook:{300:"#E2E3FF",500:"#CED0FF"},luffy:{300:"#D8E3FF",500:"#C7D7FF"},frankie:{300:"#CDF1F8",500:"#B8EEF9"},jinbe:{300:"#CDF0FF",500:"#B3E8FF"},robin:{300:"#BAD2F5",500:"#ADCDFB"},law:{300:"#CBD8F3",500:"#B0C3EA"},sunny:{800:"#4B7E12"},polartang:{600:"#C68130",800:"#A75A00"},merry:{600:"#8F3FA2",800:"#581769"},jackson:{800:"#4E6697"}},extend:{translate:{.5:"0.125rem",1.5:"0.375rem",4.5:"1.125rem",5.5:"1.375rem"},ringWidth:{3:"3px",6:"6px",12:"12px"},letterSpacing:{body:"0.32px","body-lg":"0.36px",sm:"0.28px"},margin:{.125:"0.03125rem",.25:"0.0625rem",.5:"0.125rem",1.5:"0.375rem",1.6:"0.4rem",1.75:"0.4375rem",2.5:"0.625rem",4.5:"1.125rem"},padding:{.25:"0.0625rem",.5:"0.125rem",.75:"0.1875rem",2.5:"0.625rem",3.75:"0.9375rem",4.25:"1.0625rem",4.5:"1.125rem",14:"3.5rem",20:"5rem"},gap:{1.5:"0.375rem",2.75:"0.6875rem",3.25:"0.8125rem",4.5:"1.125rem"},width:{3.5:"0.875rem",4.5:"1.125rem",5.5:"1.375rem",13:"3.25rem",14:"3.5rem",18.5:"4.625rem",29:"7.25rem",55:"13.75rem",88:"22rem",112.5:"28.125rem",117.5:"29.375rem",187:"46.75rem",235:"58.75rem",312:"78rem"},minWidth:{4.5:"1.125rem"},minHeight:{4.5:"1.125rem",15.75:"3.9375rem",40:"10rem",160:"40rem"},maxHeight:{84:"21rem"},height:{3.5:"0.875rem",4.5:"1.125rem",5.5:"1.375rem",14:"3.5rem",15:"3.75rem",16:"4rem",18:"4.5rem",20:"5rem",22:"5.5rem"},borderWidth:{1:"1px",1.5:"1.5px",3:"3px"},borderColor:{transparent:"transparent"},inset:{1.5:"0.375rem",2.5:"0.625rem",3.875:"0.96875rem",14:"3.5rem",22:"6rem"},keyframes:{hide:{from:{opacity:"1"},to:{opacity:"0"}},slideIn:{from:{transform:"translateX(100%)"},to:{transform:"translateX(0)"}},swipeOut:{from:{transform:"translateX(0)"},to:{transform:"translateX(100%)"}},"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"slide-down":{from:{transform:"translateY(-100%) scale(0.95)",opacity:"0"},to:{transform:"translateY(0) scale(1)",opacity:"1"}},"slide-up":{from:{transform:"translateY(0) scale(1)",opacity:"1"},to:{transform:"translateY(-100%) scale(0.95)",opacity:"0"}}},animation:{hide:"hide 100ms ease-in",slideIn:"slideIn 500ms cubic-bezier(0.16, 1, 0.3, 1)",swipeOut:"swipeOut 200ms ease-out","accordion-down":"accordion-down 300ms cubic-bezier(0.87, 0, 0.13, 1)","accordion-up":"accordion-up 300ms cubic-bezier(0.87, 0, 0.13, 1)","slide-down":"slide-down 300ms cubic-bezier(0.16, 1, 0.3, 1)","slide-up":"slide-up 300ms cubic-bezier(0.16, 1, 0.3, 1)"}}}},a=r;module.exports=a;
|
package/dist/tailwind-preset.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var r={content:[],theme:{spacing:{0:"0",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",16:"3.5rem"},colors:{primary:{50:"rgb(var(--color-primary-50) / <alpha-value>)",100:"rgb(var(--color-primary-100) / <alpha-value>)",200:"rgb(var(--color-primary-200) / <alpha-value>)",300:"rgb(var(--color-primary-300) / <alpha-value>)",400:"rgb(var(--color-primary-400) / <alpha-value>)",500:"rgb(var(--color-primary-500) / <alpha-value>)",600:"rgb(var(--color-primary-600) / <alpha-value>)",700:"rgb(var(--color-primary-700) / <alpha-value>)",800:"rgb(var(--color-primary-800) / <alpha-value>)",900:"rgb(var(--color-primary-900) / <alpha-value>)"},"transparent-primary":{10:"rgb(var(--color-primary-400) / 0.1)",20:"rgb(var(--color-primary-400) / 0.2)",30:"rgb(var(--color-primary-400) / 0.3)",40:"rgb(var(--color-primary-400) / 0.4)"},"transparent-neutral":{10:"rgb(var(--color-neutral-50) / 0.1)",20:"rgb(var(--color-neutral-100) / 0.2)",30:"rgb(var(--color-neutral-200) / 0.3)",40:"rgb(var(--color-neutral-300) / 0.4)",50:"rgb(var(--color-neutral-400) / 0.5)"},neutral:{50:"rgb(var(--color-neutral-50) / <alpha-value>)",70:"rgb(var(--color-neutral-70) / <alpha-value>)",80:"rgb(var(--color-neutral-80) / <alpha-value>)",100:"rgb(var(--color-neutral-100) / <alpha-value>)",200:"rgb(var(--color-neutral-200) / <alpha-value>)",300:"rgb(var(--color-neutral-300) / <alpha-value>)",400:"rgb(var(--color-neutral-400) / <alpha-value>)",500:"rgb(var(--color-neutral-500) / <alpha-value>)",600:"rgb(var(--color-neutral-600) / <alpha-value>)",700:"rgb(var(--color-neutral-700) / <alpha-value>)",800:"rgb(var(--color-neutral-800) / <alpha-value>)",900:"rgb(var(--color-neutral-900) / <alpha-value>)"},error:{100:"rgb(var(--color-error-100) / <alpha-value>)",300:"rgb(var(--color-error-300) / <alpha-value>)",500:"rgb(var(--color-error-500) / <alpha-value>)",700:"rgb(var(--color-error-700) / <alpha-value>)",900:"rgb(var(--color-error-900) / <alpha-value>)"},"transparent-error":{10:"rgb(var(--color-error-300) / 0.1)"},warning:{100:"#FFF9D6",300:"#FFE885",500:"#FFCF35",700:"#D69A00",900:"#5C4B22"},success:{100:"#E3FAD7",300:"#67C45E",500:"#319E31",700:"#187128",900:"#094B20"},info:{100:"#CFEBFE",300:"#71B6FA",500:"#1570EF",700:"#0A40AC",900:"#273767"},zoro:{300:"#E9F0C4",500:"#DBE3AB"},ussop:{300:"#D5E9CE",500:"#BFE4B2"},crocodile:{300:"#CDE0B9",500:"#BED5A4"},silvers:{300:"#DFF7DE",500:"#CFF4CE"},buggy:{300:"#E5F5B3",500:"#DAEF9D"},nami:{300:"#FFDBBB",500:"#FFCEA2"},shanks:{300:"#F6CFBC",500:"#FBC5A9"},piiman:{300:"#FFE3B4",500:"#FFDA9B"},sanji:{300:"#FFECCA",500:"#FFE0A9"},ace:{300:"#FFDAD3",500:"#FFC1B5"},hancock:{300:"#F6CFE6",500:"#F3B9DC"},chopper:{300:"#FFE2F8",500:"#FFCDF3"},bentham:{300:"#EDD8F0",500:"#ECCCF1"},ivankov:{300:"#F0E4FF",500:"#E6D1FF"},brook:{300:"#E2E3FF",500:"#CED0FF"},luffy:{300:"#D8E3FF",500:"#C7D7FF"},frankie:{300:"#CDF1F8",500:"#B8EEF9"},jinbe:{300:"#CDF0FF",500:"#B3E8FF"},robin:{300:"#BAD2F5",500:"#ADCDFB"},law:{300:"#CBD8F3",500:"#B0C3EA"},sunny:{800:"#4B7E12"},polartang:{600:"#C68130",800:"#A75A00"},merry:{600:"#8F3FA2",800:"#581769"},jackson:{800:"#4E6697"}},extend:{translate:{.5:"0.125rem",1.5:"0.375rem",4.5:"1.125rem",5.5:"1.375rem"},ringWidth:{3:"3px",6:"6px",12:"12px"},letterSpacing:{body:"0.32px","body-lg":"0.36px",sm:"0.28px"},margin:{.125:"0.03125rem",.25:"0.0625rem",.5:"0.125rem",1.5:"0.375rem",1.6:"0.4rem",1.75:"0.4375rem",2.5:"0.625rem",4.5:"1.125rem"},padding:{.25:"0.0625rem",.5:"0.125rem",.75:"0.1875rem",2.5:"0.625rem",3.75:"0.9375rem",4.25:"1.0625rem",4.5:"1.125rem",14:"3.5rem",20:"5rem"},gap:{1.5:"0.375rem",2.75:"0.6875rem",3.25:"0.8125rem",4.5:"1.125rem"},width:{3.5:"0.875rem",4.5:"1.125rem",5.5:"1.375rem",13:"3.25rem",14:"3.5rem",18.5:"4.625rem",29:"7.25rem",55:"13.75rem",88:"22rem",112.5:"28.125rem",117.5:"29.375rem",187:"46.75rem",235:"58.75rem",312:"78rem"},minWidth:{4.5:"1.125rem"},minHeight:{4.5:"1.125rem",15.75:"3.9375rem",40:"10rem",160:"40rem"},maxHeight:{84:"21rem"},height:{3.5:"0.875rem",4.5:"1.125rem",5.5:"1.375rem",14:"3.5rem",15:"3.75rem",16:"4rem",18:"4.5rem",20:"5rem",22:"5.5rem"},borderWidth:{1:"1px",1.5:"1.5px",3:"3px"},borderColor:{transparent:"transparent"},inset:{1.5:"0.375rem",2.5:"0.625rem",3.875:"0.96875rem",14:"3.5rem",22:"6rem"},keyframes:{hide:{from:{opacity:"1"},to:{opacity:"0"}},slideIn:{from:{transform:"translateX(100%)"},to:{transform:"translateX(0)"}},swipeOut:{from:{transform:"translateX(0)"},to:{transform:"translateX(100%)"}},"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"slide-down":{from:{transform:"translateY(-100%) scale(0.95)",opacity:"0"},to:{transform:"translateY(0) scale(1)",opacity:"1"}},"slide-up":{from:{transform:"translateY(0) scale(1)",opacity:"1"},to:{transform:"translateY(-100%) scale(0.95)",opacity:"0"}}},animation:{hide:"hide 100ms ease-in",slideIn:"slideIn 500ms cubic-bezier(0.16, 1, 0.3, 1)",swipeOut:"swipeOut 200ms ease-out","accordion-down":"accordion-down 300ms cubic-bezier(0.87, 0, 0.13, 1)","accordion-up":"accordion-up 300ms cubic-bezier(0.87, 0, 0.13, 1)","slide-down":"slide-down 300ms cubic-bezier(0.16, 1, 0.3, 1)","slide-up":"slide-up 300ms cubic-bezier(0.16, 1, 0.3, 1)"}}}},a=r;export{a as default};
|
|
1
|
+
var r={content:[],theme:{fontFamily:{inter:["Inter Variable","sans-serif"],jakarta:['"Plus Jakarta Sans Variable"',"sans-serif"]},spacing:{0:"0",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",16:"3.5rem"},colors:{primary:{50:"rgb(var(--color-primary-50) / <alpha-value>)",100:"rgb(var(--color-primary-100) / <alpha-value>)",200:"rgb(var(--color-primary-200) / <alpha-value>)",300:"rgb(var(--color-primary-300) / <alpha-value>)",400:"rgb(var(--color-primary-400) / <alpha-value>)",500:"rgb(var(--color-primary-500) / <alpha-value>)",600:"rgb(var(--color-primary-600) / <alpha-value>)",700:"rgb(var(--color-primary-700) / <alpha-value>)",800:"rgb(var(--color-primary-800) / <alpha-value>)",900:"rgb(var(--color-primary-900) / <alpha-value>)"},"transparent-primary":{10:"rgb(var(--color-primary-400) / 0.1)",20:"rgb(var(--color-primary-400) / 0.2)",30:"rgb(var(--color-primary-400) / 0.3)",40:"rgb(var(--color-primary-400) / 0.4)"},"transparent-neutral":{10:"rgb(var(--color-neutral-50) / 0.1)",20:"rgb(var(--color-neutral-100) / 0.2)",30:"rgb(var(--color-neutral-200) / 0.3)",40:"rgb(var(--color-neutral-300) / 0.4)",50:"rgb(var(--color-neutral-400) / 0.5)"},neutral:{50:"rgb(var(--color-neutral-50) / <alpha-value>)",70:"rgb(var(--color-neutral-70) / <alpha-value>)",80:"rgb(var(--color-neutral-80) / <alpha-value>)",100:"rgb(var(--color-neutral-100) / <alpha-value>)",200:"rgb(var(--color-neutral-200) / <alpha-value>)",300:"rgb(var(--color-neutral-300) / <alpha-value>)",400:"rgb(var(--color-neutral-400) / <alpha-value>)",500:"rgb(var(--color-neutral-500) / <alpha-value>)",600:"rgb(var(--color-neutral-600) / <alpha-value>)",700:"rgb(var(--color-neutral-700) / <alpha-value>)",800:"rgb(var(--color-neutral-800) / <alpha-value>)",900:"rgb(var(--color-neutral-900) / <alpha-value>)"},error:{100:"rgb(var(--color-error-100) / <alpha-value>)",300:"rgb(var(--color-error-300) / <alpha-value>)",500:"rgb(var(--color-error-500) / <alpha-value>)",700:"rgb(var(--color-error-700) / <alpha-value>)",900:"rgb(var(--color-error-900) / <alpha-value>)"},"transparent-error":{10:"rgb(var(--color-error-300) / 0.1)"},warning:{100:"#FFF9D6",300:"#FFE885",500:"#FFCF35",700:"#D69A00",900:"#5C4B22"},success:{100:"#E3FAD7",300:"#67C45E",500:"#319E31",700:"#187128",900:"#094B20"},info:{100:"#CFEBFE",300:"#71B6FA",500:"#1570EF",700:"#0A40AC",900:"#273767"},zoro:{300:"#E9F0C4",500:"#DBE3AB"},ussop:{300:"#D5E9CE",500:"#BFE4B2"},crocodile:{300:"#CDE0B9",500:"#BED5A4"},silvers:{300:"#DFF7DE",500:"#CFF4CE"},buggy:{300:"#E5F5B3",500:"#DAEF9D"},nami:{300:"#FFDBBB",500:"#FFCEA2"},shanks:{300:"#F6CFBC",500:"#FBC5A9"},piiman:{300:"#FFE3B4",500:"#FFDA9B"},sanji:{300:"#FFECCA",500:"#FFE0A9"},ace:{300:"#FFDAD3",500:"#FFC1B5"},hancock:{300:"#F6CFE6",500:"#F3B9DC"},chopper:{300:"#FFE2F8",500:"#FFCDF3"},bentham:{300:"#EDD8F0",500:"#ECCCF1"},ivankov:{300:"#F0E4FF",500:"#E6D1FF"},brook:{300:"#E2E3FF",500:"#CED0FF"},luffy:{300:"#D8E3FF",500:"#C7D7FF"},frankie:{300:"#CDF1F8",500:"#B8EEF9"},jinbe:{300:"#CDF0FF",500:"#B3E8FF"},robin:{300:"#BAD2F5",500:"#ADCDFB"},law:{300:"#CBD8F3",500:"#B0C3EA"},sunny:{800:"#4B7E12"},polartang:{600:"#C68130",800:"#A75A00"},merry:{600:"#8F3FA2",800:"#581769"},jackson:{800:"#4E6697"}},extend:{translate:{.5:"0.125rem",1.5:"0.375rem",4.5:"1.125rem",5.5:"1.375rem"},ringWidth:{3:"3px",6:"6px",12:"12px"},letterSpacing:{body:"0.32px","body-lg":"0.36px",sm:"0.28px"},margin:{.125:"0.03125rem",.25:"0.0625rem",.5:"0.125rem",1.5:"0.375rem",1.6:"0.4rem",1.75:"0.4375rem",2.5:"0.625rem",4.5:"1.125rem"},padding:{.25:"0.0625rem",.5:"0.125rem",.75:"0.1875rem",2.5:"0.625rem",3.75:"0.9375rem",4.25:"1.0625rem",4.5:"1.125rem",14:"3.5rem",20:"5rem"},gap:{1.5:"0.375rem",2.75:"0.6875rem",3.25:"0.8125rem",4.5:"1.125rem"},width:{3.5:"0.875rem",4.5:"1.125rem",5.5:"1.375rem",13:"3.25rem",14:"3.5rem",18.5:"4.625rem",29:"7.25rem",55:"13.75rem",88:"22rem",112.5:"28.125rem",117.5:"29.375rem",187:"46.75rem",235:"58.75rem",312:"78rem"},minWidth:{4.5:"1.125rem"},minHeight:{4.5:"1.125rem",15.75:"3.9375rem",40:"10rem",160:"40rem"},maxHeight:{84:"21rem"},height:{3.5:"0.875rem",4.5:"1.125rem",5.5:"1.375rem",14:"3.5rem",15:"3.75rem",16:"4rem",18:"4.5rem",20:"5rem",22:"5.5rem"},borderWidth:{1:"1px",1.5:"1.5px",3:"3px"},borderColor:{transparent:"transparent"},inset:{1.5:"0.375rem",2.5:"0.625rem",3.875:"0.96875rem",14:"3.5rem",22:"6rem"},keyframes:{hide:{from:{opacity:"1"},to:{opacity:"0"}},slideIn:{from:{transform:"translateX(100%)"},to:{transform:"translateX(0)"}},swipeOut:{from:{transform:"translateX(0)"},to:{transform:"translateX(100%)"}},"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"slide-down":{from:{transform:"translateY(-100%) scale(0.95)",opacity:"0"},to:{transform:"translateY(0) scale(1)",opacity:"1"}},"slide-up":{from:{transform:"translateY(0) scale(1)",opacity:"1"},to:{transform:"translateY(-100%) scale(0.95)",opacity:"0"}}},animation:{hide:"hide 100ms ease-in",slideIn:"slideIn 500ms cubic-bezier(0.16, 1, 0.3, 1)",swipeOut:"swipeOut 200ms ease-out","accordion-down":"accordion-down 300ms cubic-bezier(0.87, 0, 0.13, 1)","accordion-up":"accordion-up 300ms cubic-bezier(0.87, 0, 0.13, 1)","slide-down":"slide-down 300ms cubic-bezier(0.16, 1, 0.3, 1)","slide-up":"slide-up 300ms cubic-bezier(0.16, 1, 0.3, 1)"}}}},a=r;export{a as default};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sodtrack-web-ui",
|
|
3
|
-
"version": "0.57.
|
|
3
|
+
"version": "0.57.8",
|
|
4
4
|
"description": "UI components for Sodtrack Web",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./dist/index.css": "./dist/index.css",
|
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@ark-ui/react": "^5.5.0",
|
|
59
|
+
"@fontsource-variable/inter": "^5.2.5",
|
|
60
|
+
"@fontsource-variable/plus-jakarta-sans": "^5.2.5",
|
|
59
61
|
"@radix-ui/react-accordion": "1.2.2",
|
|
60
62
|
"@radix-ui/react-alert-dialog": "1.1.4",
|
|
61
63
|
"@radix-ui/react-checkbox": "1.1.3",
|
package/dist/chunk-JXOB2NBL.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {a}from'./chunk-2WINTZSS.mjs';import {RadioGroupRoot,RadioGroupItem,RadioGroupItemControl,RadioGroupItemText,RadioGroupItemHiddenInput}from'@ark-ui/react/radio-group';import {forwardRef,useCallback}from'react';import {jsx,jsxs}from'react/jsx-runtime';var k=["sm","md"],N=["horizontal","vertical"],b=forwardRef(({className:d,orientation:r="horizontal",onValueChange:o,size:a$1="md",error:p,...u},s)=>{let l=useCallback(m=>{o?.(m.value);},[o]);return jsx(RadioGroupRoot,{"data-error":p,"data-size":a$1,className:a("group flex",r==="horizontal"&&"flex gap-8",r==="vertical"&&a$1==="sm"&&"flex-col gap-2",r==="vertical"&&a$1==="md"&&"flex-col gap-3",d),orientation:r,ref:s,onValueChange:l,...u})});b.displayName="RadioGroup";var P=forwardRef(({value:d,label:r,className:o},a$1)=>jsxs(RadioGroupItem,{value:d,className:a("flex items-center gap-1.5",o),ref:a$1,children:[jsx(RadioGroupItemControl,{className:a("relative rounded-full border-neutral-900 transition-all after:absolute after:h-full after:w-full after:rounded-full after:border-transparent","data-[state=checked]:border-primary-500 data-[state=checked]:bg-primary-500 data-[state=checked]:after:border-neutral-50","group-data-[size=sm]:h-4 group-data-[size=sm]:w-4 group-data-[size=sm]:border-1.5 group-data-[size=sm]:after:border-2","group-data-[size=md]:h-5 group-data-[size=md]:w-5 group-data-[size=md]:border-2 group-data-[size=md]:after:border-3","group-data-[disabled]:border-neutral-400 group-data-[disabled]:data-[state=checked]:bg-neutral-400","group-data-[error=true]:border-error-500 group-data-[error=true]:data-[state=checked]:bg-error-500")}),r&&jsx(RadioGroupItemText,{className:a("font-inter !leading-[130%] text-neutral-900","group-data-[size=sm]:text-xs","group-data-[size=md]:text-sm","group-data-[disabled]:text-neutral-400","group-data-[error=true]:text-error-500"),children:r}),jsx(RadioGroupItemHiddenInput,{})]}));P.displayName="RadioGroupItem";export{k as a,N as b,b as c,P as d};
|
package/dist/chunk-LWOIFDHA.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {c as c$1}from'./chunk-WS2F7JWJ.mjs';import {a as a$1}from'./chunk-QHBCNAWO.mjs';import {c}from'./chunk-DZLL7IH6.mjs';import {d}from'./chunk-XJSC6PKJ.mjs';import {a}from'./chunk-2WINTZSS.mjs';import {Dialog}from'@ark-ui/react/dialog';import {Portal}from'@ark-ui/react/portal';import {forwardRef,useCallback}from'react';import {jsxs,jsx}from'react/jsx-runtime';var q=({onOpenChange:a,...o})=>{let r=useCallback(t=>{a?.(t.open);},[a]);return jsx(Dialog.Root,{unmountOnExit:!0,lazyMount:!0,onOpenChange:r,trapFocus:!1,...o})},G=Dialog.Trigger,J=["sm","md","lg","xl"],v=forwardRef(({children:a$1,className:o,size:r="sm",...t},n)=>jsxs(Portal,{children:[jsx(Dialog.Backdrop,{className:"fixed inset-0 z-40 bg-neutral-900/60 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),jsx(Dialog.Positioner,{className:"fixed left-0 top-0 z-40 flex h-screen w-screen items-center justify-end",children:jsx(Dialog.Content,{ref:n,className:a("elevation-10 h-full bg-neutral-50 data-[state=closed]:animate-swipeOut data-[state=open]:animate-slideIn",r==="sm"&&"w-117.5",r==="md"&&"w-187",r==="lg"&&"w-235",r==="xl"&&"w-312",o),...t,children:jsx("div",{className:"flex h-full flex-1 flex-col",children:a$1})})})]}));v.displayName="DrawerStickyContent";var C=forwardRef(({children:a$1,className:o,title:r,buttons:t=[],description:n,...D},g)=>jsxs("div",{className:a("border-b-1 border-neutral-200 pb-3.75 pl-4.5 pt-2",o),ref:g,...D,children:[jsx(Dialog.CloseTrigger,{asChild:!0,children:jsx(d,{className:"ml-auto mr-2 size-6 cursor-pointer"})}),jsxs("div",{className:"mr-4.5 mt-2 flex items-center justify-between gap-4.5",children:[jsx(Dialog.Title,{className:"line-clamp-1 break-all font-jakarta text-2xl font-semibold leading-[130%] text-neutral-900",children:r}),!Array.isArray(t)&&t.visible!==!1&&jsx(c,{size:"sm",variant:"ghost",...t}),Array.isArray(t)&&jsx("div",{className:"flex gap-1",children:t.map(({visible:f=!0,...u},w)=>f?jsx(c$1,{variant:"ghost",size:"sm",...u},w):null)})]}),n&&jsx(Dialog.Description,{className:"mr-4.5 mt-1 line-clamp-2 break-all font-inter text-sm leading-[130%] text-neutral-900",children:n})]}));C.displayName="DrawerStickyHeader";var P=forwardRef(({children:a$1,className:o,...r},t)=>jsx("div",{className:a("flex justify-end gap-3 border-t-1 border-neutral-200 px-4.5 pb-4.5 pt-4.25",o),ref:t,...r,children:a$1}));P.displayName="DrawerStickyFooter";var b=forwardRef(({children:a$2,className:o,...r},t)=>jsxs(a$1,{viewPortClassName:"py-4 px-6",className:a("h-full",o),ref:t,...r,children:[a$2,jsx("div",{className:"min-h-4"})]}));b.displayName="DrawerStickyBody";var K=Dialog.CloseTrigger;export{q as a,G as b,J as c,v as d,C as e,P as f,b as g,K as h};
|